tile: Regenerate ULPs.
[glibc.git] / ChangeLog
blob01032ba1c20d03ace6a66e64ca3be261e137b667
1 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
3         * sysdeps/tile/libm-test-ulps: Regenerated.
5         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6         Comment out the whole function, not just its body.
8 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11         locks.
13         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22         * sysdeps/nptl/futex-internal.h: New file.
23         * sysdeps/nacl/futex-internal.h: New file.
24         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26         error checking.
27         (setxid_unmark_thread): Likewise.
28         (__nptl_setxid): Likewise.
29         (__wait_lookup_done): Likewise.
30         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33         * nptl/pthread_once.c (clear_once_control): Likewise.
34         (__pthread_once_slow): Likewise.
35         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
36         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
37         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
38         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
39         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
40         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
41         Likewise.
42         (__pthread_rwlock_rdlock): Likewise.
43         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
44         Likewise.
45         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
46         Likewise.
47         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
48         Likewise.
49         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
50         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
51         Likewise.
52         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
53         __ASSUME_PRIVATE_FUTEX check.
54         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
55         Check that shared futexes are supported.
56         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
57         wrappers with error checking.
58         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
59         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
60         * nptl/pthread_barrierattr_setpshared.c
61         (pthread_barrierattr_setpshared): Check that shared futexes are
62         supported.
63         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
64         Likewise.
65         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
66         Likewise.
67         * nptl/sem_init.c (futex_private_if_supported): Remove.
68         (__new_sem_init): Adapt and check that shared futexes are supported.
69         * nptl/sem_open.c (sem_open): Likewise.
70         * nptl/sem_post.c (futex_wake): Remove.
71         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
72         (do_futex_wait): Use futex wrappers with error checking.
73         * nptl/sem_wait.c: Include lowlevellock.h.
74         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
75         Use futex_supports_pshared.
76         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
77         Use futex wrappers with error checking.
78         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
79         Likewise.
80         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
81         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
82         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
83         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
84         (futex_wake): Likewise.
85         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
86         (do_futex_wait): Use futex wrappers with error checking.
87         (__new_sem_wait_slow): Update EINTR handling.
88         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
90 2015-07-09  Martin Sebor  <msebor@redhat.com>
92         [BZ #18435]
93         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
94         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
95         * nptl/Makefile (test-xfail-tst-once5): Define.
97 2015-07-09  Roland McGrath  <roland@hack.frob.com>
99         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
100         * elf/dl-minimal.c: For readability, reorder some definitions and
101         introduce more page breaks.  Include <stdio.h>.
102         (__libc_fatal): New function.
104         * include/unistd.h: Add rtld_hidden_proto for _exit.
105         * posix/_exit.c: Add rtld_hidden_def.
106         * sysdeps/mach/hurd/_exit.c: Likewise.
107         * sysdeps/nacl/_exit.c: Likewise.
108         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
109         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
111 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
114         bndmov encoding with zero displacement.
116 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
117             H.J. Lu  <hongjiu.lu@intel.com>
119         [BZ #18134]
120         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
121         * sysdeps/i386/configure: Regenerated.
122         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
123         (_dl_runtime_profile): Save and restore Intel MPX return bound
124         registers when calling _dl_call_pltexit.  Add
125         PRESERVE_BND_REGS_PREFIX before return.
126         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
127         (LRV_BND1_OFFSET): Likewise.
128         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
129         lrv_bnd1.
130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
131         typo in bndmov encoding.
132         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
133         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
134         branch instructions to preserve bounds.
136 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
139         [GLIBC_2.22]: Add fmemopen.
141 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
143         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
144         returns an error, also try to use host port from __mach_host_self for
145         the __vm_wire call.
146         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
148 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
150         [BZ #18400]
151         [BZ #18648]
152         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
153         Fix pr_uid and pr_gid members.
154         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
155         definition to elf_greg_t.
157 2015-07-08  Roland McGrath  <roland@hack.frob.com>
159         [BZ #18383]
160         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
161         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
162         * sysdeps/arm/configure: Regenerated.
163         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
164         (test-xfail-tst-tlsalign-static): Variable removed.
166         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
167         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
168         rather than explicit 'ln -s'.
170         * resolv/rpc/netdb.h: New file.
171         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
173 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
175         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
176         length buffers.
177         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
178         test-skeleton.c.
180         [BZ #6544]
181         [BZ #11216]
182         [BZ #12836]
183         [BZ #13151]
184         [BZ #13152]
185         [BZ #14292]
186         * include/stdio.h (fmemopen): Remove hidden prototype.
187         (__fmemopen): Add new hidden prototype.
188         * libio/Makefile: Add oldfmemopen object.
189         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
190         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
191         compliance.
192         * libio/oldfmemopen.c: New file: old fmemopen implementation for
193         symbol compatibility.
194         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
195         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
196         fmemopen.
197         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
198         on append and read mode.
199         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
200         fmemopen.
201         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
202         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
203         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
204         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
205         Likewise.
206         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
207         [GLIBC_2.22]: Likewise.
208         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
209         Likewise.
210         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
211         Likewise.
212         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
213         [GLIBC_2.22]: Likewise.
214         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
215         [GLIBC_2.22]: Likewise.
216         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
217         [GLIBC_2.22]: Likewise.
218         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
219         [GLIBC_2.22]: Likewise.
220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
221         [GLIBC_2.22]: Likewise.
222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
223         [GLIBC_2.22]: Likewise.
224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
225         [GLIBC_2.22]: Likewise.
226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
227         Likewise.
228         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
229         Likewise.
230         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
231         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
232         [GLIBC_2.22]: Likewise.
233         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
234         [GLIBC_2.22]: Likewise.
235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
236         [GLIBC_2.22]: Likewise.
237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
238         [GLIBC_2.22]: Likewise.
239         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
240         Likewise.
241         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
242         Likewise.
243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
244         Likewise.
245         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
246         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
248 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
250         [BZ #18643]
251         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
252         IPV6_PATHMTU, and IPV6_DONTFRAG.
254 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
256         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
257         and _IO_UNBUFFERED.
258         * libio/oldfileops.c: Likewise.
259         * libio/wfileops.c: Likewise.
261 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
263         * nscd/selinux.c: Delete selinux/flask.h include.
265 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
267         [BZ #18641]
268         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
269         (putpwent): Likewise.
270         (getpwnam): Likewise.
271         (getpwent_r): Likewise.
272         (getpwuid_r): Likewise.
273         (getpwnam_r): Likewise.
274         (fgetpwent_r): Likewise.
276 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
278         [BZ #18557]
279         * inet/rcmd.c (__validuser2_sa): Check user first to
280         short-circuit host check.
282 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
283             Mikhail Ilin  <m.ilin@samsung.com>
285         [BZ #17833]
286         * elf/Makefile (tests): Add tst-nodelete.
287         (modules-names): Add tst-nodelete-uniquemod.
288         (tst-nodelete-uniquemod.so-no-z-defs): New.
289         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
290         (tst-nodelete-zmod.so-no-z-defs): Likewise.
291         ($(objpfx)tst-nodelete): Likewise.
292         ($(objpfx)tst-nodelete.out): Likewise.
293         (LDFLAGS-tst-nodelete): Likewise.
294         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
295         * elf/dl-close.c (_dl_close_worker): Add a parameter to
296         implement forced object deletion.
297         (_dl_close): Pass false to _dl_close_worker.
298         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
299         * elf/tst-nodelete.cc: New file.
300         * elf/tst-nodeletelib.cc: Likewise.
301         * elf/tst-znodeletelib.cc: Likewise.
302         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
304 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
306         [BZ #18508]
307         * stdlib/Makefile ($(objpfx)tst-makecontext3):
308         Depend on $(libdl).
309         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
310         is not called infinitely times.
311         (backtrace_helper): New function.
312         (trace_arg): New struct.
313         (st1): Enlarge stack size.
314         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
315         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
316         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
317         Likewise.
319 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
321         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
323 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
325         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
326         Include sys/types.h instead of bits/types.h.
327         Remove inclusion of bits/wordsize.h.
329 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
331         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
332         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
333         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
334         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
335         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
336         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
338 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
340         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
341         link-defines.sym.
342         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
343         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
344         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
345         and LR_SIZE.
346         * sysdeps/i386/link-defines.sym: New file.
348 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
350         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
351         (modules-names): Add tst-auditmod3a tst-auditmod3b.
352         ($(objpfx)tst-audit3): New rule.
353         ($(objpfx)tst-audit3.out): Likewise.
354         * sysdeps/i386/tst-audit3.c: New file.
355         * sysdeps/i386/tst-audit3.h: Likewise.
356         * sysdeps/i386/tst-auditmod3a.c: Likewise.
357         * sysdeps/i386/tst-auditmod3b.c: Likewise.
359 2015-07-07  Torvald Riegel  <triegel@redhat.com>
361         [BZ #18633]
362         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
363         pointer in C code.
364         (__strcat_c): Likewise.
365         (__strcat_g): Likewise.
367 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
369         [BZ #18592]
370         * misc/sbrk.c: Set errno to ENOMEM on overflow.
372 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
374         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
375         New function.  (__ieee754_sqrtf): New function.
376         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
377         New function.
378         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
379         New function.
381 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
383         * sysdeps/ieee754/support.c: Remove unused file.
385 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
387         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
388         registers instead of d ones so the layout is kernel abi compatible.
389         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
390         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
391         Likewise.
393 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
395         * sysdeps/aarch64/libm-test-ulps: Regenerated.
397 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
399         [BZ #18619]
400         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
401         and return argument in case of subnormal argument.
403 2015-07-01  Martin Sebor  <msebor@redhat.com>
405         [BZ #18435]
406         * nptl/Makefile: Add tst-once5.cc.
407         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
408         Remove macro redefinitions.
409         * nptl/tst-once5.cc: New test.
411 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
413         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
415         * sysdeps/arm/libm-test-ulps: Regenerated.
417         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
418         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
420 2015-06-30  Torvald Riegel  <triegel@redhat.com>
422         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
423         lll_lock_wait_private and lll_futex_wake probes.
425         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
426         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
427         Likewise.
428         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
429         atomic_spin_nop.
430         * sysdeps/x86_64/bits/atomic.h: Likewise.
431         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
432         to atomic_spin_nop and move ...
433         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
434         ... here and ...
435         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
436         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
437         atomic_spin_nop instead of BUSY_WAIT_NOP.
438         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
439         Likewise.
440         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
441         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
442         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
443         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
444         instead of atomic_delay.
446 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
448         [BZ #18613]
449         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
450         X_ADJ not X when adjusting exponent.
451         (__ieee754_gamma_r): Do intermediate computations in
452         round-to-nearest then adjust overflowing and underflowing results
453         as needed.
454         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
455         of X_ADJ not X when adjusting exponent.
456         (__ieee754_gammaf_r): Do intermediate computations in
457         round-to-nearest then adjust overflowing and underflowing results
458         as needed.
459         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
460         log of X_ADJ not X when adjusting exponent.
461         (__ieee754_gammal_r): Do intermediate computations in
462         round-to-nearest then adjust overflowing and underflowing results
463         as needed.  Use 1.0L not 1.0f as numerator of division.
464         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
465         log of X_ADJ not X when adjusting exponent.
466         (__ieee754_gammal_r): Do intermediate computations in
467         round-to-nearest then adjust overflowing and underflowing results
468         as needed.  Use 1.0L not 1.0f as numerator of division.
469         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
470         of X_ADJ not X when adjusting exponent.
471         (__ieee754_gammal_r): Do intermediate computations in
472         round-to-nearest then adjust overflowing and underflowing results
473         as needed.  Use 1.0L not 1.0f as numerator of division.
474         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
475         to auto-libm-test-in.
476         (tgamma_test): Use ALL_RM_TEST.
477         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
478         tests of tgamma with spurious-overflow.
479         * math/auto-libm-test-out: Regenerated.
480         * math/gen-libm-have-vector-test.sh: Do not check for START.
481         * sysdeps/i386/fpu/libm-test-ulps: Update.
482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
484         [BZ #18612]
485         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
486         arguments, just return 0.5 times the argument, with underflow
487         forced as needed.
488         * math/auto-libm-test-in: Add more tests of j1.
489         * math/auto-libm-test-out: Regenerated.
491         [BZ #16559]
492         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
493         (__ieee754_j1): Force underflow exception for small results.
494         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
495         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
496         (__ieee754_j1f): Force underflow exception for small results.
497         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
498         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
500         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
501         (__ieee754_j1l): Force underflow exception for small results.
502         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
503         * math/auto-libm-test-in: Add more tests of j1 and jn.
504         * math/auto-libm-test-out: Regenerated.
506         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
507         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
508         (PF_MPLS): Likewise.
509         (AF_IB): Likewise.
510         (AF_MPLS): Likewise.
511         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
512         value and macro.
513         (MS_RMT_MASK): Include MS_LAZYTIME.
515 2015-06-26  Mel Gorman  <mgorman@suse.de>
517         [BZ #18502]
518         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
519         already minimal.
521 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
523         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
524         (DT_MIPS_NUM): Update.
525         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
526         DT_MIPS_RLD_MAP_REL.
528 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
530         [BZ #16559]
531         [BZ #18602]
532         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
533         round-to-nearest internally then recompute results that
534         underflowed to zero in the original rounding mode.
535         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
536         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
537         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
538         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
539         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
540         * sysdeps/i386/fpu/libm-test-ulps: Update.
541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
543 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
545         * NEWS: Fixed description of link with vector math library.
547 2015-06-25  Andreas Schwab  <schwab@suse.de>
549         [BZ #18549]
550         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
551         * libio/test-fmemopen.c (do_test): Add test for it.
553 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
555         [BZ #17841]
556         * Makeconfig (no-pie-ldflag): New.
557         (+link): Set to $(+link-pie) if default to PIE.
558         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
559         * config.make.in (build-pie-default): New.
560         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
561         is default.  AC_SUBST.
562         * configure: Regenerated.
563         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
565 2015-06-24  Roland McGrath  <roland@hack.frob.com>
567         * nptl/descr.h (struct pthread): Change type of field setxid_futex
568         to 'unsigned int'.
570         * resolv/gai_misc.h (struct waitlist): Change type of field
571         counterp to 'volatile unsigned int *'.
572         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
573         FUTEXADDR and OLDVAL.
574         * resolv/getaddrinfo_a.c (getaddrinfo_a):
575         Give local variable TOTAL type 'volatile unsigned int'.
576         (struct async_waitlist): Change type of field counter to 'unsigned int'.
577         * resolv/gai_suspend.c (gai_suspend):
578         Give local variable CNTR type 'unsigned int'.
580         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
581         counterp to 'volatile unsigned int *'.
582         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
583         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
584         (aio_suspend): Give local variable CNTR type 'unsigned int'.
585         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
586         Give local variable TOTAL type 'volatile unsigned int'.
587         (struct async_waitlist): Change type of field counter to 'unsigned int'.
589 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
591         [BZ #18383]
592         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
593         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
594         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
595         comment for i386/x86-64.
596         (test-xfail-tst-tlsalign-extern-static): Removed.
598 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
600         * math/test-double.h: New file.
601         * math/test-float.h: Likewise.
602         * math/test-ldouble.h: Likewise.
603         * math/test-math-inline.h: Likewise.
604         * math/test-math-no-inline.h: Likewise.
605         * math/test-math-scalar.h: Likewise.
606         * math/test-math-vector.h: Likewise.
607         * math/test-vec-loop.h: Remove file.  Contents moved into
608         test-math-vector.h.
609         * math/libm-test.inc (MATHCONST): Do not document macro.
610         * math/test-double.c: Include test-double.h, test-math-no-inline.h
611         and test-math-scalar.h.
612         (FUNC): Remove macro.
613         (FUNC_TEST): Likewise.
614         (FLOAT): Likewise.
615         (MATHCONST): Likewise.
616         (PRINTF_EXPR): Likewise.
617         (PRINTF_XEXPR): Likewise.
618         (PRINTF_NEXPR): Likewise.
619         (TEST_DOUBLE): Likewise.
620         (TEST_MATHVEC): Likewise.
621         (__NO_MATH_INLINES): Likewise.
622         * math/test-float.c: Include test-float.h, test-math-no-inline.h
623         and test-math-scalar.h.
624         (FUNC): Remove macro.
625         (FUNC_TEST): Likewise.
626         (FLOAT): Likewise.
627         (MATHCONST): Likewise.
628         (PRINTF_EXPR): Likewise.
629         (PRINTF_XEXPR): Likewise.
630         (PRINTF_NEXPR): Likewise.
631         (TEST_FLOAT): Likewise.
632         (TEST_MATHVEC): Likewise.
633         (__NO_MATH_INLINES): Likewise.
634         * math/test-idouble.c: Include test-double.h, test-math-inline.h
635         and test-math-scalar.h.
636         (FUNC): Remove macro.
637         (FUNC_TEST): Likewise.
638         (FLOAT): Likewise.
639         (MATHCONST): Likewise.
640         (PRINTF_EXPR): Likewise.
641         (PRINTF_XEXPR): Likewise.
642         (PRINTF_NEXPR): Likewise.
643         (TEST_DOUBLE): Likewise.
644         (TEST_MATHVEC): Likewise.
645         (TEST_INLINE): Likewise.
646         (__NO_MATH_INLINES): Likewise.
647         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
648         test-math-scalar.h.
649         (FUNC): Remove macro.
650         (FUNC_TEST): Likewise.
651         (FLOAT): Likewise.
652         (MATHCONST): Likewise.
653         (PRINTF_EXPR): Likewise.
654         (PRINTF_XEXPR): Likewise.
655         (PRINTF_NEXPR): Likewise.
656         (TEST_FLOAT): Likewise.
657         (TEST_MATHVEC): Likewise.
658         (TEST_INLINE): Likewise.
659         (__NO_MATH_INLINES): Likewise.
660         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
661         and test-math-scalar.h.
662         (FUNC): Remove macro.
663         (FUNC_TEST): Likewise.
664         (FLOAT): Likewise.
665         (MATHCONST): Likewise.
666         (PRINTF_EXPR): Likewise.
667         (PRINTF_XEXPR): Likewise.
668         (PRINTF_NEXPR): Likewise.
669         (TEST_LDOUBLE): Likewise.
670         (TEST_MATHVEC): Likewise.
671         (TEST_INLINE): Likewise.
672         (__NO_MATH_INLINES): Likewise.
673         * math/test-ldouble.c: Include test-ldouble.h,
674         test-math-no-inline.h and test-math-scalar.h.
675         (FUNC): Remove macro.
676         (FUNC_TEST): Likewise.
677         (FLOAT): Likewise.
678         (MATHCONST): Likewise.
679         (PRINTF_EXPR): Likewise.
680         (PRINTF_XEXPR): Likewise.
681         (PRINTF_NEXPR): Likewise.
682         (TEST_LDOUBLE): Likewise.
683         (TEST_MATHVEC): Likewise.
684         (__NO_MATH_INLINES): Likewise.
685         * math/test-double-vlen2.h: Include test-double.h,
686         test-math-no-inline.h and test-math-vector.h.
687         (FLOAT): Remove macro.
688         (FUNC): Likewise.
689         (MATHCONST): Likewise.
690         (PRINTF_EXPR): Likewise.
691         (PRINTF_XEXPR): Likewise.
692         (PRINTF_NEXPR): Likewise.
693         (TEST_DOUBLE): Likewise.
694         (TEST_MATHVEC): Likewise.
695         (__NO_MATH_INLINES): Likewise.
696         (CNCT): Likewise.
697         (CONCAT): Likewise.
698         (WRAPPER_NAME): Likewise.
699         (WRAPPER_DECL): Likewise.
700         (WRAPPER_DECL_ff): Likewise.
701         (WRAPPER_DECL_fFF): Likewise.
702         (VECTOR_WRAPPER): Likewise.
703         (VECTOR_WRAPPER_ff): Likewise.
704         (VECTOR_WRAPPER_fFF): Likewise.
705         (VEC_LEN): New macro.
706         * math/test-double-vlen4.h: Include test-double.h,
707         test-math-no-inline.h and test-math-vector.h.
708         (FLOAT): Remove macro.
709         (FUNC): Likewise.
710         (MATHCONST): Likewise.
711         (PRINTF_EXPR): Likewise.
712         (PRINTF_XEXPR): Likewise.
713         (PRINTF_NEXPR): Likewise.
714         (TEST_DOUBLE): Likewise.
715         (TEST_MATHVEC): Likewise.
716         (__NO_MATH_INLINES): Likewise.
717         (CNCT): Likewise.
718         (CONCAT): Likewise.
719         (WRAPPER_NAME): Likewise.
720         (WRAPPER_DECL): Likewise.
721         (WRAPPER_DECL_ff): Likewise.
722         (WRAPPER_DECL_fFF): Likewise.
723         (VECTOR_WRAPPER): Likewise.
724         (VECTOR_WRAPPER_ff): Likewise.
725         (VECTOR_WRAPPER_fFF): Likewise.
726         (VEC_LEN): New macro.
727         * math/test-double-vlen8.h: Include test-double.h,
728         test-math-no-inline.h and test-math-vector.h.
729         (FLOAT): Remove macro.
730         (FUNC): Likewise.
731         (MATHCONST): Likewise.
732         (PRINTF_EXPR): Likewise.
733         (PRINTF_XEXPR): Likewise.
734         (PRINTF_NEXPR): Likewise.
735         (TEST_DOUBLE): Likewise.
736         (TEST_MATHVEC): Likewise.
737         (__NO_MATH_INLINES): Likewise.
738         (CNCT): Likewise.
739         (CONCAT): Likewise.
740         (WRAPPER_NAME): Likewise.
741         (WRAPPER_DECL): Likewise.
742         (WRAPPER_DECL_ff): Likewise.
743         (WRAPPER_DECL_fFF): Likewise.
744         (VECTOR_WRAPPER): Likewise.
745         (VECTOR_WRAPPER_ff): Likewise.
746         (VECTOR_WRAPPER_fFF): Likewise.
747         (VEC_LEN): New macro.
748         * math/test-float-vlen4.h: Include test-float.h,
749         test-math-no-inline.h and test-math-vector.h.
750         (FLOAT): Remove macro.
751         (FUNC): Likewise.
752         (MATHCONST): Likewise.
753         (PRINTF_EXPR): Likewise.
754         (PRINTF_XEXPR): Likewise.
755         (PRINTF_NEXPR): Likewise.
756         (TEST_FLOAT): Likewise.
757         (TEST_MATHVEC): Likewise.
758         (__NO_MATH_INLINES): Likewise.
759         (CNCT): Likewise.
760         (CONCAT): Likewise.
761         (WRAPPER_NAME): Likewise.
762         (WRAPPER_DECL): Likewise.
763         (WRAPPER_DECL_ff): Likewise.
764         (WRAPPER_DECL_fFF): Likewise.
765         (VECTOR_WRAPPER): Likewise.
766         (VECTOR_WRAPPER_ff): Likewise.
767         (VECTOR_WRAPPER_fFF): Likewise.
768         (VEC_LEN): New macro.
769         * math/test-float-vlen8.h: Include test-float.h,
770         test-math-no-inline.h and test-math-vector.h.
771         (FLOAT): Remove macro.
772         (FUNC): Likewise.
773         (MATHCONST): Likewise.
774         (PRINTF_EXPR): Likewise.
775         (PRINTF_XEXPR): Likewise.
776         (PRINTF_NEXPR): Likewise.
777         (TEST_FLOAT): Likewise.
778         (TEST_MATHVEC): Likewise.
779         (__NO_MATH_INLINES): Likewise.
780         (CNCT): Likewise.
781         (CONCAT): Likewise.
782         (WRAPPER_NAME): Likewise.
783         (WRAPPER_DECL): Likewise.
784         (WRAPPER_DECL_ff): Likewise.
785         (WRAPPER_DECL_fFF): Likewise.
786         (VECTOR_WRAPPER): Likewise.
787         (VECTOR_WRAPPER_ff): Likewise.
788         (VECTOR_WRAPPER_fFF): Likewise.
789         (VEC_LEN): New macro.
790         * math/test-float-vlen16.h: Include test-float.h,
791         test-math-no-inline.h and test-math-vector.h.
792         (FLOAT): Remove macro.
793         (FUNC): Likewise.
794         (MATHCONST): Likewise.
795         (PRINTF_EXPR): Likewise.
796         (PRINTF_XEXPR): Likewise.
797         (PRINTF_NEXPR): Likewise.
798         (TEST_FLOAT): Likewise.
799         (TEST_MATHVEC): Likewise.
800         (__NO_MATH_INLINES): Likewise.
801         (CNCT): Likewise.
802         (CONCAT): Likewise.
803         (WRAPPER_NAME): Likewise.
804         (WRAPPER_DECL): Likewise.
805         (WRAPPER_DECL_ff): Likewise.
806         (WRAPPER_DECL_fFF): Likewise.
807         (VECTOR_WRAPPER): Likewise.
808         (VECTOR_WRAPPER_ff): Likewise.
809         (VECTOR_WRAPPER_fFF): Likewise.
810         (VEC_LEN): New macro.
811         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
812         test-vec-loop.h.
813         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
815         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
817         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
819         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
821 2015-06-24  Roland McGrath  <roland@hack.frob.com>
823         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
824         (__getlogin_r): ... this.
826 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
828         [BZ #18594]
829         * math/s_ccosh.c (__ccosh): Compare with least normal value
830         instead of comparing class with FP_SUBNORMAL.
831         * math/s_ccoshf.c (__ccoshf): Likewise.
832         * math/s_ccoshl.c (__ccoshl): Likewise.
833         * math/s_cexp.c (__cexp): Likewise.
834         * math/s_cexpf.c (__cexpf): Likewise.
835         * math/s_cexpl.c (__cexpl): Likewise.
836         * math/s_csin.c (__csin): Likewise.
837         * math/s_csinf.c (__csinf): Likewise.
838         * math/s_csinh.c (__csinh): Likewise.
839         * math/s_csinhf.c (__csinhf): Likewise.
840         * math/s_csinhl.c (__csinhl): Likewise.
841         * math/s_csinl.c (__csinl): Likewise.
842         * math/s_ctan.c (__ctan): Likewise.
843         * math/s_ctanf.c (__ctanf): Likewise.
844         * math/s_ctanh.c (__ctanh): Likewise.
845         * math/s_ctanhf.c (__ctanhf): Likewise.
846         * math/s_ctanhl.c (__ctanhl): Likewise.
847         * math/s_ctanl.c (__ctanl): Likewise.
848         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
849         csin, csinh, ctan and ctanh.
850         * math/auto-libm-test-out: Regenerated.
851         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
852         * sysdeps/i386/fpu/libm-test-ulps: Update.
853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
855 2015-06-24  Roland McGrath  <roland@hack.frob.com>
857         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
858         return value is wrong, print the expected value too.
860 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
862         [BZ #18585]
863         * elf/readlib.c (is_gdb_python_file): New.
864         (process_file): Don't issue errors on filenames with -gdb.py
865         suffix.
867 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
869         * math/auto-libm-test-in: Add more tests of csin and csinh.
870         * math/auto-libm-test-out: Regenerated.
871         * math/libm-test.inc (csin_test_data): Remove tests moved to
872         auto-libm-test-in.
873         (csinh_test_data): Likewise.
875         [BZ #18593]
876         * math/s_csin.c (__csin): Negate before rather than after possibly
877         overflowing multiplication.
878         * math/s_csinf.c (__csinf): Likewise.
879         * math/s_csinh.c (__csinh): Likewise.
880         * math/s_csinhf.c (__csinhf): Likewise.
881         * math/s_csinhl.c (__csinhl): Likewise.
882         * math/s_csinl.c (__csinl): Likewise.
883         * math/auto-libm-test-in: Add some tests of csin and csinh.
884         * math/auto-libm-test-out: Regenerated.
885         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
886         (csinh_test_data): Likewise.
887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
889         [BZ #18586]
890         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
891         underflow exception for small results.
893 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
895         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
896         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
897         variable and included header.
898         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
901         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
902         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
903         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
904         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
905         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
906         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
907         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
908         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
909         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
910         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
911         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
912         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
913         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
915 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
917         [BZ #16526]
918         [BZ #16538]
919         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
920         (__sin): Force underflow exception for arguments with small
921         absolute value.
922         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
923         (__kernel_sinf): Force underflow exception for arguments with
924         small absolute value.
925         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
926         (__kernel_sincosl): Force underflow exception for arguments with
927         small absolute value.
928         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
929         (__kernel_sinl): Force underflow exception for arguments with
930         small absolute value.
931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
932         (__kernel_sincosl): Force underflow exception for arguments with
933         small absolute value.
934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
935         (__kernel_sinl): Force underflow exception for arguments with
936         small absolute value.
937         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
938         (__kernel_sinl): Force underflow exception for arguments with
939         small absolute value.
940         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
941         (__kernel_sinf): Force underflow exception for arguments with
942         small absolute value.
943         * math/auto-libm-test-in: Add more tests of sin and sincos.
944         * math/auto-libm-test-out: Regenerated.
946         [BZ #18245]
947         [BZ #18583]
948         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
949         (__kernel_standard_l): Use feholdexcept and fesetenv around
950         conversion to double instead of special-casing overflow and
951         underflow.
952         * math/libm-test.inc (fmod_test_data): Add more tests.
953         (remainder_test_data): Likewise.
954         (sqrt_test_data): Likewise.
956 2015-06-23  Torvald Riegel  <triegel@redhat.com>
958         [BZ #17403]
959         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
960         atomic_read_barrier, atomic_write_barrier): Define.
961         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
962         atomic_read_barrier, atomic_write_barrier): Define.
964 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
966         * math/Makefile [$(PERL) != no]
967         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
968         dependency on libm-test.stmp below the inclusion of Rules.
970 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
972         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
973         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
974         and included header.
975         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
978         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
979         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
980         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
982         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
983         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
984         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
985         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
986         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
987         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
988         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
989         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
990         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
991         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
992         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
993         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
995 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
997         [BZ #18371]
998         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
999         intermediate but not final result might underflow.
1000         * math/s_csqrtf.c (__csqrtf): Likewise.
1001         * math/s_csqrtl.c (__csqrtl): Likewise.
1002         * math/auto-libm-test-in: Add more tests of csqrt.
1003         * math/auto-libm-test-out: Regenerated.
1004         * sysdeps/i386/fpu/libm-test-ulps: Update.
1006         [BZ #18219]
1007         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1008         threshold on absolute value of exponent for which scaling is used.
1009         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1010         * math/auto-libm-test-in: Add more tests of exp2.
1011         * math/auto-libm-test-out: Regenerated.
1013 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1015         [BZ #17977]
1016         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1017         when initializing interface list, based on the bug analysis
1018         and the patch proposed by Eric Newton.
1019         * resolv/tst-res_hconf_reorder.c: New test.
1020         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1021         tst-res_hconf_reorder.
1022         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1023         and $(shared-thread-library).
1024         (tst-res_hconf_reorder-ENV): New variable.
1026         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1027         in comment.
1029 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1031         [BZ #16353]
1032         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1033         (__expm1): Force underflow exception for arguments with small
1034         absolute value.
1035         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1036         (__expm1f): Force underflow exception for arguments with small
1037         absolute value.
1038         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1039         (__expm1): Force underflow exception for arguments with small
1040         absolute value.
1041         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1042         (__expm1f): Force underflow exception for arguments with small
1043         absolute value.
1044         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1045         Check for small arguments before calling __expm1.
1046         * math/auto-libm-test-in: Do not mark underflow exceptions as
1047         possibly missing for bug 16353.
1048         * math/auto-libm-test-out: Regenerated.
1050 2015-06-22  Andreas Schwab  <schwab@suse.de>
1052         [BZ #18513]
1053         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1054         PTR queries.
1056 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1058         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1060         * string/strcoll_l.c: Remove unused struct element idxnow.
1062 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1064         [BZ #18569]
1065         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1066         underflow and return argument in case of subnormal argument.
1067         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1068         Likewise.
1069         * math/auto-libm-test-in: Add more tests of expm1.
1070         * math/auto-libm-test-out: Regenerated.
1072         [BZ #16361]
1073         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1074         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1075         tiny results.
1076         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1077         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1078         tiny results.
1079         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1080         mark underflow exceptions as possibly missing for bug 16361.
1081         * math/auto-libm-test-out: Regenerated.
1083 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1085         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1086         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1087         Remove variable.
1088         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1089         (test-xfail-XOPEN2K8/utmpx.h/conform).
1091         * conform/conformtest.pl ($xerrors): New variable.
1092         (note_error): New function.
1093         (compiletest): New argument $xfail.  Use not_error.
1094         (runtest): Likewise.
1095         (top level): Handle xfail- lines.  Update calls to compiletest and
1096         runtest.  Handle xfail- and optional- in headers listed with
1097         allow-header.
1098         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1099         (O_EXEC): Likewise.
1100         (O_SEARCH): Likewise.
1101         * conform/data/stropts.h-data (ioctl): Likewise.
1102         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1103         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1104         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1105         (msghdr.msg_controllen): Likewise.
1106         (cmsghdr.cmsg_len): Likewise.
1107         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1108         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1109         variable.
1110         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1111         (test-xfail-XPG4/stropts.h/conform): Likewise.
1112         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1113         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1114         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1115         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1116         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1117         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1118         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1119         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1120         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1121         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1122         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1123         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1124         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1125         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1126         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1127         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1128         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1129         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1130         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1132 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1134         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1135         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1136         definitions for proper unfolding of __MATHDECL_VEC.
1138 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * benchtests/bench-strcoll.c:
1141         Include string.h.
1142         (main): Remove unused variable res.
1144 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1146         * timezone/Makefile (%/UTC %/Universal):
1147         Generate test-result files for UTC and Universal.
1149 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1151         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1153 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1155         [BZ #16350]
1156         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1157         for arguments with small absolute value.
1158         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1159         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1160         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1161         (__asinh): Force underflow exception for arguments with small
1162         absolute value.
1163         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1164         (__asinhf): Force underflow exception for arguments with small
1165         absolute value.
1166         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1167         (__asinhl): Force underflow exception for arguments with small
1168         absolute value.
1169         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1170         (__asinhl): Force underflow exception for arguments with small
1171         absolute value.
1172         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1173         (__asinhl): Force underflow exception for arguments with small
1174         absolute value.
1175         * math/auto-libm-test-in: Do not mark underflow exceptions as
1176         possibly missing for bug 16350.
1177         * math/auto-libm-test-out: Regenerated.
1179         * include/bits/ipc.h: Remove file.
1180         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1181         variable.
1182         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1183         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1184         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1185         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1186         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1187         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1188         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1189         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1190         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1192         * math/auto-libm-test-in: Remove spurious underflow allowance for
1193         tests of cexp.
1194         * math/auto-libm-test-out: Regenerated.
1196         [BZ #18558]
1197         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1198         unconditional definition.
1199         (MCAST_BLOCK_SOURCE): Likewise.
1200         (MCAST_UNBLOCK_SOURCE): Likewise.
1201         (MCAST_LEAVE_GROUP): Likewise.
1202         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1203         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1204         (MCAST_MSFILTER): Likewise.
1205         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1206         Remove variable.
1207         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1208         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1209         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1210         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1211         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1213 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1215         * NEWS: Mention addition of x86_64 vector sincosf.
1216         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1217         * math/test-float-vlen4.h: Likewise.
1218         * math/test-float-vlen8.h: Likewise.
1219         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1220         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1221         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1222         * sysdeps/x86_64/fpu/Versions: New versions added.
1223         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1224         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1225         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1226         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1227         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1228         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1229         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1230         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1231         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1232         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1233         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1234         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1235         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1236         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1237         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1238         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1239         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1240         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1241         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1242         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1245         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1246         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1248         * NEWS: Mention addition of x86_64 vector sincos.
1249         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1250         * math/math.h (__MATHDECL_VEC): New macro.
1251         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1252         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1253         declaration under condition.
1254         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1255         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1256         TEST_VEC_LOOP change.
1257         * math/test-double-vlen4.h: Likewise.
1258         * math/test-double-vlen8.h: Likewise.
1259         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1260         * math/test-float-vlen4.h: Likewise.
1261         * math/test-float-vlen8.h: Likewise.
1262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1263         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1265         * sysdeps/x86_64/fpu/Versions: New versions added.
1266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1268         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1275         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1276         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1277         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1278         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1279         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1280         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1281         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1282         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1283         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1285         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1286         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1287         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1288         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1291         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1292         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1293         redirections for powf.
1294         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1295         * sysdeps/x86_64/fpu/Versions: New versions added.
1296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1297         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1298         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1299         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1300         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1301         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1302         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1304         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1305         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1306         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1307         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1308         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1309         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1310         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1311         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1312         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1313         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1314         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1315         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1317         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1318         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1319         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1320         * math/test-float-vlen16.h: Fixed 2 argument macro.
1321         * math/test-float-vlen4.h: Likewise.
1322         * math/test-float-vlen8.h: Likewise.
1323         * NEWS: Mention addition of x86_64 vector powf.
1325 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1327         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1328         and redefine.
1329         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1330         and redefine.
1331         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1332         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1333         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1335         [BZ #18553]
1336         * resource/getpriority.c (getpriority): Rename to __getpriority
1337         and define as weak alias of __getpriority.
1338         * resource/setpriority.c (setpriority): Rename to __setpriority
1339         and define as weak alias of __setpriority.
1340         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1341         __getpriority and define as weak alias of __getpriority.
1342         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1343         __setpriority and define as weak alias of __setpriority.
1344         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1345         strong name.
1346         (setpriority): Use __setpriority as strong name.
1347         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1348         __getpriority and define as weak alias of __getpriority.
1349         * include/sys/resource.h (__getpriority): Declare.  Use
1350         libc_hidden_proto.
1351         (__setpriority): Likewise.
1352         (getpriority): Don't use libc_hidden_proto.
1353         (setpriority): Likewise.
1354         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1355         getpriority.  Call __setpriority instead of setpriority.
1356         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1357         Remove variable.
1359         [BZ #18547]
1360         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1361         as weak alias of __getttynam.  Use prototype function definition.
1362         Call __setttyent, __getttyent and __endttyent instead of
1363         setttyent, getttyent and endttyent.
1364         (getttyent): Rename to __getttyent and define as weak alias of
1365         __getttyent.  Call __setttyent instead of setttyent.  Call
1366         __fgets_unlocked instead of fgets_unlocked.
1367         (setttyent): Rename to __setttyent and define as weak alias of
1368         __setttyent.
1369         (endttyent): Rename to __endttyent and define as weak alias of
1370         __endttyent.
1371         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1372         (__setttyent): Likewise.
1373         (__endttyent): Likewise.
1374         (getttyent): Don't use libc_hidden_proto.
1375         (setttyent): Likewise.
1376         (endttyent): Likewise.
1377         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1378         __endttyent instead of setttyent, getttyent and endttyent.
1379         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1380         Remove variable.
1382         [BZ #18546]
1383         * socket/recv.c (__recv): Use libc_hidden_def.
1384         * socket/socket.c (__socket): Likewise.
1385         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1386         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1387         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1388         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1389         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1390         libc_hidden_def.
1391         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1392         libc_hidden_weak.
1393         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1394         Use libc_hidden_proto.
1395         (__recv): Likewise.
1396         * socket/Versions (libc): Export __recv and __socket at version
1397         GLIBC_PRIVATE.
1398         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1399         instead of recv.
1400         (init_mq_netlink): Call __socket instead of socket.
1401         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1402         Remove variable.
1404         [BZ #18545]
1405         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1406         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1407         hidden_weak.
1408         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1409         define as alias of __mq_timedsend.  Use hidden_weak.
1410         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1411         __mq_timedsend as strong name.
1412         (mq_timedreceive): Use __mq_timedreceive as strong name.
1413         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1414         (__mq_timedreceive): Likewise.
1415         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1416         __mq_timedreceive instead of mq_timedreceive.
1417         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1418         instead of mq_timedsend.
1419         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1420         Remove variable.
1422         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1423         hidden_def and hidden_weak instead of libc_hidden_def and
1424         libc_hidden_weak.
1425         (top level): Refer to hidden_def in comment.
1426         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1427         macro.  Use it instead of libc_hidden_def.
1428         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1429         specify __GI_* name explicitly.
1430         (mq_timedreceive): Likewise.
1431         (mq_setattr): Likewise.
1433         [BZ #18544]
1434         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1435         __pthread_barrier_init and define as weak alias of
1436         __pthread_barrier_init.
1437         * sysdeps/sparc/nptl/pthread_barrier_init.c
1438         (pthread_barrier_init): Likewise.
1439         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1440         __pthread_barrier_wait and define as weak alias of
1441         __pthread_barrier_wait.
1442         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1443         (pthread_barrier_wait): Likewise.
1444         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1445         (pthread_barrier_wait): Likewise.
1446         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1447         (pthread_barrier_wait): Likewise.
1448         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1449         (pthread_barrier_wait): Likewise.
1450         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1451         __pthread_barrier_wait at version GLIBC_PRIVATE.
1452         * include/pthread.h (__pthread_barrier_init): Declare.
1453         (__pthread_barrier_wait): Likewise.
1454         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1455         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1456         (helper_thread): Likewise.
1457         (init_mq_netlink): Call __pthread_barrier_init instead of
1458         pthread_barrier_init.
1460         [BZ #18542]
1461         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1462         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1463         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1464         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1465         vswscanf.
1466         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1467         Remove variable.
1469         [BZ #18540]
1470         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1471         strong alias of _IO_fflush.  Use libc_hidden_def.
1472         * libio/iofflush_u.c (fflush_unlocked): Rename to
1473         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1474         Use libc_hidden_weak.
1475         * include/stdio.h (__fflush_unlocked): Declare.  Use
1476         libc_hidden_proto.
1477         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1478         fflush_unlocked.
1479         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1480         Remove variable.
1482         [BZ #18539]
1483         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1484         define as weak alias of __addseverity.
1485         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1486         Remove variable.
1487         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1488         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1489         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1491         [BZ #18536]
1492         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1493         (__tfind): Likewise.
1494         (__tdelete): Likewise.
1495         (__twalk): Likewise.
1496         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1497         __twalk to GLIBC_PRIVATE.
1498         * include/search.h (__tsearch): Use libc_hidden_proto.
1499         (__tfind): Likewise.
1500         (__tdelete): Likewise.
1501         (__twalk): Likewise.
1502         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1503         Call __tdelete instead of tdelete.
1504         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1505         tfind.  Call __tsearch instead of tsearch.
1506         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1507         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1508         Remove variable.
1509         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1511         [BZ #18534]
1512         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1513         (dprintf): Define as a weak alias of __dprintf, not a strong
1514         alias.
1515         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1516         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1517         dprintf.
1518         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1519         Remove variable.
1520         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1521         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1523         [BZ #18533]
1524         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1525         not a strong alias.
1526         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1527         Remove variable.
1529         [BZ #18532]
1530         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1531         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1532         (in6addr_loopback): Rename to __in6addr_loopback and define as
1533         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1534         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1535         libc_hidden_proto.
1536         (__in6addr_any): Likewise.
1537         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1538         in6addr_any.
1539         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1540         variable.
1541         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1543 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1545         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1546         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1548         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1549         redirections for pow.
1550         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1551         * sysdeps/x86_64/fpu/Versions: New versions added.
1552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1553         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1554         build of SSE, AVX2 and AVX512 IFUNC versions.
1555         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1560         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1562         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1563         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1564         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1565         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1566         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1567         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1568         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1569         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1571         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1572         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1573         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1574         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1575         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1576         * NEWS: Mention addition of x86_64 vector pow.
1578         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1579         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1580         redirections for expf.
1581         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1582         * sysdeps/x86_64/fpu/Versions: New versions added.
1583         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1584         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1585         build of SSE, AVX2 and AVX512 IFUNC versions.
1586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1587         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1588         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1589         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1590         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1591         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1592         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1593         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1594         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1595         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1596         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1597         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1598         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1599         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1600         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1601         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1603         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1604         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1605         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1606         * NEWS: Mention addition of x86_64 vector expf.
1608         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1609         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1610         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1611         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1612         redirections for exp.
1613         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1614         * sysdeps/x86_64/fpu/Versions: New versions added.
1615         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1616         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1617         build of SSE, AVX2 and AVX512 IFUNC versions.
1618         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1624         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1625         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1626         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1627         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1628         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1629         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1630         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1631         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1632         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1633         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1634         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1635         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1636         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1637         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1638         * NEWS: Mention addition of x86_64 vector exp.
1640         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1641         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1642         redirections for logf.
1643         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1644         * sysdeps/x86_64/fpu/Versions: New versions added.
1645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1646         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1647         build of SSE, AVX2 and AVX512 IFUNC versions.
1648         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1649         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1653         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1654         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1655         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1656         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1657         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1658         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1659         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1660         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1661         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1662         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1663         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1664         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1665         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1666         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1667         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1668         * NEWS: Mention addition of x86_64 vector logf.
1670         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1671         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1672         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1673         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1674         redirections for log.
1675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1676         * sysdeps/x86_64/fpu/Versions: New versions added.
1677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1678         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1679         build of SSE, AVX2 and AVX512 IFUNC versions.
1680         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1681         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1682         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1683         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1684         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1685         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1686         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1687         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1688         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1689         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1690         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1691         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1692         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1693         test.
1694         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1695         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1697         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1698         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1699         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1700         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1701         * NEWS: Mention addition of x86_64 vector log.
1703 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1705         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1706         cfi_adjust_cfa_offset argument.
1707         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1708         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1710         [BZ #18034]
1711         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1712         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1713         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1714         ordering using ldar.
1715         (_dl_tlsdesc_dynamic): Likewise.
1716         (_dl_tlsdesc_return_lazy): Likewise.
1717         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1718         relaxed atomics instead of volatile and synchronize with release store.
1719         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1720         volatile.
1721         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1723 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1725         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1726         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1727         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1728         * sysdeps/x86_64/fpu/Versions: New versions added.
1729         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1730         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1731         build of SSE, AVX2 and AVX512 IFUNC versions.
1732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1735         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1736         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1737         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1738         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1739         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1740         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1741         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1742         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1743         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1744         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1745         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1746         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1747         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1749         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1750         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1751         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1752         * NEWS: Mention addition of x86_64 vector sinf.
1754 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1756         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1757         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1758         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1759         Remove variable.
1760         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1761         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1763 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1765         [BZ #18530]
1766         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1767         strong alias of _IO_fputs.  Use libc_hidden_def.
1768         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1769         and define as weak alias of __fputs_unlocked.  Use
1770         libc_hidden_weak.
1771         * include/stdio.h (__fputs_unlocked): Declare.  Use
1772         libc_hidden_proto.
1773         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1774         fputs_unlocked.
1776         [BZ #18529]
1777         * resolv/netdb.h [__USE_POSIX]: Change condition to
1778         [__USE_XOPEN2K].
1779         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1780         not expect.
1781         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1782         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1783         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1784         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1785         [XPG4 || UNIX98] (AI_ALL): Likewise.
1786         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1787         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1788         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1789         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1790         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1791         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1792         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1793         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1794         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1795         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1796         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1797         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1798         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1799         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1800         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1801         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1802         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1803         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1804         [XPG4 || UNIX98] (gai_strerror): Likewise.
1805         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1806         [XPG4 || UNIX98] (getnameinfo): Likewise.
1808         [BZ #18528]
1809         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1810         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1811         __USE_XOPEN2K8].
1812         (getgrent): Likewise.
1813         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1814         expect.
1815         [XPG3 || POSIX2008] (endgrent): Likewise.
1816         [XPG3] (setgrent): Likewise.
1817         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1818         variable.
1819         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1821         [BZ #18527]
1822         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1823         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1824         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1825         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1826         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1827         * include/unistd.h (__getlogin_r): Declare.  Use
1828         libc_hidden_proto.
1829         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1830         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1831         variable.
1832         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1833         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1834         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1836 2015-06-12  Martin Sebor  <msebor@redhat.com>
1838         [BZ #18512]
1839         * Makerules (check-install-supported): New target.
1840         (install): Add check-install-supported as a dependency.
1841         * manual/install.texi (Installing the C Library): Document
1842         that overriding prefix and exec_prefix is not supported.
1843         Mention DESTDIR.
1844         * INSTALL: Regenerate from the above.
1846 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1848         [BZ #18519]
1849         * posix/Versions (libc): Export __libc_pread at version
1850         GLIBC_PRIVATE.
1851         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1852         instead of pread.
1853         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1854         variable.
1856         [BZ #18522]
1857         * misc/efgcvt_r.c
1858         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1859         (cvt_symbol): Use weak_alias instead of strong_alias.
1860         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1861         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1862         Remove variable.
1863         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1864         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1866         [BZ #18520]
1867         * inet/herrno.c (h_errno): Rename to __h_errno.
1868         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1869         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1870         to __h_errno instead of h_errno.
1871         * nptl/herrno.c (h_errno): Rename to __h_errno.
1872         (__h_errno_location): Refer to __h_errno not h_errno.
1873         * resolv/Versions (h_errno): Rename to __h_errno.
1874         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1875         Remove variable.
1876         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1878 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1880         * configure.ac: More strict check for AVX512 assembler support.
1881         * configure: Regenerated.
1883         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1884         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1886         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1887         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1888         * sysdeps/x86_64/fpu/Versions: New versions added.
1889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1890         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1891         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1892         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1894         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1895         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1896         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1897         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1898         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1899         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1900         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1901         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1902         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1903         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1904         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1905         test.
1906         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1909         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1910         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1911         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1912         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1913         * NEWS: Mention addition of x86_64 vector sin.
1915 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1917         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1918         comment.
1920 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1922         [BZ #18479]
1923         * nptl/pt-interp.c: New file.
1924         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1925         Add pt-interp.
1926         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1927         $(common-objpfx)runtime-linker.h.
1929 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1931         * Makeconfig (+interp): Remove unused variable.
1932         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1933         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1934         $(elf-objpfx)runtime-linker.h.
1935         ($(elf-objpfx)runtime-linker.h): Rename to
1936         $(common-objpfx)runtime-linker.h and move ...
1937         * Makerules [$(build-shared) = yes]: ... here.
1938         * elf/interp.c: Include <runtime-linker.h> instead of
1939         <elf/runtime-linker.h>.
1941 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1943         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1944         (__gettimeofday_syscall): Remove vsyscall fallback.
1945         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1946         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1947         Add syscall fallback function.
1948         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1949         if vDSO is not present.
1950         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1951         fallback function.
1952         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1953         present.
1954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1955         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1957 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1959         [BZ #18497]
1960         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1961         of wcscmp.
1962         (wcscmp): Define as weak alias of WCSCMP.
1963         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1964         wcscoll.
1965         (USE_HIDDEN_DEF): Define.
1966         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1967         __wcscoll.  Don't use libc_hidden_weak.
1968         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1969         wcscmp.
1970         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1971         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1972         __GI_wcscmp.
1973         (weak_alias): Undefine and redefine.
1974         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1975         __wcscmp and define as weak alias of __wcscmp.
1976         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1977         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1978         (__wcscoll): Likewise.
1979         (wcscmp): Don't use libc_hidden_proto.
1980         (wcscoll): Likewise.
1981         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1982         wcscoll.
1983         * posix/regexec.c (check_node_accept_bytes): Likewise.
1984         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1985         variable.
1986         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1987         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1989         [BZ #18507]
1990         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1991         __fstatvfs and define as weak alias of __fstatvfs.  Use
1992         libc_hidden_weak.
1993         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1994         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1995         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1996         Define as alias of __fstatvfs, not fstatvfs.
1997         (fstatvfs64): Likewise.
1998         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1999         Define as alias of __statvfs, not statvfs.
2000         (statvfs64): Likewise.
2001         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2002         Remove variable.
2004 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2007         (HAVE_GETCPU_VSYSCALL): Define.
2008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2009         (HAVE_GETCPU_VSYSCALL): Likewise.
2010         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2011         * sysdeps/unix/sysv/linux/sched_getcpu.c
2012         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2013         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2014         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2015         prototype.
2016         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2017         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2019         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2020         Define.
2021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2022         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2024         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2026 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2028         * sysdeps/x86_64/fpu/Makefile: New file.
2029         * sysdeps/x86_64/fpu/Versions: New file.
2030         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2031         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2032         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2033         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2034         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2035         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2036         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2037         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2039         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2042         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2043         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2044         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2045         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2046         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2047         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2048         * sysdeps/x86_64/configure: Regenerated.
2049         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2051         * manual/install.texi (Configuring and compiling): Document
2052         --disable-mathvec.
2053         * INSTALL: Regenerated.
2054         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2056         * math/Makefile: Added rules for vector tests.
2057         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2058         declaration under condition.
2059         * math/test-double-vlen2.h: New file.
2060         * math/test-double-vlen4.h: New file.
2061         * math/test-double-vlen8.h: New file.
2062         * math/test-vec-loop.h: Added initialization macro.
2063         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2064         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2065         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2067         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2068         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2070         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2071         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2072         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2073         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2075         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2076         * sysdeps/x86_64/fpu/Versions: New versions added.
2077         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2080         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2081         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2082         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2084         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2087         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2088         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2089         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2091         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2092         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2093         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2094         * NEWS: Mention addition of x86_64 vector cosf.
2096         * math/Makefile: Added CFLAGS for new tests.
2097         * math/test-float-vlen16.h: New file.
2098         * math/test-float-vlen4.h: New file.
2099         * math/test-float-vlen8.h: New file.
2100         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2101         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2103         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2104         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2105         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2106         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2107         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2108         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2109         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2110         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2112 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2114         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2115         * locale/programs/ld-ctype.c: Likewise.
2117 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2119         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2120         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2121         bit_ZMM16_31_state): New macro.
2122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2123         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2125 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2127         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2129 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2131         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2133 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2135         [BZ #18498]
2136         * libio/memstream.c (open_memstream): Rename to __open_memstream
2137         and define as weak alias of __open_memstream.
2138         * include/stdio.h (__open_memstream): Declare.  Use
2139         libc_hidden_proto.
2140         (open_memstream): Don't use libc_hidden_proto.
2141         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2142         open_memstream.
2143         * posix/getopt.c (_getopt_internal_r): Likewise.
2144         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2145         variable.
2146         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2147         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2148         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2150         [BZ #18496]
2151         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2152         instead of wcrtomb.
2154         [BZ #18483]
2155         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2156         [__USE_XOPEN2K8].  Remove redundant #endif.
2157         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2158         Remove redundant #if.
2159         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2160         Remove variable.
2161         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2162         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2164         [BZ #18495]
2165         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2166         (__iswlower): Likewise.
2167         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2168         (__iswlower): Likewise.
2169         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2170         instead of towlower.
2171         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2172         instead of iswlower.  Call __towupper instead of towupper.
2173         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2174         instead of iswalnum.
2176 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2178         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2179         errors to stderr.
2181 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2183         [BZ #15661]
2184         [BZ #17322]
2185         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2186         Check for overflow properly.  Check for O_APPEND.  Ignore large
2187         file system block sizes.  Add comments about problems.
2188         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2189         * manual/filesys.texi (Storage Allocation): New node.
2191 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2193         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2194         cancellable syscalls.
2195         (SYS_ify): Add guard to no redefine it.
2196         (INLINE_SYSCALL): Likewise.
2197         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2198         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2199         SYSCALL_CANCEL instead.
2200         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2201         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2202         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2203         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2204         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2205         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2206         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2207         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2208         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2209         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2210         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2211         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2212         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2213         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2214         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2215         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2216         Likewise.
2217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2218         (__libc_pread64): Likewise.
2219         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2220         (__libc_preadv): Likewise.
2221         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2222         (__libc_readv64): Likewise.
2223         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2224         (__libc_pwrite): Likewise.
2225         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2226         (__libc_pwrite64): Likewise.
2227         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2228         (__libc_pwritev): Likewise.
2229         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2230         (__libc_pwritev64): Likewise.
2231         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2232         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2233         (sync_file_range): Likewise.
2234         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2235         Likewise.
2236         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2239         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2240         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2241         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2242         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2243         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2244         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2245         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2247         Likewise.
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2249         (__libc_read64): Likewise.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2251         Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2253         Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2257         Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2259         (__libc_pread64): Likewise.
2260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2261         Likewise.
2262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2263         (__libc_pwrite64): Likewise.
2264         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2265         (sync_file_range): Likewise.
2266         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2267         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2268         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2269         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2270         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2271         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2272         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2273         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2274         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2275         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2276         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2277         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2278         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2279         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2280         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2281         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2282         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2283         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2284         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2285         Likewise.
2286         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2289         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2290         Likewise.
2291         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2292         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2293         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2294         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2295         Likewise.
2296         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2297         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2298         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2299         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2300         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2302 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2304         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2305         Include dl-vdso.
2306         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2307         Use VDSO routines for gettimeofday, clock_gettime if
2308         available.
2309         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2310         Declare VDSO symbols.
2311         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2312         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2313         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2314         * sysdeps/unix/sysv/linux/arm/Versions: Add
2315         __vdso_clock_gettime.
2317 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2319         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2320         be an inline implementation regardless of library is built within.
2321         (open_not_cancel_2): Likewise.
2322         (__read_nocancel): Likewise.
2323         (__write_nocancel): Likewise.
2324         (openat_not_cancel): Likewise.
2325         (openat_not_cancel_3): Likewise.
2326         (openat64_not_cancel): Likewise.
2327         (openat64_not_cancel_3): Likewise.
2328         (__close_nocancel): Likewise.
2329         (pause_not_cancel): Likewise.
2330         (nanosleep_not_cancel): Likewise.
2331         (sigsuspend_not_cancel): Likewise.
2333 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2335         [BZ #14958]
2336         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2337         wake-up.
2338         (__pthread_rwlock_rdlock_slow): Likewise.
2339         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2340         Likewise.
2341         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2342         Likewise.
2343         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2344         * nptl/tst-rwlock16.c: New file.
2345         * nptl/Makefile (tests): Add new test.
2347 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2349         [BZ #18324]
2350         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2351         missing wake-up of readers.
2352         * nptl/tst-rwlock15.c: New file.
2353         * nptl/Makefile (tests): Add new test.
2355 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2357         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2358         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2359         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2360         and __nacl_supply_interface_rtld.
2361         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2362         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2363         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2364         Add __nacl_supply_interface_rtld.
2365         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2367 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2369         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2370         isfinite.
2371         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2372         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2374 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2376         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2377         __signbit* with standard C99 macros.
2378         * math/e_exp10l.c: Likewise.
2379         * math/e_exp2l.c: Likewise.
2380         * math/e_scalb.c: Likewise.
2381         * math/e_scalbf.c: Likewise.
2382         * math/e_scalbl.c: Likewise.
2383         * math/s_ldexp.c: Likewise.
2384         * math/s_ldexpf.c: Likewise.
2385         * math/s_ldexpl.c: Likewise.
2386         * math/w_atan2.c: Likewise.
2387         * math/w_atan2f.c: Likewise.
2388         * math/w_atan2l.c: Likewise.
2389         * math/w_cosh.c: Likewise.
2390         * math/w_coshf.c: Likewise.
2391         * math/w_coshl.c: Likewise.
2392         * math/w_exp10.c: Likewise.
2393         * math/w_exp10f.c: Likewise.
2394         * math/w_exp10l.c: Likewise.
2395         * math/w_exp2.c: Likewise.
2396         * math/w_exp2f.c: Likewise.
2397         * math/w_exp2l.c: Likewise.
2398         * math/w_fmod.c: Likewise.
2399         * math/w_fmodf.c: Likewise.
2400         * math/w_fmodl.c: Likewise.
2401         * math/w_hypot.c: Likewise.
2402         * math/w_hypotf.c: Likewise.
2403         * math/w_hypotl.c: Likewise.
2404         * math/w_jnl.c: Likewise.
2405         * math/w_lgamma.c: Likewise.
2406         * math/w_lgamma_r.c: Likewise.
2407         * math/w_lgammaf.c: Likewise.
2408         * math/w_lgammaf_r.c: Likewise.
2409         * math/w_lgammal.c: Likewise.
2410         * math/w_lgammal_r.c: Likewise.
2411         * math/w_pow.c: Likewise.
2412         * math/w_powf.c: Likewise.
2413         * math/w_powl.c: Likewise.
2414         * math/w_remainder.c: Likewise.
2415         * math/w_remainderf.c: Likewise.
2416         * math/w_remainderl.c: Likewise.
2417         * math/w_scalb.c: Likewise.
2418         * math/w_scalbf.c: Likewise.
2419         * math/w_scalbl.c: Likewise.
2420         * math/w_scalbln.c: Likewise.
2421         * math/w_scalblnf.c: Likewise.
2422         * math/w_scalblnl.c: Likewise.
2423         * math/w_sinh.c: Likewise.
2424         * math/w_sinhf.c: Likewise.
2425         * math/w_sinhl.c: Likewise.
2426         * math/w_tgamma.c: Likewise.
2427         * math/w_tgammaf.c: Likewise.
2428         * math/w_tgammal.c: Likewise.
2429         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2430         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2431         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2432         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2433         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2435         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2436         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2437         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2438         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2439         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2440         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2441         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2444         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2446         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2447         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2450         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2451         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2453         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2454         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2455         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2456         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2457         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2458         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2459         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2460         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2461         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2462         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2463         * stdio-common/printf_fp.c: Likewise.
2464         * stdio-common/printf_fphex.c: Likewise.
2465         * stdio-common/printf_size.c: Likewise.
2467 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2469         [BZ #18470]
2470         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2471         strnlen.
2472         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2473         Remove variable.
2474         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2475         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2476         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2477         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2478         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2479         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2480         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2481         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2482         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2483         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2485         [BZ #18468]
2486         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2487         weak alias of __wmemchr.  Use libc_hidden_weak.
2488         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2489         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2490         instead of wmemchr.
2492 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2494         [BZ #18383]
2495         * elf/tst-tlsalign-extern.c: New file.
2496         * elf/tst-tlsalign-extern-static.c: New file.
2497         * elf/tst-tlsalign-vars.c: New file.
2498         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2499         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2500         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2501         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2502         (test-xfail-tst-tlsalign-extern-static): New variable.
2504 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2506         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2507         Use variable name _sc_err instead of err.
2508         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2509         instead of ret.
2510         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2511         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2512         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2513         (INLINE_SYSCALL): Likewise.
2515         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2516         * include/string.h (__strnlen): Use libc_hidden_proto.
2517         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2518         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2519         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2520         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2521         (libc_hidden_def): Undefine and redefine.
2522         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2523         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2524         __GI_strnlen.
2525         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2526         libc_hidden_def.
2527         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2529         [BZ #18469]
2530         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2531         weak alias of __towlower.  Use libc_hidden_weak.
2532         (towupper): Rename to __towupper and define as weak alias of
2533         __towupper.  Use libc_hidden_weak.
2534         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2535         (__towupper): Likewise.
2536         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2537         __towlower instead of towlower.
2539 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2541         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2542         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2544 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2546         * sysdeps/aarch64/libm-test-ulps: Update.
2548 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2550         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2551         Define.
2552         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2554         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2555         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2556         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2557         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2558         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2560 2015-06-01  Martin Sebor  <msebor@redhat.com>
2562         [BZ #18116]
2563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2564         (__setcontext): Use extended four-operand version of mtsf whenever
2565         possible.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2567         (__novec_swapcontext): Likewise.
2569 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2571         * benchtests/scripts/compare_bench.py: New file.
2572         * benchtests/scripts/import_bench.py (mean): New function.
2573         (split_list): Likewise.
2574         (do_for_all_timings): Likewise.
2575         (compress_timings): Likewise.
2577         * benchtests/scripts/import_bench.py: New file.
2578         * benchtests/scripts/validate_benchout.py: Import import_bench
2579         instead of jsonschema.
2580         (validate_bench): Remove function.
2581         (main): Use import_bench.
2583 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2585         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2586         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2588 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2592 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2594         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2595         set THREAD_SELF->tid to a magic value and futex-wake it.
2596         Pass its address to the thread_exit system call.
2597         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2598         bit is clear.
2599         * sysdeps/nacl/lowlevellock.h: New file.
2600         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2602         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2603         Add TIMEOUT to current time, don't subtract it.
2605 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2607         [BZ #18422]
2608         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2609         ($(objpfx)tst-audit2.out): Also depend on
2610         $(objpfx)tst-auditmod9b.so.
2611         * elf/tst-audit2.c: Include <dlfcn.h>.
2612         (calloc_called): New.
2613         (calloc): Allow to be called more than once.
2614         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2616 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2618         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2619         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2621 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2623         * stdlib/monetary.h: Fix comment.
2625 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2628         Avoid using variables in #defines that might cause shadowing.
2629         (INTERNAL_VSYSCALL_CALL): Likewise.
2631 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2633         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2635         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2636         * nptl/lll_timedlock_wait.c: ... to this new file.
2637         * nptl/Makefile (libpthread-routines): Add it.
2638         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2639         * nptl/lll_timedwait_tid.c: ... to this new file.
2640         * nptl/Makefile (libpthread-routines): Add it.
2641         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2642         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2643         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2644         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2645         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2646         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2647         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2648         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2649         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2650         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2652 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2654         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2655         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2656         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2658         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2660         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2662         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2663         * sysdeps/unix/sysv/linux/tile/sysdep.h
2664         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2665         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2666         using vDSO syscall macro.
2668 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2670         [BZ #17293]
2671         * uk_UA: Fix sorting order for Ukrainian locale
2673 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2675         * stdlib/monetary.h: Fix comment.
2677 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2679         [BZ #18234]
2680         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2681         st_mtim and st_ctim members.
2682         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2683         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2684         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2685         (struct stat64): Likewise.
2686         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2687         (struct stat64): Likewise.
2688         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2689         (struct stat64): Likewise.
2691 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2693         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2694         Define and include sysdep-vdso.h.
2695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2696         Likewise.
2697         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2698         Likewise.
2699         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2700         Define with VDSO_SYMBOL and use PTR_MANGLE.
2701         (__vdso_clock_gettime): Likewise.
2702         (__vdso_clock_getres): Likewise.
2703         (_libc_vdso_platform_setup): Likewise.
2704         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2705         Likewise.
2706         (_libc_vdso_platform_setup): Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2708         Likewise.
2709         (__vdso_clock_gettime): Likewise.
2710         (__vdso_clock_getres): Likewise.
2711         (__vdso_get_tbfreq): Likewise.
2712         (__vdso_getcpu): Likewise.
2713         (__vdso_time): Likewise.
2714         (__vdso_sigtramp_rt64): Likewise.
2715         (__vdso_signtramp32): Likewise.
2716         (__vdso_sigtramp_rt32): Likewise.
2717         (_libc_vdso_platform_setup): Likewise.
2718         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2719         Likewise.
2720         (__vdso_clock_gettime): Likewise.
2721         (__vdso_clock_getres): Likewise.
2722         (_libc_vdso_platform_setup): Likewise.
2723         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2724         Likewise.
2725         (__vdso_clock_gettime): Likewise.
2726         (_libc_vdso_platform_setup): Likewise.
2727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2728         Likewise.
2729         (__vdso_getcpu): Likewise.
2730         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2731         Use VDSO_SYMBOL macro to define.
2732         (__vdso_clock_gettime): Likewise.
2733         (__vdso_clock_getres): Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2735         Likewise.
2736         (__vdso_clock_gettime): Likewise.
2737         (__vdso_clock_getres): Likewise.
2738         (__vdso_get_tbfreq): Likewise.
2739         (__vdso_getcpu): Likewise.
2740         (__vdso_time): Likewise.
2741         (__vdso_sigtramp_rt64): Likewise.
2742         (__vdso_signtramp32): Likewise.
2743         (__vdso_sigtramp_rt32): Likewise.
2744         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2745         Likewise.
2746         (__vdso_clock_gettime): Likewise.
2747         (__vdso_clock_getres): Likewise.
2748         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2749         Likewise.
2750         (__vdso_clock_gettime): Likewise.
2751         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2752         Likewise.
2753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2754         macro.
2755         (INTERNAL_VSYSCALL): Likewise.
2756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2757         Remove macro.
2758         (INTERNAL_VSYSCALL): Likewise.
2759         (INTERNAL_VSYSCALL_NCS): Likewise.
2760         (INTERNAL_VSYSCALL_CALL): New macro.
2761         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2763         Likewise.
2764         (INTERNAL_VSYSCALL): Likewise.
2765         (INTERNAL_VSYSCALL_NCS): Likewise.
2766         (INTERNAL_VSYSCALL_CALL): New macro.
2767         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2769         (INLINE_VSYSCALL): Remove macro.
2770         (INTERNAL_VSYSCALL): Remove macro.
2771         (INTERNAL_VSYSCALL_NCS): Remove macro.
2772         (INTERNAL_VSYSCALL_CALL): New macro.
2773         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2774         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2775         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2776         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2777         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2779         (INLINE_VSYSCALL): Remove macro.
2780         (INTERNAL_VSYSCALL): Likewise.
2781         (INTERNAL_VSYSCALL_NCS): Likewise.
2782         (INTERNAL_VSYSCALL_CALL): New macro.
2783         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2784         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2785         PTR_DEMANGLE on vDSO pointer.
2786         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2787         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2788         macro.
2789         (INTERNAL_SYSCALL): Likewise.
2790         (INTERNAL_VSYSCALL_NCS): Remove macro.
2791         (INTERNAL_VSYSCALL_CALL): New macro.
2792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2793         Remove macro.
2794         (INTERNAL_VSYSCALL): Likewise.
2795         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2796         sysdep-vdso.h instead of libc-vdso.h.
2797         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2798         definition.
2799         (INLINE_VSYSCALL): Likewise.
2800         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2801         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2802         definition.
2803         (INLINE_VSYSCALL): Likewise.
2804         (INTERNAL_VSYSCALL): Likewise.
2805         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2806         * sysdeps/unix/sysv/linux/timespec_get.c
2807         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2808         (timespec_get): Use ANSI prototype.
2809         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2810         and definition for Linux.
2812 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2814         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2815         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2817 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2819         [BZ #18410]
2820         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2821         for missing DT_PLTRELSZ.
2823 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2825         Remove obsolete aliases that broke 'locale -a'
2826         [BZ #18412]
2827         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2828         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2829         breaking some applications that use 'locale -a' output.
2830         Change the encoding of this file from Latin-1 to ASCII to avoid
2831         other potential problems with people grepping this file.
2833 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2835         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2836         -fasynchronous-unwind-tables.
2837         (CFLAGS-sendto.c): Likewise.
2838         (CFLAGS-sendmsg.c): Likewise.
2839         (CFLAGS-connect.c): Likewise.
2840         (CFLAGS-recvmsg.c): Likewise.
2841         (CFLAGS-recvfrom.c): Likewise.
2842         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2843         (SOCKETCALL): New macro: non-cancellable socketcall.
2844         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2845         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2846         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2847         * sysdeps/unix/sysv/linux/accept.c: New file.
2848         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2849         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2850         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2851         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2852         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2853         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2854         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2855         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2856         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2857         * sysdeps/unix/sysv/linux/send.c: Likewise.
2858         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2859         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2860         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2861         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2862         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2863         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2864         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2865         prototype.
2866         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2867         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2868         instead of __internal_xxx function.
2869         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2870         prototype.
2871         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2872         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2873         instead of __internal_xxx function.
2874         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2875         prototype.
2876         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2877         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2878         instead of __internal_xxx function.
2879         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2880         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2881         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2882         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2883         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2884         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2885         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2886         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2887         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2888         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2889         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2890         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2891         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2892         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2893         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2894         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2895         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2896         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2897         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2898         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2901         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2902         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2903         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2904         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2905         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2906         * sysdeps/unix/sysv/linux/send.S: Likewise.
2907         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2908         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2909         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2910         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2911         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2912         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2913         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2914         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2915         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2916         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2917         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2918         socketcall is implemented in GLIBC.
2920 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2922         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2923         (__fma): Ignore uninitialized warnings around packing.
2924         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2925         (__fmaf): Ignore uninitialized warnings around packing.
2926         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2927         (__fmal): Ignore uninitialized warnings around packing.
2929         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2930         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2931         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2932         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2934         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2935         switch statement into default case.
2936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2938         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2939         a conditional in forcing "inexact".
2940         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2941         Likewise.
2943 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2945         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2946         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2947         for each INTERNAL_SYSCALL use.
2949 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2951         [BZ #438]
2952         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2953         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2954         variable.
2956         [BZ #18444]
2957         * string/basename.c (basename): Rename to __basename and define as
2958         weak alias of __basename.  Use libc_hidden_weak.
2959         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2960         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2961         __basename instead of basename.
2962         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2963         Remove variable.
2964         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2966 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2968         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2969         (_IO_JUMPS_FILE_plus): New.
2970         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2971         _IO_CAST_FIELD_ACCESS.
2972         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2973         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2974         * libio/freopen.c (freopen): Likewise.
2975         * libio/freopen64.c (freopen64): Likewise.
2976         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2977         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2978         * libio/iofwide.c (_IO_fwide): Likewise.
2979         * libio/memstream.c (open_memstream): Likewise.
2980         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2981         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2982         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2984 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2986         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2987         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2988         NADJ.
2989         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2990         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2991         NADJ.
2992         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2993         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2994         NADJ.
2996         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2997         (p == 4) case.
2999         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3000         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3001         Remove variable.
3002         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3003         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3004         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3006 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3008         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3009         Adjust jump table label generation macros.
3011 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3013         * stdio-common/vfprintf.c (vfprintf): Move local variables
3014         args_malloced, specs, specs_malloced, and the code after
3015         do_positional to the printf_positional function.
3016         (printf_positional): New function.
3018 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3020         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3021         function.
3022         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3023         STEP4_TABLE, process_arg): Move macro definitions
3024         out of the vfprintf function.  (Cosmetic change only.)
3026 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3028         * benchtests/Makefile (stdio-common-bench): Define.
3029         (benchset): Add stdio-common-bench.
3030         * sprintf-inputs: New file.
3031         * sprintf-source.c: New file.
3033 2015-05-21  Andreas Schwab  <schwab@suse.de>
3035         [BZ #13028]
3036         [BZ #17053]
3037         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3038         of struct __res_state.
3039         * resolv/res_send.c (__libc_res_nsend): Likewise.
3040         (get_nsaddr): New function.
3041         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3042         statp directly.
3044 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3046         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3047         -D_POSIX_C_SOURCE=199506L.
3049         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3051         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3052         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3053         Do not mention otherwise.
3054         [POSIX] (_XOPEN_VERSION): Do not expect.
3055         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3056         [POSIX] (_POSIX2_C_BIND): Likewise.
3057         [POSIX] (_POSIX2_VERSION): Likewise.
3058         [POSIX] (_XOPEN_XPG2): Likewise.
3059         [POSIX] (_XOPEN_XPG3): Likewise.
3060         [POSIX] (_XOPEN_XPG4): Likewise.
3061         [POSIX] (_XOPEN_UNIX): Likewise.
3062         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3063         [POSIX] (_POSIX_BARRIERS): Likewise.
3064         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3065         [POSIX] (_POSIX_CPUTIME): Likewise.
3066         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3067         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3068         [POSIX] (_POSIX_SHELL): Likewise.
3069         [POSIX] (_POSIX_SPAWN): Likewise.
3070         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3071         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3072         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3073         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3074         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3075         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3076         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3077         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3078         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3079         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3080         [POSIX] (_POSIX2_PBS): Likewise.
3081         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3082         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3083         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3084         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3085         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3086         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3087         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3088         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3089         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3090         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3091         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3092         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3093         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3094         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3095         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3096         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3097         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3098         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3099         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3100         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3101         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3102         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3103         [POSIX] (_SC_2_C_BIND): Likewise.
3104         [POSIX] (_SC_2_C_VERSION): Likewise.
3105         [POSIX] (_SC_2_PBS): Likewise.
3106         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3107         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3108         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3109         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3110         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3111         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3112         [POSIX] (_SC_BARRIERS): Likewise.
3113         [POSIX] (_SC_BASE): Likewise.
3114         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3115         [POSIX] (_SC_DEVICE_IO): Likewise.
3116         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3117         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3118         [POSIX] (_SC_FD_MGMT): Likewise.
3119         [POSIX] (_SC_FIFO): Likewise.
3120         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3121         [POSIX] (_SC_FILE_LOCKING): Likewise.
3122         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3123         [POSIX] (_SC_IOV_MAX): Likewise.
3124         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3125         [POSIX] (_SC_NETWORKING): Likewise.
3126         [POSIX] (_SC_PAGE_SIZE): Likewise.
3127         [POSIX] (_SC_PASS_MAX): Likewise.
3128         [POSIX] (_SC_PIPE): Likewise.
3129         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3130         [POSIX] (_SC_REGEXP): Likewise.
3131         [POSIX] (_SC_SHELL): Likewise.
3132         [POSIX] (_SC_SIGNALS): Likewise.
3133         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3134         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3135         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3136         [POSIX] (_SC_USER_GROUPS): Likewise.
3137         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3138         [POSIX] (_SC_STREAMS): Likewise.
3139         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3140         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3141         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3142         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3143         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3144         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3145         [POSIX] (_PC_FILESIZEBITS): Likewise.
3146         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3147         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3148         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3149         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3150         [POSIX] (uid_t): Likewise.
3151         [POSIX] (gid_t): Likewise.
3152         [POSIX] (off_t): Likewise.
3153         [POSIX] (pid_t): Likewise.
3154         [POSIX] (cuserid): Allow.
3155         (_SC_2_CHAR_TERM): Require constant.
3156         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3157         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3158         variable.
3160 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3162         * sysdeps/nacl/pthread-pids.h: New file.
3163         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3164         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3166         * nptl/pthread-pids.h: New file.
3167         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3168         * nptl/nptl-init.c: Include <pthread-pids.h>.
3169         (__pthread_initialize_minimal_internal):
3170         Call __pthread_initialize_pids instead of set_tid_address syscall.
3172         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3173         * sysdeps/posix/usleep.c: ... here.
3175 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3177         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3178         call_pselect6 object.
3179         [$(subdir) = io]: Remove call_sync_file_range object.
3180         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3181         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3182         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3183         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3185 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3187         * math/s_cproj.c: Add include "math_private.h".
3188         * math/s_cprojf.c: Likewise.
3189         * math/s_cprojl.c: Likewise.
3191 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3193         [BZ #18244]
3194         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3195         high mantissa bit when testing whether P is a NaN.
3196         * math/libm-test.inc (remainder_test_data): Add more tests.
3197         (remquo_test_data): Likewise.
3199         [BZ #18049]
3200         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3201         below -32, return the argument, with underflow if subnormal.
3202         * math/auto-libm-test-in: Add more tests of atanh.
3203         * math/auto-libm-test-out: Regenerated.
3205 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3207         [BZ #18434]
3208         * nptl/tst-sem15.c: New file.
3209         * nptl/Makefile (tests): Add it.
3210         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3211         s/<</>>/ to fix typo in EOVERFLOW check.
3212         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3214 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3216         * manual/strings.texi (envz_remove): Fix typo in safety
3217         annotations.
3219 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3220             Steve Ellcey  <sellcey@imgtec.com>
3222         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3223         in order to avoid strict alias warnings.
3224         (iruserok_af): Ditto for ra.
3226 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3228         [BZ #17581]
3229         * malloc/hooks.c
3230         (magicbyte): Convert to a function and avoid returning 0x01.
3231         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3232         (mem2chunk_check): Fix unsigned comparisons to zero.
3233         Hoist defs of sz and magic.
3235 2015-05-19  Richard Henderson  <rth@redhat.com>
3237         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3239         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3241 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3243         [BZ #16159]
3244         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3245         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3246         (reused_arena): Find a non-corrupt arena.
3247         (heap_trim): Pass arena to unlink.
3248         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3249         malloc_printerr.
3250         (top_check): Likewise.
3251         (free_check): Likewise.
3252         (realloc_check): Likewise.
3253         * malloc/malloc.c (malloc_printerr): Add arena argument.
3254         (unlink): Likewise.
3255         (munmap_chunk): Adjust.
3256         (ARENA_CORRUPTION_BIT): New macro.
3257         (arena_is_corrupt): Likewise.
3258         (set_arena_corrupt): Likewise.
3259         (sysmalloc): Use mmap if there are no usable arenas.
3260         (_int_malloc): Likewise.
3261         (__libc_malloc): Don't fail if arena_get returns NULL.
3262         (_mid_memalign): Likewise.
3263         (__libc_calloc): Likewise.
3264         (__libc_realloc): Adjust for additional argument to
3265         malloc_printerr.
3266         (_int_free): Likewise.
3267         (malloc_consolidate): Likewise.
3268         (_int_realloc): Likewise.
3269         (_int_memalign): Don't touch corrupt arenas.
3270         * malloc/tst-malloc-backtrace.c: New test case.
3272         * Makefile (summarize-tests): Fix return value on success.
3274         * manual/string.texi (Envz Functions): Add envz_remove.
3276 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3278         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3279         (invalid_name): New function, broken out of ...
3280         (__opendirat): ... here.  Call it.
3281         (need_isdir_precheck): New function, broken out of ...
3282         (__opendirat): ... here.  Call it.
3283         Use __fxstatat64, not __xstatat64.
3284         (opendir_oflags): New function, broken out of ...
3285         (__opendirat): ... here.  Call it.
3286         (opendir_tail): New function, broken out of ...
3287         (__opendirat): ... here.  Call it.
3288         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3289         opendir_tail, rather than punting to __opendirat.
3290         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3292 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3294         * .gitignore: Ignore generated *.pyc.
3296 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3298         * include/stdio.h: Define __need_wint_t.
3299         * test-skeleton.c: Avoid `for' loop initial declaration.
3300         * nptl/tst-initializers1.c: Use test-skeleton.c.
3302 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3304         [BZ #18418]
3305         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3307 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3309         [BZ #16352]
3310         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3311         (__ieee754_atanh): Force underflow exception for results with
3312         small absolute value.
3313         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3314         (__ieee754_atanhf): Force underflow exception for results with
3315         small absolute value.
3316         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3317         (__ieee754_atanh): Force underflow exception for results with
3318         small absolute value.
3319         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3320         (__ieee754_atanhf): Force underflow exception for results with
3321         small absolute value.
3322         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3323         (__ieee754_atanhl): Force underflow exception for results with
3324         small absolute value.
3325         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3326         (__ieee754_atanhl): Force underflow exception for results with
3327         small absolute value.
3328         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3329         (__ieee754_atanhl): Force underflow exception for results with
3330         small absolute value.
3331         * math/auto-libm-test-in: Do not allow missing underflow
3332         exceptions from atanh.
3333         * math/auto-libm-test-out: Regenerated.
3335         [BZ #18221]
3336         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3337         2**-28 as threshold for returning x or +/- 1/x.
3338         * math/auto-libm-test-in: Add more tests of tan.
3339         * math/auto-libm-test-out: Regenerated.
3341         [BZ #18220]
3342         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3343         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3344         * math/auto-libm-test-in: Add another test of lgamma.
3345         * math/auto-libm-test-out: Regenerated.
3347 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3349         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3350         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3351         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3352         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3353         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3354         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3355         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3356         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3358         (log1): Use fabs.  (my_log2): Use fabs.
3359         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3360         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3361         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3362         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3364         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3365         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3366         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3367         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3368         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3369         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3371 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3373         [BZ #18217]
3374         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3375         as threshold for returning 1 - x.
3376         * math/auto-libm-test-in: Add more tests of erfc.
3377         * math/auto-libm-test-out: Regenerated.
3379 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3381         [BZ #18196]
3382         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3383         threshold for large arguments.
3384         * math/auto-libm-test-in: Add another test of atan.
3385         * math/auto-libm-test-out: Regenerated.
3387         [BZ #16339]
3388         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3389         (__log1p): Force underflow exception for results with small
3390         absolute value.
3391         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3392         (__log1pf): Force underflow exception for results with small
3393         absolute value.
3394         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3395         (__log1p): Force underflow exception for results with small
3396         absolute value.
3397         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3398         (__log1pf): Force underflow exception for results with small
3399         absolute value.
3400         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3401         (__log1pl): Force underflow exception for results with small
3402         absolute value.
3403         * math/auto-libm-test-in: Do not allow missing underflow
3404         exceptions from log1p.
3405         * math/auto-libm-test-out: Regenerated.
3407 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3408             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3410         [BZ #16704]
3411         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3413 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3415         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3416         (libmvec): New variable.
3417         * configure.ac: Added option for mathvec build.
3418         * configure: Regenerated.
3419         * mathvec/Depend: New file.
3420         * mathvec/Makefile: New file.
3421         * shlib-versions: Added libmvec.
3422         * math/Makefile: Added rule for libm.so installation.
3424         * bits/math-vector.h: New file.
3425         * bits/libm-simd-decl-stubs.h: New header.
3426         * math/Makefile (headers): Added new header
3427         libm-simd-decl-stubs.h.
3428         * math/math.h (__MATHCALL_VEC): New macro.
3430         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3431         for conditions in testing functions.
3432         * math/Makefile: Added call of libm-have-vector-test.sh.
3433         * math/libm-test.inc (HAVE_VECTOR): New macros.
3435         * math/libm-test.inc: START refactored.
3436         * math/test-double.c (TEST_MATHVEC): Add define.
3437         * math/test-float.c: Likewise.
3438         * math/test-idouble.c: Likewise.
3439         * math/test-ifloat.c: Likewise.
3440         * math/test-ildoubl.c: Likewise.
3441         * math/test-ldouble.c: Likewise.
3442         * sysdeps/generic/math-tests-arch.h
3443         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3444         architecture check.
3446         * math/test-double.c (FUNC_TEST): New macro.
3447         * math/test-float.c: Likewise.
3448         * math/test-idouble.c: Likewise.
3449         * math/test-ifloat.c: Likewise.
3450         * math/test-ildoubl.c: Likewise.
3451         * math/test-ldouble.c: Likewise.
3452         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3454 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3456         * sysdeps/nacl/fdopendir.c: New file.
3458         * dirent/scandir-tail.c: New file.
3459         * dirent/scandir64-tail.c: New file.
3460         * dirent/Makefile (routines): Add them.
3461         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3462         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3463         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3464         [!SCANDIR] (SCANDIR_TAIL): New macro.
3465         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3466         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3467         (SCANDIRAT): Macro removed.
3468         (SCANDIR_TAIL): New macro.
3469         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3470         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3471         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3472         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3473         (READDIR): Macro removed.
3474         (SCANDIR_TAIL): New macro.
3475         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3476         (SCANDIR_TAIL): New macro.
3478         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3479         * dirent/scandir-cancel.c: ... to this new file.
3480         * dirent/Makefile (routines): Add it.
3481         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3482         * sysdeps/unix/sysv/linux/i386/scandir64.c
3483         (SKIP_SCANDIR_CANCEL): Macro removed.
3484         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3486         * dirent/tst-scandir.c: New file.
3487         * dirent/tst-scandir64.c: New file.
3488         * dirent/Makefile (tests): Add them.
3490 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3492         [BZ #18409]
3493         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3495 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3497         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3498         list.
3500 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3502         * benchtests/bench-strcoll.c: New benchmark.
3503         * benchtests/Makefile: Generate locales and run benchmark.
3504         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3505         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3506         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3507         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3508         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3509         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3510         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3511         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3512         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3513         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3514         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3515         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3516         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3517         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3518         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3519         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3520         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3521         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3522         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3523         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3524         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3525         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3526         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3527         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3529 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3531         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3532         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3534 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3536         * posix/uname-values.h: New file.
3537         * posix/uname.c: Include that instead of <config-name.h>.
3538         * sysdeps/nacl/uname-values.h: New file.
3539         * sysdeps/arm/nacl/uname-values.h: New file.
3541 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3543         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3544         splitting into fields.
3546 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3548         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3549         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3550         * locale/localeinfo.h: Add enum collation_encoding_type.
3551         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3552         * programs/ld-collate.c (collate_output): Add encoding type info.
3553         * string/strcoll_l.c (STRDIFF): New function.
3554         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3555         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3557 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3559         [BZ #18397]
3560         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3561         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3562         <fpu_control.h> instead of <math/fpu_control.c>.
3563         * sysdeps/mips/mips32/fpu/Makefile: New file.
3565 2015-05-11  Andreas Schwab  <schwab@suse.de>
3567         [BZ #18007]
3568         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3569         nss_endgrent.
3570         (_nss_compat_endgrent): Call nss_endgrent.
3571         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3572         nss_endpwent.
3573         (_nss_compat_endpwent): Call nss_endpwent.
3574         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3575         needent, call nss_setspent only if non-zero.
3576         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3577         (internal_endspent): Don't call nss_endspent.
3578         (_nss_compat_endspent): Call nss_endspent.
3579         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3580         Remove.  All uses removed.
3581         (internal_setent): Remove parameter stayopen, add parameter
3582         stream.  Use it instead of global variable.
3583         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3584         (internal_endent, internal_getent): Add parameter stream.  Use it
3585         instead of global variable.
3586         (CONCAT(_nss_files_end,ENTNAME))
3587         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3588         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3589         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3590         uses removed.
3591         (internal_setent, internal_endent): Add parameter stream.  Use it
3592         instead of global variable.
3593         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3594         stream.
3595         (get_next_alias): Add parameter stream.
3596         (_nss_files_getaliasent_r): Pass global stream.
3597         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3598         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3599         (_nss_files_gethostbyname4_r): Pass local stream to
3600         internal_setent, internal_getent and internal_endent.  Remove
3601         locking.
3603 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3605         * tst-strfmon1.c (tests): Update expected currency symbol.
3607 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3609         * sysdeps/nacl/gethostname.c: New file.
3611 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3613         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3614         and sinh.
3615         * math/auto-libm-test-out: Regenerated.
3616         * sysdeps/i386/fpu/libm-test-ulps: Update.
3617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3619 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3621         [BZ #18125]
3622         * stdlib/tst-setcontext3.c: New file.
3623         * stdlib/tst-setcontext3.sh: New file.
3624         * stdlib/Makefile (tests): Add tst-setcontext3.
3625         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3626         to verify test program created output file.
3627         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3628         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3629         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3630         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3632 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3634         [BZ #18383]
3635         * elf/tst-tlsalign.c: New file.
3636         * elf/tst-tlsalign-static.c: New file.
3637         * elf/tst-tlsalign-lib.c: New file.
3638         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3639         (tests-static): Add tst-tlsalign-static.
3640         (modules-names): Add tst-tlsalign-lib.
3641         (test-xfail-tst-tlsalign): New variable.
3642         (test-xfail-tst-tlsalign-static): New variable.
3644         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3645         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3647 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3649         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3650         csqrt, erfc, sin and sincos.
3651         * math/auto-libm-test-out: Regenerated.
3652         * sysdeps/i386/fpu/libm-test-ulps: Update.
3653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3657         * sysdeps/aarch64/libm-test-ulps: Update.
3659 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3661         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3662         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3663         * math/auto-libm-test-out: Regenerated.
3664         * sysdeps/i386/fpu/libm-test-ulps: Update.
3665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3667 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3669         [BZ #18265]
3670         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3671         (wcsncpy): Likewise.
3673 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3675         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3676         Assume __ASSUME_FALLOCATE is always true.
3677         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3678         (__posix_fallocate64_l64): Likweise.
3679         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3680         (posix_fallocate): Likewise.
3681         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3682         (__posix_fallocate64_l64): Likewise.
3683         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3684         [!__ASSUME_FALLOCATE]: Add comment.
3686 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3688         * sysdeps/unix/sysv/linux/i386/Makefile
3689         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3690         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3691         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3692         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3693         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3694         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3695         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3697 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3699         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3700         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3701         tgamma.
3702         * math/auto-libm-test-out: Regenerated.
3703         * sysdeps/i386/fpu/libm-test-ulps: Update.
3704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3708         * math/auto-libm-test-in: Add more tests of tgamma.
3709         * math/auto-libm-test-out: Regenerated.
3710         * sysdeps/i386/fpu/libm-test-ulps: Update.
3711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713         * math/auto-libm-test-in: Add more tests of tanh.
3714         * math/auto-libm-test-out: Regenerated.
3715         * sysdeps/i386/fpu/libm-test-ulps: Update.
3716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718         * math/auto-libm-test-in: Add more tests of tan.
3719         * math/auto-libm-test-out: Regenerated.
3720         * sysdeps/i386/fpu/libm-test-ulps: Update.
3721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3723         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3724         * math/auto-libm-test-out: Regenerated.
3725         * sysdeps/i386/fpu/libm-test-ulps: Update.
3726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3728         * math/auto-libm-test-in: Add another test of pow.
3729         * math/auto-libm-test-out: Regenerated.
3730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3732         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
3738         log1p.
3739         * math/auto-libm-test-out: Regenerated.
3740         * sysdeps/i386/fpu/libm-test-ulps: Update.
3741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3745         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3746         Elf64_Chdr structs and ELFCOMPRESS constants.
3748 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3750         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3751         expm1.
3752         * math/auto-libm-test-out: Regenerated.
3753         * sysdeps/i386/fpu/libm-test-ulps: Update.
3754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3756         * math/auto-libm-test-in: Add more tests of erf and erfc.
3757         * math/auto-libm-test-out: Regenerated.
3758         * sysdeps/i386/fpu/libm-test-ulps: Update.
3759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3761 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3763         * config.h.in (HAVE_AARCH64_BE): Add.
3765 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3767         * math/auto-libm-test-in: Add more tests of csqrt.
3768         * math/auto-libm-test-out: Regenerated.
3769         * sysdeps/i386/fpu/libm-test-ulps: Update.
3770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3773         * math/auto-libm-test-out: Regenerated.
3774         * sysdeps/i386/fpu/libm-test-ulps: Update.
3775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3777         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3779 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3781         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3782         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3784         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3785         (euidaccess, eaccess): Define as weak aliases.
3787         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3788         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3789         but __suseconds_t is often 'long int' so some sources assume that
3790         type is being used (e.g. they use %ld to print tv_usec).
3792 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3794         [BZ #18007]
3795         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3796         (CVE-2014-8121)
3797         * nss/tst-nss-getpwent.c: New file.
3798         * nss/Makefile (tests): Add new test.
3800 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3802         [BZ #18346]
3803         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3804         exponents less than 48 as cases where high part of mantissa needs
3805         examining to determine whether argument is integral.
3806         * math/libm-test.inc (round_test_data): Add more tests.
3808 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3810         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3812 2015-04-27  David S. Miller  <davem@davemloft.net>
3814         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3815         __tls_get_addr.
3816         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3818 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3820         [BZ#18333]
3821         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3823 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3825         [BZ#18333]
3826         * time/tzset.c (parse_tzname): Return error on memory allocation
3827         failure.
3828         * test-skeleton.c (struct temp_name_list): Change type of name
3829         member to non-const.
3830         (add_temp_file): Create a copy of the file name.
3831         (delete_temp_files): Deallocate memory.
3832         (create_temp_file): Add comment.
3834 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3836         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3837         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3839 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3841         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3842         * sysdeps/arm/configure: Regenerated.
3844 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3846         [BZ #17715]
3847         * time/tzfile.c (__tzfile_read): Check for large values of
3848         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3849         * time/tzset.c (__tzstring_len): New function, based on the old
3850         __tzstring function.
3851         (__tzstring): Call __tzstring_len.
3852         (parse_tzname): New helper function extracted from
3853         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3854         the input string.
3855         (parse_offset): New helper function extracted from
3856         __tzset_parse_tz.  Replace switch with fallthrough with
3857         initialization before sscanf.
3858         (parse_rule): Likewise.
3859         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3860         new-style function definition.
3861         * timezone/Makefile (tests): Add tst-tzset.
3862         (tst-tzset.out): Dependencies on time zone files.
3863         (tst-tzset-ENV): Set TZDIR.
3864         (testdata/XT%): Copy crafted time zone files.
3865         * timezone/README: Mention crafted time zone files.
3866         * timezone/testdata/XT1, timezone/testdata/XT2,
3867         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3868         files.
3869         * timezone/tst-tzset.c: New test.
3871 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3873         * Makeconfig (+gccwarn): Remove -Winline.
3875 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3877         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3879 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3881         * NEWS: Mention sysconf() cache information support for s390.
3882         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3884 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3886         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3887         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3888         (__nearbyint): Likewise.
3889         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3890         (copysignl): Likewise.
3892 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3894         [BZ #18287]
3895         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3896         based on padding.  (CVE-2015-1781)
3898 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3900         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3901         libc-vdso.h.
3902         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3903         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3904         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3905         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3906         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3907         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3910         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3911         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3912         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3913         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3914         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3915         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3916         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3917         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3918         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3919         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3920         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3921         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3922         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3923         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3924         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3926 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3928         * stdlib/setenv.c (__add_to_environ):
3929         Dump core quickly if setenv (..., NULL, ...) is called.
3930         This time, do it the right way, and pacify GCC with a pragma.
3932 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3934         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3935         IMAP->l_prev cannot be null, and #if out the code for the contrary
3936         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3937         believe that NS (&_dl_ns[NSID]) could point outside the array.
3939         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3940         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3941         before using NSID as an index.
3943 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3945         [BZ #17825]
3946         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3947         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3948         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3950 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3952         Add preliminary port to Google Native Client on ARM.
3953         * abi-tags (.*-.*-nacl.*): New entry.
3954         * sysdeps/arm/nacl: New directory.
3955         * sysdeps/nacl: New directory.
3957 2015-04-16  David S. Miller  <davem@davemloft.net>
3959         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3960         lowlevellock-futex.h
3962 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3964         * sysdeps/tile/configure.ac: New file.
3965         * sysdeps/tile/configure: Regenerated.
3967 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3969         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3970         conditionals for weak_alias and libc_hidden_weak.
3971         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3972         libc_hidden_weak and weak_alias.
3973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3974         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3975         and weak_alias for static one.
3977 2015-04-15  David S. Miller  <davem@davemloft.net>
3979         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3981 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3983         [BZ #18206]
3984         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3985           Use signed comparision instead of substraction to avoid
3986           overflow bug.
3987         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3988           Take the sign of ret.
3989         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3990           Do not expect precise return values. Only the sign matters.
3991         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3992         * wcsmbs/test-wcsncmp.c: New File.
3993         * string/test-strncmp.c: Add wcsncmp support.
3995 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3997         [BZ #6792]
3998         * math/w_log1p.c: New file.
3999         * math/w_log1pf.c: Likewise.
4000         * math/w_log1pl.c: Likewise.
4001         * math/Makefile (libm-calls): Add w_log1p.
4002         * math/s_log1pl.c (log1pl): Remove weak_alias.
4003         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4004         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4005         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4006         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4007         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4008         [NO_LONG_DOUBLE] (log1pl): Likewise.
4009         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4010         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4011         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4012         (log1p): Remove long_double_symbol.
4013         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4014         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4015         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4016         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4017         remove weak_alias for corresponding log1p function.
4018         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4019         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4020         * sysdeps/ia64/fpu/w_log1p.c: New file.
4021         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4022         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4023         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4025 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4027         [BZ #18247]
4028         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4029         decimal exponent by 1.
4030         * stdlib/tst-strtod-round-data: Add more tests.
4031         * stdlib/tst-strtod-round.c (tests): Regenerated.
4033 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4035         * math/auto-libm-test-in: Add more tests of clog and clog10.
4036         * math/auto-libm-test-out: Regenerated.
4037         * sysdeps/i386/fpu/libm-test-ulps: Update.
4038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4042         * Makeconfig (module-cppflags): Exclude all .v.i files.
4043         (skip-module-cppflags): Variable removed.
4045         * configure.ac (libc_config_ok): Initialize before reading
4046         preconfigure scripts, not after.
4047         * configure: Regenerated.
4049         * test-skeleton.c (TIMEOUT): Move #define to top level.
4050         (main): Grok environment variable TEST_DIRECT.  If set, print
4051         test expectation details into that file and then behave as if
4052         given --direct.
4054 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4056         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4057         warning on 32-bit.
4059 2015-04-08  David S. Miller  <davem@davemloft.net>
4061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4065         * math/auto-libm-test-in: Add more tests of atanh.
4066         * math/auto-libm-test-out: Regenerated.
4067         * sysdeps/i386/fpu/libm-test-ulps: Update.
4068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070         * math/auto-libm-test-in: Add more tests of atan.
4071         * math/auto-libm-test-out: Regenerated.
4072         * sysdeps/i386/fpu/libm-test-ulps: Update.
4073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4077         * elf/pldd.c (main): Rewrite to use struct
4078         scratch_buffer instead of extend_alloca.
4079         * elf/pldd-xx.c (find_maps): Likewise.
4080         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4081         <alloca.h>.
4082         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4083         scratch_buffer instead of extend_alloca.
4084         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4085         grp/compat-initgroups.c.
4086         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4087         Rewrite to use struct scratch_buffer instead of extend_alloca.
4088         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4089         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4091 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4093         * math/auto-libm-test-in: Add more tests of cbrt.
4094         * math/auto-libm-test-out: Regenerated.
4095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4097         * math/auto-libm-test-in: Add more tests of cabs.
4098         * math/auto-libm-test-out: Regenerated.
4099         * sysdeps/i386/fpu/libm-test-ulps: Update.
4100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102         [BZ #18210]
4103         [BZ #18211]
4104         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4105         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4106         computations.
4107         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4108         clog10.
4109         * math/auto-libm-test-out: Regenerated.
4110         * sysdeps/i386/fpu/libm-test-ulps: Update.
4111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4113         [BZ #18197]
4114         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4115         (atan): Set FE_TONEAREST mode for internal computations.
4116         * math/auto-libm-test-in: Add more tests of atan.
4117         * math/auto-libm-test-out: Regenerated.
4119 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4121         [BZ #17930]
4122         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4124 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4126         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4128 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4130         * include/scratch_buffer.h: New file.
4131         * malloc/scratch_buffer_grow.c: Likewise.
4132         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4133         * malloc/scratch_buffer_set_array_size.c: Likewise.
4134         * malloc/tst-scratch_buffer.c: Likewise.
4135         * malloc/Makefile (routines): Add scratch_buffer_grow.
4136         (tests): Add test case.
4137         * malloc/Versions (GLIBC_PRIVATE): Export
4138         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4139         __libc_scratch_buffer_set_array_size.
4141 2015-04-06  Richard Henderson  <rth@redhat.com>
4143         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4144         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4146         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4147         unsigned int before printing.
4149 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4151         [BZ #17596]
4152         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4153         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4155 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4157         * include/libc-internal.h (libc_max_align_t): Define.
4159 2015-04-02  Andreas Schwab  <schwab@suse.de>
4161         [BZ #16850]
4162         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4164 2015-04-02  Mel Gorman  <mgorman@suse.de>
4166         [BZ #17195]
4167         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4168         as well as the main arena.
4170 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4172         [BZ #18185]
4173         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4174         sharing L2 cache to 2 for Silvermont/Knights Landing.
4176 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4178         [BZ #17711]
4179         * config.make.in (have-protected-data): New.
4180         * configure.ac: Check linker support for protected data symbol.
4181         * configure: Regenerated.
4182         * elf/Makefile (modules-names): Add tst-protected1moda and
4183         tst-protected1modb if $(have-protected-data) is yes.
4184         (tests): Add tst-protected1a and tst-protected1b if
4185         $(have-protected-data) is yes.
4186         ($(objpfx)tst-protected1a): New.
4187         ($(objpfx)tst-protected1b): Likewise.
4188         (tst-protected1modb.so-no-z-defs): Likewise.
4189         * elf/tst-protected1a.c: New file.
4190         * elf/tst-protected1b.c: Likewise.
4191         * elf/tst-protected1mod.h: Likewise.
4192         * elf/tst-protected1moda.c: Likewise.
4193         * elf/tst-protected1modb.c: Likewise.
4195 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4197         [BZ #17711]
4198         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4199         indicates it is called from do_lookup_x on relocation against
4200         protected data, skip the data definion in the executable from
4201         copy reloc.
4202         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4203         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4204         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4205         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4206         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4207         otherwise to 0.
4208         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4209         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4210         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4211         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4212         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4213         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4215 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4217         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4218         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4220 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4222         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4223         THREAD_SETMEM_NC.
4224         * sysdeps/x86_64/nptl/tls.h: Ditto.
4226 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4228         * dlfcn/tststatic.c (main): Converted to ...
4229         (do_test): ... this.
4230         (TEST_FUNCTION): New macro.
4231         Include test-skeleton.c.
4233 2015-03-26  Alan Modra  <amodra@gmail.com>
4235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4236         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4237         zero for undefined weak.
4238         (elf_machine_plt_conflict): Similarly.
4240 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4242         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4243         atanh.
4244         * math/auto-libm-test-out: Regenerated.
4245         * sysdeps/i386/fpu/libm-test-ulps: Update.
4246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4248         * math/auto-libm-test-in: Add another test of asin.
4249         * math/auto-libm-test-out: Regenerated.
4250         * sysdeps/i386/fpu/libm-test-ulps: Update.
4251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4254         Remove macro.
4255         (LLL_EBX_REG): Likewise.
4256         (LLL_ENTER_KERNEL): Likewise.
4258         * math/auto-libm-test-in: Add more tests of asin.
4259         * math/auto-libm-test-out: Regenerated.
4260         * sysdeps/i386/fpu/libm-test-ulps: Update.
4261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4263         [BZ #18138]
4264         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4265         libc_do_syscall_args): New structure.
4266         (INTERNAL_SYSCALL_MAIN_0): New macro.
4267         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4268         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4269         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4270         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4271         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4272         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4273         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4274         Replace conditional definitions by conditional definitions of ....
4275         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4276         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4277         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4278         (libpthread-sysdep_routines): Add libc-do-syscall.
4279         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4280         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4281         to __NR_futex not 240.
4283 2015-03-25  Alan Modra  <amodra@gmail.com>
4285         * NEWS: Advertise TLS optimization.
4286         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4287         (DT_PPC_NUM): Increment.
4288         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4289         (CHECK_STATIC_TLS): Use here.
4290         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4291         TLS descriptors.
4292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4293         * sysdeps/powerpc/dl-tls.c: New file.
4294         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4295         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4296         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4297         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4302 2015-03-25  Alan Modra  <amodra@gmail.com>
4304         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4305         for overlapping .opd entries" to "support...".
4306         * sysdeps/powerpc/powerpc64/configure: Regenerate
4308 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4310         * math/auto-libm-test-in: Add more tests of acos.
4311         * math/auto-libm-test-out: Regenerated.
4312         * sysdeps/i386/fpu/libm-test-ulps: Update.
4313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4315         * math/auto-libm-test-in: Add more tests of expm1.
4316         * math/auto-libm-test-out: Regenerated.
4317         * sysdeps/i386/fpu/libm-test-ulps: Update.
4318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4320 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4322         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4323         * math/auto-libm-test-out: Regenerated.
4324         * sysdeps/i386/fpu/libm-test-ulps: Update.
4325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4327         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4330         * math/auto-libm-test-in: Add more tests of log2.
4331         * math/auto-libm-test-out: Regenerated.
4332         * sysdeps/i386/fpu/libm-test-ulps: Update.
4333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4335 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4337         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4338         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4339         _IO_IS_APPENDING bit in READ_WRITE instead.
4341 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4343         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4344         (__determine_cpumask_size): Replace extend_alloca with a
4345         variable-length array.  Do not treat res == 0 as an error.
4347 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4349         [BZ #18100]
4350         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4351         and integer overflow.
4352         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4353         (main): Add integer overflow tests.
4354         * manual/pattern.texi (Calling Wordexp): Document additional use
4355         for WRDE_SYNTAX.
4357 2015-03-23  Alan Modra  <amodra@gmail.com>
4359         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4360         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4361         and false branch of conditional.
4362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4363         Likewise.
4365 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4367         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4368         libc-modules.h
4369         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4370         unused declaration of _hurd_intr_rpc_msg_in_trap.
4371         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4372         defined instead of whether it is non-zero.
4373         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4374         input constraint instead of both input and output constraint.  Use ecx
4375         clobber instead of %ecx.
4376         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4377         mutex_unlock): Use a statement expression instead of an expression list.
4378         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4379         type to vm_size_t instead of vm_address_t.
4380         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4381         defined instead of whether it is non-zero.
4382         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4383         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4384         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4385         comparisons with mapaddr.
4386         * nscd/nscd-client.h: Include <time.h>.
4387         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4388         9th parameter to __vm_region instead of int.
4389         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4390         * scripts/check-local-headers.sh (exclude): Add device/,
4391         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4392         cthreads.h.
4394 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4396         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4397         to account for alignment padding.
4398         * sysdeps/arm/memmove.S: Likewise.
4400 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4402         * sysdeps/unix/sysv/linux/generic/README: New file.
4404 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4406         [BZ #18138]
4407         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4408         (futex_abstimed_wait)
4409         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4410         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4411         of lll_futex_timed_wait.
4413 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4415         [BZ #17542]
4416         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4418 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4420         [BZ #17090]
4421         [BZ #17620]
4422         [BZ #17621]
4423         [BZ #17628]
4424         * NEWS: Update.
4425         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4426         entries with Static TLS too.  Skip entries past the end of the
4427         allocated DTV, from Alan Modra.
4428         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4429         Static TLS DTV entry set up from...
4430         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4431         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4432         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4433         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4434         for Static TLS.
4435         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4436         that the slot we find is associated with the given map before
4437         using its generation count.
4438         * nptl_db/db_info.c: Include ldsodefs.h.
4439         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4440         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4441         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4442         (link_map::l_tls_offset): New struct field.
4443         (dtv_t::counter): Likewise.
4444         (rtld_global): New struct.
4445         (_rtld_global): New rtld variable.
4446         (dl_tls_dtv_slotinfo_list): New rtld global field.
4447         (dtv_slotinfo_list): New struct.
4448         (dtv_slotinfo): Likewise.
4449         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4450         (td_lookup): Rename to...
4451         (td_mod_lookup): ... this.  Use new mod parameter instead of
4452         LIBPTHREAD_SO.
4453         * nptl_db/td_thr_tlsbase.c: Include link.h.
4454         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4455         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4456         addresses even if the DTV is out of date or missing them.
4457         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4458         index zero-length arrays.
4459         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4460         (td_lookup): Make it a macro implemented in terms of...
4461         (td_mod_lookup): ... this declaration.
4462         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4463         (DB_MAIN_VARIABLE): Likewise.
4465 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4467         [BZ #18134]
4468         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4470 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4472         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4474 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4476         [BZ #18128]
4477         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4478         (atomic_add, atomic_increment_and_test)
4479         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4481 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4483         * stdlib/setenv.c (__add_to_environ):
4484         Dump core quickly if setenv (..., NULL, ...) is called.
4486 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4488         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4489         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4490         all the necessary asm magic in one place.
4491         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4492         using those.
4494 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4496         [BZ #14906]
4497         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4498         traced file mtime. Use consistent log message.
4499         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4500         (register_traced_file): Call install_watches. Always set mtime.
4501         (invalidate_cache): Iterate over all trace files. Call install_watches.
4502         (inotify_check_files): Don't inline. Handle watching parent
4503         directories and configuration file movement in and out.
4504         (handle_inotify_events): New function.
4505         (main_loop_poll): Call handle_inotify_events.
4506         (main_loop_epoll): Likewise.
4507         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4508         (struct traced_file): Use array of inotify fds. Add parent directory,
4509         and basename.
4510         (struct database_dyn): Remove unused file_mtime.
4511         (init_traced_file): New inline function.
4512         (define_traced_file): New macro.
4513         * nss/nss_db/db-init.c: Use define_traced_file.
4514         (_nss_db_init): Use init_traced_file.
4515         * nss/nss_files/files-init.c: Use define_traced_file.
4516         (_nss_files_init): Use init_traced_file.
4518 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4520         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4521         [_LIBC]: Do not include <stdlib.h>.
4522         [!_LIBC] (abort): Remove declaration.
4523         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4524         _FP_STATIC_ASSERT instead of conditionally calling abort.
4525         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4526         (_FP_EXTEND_CNAN): Likewise.
4527         (FP_TRUNC): Likewise.
4528         (__FP_CLZ): Likewise.
4529         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4531 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4533         * manual/string.texi (XPG basename): Fix prototype.
4535 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4537         [BZ #18080]
4538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4539         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4540         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4541         (__setcontext): Likewise.
4542         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4543         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4544         Call rt_sigprocmask syscall one time to set new signal mask
4545         and retrieve the current signal mask instead of two calls.
4546         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4547         (__swapcontext): Likewise.
4548         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4549         * stdlib/tst-setcontext2.c: New file.
4551 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4553         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4555 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4557         [BZ #18093]
4558         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4559         the wrong size.
4561 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4563         [BZ #18043]
4564         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4566 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4568         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4569         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4570         Remove define.
4571         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4572         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4573         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4574         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4575         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4576         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4577         define.
4578         * nptl_db/td_symbol_list.c (td_lookup): Remove
4579         HAVE_ASM_GLOBAL_DOT_NAME code.
4580         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4581         HAVE_ASM_GLOBAL_DOT_NAME check.
4582         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4583         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4584         (DOT_LABEL): Remove define.
4585         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4586         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4587         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4588         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4589         (__TLS_GET_ADDR): Likewise.
4590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4591         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4593 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4595         [BZ #18111]
4596         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4597         (_FPU_SETCW): Initialize cw from fpsr before storing.
4598         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4599         (fesetexceptflag): Rewrite using fpu_control.h.
4600         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4602 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4604         [BZ #18110]
4605         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4606         asms.
4607         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4609 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4611         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4612         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4613         abort.
4614         (_FP_FMA): Likewise.
4615         (_FP_DIV): Likewise.
4617 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4619         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4620         with 0 in that case.
4621         * Makefile (summarize-tests): New canned sequence, factored out of
4622         commands for targets tests and xtests.  Display summary lines that
4623         don't start with PASS: or XFAIL: rather than ones that do start with
4624         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4625         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4626         do start with ERROR: or FAIL:.
4627         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4628         (except for [$(build-shared) = yes]).
4629         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4630         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4631         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4632         * nptl/Makefile: Revert 2015-03-04 changes.
4633         [$(CXX) empty] (tests-unsupported): New variable.
4634         * debug/Makefile: Likewise.
4636         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4637         gnulib file.  Replace __attribute with __attribute__ throughout.
4639 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4641         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4643 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4645         [BZ #18104]
4646         * math/auto-libm-test-in: Add another test of pow.
4647         * math/auto-libm-test-out: Regenerated.
4649 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4651         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4652         $(config-cflags-nofma).
4654 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4656         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4657         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4658         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4659         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4660         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4661         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4662         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4663         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4664         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4665         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4666         Add comment on closing #endif.
4668 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4670         * posix/wordexp.c (CHAR_IN_SET): New macro.
4671         (parse_param): Use it.
4673 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4675         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4677 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4679         [BZ #18043]
4680         * posix/wordexp.c (parse_param): Fix buffer overflow.
4681         * posix/wordexp-test.c (test_case): Add test case.
4683 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4685         [BZ #18042]
4686         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4687         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4689 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4691         [BZ #18043]
4692         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4693         (do_bz18043): Delete.
4694         (at_page_end): New.
4695         (testit): Refactor to have words at the edge of unreadable page.
4697 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4699         [BZ #16734]
4700         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4701         Cleanup read-only streams as well.
4702         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4704 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4706         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4707         <bits/libc-lockP.h>
4709 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4711         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4712         on [__KERNEL__].
4713         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4714         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4715         * soft-fp/op-common.h (_FP_DECL): Likewise.
4717 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4719         * elf/ifuncdep2.c (global): Replace
4720         __attribute__((visibility("protected"))) with
4721         asm (".protected global").
4722         * elf/ifuncmod1.c (global): Likewise.
4723         * elf/ifuncmod5.c (global): Likewise.
4725 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4727         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4728         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4730 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4732         * manual/install.texi (Configuring and compiling):
4733         Document test-wrapper-env-only.
4734         * INSTALL: Regenerated.
4736 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4738         [BZ #18043]
4739         * posix/wordexp.c (parse_param): Fix buffer overflow.
4740         * posix/wordexp-test.c (do_bz18043): Add test case.
4742 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4744         * time/tst-strptime2.c (do_test): Ensure failing tests are
4745         reported correctly.
4746         * time/tst-strptime3.c (do_test): Likewise.
4748 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4750         Fix aio_error thread-safety.
4751         * sysdeps/pthread/aio_error.c: New file
4752         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4753         synchronization.
4755 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4757         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4758         (group_number, vfprintf): Use it.
4759         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4760         (JUMP, REF): Use it.
4761         (WORK_BUFFER_SIZE): New enum constant.
4762         (process_arg, vfprintf): Use it.
4764 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4766         * manual/errno.texi (Error Messages): Complete example function
4767         by adding missing #define.
4768         (program_invocation_name): Add statement indicating GNU
4769         extension and reference which header file declares the variable.
4770         (program_invocation_short_name): Likewise.
4772 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4774         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4775         compatibility note.
4777 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4779         * Makeconfig (test-wrapper-env-only): New variable.
4780         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4781         then use that with $(test-wrapper-env-only) rather than using
4782         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4784 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4786         [BZ #18082]
4787         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4788         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4789         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4790         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4791         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4792         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4793         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4794         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4795         Likewise.
4796         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4797         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4798         Likewise.
4799         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4800         Likewise.
4801         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4802         Likewise.
4803         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4804         Likewise.
4805         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4806         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4807         Likewise.
4808         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4809         Likewise.
4810         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4811         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4813 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4815         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4816         (ETH_ALEN): New macro.
4817         (struct ether_addr): Use it for length of ether_addr_octet.
4819         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4820         (setdb): Don't call __nss_configure_lookup for "rpc".
4821         (do_test): Don't call test_rpc.
4822         (output_rpcent, test_rpc): Functions moved ...
4823         * sunrpc/test-rpcent.c: ... to this new file.
4824         * sunrpc/Makefile (tests): Add it.
4826         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4827         __xpg_sigpause.
4828         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4829         * nptl/tst-signal6.c: Likewise.
4830         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4831         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4833         * configure.ac (libc_cv_cxx_link_ok): New check.
4834         Reset CXX to empty if it fails to link.
4835         * configure: Regenerated.
4836         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4837         bug-atexit3-lib only if $(CXX) is nonempty.
4838         * nptl/Makefile (tests): Likewise for tst-cancel24.
4839         (tests, tests-static): Likewise for tst-cancel24-static.
4840         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4841         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4842         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4843         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4845 2015-03-04  Andreas Schwab  <schwab@suse.de>
4847         [BZ #17631]
4848         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4849         for non-GCC compilers.
4850         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4851         Likewise.
4853 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4855         [BZ #17776]
4856         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4857         integer before bitwise and assembly operations.
4858         (feclearexcept): Likewise.
4859         * math/test-fenvinline.c: New file.
4860         * math/Makefile: Add test-fenvinline test.
4862 2015-03-03  Alan Modra  <amodra@gmail.com>
4864         [BZ #16512]
4865         * scripts/localplt.awk: Strip off symbol version.
4866         * NEWS: Mention bug fix.
4868 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4870         * sysdeps/pthread/timer_routines.c
4871         (timer_free_list, thread_free_list, thread_active_list): Make static.
4873 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4875         [BZ #17779]
4876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4877         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4878         Undefine.
4879         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4880         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4883         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4884         Likewise.
4886 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4888         [BZ #18036]
4889         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4890         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4892 2015-03-02  Andreas Schwab  <schwab@suse.de>
4894         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4895         variable name.
4897 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4899         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4900         Return error status.
4902 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4904         [BZ #15969]
4905         * locale/findlocale.c (_nl_find_locale): Introduce const
4906         version of loc_name and drop unsafe type casts.
4908 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4910         * dlfcn/tststatic2.c (main): Converted to ...
4911         (do_test): ... this.
4912         (TEST_FUNCTION): New macro.
4913         Include test-skeleton.c.
4915 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4917         [BZ #17711]
4918         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4919         (tests-pie): Add vismain.
4920         (CFLAGS-vismain.c): New.
4921         * elf/vismain.c: Add comments for PIE requirement.
4923 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4925         [BZ #18046]
4926         [BZ #18047]
4927         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4928         0x1p-56L as threshold for just returning the argument.
4929         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4930         0x1p-32L as threshold for just returning the argument.
4931         * math/auto-libm-test-in: Add more tests of atanh.
4932         * math/auto-libm-test-out: Regenerated.
4933         * sysdeps/i386/fpu/libm-test-ulps: Update.
4934         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4936 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4938         * string/bcopy.c (bcopy): Call memmove for performance.
4940 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4942         * string/bzero.c (__bzero): Call memset for performance.
4944 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4946         [BZ #18068]
4947         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4948         to 00100000.
4950 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4952         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4954 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4956         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4957         (__kernel_standard): Use CSTR macro when setting exc.name.
4958         * sysdeps/ieee754/Makefile [$(subdir) = math]
4959         (CFLAGS-k_standard.c): Remove variable.
4961         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4962         setting p and q from "else if" to "else".
4963         (qzero): Likewise.
4964         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4965         (qone): Likewise.
4966         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4967         (qzerof): Likewise.
4968         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4969         (qonef): Likewise.
4970         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4971         (qzero): Likewise.
4972         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4973         (qone): Likewise.
4975         [BZ #18038]
4976         [BZ #18039]
4977         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4978         return pi/2 for arguments below 0x1p-113L.
4979         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4980         return pi/2 for arguments below 0x1p-106L.
4981         * math/auto-libm-test-in: Add more tests of acos.
4982         * math/auto-libm-test-out: Regenerated.
4984         [BZ #16351]
4985         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4986         (MO): New macro.
4987         (__ieee754_asin): Force underflow exception for results with small
4988         absolute value.
4989         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4990         (MO): New macro.
4991         (__ieee754_asinf): Force underflow exception for results with
4992         small absolute value.
4993         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4994         (__ieee754_asin): Force underflow exception for results with small
4995         absolute value.
4996         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4997         (__ieee754_asinf): Force underflow exception for results with
4998         small absolute value.
4999         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5000         (__ieee754_asinl): Force underflow exception for results with
5001         small absolute value.
5002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5003         (__ieee754_asinl): Force underflow exception for results with
5004         small absolute value.
5005         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5006         (__ieee754_asinl): Force underflow exception for results with
5007         small absolute value.
5008         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5009         Include <math.h>.
5010         * math/auto-libm-test-in: Do not mark underflow exceptions as
5011         possibly missing for bug 16351.
5012         * math/auto-libm-test-out: Regenerated.
5014         [BZ #18030]
5015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5016         of power of 2 down when low part has opposite sign.
5017         * math/libm-test.inc (logb_test_data): Add more tests.
5019 2015-02-26  Andreas Schwab  <schwab@suse.de>
5021         [BZ #18032]
5022         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5023         over collating symbol inside a bracket expression.  Minor cleanup.
5024         * posix/tst-fnmatch3.c (do_test): Add test case.
5026 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5028         [BZ #18029]
5029         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5030         Adjust exponent of power of 2 down when low part has opposite
5031         sign.
5032         * math/libm-test.inc (ilogb_test_data): Add more tests.
5034 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5036         [BZ #15969]
5037         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5038         the previous change.
5040         [BZ #15969]
5041         * locale/findlocale.c (_nl_find_locale): Retry archive search
5042         after alias expansion.
5044 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5046         * iconv/tst-iconv3.c (main): Converted to ...
5047         (do_test): ... this.
5048         (TEST_FUNCTION): New macro.
5049         Include test-skeleton.c.
5051         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5052         (convert): Make function static.
5053         (test_unalign): Likewise.  Add const to argument pointee types.
5054         (main): Replace with static function do_test.
5055         Print "Succeeded." only if RET is zero.
5056         (TEST_FUNCTION): New macro.
5057         Include test-skeleton.c.
5059         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5060         returns a null pointer.
5062 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5064         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5065         to __memcpy_ppc only for static builds.
5067 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5069         [BZ #18020]
5070         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5071         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5072         * math/auto-libm-test-in: Add more tests of asinh.
5073         * math/auto-libm-test-out: Regenerated.
5074         * sysdeps/i386/fpu/libm-test-ulps: Update.
5075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5079         [BZ #15850]
5080         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5081         and ip6_mtuinfo definitions here.
5082         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5083         in this define too.  Update comment.
5085 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5087         * elf/sprof.c (load_shobj): Tweak error message to match others.
5089 2015-02-24  Kevin Easton  <kevin@guarana.org>
5091         [BZ #16145] (partial fix)
5092         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5093         to reduce lock contention.
5095 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5097         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5098         (struct timex): Update time comment.
5099         (ADJ_SETOFFSET): Define.
5101 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5103         [BZ #18019]
5104         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5105         2**56 not 2**28 as threshold for log (2x) formula.
5106         * math/auto-libm-test-in: Add more tests of acosh.
5107         * math/auto-libm-test-out: Regenerated.
5108         * sysdeps/i386/fpu/libm-test-ulps: Update.
5109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5111 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5113         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5114         parenthesis around the buf assignment.
5115         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5117 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5119         [BZ #16783]
5120         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5121         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5122         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5123         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5124         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5125         * math/libm-test.inc (scalb_test_data): Add more tests.
5127 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5129         [BZ #17916]
5130         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5131         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5133 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5135         [BZ #17523]
5136         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5137         * io/bits/fcntl2.h (open): Use it.
5138         (openat): Likewise.
5139         * io/open.c (__libc_open): Likewise.
5140         * io/open64.c (__libc_open64): Likewise.
5141         * io/open64_2.c (__open64_2): Likewise.
5142         * io/open_2.c (__open_2): Likewise.
5143         * io/openat.c (__openat): Likewise.
5144         * io/openat64.c (__openat64): Likewise.
5145         * io/openat64_2.c (__openat64_2): Likewise.
5146         * io/openat_2.c (__openat_2): Likewise.
5147         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5148         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5149         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5150         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5151         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5152         (__open_nocancel): Likewise.
5153         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5154         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5155         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5157 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5159         [BZ #14841]
5160         * resolv/gethnamaddr.c (getanswer): Skip logging if
5161         RES_USE_DNSSEC is set.
5162         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5164 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5166         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5168 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5170         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5171         201304L, for Unicode 7.
5173 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5175         [BZ #17836]
5176         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5177         shared library.  Add gmon-start.os otherwise.
5178         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5179         $(objpfx)gmon-start.os if builing shared library.
5180         ($(objpfx)g$(static-start-installed-name)): Likewise.
5182 2015-02-23  Andreas Schwab  <schwab@suse.de>
5184         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5186 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5188         [BZ #17269]
5189         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5190         (enlarge_userbuf): Likewise.
5192 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5194         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5195         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5196         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5197         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5199 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5201         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5202         expression inside statement expression.
5204 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5206         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5207         <sysdeps/nptl/lowlevellock.h> and remove macros and
5208         functions that are now defined there.
5209         (SYS_futex): Remove.
5210         (lll_compare_and_swap): Remove.
5211         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5213 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5215         [BZ #17999]
5216         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5217         instead of scandirat.
5218         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5219         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5220         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5221         __scandirat.
5222         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5223         (__scandirat): Declare.  Use libc_hidden_proto.
5224         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5225         Remove variable.
5226         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5228 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5230         [BZ #15319]
5231         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5232         (MO): New macro.
5233         (__ieee754_atan2): For results with small absolute value, force
5234         underflow exception and remove excess range and precision from
5235         return value.
5236         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5237         (MO): New macro.
5238         (__ieee754_atan2f): For results with small absolute value, force
5239         underflow exception and remove excess range and precision from
5240         return value.
5241         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5242         (MO): New macro.
5243         (__atan): For results with small absolute value, force underflow
5244         exception and remove excess range and precision from return value.
5245         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5246         (MO): New macro.
5247         (__atanf): For results with small absolute value, force underflow
5248         exception and remove excess range and precision from return value.
5249         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5250         <math.h>.
5251         (__ieee754_atan2): Force underflow exception for results with
5252         small absolute value.
5253         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5254         <math_private.h>.
5255         (atan): Force underflow exception for results with small absolute
5256         value.
5257         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5258         (__atanf): Force underflow exception for results with small
5259         absolute value.
5260         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5261         <math.h>.
5262         (__atanl): Force underflow exception for results with small
5263         absolute value.
5264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5265         (__atanl): Force underflow exception for results with small
5266         absolute value.
5267         * sysdeps/x86/fpu/bits/mathinline.h
5268         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5269         (__ieee754_atan2): Only define inline for long double.
5270         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5271         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5272         * math/auto-libm-test-in: Do not mark underflow exceptions as
5273         possibly missing for bug 15319.  Add more tests of atan2.
5274         * math/auto-libm-test-out: Regenerated.
5275         * math/libm-test.inc (casin_test_data): Do not mark underflow
5276         exceptions as possibly missing for bug 15319.
5277         (casinh_test_data): Likewise.
5278         * sysdeps/i386/fpu/libm-test-ulps: Update.
5280 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5282         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5283         * sysdeps/mips/bits/endian.h: Fix comments.
5285 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5287         [BZ #17996]
5288         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5289         (hdestroy_r): Likewise.
5290         (hsearch_r): Likewise.
5291         (__hcreate_r): Declare and use libc_hidden_proto.
5292         (__hdestroy_r): Likewise.
5293         (__hsearch_r): Likewise.
5294         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5295         (hcreate): Call __hcreate_r instead of hcreate_r.
5296         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5297         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5298         as weak alias of __hcreate_r.
5299         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5300         __hdestroy_r.
5301         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5302         __hsearch_r.
5303         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5304         Remove variable.
5305         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5306         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5307         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5308         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5310 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5312         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5313         arena_lock into a single arena_get.
5315 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5317         * dl-reloc.c: Inlucde libc-internal.h.
5318         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5319         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5320         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5321         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5322         (grow_heap): Likewise.
5323         * malloc/malloc.c: Include libc-internal.h.
5324         (do_check_malloc): Call powerof2.
5325         (sysmalloc): Use pagesize. Call ALIGN_UP.
5326         (systrim): Use pagesize.
5327         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5328         (__libc_valloc): Use pagesize.
5329         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5331 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5333         [BZ #17991]
5334         * include/sys/resource.h (__getrlimit64): Declare.  Use
5335         libc_hidden_proto.
5336         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5337         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5338         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5339         getrlimit64.
5340         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5341         __getrlimit64.
5342         [!getrlimit64] (getrlimit64): Define as weak alias of
5343         __getrlimit64.  Use libc_hidden_weak.
5344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5345         using __getrlimit64 not __new_getrlimit64.
5346         (__GI_getrlimit64): Likewise.
5347         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5348         Likewise.
5349         (__GI_getrlimit64): Likewise.
5350         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5352         (getrlimit): Add __getrlimit64 alias.
5353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5354         Likewise.
5355         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5356         Remove variable.
5357         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5358         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5360 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5362         * libio/fileops.c: Add missing sys/mman.h
5363         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5365 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5367         * manual/math.texi (Errors in Math Functions): Clarify goals
5368         regarding inexact and underflow exceptions.
5370 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5372         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5373         * sysdeps/mips/memset.S: Ditto.
5375 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5377         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5379 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5381         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5382         (__v1longjmp): Remove versioned symbol.
5383         (__v1siglongjmp): Remove alias and versioned symbol.
5384         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5385         (__v2siglongjmp): Likewise.
5387 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5389         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5391 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5393         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5395 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5397         [BZ #17987]
5398         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5399         zero result does not depend on the sign resulting from
5400         subtraction.
5401         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5402         Likewise.
5403         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5404         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5405         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5406         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5407         * math/libm-test.inc (remquo_test_data): Add more tests.
5409 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5411         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5412         Problem reported by J William Piggott.
5414 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5416         [BZ #17978]
5417         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5418         products 4 * y and 2 * y where those would overflow.
5419         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5420         Likewise.
5421         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5422         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5423         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5424         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5425         * math/libm-test.inc (remquo_test_data): Add more tests.
5427         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5429         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5430         [defined _COMPILING_NEWLIB].
5431         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5432         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5434         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5435         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5437 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5439         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5440         acquired.
5442 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5444         [BZ #17792]
5445         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5446         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5447         HOST_STACK_END_ADDR): Likewise.
5449 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5451         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5452         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5453         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5455 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5457         * sysdeps/generic/c++-types.data: New file.
5458         * sysdeps/generic/ld.abilist: New file.
5459         * sysdeps/generic/libBrokenLocale.abilist: New file.
5460         * sysdeps/generic/libanl.abilist: New file.
5461         * sysdeps/generic/libc.abilist: New file.
5462         * sysdeps/generic/libcrypt.abilist: New file.
5463         * sysdeps/generic/libdl.abilist: New file.
5464         * sysdeps/generic/libm.abilist: New file.
5465         * sysdeps/generic/libpthread.abilist: New file.
5466         * sysdeps/generic/libresolv.abilist: New file.
5467         * sysdeps/generic/librt.abilist: New file.
5469 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5471         [BZ #17569]
5472         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5473         Compute absolute value of x as modified by fmod, not original
5474         value of x.
5475         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5476         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5477         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5478         RUN_TEST_ffI_f1_mod8.
5479         (remquo_test_data): Add more tests.
5481 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5483         * sysdeps/init_array/pt-crti.S: New file.
5485 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #17967]
5488         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5489         __builtin_fmaf instead of relying on contraction of a * b + c.
5491 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5493         [BZ #17969]
5494         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5495         node.
5497 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5499         [BZ #17964]
5500         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5501         __builtin_fma instead of relying on contraction of a * b + c.
5503 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5505         * Makeconfig (ASFLAGS): Add -Werror=undef.
5506         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5507         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5508         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5510         * Makeconfig (after-link): New variable.
5511         (+link-pie, +link-pie-tests): Use it.
5512         (+link-static, +link-static-tests): Likewise.
5513         (+link, +link-tests): Likewise.
5514         * Makerules (build-module, build-module-asneeded): Likewise.
5515         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5516         Likewise.
5517         * elf/Makefile ($(objpfx)ld.so): Likewise.
5519 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5521         [BZ #17965]
5522         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5523         both struct timeval and struct timespec.
5525 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5527         [BZ #16560]
5528         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5529         and redefine.
5530         (__ieee754_exp2l): Do not multiply small fractional parts by
5531         M_LN2l.
5532         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5533         small argument.
5534         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5535         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5536         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5537         * math/auto-libm-test-in: Add more tests of exp2.
5538         * math/auto-libm-test-out: Regenerated.
5540 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5542         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5543         unaligned path.
5545 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5547         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5548         little endian.
5550 2015-02-12  Andreas Schwab  <schwab@suse.de>
5552         [BZ #15790]
5553         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5554         Filter out elision flags from value returned in kind.
5555         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5556         * nptl/tst-pthread-mutexattr.c: New file.
5558 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5560         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5561         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5562         into gnu-gnu, and update comment to refer to abi-tags.
5564 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #15467]
5567         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5568         (__sincos): Set errno to EDOM for infinite argument.
5569         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5570         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5571         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5572         (__sincosl): Set errno to EDOM for infinite argument.
5573         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5574         (__sincosl): Set errno to EDOM for infinite argument.
5575         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5576         (__sincosl): Set errno to EDOM for infinite argument.
5577         * math/libm-test.inc (sincos_test_data): Test errno setting.
5579 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5581         * string/strxfrm_l.c: Remove #define STRCMP.
5582         * string/strcoll_l.c: Remove #define STRLEN.
5583         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5584         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5586 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5588         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5589         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5590         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5591         * sysdeps/mips/mips64/Makefile: ... here.
5592         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5593         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5594         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5595         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5596         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5597         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5598         * sysdeps/mips/mips64/n64/Implies: Likewise.
5600 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5602         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5603         <sys/time.h>, <string.h>, and <errno.h>.
5604         (dest_offset, dest_address, value, zero): Remove unused variables.
5605         (ldouble): Remove typedef.
5606         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5607         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5608         1).  Fix code style.
5609         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5610         (check): Function removed.
5611         (CHECK): New macro.
5612         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5613         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5614         Don't call set_sigaction_FP and remove_sigaction_FP here.
5615         (ldouble_test): Just use 'long double' as macro argument, no need for
5616         the 'ldouble' typedef.
5617         (do_test): Set up SIGFPE handler at start, using plain signal rather
5618         than sigaction.  Fix code style.
5620 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5622         [BZ #17949]
5623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5624         jump label.
5626 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5628         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5629         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5631         * sysdeps/powerpc/configure.ac: Remove file.
5632         * sysdeps/powerpc/configure: Likewise.
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5635         [sysdep_routines]: Remove wordcopy-power6 object.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5637         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5638         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5639         (__memmove_ppc32): Likewise.
5640         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5641         file.
5642         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5643         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5644         Remove preprocessor.
5646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5647         [sysdep_routines]: Remove wide chars objects.
5648         [wcsmbs]: New rule for wide char objects.
5650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5651         Remove wordcopy-power6 obejct.
5652         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5653         Use local call for wordcopy and memcpy symbols.
5654         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5656         implementation for loader.
5657         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5660         Remove wordcopy-power7 object.
5661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5663         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5664         (_wordcopy_fwd_dest_aligned): Likewise.
5665         (_wordcopy_bwd_aligned): Likewise.
5666         (_wordcopy_bwd_dest_aligned): Likewise.
5668         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5669         Rewrite to call __memmove_ppc instead of include default
5670         implementation.
5672         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5673         Remove wide chars objects.
5674         [wcsmbs]: New rule for wide char objects.
5676 2015-02-09  Andreas Schwab  <schwab@suse.de>
5678         [BZ #17912]
5679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5680         in terms of __O_DIRECTORY.
5682 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5684         * time/getdate.c: Include <stdbool.h>.
5685         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5686         call PTR_MANGLE.
5687         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5688         PTR_DEMANGLE.
5690 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5692         Add ersatz _Static_assert on older C hosts
5693         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5694         pre-C11 C platform that is not known to support _Static_assert.
5696 2015-02-07  Richard Braun  <rbraun@sceen.net>
5698         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5699         sigstate.
5700         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5702 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5704         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5705         priority against unexistent AIO_PRIO_DELTA_MAX.
5706         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5707         instead of int.
5708         * misc/fchflags.c (fchflags): Likewise.
5709         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5710         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5711         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5712         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5713         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5714         Declare macros.
5715         [__USE_MISC] (chflags, fchflags): Declare functions.
5716         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5717         EINVAL when nfds is greater than FD_SETSIZE.
5718         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5719         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5720         45.
5721         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5722         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5723         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5724         MACH_RCV_TIMED_OUT.
5725         * hurd/hurd/signal.h (_hurd_self_sigstate,
5726         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5727         Explicit casts from void *.
5728         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5729         * abi-tags: Rename gnu-gnu os into gnu.
5731         [BZ #4719]
5732         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5733         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5734         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5735         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5736         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5737         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5739         [BZ #17944]
5740         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5741         duplicates ADDR->sun_path with sockaddr LEN limitation.
5742         * sysdeps/mach/hurd/connect.c: Include <string.h>
5743         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5744         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5745         * sysdeps/mach/hurd/sendto.c: Likewise.
5746         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5747         implementing it by hand.
5749 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5751         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5752         Use sfi_breg on ldr.
5753         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5754         Likewise.
5756         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5757         it's defined.
5758         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5759         Test SIGSETXID only if it's defined.
5761         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5763         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5764         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5766         * nptl/tst-align2.c: Moved ...
5767         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5768         * nptl/Makefile (tests): Remove tst-align2.
5769         * sysdeps/unix/sysv/linux/Makefile
5770         [$(subdir) = nptl] (tests): Add tst-align-clone.
5771         * nptl/tst-getpid1.c: Moved ...
5772         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5773         * nptl/tst-getpid2.c: Moved ...
5774         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5775         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5776         * sysdeps/unix/sysv/linux/Makefile
5777         [$(subdir) = nptl] (tests): ... here.
5778         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5779         * sysdeps/unix/sysv/linux/Makefile
5780         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5782         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5783         Drop trailing \n from perror argument.  Use return rather than exit.
5785         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5786         on [SA_SIGINFO].
5787         * nptl/tst-cancel21.c (do_test): Likewise.
5788         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5789         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5790         [!SA_SIGINFO]: Make it a stub test.
5792         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5793         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5795         * posix/tst-getlogin.c: Move to ...
5796         * login/tst-getlogin.c: ... here.
5797         * posix/Makefile (tests): Move tst-getlogin to ...
5798         * login/Makefile (tests): ... here.
5800         * libio/tst-atime.c (do_test): Move local variables SV and E
5801         inside [ST_NOATIME] conditional.
5803         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5805         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5807         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5808         (wait_code): New function replaces macro.
5809         Call nanosleep rather than syscall.
5811         * nptl/pt-system.c: Rewritten.  Put everything under
5812         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5813         Use IFUNC to redirect when possible.
5815         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5816         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5817         Use IFUNC to redirect when possible.
5819         * nptl/pt-fork.c: Rewritten.  Put everything under
5820         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5821         Use IFUNC to redirect when possible.
5822         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5825         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5826         unconditionally nowadays.  This included the only reference to
5827         __vdso_clock_gettime that appears outside libc proper.
5828         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5829         Remove version set (containing only __vdso_clock_gettime).
5830         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5831         Add attribute_hidden.
5832         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5833         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5834         libc_hidden_data_def.
5835         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5836         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5838         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5839         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5840         setrpcent, and getrpcport to ...
5841         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5842         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5843         getrpcbynumber_r, and getrpcent_r to ...
5844         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5845         * inet/getrpcbyname.c: Moved ...
5846         * sunrpc/getrpcbyname.c: ... here.
5847         * inet/getrpcbyname_r.c: Moved ...
5848         * sunrpc/getrpcbyname_r.c: ... here.
5849         * inet/getrpcbynumber.c: Moved ...
5850         * sunrpc/getrpcbynumber.c: ... here.
5851         * inet/getrpcbynumber_r.c: Moved ...
5852         * sunrpc/getrpcbynumber_r.c: ... here.
5853         * inet/getrpcent.c: Moved ...
5854         * sunrpc/getrpcent.c: ... here.
5855         * inet/getrpcent_r.c: Moved ...
5856         * sunrpc/getrpcent_r.c: ... here.
5857         * inet/Makefile (routines): Move those to ...
5858         * sunrpc/Makefile (routines): ... here.
5859         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5860         the $(subdirs) list.
5861         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5862         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5863         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5864         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5866         * elf/Makefile (routines): Include $(all-dl-routines), not just
5867         $(dl-routines).
5868         (rtld-routines): Likewise.  Use = rather than :=.
5869         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5870         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5871         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5872         * sysdeps/arm/Makefile: Likewise.
5873         * sysdeps/i386/Makefile: Likewise.
5874         * sysdeps/x86_64/Makefile: Likewise.
5875         * sysdeps/hppa/Makefile [$(subdir) = elf]
5876         (sysdep_routines, sysdep-rtld-routines): Don't add
5877         $(sysdep-dl-routines) to these.
5878         * sysdeps/ia64/Makefile: Likewise.
5879         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5880         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5881         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5882         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5883         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5884         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5885         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5886         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5887         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5888         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5889         these; sysdep-dl-routines alone is enough.
5891 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5893         [BZ #17932]
5894         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5895         where multiplication results in zero and third argument is finite
5896         and nonzero.
5897         * math/auto-libm-test-in: Add more tests of fma.
5898         * math/auto-libm-test-out: Regenerated.
5900         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5901         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5902         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5903         (_FP_CMP_EQ): Likewise.
5904         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5906         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5907         extra argument CHECK_NAN.  Redefine as wrapper around
5908         _FP_EXTEND_CNAN.
5910 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5912         * version.h (RELEASE): Set to "stable".
5913         (VERSION): Set to "2.21"
5914         * include/features.h (__GLIBC_MINOR__): Set to 21.
5916         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5918 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5919             Paul Eggert  <eggert@cs.ucla.edu>
5921         [BZ #16618]
5922         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5923         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5924         size in bytes. Store needed elements in wpmax. Use needed size
5925         in bytes for extend_alloca.
5927 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5929         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5930         binutls 2.25, and texinfo 5.2.
5931         * INSTALL: Regenerate.
5932         * sysdeps/nios2/configure: Regenerate.
5933         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5934         * manual/contrib.texi: Update.
5935         * po/be.po: Update.
5936         * po/bg.po: Update.
5937         * po/ca.po: Update.
5938         * po/cs.po: Update.
5939         * po/da.po: Update.
5940         * po/de.po: Update.
5941         * po/el.po: Update.
5942         * po/eo.po: Update.
5943         * po/es.po: Update.
5944         * po/fi.po: Update.
5945         * po/fr.po: Update.
5946         * po/gl.po: Update.
5947         * po/hr.po: Update.
5948         * po/hu.po: Update.
5949         * po/ia.po: Update.
5950         * po/id.po: Update.
5951         * po/it.po: Update.
5952         * po/ja.po: Update.
5953         * po/ko.po: Update.
5954         * po/lt.po: Update.
5955         * po/nb.po: Update.
5956         * po/nl.po: Update.
5957         * po/pl.po: Update.
5958         * po/pt_BR.po: Update.
5959         * po/ru.po: Update.
5960         * po/rw.po: Update.
5961         * po/sk.po: Update.
5962         * po/sl.po: Update.
5963         * po/sv.po: Update.
5964         * po/tr.po: Update.
5965         * po/uk.po: Update.
5966         * po/vi.po: Update.
5967         * po/zh_CN.po: Update.
5968         * po/zh_TW.po: Update.
5970         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5971         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5972         * sysdeps/hppa/dl-irel.h: Remove #warning.
5973         * sysdeps/hppa/entry.h: Provide prototype for
5974         __canonicalize_funcptr_for_compare and cast argument.
5975         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5976         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5977         * sysdeps/hppa/sotruss-lib.c: New file.
5978         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5979         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5980         (atomic_compare_and_exchange_bool_acq): Likewise.
5981         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5982         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5984         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5985         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5986         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5988 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5990         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5991         called function in non-PIC case.
5993 2015-01-31  David S. Miller  <davem@davemloft.net>
5995         * sysdeps/sparc/sparc32/bits/atomic.h
5996         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5997         unlock not after it.
5998         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5999         volatile register usage warnings from the compiler.
6001         * sysdeps/sparc/nptl/sem_init.c: Delete.
6002         * sysdeps/sparc/nptl/sem_post.c: Delete.
6003         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6004         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6005         * sysdeps/sparc/sparc32/sem_init.c: New file.
6006         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6007         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6008         padding explicitly initialized.
6009         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6010         padding for in-semaphore spinlock.
6011         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6012         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6013         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6014         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6015         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6016         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6017         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6018         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6019         version.
6020         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6021         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6023 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6025         [BZ #17801]
6026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6027         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6028         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6029         New.
6030         (index_AVX_Fast_Unaligned_Load): Likewise.
6031         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6032         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6033         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6034         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6035         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6036         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6037         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6038         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6039         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6041 2015-01-29  Andreas Schwab  <schwab@suse.de>
6043         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6045 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6047         [BZ #17892]
6048         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6050 2015-01-28  Martin Sebor  <msebor@redhat.com>
6052         * math/README.libm-test: Clarify. Add "How to read the test output."
6054 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6056         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6057         Define to 0.
6059 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6061         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6062         (__HAVE_64B_ATOMICS): Define to 0.
6064 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6066         [BZ #17885]
6067         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6068         value to set as new flag.
6070         [BZ #16576]
6071         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6072         and use _ARCH_PPCSQ instead.
6073         (__ieee754_sqrt): Likewise.
6074         (__ieee754_sqrtf): Likewise.
6075         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6076         _ARCH_PPCSQ is defined.
6077         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6078         fsqrt instruction.
6079         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6080         _ARCH_PPCSQ is defined.
6081         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6082         fsqrts instruction.
6083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6085 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6087         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6088         bug (GCC BZ #64739).
6090 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6092         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6093         Mark _retval as used.
6094         (lll_futex_wake_unlock): Likewise.
6095         (lll_futex_timed_wait_requeue_pi): Likewise.
6097         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6098         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6099         register variables.
6101         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6102         libm_hidden_def.
6104         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6105         (__bswap_64): Mark as __always_inline.
6107 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6109         [BZ #15378]
6110         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6111         when none of the search directories exist.
6113 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6115         [BZ #17869]
6116         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6117         power8 in .machine directive.
6119         [BZ #17868]
6120         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6121         set dependency from opd value.
6123 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6126         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6127         architecture.
6129 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6131         [BZ #17870]
6132         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6133         with uint64_t.
6134         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6135         (uint64_t) 1.
6136         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6137         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6138         Replace 1UL with (uint64_t) 1.
6139         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6140         int with uint64_t.
6142 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6144         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6145         (if_freenameindex): Likewise.
6147         * resource/getrlimit64.c: Add missing libc_hidden_def.
6149 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6151         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6152         __label__.
6153         (_FP_FMA): Likewise.
6154         (_FP_TO_INT_ROUND): Likewise.
6155         (_FP_FROM_INT): Likewise.
6157 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6159         [BZ #16418]
6160         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6161         Make code racy and cancel safe.
6163 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6165         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6166         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6167         attribution.
6169         * pwd/tst-getpw.c: Rewrite.
6171         [BZ #17702]
6172         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6173         (modules-names): Add moddummy1 and moddummy2.
6174         ($(objpfx)tst-rec-dlopen): Define.
6175         * dlfcn/moddummy1.c: New file.
6176         * dlfcn/moddummy2.c: New file.
6177         * dlfcn/tst-rec-dlopen.c: New file.
6178         * elf/dl-cache.c (_dl_load_cache_lookup):
6179         Return char*. Copy result with alloca/strcpy/strdup.
6180         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6181         returns char*. Free cached. If not saving realname
6182         free cached.
6183         * elf/dl-open.c (dl_open_worker): Do not assert that
6184         _r_debug->r_state is RT_CONSISTENT.
6185         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6186         returns char*.
6188 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6189             Carlos O'Donell  <carlos@redhat.com>
6191         [BZ #12674]
6192         * nptl/sem_waitcommon.c: New file.
6193         * nptl/sem_wait.c: Include sem_waitcommon.c.
6194         (__sem_wait_cleanup, do_futex_wait): Remove.
6195         (__new_sem_wait): Adapt.
6196         (__new_sem_trywait): New function.
6197         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6198         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6199         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6200         (sem_timedwait): Adapt.
6201         * nptl/sem_post.c (__new_sem_post): Adapt.
6202         (futex_wake): New function.
6203         (__old_sem_post): Add release MO fence.
6204         * nptl/sem_open.c (sem_open): Adapt.
6205         * nptl/sem_init.c (__new_sem_init): Adapt.
6206         (futex_private_if_supported): New function.
6207         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6208         (__old_sem_getvalue): Add using previous code.
6209         * sysdeps/nptl/internaltypes.h: Adapt.
6210         * nptl/tst-sem13.c (do_test): Adapt.
6211         * nptl/tst-sem11.c (main): Adapt.
6212         * nptl/sem_trywait.c: Remove.
6213         * nptl/DESIGN-sem.txt: Remove.
6214         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6215         (gen-as-const-headers): Remove structsem.sym.
6216         * nptl/structsem.sym: Remove.
6217         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6218         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6219         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6220         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6221         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6222         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6223         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6224         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6225         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6226         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6227         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6228         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6229         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6230         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6231         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6232         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6233         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6234         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6235         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6236         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6237         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6238         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6240 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6242         * INSTALL: Regenerated.
6244         * po/libc.pot: Regenerated.
6246 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6247             Sandra Loosemore  <sandra@codesourcery.com>
6248             Andrew Jenner  <andrew@codesourcery.com>
6249             Joseph Myers  <joseph@codesourcery.com>
6250             Nathan Sidwell  <nathan@codesourcery.com>
6252         * NEWS: Mention new Nios II port.
6253         * sysdeps/nios2/Implies: New file.
6254         * sysdeps/nios2/Makefile: New file.
6255         * sysdeps/nios2/Subdirs: New file.
6256         * sysdeps/nios2/Versions: New file.
6257         * sysdeps/nios2/__longjmp.S: New file.
6258         * sysdeps/nios2/abort-instr.h: New file.
6259         * sysdeps/nios2/backtrace.c: New file.
6260         * sysdeps/nios2/bits/endian.h: New file.
6261         * sysdeps/nios2/bits/fenv.h: New file.
6262         * sysdeps/nios2/bits/link.h: New file.
6263         * sysdeps/nios2/bits/setjmp.h: New file.
6264         * sysdeps/nios2/bsd-_setjmp.S: New file.
6265         * sysdeps/nios2/bsd-setjmp.S: New file.
6266         * sysdeps/nios2/configure: New generated file.
6267         * sysdeps/nios2/configure.ac: New file.
6268         * sysdeps/nios2/crti.S: New file.
6269         * sysdeps/nios2/crtn.S: New file.
6270         * sysdeps/nios2/dl-init.c: New file.
6271         * sysdeps/nios2/dl-machine.h: New file.
6272         * sysdeps/nios2/dl-sysdep.h: New file.
6273         * sysdeps/nios2/dl-tls.h: New file.
6274         * sysdeps/nios2/dl-trampoline.S: New file.
6275         * sysdeps/nios2/gccframe.h: New file.
6276         * sysdeps/nios2/gmp-mparam.h: New file.
6277         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6278         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6279         * sysdeps/nios2/ldsodefs.h: New file.
6280         * sysdeps/nios2/libc-tls.c: New file.
6281         * sysdeps/nios2/libm-test-ulps: New file.
6282         * sysdeps/nios2/machine-gmon.h: New file.
6283         * sysdeps/nios2/math-tests.h: New file.
6284         * sysdeps/nios2/math_private.h: New file.
6285         * sysdeps/nios2/memusage.h: New file.
6286         * sysdeps/nios2/nptl/Makefile: New file.
6287         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6288         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6289         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6290         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6291         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6292         * sysdeps/nios2/nptl/tls.h: New file.
6293         * sysdeps/nios2/preconfigure: New file.
6294         * sysdeps/nios2/s_fma.c: New file.
6295         * sysdeps/nios2/s_fmaf.c: New file.
6296         * sysdeps/nios2/setjmp.S: New file.
6297         * sysdeps/nios2/sfp-machine.h: New file.
6298         * sysdeps/nios2/sotruss-lib.c: New file.
6299         * sysdeps/nios2/stackguard-macros.h: New file.
6300         * sysdeps/nios2/stackinfo.h: New file.
6301         * sysdeps/nios2/start.S: New file.
6302         * sysdeps/nios2/sysdep.h: New file.
6303         * sysdeps/nios2/tls-macros.h: New file.
6304         * sysdeps/nios2/tst-audit.h: New file.
6305         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6306         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6307         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6308         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6309         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6310         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6311         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6312         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6313         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6314         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6315         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6316         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6317         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6318         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6319         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6320         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6321         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6322         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6323         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6324         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6325         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6326         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6327         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6328         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6329         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6330         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6331         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6332         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6333         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6334         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6335         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6336         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6337         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6338         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6339         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6340         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6341         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6342         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6343         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6344         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6345         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6346         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6347         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6348         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6350 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6352         [BZ #17844]
6353         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6354         (getutent): Use weak_alias in non SHARED case
6355         and default_symbol_version in SHARED case.
6356         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6357         (getutent_r, pututline): Likewise.
6358         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6359         (getutid): Likewise.
6360         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6361         (getutid_r): Likewise.
6362         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6363         (getutline): Likewise.
6364         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6365         (getutline_r): Likewise.
6366         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6367         (updwtmp): Likewise.
6369 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6371         [BZ #17848]
6372         * sysdeps/s390/s390-32/memcmp.S
6373         (memcmp_g5): Rename to __memcmp_g5.
6374         * sysdeps/s390/s390-32/memcpy.S
6375         (memcpy_g5): Rename to __memcpy_g5.
6376         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6377         (memcpy_mvcle) Rename to __memcpy_mvcle.
6378         * sysdeps/s390/s390-32/memset.S
6379         (memset_g5): Rename to __memset_g5.
6380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6381         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6382         and use prefixed functions.
6383         * sysdeps/s390/s390-32/multiarch/memcmp.S
6384         (memcmp_z196): Rename to __memcmp_z196.
6385         (memcmp_z10): Rename to __memcmp_z10.
6386         (memcmp): Set alias to __memcmp_g5.
6387         (bcmp): Set alias to __memcmp_g5.
6388         * sysdeps/s390/s390-32/multiarch/memcpy.S
6389         (memcpy_z196): Rename to __memcpy_z196.
6390         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6391         (memcpy_z10): Rename to __memcpy_z10.
6392         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6393         (memcpy): Set alias to __memcpy_g5.
6394         * sysdeps/s390/s390-32/multiarch/memset.S
6395         (memset_z196): Rename to __memset_z196.
6396         Jump to __memset_mvcle instead of memset_mvcle.
6397         (memset_z10): Rename to __memset_z10.
6398         Jump to __memset_mvcle instead of memset_mvcle.
6399         (memset_mvcle) Rename to __memset_mvcle.
6400         (memset): Set alias to __memset_g5.
6401         * sysdeps/s390/s390-64/memcmp.S
6402         (memcmp_z900): Rename to __memcmp_z900.
6403         * sysdeps/s390/s390-64/memcpy.S
6404         (memcpy_z900): Rename to __memcpy_z900.
6405         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6406         (memcpy_mvcle) Rename to __memcpy_mvcle.
6407         * sysdeps/s390/s390-64/memset.S
6408         (memset_z900): Rename to __memset_z900.
6409         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6410         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6411         and use prefixed functions.
6412         * sysdeps/s390/s390-64/multiarch/memcmp.S
6413         (memcmp_z196): Rename to __memcmp_z196.
6414         (memcmp_z10): Rename to __memcmp_z10.
6415         (memcmp): Set alias to __memcmp_z900.
6416         (bcmp): Set alias to __memcmp_z900.
6417         * sysdeps/s390/s390-64/multiarch/memcpy.S
6418         (memcpy_z196): Rename to __memcpy_z196.
6419         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6420         (memcpy_z10): Rename to __memcpy_z10.
6421         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6422         (memcpy): Set alias to __memcpy_z900.
6423         * sysdeps/s390/s390-64/multiarch/memset.S
6424         (memset_z196): Rename to __memset_z196.
6425         Jump to __memset_mvcle instead of memset_mvcle.
6426         (memset_z10): Rename to __memset_z10.
6427         Jump to __memset_mvcle instead of memset_mvcle.
6428         (memset_mvcle) Rename to __memset_mvcle.
6429         (memset): Set alias to __memset_z900.
6431 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6433         [BZ #17748]
6434         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6435         __fesetenv instead of fesetenv.
6437 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6439         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6440         macro.
6442 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6444         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6445         regression on LE.
6447         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6448         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6450         strncmp-power8 object.
6451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6452         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6453         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6454         * NEWS: Update.
6456 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6457             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6459         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6460         trailing byte check.
6462 2015-01-13  David S. Miller  <davem@davemloft.net>
6464         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6466 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6468         * login/logout.c (logout): Use memset rather than bzero.
6469         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6470         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6471         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6472         (_gethtbyaddr): Likewise.
6473         * locale/programs/simple-hash.c (bcopy): Macro removed.
6475 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6478         Add strcmp-power8 object.
6479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6480         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6481         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6482         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6483         __strcmp_power8 implementation.
6484         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6485         * NEWS: Update.
6487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6488         Add strncpy-power8 and stpncpy-power8 objects.
6489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6490         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6491         implementations.
6492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6494         __stpncpy_power8 implementation.
6495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6496         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6497         __strncpy_power8 implementation.
6498         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6499         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6500         * NEWS: Update.
6502         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6503         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6504         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6507         strncat-power8 object.
6508         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6509         __strcat_power8 implementation.
6510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6511         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6512         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6513         optimized strcat for power8.
6515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6516         strcpy-power8 and stpcpy-power8 objects.
6517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6518         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6519         implementations.
6520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6521         multiarch stpcpy implementation for POWER8.
6522         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6523         multiarch strcpy implementation for POWER8.
6524         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6525         __strcpy_power8 function.
6526         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6527         stpcpy for POWER8.
6528         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6529         strcpy for POWER8.
6530         * NEWS: Update.
6532 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6534         [BZ #16009]
6535         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6536         weights and rules. Use do_xfrm_cached if data fits in cache,
6537         do_xfrm otherwise.  Moved former main loop to...
6538         * (do_xfrm_cached): New function.
6539         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6540         find_idx, find_position and stack_push.
6541         * (find_idx): New function.
6542         * (find_position): Likewise.
6543         * localedata/sort-test.sh: Added test run for do_xfrm.
6544         * localedata/xfrm-test.c (main): Added command line option
6545         -nocache to run the test with strings that are too large for
6546         the STRXFRM cache.
6548 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6550         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6551         variable to lll_futex_wake call, not the value itself.
6553 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6555         [BZ #17803]
6556         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6557         twom64.  Adjust value to 0x1p-64L.
6558         (__scalblnl): Only return standard underflowing result for K <=
6559         -64 not K <= -63; adjust exponent for underflowing result by 64
6560         not 63.
6561         * math/libm-test.inc (scalbn_test_data): Add more tests.
6562         (scalbln_test_data): Likewise.
6564         [BZ #17834]
6565         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6566         0x1p63L.
6567         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6568         not HX.
6569         * math/libm-test.inc (scalbn_test_data): Add more tests.
6570         (scalbln_test_data): Likewise.
6572 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6573             Stefani Seibold  <stefani@seibold.net>
6575         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6576         (sysdep_routines): Add dl-vdso here, ...
6577         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6578         (sysdep_routines): ... not here.
6579         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6580         fallback when vDSO is not presented.
6581         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6582         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6583         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6584         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6585         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6586         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6587         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6588         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6589         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6591         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6592         fallback configurable symbol when vDSO is not available.
6593         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6594         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6595         be able to redefine fallback symbol when vDSO is not available.
6596         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6597         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6599 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6601         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6602         (TLS_INIT_TP): Add tm_capable initialization.
6603         (TLS_DEFINE_INIT_TP): Likewise.
6604         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6605         TCB.
6606         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6607         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6608         calculation.
6609         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6610         transactoion is lock elision is built and TCB tm_capable is set.
6611         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6613         (INTERNAL_SYSCALL_NCS): Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6615         (INTERNAL_SYSCALL_NCS): Likewise.
6616         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6618         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6619         for powerpc.
6620         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6621         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6622         and remove it for 32 bits case.
6623         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6625         initialization.
6626         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6627         Disable lock elision with rdlocks if elision is not available.
6629         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6630         (sysdep_routines): Add lock elision objects.
6631         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6632         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6633         [pthread_mutex_t] (__elision): Add field.
6634         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6635         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6636         elision definitions for powerpc.
6637         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6638         implementation of lock elision for powerpc.
6639         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6640         implementation of timed lock elision for powerpc.
6641         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6642         implementation of trylock with lock elision for powerpc.
6643         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6644         implementaion of unlock for lock elision for powerpc.
6645         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6646         automatic enable lock elision for mutexes.
6647         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6648         transaction execution definitions for powerpc.
6649         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6650         definitions.
6651         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6652         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6653         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6654         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6655         * NEWS: Update.
6657 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6659         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6660         for #include of <shm-directory.h>.
6662 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6664         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6665         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6667 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6669         [BZ #17791]
6670         * NEWS: Mention bug fix.
6671         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6672         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6673         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6675 2015-01-09  Torvald Riegel <triegel@redhat.com>
6677         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6679 2015-01-09  Torvald Riegel <triegel@redhat.com>
6681         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6683 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6685         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6686         pointer and cast to uintptr_t.
6688 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6690         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6691         removed.
6692         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6694 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6696         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6697         of 0.
6699 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6701         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6702         <nptl/pthreadP.h> instead.
6703         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6705         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6706         already defined.
6707         [__SIGRTMIN] (init): Function removed.
6708         [__SIGRTMIN] (initialized): Variable removed.
6709         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6710         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6711         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6712         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6713         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6714         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6715         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6716         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6717         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6718         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6719         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6720         * sysdeps/nptl/allocrtsig.c: New file.
6721         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6722         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6723         * sysdeps/generic/testrtsig.h: File removed.
6725         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6726         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6728         * nptl/nptl-init.c (pthread_functions): Conditionalize
6729         .ptr__nptl_setxid initialization on [SIGSETXID].
6731         * sysdeps/nptl/sys/procfs.h: New file.
6732         * nptl_db/Makefile (headers): Add it.
6733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6735         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6736         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6737         * nptl/pthread_attr_setaffinity.c: Include it.
6738         * nptl/pthread_setattr_default_np.c: Likewise.
6739         * nptl/check-cpuset.h: New file.
6741 2015-01-08  Richard Henderson  <rth@redhat.com>
6743         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6744         (CFLAGS-tst-execstack-prog.c): Likewise.
6745         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6747 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6748             Sandra Loosemore  <sandra@codesourcery.com>
6749             Andrew Jenner  <andrew@codesourcery.com>
6750             Joseph Myers  <joseph@codesourcery.com>
6751             Nathan Sidwell  <nathan@codesourcery.com>
6753         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6754         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6755         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6756         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6757         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6758         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6759         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6760         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6761         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6762         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6763         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6764         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6765         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6766         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6767         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6768         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6769         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6771 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6773         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6774         timespec struct member in syscall macro.
6775         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6776         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6777         first timeval struct member in syscall macro.
6778         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6780 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6782         [BZ #17748]
6783         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6784         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6785         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6786         __feupdateenv and define as weak alias of __feupdateenv.  Use
6787         libm_hidden_weak.
6788         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6789         libm_hidden_def.
6790         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6791         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6792         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6793         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6794         libm_hidden_def.
6795         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6796         __feupdateenv and define as weak alias of __feupdateenv.  Use
6797         libm_hidden_weak.
6798         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6799         libm_hidden_def.
6800         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6801         __feupdateenv and define as weak alias of __feupdateenv.  Use
6802         libm_hidden_weak.
6803         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6804         libm_hidden_def.
6805         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6806         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6807         (__feupdateenv): Likewise.
6808         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6809         __feupdateenv and define as weak alias of __feupdateenv.  Use
6810         libm_hidden_weak.
6811         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6812         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6813         libm_hidden_def.
6814         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6815         function.
6816         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6817         libm_hidden_def.
6818         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6819         __feupdateenv instead of feupdateenv.
6820         (default_libc_feupdateenv_test): Likewise.
6821         (libc_feresetround_ctx): Likewise.
6823 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6825         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6826         prototype.
6828 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6830         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6831         COLL_SYM in a couple of places to avoid uninitialized variable
6832         wanings on tilegx gcc 4.8.2.
6834 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6836         * sysdeps/aarch64/strcpy.S: New file.
6837         * sysdeps/aarch64/stpcpy.S: New file.
6838         * NEWS: Updated.
6840 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6842         * sysdeps/aarch64/strrchr.S: New file.
6843         * NEWS: Updated.
6845 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6847         [BZ #17658]
6848         * stdlib/setenv.c: Fix memory leak when setting large,
6849         duplicate string.
6851 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6853         [BZ #17273]
6854         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6855         and tabs from buffer before parsing fstab entry.
6856         * misc/tst-mntent.c (main): Add test for mount entry with
6857         trailing spaces and tabs.
6859 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6861         [BZ #17748]
6862         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6863         * math/fesetround.c (fesetround): Rename to __fesetround and
6864         define as weak alias of __fesetround.  Use libm_hidden_weak.
6865         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6866         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6867         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6868         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6869         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6870         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6871         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6872         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6873         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6874         __fesetround_inline.
6875         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6876         __fesetround_inline instead of __fesetround.
6877         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6878         __fesetround and define as weak alias of __fesetround.  Use
6879         libm_hidden_weak.  Call __fesetround_inline instead of
6880         __fesetround.
6881         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6882         __fesetround and define as weak alias of __fesetround.  Use
6883         libm_hidden_weak.
6884         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6885         Likewise.
6886         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6887         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6888         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6889         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6890         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6891         __fesetround and define as weak alias of __fesetround.  Use
6892         libm_hidden_weak.
6893         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6894         __fesetround instead of fesetround.
6895         (default_libc_feholdexcept_setround): Likewise.
6896         (libc_feholdsetround_ctx): Likewise.
6897         (libc_feholdsetround_noex_ctx): Likewise.
6899         [BZ #17748]
6900         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6901         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6902         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6903         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6904         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6905         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6906         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6907         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6908         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6909         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6910         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6911         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6912         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6913         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6914         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6915         libm_hidden_def.
6916         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6917         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6918         Likewise.
6919         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6920         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6921         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6922         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6923         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6924         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6925         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6926         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6927         __fesetenv instead of fesetenv.
6928         (libc_feresetround_noex_ctx): Likewise.
6929         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6930         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6931         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6932         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6933         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6934         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6935         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6936         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6937         (__feupdateenv): Likewise.
6938         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6939         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6940         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6941         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6943 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6945         [BZ #17806]
6946         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6947         addresses have been freed.
6949 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6951         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6952         and nservall.
6954 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6956         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6957         Clean up check_pf allocation pattern. addresses
6959 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6961         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6962         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6963         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6964         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6965         * nptl/pthread_join.c (pthread_join): Likewise.
6966         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6967         * sysdeps/posix/waitid.c (__waitid): Likewise.
6968         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6969         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6970         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6971         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6973         Likewise.
6974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6975         (__libc_pread64): Likewise.
6976         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6977         (__libc_pwrite): Likewise.
6978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6979         (__libc_pwrite64): Likewsie.
6980         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6981         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6982         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6983         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6984         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6985         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6986         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6990         (__libc_pread64): Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6994         (__libc_pwrite64): Likewise.
6995         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6996         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6997         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6998         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6999         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7000         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7001         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7002         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7003         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7004         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7005         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7006         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7007         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7008         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7009         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7010         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7011         Likewise.
7013 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7015         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7016         (CFLAGS-test-double.c): Likewise.
7017         (CFLAGS-test-ldouble.c): Likewise.
7018         (CPPFLAGS-test-ifloat.c): Likewise.
7019         (CPPFLAGS-test-idouble.c): Likewise.
7020         (CPPFLAGS-test-ildoubl.c): Likewise.
7021         (CFLAGS-test-test-fenv.c): Remove variable.
7022         (CFLAGS-test-misc.c): Likewise.
7024 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7026         [BZ #17797]
7027         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7028         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7029         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7030         CLOCKS_PER_SEC == 1000000.
7031         * time/clocktest.c (main): Replace %ld with %jd and cast to
7032         intmax_t.
7034 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7036         * sysdeps/generic/unwind-resume.h: New file.
7037         * sysdeps/gnu/unwind-resume.c: Include it.
7038         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7039         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7040         argument list.
7041         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7042         global rather than static.
7043         (_Unwind_Resume): Update user.
7044         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7045         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7046         rather than static.  Add __attribute__ ((cold)).
7047         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7048         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7049         * sysdeps/arm/arm-unwind-resume.S: New file.
7050         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7051         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7052         * sysdeps/arm/Makefile [$(subdir) = csu]
7053         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7054         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7055         Add rt-arm-unwind-resume.
7056         [$(subdir) = nptl]
7057         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7058         Add pt-arm-unwind-resume.
7059         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7060         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7062 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7064         [BZ #17748]
7065         * include/fenv.h (__feholdexcept): Declare.  Use
7066         libm_hidden_proto.
7067         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7068         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7069         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7070         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7071         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7072         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7073         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7074         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7075         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7076         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7077         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7078         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7079         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7080         (feholdexcept): Likewise.
7081         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7082         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7083         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7084         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7085         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7086         __feholdexcept instead of feholdexcept.
7087         (default_libc_feholdexcept_setround): Likewise.
7089 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7091         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7092         to avoid using stl/str to align destination.
7094 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7096         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7098 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7100         [BZ #17796]
7101         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7102         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7103         Define as weak alias not strong alias.
7105 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7107         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7108         bltzal with addiupc.
7109         (RTLD_START): Ditto.
7111 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7113         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7114         for __vdso_* functions in declarations.
7115         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7116         definitions.
7117         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7118         INTERNAL_VSYSCALL): Use struct return types to check for error.
7120         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7121         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7122         function with cast from llround().
7123         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7124         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7125         Define.
7127 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7129         [BZ #17793]
7130         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7131         Define as weak alias not strong alias.
7133         [BZ #17635]
7134         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7135         ...
7136         * ctype/ctype-extn.c: ... here.
7137         (__isblank_l): Move to ...
7138         * ctype/ctype-c99_l.c: ... here.  New file.
7139         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7140         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7141         Remove variable.
7142         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7143         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7144         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7145         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7146         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7148         [BZ #17777]
7149         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7150         (posix_fadvise64): Define as weak alias not strong alias.
7151         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7152         (posix_fallocate64): Likewise.
7153         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7154         Remove variable.
7155         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7156         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7157         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7158         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7159         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7161 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7163         [BZ #16191]
7164         * NEWS: Mention bug fix.
7165         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7166         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7167         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7168         (HOST_STACK_END_ADDR): Likewise.
7170 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7172         [BZ #17748]
7173         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7174         * math/fegetround.c (fegetround): Rename to __fegetround and
7175         define as weak alias of __fegetround.  Use libm_hidden_weak.
7176         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7177         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7178         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7179         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7180         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7181         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7182         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7183         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7184         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7185         Undefine after rather than before function definition; use
7186         parentheses around function name in definition.
7187         (__fegetround): Also undefine macro after function definition.
7188         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7189         __fegetround and define as weak alias of __fegetround.  Use
7190         libm_hidden_weak.  Do not undefine as macro.
7191         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7192         Likewise.
7193         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7194         __fegetround and define as weak alias of __fegetround.  Use
7195         libm_hidden_weak.
7196         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7197         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7198         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7199         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7200         __fegetround and define as weak alias of __fegetround.  Use
7201         libm_hidden_weak.
7202         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7203         __fegetround instead of fegetround.
7205         [BZ #17782]
7206         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7207         Condition macro definition on [__USE_MISC].
7209         [BZ #17781]
7210         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7211         (struct sigaction): Change type of sa_flags field to int.
7213         [BZ #17780]
7214         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7215         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7216         __glibc_reserved0.
7218         * nptl/version.c (banner): Use single year in copyright notice.
7220         * NEWS: Update copyright dates.
7221         * catgets/gencat.c (print_version): Likewise.
7222         * csu/version.c (banner): Likewise.
7223         * debug/catchsegv.sh: Likewise.
7224         * debug/pcprofiledump.c (print_version): Likewise.
7225         * debug/xtrace.sh (do_version): Likewise.
7226         * elf/ldconfig.c (print_version): Likewise.
7227         * elf/ldd.bash.in: Likewise.
7228         * elf/pldd.c (print_version): Likewise.
7229         * elf/sotruss.sh: Likewise.
7230         * elf/sprof.c (print_version): Likewise.
7231         * iconv/iconv_prog.c (print_version): Likewise.
7232         * iconv/iconvconfig.c (print_version): Likewise.
7233         * locale/programs/locale.c (print_version): Likewise.
7234         * locale/programs/localedef.c (print_version): Likewise.
7235         * login/programs/pt_chown.c (print_version): Likewise.
7236         * malloc/memusage.sh (do_version): Likewise.
7237         * malloc/memusagestat.c (print_version): Likewise.
7238         * malloc/mtrace.pl: Likewise.
7239         * manual/libc.texinfo: Likewise.
7240         * nptl/version.c (banner): Likewise.
7241         * nscd/nscd.c (print_version): Likewise.
7242         * nss/getent.c (print_version): Likewise.
7243         * nss/makedb.c (print_version): Likewise.
7244         * posix/getconf.c (main): Likewise.
7245         * scripts/test-installation.pl: Likewise.
7246         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7248 2015-01-02  Will Newton  <will.newton@linaro.org>
7250         * sysdeps/arm/armv7/configure: Removed.
7251         * sysdeps/arm/armv7/configure.ac: Likewise.
7253 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7255         * All files with FSF copyright notices: Update copyright dates
7256         using scripts/update-copyrights.
7257         * intl/plural.c: Regenerated.
7258         * locale/programs/charmap-kw.h: Likewise.
7259         * locale/programs/locfile-kw.h: Likewise.
7261 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7263         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7265 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #17748]
7268         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7269         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7270         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7271         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7272         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7273         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7274         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7275         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7276         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7277         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7278         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7279         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7280         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7281         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7282         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7283         libm_hidden_def.
7284         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7285         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7286         Likewise.
7287         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7288         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7289         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7290         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7291         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7292         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7293         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7294         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7295         __fegetenv instead of fegetenv.
7296         (libc_feholdsetround_noex_ctx): Likewise.
7298 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7300         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7301         (Elf_MIPS_ABIFlags_v0): New structure.
7302         (EF_MIPS_FP64): Define.
7303         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7304         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7305         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7306         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7307         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7308         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7309         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7310         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7311         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7312         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7313         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7314         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7315         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7316         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7317         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7318         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7319         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7320         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7321         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7322         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7323         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7324         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7325         field.
7326         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7327         EF_MIPS_FP64.
7328         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7329         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7330         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7331         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7332         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7333         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7334         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7335         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7336         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7337         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7338         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7339         record the current FP ABI extension.
7340         (mips-mode-switch): Define to show if kernel headers support mode
7341         switching.
7342         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7343         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7344         supported SYSV ABI version to 3.
7345         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7346         feature.
7348 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7349             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7351         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7352         path.
7353         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7355 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7357         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7358         __fegetround and redefine to call __fegetround.  Remove condition
7359         on [!__NO_MATH_INLINES].
7360         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7361         function.
7362         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7363         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7364         Remove macro.
7365         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7366         instead of <fenv_libc.h>.
7367         (__llrintl): Call fegetround instead of __fegetround.
7368         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7369         instead of <fenv_libc.h>.
7370         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7371         (__lrintl): Call fegetround instead of __fegetround.
7372         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7373         instead of <fenv_libc.h>.
7374         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7375         (__rintl): Call fegetround instead of __fegetround.
7377 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7379         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7380         arrays.
7382 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7384         [BZ #17775]
7385         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7386         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7387         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7389 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7391         * sysdeps/i386/tls-macros.h: Include <features.h>.
7392         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7393         (TLS_IE): Likewise.
7394         (TLS_LD): Likewise.
7395         (TLS_GD): Likewise.
7396         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7397         define for GCC >= 5.0.
7399 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7401         * math/test-fenv.c (test_single_exception, set_single_exc,
7402         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7403         feexcp_mask_test, feenable_test, fe_single_test): Add
7404         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7405         case where they are not used.
7406         * math/libm-test.inc: Likewise.
7407         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7408         unused in the absence of FP rounding/exception support.
7409         * stdio-common/tst-printf-round.c: Likewise.
7410         * stdlib/tst-strtod-round.c: Likewise.
7411         * stdlib/tst-strtod-underflow.c: Likewise.
7413 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7415         [BZ #17723]
7416         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7417         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7418         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7419         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7420         libm_hidden_weak.
7421         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7422         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7423         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7424         libm_hidden_def.
7425         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7426         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7427         libm_hidden_weak.
7428         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7429         Likewise.
7430         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7431         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7432         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7433         libm_hidden_weak.
7434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7435         libm_hidden_def.
7436         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7437         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7438         (__feraiseexcept): Likewise.
7439         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7440         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7441         libm_hidden_weak.
7442         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7443         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7444         libm_hidden_def.
7445         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7446         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7447         Use libm_hidden_def.
7448         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7449         libm_hidden_def.
7450         (feraiseexcept): Define as weak not strong alias.  Use
7451         libm_hidden_weak.
7452         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7453         New inline function.  Factored out of ...
7454         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7455         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7456         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7457         feraiseexcept.
7458         * math/w_acos.c (__acos): Likewise.
7459         * math/w_asin.c (__asin): Likewise.
7460         * math/w_ilogb.c (__ilogb): Likewise.
7461         * math/w_j0.c (y0): Likewise.
7462         * math/w_j1.c (y1): Likewise.
7463         * math/w_jn.c (yn): Likewise.
7464         * math/w_log.c (__log): Likewise.
7465         * math/w_log10.c (__log10): Likewise.
7466         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7467         * sysdeps/aarch64/fpu/math_private.h
7468         (libc_feupdateenv_test_aarch64): Likewise.
7469         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7470         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7471         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7472         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7473         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7474         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7475         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7476         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7477         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7478         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7480 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7482         [BZ #17732]
7483         * io/test-utime.c (main): Replace %ld with %jd and cast to
7484         intmax_t.
7485         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7486         * nptl/tst-mutex5.c: Include <stdint.h>.
7487         (do_test): Replace %ld with %jd and cast to intmax_t.
7488         * posix/tst-regex.c (run_test): Likewise.
7489         (run_test_backwards): Likewise.
7490         * rt/tst-clock.c: Include <stdint.h>.
7491         (clock_test): Replace %ld with %jd and cast to intmax_t.
7492         * rt/tst-cpuclock1.c: Include <stdint.h>.
7493         (do_test): Replace %lu with %ju and cast to uintmax_t.
7494         * rt/tst-cpuclock2.c: Include <stdint.h>.
7495         (do_test): Replace %lu with %ju and cast to uintmax_t.
7496         * rt/tst-mqueue1.c: Include <stdint.h>.
7497         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7498         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7499         intmax_t.
7500         * rt/tst-mqueue4.c (do_test): Likewise.
7501         * rt/tst-timer4.c: Include <stdint.h>.
7502         (check_ts): Replace %ld with %jd and cast to intmax_t.
7503         (do_test): Likewise.
7504         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7505         and cast to intmax_t.
7506         * sysdeps/pthread/tst-timer.c (main): Likewise.
7507         * time/clocktest.c (main): Likewise.
7508         * time/tst-posixtz.c (do_test): Likewise.
7509         * timezone/tst-timezone.c (main): Likewise.
7511 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7512             H.J. Lu  <hongjiu.lu@intel.com>
7514         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7515         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7516         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7517         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7518         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7519         version if bit_Fast_Unaligned_Load is set.
7520         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7521         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7522         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7523         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7524         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7525         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7527         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7528         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7529         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7530         to 4.
7531         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7532         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7533         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7534         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7536 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7538         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7539         instead of #if to avoid a Wundef warning.
7540         * stdlib/tst-limits.c (do_test): Likewise.
7542         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7543         parallel other exception macros.
7544         (fegetenv): Convert from macro to extern inline so that it applies
7545         retroactively to inline functions already seen by the compiler.
7546         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7548         * posix/Makefile (before-compile): Use $(objpfx) for
7549         posix-conf-vars-def.h.
7551 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7553         * posix/getconf.c (main): Use size_t for type of I.
7554         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7555         NSPEC.
7557         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7558         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7559         * posix/posix-envs.def: Likewise.
7560         * sysdeps/posix/sysconf.c: Likewise.
7561         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7562         (specs): Remove array.
7563         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7564         array.
7566         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7567         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7568         (__sysconf): Use CONF_IS_* macros.
7570         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7571         ($(objpfx)posix-conf-vars-def.h): New target.
7572         * posix/posix-conf-vars.list: New file.
7573         * posix/posix-conf-vars.h: New file.
7574         * posix/confstr.c: Include posix-conf-vars.h.
7575         (confstr): Use CONF_IS_* macros.
7576         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7577         CONF_IS_* macros.
7578         * scripts/gen-posix-conf-vars.awk: New file.
7580 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7582         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7583         fegetround): Add no-op macros to avoid linknamespace issues.
7585         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7586         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7588         * sysdeps/unix/sysv/linux/tile/sysdep.h
7589         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7590         assembly-specific section to avoid a redefinition warning.
7592         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7593         long before casting to pointer to avoid a cast warning.
7595 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7597         * sysdeps/tile/tilegx/Implies: New file.
7599 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7601         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7603 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7605         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7607 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7610         not define.
7611         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7612         <kernel-features.h>.
7613         (__utimes) [__NR_utimes]: Make code unconditional.
7614         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7615         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7616         (__ASSUME_UTIMES): Do not undefine.
7617         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7618         (__ASSUME_UTIMES): Likewise.
7619         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7620         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7621         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7622         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7624 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7626         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7628 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7630         [BZ #17747]
7631         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7632         alias to weak alias for j0l, y0l.
7633         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7634         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7636         [BZ #17746]
7637         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7638         conversion.
7640 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7642         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7643         to zero if not already defined.
7645 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7647         [BZ #17724]
7648         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7649         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7650         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7651         (char *) casts added.
7652         * sysdeps/ieee754/k_standardf.c: New file.
7653         * sysdeps/ieee754/k_standardl.c: Likewise.
7654         * math/Makefile (libm-support): Remove k_standard.
7655         (libm-calls): Add k_standard.
7657 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7659         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7660         Optimize to avoid an unnecessary FPCR read.
7662 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7664         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7665         Optimize to reduce FPCR/FPSR accesses.
7667 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7669         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7670         Call libc_fetestexcept_aarch64.
7672 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7674         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7675         Call libc_fesetround_aarch64.
7677 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7679         [BZ #17733]
7680         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7681         (__bind): Do not define as weak alias.
7682         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7683         define.
7684         (__getsockname): Do not define as weak alias.
7686 2014-12-22  Will Newton  <will.newton@linaro.org>
7688         * manual/install.texi: Document that we require bison 2.7
7689         or above.
7690         * INSTALL: Regenerate.
7691         * configure.ac: Use AC_CHECK_PROG_VER instead of
7692         AC_PATH_PROG when checking for bison and check for
7693         version 2.7 or above.
7694         * configure: Regenerate.
7696 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7698         [BZ #17745]
7699         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7700         * sysdeps/tile/ffsll.c (ffsll): To here.
7702         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7704 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7706         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7707         if not defined.
7708         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7709         definition.
7710         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7711         hidden ___tls_get_addr.
7712         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7713         hidden __tls_get_addr.
7714         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7715         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7716         Likewise.
7718 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7720         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7721         _dl_init call.
7723 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7725         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7726         from "call _dl_init@PLT".
7727         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7729 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7731         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7732         guarantees.
7734 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7736         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7738 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7740         [BZ #17744]
7741         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7742         strnlen.
7744 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7746         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7747         of multu on MIPSr6.
7748         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7749         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7750         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7751         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7752         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7754 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7756         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7757         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7758         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7759         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7760         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7761         mips32r6/mips64r6.
7762         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7764 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7766         * string/strncat.c (STRNCAT): Simplify implementation.
7768 2014-12-19  David S. Miller  <davem@davemloft.net>
7770         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7771         access the quad as both a long double and as a series of 4 words.
7773         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7774         link_map->l_info array access.
7776 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7778         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7780         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7781         * math/atest-exp2.c (TIMEOUT): Likewise.
7782         * math/atest-sincos.c (TIMEOUT): Likewise.
7784 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7786         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7787         -Wno-error with -fno-builtin-lround.
7789 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7791         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7792         Contains futex constants and functions moved over from ...
7793         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7794         <lowlevellock-futex.h>.
7795         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7796         (lll_timedwait_tid): Add comments and parentheses around macro
7797         arguments.
7799 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7801         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7802         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7803         (__lll_private_flag): Remove.
7804         (lll_futex_wait): Likewise.
7805         (lll_futex_timed_wait): Likewise.
7806         (lll_futex_wake): Likewise.
7807         (lll_futex_requeue): Likewise.
7808         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7809         (__lll_timedwait_tid): Spell out argument names.
7810         (lll_timedwait_tid): Add comments and parentheses around macro
7811         arguments.
7812         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7813         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7815 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7817         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7818         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7820         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7821         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7822         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7823         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7824         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7825         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7826         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7828         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7831         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7832         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7833         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7834         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7835         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7837 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7839         * sysdeps/x86_64/x32/Makefile: New file.
7841 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7843         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7844         1L with (mp_limb_t) 1.
7846 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7848         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7849         * nptl/libc_pthread_init.c: ... here.
7850         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7851         * nptl/register-atfork.c: ... here.
7853         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7854         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7855         Use assert_perror to check its return value.
7856         (__gai_create_helper_thread): Likewise.
7858         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7860         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7862 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7864         [BZ #17725]
7865         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7866         __profil_counter.
7867         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7868         Likewise.
7869         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7870         Likewise.
7871         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7872         Likewise.
7873         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7874         (profil_counter): Likewise.
7875         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7876         (profil_counter): Likewise.
7877         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7878         Likewise.
7879         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7880         Likewise.
7881         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7882         (profil_counter): Likewise.
7883         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7884         Likewise.
7885         [!__profil_counter] (profil_counter): Define as weak alias of
7886         __profil_counter.
7887         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7888         (profil_counter): Rename to __profil_counter.
7889         [!__profil_counter] (profil_counter): Define as weak alias of
7890         __profil_counter.
7891         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7892         (profil_counter): Rename to __profil_counter.
7893         [!__profil_counter] (profil_counter): Define as weak alias of
7894         __profil_counter.
7895         * sysdeps/posix/profil.c: Update comment referring to
7896         profil_counter.
7897         (__profil): Use __profil_counter instead of profil_counter.
7898         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7899         __profil_counter.  Use __profil_counter_ushort and
7900         __profil_counter_uint in definitions.
7901         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7902         instead of profil_counter_uint and profil_counter_ushort.
7904         [BZ #17722]
7905         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7906         define as weak alias of __inet_makeaddr.
7907         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7908         as weak alias of __inet_addr.
7909         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7910         as weak alias of __inet_pton.  Use libc_hidden_weak.
7911         * include/arpa/inet.h (__inet_pton): Declare.  Use
7912         libc_hidden_proto.
7913         (inet_makeaddr): Don't use libc_hidden_proto.
7914         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7915         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7916         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7917         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7918         Remove variable.
7919         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7920         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7922 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7924         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7926 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7928         * stdio-common/bug-vfprintf-nargs.c (do_test):
7929         Cast value to intptr_t to avoid format warning
7930         for usage with PRIdPTR printing macro.
7932 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7934         * libio/tst-widetext.c (do_test):
7935         Use format type %td instead of %Zd for ptrdiff_t
7936         in order to avoid format warning.
7938 2014-12-17  Andreas Schwab  <schwab@suse.de>
7940         * nscd/mem.c (gc): Add size_t cast to match printf format.
7942 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7944         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7945         (init): Apply PTR_MANGLE to pointers before storing them.
7946         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7947         before using them.
7949 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7951         [BZ #17719]
7952         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7953         define as weak alias of __memrchr.
7954         (__memrchr): Do not define as strong alias of memrchr.
7955         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7956         Remove variable.
7957         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7958         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7959         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7961         [BZ #17717]
7962         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7963         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7964         (if_indextoname): Rename to __if_indextoname and define as weak
7965         alias of __if_indextoname.  Use libc_hidden_weak.
7966         (if_freenameindex): Rename to __if_freenameindex and define as
7967         weak alias of __if_freenameindex.
7968         (if_nameindex): Rename to __if_nameindex and define as weak alias
7969         of __if_nameindex.
7970         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7971         __if_nametoindex and define as weak alias of __if_nametoindex.
7972         Use libc_hidden_weak.
7973         (if_freenameindex): Rename to __if_freenameindex and define as
7974         weak alias of __if_freenameindex.
7975         (if_nameindex): Rename to __if_nameindex and define as weak alias
7976         of __if_nameindex.
7977         (if_indextoname): Rename to __if_indextoname and define as weak
7978         alias of __if_indextoname.  Use libc_hidden_weak.
7979         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7980         __if_nametoindex and define as weak alias of __if_nametoindex.
7981         Use libc_hidden_weak.
7982         (if_freenameindex): Rename to __if_freenameindex and define as
7983         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7984         (if_nameindex_netlink): Use __if_freenameindex instead of
7985         if_freenameindex.
7986         (if_nameindex): Rename to __if_nameindex and define as weak alias
7987         of __if_nameindex.  Use libc_hidden_weak.
7988         (if_indextoname): Rename to __if_indextoname and define as weak
7989         alias of __if_indextoname.  Use libc_hidden_weak.
7990         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7991         libc_hidden_proto.
7992         [!_ISOMAC] (__if_freenameindex): Likewise.
7993         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7994         if_nametoindex.
7995         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7996         variable.
7997         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7998         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7999         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8000         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8001         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8002         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8003         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8005         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8006         Remove variable.
8007         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8008         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8010 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8012         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8013         subscript above bounds'
8015         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8016         bounds.
8018 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8020         * libio/tst-fopenloc.c: Use test-skeleton.c.
8022         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8023         (entry): Rename to ITEM.
8024         (do_test, comp): Adjust.
8026         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8028 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8030         * string/tester.c: Include <libc-internal.h>.
8031         (test_memset): Ignore -Wmemset-transposed-args.
8033 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8035         * misc/tst-mntent2.c (do_test): Fix warning.
8037 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8039         * elf/tst-unique4lib.cc(a): Mark as used.
8041 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8043         [BZ #17630]
8044         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8045         names.
8047 2014-12-16  Allan McRae  <allan@archlinux.org>
8049         * stdio-common/Makefile (tests): Re-add bug26.
8051 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8053         [BZ #17657]
8054         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8055         static array.
8057 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8059         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8060         (__lll_lock_wait): Likewise.
8061         (__lll_timedlock_wait): Likewise.
8062         (__lll_timedwait_tid): Likewise.
8063         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8064         (__lll_robust_timedlock_wait): Likewise.
8065         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8066         (lll_cond_trylock): Likewise.
8067         (__lll_lock): Likewise.
8068         (__lll_robust_lock): Likewise.
8069         (__lll_cond_lock): Likewise.
8070         (lll_robust_cond_lock): Likewise.
8071         (__lll_timedlock): Likewise.
8072         (__lll_robust_timedlock): Likewise.
8073         (__lll_unlock): Likewise.
8074         (__lll_robust_unlock): Likewise.
8075         (lll_wait_tid): Likewise.
8076         (lll_timedwait_tid): Likewise.
8078 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8080         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8082 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8084         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8086 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8088         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8089         * stdio-common/tst-sprintf.c: Likewise.
8091 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8093         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8095 2014-12-15  Jeff Law  <law@redhat.com>
8097         [BZ #16617]
8098         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8099         on the heap.  (CVE-2012-3406)
8100         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8101         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8102         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8104 2014-12-15  Will Newton  <will.newton@linaro.org>
8106         * manual/install.texi: Bump required version of texinfo
8107         to 4.7 from 4.5.
8108         * INSTALL: Regenerated.
8109         * configure.ac: Check for makeinfo version 4.7 and above.
8110         * configure: Regenerated.
8112 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8114         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8115         PREFIX, string constant to insert between directory and name.
8116         * sysdeps/posix/shm_open.c: Update caller.
8117         * sysdeps/posix/shm_unlink.c: Likewise.
8118         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8119         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8120         (SEM_SHM_PREFIX): New macro.
8121         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8122         [$(have-thread-library) = no].
8123         * nptl/Makefile (libpthread-routines): Add shm-directory.
8124         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8125         * sysdeps/nptl/shm-directory.h: New file.
8126         * sysdeps/posix/shm-directory.c
8127         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8128         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8129         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8130         INTERNAL_SYSCALL.
8131         (__where_is_shmfs): Function removed.
8132         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8133         Variables removed.
8134         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8135         Use SHM_GET_NAME.
8136         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8138         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8139         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8140         unconditional for use inside libpthread.
8141         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8143 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8145         * nptl/pthread_getaffinity.c: New file.
8146         * nptl/pthread_setaffinity.c: New file.
8147         * nptl/pthread_getname.c: New file.
8148         * nptl/pthread_setname.c: New file.
8150         * nptl/pthread_create.c (START_THREAD_DEFN)
8151         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8153 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8154             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8156         * resolv/res_send.c (send_vc): Disable warning resplen may
8157         be used uninitialized.
8159 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8161         * nptl/tst-mutex6.c
8162         (ATTR_NULL): New define checks ATTR against NULL.
8163         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8164         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8166 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8168         [BZ #17581]
8169         * malloc/hooks.c
8170         (mem2mem_check): Revert my previous change.
8171         (malloc_check_get_size): Revert my previous change.
8172         (mem2chunk_check): Revert my previous change.
8174 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8176         * sysdeps/posix/shm-directory.c: New file.
8177         * sysdeps/posix/shm-directory.h: New file.
8178         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8179         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8180         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8181         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8182         Transmute EPERM to EACCES.
8183         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8184         from ...
8185         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8186         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8188 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8190         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8191         pointer and cast to uintptr_t.
8192         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8193         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8194         Add cast to avoid warning.
8195         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8197 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8199         * nptl/semaphore.h: Move to ...
8200         * sysdeps/pthread/semaphore.h: ... here.
8201         * Makefile (installed-headers): Change nptl/semaphore.h to
8202         sysdeps/pthread/semaphore.h.
8204 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8206         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8207         generated error format strings.
8209         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8210         -Wformat-extra-args warnings for scanf formats.
8211         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8212         test of zero-length format (duh).
8213         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8214         corner-case scanf format test.
8215         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8216         generated fprintf format string.
8217         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8218         corner-case sprintf format tests.
8219         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8220         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8221         -Wformat-extra-args warnings throughout.
8222         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8223         (CFLAGS-scanf4.c): Likewise.
8224         (CFLAGS-scanf7.c): Likewise.
8225         (CFLAGS-tst-sprintf.c): Likewise.
8226         (CFLAGS-tst-printf.c): Likewise.
8227         (CFLAGS-tst-printfsz.c): Likewise.
8229 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8231         * include/cpio.h: New file.
8232         * include/fmtmsg.h: Likewise.
8234         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8235         corresponding format argument to size_t.
8236         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8237         arguments.
8238         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8239         corresponding format argument to size_t.
8240         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8241         arguments.
8242         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8243         corresponding format argument to size_t.
8244         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8245         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8246         (CFLAGS-tst-mbswcs2.c): Likewise.
8247         (CFLAGS-tst-mbswcs3.c): Likewise.
8248         (CFLAGS-tst-mbswcs4.c): Likewise.
8249         (CFLAGS-tst-mbswcs5.c): Likewise.
8250         (CFLAGS-tst-trans.c): Likewise
8252 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8254         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8255         rather than assuming they won't contain any '%'s.
8257 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8259         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8260         inhibit_loop_to_libcall to avoid recursive calls.
8261         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8262         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8264 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8266         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8267         prototype.
8269 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8271         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8272         integer value instead of boolean.
8274 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8276         * malloc/malloc.c: Fix powerof2 check.
8278 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8280         * locale/programs/locfile.h (maybe_swap_uint32):
8281         Remove inline and add unused attribute.
8283 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8286         Truncating assembler expression to a .long expression.
8288 2014-12-11  Andreas Schwab  <schwab@suse.de>
8290         * elf/rtld.c (struct map_args): Constify str member.
8291         (do_preload): Constify fname argument.
8293 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8296         constants definition.
8298 2014-12-11  Andreas Schwab  <schwab@suse.de>
8300         [BZ #16657]
8301         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8302         FORCE_ELISION instead of DO_ELISION.
8303         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8304         Remove.
8305         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8306         Likewise.
8308         * iconvdata/gconv-modules: Remove duplicate entry.
8310 2014-12-11  Will Newton  <will.newton@linaro.org>
8312         Merge gettext 0.19.3 into intl/.
8314         This involves a number of cosmetic changes to comments
8315         and ANSI function definitions and prototypes throughout
8316         all the files. The gettext copyright header is used but
8317         with the date ranges taken from the glibc copy.
8319         * NEWS: Add gettext merge to 2.21.
8320         * intl/bindtextdom.c: Switch to gettext copyright.
8321         Use ANSI definitions and prototypes.
8322         Use gl_* locking primitives rather than __libc_* ones.
8323         Use __builtin_expect rather than __glibc_likely/unlikely.
8324         * intl/dcgettext.c: Switch to gettext copyright.
8325         Use ANSI definitions and prototypes.
8326         * intl/dcigettext.c: Switch to gettext copyright.
8327         Use ANSI definitions and prototypes.
8328         (INTDIV0_RAISES_SIGFPE): New define.
8329         Use gl_* locking primitives rather than __libc_* ones.
8330         Include eval-plural.h instead of plural-eval.c.
8331         Use __builtin_expect rather than __glibc_likely/unlikely.
8332         * intl/dcngettext.c: Switch to gettext copyright.
8333         Use ANSI definitions and prototypes.
8334         * intl/dgettext.c: Likewise.
8335         * intl/dngettext.c: Likewise.
8336         * intl/plural-eval.c: Renamed to...
8337         * intl/eval-plural.h: ...this.
8338         * intl/explodename.c: Switch to gettext copyright.
8339         Use ANSI definitions and prototypes.
8340         (_nl_explode_name): Use strchr instead of __rawmemchr.
8341         * intl/finddomain.c: Switch to gettext copyright.
8342         Use ANSI definitions and prototypes.
8343         Use gl_* locking primitives rather than __libc_* ones.
8344         (_nl_find_domain): Use malloc rather than alloca for
8345         allocation of temporary locale name.
8346         * intl/gettext.c: Switch to gettext copyright.
8347         Use ANSI definitions and prototypes.
8348         * intl/gettextP.h: Switch to gettext copyright.
8349         Use ANSI definitions and prototypes.
8350         Use gl_* locking primitives rather than __libc_* ones.
8351         * intl/gmo.h: Switch to gettext copyright.
8352         (struct sysdep_string): Move struct segment_pair outside of
8353         struct definition.
8354         * intl/hash-string.c: Use ANSI definitions and prototypes.
8355         * intl/hash-string.h: Switch to gettext copyright.
8356         Use ANSI definitions and prototypes.
8357         * intl/l10nflist.c: Switch to gettext copyright.
8358         Use ANSI definitions and prototypes.
8359         (_nl_normalize_codeset): Avoid integer overflow.
8360         * intl/loadinfo.h: Switch to gettext copyright.
8361         Use ANSI definitions and prototypes.
8362         (LIBINTL_DLL_EXPORTED): New define.
8363         (PATH_SEPARATOR): New define.
8364         * intl/loadmsgcat.c: Switch to gettext copyright.
8365         * intl/localealias.c: Switch to gettext copyright.
8366         Use ANSI definitions and prototypes.
8367         (_nl_expand_alias): Use PATH_SEPARATOR.
8368         * intl/ngettext.c: Switch to gettext copyright.
8369         Use ANSI definitions and prototypes.
8370         * intl/plural-exp.c: Likewise.
8371         * intl/plural-exp.h: Switch to gettext copyright.
8372         Use ANSI definitions and prototypes.
8373         (struct expression): Move definition of enum operator outside
8374         of struct definition.
8375         * intl/plural.c: Regenerate.
8376         * intl/plural.y: Switch to gettext copyright.
8377         Use ANSI definitions and prototypes.
8378         Port to bison 3.0.
8379         * intl/textdomain.c: Switch to gettext copyright.
8380         Use ANSI definitions and prototypes.
8381         Use gl_* locking primitives rather than __libc_* ones.
8383 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8385         * debug/warning-nop.c: Add used atrribute.
8387 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8389         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8391         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8392         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8393         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8395 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8396             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8398         [BZ #17634]
8399         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8400         Undefine after defining function.  Define as weak alias of
8401         __wcschr.  Use libc_hidden_weak.
8402         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8403         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8404         (libc_hidden_def): Also define __GI___wcschr alias.
8405         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8406         __wcschr and define as weak alias of __wcschr.
8407         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8408         __wcschr.
8409         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8410         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8411         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8412         libc_hidden_weak.  Do not use libc_hidden_def.
8413         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8414         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8415         __GI___wcschr alias.
8416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8417         [IS_IN (libc)] (wcschr): Define as macro expanding to
8418         __redirect_wcschr.
8419         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8420         [IS_IN (libc)] (__wcschr_power6): Likewise.
8421         [IS_IN (libc)] (__wcschr_power7): Likewise.
8422         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8423         instead of wcschr.
8424         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8425         __libc_wcschr.
8426         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8427         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8428         __wcschr and define as weak alias of __wcschr.  Use
8429         libc_hidden_builtin_def.
8430         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8431         as weak alias of __wcschr.  Use libc_hidden_weak.
8432         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8433         wcschr.
8434         * time/era.c (_nl_init_era_entries): Likewise.
8435         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8436         variable.
8437         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8438         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8440 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8442         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8443         format for long int variable.
8445 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8447         [BZ #10672]
8448         * manual/search.texi: (Array Sort Function): Remove claim how to make
8449         qsort stable.
8451 2014-12-10  Andreas Schwab  <schwab@suse.de>
8453         [BZ #12847]
8454         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8455         user-controlled locks.
8457 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8459         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8460         register.
8462 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8464         * configure.ac (--disable-werror): New configure option.
8465         (enable_werror): New AC_SUBST.
8466         * configure: Regenerated.
8467         * config.make.in (enable-werror): New variable.
8468         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8469         -Wno-error=undef.
8470         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8471         * manual/install.texi (Configuring and compiling): Document
8472         --disable-werror.
8473         * INSTALL: Regenerated.
8474         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8475         (CFLAGS-tst-chk2.c): Likewise.
8476         (CFLAGS-tst-chk3.c): Likewise.
8477         (CFLAGS-tst-chk4.cc): Likewise.
8478         (CFLAGS-tst-chk5.cc): Likewise.
8479         (CFLAGS-tst-chk6.cc): Likewise.
8480         (CFLAGS-tst-lfschk1.c): Likewise.
8481         (CFLAGS-tst-lfschk2.c): Likewise.
8482         (CFLAGS-tst-lfschk3.c): Likewise.
8483         (CFLAGS-tst-lfschk4.cc): Likewise.
8484         (CFLAGS-tst-lfschk5.cc): Likewise.
8485         (CFLAGS-tst-lfschk6.cc): Likewise.
8487         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8488         (main): Disable -Wdeprecated-declarations around calls to
8489         register_printf_function.
8491         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8492         (do_test): Disable -Wdiv-by-zero around some calls to
8493         fwrite_unlocked and fread_unlocked.
8495         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8496         (DIAG_POP_NEEDS_COMMENT): Likewise.
8497         (_DIAG_STR1): Likewise.
8498         (_DIAG_STR): Likewise.
8499         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8500         * stdio-common/bug21.c: Include <libc-internal.h>.
8501         (do_test): Disable -Wformat around call to sscanf.
8502         * stdio-common/scanf14.c: Include <libc-internal.h>.
8503         (main): Disable -Wformat around some calls to scanf functions.
8505 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8507         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8509 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8511         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8512         stack variable alignment.
8514 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8516         [BZ #17682]
8517         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8518         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8519         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8520         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8521         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8522         __getrlimit instead of getrlimit.
8523         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8524         __gettimeofday instead of gettimeofday.
8525         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8526         Likewise.
8527         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8528         Likewise.
8529         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8530         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8531         Remove variable.
8532         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8533         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8535 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8537         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8538         for wide-character tests.
8540 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8542         * io/openat64.c: #include <libc-internal.h>
8543         (__openat64): Prototypify.  Use ignore_value on MODE.
8544         * io/openat.c: Likewise.
8545         * misc/reboot.c: #include <libc-internal.h>
8546         (reboot): Prototypify.  Use ignore_value on HOWTO.
8547         * misc/ptrace.c: #include <libc-internal.h>
8548         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8550 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8552         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8553         XPG4, UNIX98 and XOPEN2K.
8554         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8555         Remove variable.
8556         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8558 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         * libio/fileops.c: Use ISO C style for function definitions.
8561         * libio/iofopen.c: Likewise.
8562         * libio/wfileops.c: Likewise.
8564         [BZ #17653]
8565         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8566         offset on EOF.
8567         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8568         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8569         (fgets_func): Function pointer to fgets and fgetws.
8570         (do_ftell_test): Add test to verify ftell value after read
8571         EOF.
8572         (do_test): Set fgets_func.
8574         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8575         O_TRUNC flag for w and w+ modes.
8576         (do_rewind_test): Likewise.
8577         (do_ftell_test): Likewise.
8578         (do_write_test): Likewise.
8580         [BZ #17647]
8581         * libio/fileops.c (do_ftell): Seek only when there are
8582         unflushed writes.
8583         * libio/wfileops.c (do_ftell_wide): Likewise.
8584         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8585         test case.
8586         (do_one_test): Call it.
8588 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8590         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8591         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8592         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8593         Remove variable.
8594         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8595         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8596         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8598 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8600         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8601         Remove variable.
8602         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8604         [BZ #17668]
8605         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8606         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8607         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8608         __freeifaddrs.  Use libc_hidden_weak.
8609         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8610         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8611         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8612         __freeifaddrs.  Use libc_hidden_weak.
8613         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8614         __getifaddrs and define as weak alias of __getifaddrs.  Use
8615         libc_hidden_weak.
8616         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8617         __freeifaddrs.  Use libc_hidden_weak.
8618         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8619         Remove variable.
8620         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8621         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8623 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8625         [BZ #17601]
8626         * sysdeps/mips/start.S (__start): Use indirect jump to call
8627         __libc_start_main.
8629 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8631         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8633         * nptl/tst-mutex1.c: Include <stdbool.h>.
8634         [!ATTR] (ATTR_NULL): New macro.
8635         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8636         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8637         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8639         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8640         to char *.
8642         [BZ #17665]
8643         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8644         Change conditional to [__USE_MISC].
8646         [BZ #17664]
8647         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8648         fgets_unlocked.
8649         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8650         __fgets_unlocked.
8651         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8652         fgets_unlocked.
8653         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8654         Remove variable.
8655         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8656         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8657         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8658         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8659         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8660         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8661         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8662         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8663         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8665         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8667 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8669         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8670         Remove strpbrk objects.
8671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8672         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8673         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8675         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8676         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8679         Remove strcspn objects.
8680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8681         (__libc_ifunc_impl_list): Remove strcspn implementation.
8682         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8683         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8684         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8685         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8688         Remove strspn objetcs.
8689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8690         (__libc_ifunc_impl_list): Remove strspn implementation.
8691         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8692         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8693         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8694         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8696 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8698         [BZ #17581]
8699         * malloc/hooks.c
8700         (mem2mem_check): Add a terminator to the chain of checking blocks.
8701         (malloc_check_get_size): Use it here.
8702         (mem2chunk_check): Ditto.
8704 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8706         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8707         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8709 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8711         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8713         * nptl/nptl-init.c: Include libc-internal.h.
8714         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8716         * elf/ldconfig.c (search_dir): Expand comment.
8718 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8720         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8721         variable.
8722         (linknamespace-symlist-stdlibs-tests): Likewise.
8723         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8724         instead of $(objpfx)symlist-stdlibs.
8725         (linknamespace-libs-isoc): New variable.
8726         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8727         (linknamespace-libs-ISO): New variable.
8728         (linknamespace-libs-ISO99): Likewise.
8729         (linknamespace-libs-ISO11): Likewise.
8730         (linknamespace-libs-XPG3): Likewise.
8731         (linknamespace-libs-XPG4): Likewise.
8732         (linknamespace-libs-POSIX): Likewise.
8733         (linknamespace-libs-UNIX98): Likewise.
8734         (linknamespace-libs-XOPEN2K): Likewise.
8735         (linknamespace-libs-POSIX2008): Likewise.
8736         (linknamespace-libs-XOPEN2K8): Likewise.
8737         ($(objpfx)symlist-stdlibs): Replace by
8738         $(linknamespace-symlist-stdlibs-tests).  Use
8739         $(linknamespace-libs-$*) as set of libraries.
8740         ($(linknamespace-header-tests)): Update dependencies.  Use
8741         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8742         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8743         * conform/linknamespace.pl: Remove comment about considering
8744         definitions of symbols from irrelevant libraries.
8746 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8748         [BZ #13862]
8749         * elf/dl-tls.c: Include <atomic.h>.
8750         (oom): Remove #ifdef SHARED/#endif.
8751         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8752         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8753         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8754         big enough.
8755         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8756         * nptl/Makefile (tests): Add tst-stack4.
8757         (modules-names): Add tst-stack4mod.
8758         ($(objpfx)tst-stack4): New.
8759         (tst-stack4mod.sos): Likewise.
8760         ($(objpfx)tst-stack4.out): Likewise.
8761         ($(tst-stack4mod.sos)): Likewise.
8762         (clean): Likewise.
8763         * nptl/tst-stack4.c: New file.
8764         * nptl/tst-stack4mod.c: Likewise.
8766 2014-11-27  J. Brown  <jb999@gmx.de>
8768         * sysdeps/x86/bits/string.h: Add recent CPUs.
8770 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8772         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8773         sigblock.
8775         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8776         feof.
8778         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8779         variable.
8781 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8783         * nscd/connections.c: Include libc-internal.h because of macro
8784         usage ignore_value.
8786 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8788         * string/bits/string3.h (__warn_memset_zero_len): Don't
8789         declare for gcc newer than 5.0.
8790         (memset): Don't test for zero-length __LEN for gcc newer than
8791         5.0.
8793 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8795         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8796         size_t for %zu format.
8798         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8799         difference, not %ju.
8801 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8803         * include/libc-internal.h (ignore_value): New macro.
8804         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8805         with ignore_value.
8807         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8808         definition.
8810         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8811         pthread_cleanup_push to void *.
8813         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8814         Undefine.
8816         [BZ #16619]
8817         [BZ #16740]
8818         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8819         instead of 1L << 52.
8821         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8822         * libio/bug-rewind2.c (do_test): Likewise.
8824         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8825         * debug/test-strcpy_chk-ifunc.c: Likewise.
8826         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8827         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8828         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8829         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8830         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8831         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8832         * Rules [$(multi-arch) = no] (tests): Do not filter out
8833         $(tests-ifunc).
8834         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8835         * debug/Makefile (tests-ifunc): Remove variable.
8836         (tests): Do not add $(tests-ifunc).
8837         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8838         (tests): Do not add $(tests-ifunc).
8839         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8840         [TEST_IFUNC]: Remove conditionals.
8841         * string/test-string.h (TEST_IFUNC): Remove macro.
8842         [TEST_IFUNC]: Remove conditionals.
8844         * string/test-strchr.c [!WIDE] (L): New macro.
8845         [WIDE] (L): Likewise.
8846         (check1): Use CHAR instead of char.  Use L on string and character
8847         constants.
8849 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8851         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8852         tests.
8853         * sysdeps/powerpc/bits/atomic.h
8854         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8855         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8856         (atomic_exchange_and_add_acq): Likewise.
8857         (atomic_exchange_and_add_rel): Likewise.
8858         * sysdeps/powerpc/powerpc32/bits/atomic.h
8859         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8860         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8861         * sysdeps/powerpc/powerpc64/bits/atomic.h
8862         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8863         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8865 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8867         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8868         Change synchronization of __sched_fifo_min_prio and
8869         __sched_fifo_max_prio.
8870         * nptl/pthread_mutexattr_getprioceiling.c
8871         (pthread_mutexattr_getprioceiling): Likewise.
8872         * nptl/pthread_mutexattr_setprioceiling.c
8873         (pthread_mutexattr_setprioceiling): Likewise.
8874         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8875         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8876         Likewise.
8878 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8880         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8881         void.
8883 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8885         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8886         third argument const.
8888 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8890         fnmatch: work around GCC compiler warning bug with uninit var
8891         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8892         This works around a bug with x86-64 GCC 4.9.2 and earlier
8893         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8894         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8895         used uninitialized in this function [-Wmaybe-uninitialized]".
8897 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8899         * posix/bug-regex31.c (main): Return RES not 0.
8901 2014-11-25  Anton Blanchard <anton@samba.org>
8903         * sysdeps/powerpc/bits/atomic.h
8904         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8906 2014-11-24  Sterling Augustine  <saugustine@google.com>
8908         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8910 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8912         [BZ #17608]
8913         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8915 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8917         [BZ #17633]
8918         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8919         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8920         variable.
8921         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8922         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8924 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8926         * string/strncpy.c (strncpy): Improve performance by using memset.
8928 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8930         * string/strcpy.c (strcpy):
8931         Improve performance by using strlen and memcpy.
8933 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8935         * string/strcoll_l.c (get_next_seq): __always_inline.
8936         * string/strcoll_l.c (do_compare): __always_inline.
8938 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8940         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8941         defined.
8942         * include/mqueue.h: Likewise.
8943         * include/stdlib.h: Likewise.
8945         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8946         (get_null_defines): Adjust.
8947         * sunrpc/Makefile: Adjust comment.
8948         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8949         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8950         (CFLAGS-interp.c): Likewise.
8951         (CFLAGS-ldconfig.c): Likewise.
8952         (CPPFLAGS-.os): Likewise.
8953         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8954         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8955         * extra-modules.mk (extra-modules.mk): Likewise.
8956         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8957         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8958         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8959         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8960         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8961         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8962         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8963         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8964         * iconvdata/Makefile (CPPFLAGS): Likewise.
8965         (cpp-srcs-left): Add libof for all iconvdata routines.
8966         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8967         * include/assert.h: Likewise.
8968         * include/ctype.h: Likewise.
8969         * include/errno.h: Likewise.
8970         * include/libc-symbols.h: Likewise.
8971         * include/math.h: Likewise.
8972         * include/netdb.h: Likewise.
8973         * include/resolv.h: Likewise.
8974         * include/stdio.h: Likewise.
8975         * include/stdlib.h: Likewise.
8976         * include/string.h: Likewise.
8977         * include/sys/stat.h: Likewise.
8978         * include/wctype.h: Likewise.
8979         * intl/l10nflist.c: Likewise.
8980         * libidn/idn-stub.c: Likewise.
8981         * libio/libioP.h: Likewise.
8982         * nptl/libc_multiple_threads.c: Likewise.
8983         * nptl/pthreadP.h: Likewise.
8984         * posix/regex_internal.h: Likewise.
8985         * resolv/res_hconf.c: Likewise.
8986         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8987         * sysdeps/arm/memmove.S: Likewise.
8988         * sysdeps/arm/sysdep.h: Likewise.
8989         * sysdeps/generic/_itoa.h: Likewise.
8990         * sysdeps/generic/symbol-hacks.h: Likewise.
8991         * sysdeps/gnu/errlist.awk: Likewise.
8992         * sysdeps/gnu/errlist.c: Likewise.
8993         * sysdeps/i386/i586/memcpy.S: Likewise.
8994         * sysdeps/i386/i586/memset.S: Likewise.
8995         * sysdeps/i386/i686/memcpy.S: Likewise.
8996         * sysdeps/i386/i686/memmove.S: Likewise.
8997         * sysdeps/i386/i686/mempcpy.S: Likewise.
8998         * sysdeps/i386/i686/memset.S: Likewise.
8999         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9000         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9001         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9002         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9003         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9004         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9005         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9015         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9016         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9017         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9018         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9019         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9020         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9021         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9022         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9023         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9024         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9025         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9026         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9028         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9029         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9030         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9032         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9033         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9035         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9036         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9039         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9040         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9041         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9042         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9043         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9044         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9045         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9046         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9047         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9048         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9049         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9050         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9051         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9052         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9053         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9054         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9055         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9056         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9057         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9058         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9059         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9060         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9061         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9062         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9063         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9064         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9065         * sysdeps/posix/closedir.c: Likewise.
9066         * sysdeps/posix/opendir.c: Likewise.
9067         * sysdeps/posix/readdir.c: Likewise.
9068         * sysdeps/posix/rewinddir.c: Likewise.
9069         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9070         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9071         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9072         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9073         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9075         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9076         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9077         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9078         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9079         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9080         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9081         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9082         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9083         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9084         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9085         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9086         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9090         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9091         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9092         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9094         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9097         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9104         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9105         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9106         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9107         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9108         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9109         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9110         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9111         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9113         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9114         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9115         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9116         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9117         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9118         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9119         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9120         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9123         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9125         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9126         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9127         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9128         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9129         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9130         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9131         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9132         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9133         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9134         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9135         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9136         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9137         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9138         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9139         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9140         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9141         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9142         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9143         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9145         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9146         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9147         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9148         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9149         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9150         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9151         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9153         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9155         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9156         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9157         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9158         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9159         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9160         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9161         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9162         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9165         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9167         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9168         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9169         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9170         * sysdeps/unix/alpha/sysdep.S: Likewise.
9171         * sysdeps/unix/alpha/sysdep.h: Likewise.
9172         * sysdeps/unix/make-syscalls.sh: Likewise.
9173         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9175         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9176         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9177         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9178         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9179         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9180         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9181         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9182         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9183         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9184         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9185         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9186         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9187         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9188         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9189         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9190         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9191         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9192         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9193         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9194         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9195         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9196         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9197         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9198         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9202         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9203         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9207         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9210         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9211         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9212         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9213         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9214         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9215         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9216         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9217         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9220         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9223         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9224         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9225         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9226         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9227         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9229         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9231         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9232         * sysdeps/x86_64/memcpy.S: Likewise.
9233         * sysdeps/x86_64/memmove.c: Likewise.
9234         * sysdeps/x86_64/memset.S: Likewise.
9235         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9236         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9237         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9238         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9239         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9242         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9243         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9244         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9245         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9246         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9247         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9250         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9251         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9252         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9253         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9254         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9255         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9256         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9257         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9258         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9259         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9260         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9261         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9262         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9263         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9264         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9265         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9266         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9267         * sysdeps/x86_64/strcmp.S: Likewise.
9269         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9271         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9272         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9273         * elf/rtld-Rules: Likewise.
9274         * elf/setup-vdso.h: Likewise.
9275         * include/assert.h: Likewise.
9276         * include/bits/stdlib-float.h: Likewise.
9277         * include/errno.h: Likewise.
9278         * include/sys/stat.h: Likewise.
9279         * include/unistd.h: Likewise.
9280         * sysdeps/aarch64/setjmp.S: Likewise.
9281         * sysdeps/alpha/setjmp.S: Likewise.
9282         * sysdeps/arm/__longjmp.S: Likewise.
9283         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9284         * sysdeps/arm/setjmp.S: Likewise.
9285         * sysdeps/arm/sysdep.h: Likewise.
9286         * sysdeps/generic/_itoa.h: Likewise.
9287         * sysdeps/generic/dl-sysdep.h: Likewise.
9288         * sysdeps/generic/ldsodefs.h: Likewise.
9289         * sysdeps/i386/dl-tls.h: Likewise.
9290         * sysdeps/i386/setjmp.S: Likewise.
9291         * sysdeps/m68k/setjmp.c: Likewise.
9292         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9293         * sysdeps/mach/hurd/opendir.c: Likewise.
9294         * sysdeps/posix/getcwd.c: Likewise.
9295         * sysdeps/posix/opendir.c: Likewise.
9296         * sysdeps/posix/profil.c: Likewise.
9297         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9298         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9299         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9300         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9301         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9302         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9303         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9304         * sysdeps/s390/dl-tls.h: Likewise.
9305         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9306         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9307         * sysdeps/sh/sh3/setjmp.S: Likewise.
9308         * sysdeps/sh/sh4/setjmp.S: Likewise.
9309         * sysdeps/unix/alpha/sysdep.h: Likewise.
9310         * sysdeps/unix/arm/sysdep.S: Likewise.
9311         * sysdeps/unix/i386/sysdep.S: Likewise.
9312         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9313         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9314         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9315         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9316         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9317         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9318         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9319         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9320         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9321         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9322         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9323         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9327         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9330         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9331         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9332         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9335         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9336         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9337         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9339         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9340         * sysdeps/x86_64/setjmp.S: Likewise.
9342         * include/math.h: Use IS_IN instead of IS_IN_libm.
9343         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9344         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9345         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9348         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9349         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9350         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9351         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9352         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9353         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9354         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9355         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9356         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9357         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9358         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9359         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9360         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9361         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9362         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9363         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9364         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9365         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9366         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9367         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9368         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9369         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9370         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9371         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9372         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9373         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9374         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9375         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9377         Likewise.
9378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9379         Likewise.
9380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9381         Likewise.
9382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9383         Likewise.
9384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9385         Likewise.
9386         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9387         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9388         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9389         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9390         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9391         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9397         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9398         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9399         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9400         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9401         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9402         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9403         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9404         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9405         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9406         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9407         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9410         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9412         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9414         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9415         * nptl/pthreadP.h: Likewise.
9416         * nptl_db/structs.def: Likewise.
9417         * sysdeps/arm/sysdep.h: Likewise.
9418         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9419         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9420         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9421         * sysdeps/unix/alpha/sysdep.h: Likewise.
9422         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9424         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9425         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9426         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9427         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9429         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9430         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9431         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9432         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9433         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9434         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9435         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9440         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9441         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9442         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9443         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9444         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9445         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9446         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9447         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9449         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9450         * nptl/pthreadP.h: Likewise.
9451         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9452         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9453         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9454         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9455         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9456         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9457         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9458         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9459         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9460         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9461         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9462         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9464         Likewise.
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9466         Likewise.
9467         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9469         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9470         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9472         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9473         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9474         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9476         * dlfcn/dladdr.c: Use IS_IN.
9477         * dlfcn/dladdr1.c: Likewise.
9478         * dlfcn/dlclose.c: Likewise.
9479         * dlfcn/dlerror.c: Likewise.
9480         * dlfcn/dlinfo.c: Likewise.
9481         * dlfcn/dlmopen.c: Likewise.
9482         * dlfcn/dlopen.c: Likewise.
9483         * dlfcn/dlsym.c: Likewise.
9484         * dlfcn/dlvsym.c: Likewise.
9486         * include/ifaddrs.h: Use IS_IN.
9487         * inet/check_pf.c: Likewise.
9488         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9489         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9491         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9492         IS_IN_ldconfig.
9493         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9494         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9496         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9497         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9498         IS_IN (libc).
9500         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9502         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9503         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9504         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9505         * include/libc-symbols.h (IS_IN_LIB): New macro.
9506         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9507         * include/netdb.h: Likewise.
9508         * include/stap-probe.h: Remove all uses of IN_LIB.
9510         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9511         instead of IN_MODULE.
9512         * include/libc-symbols.h (IN_MODULE): Define using
9513         MODULE_NAME.
9514         (PASTE_NAME, PASTE_NAME1): New macros.
9515         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9516         of IN_LIB.
9517         (STAP_PROBE_ASM): Likewise.
9519 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9521         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9522         __mach_init in dlopened libc.
9524 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9526         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9527         * sysdeps/arm/preconfigure: Regenerate.
9529 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9531         * nptl/pthread_create.c (__pthread_create_2_1): Set
9532         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9533         when copying values from IATTR into PD.
9535 2014-11-21  Will Newton  <will.newton@linaro.org>
9536             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9538         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9539         Refactor inline-asm.  Also add comment.
9541         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9542         ElfW macro instead of hardcoded Elf64 types.
9543         (la_aarch64_gnu_pltenter): Likewise.
9544         * sysdeps/aarch64/dl-machine.h
9545         (elf_machine_runtime_setup): Use ElfW(Addr).
9547         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9548         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9549         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9550         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9551         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9552         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9553         (R_AARCH64_TLS_DTPMOD): This.
9554         (R_AARCH64_TLS_DTPREL64): Rename to ...
9555         (R_AARCH64_TLS_DTPREL): This.
9556         (R_AARCH64_TLS_TPREL64): Rename to ...
9557         (R_AARCH64_TLS_TPREL): This.
9558         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9559         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9560         R_AARCH64_TLS_TPREL64.
9561         (elf_machine_rela): Likewise.
9563 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9565         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9566         by setting it to 0.  64b atomics are not supported currently.
9568 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9570         [BZ #16469]
9571         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9572         search domain names.
9574 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9576         [BZ #16469]
9577         * NEWS: Update.
9578         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9579         trailing dot.
9580         * posix/tst-getaddrinfo5.c: New.
9581         * posix/Makefile (tests): Add it.
9583 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9585         [BZ #14498]
9586         * NEWS: Fixed.
9587         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9588         after parsing line but before break_if_match.
9589         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9590         if there is a protocol mismatch.
9592 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9594         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9595         because the potential race is on the user-supplied stream.
9597 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9599         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9600         string literal if not passed a buffer.
9601         * manual/job.texi (ctermid): Update reasoning, note deviation
9602         from posix, suggest mtasurace when not passed a buffer, for
9603         future non-preliminary safety notes.
9605 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9607         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9608         of not passing it a buffer.
9609         Reported by Peng Haitao.
9611 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9613         * manual/Makefile ($(objpfx)stamp-summary): Require
9614         check-safety.sh to pass.
9615         * manual/check-safety.sh: Wish for verification that every
9616         @deftypefn and @deftypefun is followed by a @safety remark.
9618 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9620         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9622         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9623         PTHREAD_CANCEL_ASYNCHRONOUS.
9624         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9625         send SIGCANCEL.
9627         * nptl/default-sched.h: New file.
9628         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9629         * nptl/pthread_create.c: Include it.
9630         (__pthread_create_2_1): Use collect_default_sched instead of making
9631         Linux syscalls here directly.
9633 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9635         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9636         __pthread_once): Use C11 atomics.
9638 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9640         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9642 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9644         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9645         atomic_thread_fence_acquire, atomic_thread_fence_release,
9646         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9647         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9648         atomic_compare_exchange_weak_relaxed,
9649         atomic_compare_exchange_weak_acquire,
9650         atomic_compare_exchange_weak_release,
9651         atomic_exchange_acquire, atomic_exchange_release,
9652         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9653         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9654         atomic_fetch_and_acquire,
9655         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9657 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9659         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9660         USE_ATOMIC_COMPILER_BUILTINS): Define.
9661         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9662         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9663         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9664         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9665         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9666         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9667         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9668         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9669         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9670         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9671         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9672         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9673         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9674         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9675         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9676         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9677         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9678         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9679         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9680         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9681         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9682         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9683         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9684         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9685         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9686         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9687         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9688         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9689         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9690         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9691         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9692         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9693         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9694         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9695         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9696         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9697         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9698         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9699         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9700         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9702 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9704         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9705         the sched_priority value here.  It was already checked when the user
9706         called pthread_attr_setschedparam.
9708         * nptl/tst-bad-schedattr.c: New file.
9709         * nptl/Makefile (tests): Add it.
9711 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9712             Florian Weimer  <fweimer@redhat.com>
9713             Joseph Myers  <joseph@codesourcery.com>
9714             Adam Conrad  <adconrad@0c3.net>
9715             Andreas Schwab  <schwab@suse.de>
9716             Brooks  <bmoses@google.com>
9718         [BZ #17625]
9719         * wordexp-test.c (__dso_handle): Add prototype.
9720         (__register_atfork): Likewise.
9721         (__app_register_atfork): New function.
9722         (registered_forks): New global.
9723         (register_fork): New function.
9724         (test_case): Add 3 new tests for WRDE_CMDSUB.
9725         (main): Call __app_register_atfork.
9726         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9727         fork count is non-zero fail the test.
9728         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9729         is set.
9730         (parse_dollars): Remove check for WRDE_NOCMD.
9731         (parse_dquote): Likewise.
9733 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9735         * Makeconfig (built-modules): List non-library modules to be
9736         built.
9737         (module-cppflags): Include libc-modules.h for
9738         everything except shlib-versions.v.i.
9739         (CPPFLAGS): Use it.
9740         (before-compile): Add libc-modules.h.
9741         ($(common-objpfx)libc-modules.h,
9742         $(common-objpfx)libc-modules.stmp): New targets.
9743         (common-generated): Add libc-modules.h and libc-modules.stmp.
9744         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9745         * include/libc-symbols.h: Don't include libc-modules.h.
9746         * include/libc-modules.h: Remove file.
9747         * scripts/gen-libc-modules.awk: New script to generate
9748         libc-modules.h.
9749         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9750         Depend on libc-modules.stmp.
9752         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9754         * Makeconfig (in-module): Get value of libof set for the
9755         translation unit.
9756         (CPPFLAGS): Use $(in-module).
9757         * Makerules: Don't suffix routine names for nonlib.
9758         * include/libc-modules.h: New file.
9759         * include/libc-symbols.h: Include libc-modules.h
9760         (IS_IN): New macro to replace IS_IN_* macros.
9761         * elf/Makefile: Set libof-* for each routine.
9762         * elf/rtld-Rules: Likewise.
9763         * extra-modules.mk: Likewise.
9764         * iconv/Makefile: Likewise.
9765         * iconvdata/Makefile: Likewise.
9766         * locale/Makefile: Likewise.
9767         * malloc/Makefile: Likewise.
9768         * nss/Makefile: Likewise.
9769         * sysdeps/gnu/Makefile: Likewise.
9770         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9771         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9772         * sysdeps/s390/s390-64/Makefile: Likewise.
9773         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9774         CPPFLAGS for nscd instead of nonlib.
9776 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9778         * nptl/createthread.c: New file.
9780         * nptl/createthread.c: Moved ...
9781         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9783         * nptl/createthread.c: Add proper top-line comment.
9784         (do_clone): Folded into ...
9785         (create_thread): ... here.  Take new arguments STOPPED_START and
9786         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9787         increment __nptl_threads, do event-reporting logic, do
9788         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9789         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9790         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9791         just send SIGCANCEL.
9792         * nptl/pthread_create.c: Forward-declare create_thread before
9793         including createthread.c.
9794         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9795         declaration, and new macro START_THREAD_SELF to replace argument.
9796         Remove return statement.
9797         (report_thread_creation): New function.
9798         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9799         synchronization logic, and __nptl_nthreads increment here, around
9800         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9801         PD->parent_cancelhandling here, before create_thread.  When
9802         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9803         __deallocate_stack, and ENOMEM translation here.
9805 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9807         [BZ #17616]
9808         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9809         (mptwo): Rename to __mptwo.
9810         (__inv): Use __mptwo instead of mptwo.
9811         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9812         (mptwo): Rename to __mptwo.
9813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9814         of mpone and __mptwo instead of mptwo.
9815         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9816         instead of mpone.
9817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9818         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9819         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9820         of mpone and __mptwo instead of mptwo.
9821         (__mpranred): Use __mpone instead of mpone.
9822         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9823         variable.
9824         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9825         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9826         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9827         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9828         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9829         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9830         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9831         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9832         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9833         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9834         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9835         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9836         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9837         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9838         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9839         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9840         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9841         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9842         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9844 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9846         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9847         replace BSD Handler xref with BSD Signal Handling.
9849 2014-11-17  Richard Henderson  <rth@redhat.com>
9851         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9852         (_FP_PACK_RAW_2): Remove.
9853         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9854         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9855         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9856         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9857         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9858         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9859         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9860         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9861         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9862         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9863         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9864         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9865         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9866         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9867         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9868         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9870 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9872         * signal/signal.h [__USE_MISC]
9873         (struct sigvec): Remove type.
9874         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9875         (sigvec): Remove declaration.
9876         * sysdeps/posix/sigvec.c: Moved ...
9877         * signal/sigvec.c: ... here, replacing old file.
9878         (struct sigvec): New type, copied from old signal.h definition.
9879         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9880         (__sigvec): Convert definition to prototype.
9881         (sigvec): Replace weak_alias with compat_symbol.
9882         * signal/Versions (libc: GLIBC_2.21): New version set.
9883         * include/signal.h: Remove __sigvec declaration.
9884         * sysdeps/unix/bsd/sigvec.c: Remove file.
9885         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9886         * manual/signal.texi (BSD Handler): Remove subsection.
9887         Move siginterrupt up to ...
9888         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9889         (Blocking in BSD): Fold subsection into its parent.
9890         * NEWS: Mention sigvec removal.
9892 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9894         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9895         (DLA_FMS): Make definition conditional only on [__FMA4__].
9896         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9897         definition.
9899         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9900         Make definition conditional only on [PROF].
9901         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9902         definition.
9903         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9904         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9906         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9907         !__GNUC__].
9908         * include/signal.h (__sigpause): Move declaration above call to
9909         libc_hidden_proto.
9910         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9911         variable.
9912         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9913         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9915 2014-11-14  David S. Miller  <davem@davemloft.net>
9917         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9918         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9920 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9922         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9923         * configure: Regenerated.
9924         * manual/install.texi (Tools for Compilation): Document a
9925         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9926         compiler verified to work.
9927         * INSTALL: Regenerated.
9929         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9930         redeclare with asm name.
9931         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9932         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9933         including <string.h>.
9934         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9935         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9936         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9937         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9938         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9939         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9940         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9942 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9944         * stdlib/strtol.c (__strtol): Use prototype definition.
9946         [BZ #17594]
9947         * stdlib/strtol.c (SYM__): New macro.
9948         (SYM__1): Likewise.
9949         (__strtol): Likewise.
9950         (strtol): Rename to __strtol and define as weak alias of
9951         __strtol.  Use libc_hidden_weak.
9953 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9955         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9956         Use numbered labels in inline assembly.
9958 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9960         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9961         Add setjmp LIBC_PROBE.
9962         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9963         Likewise.
9964         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9965         Add longjmp, longjmp_target LIBC_PROBE.
9966         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9967         Likewise.
9969 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9971         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9972         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9973         to get rid of unused variable warning.
9975 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9977         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9978         Check for unwind_backtrace ==  NULL only in SHARED case.
9979         (__backchain_backtrace): Compile only in SHARED case.
9980         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9981         Likewise.
9982         (__backchain_backtrace): Declare as static.
9984 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9986         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9987         (__libc_multiple_threads_ptr): Variable moved ...
9988         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9990 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9992         * conform/GlibcConform.pm: New file.
9993         * conform/conformtest.pl: Use GlibcConform module.
9994         * conform/linknamespace.pl: New file.
9995         * conform/list-header-symbols.pl: Likewise.
9996         * conform/Makefile (linknamespace-symlists-base): New variable.
9997         (linknamespace-symlists-tests): Likewise.
9998         (linknamespace-header-base): Likewise.
9999         (linknamespace-header-tests): Likewise.
10000         (tests-special): Add new tests.
10001         ($(linknamespace-symlists-tests)): New rule.
10002         (linknamespace-libs): New variable.
10003         ($(objpfx)symlist-stdlibs): New rule.
10004         ($(linknamespace-header-tests)): Likewise.
10005         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10006         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10007         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10008         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10009         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10010         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10011         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10012         (test-xfail-ISO/math.h/linknamespace): Likewise.
10013         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10014         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10015         (test-xfail-ISO/time.h/linknamespace): Likewise.
10016         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10017         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10018         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10019         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10020         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10021         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10022         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10023         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10024         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10025         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10026         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10027         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10028         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10029         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10030         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10031         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10032         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10033         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10034         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10035         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10036         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10037         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10038         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10039         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10040         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10041         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10042         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10043         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10044         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10045         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10046         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10047         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10048         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10049         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10050         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10051         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10052         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10053         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10054         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10055         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10056         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10057         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10058         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10059         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10060         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10061         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10062         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10063         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10064         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10065         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10066         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10067         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10068         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10069         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10070         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10071         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10072         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10073         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10074         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10075         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10076         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10077         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10078         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10079         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10080         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10081         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10082         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10083         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10084         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10085         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10086         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10087         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10088         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10089         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10090         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10091         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10092         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10093         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10094         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10095         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10096         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10097         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10098         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10099         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10100         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10101         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10102         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10103         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10104         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10105         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10106         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10107         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10108         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10109         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10110         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10111         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10112         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10113         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10114         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10115         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10116         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10117         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10118         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10119         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10120         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10121         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10122         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10123         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10124         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10125         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10126         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10127         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10128         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10129         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10130         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10131         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10132         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10133         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10134         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10135         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10136         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10137         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10138         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10139         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10140         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10141         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10142         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10143         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10144         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10145         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10146         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10147         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10148         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10149         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10150         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10151         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10152         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10153         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10154         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10155         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10156         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10157         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10158         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10159         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10160         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10161         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10162         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10163         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10164         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10165         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10167         [BZ #17589]
10168         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10169         of fgets_unlocked.
10171         [BZ #17585]
10172         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10173         (memmem): Rename to __memmem and define as weak alias of
10174         __memmem.  Use libc_hidden_weak.
10175         (__memmem): Use libc_hidden_def.
10176         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10177         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10178         memmem.
10180         [BZ #17582]
10181         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10182         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10183         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10184         and define as weak alias of __fgets_unlocked.  Use
10185         libc_hidden_weak.
10186         (__fgets_unlocked): Use libc_hidden_def.
10187         * include/stdio.h (__fgets_unlocked): Declare.  Use
10188         libc_hidden_proto.
10189         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10190         __fgets_unlocked instead of fgets_unlocked.
10191         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10192         (GET_NPROCS_CONF_PARSER): Likewise.
10193         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10194         (GET_NPROCS_CONF_PARSER): Likewise.
10196         [BZ #17574]
10197         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10198         weak alias of __wmemset.  Use libc_hidden_weak.
10199         (__wmemset): Use libc_hidden_def.
10200         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10201         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10202         of wmemset.
10204         [BZ #17573]
10205         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10206         with asm name __mempcpy.
10207         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10209         [BZ #17572]
10210         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10211         and define as weak alias of __rawmemchr.
10212         (__rawmemchr): Do not define as strong alias of rawmemchr.
10214         [BZ #17571]
10215         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10216         alias of __qsort_r.
10217         (qsort): Call __qsort_r instead of qsort_r.
10218         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10219         (__qsort_r): Declare.  Call libc_hidden_proto.
10220         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10221         instead of qsort_r.
10222         * nscd/gai.c (__qsort_r): Define to qsort_r.
10223         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10224         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10225         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10227         [BZ #17570]
10228         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10229         define as weak alias of __malloc_info.
10231         [BZ #17584]
10232         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10233         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10234         (__rewinddir): Use libc_hidden_def.
10235         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10236         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10237         (__rewinddir): Use libc_hidden_def.
10238         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10239         weak alias of __rewinddir.  Don't use libc_hidden_def.
10240         (__rewinddir): Use libc_hidden_def.
10241         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10242         (__rewinddir): Use libc_hidden_proto.
10243         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10244         rewinddir.
10245         (__getcwd): Use __rewinddir instead of rewinddir.
10247         [BZ #17583]
10248         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10249         alias of __fileno.  Use libc_hidden_weak.
10250         (__fileno): Use libc_hidden_def.
10251         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10252         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10253         alias of __ftello.
10254         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10255         __ftello.
10256         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10257         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10258         libc_hidden_def.
10259         (fread_unlocked): Don't use libc_hidden_ver.
10260         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10261         and define as weak alias of __fread_unlocked.  Don't use
10262         libc_hidden_def.
10263         (__fread_unlocked): Use libc_hidden_def.
10264         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10265         (ftello): Don't use libc_hidden_proto.
10266         (__ftello): Declare.  Use libc_hidden_proto.
10267         (fread_unlocked): Don't use libc_hidden_proto.
10268         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10269         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10270         and __ftello instead of fileno, fread_unlocked and ftello.
10272 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10274         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10275         GOT12.
10276         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10277         Likewise.
10278         (_dl_start_user): Likewise.
10279         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10281 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10282             Siddhesh Poyarekar  <siddhesh@redhat.com>
10284         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10285         Move argv and envp down instead of moving argc up.
10286         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10288 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10290         [BZ #17506]
10291         * test-skeleton.c (main): Return successful if one of
10292         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10293         * string/tst-strcoll-overflow.c: Define expected status.
10295 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10297         [BZ #17475]
10298         * locale/iso-639.def: Define Bhili and Tulu language codes.
10300 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10302         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10304 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10306         [BZ #17555]
10307         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10309 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10311         * configure.ac: Updated check of minimal required version to
10312         2.22.
10313         * manual/install.texi (Tools for Compilation): Updated version
10314         number.
10315         * configure: Regenerated.
10316         * INSTALL: Likewise.
10318 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10320         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10321         __tls_get_addr.
10323 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10325         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10326         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10327         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10328         libc_hidden_weak.
10329         (waitpid): Define as alias of __waitpid.
10330         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10331         __waitpid.
10332         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10333         libc_hidden_weak.
10334         (waitpid): Define as alias of __waitpid.
10335         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10336         __libc_waitpid alias.
10337         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10338         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10339         Likewise.
10340         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10341         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10342         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10343         alias.
10344         * sysdeps/unix/sysv/linux/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.
10350 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10352         * manual/llio.texi: Add comment that write safety has been
10353         fixed in Linux.
10355         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10356         (localplt-build-dso): Add elf/ld.so.
10357         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10358         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10359         and free for ld.so.
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10361         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10365         Likewise.
10366         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10367         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10368         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10369         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10370         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10371         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10372         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10373         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10374         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10375         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10376         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10378 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10380         [BZ #14132]
10381         * include/libc-symbols.h (INTUSE): Remove macro.
10382         (INTDEF): Likewise.
10383         (INTVARDEF): Likewise.
10384         (_INTVARDEF): Likewise.
10385         (INTDEF2): Likewise.
10386         (INTVARDEF2): Likewise.
10387         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10388         rtld_hidden_def instead of INTVARDEF.
10389         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10390         (_dl_starting_up_internal): Remove declaration.
10391         (_dl_starting_up): Use rtld_hidden_proto.
10392         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10393         declaration.
10394         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10395         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10396         _dl_starting_up.
10397         * elf/dl-writev.h (_dl_writev): Likewise.
10398         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10399         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10400         _dl_starting_up_internal.
10402 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10404         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10405         test-skeleton.c.
10407 2014-11-05  Will Newton  <will.newton@linaro.org>
10409         * benchtests/Makefile: (bench-malloc): Add malloc thread
10410         scalability benchmark.
10411         * benchtests/bench-malloc-threads.c: New file.
10413 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10415         * sysdeps/aarch64/strchrnul.S: New file.
10417 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10419         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10420         definition.
10421         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10422         Likwise.
10423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10424         Likewise.
10425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10426         Likewise.
10427         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10428         Likewise.
10429         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10430         Likewise.
10432 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10434         * catgets/test-gencat.c: Use test-skeleton.c.
10435         * catgets/tst-catgets.c: Likewise.
10436         * csu/tst-empty.c: Likewise.
10437         * elf/tst-audit2.c: Likewise.
10438         * elf/tst-global1.c: Likewise.
10439         * elf/tst-pathopt.c: Likewise.
10440         * elf/tst-piemod1.c: Likewise.
10441         * elf/tst-tls10.c: Likewise.
10442         * elf/tst-tls11.c: Likewise.
10443         * elf/tst-tls12.c: Likewise.
10444         * gnulib/tst-gcc.c: Likewise.
10445         * iconvdata/tst-e2big.c: Likewise.
10446         * iconvdata/tst-loading.c: Likewise.
10447         * iconv/tst-iconv1.c: Likewise.
10448         * iconv/tst-iconv2.c: Likewise.
10449         * inet/test-inet6_opt.c: Likewise.
10450         * inet/tst-gethnm.c: Likewise.
10451         * inet/tst-network.c: Likewise.
10452         * inet/tst-ntoa.c: Likewise.
10453         * intl/tst-codeset.c: Likewise.
10454         * intl/tst-gettext2.c: Likewise.
10455         * intl/tst-gettext3.c: Likewise.
10456         * intl/tst-ngettext.c: Likewise.
10457         * intl/tst-translit.c: Likewise.
10458         * io/test-stat.c: Likewise.
10459         * libio/test-fmemopen.c: Likewise.
10460         * libio/tst-freopen.c: Likewise.
10461         * libio/tst-sscanf.c: Likewise.
10462         * libio/tst-ungetwc1.c: Likewise.
10463         * libio/tst-ungetwc2.c: Likewise.
10464         * libio/tst-widetext.c: Likewise.
10465         * localedata/tst-ctype.c: Likewise.
10466         * localedata/tst-digits.c: Likewise.
10467         * localedata/tst-leaks.c: Likewise.
10468         * localedata/tst-mbswcs1.c: Likewise.
10469         * localedata/tst-mbswcs2.c: Likewise.
10470         * localedata/tst-mbswcs3.c: Likewise.
10471         * localedata/tst-mbswcs4.c: Likewise.
10472         * localedata/tst-mbswcs5.c: Likewise.
10473         * localedata/tst-setlocale.c: Likewise.
10474         * localedata/tst-trans.c: Likewise.
10475         * localedata/tst-wctype.c: Likewise.
10476         * localedata/tst-xlocale1.c: Likewise.
10477         * login/tst-grantpt.c: Likewise.
10478         * malloc/tst-calloc.c: Likewise.
10479         * malloc/tst-malloc.c: Likewise.
10480         * malloc/tst-mallocstate.c: Likewise.
10481         * malloc/tst-mcheck.c: Likewise.
10482         * malloc/tst-mtrace.c: Likewise.
10483         * malloc/tst-obstack.c: Likewise.
10484         * math/atest-exp2.c: Likewise.
10485         * math/atest-exp.c: Likewise.
10486         * math/atest-sincos.c: Likewise.
10487         * math/test-matherr.c: Likewise.
10488         * math/test-misc.c: Likewise.
10489         * math/test-powl.c: Likewise.
10490         * math/tst-definitions.c: Likewise.
10491         * misc/tst-dirname.c: Likewise.
10492         * misc/tst-efgcvt.c: Likewise.
10493         * misc/tst-fdset.c: Likewise.
10494         * misc/tst-hsearch.c: Likewise.
10495         * misc/tst-mntent2.c: Likewise.
10496         * nptl/tst-sem7.c: Likewise.
10497         * nptl/tst-sem8.c: Likewise.
10498         * nptl/tst-sem9.c: Likewise.
10499         * nss/test-netdb.c: Likewise.
10500         * posix/tst-fnmatch.c: Likewise.
10501         * posix/tst-getlogin.c: Likewise.
10502         * posix/tst-gnuglob.c: Likewise.
10503         * posix/tst-mmap.c: Likewise.
10504         * pwd/tst-getpw.c: Likewise.
10505         * resolv/tst-inet_ntop.c: Likewise.
10506         * rt/tst-timer.c: Likewise.
10507         * stdio-common/test-fseek.c: Likewise.
10508         * stdio-common/test-popen.c: Likewise.
10509         * stdio-common/test-vfprintf.c: Likewise.
10510         * stdio-common/tst-cookie.c: Likewise.
10511         * stdio-common/tst-fileno.c: Likewise.
10512         * stdio-common/tst-gets.c: Likewise.
10513         * stdio-common/tst-obprintf.c: Likewise.
10514         * stdio-common/tst-perror.c: Likewise.
10515         * stdio-common/tst-sprintf2.c: Likewise.
10516         * stdio-common/tst-sprintf3.c: Likewise.
10517         * stdio-common/tst-sprintf.c: Likewise.
10518         * stdio-common/tst-swprintf.c: Likewise.
10519         * stdio-common/tst-tmpnam.c: Likewise.
10520         * stdio-common/tst-unbputc.c: Likewise.
10521         * stdio-common/tst-wc-printf.c: Likewise.
10522         * stdlib/tst-environ.c: Likewise.
10523         * stdlib/tst-fmtmsg.c: Likewise.
10524         * stdlib/tst-limits.c: Likewise.
10525         * stdlib/tst-rand48-2.c: Likewise.
10526         * stdlib/tst-rand48.c: Likewise.
10527         * stdlib/tst-random2.c: Likewise.
10528         * stdlib/tst-random.c: Likewise.
10529         * stdlib/tst-strtol.c: Likewise.
10530         * stdlib/tst-strtoll.c: Likewise.
10531         * stdlib/tst-tls-atexit.c: Likewise.
10532         * stdlib/tst-xpg-basename.c: Likewise.
10533         * string/test-ffs.c: Likewise.
10534         * string/tst-bswap.c: Likewise.
10535         * string/tst-inlcall.c: Likewise.
10536         * string/tst-strtok.c: Likewise.
10537         * string/tst-strxfrm.c: Likewise.
10538         * sysdeps/x86_64/tst-audit10.c: Likewise.
10539         * sysdeps/x86_64/tst-audit3.c: Likewise.
10540         * sysdeps/x86_64/tst-audit4.c: Likewise.
10541         * sysdeps/x86_64/tst-audit5.c: Likewise.
10542         * time/tst-ftime_l.c: Likewise.
10543         * time/tst-getdate.c: Likewise.
10544         * time/tst-mktime3.c: Likewise.
10545         * time/tst-mktime.c: Likewise.
10546         * time/tst-posixtz.c: Likewise.
10547         * time/tst-strptime2.c: Likewise.
10548         * time/tst-strptime3.c: Likewise.
10549         * wcsmbs/tst-btowc.c: Likewise.
10550         * wcsmbs/tst-mbrtowc.c: Likewise.
10551         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10552         * wcsmbs/tst-wchar-h.c: Likewise.
10553         * wcsmbs/tst-wcpncpy.c: Likewise.
10554         * wcsmbs/tst-wcrtomb.c: Likewise.
10555         * wcsmbs/tst-wcsnlen.c: Likewise.
10556         * wcsmbs/tst-wcstof.c: Likewise.
10558 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10560         [BZ #14132]
10561         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10562         INTDEF.
10563         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10564         declaration.
10565         (_dl_mcount): Use rtld_hidden_proto.
10566         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10567         _dl_mcount.
10568         * elf/rtld.c (_rtld_global_ro): Likewise.
10570         [BZ #14132]
10571         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10572         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10573         of _dl_init_internal.
10574         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10575         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10576         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10577         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10578         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10579         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10580         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10581         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10582         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10583         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10584         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10585         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10586         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10587         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10588         * sysdeps/tile/dl-start.S (_start): Likewise.
10589         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10590         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10592         [BZ #14132]
10593         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10594         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10595         (rtld_progname): Make macro definition unconditional.
10596         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10597         INTDEF.
10598         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10599         (dl_main): Likewise.
10600         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10601         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10602         instead of _dl_argv_internal.
10603         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10604         __GI__dl_argv instead of INTUSE(_dl_argv).
10605         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10606         __GI__dl_argv instead of _dl_argv_internal.
10608         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10609         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10610         macro.
10611         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10612         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10613         New macro.
10614         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10615         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10616         macro.
10617         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10618         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10620 2014-11-04  Andreas Schwab  <schwab@suse.de>
10622         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10624 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10626         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10627         mtvsrd instruction in binary form.
10629 2014-11-03  Andreas Schwab  <schwab@suse.de>
10631         [BZ #17522]
10632         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10633         for less than MB_LEN_MAX use a local buffer of that size.
10634         * libio/tst-fputws.c: New file.
10635         * libio/Makefile (tests): Add tst-fputws.
10637 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10639         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10640         the size of the fpu_fr.fpu_dregs[] array.
10642 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10644         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10645         (__nanosleep): Do not define as alias.
10646         (nanosleep): Define as alias of __nanosleep.
10647         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10648         __libc_nanosleep name.
10650 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10652         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10653         install.texi in comment.
10655 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10657         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10658         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10659         ... add here and use lwsync or sync ...
10660         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10661         ... and add here using lwsync.
10663 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10665         * elf/dl-machine-reject-phdr.h: New file.
10666         * elf/dl-load.c: #include that.
10667         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10668         if that returned true.
10670 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10672         [BZ #17496]
10673         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10674         gen-as-const-headers chunk.  Add a big scare comment after the last
10675         safe place to touch before-compile.
10677 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10679         * manual/install.texi (Tools for Compilation): Update autoconf
10680         version requirements.
10681         * INSTALL: Regenerated.
10683         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10684         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10685         (__libc_pselect): Likewise.
10687         [BZ #14138]
10688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10693 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10695         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10696         correct barrier instruction.
10697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10698         Likewise.
10699         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10700         Likewise.
10702 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10704         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10705         after defining inlines.  Instead, just use parens to defeat macro
10706         expansion of __isctype in its declaration.
10708 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10710         * include/sys/uio.h (__libc_readv): Remove declaration.
10711         (__libc_writev): Likewise.
10712         * misc/readv.c (__libc_readv): Rename to __readv.
10713         (__readv): Do not define as alias.
10714         (readv): Define as alias of __readv.
10715         * misc/writev.c (__libc_writev): Rename to __writev.
10716         (__writev): Do not define as alias.
10717         (writev): Define as alias of __writev.
10718         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10719         (__readv): Do not define as alias.
10720         (readv): Define unconditionally as alias of __readv.
10721         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10722         (__writev): Do not define as alias.
10723         (writev): Define unconditionally as alias of __writev.
10724         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10725         name.
10726         (writev): Do not define __libc_writev name.
10728 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10730         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10731         (convert_charseq): New function, broken out of ...
10732         (use_from_charmap): ... here.  Call it.
10733         (use_to_charmap): Use convert_charseq and free instead of duplicating
10734         its code with a variable-length stack struct.
10736 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10738         * include/fcntl.h (__libc_creat): Remove declaration.
10739         * io/creat.c (__libc_creat): Rename to creat.
10740         (creat): Do not define as alias.
10741         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10742         of creat instead of __libc_creat.
10743         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10744         to creat.
10745         (creat): Do not define as alias.
10746         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10747         __libc_creat.
10748         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10749         __libc_creat name.
10750         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10751         Likewise.
10753 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10755         * manual/llio.texi: Add comments discussing why write() may be
10756         considered MT-unsafe on Linux.
10758 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10760         * dl-load.c (local_strdup): Remove.
10761         (expand_dynamic_string_token): Use __strdup.
10762         (decompose_rpath): Likewise.
10763         (_dl_map_object): Likewise.
10765 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10767         [BZ #14132]
10768         * sysdeps/generic/unwind-dw2-fde.c
10769         (__register_frame_info_bases_internal): Do not declare.
10770         (__register_frame_info_table_bases_internal): Likewise.
10771         (__deregister_frame_info_bases_internal): Likewise.
10772         (__register_frame_info_bases): Declare and use hidden_proto before
10773         definition.  Use hidden_def instead of INTDEF.
10774         (__register_frame_info_table_bases): Likewise.
10775         (__deregister_frame_info_bases): Likewise.
10776         (__register_frame_info): Do not use INTUSE.
10777         (__register_frame): Likewise.
10778         (__register_frame_info_table): Likewise.
10779         (__register_frame_table): Likewise.
10780         (__deregister_frame_info): Likewise.
10781         (__deregister_frame): Likewise.
10783 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10786         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10787         not undefine.
10788         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10789         Likewise.
10790         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10791         Likewise.
10793 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10795         [BZ #14138]
10796         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10797         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10798         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10799         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10800         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10801         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10802         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10803         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10804         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10805         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10806         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10807         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10808         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10809         syscall.
10810         (setfsuid): Likewise.
10811         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10812         (setfsuid): Likewise.
10813         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10814         (setfsuid): Likewise.
10815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10816         Likewise.
10817         (setfsuid): Likewise.
10818         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10819         (setfsuid): Likewise.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10821         Likewise.
10822         (setfsuid): Likewise.
10824 2014-10-27  Andreas Schwab  <schwab@suse.de>
10826         [BZ #17501]
10827         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10828         check for Slow_SSE4_2 feature bit.
10829         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10830         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10831         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10832         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10834 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10836         * configure.ac: Validate compiler version with a empirical test of
10837         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10838         $CC -v output.
10839         * configure: Regenerated.
10841         * inet/htons.c (htons): Prototypify.
10842         * inet/htonl.c (htonl): Likewise.
10844 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10846         * string/strncat.c (strncat): Improve performance by using strlen.
10848 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10850         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10852 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10854         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10855         Call libc_fetestexcept_aarch64.
10857 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10859         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10860         Call libc_feholdexcept_aarch64.
10862 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10864         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10865         Call get_rounding_mode.
10867 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10869         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10870         Simplify logic.
10872 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10874         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10875         Simplify logic.
10877 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10879         [BZ #14138]
10880         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10881         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10882         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10883         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10884         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10885         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10886         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10887         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10888         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10889         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10890         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10891         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10892         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10893         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10894         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10895         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10896         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10897         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10898         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10899         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10900         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10901         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10902         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10903         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10904         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10905         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10906         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10907         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10908         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10909         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10910         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10911         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10912         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10913         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10914         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10915         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10916         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10917         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10918         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10919         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10920         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10921         syscall.
10922         (geteuid): Likewise.
10923         (getgid): Likewise.
10924         (getuid): Likewise.
10925         (getresgid): Likewise.
10926         (getresuid): Likewise.
10927         (getgroups): Likewise.
10928         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10929         (geteuid): Likewise.
10930         (getgid): Likewise.
10931         (getuid): Likewise.
10932         (getresgid): Likewise.
10933         (getresuid): Likewise.
10934         (getgroups): Likewise.
10935         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10936         (geteuid): Likewise.
10937         (getgid): Likewise.
10938         (getuid): Likewise.
10939         (getresgid): Likewise.
10940         (getresuid): Likewise.
10941         (getgroups): Likewise.
10942         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10943         Likewise.
10944         (geteuid): Likewise.
10945         (getgid): Likewise.
10946         (getuid): Likewise.
10947         (getresgid): Likewise.
10948         (getresuid): Likewise.
10949         (getgroups): Likewise.
10950         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10951         (geteuid): Likewise.
10952         (getgid): Likewise.
10953         (getuid): Likewise.
10954         (getresgid): Likewise.
10955         (getresuid): Likewise.
10956         (getgroups): Likewise.
10957         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10958         Likewise.
10959         (geteuid): Likewise.
10960         (getgid): Likewise.
10961         (getuid): Likewise.
10962         (getgroups): Likewise.
10964         [BZ #14138]
10965         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10966         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10967         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10968         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10969         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10970         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10971         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10972         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10973         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10977         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10978         __chown.
10979         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10980         (lchown): Likewise.
10981         (fchown): Likewise.
10982         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10983         Likewise.
10984         (lchown): Likewise.
10985         (fchown): Likewise.
10986         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10987         (lchown): Likewise.
10988         (fchown): Likewise.
10989         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10990         Likewise.
10991         (lchown): Likewise.
10992         (fchown): Likewise.
10994 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10996         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10997         Simplify logic.
10999 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11001         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11002         Cleanup logic.
11004 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11006         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11007         Remove unused include.
11009 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11011         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11012         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11013         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11014         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11016 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11017             Helge Deller <deller@gmx.de>
11019         [BZ #17508]
11020         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11021         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11022         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11024 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11026         [BZ #14132]
11027         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11028         Remove macro definition.
11029         (__ashrdi3_v_glibc20): Likewise.
11030         (__lshrdi3_v_glibc20): Likewise.
11031         (__cmpdi2_v_glibc20): Likewise.
11032         (__ucmpdi2_v_glibc20): Likewise.
11033         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11034         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11035         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11036         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11037         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11038         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11040 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11042         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11043         old GNU extension [0] syntax.
11044         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11045         alloca rather than an array member with variable length.
11046         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11047         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11048         (parse_opt): ... here.  Likewise use alloca there.
11049         Validate the -i argument before checking for rootness.
11050         (send_shutdown): New function, broken out of ...
11051         (parse_opt): ... here.
11053 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11055         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11056         macro to get at the _rt_local_ro field.
11057         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11058         ([PIC] case) or _dl_hwcap ([!PIC] case).
11059         * sysdeps/arm/setjmp.S: Likewise.
11061         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11062         * sysdeps/arm/configure.ac: New check to define it.
11063         * sysdeps/arm/configure: Regenerated.
11064         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11065         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11066         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11067         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11068         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11069         Use move/movt pair instead of a load.
11070         (LDST_GLOBAL): Macro removed.
11071         (LDR_GLOBAL): New macro replaces it.
11072         (LDR_HIDDEN): New macro.
11073         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11074         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11076         * setjmp/tst-setjmp-static.c: New file.
11077         * setjmp/Makefile (tests): Add it.
11078         (tests-static): New variable.
11080 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11082         [BZ #17485]
11083         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11085 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11087         [BZ #14132]
11088         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11090 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11092         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11094 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11096         * io/fts.c (dirent_not_directory): New function.
11097         (fts_build): Call it.
11099 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11101         * nptl/version.c (__nptl_main): Use normal __write rather than
11102         INTERNAL_SYSCALL.
11103         (banner): Update copyright years.
11105         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11106         gettimeofday.
11107         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11108         * nptl/pthread_cond_timedwait.c: Likewise.
11109         * nptl/pthread_mutex_timedlock.c: Likewise.
11110         * nptl/sem_timedwait.c: Likewise.
11112         * sysdeps/nptl/bits/libc-lock.h
11113         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11114         (__libc_lock_init_recursive): Return void, not 0.
11115         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11116         (__libc_rwlock_init): Likewise.
11117         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11119 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11121         [BZ #15215]
11122         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11123         (__pthread_once_slow): ... here.
11124         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11125         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11127 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11129         [BZ #15215]
11130         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11131         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11132         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11133         * nptl/pthread_once.c (__pthread_once): Likewise.
11134         Update comments.
11136 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #14138]
11139         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11140         name.
11141         (writev): Use __libc_writev as strong name.
11142         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11143         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11145 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11147         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11149         * sysdeps/i386/nptl/tls.h
11150         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11151         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11152         New macros.
11153         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11154         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11155         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11156         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11157         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11158         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11160         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11161         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11162         on [__NR_futex].
11163         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11164         broken out of ...
11165         (__pthread_mutex_init): ... here.  Call it.
11166         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11167         Conditionalize PI cases on [__NR_futex].
11168         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11169         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11170         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11172         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11173         conditional on [SIGSETXID].
11174         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11175         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11176         is defined.  Likewise for SIGSETXID.
11177         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11178         Conditionalize definitions on [SIGSETXID].
11179         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11180         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11181         unblocking on [SIGCANCEL].
11183         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11184         [__NR_set_robust_list].
11186 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11188         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11189         (do_compare): Likewise.
11191 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11193         [BZ #15884]
11194         * string/strcoll_l.c: Don't include stdio.h.
11195         (coll_seq): Remove members idxarr and rulearr.
11196         (get_next_seq_cached): Remove function.
11197         (get_next_seq): Likewise.
11198         (get_next_seq_nocache): Rename to get_next_seq.
11199         (do_compare): Remove function.
11200         (do_compare_nocache): Rename to do_compare.
11201         (STRCOLL): Remove weight and rules cache.
11203 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11205         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11206         * sysdeps/arm/sfp-machine.h: ... to here.
11207         * sysdeps/arm/Implies: Remove arm/soft-fp.
11209 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11211         * conform/data/sys/utsname.h-data (*_t): Allow.
11212         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11213         [POSIX] (WEXITED): Do not expect constant.
11214         [POSIX] (WSTOPPED): Likewise.
11215         [POSIX] (WNOHANG): Likewise.
11216         [POSIX] (WNOWAIT): Likewise.
11217         [POSIX] (siginfo_t): Do not expect type or elements.
11218         [POSIX] (pid_t): Do not expect type.
11219         [POSIX] (signal.h): Do not allow header.
11220         [POSIX] (sys/resource.h): Likewise.
11221         [POSIX] (si_*): Do not allow pattern.
11222         [POSIX] (W*): Likewise.
11223         [POSIX] (P_*): Likewise.
11224         [POSIX] (BUS_*): Likewise.
11225         [POSIX] (CLD_*): Likewise.
11226         [POSIX] (FPE_*): Likewise.
11227         [POSIX] (ILL_*): Likewise.
11228         [POSIX] (POLL_*): Likewise.
11229         [POSIX] (SEGV_*): Likewise.
11230         [POSIX] (SI_*): Likewise.
11231         [POSIX] (TRAP_*): Likewise.
11232         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11233         variable.
11235 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11237         [BZ #12926]
11238         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11239         infinite loop when __recvmsg returns 0.
11241 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11243         * CANCEL-FCT-WAIVE: Remove file.
11244         * CANCEL-FILE-WAIVE: Likewise.
11246         [BZ #14132]
11247         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11248         instead of INTVARDEF.
11249         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11250         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11251         rtld_hidden_data_def instead of INTVARDEF.
11252         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11253         * elf/dl-deps.c (expand_dst): Likewise.
11254         * elf/dl-load.c (_dl_dst_count): Likewise.
11255         (_dl_dst_substitute): Likewise.
11256         (decompose_rpath): Likewise.
11257         (_dl_init_paths): Likewise.
11258         (open_path): Likewise.
11259         (_dl_map_object): Likewise.
11260         * elf/rtld.c (dl_main): Likewise.
11261         (process_dl_audit): Likewise.
11262         (process_envvars): Likewise.
11263         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11264         Remove declaration.
11265         (__libc_enable_secure): Use rtld_hidden_proto.
11267 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11269         * elf/dl-load.c
11270         (add_path): New function broken out of _dl_rtld_di_serinfo.
11271         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11273 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11275         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11276         parentheses around macro arguments.
11277         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11288         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11292         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11293         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11306         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11307         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11310         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11311         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11312         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11313         Likewise.
11314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11315         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11316         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11321         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11322         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11323         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11324         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11325         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11326         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): 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         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11342         (_FP_FRAC_SRS_1): Likewise.
11343         (_FP_FRAC_CLZ_1): Likewise.
11344         (_FP_MUL_MEAT_1_imm): Likewise.
11345         (_FP_MUL_MEAT_1_wide): Likewise.
11346         (_FP_MUL_MEAT_1_hard): Likewise.
11347         (_FP_SQRT_MEAT_1): Likewise.
11348         (_FP_FRAC_ASSEMBLE_1): Likewise.
11349         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11350         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11351         (__FP_CLZ_2): Likewise.
11352         (_FP_MUL_MEAT_2_wide): Likewise.
11353         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11354         (_FP_MUL_MEAT_2_gmp): Likewise.
11355         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11356         (_FP_SQRT_MEAT_2): Likewise.
11357         (_FP_FRAC_ASSEMBLE_2): Likewise.
11358         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11359         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11360         (_FP_FRAC_CLZ_4): Likewise.
11361         (_FP_MUL_MEAT_4_wide): Likewise.
11362         (_FP_MUL_MEAT_4_gmp): Likewise.
11363         (_FP_SQRT_MEAT_4): Likewise.
11364         (_FP_FRAC_ASSEMBLE_4): Likewise.
11365         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11366         * soft-fp/op-common.h (_FP_CMP): Likewise.
11367         (_FP_CMP_EQ): Likewise.
11368         (_FP_CMP_UNORD): Likewise.
11369         (_FP_TO_INT): Likewise.
11370         (_FP_FROM_INT): Likewise.
11371         [!__FP_CLZ] (__FP_CLZ): Likewise.
11372         (_FP_DIV_HELP_imm): Likewise.
11373         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11374         Likewise.
11375         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11378         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11382         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11386         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11387         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11390         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11391         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11404         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11409         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11410         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11411         (FP_UNPACK_RAW_SP): Likewise.
11412         (FP_PACK_RAW_S): Likewise.
11413         (FP_PACK_RAW_SP): Likewise.
11414         (FP_UNPACK_S): Likewise.
11415         (FP_UNPACK_SP): Likewise.
11416         (FP_UNPACK_SEMIRAW_S): Likewise.
11417         (FP_UNPACK_SEMIRAW_SP): Likewise.
11418         (FP_PACK_S): Likewise.
11419         (FP_PACK_SP): Likewise.
11420         (FP_PACK_SEMIRAW_S): Likewise.
11421         (FP_PACK_SEMIRAW_SP): Likewise.
11422         (_FP_SQRT_MEAT_S): Likewise.
11423         (FP_CMP_S): Likewise.
11424         (FP_CMP_EQ_S): Likewise.
11425         (FP_CMP_UNORD_S): Likewise.
11426         (FP_TO_INT_S): Likewise.
11427         (FP_FROM_INT_S): Likewise.
11429         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11431         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11432         (FP_EX_INVALID_IMZ): Likewise.
11433         (FP_EX_INVALID_IMZ_FMA): Likewise.
11434         (FP_EX_INVALID_ISI): Likewise.
11435         (FP_EX_INVALID_ZDZ): Likewise.
11436         (FP_EX_INVALID_IDI): Likewise.
11437         (FP_EX_INVALID_SQRT): Likewise.
11438         (FP_EX_INVALID_CVI): Likewise.
11439         (FP_EX_INVALID_VC): Likewise.
11440         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11441         "invalid" exceptions.
11442         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11443         (_FP_ADD_INTERNAL): Likewise.
11444         (_FP_MUL): Likewise.
11445         (_FP_FMA): Likewise.
11446         (_FP_DIV): Likewise.
11447         (_FP_CMP_CHECK_NAN): Likewise.
11448         (_FP_SQRT): Likewise.
11449         (_FP_TO_INT): Likewise.
11450         (FP_EXTEND): Likewise.
11452 2014-10-09  Allan McRae  <allan@archlinux.org>
11454         * po/fr.po: Update French translation from translation project.
11456 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11458         [BZ #14132]
11459         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11460         of INTDEF.
11461         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11462         (__cxa_atexit): Use libc_hidden_proto.
11463         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11465         [BZ #14132]
11466         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11467         declaration.
11468         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11469         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11470         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11471         [!_ISOMAC] (__iswctype_internal): Likewise.
11472         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11473         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11474         alias.
11475         (fcntl): Remove __fcntl_internal alias.
11476         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11477         __connect_internal alias.
11478         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11479         Likewise.
11481         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11482         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11483         FP_DENORM_ZERO.
11484         (_FP_CHECK_FLUSH_ZERO): New macro.
11485         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11486         (_FP_CMP): Likewise.
11487         (_FP_CMP_EQ): Likewise.
11488         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11489         FP_DENORM_ZERO.
11490         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11491         (FP_TRUNC): Likewise.
11493         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11494         treated as invalid conversion, not as normal exponent.
11496         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11497         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11498         (_FP_CMP_EQ): Likewise.
11499         (_FP_CMP_UNORD): Likewise.
11500         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11501         (FP_CMP_EQ_D): Likewise.
11502         (FP_CMP_UNORD_D): Likewise.
11503         * soft-fp/extended.h (FP_CMP_E): Likewise.
11504         (FP_CMP_EQ_E): Likewise.
11505         (FP_CMP_UNORD_E): Likewise.
11506         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11507         (FP_CMP_EQ_Q): Likewise.
11508         (FP_CMP_UNORD_Q): Likewise.
11509         * soft-fp/single.h (FP_CMP_S): Likewise.
11510         (FP_CMP_EQ_S): Likewise.
11511         (FP_CMP_UNORD_S): Likewise.
11512         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11513         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11514         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11515         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11516         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11517         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11518         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11519         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11520         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11521         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11522         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11523         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11524         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11525         to FP_CMP_Q.
11526         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11527         FP_CMP_Q.
11528         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11529         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11530         FP_CMP_EQ_Q.
11531         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11532         FP_CMP_Q.
11533         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11534         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11535         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11536         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11537         FP_CMP_EQ_Q.
11538         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11539         FP_CMP_Q.
11540         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11541         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11542         FP_CMP_EQ_Q.
11543         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11544         FP_CMP_Q.
11545         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11546         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11547         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11548         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11549         FP_CMP_EQ_Q.
11551         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11552         a subnormal result, set the underflow exception if trapping on
11553         underflow is enabled.
11554         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11555         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11556         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11557         redefine to 0.
11558         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11559         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11560         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11561         * soft-fp/extendxftf2.c (__extendxftf2): Use
11562         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11564         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11565         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11566         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11567         FP_HANDLE_EXCEPTIONS.
11568         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11569         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11570         FP_HANDLE_EXCEPTIONS.
11571         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11572         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11573         FP_HANDLE_EXCEPTIONS.
11574         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11575         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11576         FP_HANDLE_EXCEPTIONS.
11578 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11580         [BZ #14132]
11581         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11582         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11583         use INTUSE.
11584         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11585         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11586         Remove alias.
11587         (__adjtimex): Define using libc_hidden_ver.
11588         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11589         Remove declaration.
11590         (ntp_gettime): Call __adjtimex directly.
11591         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11592         Remove declaration.
11593         (ntp_gettimex): Call __adjtimex directly.
11594         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11595         __adjtimex_internal alias.
11597 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11599         [BZ #17460]
11600         * nscd/nscd.c (more_help): Rewrite list of tables collection
11601         using xstrdup and asprintf.
11603         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11605 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11606             Roland McGrath  <roland@hack.frob.com>
11608         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11609         (do_lookup_unique): ... local function 'enter' here; update callers.
11611 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11613         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11614         compat_symbol calls on [SHARED].
11615         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11616         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11617         Remove.
11618         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11619         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11620         (oldsetrlimit): Remove.
11621         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11623         (lchown): New syscall entry.
11624         (oldsetrlimit): Remove.
11625         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11627         (oldsetrlimit): Remove.
11628         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11630         [BZ #14138]
11631         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11632         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11633         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11634         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11635         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11636         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11637         (fchown): Likewise.
11638         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11639         (fchown): Likewise.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11641         Likewise.
11643 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11646         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11647         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11648         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11649         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11650         Likewise.
11651         (__old_sem_post): Likewise.
11653 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11655         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11656         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11657         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11658         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11659         Use INLINE_VSYSCALL macro.
11660         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11661         __vdso_clock_gettime.
11662         * sysdeps/unix/sysv/linux/tile/init-first.c
11663         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11664         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11665         __vdso_clock_gettime.
11667         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11668         to set up frame more cleanly.
11670         * sysdeps/tile/memcmp.c: New file.
11672         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11674         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11675         * sysdeps/tile/tilegx/strcasestr.c: New file.
11676         * sysdeps/tile/tilegx/strnlen.c: New file.
11677         * sysdeps/tile/tilegx/strstr.c: New file.
11679         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11681 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11683         * nptl/tst-setuid3.c: Write errors to stdout.
11685 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11687         * elf/dl-deps.c
11688         (preload): New functions broken out of _dl_map_object_deps.
11689         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11691 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11693         [BZ #14138]
11694         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11695         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11697 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11699         * sysdeps/mips/strcmp.S: New.
11701 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11703         [BZ #14138]
11704         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11705         (linkat): Likewise.
11706         (mkdirat): Likewise.
11707         (readlinkat): Likewise.
11708         (renameat): Likewise.
11709         (symlinkat): Likewise.
11710         (unlinkat): Likewise.
11711         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11712         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11713         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11714         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11715         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11716         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11717         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11719 2014-09-30  Will Newton  <will.newton@linaro.org>
11721         * math/math.h: Define long double math functions if
11722         _LIBC_TEST is defined.
11723         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11725         * localedata/Makefile: Move assignment to tests-special
11726         into an ifdef testing run-built-tests.
11727         * timezone/Makefile: Likewise.
11729 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11731         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11732         with $(BASH) not $(SHELL).
11734 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11735             Matthew LeGendre  <legendre1@llnl.gov>
11737         [BZ #17411]
11738         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11739         l_reloc_result.
11741 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11743         * stdio-common/printf_fp.c
11744         (hack_digit): New function, broken out of ...
11745         (__printf_fp): ... local function here.  Update call sites.
11746         hack_digit now takes an additional parameter that is a pointer
11747         to a struct of the referenced locals.  Those locals moved inside
11748         the struct and references updated.
11750 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11752         * aclocal.m4: Require autoconf 2.69.
11753         * configure: Regenerated.
11754         * sysdeps/aarch64/configure: Likewise.
11755         * sysdeps/alpha/configure: Likewise.
11756         * sysdeps/arm/armv7/configure: Likewise.
11757         * sysdeps/arm/configure: Likewise.
11758         * sysdeps/ia64/configure: Likewise.
11759         * sysdeps/mach/configure: Likewise.
11760         * sysdeps/mips/configure: Likewise.
11761         * sysdeps/s390/configure: Likewise.
11762         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11765         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11766         file.
11767         * sysdeps/ia64/configure.ac: Likewise.
11769 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11772         specify symbol version for ld.so.  Do not include entry for
11773         libpthread.
11774         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11775         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11776         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11778         [BZ #14171]
11779         * Makeconfig [$(build-shared) = yes]
11780         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11781         makefiles.
11782         [$(build-shared) = yes && $(soversions.mk-done) = t]
11783         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11784         [$(build-shared) = yes && $(soversions.mk-done) = t]
11785         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11786         to Makerules.
11787         [$(build-shared) = yes && $(soversions.mk-done) = t]
11788         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11789         here.
11790         [$(build-shared) = yes && $(soversions.mk-done) = t]
11791         (common-generated): Don't append gnu/lib-names.h and
11792         gnu/lib-names.stmp here.
11793         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11794         (lib-names-h-abi): New variable.
11795         [$(build-shared) = yes && $(soversions.mk-done) = t]
11796         (lib-names-stmp-abi): Likewise.
11797         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11798         abi-variants] (before-compile): Append
11799         $(common-objpfx)$(lib-names-h-abi).
11800         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11801         abi-variants] (common-generated): Append gnu/lib-names.h.
11802         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11803         abi-variants] (install-others-nosubdir): Depend on
11804         $(inst_includedir)/$(lib-names-h-abi).
11805         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11806         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11807         [$(build-shared) = yes && $(soversions.mk-done) = t]
11808         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11809         [$(build-shared) = yes && $(soversions.mk-done) = t]
11810         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11811         [$(build-shared) = yes && $(soversions.mk-done) = t]
11812         (common-generated): Append $(lib-names-h-abi) and
11813         $(lib-names-stmp-abi).
11814         * scripts/lib-names.awk: Do not handle multi being set.
11815         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11816         Remove variable.
11817         (abi-lp64_be-ld-soname): Likewise.
11818         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11819         Likewise.
11820         (abi-hard-ld-soname): Likewise.
11821         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11822         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11823         Remove variable.
11824         (abi-o32_hard-ld-soname): Likewise.
11825         (abi-o32_soft_2008-ld-soname): Likewise.
11826         (abi-o32_hard_2008-ld-soname): Likewise.
11827         (abi-n32_soft-ld-soname): Likewise.
11828         (abi-n32_hard-ld-soname): Likewise.
11829         (abi-n32_soft_2008-ld-soname): Likewise.
11830         (abi-n32_hard_2008-ld-soname): Likewise.
11831         (abi-n64_soft-ld-soname): Likewise.
11832         (abi-n64_hard-ld-soname): Likewise.
11833         (abi-n64_soft_2008-ld-soname): Likewise.
11834         (abi-n64_hard_2008-ld-soname): Likewise.
11835         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11836         Likewise.
11837         (abi-64-v2-ld-soname): Likewise.
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11839         ld.so entries.
11840         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11841         variable.
11842         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11843         entry.
11844         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11845         variable.
11846         (abi-64-ld-soname): Likewise.
11847         (abi-x32-ld-soname): Likewise.
11848         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11849         entry.
11850         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11852 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11854         [BZ #14138]
11855         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11856         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11857         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11858         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11859         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11860         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11861         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11862         syscall entry for GLIBC_2.2 symbol version.
11863         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11864         Likewise.
11865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11866         (setrlimit): Likewise.
11867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11868         Likewise.
11870 2014-09-23  Will Newton  <will.newton@linaro.org>
11872         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11873         _LINUX_ARM_SYSDEP_H include guard too.
11874         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11875         define.
11877 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11879         * sysdeps/unix/sysv/linux/eventfd.c:
11880         Make first argument unsigned.
11881         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11882         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11884 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11886         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11887         * socket/sys/socket.h: Likewise
11888         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11890 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11892         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11894 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11896         * time/tst-ftime.c: New test.
11897         * time/Makefile (tests): Add tst-ftime.
11899 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11901         * soft-fp/extended.h: Fix comment formatting.
11902         * soft-fp/op-1.h: Likewise.
11903         * soft-fp/op-2.h: Likewise.
11904         * soft-fp/op-4.h: Likewise.
11905         * soft-fp/op-8.h: Likewise.
11906         * soft-fp/op-common.h: Likewise.
11907         * soft-fp/soft-fp.h: Likewise.
11909         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11911 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11913         [BZ #6652]
11914         * Makeconfig (soversions-default-setname): Remove variable.
11915         ($(common-objpfx)soversions.i): Don't pass default_setname to
11916         soversions.awk.
11917         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11918         oldest_abi to abi-versions.awk.
11919         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11920         * config.make.in (oldest-abi): Remove variable.
11921         * configure.ac (--enable-oldest-abi): Remove configure option.
11922         * configure: Regenerated.
11923         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11924         text.
11925         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11926         * scripts/soversions.awk: Do not handle default_setname variable.
11927         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11928         variable.
11929         * sysdeps/mach/hurd/configure: Regenerated.
11930         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11931         variable.
11932         * sysdeps/unix/sysv/linux/configure: Regenerated.
11934 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11936         * elf/Makefile (CFLAGS-interp.c): Remove.
11937         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11938         path string.
11939         * elf/interp.c: Include generated runtime-linker.h
11941         * Makerules (lib%.so): Don't include $(+interp) in
11942         prerequisites.
11943         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11944         * dlfcn/eval.c: Remove file.
11946         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11947         macros.
11949         [BZ #17266]
11950         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11951         4.2 and newer.
11953         [BZ #17370]
11954         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11956 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11957             Jakub Jelinek  <jakub@redhat.com>
11959         [BZ #17266]
11960         * libio/stdio.h: Check definition of __fortify_function
11961         instead of __extern_always_inline to include bits/stdio2.h.
11962         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11963         check if __extern_always_inline is defined.
11964         [__USE_MISC || __USE_XOPEN]: Likewise.
11965         [__USE_ISOC99] Likewise.
11966         * misc/sys/cdefs.h (__fortify_function): Define only if
11967         __extern_always_inline is defined.
11968         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11969         __extern_always_inline and __extern_inline only for g++-4.3
11970         and newer or a compatible gcc.
11972 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11974         [BZ #17371]
11975         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11976         last change to handle zero prefix length.
11978 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11980         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11981         _SC_REGEX_VERSION.
11983         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11984         _POSIX_RAW_SOCKETS.
11986 2014-09-13  Allan McRae  <allan@archlinux.org>
11988         * po/ru.po: Update Russian translation from translation project.
11990 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11992         * locale/programs/locale.c (show_locale_vars): Inline local function
11993         into its sole call site.  Clean up some style nits.
11994         (print_item): New function, broken out of ...
11995         (show_info): ... local function here.  Clean up style nits.
11997         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11998         out of ...
11999         (set_class_defaults): ... local function set_default here.
12000         Define set_default as a macro locally to pass constant parameters.
12001         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12002         rather than a shared local.
12004         * stdlib/rpmatch.c (try): New function, broken out of ...
12005         (rpmatch): ... local function here.  Also, prototypify definition.
12007 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12009         * scripts/soversions.awk: Do not handle configuration names.
12010         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12011         vendor and os variables to soversions.awk.
12012         * configure.ac: Do not modify gnu-* host_os.
12013         * configure: Regenerated
12014         * shlib-versions: Remove first column with configuration names.
12015         * nptl/shlib-versions: Likewise.
12016         * nptl_db/shlib-versions: Likewise.
12017         * sysdeps/hppa/shlib-versions: Likewise.
12018         * sysdeps/m68k/shlib-versions: Likewise.
12019         * sysdeps/mach/hurd/shlib-versions: Likewise.
12020         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12021         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12022         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12023         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12024         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12025         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12026         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12027         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12029         Likewise.
12030         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12031         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12032         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12033         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12034         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12035         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12036         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12037         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12040         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12042         Regenerated.
12043         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12045         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12047         * shlib-versions: Remove OS-specific entries.  Moved to files in
12048         sysdeps.
12049         * sysdeps/mach/hurd/shlib-versions: New file.
12050         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12052         * nptl/shlib-versions: Remove architecture-specific entries.
12053         Moved to files in sysdeps.
12054         * shlib-versions: Likewise.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12056         file.
12057         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12058         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12059         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12060         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12062         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12063         (UDP_NO_CHECK6_RX): Likewise.
12065 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12067         * sysdeps/posix/sysconf.c (__sysconf): Spell
12068         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12070 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12072         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12073         loading.
12074         * iconv/Versions (__gconv_transliterate): Export for use from
12075         gconv modules.
12076         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12077         (struct __gconv_trans_data, __gconv_trans_fct,
12078         __gconv_trans_context_fct, __gconv_trans_query_fct,
12079         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12080         definitions.
12081         (struct __gconv_step_data): Remove __trans member.
12082         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12083         longer hidden.  Remove unused trans_data argument.
12084         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12085         (__gconv_translit_find): Remove declaration.
12086         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12087         prototype.
12088         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12089         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12090         trans_data argument.  Add hidden definition.
12091         (__gconv_translit_find): Remove.
12092         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12093         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12094         * iconv/skeleton.c: Remove transliteration initialization.
12095         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12096         __gconv_step_data initialization.
12097         * libio/iofwide.c (__libio_translit_): Remove.
12098         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12099         * wcsmbs/btowc.c (__btowc): Likewise.
12100         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12101         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12102         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12103         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12104         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12105         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12106         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12107         * wcsmbs/wctob.c (wctob): Likewise.
12109 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12111         [BZ #16194]
12112         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12113         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12114         register usage.
12115         * sysdeps/x86/Makefile: Adjust.
12117 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12118             Roland McGrath  <roland@hack.frob.com>
12120         * locale/weight.h: Add include guard.
12121         (findidx): Make static rather than auto; take new parameters
12122         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12123         * locale/weightwc.h: Likewise.
12124         * posix/fnmatch_loop.c
12125         (FCT): Change type of EXTRA from int32_t to wint_t.
12126         Don't include either header inside the function.
12127         Call FINDIDX rather than findidx, and pass new arguments.
12128         #undef FINDIDX at the end of the file.
12129         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12130         FINDIDX before including fnmatch_loop.c for the non-wide version.
12131         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12132         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12133         for the wide version.
12134         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12135         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12136         Pass new arguments to findidx.
12137         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12138         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12139         Don't #include it inside the function.  Pass new arguments to findidx.
12140         * posix/regex_internal.h
12141         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12142         (re_string_elem_size_at): Don't #include it inside the function.
12143         Pass new arguments to findidx.
12144         * string/strcoll_l.c: #include WEIGHT_H at top level.
12145         (get_next_seq): Don't #include it inside the function.
12146         Pass new arguments to findidx.
12147         (get_next_seq_nocache): Likewise.
12148         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12149         (STRXFRM): Don't #include it inside the function.
12150         Pass new arguments to findidx.
12152 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12154         [BZ #17344]
12155         * malloc/malloc.c (unlink): Turn asserts into a call to
12156         malloc_printerr.
12158 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12160         [BZ #17370]
12161         * libio/wfileops (do_ftell_wide): Free OUT.
12163 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12165         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12167 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12169         [BZ #17363]
12170         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12171         group if the current group is empty.
12173 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12175         * benchtests/bench-memset.c (test_main): Add more test from size
12176         from 32 to 512 bytes.
12177         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12178         Add POWER8 memset object.
12179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12180         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12181         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12182         implementation.
12183         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12184         Likewise.
12185         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12186         multiarch POWER8 memset optimization.
12187         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12188         POWER8 memset optimization.
12190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12191         Remove bzero multiarch objects.
12192         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12194         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12195         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12196         Remove define.
12197         [__bzero]: Redefine to specific name.
12198         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12199         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12200         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12201         define.
12202         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12203         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12205 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12207         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12208         warnings into errors.
12210         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12211         __cxa_thread_atexit_impl prototype.
12213 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12215         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12216         Fix capitalization of error message.
12218 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12220         * sysdeps/mips/preconfigure: Modify ABI tests.
12222 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12224         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12226 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12227             Carlos O'Donell  <carlos@systemhalted.org>
12229         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12230         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12231         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12232         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12233         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12234         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12235         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12236         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12237         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12238         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12239         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12240         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12242         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12243         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12244         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12245         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12246         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12250         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12251         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12252         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12253         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12254         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12255         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12256         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12257         Deconditionalize the code that was previously under [RESET_PID].
12258         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12259         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12260         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12261         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12262         include sysdep.h.
12264 2014-09-08  Allan McRae  <allan@archlinux.org>
12266         * version.h (RELEASE): Set to "development".
12267         (VERSION): Set to "2.20.90"
12269 2014-09-07  Allan McRae  <allan@archlinux.org
12271         * version.h (RELEASE): Set to "stable".
12272         (VERSION): Set to "2.20"
12273         * include/features.h (__GLIBC_MINOR__): Set to 20.
12275         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12276         Liebler.
12278         * po/ko.po: Update Korean translation from translation project.
12280 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12282         [BZ #17354]
12283         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12284         macro for handling signed relocations.
12286 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12288         [BZ #17325]
12289         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12290         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12291         assert.
12292         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12293         * iconvdata/ibm935.c (BODY): Likewise.
12294         * iconvdata/ibm937.c (BODY): Likewise.
12295         * iconvdata/ibm939.c (BODY): Likewise.
12296         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12297         assert.
12298         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12299         script.
12300         * iconvdata/run-iconv-test.sh: New test loop for checking for
12301         decoder crashers.
12303 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12305         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12306         libm_hidden_ver.
12308 2014-09-01  Allan McRae  <allan@archlinux.org>
12310         * po/eo.po: Update Esperanto translation from translation project.
12312         * po/ca.po: Update Catalan translation from translation project.
12314 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12316         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12317         __proc_dostop call.
12319 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12321         [BZ #17319]
12322         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12323         to call set_thread_area instead of hand written asm.
12324         (__NR_set_thread_area): Removed define.
12325         (TLS_FLAG_WRITABLE): Likewise.
12326         (__ASSUME_SET_THREAD_AREA): Remove check.
12327         (TLS_EBX_ARG): Remove define.
12328         (TLS_LOAD_EBX): Likewise.
12330 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12332         Simplify atomicity of socket creation in bind.
12334         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12335         looking up the name after linking the file.
12337 2014-08-27  Allan McRae  <allan@archlinux.org>
12339         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12341 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12343         [BZ #17187]
12344         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12345         trans_compare, open_translit, __gconv_translit_find):
12346         Remove module loading code.
12348 2014-08-26  Allan McRae  <allan@archlinux.org>
12350         * po/vi.po: Update Vietnamese translation from translation project.
12352         * po/uk.po: Update Ukrainian translation from translation project.
12354         * po/fr.po: Update French translation from translation project.
12356         * po/ru.po: Update Russian translation from translation project.
12358         * po/pl.po: Update Polish translation from translation project.
12360         * po/cs.po: Update Czech translation from translation project.
12362         * po/de.po: Update German translation from translation project.
12364         * po/bg.po: Update Bulgarian translation from translation project.
12366         * po/sv.po: Update Sweedish translation from translation project.
12368         * po/nl.po: Update Dutch translation from translation project.
12370         * po/es.po: Update Spanish translation from translation project.
12372 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12374         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12376         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12377         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12378         (CPPFLAGS-iconvconfig): Likewise.
12379         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12381         * include/libc-symbols.h: Remove unnecessary check for
12382         NOT_IN_libc.
12383         * nptl/pthreadP.h: Likewise.
12384         * sysdeps/aarch64/setjmp.S: Likewise.
12385         * sysdeps/alpha/setjmp.S: Likewise.
12386         * sysdeps/arm/sysdep.h: Likewise.
12387         * sysdeps/i386/setjmp.S: Likewise.
12388         * sysdeps/m68k/setjmp.c: Likewise.
12389         * sysdeps/posix/getcwd.c: Likewise.
12390         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12391         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12392         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12393         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12394         * sysdeps/sh/sh3/setjmp.S: Likewise.
12395         * sysdeps/sh/sh4/setjmp.S: Likewise.
12396         * sysdeps/unix/alpha/sysdep.h: Likewise.
12397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12399         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12400         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12405         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12408         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12410         * sysdeps/x86_64/setjmp.S: Likewise.
12412 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12414         [BZ #17263]
12415         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12416         <stdint.h>.
12417         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12418         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12420 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12422         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12424         [BZ #17262]
12425         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12426         and __x86_64__ when disabling x87 inline functions.
12428 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12430         [BZ #17259]
12431         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12432         asm statement with __cpuid_count.
12434 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12436         * configure.ac: Change __ehdr_start code to dereference the struct.
12437         Run readelf on the output to look for relocations.
12438         * configure: Regenerated.
12440 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12442         [BZ #17261]
12443         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12444         value to 0.
12445         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12447 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12449         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12451 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12453         [BZ #16892]
12454         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12455         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12457 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12459         * malloc/malloc.c: Fix typo in comment.
12461 2014-08-09  Allan McRae  <allan@archlinux.org>
12463         * Regenerate libc.po.
12465 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12467         * intl/tst-gettext2.sh: Check every lang file for creation.
12469 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12471         * sysdeps/aarch64/fpu/math_private.h
12472         (libc_feholdsetround_noex_aarch64_ctx): New function.
12474 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12476         * sysdeps/arm/armv6/strcpy.S (strcpy):
12477         Fix performance issue in misaligned cases.
12479 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12481         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12482         Move definition from termios.h.
12483         (struct termio): Likewise.
12484         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12485         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12486         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12487         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12490         Move definition to ioctl-types.h
12491         (struct termio): Likewise.
12492         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12493         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12494         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12495         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12496         Likewise.
12498 2014-08-05  Richard Henderson  <rth@redhat.com>
12500         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12501         exceptions.
12502         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12503         Add fraiseexcpt.
12504         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12505         Use __feraiseexcept.
12506         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12507         Protect libm symbols with IS_IN_libm.
12509         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12511 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12513         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12515 2014-08-04  Will Newton  <will.newton@linaro.org>
12517         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12518         file.
12520 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12522         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12523         variants for each function.
12525 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12527         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12528         appended ...
12529         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12530         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12531         appended ...
12532         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12533         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12534         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12535         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12536         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12537         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12538         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12539         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12540         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12541         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12542         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12543         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12544         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12545         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12546         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12547         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12548         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12549         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12550         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12551         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12552         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12553         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12554         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12555         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12556         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12557         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12558         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12559         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12560         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12561         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12562         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12563         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12564         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12565         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12566         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12567         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12568         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12569         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12570         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12571         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12572         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12573         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12574         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12575         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12576         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12577         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12578         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12579         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12580         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12581         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12582         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12583         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12584         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12585         Update #include.
12586         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12587         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12589 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12591         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12592         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12593         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12594         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12595         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12596         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12598 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12600         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12601         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12602         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12603         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12605 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12607         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12608         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12609         (__libc_vfork): Define function under this name.
12610         (__vfork): Define as an alias.
12611         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12612         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12614 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12616         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12617         that was previously under [RESET_PID].
12618         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12620 2014-08-04  Andreas Schwab  <schwab@suse.de>
12622         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12624 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12626         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12627         (main): Likewise.
12629 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12631         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12633 2014-08-01  Richard Henderon  <rth@redhat.com>
12635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12636         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12637         typo in exact zero test.
12638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12640         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12642 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12644         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12645         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12646         * sysdeps/arm/sysdep.h: ... here.
12647         [!__ASSEMBLER__]: Include <stdint.h>.
12649 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12651         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12652         (HAVE_WCTYPE_H): Likewise.
12653         (HAVE_ISWCTYPE): Likewise.
12654         (ENABLE_NLS): Likewise.
12655         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12656         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12658         * posix/regex_internal.c: Check if DEBUG is defined and is
12659         set.
12661         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12662         (HAVE_MBSRTOWCS): Likewise.
12663         * posix/fnmatch.c: Include string.h unconditionally.
12665 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12667         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12668         reversal.
12670 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12672         * sysdeps/generic/safe-fatal.h: New file.
12673         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12674         * nptl/forward.c: Include it.
12675         (__pthread_unwind): Use __safe_fatal as default action, rather
12676         than a bogus use of INTERNAL_SYSCALL that could never work.
12678         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12679         * configure.ac (libc_cv_builtin_trap): New test.
12680         * configure: Regenerated.
12681         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12682         (ABORT_INSTRUCTION): Define using __builtin_trap.
12684         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12685         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12686         * sysdeps/nptl/nptl-signals.h: New file.
12687         * nptl/pthreadP.h: Include <nptl-signals.h>.
12689 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12691         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12692         (ONE_DIRECTION): Define.
12693         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12694         (ONE_DIRECTION): Define.
12695         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12696         (ONE_DIRECTION): Define.
12698 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12700         * sysdeps/s390/Makefile: Delete file.
12701         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12702         * sysdeps/s390/__longjmp.c: Delete file.
12703         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12704         Remove fields __flags and __reserved.
12705         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12706         and add versioning.
12707         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12708         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12709         * sysdeps/s390/rtld-setjmp.S: Likewise.
12710         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12711         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12712         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12713         * sysdeps/s390/s390-32/setjmp.S: ... here.
12714         Add versioning.
12715         (__sigsetjmp): Remove setting __flags field.
12716         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12717         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12718         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12719         * sysdeps/s390/s390-64/setjmp.S: ... here.
12720         Add versioning.
12721         (__sigsetjmp): Remove setting __flags field.
12722         * sysdeps/s390/setjmp.S: Delete file.
12723         * sysdeps/s390/sigjmp.c: Likewise.
12724         * sysdeps/s390/v1-longjmp.c: Likewise.
12725         * sysdeps/s390/v1-setjmp.h: Likewise.
12726         * sysdeps/s390/v1-sigjmp.c: Likewise.
12727         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12728         Remove v1-longjmp_chk.
12729         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12730         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12731         Include debug/longjmp_chk.c and add versioning.
12732         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12733         Include nptl/pt-longjmp.c and add versioning.
12734         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12735         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12736         Include __longjmp.c.
12737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12738         Move to ...
12739         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12740         (__getcontext): Remove setting __flags field.
12741         Add versioning.
12742         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12743         Don't restore upper high grps.
12744         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12745         Likewise.
12746         (__swapcontext): Remove setting uc_flags field.
12747         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12748         Delete file.
12749         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12750         Include __longjmp.c.
12751         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12752         Move to ...
12753         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12754         (__getcontext): Remove setting __flags field.
12755         Add versioning.
12756         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12757         (__swapcontext): Remove setting uc_flags field.
12758         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12759         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12760         Remove fields uc_high_gprs and __reserved.
12761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12762         New file with reverted content.
12763         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12764         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12765         Regenerated.
12766         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12767         Regenerated.
12769 2014-07-31  Andreas Schwab  <schwab@suse.de>
12771         * config.h.in (HAVE_IFUNC): Define to 0.
12772         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12773         definedness.
12775 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12778         memmove-avx-unaligned, memcpy-avx-unaligned and
12779         mempcpy-avx-unaligned.
12780         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12781         Add tests for AVX memcpy functions.
12782         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12783         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12784         memcpy_chk.
12785         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12786         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12787         memmove_chk.
12788         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12789         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12790         mempcpy_chk.
12791         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12792         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12793         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12795 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12797         [BZ #17213]
12798         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12799         powerpc64le.
12801 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12803         [BZ #16839]
12804         * manual/llio.texi: Add section about open file description locks.
12805         * manual/examples/ofdlocks.c: Example of open file description
12806         lock usage.
12807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12808         F_OFD_SETLK, and F_OFD_SETLKW.
12810 2014-07-23  Allan McRae  <allan@archlinux.org>
12812         * po/es.po: Update Spanish translation from translation project.
12814 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12816         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12818 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12820         [BZ #17078]
12821         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12822         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12823         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12825 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #17088]
12828         * math/fesetenv.c (__fesetenv)
12829         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12830         * math/feupdateenv.c (__feupdateenv)
12831         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12833         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12834         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12835         (__ASSUME_SOCKETCALL): Do not define.
12837         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12838         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12839         (__ASSUME_SOCKETCALL): Do not define.
12840         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12841         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12842         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12843         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12844         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12845         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12846         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12847         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12850         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12851         (__ASSUME_SOCKETCALL): Do not define.
12852         (__ASSUME_IPC64): Define unconditionally.
12853         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12854         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12855         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12856         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12857         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12858         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12859         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12860         Likewise.
12862         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12863         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12864         (__ASSUME_SOCKETCALL): Do not define.
12865         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12866         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12867         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12868         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12869         (__ASSUME_REQUEUE_PI): Define unconditionally.
12870         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12871         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12872         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12873         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12875         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12877         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12878         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12879         (__ASSUME_SOCKETCALL): Do not define.
12880         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12881         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12882         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12883         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12884         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12885         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12887         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12888         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12889         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12890         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12891         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12892         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12893         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12894         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12895         (__ASSUME_GETCPU_SYSCALL): Likewise.
12897         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12898         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12899         cases for individual architectures.
12900         * sysdeps/gnu/configure: Regenerated.
12901         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12902         LIBC_SLIBDIR_RTLDDIR.
12903         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12904         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12905         LIBC_SLIBDIR_RTLDDIR.
12906         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12908         LIBC_SLIBDIR_RTLDDIR.
12909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12910         Regenerated.
12911         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12912         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12913         file.
12914         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12915         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12916         file.
12917         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12918         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12919         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12920         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12922         * sysdeps/aarch64/shlib-versions: Move to ...
12923         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12924         * sysdeps/alpha/shlib-versions: Move to ...
12925         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12926         * sysdeps/arm/shlib-versions: Move to ...
12927         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12928         * sysdeps/hppa/shlib-versions: Move all contents except for
12929         libgcc_s entry to ...
12930         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12931         entry from ...
12932         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12933         * sysdeps/ia64/shlib-versions: Move to ...
12934         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12935         entry from ...
12936         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12937         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12938         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12939         * sysdeps/microblaze/shlib-versions: Move to ...
12940         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12941         * sysdeps/mips/shlib-versions: Move to ...
12942         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12943         entry from ...
12944         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12945         * sysdeps/tile/shlib-versions: Move to ...
12946         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12947         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12948         from ...
12949         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12950         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12951         entry from ...
12952         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12954 2014-07-17  Will Newton  <will.newton@linaro.org>
12956         * sysdeps/arm/bits/atomic.h
12957         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12958         (__arch_compare_and_exchange_bool_16_int): Likewise.
12959         (__arch_compare_and_exchange_bool_64_int): Likewise.
12961         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12962         into an #else block.
12964 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12966         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12967         just Linux configurations.  Test empirically that the compiler sets
12968         __ARM_EABI__, rather than using the tuple to decide.
12969         * sysdeps/arm/preconfigure: Regenerated.
12970         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12971         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12972         contents appended ...
12973         * sysdeps/arm/configure.ac: ... here.
12974         * sysdeps/arm/configure: Regenerated.
12976 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12978         * nptl/pthread_kill.c: New file.
12979         * nptl/pthread_sigmask.c: New file.
12980         * nptl/pthread_sigqueue.c: New file.
12982         * sysdeps/nptl/lowlevellock.h: New file.
12983         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12984         * sysdeps/nptl/lowlevellock-futex.h: New file.
12986         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12987         Remove dead declarations.
12989 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12991         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12992         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12993         config-cflags-avx2.
12994         * sysdeps/x86_64/configure.ac: Likewise.
12995         * sysdeps/i386/configure: Regenerated.
12996         * sysdeps/x86_64/configure: Likewise.
12997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12998         memset-avx2 only if config-cflags-avx2 is yes.
12999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13000         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13001         defined.
13002         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13003         only if HAVE_AVX2_SUPPORT is defined.
13004         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13006 2014-07-14  Alan Modra  <amodra@gmail.com>
13008         [BZ #17153]
13009         * elf/elf.h (DT_PPC64_NUM): Correct value.
13010         * NEWS: Add to fixed bug list.
13012 2014-07-13  Jim Meyering  <meyering@fb.com>
13014         [BZ 17150]
13015         regex: don't deref NULL upon heap allocation failure
13016         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13017         failure in one more place.
13018         To trigger the segfault, configure grep -with-included-regex,
13019         build it, and run these commands:
13020         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13022 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13024         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13026 2014-07-11  Richard Henderson  <rth@redhat.com>
13028         * sysdeps/aarch64/libm-test-ulps: Update.
13030 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13032         [BZ #17135]
13033         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13034         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13035         (__nptl_setxid): Initialize error member.  Call
13036         __nptl_setxid_error.
13037         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13038         * nptl/descr.h (struct xid_command): Add error member.
13039         * nptl/tst-setuid3.c: New file.
13040         * nptl/Makefile (tests): Add it.
13042 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13044         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13045         New define.
13046         (__lll_trylock): Use __lll_base_trylock.
13047         (__lll_cond_trylock): Likewise.
13049 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13051         * nptl/pthread_create.c (start_thread): Use atomic_or and
13052         lll_futex_wake directly rather than lll_robust_dead.
13053         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13054         (lll_robust_dead): Macro removed.
13055         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13056         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13057         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13058         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13060         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13061         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13062         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13063         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13064         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13065         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13066         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13067         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13068         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13071         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13072         Use atomic_compare_and_exchange_val_acq directly rather than
13073         lll_robust_trylock.
13074         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13075         (__lll_robust_trylock, lll_robust_trylock): Removed.
13076         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13077         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13078         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13079         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13080         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13081         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13082         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13083         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13084         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13085         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13087         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13088         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13089         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13091 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13093         * manual/locale.texi (Locale Names): New section documenting
13094         locale name syntax.  Adjust menu and node chaining accordingly.
13095         (Choosing Locale): Reference Locale Names, Locale Categories.
13096         Mention setting LC_ALL=C.  Reflect that name syntax is now
13097         documented.
13098         (Locale Categories): New section title.  Reference Locale Names.
13099         LC_ALL is an environment variable, but not a category.
13100         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13101         description, now in Locale Name.  Reference that section.  Locale
13102         name syntax is now documented.
13104 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13106         [BZ #17137]
13107         * locale/findlocale.c (name_present, valid_locale_name): New
13108         functions.
13109         (_nl_find_locale): Use the loc_name variable to store name
13110         candidates.  Call name_present and valid_locale_name to check and
13111         validate locale names.  Return an error if the locale is invalid.
13113 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13115         * locale/setlocale.c (setlocale): Use strdup for allocating
13116         composite name copy.
13118 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13120         Sync up with gnulib.
13121         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13122         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13123         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13124         and _GL_ARG_NONNULL.
13125         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13126         [!_LIBC]: Include code for Windows and Cygwin.
13127         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13128         Include prototype for int strerror_r.
13129         [!_LIBC] (is_open): New function.
13130         (flush_stdout): New function.
13131         (print_errno_message): Use it.
13132         (error): Likewise.
13133         (error_at_line): Likewise.
13134         (error_tail) Add function attribute macros.  Use
13135         __builtin_expect.
13137         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13139         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13141         * io/ftw.c: Include sys/param.h unconditionally.
13143         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13145         [BZ #17125]
13146         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13147         libc_freeres_ptr.
13148         (freecache): New function to free CACHE on exit.
13150         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13151         initialization.
13153 2014-07-09  David S. Miller  <davem@davemloft.net>
13155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13157         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13158         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13159         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13160         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13161         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13162         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13163         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13164         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13165         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13166         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13167         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13168         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13169         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13171 2014-07-09  Andreas Schwab  <schwab@suse.de>
13173         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13174         output.
13175         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13176         (do_test): Likewise.
13178         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13180 2014-07-09  Will Newton  <will.newton@linaro.org>
13182         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13183         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13184         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13185         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13186         * sysdeps/hppa/start.S (_start): Likewise.
13188 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13190         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13192         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13193         defined.
13195 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13197         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13198         after checking that it is non-NULL.
13200         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13202 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13204         * sysdeps/powerpc/memmove.c: Remove file.
13205         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13206         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13207         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13208         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13209         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13210         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13211         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13212         string memmove instead of removed powerpc one.
13214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13215         [weak_alias]: Fix compiler warning due trailing data.
13216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13217         [weak_alias]: Likewise.
13218         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13219         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13222         (__libc_ifunc_impl_list): Add memmove functions.
13224 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13226         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13227         Remove code.
13228         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13229         Likewise
13230         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13231         Likewise
13232         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13233         Likewise
13234         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13235         Likewise
13236         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13237         Likewise
13238         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13239         Likewise
13240         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13241         Likewise
13242         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13243         Likewise
13244         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13245         Likewise
13246         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13247         Likewise
13248         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13249         Likewise
13250         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13251         Likewise
13252         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13253         Likewise
13254         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13255         Likewise
13256         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13257         Likewise
13258         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13259         Likewise
13261 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13263         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13264         to avoid alignment traps in non-cacheable memory.
13265         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13268         multiarch objects.
13269         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13270         file: multiarch power7 memmove.
13271         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13272         multiarch default memmove.
13273         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13274         multiarch memove for powerpc32/power4.
13276         * string/bcopy.c: Use full path to include memmove.c.
13277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13278         multiarch objects.
13279         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13280         bcopy for powerpc64.
13281         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13282         bcopy for powerpc64.
13283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13284         and memmove implementations.
13285         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13286         optimized multiarch memmove for POWER7/powerpc64.
13287         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13288         default multiarch memmove for powerpc64.
13289         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13290         multiarch for powerpc64.
13291         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13292         for POWER7/powerpc64.
13293         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13294         memmove for POWER7/powerpc64.
13296         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13297         glibc default one.
13299         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13300         __ELF_NATIVE_CLASS equal to 64.
13302 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13304         * sysdeps/nptl/lowlevellock.h: File removed.
13306         * NEWS: NPTL is no longer an add-on!
13307         * nptl/internaltypes.h: Moved ...
13308         * sysdeps/nptl/internaltypes.h: ... here.
13309         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13310         * sysdeps/nptl/fork.c: Likewise.
13311         * sysdeps/nptl/gai_misc.h: Likewise.
13312         * sysdeps/nptl/librt-cancellation.c: Likewise.
13313         * sysdeps/nptl/jmp-unwind.c: Likewise.
13314         * sysdeps/nptl/setxid.h: Likewise.
13315         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13316         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13317         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13318         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13319         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13320         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13321         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13322         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13323         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13324         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13325         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13326         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13327         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13328         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13329         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13330         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13331         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13332         * nptl/Makeconfig: Moved ...
13333         * sysdeps/nptl/Makeconfig: ... here.
13334         * nptl/configure: File removed.
13335         * nptl/ANNOUNCE: File removed.
13336         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13337         * sysdeps/unix/sysv/linux/configure: Regenerated.
13339         * nptl/Makefile (routines): Add libc_pthread_init,
13340         libc_multiple_threads, register-atfork and unregister-atfork.
13341         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13342         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13343         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13344         pthread-pi-defines.sym, structsem.sym.
13345         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13346         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13347         [$(subdir) = nptl] (tests): Add tst-setgetname.
13348         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13349         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13350         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13351         [!LIBC_SIGACTION]: Remove aliases.
13352         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13353         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13354         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13355         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13356         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13357         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13358         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13359         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13360         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13361         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13362         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13363         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13364         __libc_allocate_rtsig_private.
13365         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13366         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13367         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13368         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13369         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13370         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13371         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13372         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13373         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13374         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13375         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13376         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13377         * nptl/internaltypes.h: ... here.
13378         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13379         * sysdeps/nptl/jmp-unwind.c: ... here.
13380         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13381         * nptl/libc-lowlevellock.c: ... here.
13382         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13383         * nptl/libc_multiple_threads.c: ... here.
13384         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13385         * nptl/libc_pthread_init.c: ... here.
13386         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13387         * nptl/lowlevelbarrier.sym: ... here.
13388         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13389         * nptl/lowlevelcond.sym: ... here.
13390         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13391         * nptl/lowlevellock.c: ... here.
13392         * nptl/lowlevellock.h: Moved ...
13393         * sysdeps/nptl/lowlevellock.h: ... here.
13394         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13395         * nptl/lowlevelrobustlock.c: ... here.
13396         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13397         * nptl/lowlevelrobustlock.sym: ... here.
13398         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13399         * nptl/lowlevelrwlock.sym: ... here.
13400         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13401         * nptl/pt-fork.c: ... here.
13402         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13403         * nptl/pthread-pi-defines.sym: ... here.
13404         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13405         * nptl/pthread_attr_getaffinity.c: ... here.
13406         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13407         * nptl/pthread_attr_setaffinity.c: ... here.
13408         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13409         * nptl/pthread_mutex_cond_lock.c: ... here.
13410         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13411         Update #include.
13412         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13413         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13414         * nptl/pthread_once.c: ... here, replacing old file.
13415         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13416         * nptl/pthread_yield.c: ... here.
13417         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13418         * nptl/register-atfork.c: ... here.
13419         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13420         * nptl/sem_post.c: ... here.
13421         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13422         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13423         * nptl/sem_timedwait.c: ... here.
13424         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13425         * nptl/sem_trywait.c: ... here.
13426         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13427         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13428         * nptl/sem_wait.c: ... here.
13429         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13430         * nptl/structsem.sym: ... here.
13431         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13432         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13433         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13434         * nptl/unregister-atfork.c: ... here.
13435         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13436         * nptl/unwindbuf.sym: ... here.
13437         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13438         * sysdeps/nptl/fork.c: ... here.
13439         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13440         * sysdeps/nptl/fork.h: ... here.
13441         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13442         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13443         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13444         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13445         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13446         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13447         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13448         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13449         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13450         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13451         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13452         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13453         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13454         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13455         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13456         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13457         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13458         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13459         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13460         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13461         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13462         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13463         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13464         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13465         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13466         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13467         * sysdeps/unix/sysv/linux/raise.c: ... here.
13468         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13469         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13470         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13471         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13472         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13473         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13474         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13475         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13476         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13477         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13478         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13479         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13480         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13481         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13482         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13484 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13486         * sysdeps/generic/memcopy.h: Add comment for
13487         MEMCPY_OK_FOR_FWD_MEMMOVE.
13489 2014-07-04  Will Newton  <will.newton@linaro.org>
13491         * string/memchr.c: Merge from gnulib.
13492         [_LIBC]: Remove conditionals.
13493         (__ptr_t): Remove define.
13494         (LONG_MAX_32_BITS): Likewise.
13495         (LONG_MAX): Likewise.
13496         (MEMCHR): Use ANSI prototype and optimize algorithm.
13498         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13500 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13502         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13503         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13505         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13506         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13507         in a bare environment with no <stdlib.h> installed.
13508         * sysdeps/nptl/configure: Regenerated.
13510         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13512         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13513         AC_EGREP_CPP for kernel header checks, so they only succeed if
13514         including <linux/version.h> actually works right.
13515         * sysdeps/unix/sysv/linux/configure: Regenerated.
13517         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13518         value so it's not diagnosed as unused.
13520         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13521         thing) with "ifeq ($(subdir),rt)".
13523 2014-07-03  Richard Henderson  <rth@redhat.com>
13525         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13526         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13527         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13529         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13530         (math_force_eval): New.
13532         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13533         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13535         * sysdeps/alpha/fpu/s_round.c: Remove file.
13536         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13538         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13539         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13540         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13541         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13542         (_dl_start, print_statistics): Likewise.
13543         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13544         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13546         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13547         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13548         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13549         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13551         (HP_SMALL_TIMING_AVAIL): Define.
13552         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13554         (HP_SMALL_TIMING_AVAIL): Define.
13555         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13556         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13558         * sysdeps/aarch64/hp-timing.h: New file.
13560         * sysdeps/generic/hp-timing.h: Remove dead comment.
13561         * sysdeps/generic/hp-timing-common.h: New file.
13562         * sysdeps/alpha/hp-timing.h: Include it.
13563         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13564         * sysdeps/i386/i686/hp-timing.h: Likewise.
13565         * sysdeps/ia64/hp-timing.h: Likewise.
13566         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13567         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13568         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13569         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13570         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13571         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13572         (hp_timing_t): New.
13574         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13575         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13576         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13577         * elf/rtld.c (_dl_start_final): Likewise.
13578         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13579         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13580         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13581         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13582         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13584         (HP_TIMING_DIFF_INIT): Remove.
13585         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13586         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13587         (HP_TIMING_DIFF_INIT): Remove.
13588         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13589         * sysdeps/i386/i686/hp-timing.c: Remove file.
13590         * sysdeps/x86_64/hp-timing.c: Remove file.
13591         * sysdeps/ia64/hp-timing.c: Remove file.
13592         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13593         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13594         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13595         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13597         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13598         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13599         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13600         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13601         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13602         (HP_TIMING_ACCUM): Remove.
13603         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13605         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13607         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13608         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13609         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13610         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13611         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13612         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13613         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13614         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13616         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13618 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13620         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13622 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624         Sync up with gettext.
13625         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13626         [_MSC_VER]: Include malloc.h
13627         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13628         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13629         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13630         TEMP_FAILURE_RETRY.  Cast return of alloca.
13631         [!_LIBC] Call gl_rwlock_init.
13632         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13634 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13636         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13637         before checking its value.
13639 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13641         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13643         * debug/memcpy_chk.c: Don't include pagecopy.h.
13644         * debug/mempcpy_chk.c: Likewise.
13645         * string/memcpy.c: Likewise.
13646         * string/memmove.c: Likewise.
13647         * sysdeps/powerpc/memmove.c: Likewise.
13648         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13649         definition of PAGE_COPY_FWD_MAYBE here...
13650         * sysdeps/generic/pagecopy.h: ... from here.
13651         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13653 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13654             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13656         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13658         optimizations.
13659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13660         (__libc_ifunc_impl_list): Likewise.
13661         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13662         multiarch strcat for PPC64.
13663         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13664         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13666 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13668         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13670 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13672         * intl/loadmsgcat.c: Remove declaration of
13673         get_sysdep_segment_value.
13674         (get_sysdep_segment_value): Use ISO C style.
13675         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13676         semicolon.  Fix typo and formatting in comment.
13677         (_nl_unload_domain): Use ISO C style.
13679         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13681 2014-07-02  Will Newton  <will.newton@linaro.org>
13683         * malloc/obstack.c: Merge from gnulib master.
13684         [HAVE_CONFIG_H]: Remove conditional code.
13685         [!_LIBC]: Include config.h.
13686         [!ELIDE_CODE]: Don't include inttypes.h, include
13687         stdint.h unconditionally.
13688         (print_and_abort): Mark as _Noreturn.
13689         (_obstack_allocated_p): Mark as __attribute_pure__.
13690         (obstack_free): Rename to __obstack_free.
13691         [!__attribute__]: Remove conditional code.
13692         * malloc/obstack.h: Merge from gnulib master.
13693         [__cplusplus]: Move conditional down.
13694         [!__attribute_pure__]: Define __attribute_pure__ here
13695         if it is not already defined.
13696         (_obstack_memory_used): Mark as __attribute_pure__.
13697         [!__obstack_free]: Define as obstack_free.
13698         [__GNUC__]: Remove check for ancient NeXT gcc.
13700 2014-07-02  Will Newton  <will.newton@linaro.org>
13701             Paul Eggert  <eggert@cs.ucla.edu>
13703         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13705 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13707         * resolv/gethnamaddr.c: Add comment warning that the file is
13708         not maintained.
13710 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13712         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13713         entries.
13715         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13716         entry for aio_cancel and aio_cancel64.
13717         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13718         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13719         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13720         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13721         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13722         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13723         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13724         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13725         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13726         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13727         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13728         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13729         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13731 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13733         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13734         * nptl/pthread_mutex_lock.c: Likewise.
13735         * nptl/pthread_mutex_timedlock.c: Likewise.
13736         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13738 2014-07-01  Richard henderson  <rth@redhat.com>
13740         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13741         (__isnan, __isnanl): Remove.
13742         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13744         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13746 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13748         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13750 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13752         * resolv/nss_dns/dns-host.c (getanswer_r)
13753         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13755 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13758         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13759         undefine.
13760         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13761         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13763 2014-07-01  Roland McGrath <roland@hack.frob.com>
13765         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13766         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13768         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13769         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13771         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13772         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13773         ... here.
13774         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13775         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13777         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13778         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13779         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13780         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13782         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13783         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13784         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13785         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13786         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13787         Moved ...
13788         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13789         ... here.
13790         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13791         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13792         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13793         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13794         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13795         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13796         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13797         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13799         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13800         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13801         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13802         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13803         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13804         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13805         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13809         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13810         ... here.
13811         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13812         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13813         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13814         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13815         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13816         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13817         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13818         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13820 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13822         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13823         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13824         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13825         Add sysdep.
13827 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13831 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13833         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13834         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13836         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13838         * sysdeps/arm/libm-test-ulps: Regenerated.
13840 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13841             Roland McGrath <roland@hack.frob.com>
13843         * test-skeleton.c (signal_handler): Kill the whole process group
13844         before killing the child individually.
13845         (main): Report any failure on `setpgid'.
13847 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13849         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13850         from _TLS_H to _ARM_NPTL_TLS_H.
13851         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13852         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13854 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13856         [BZ #16539]
13857         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13858         (__expm1l): Return argument unchanged when small but not
13859         subnormal.
13861         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13862         include macro name.
13863         (_FP_UNPACK_RAW_1_P): Likewise.
13864         (_FP_PACK_RAW_1): Likewise.
13865         (_FP_PACK_RAW_1_P): Likewise.
13866         (_FP_MUL_MEAT_1_wide): Likewise.
13867         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13868         (_FP_MUL_MEAT_1_hard): Likewise.
13869         (_FP_DIV_MEAT_1_imm): Likewise.
13870         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13871         (_FP_DIV_MEAT_1_udiv): Likewise.
13872         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13873         (_FP_UNPACK_RAW_2): Likewise.
13874         (_FP_UNPACK_RAW_2_P): Likewise.
13875         (_FP_PACK_RAW_2): Likewise.
13876         (_FP_PACK_RAW_2_P): Likewise.
13877         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13878         (_FP_MUL_MEAT_2_wide): Likewise.
13879         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13880         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13881         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13882         (_FP_MUL_MEAT_2_gmp): Likewise.
13883         (_FP_DIV_MEAT_2_udiv): Likewise.
13884         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13885         (_FP_FRAC_SRL_4): Likewise.
13886         (_FP_FRAC_SRST_4): Likewise.
13887         (_FP_FRAC_SRS_4): Likewise.
13888         (_FP_UNPACK_RAW_4): Likewise.
13889         (_FP_UNPACK_RAW_4_P): Likewise.
13890         (_FP_PACK_RAW_4): Likewise.
13891         (_FP_PACK_RAW_4_P): Likewise.
13892         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13893         (_FP_MUL_MEAT_4_wide): Likewise.
13894         (_FP_MUL_MEAT_4_gmp): Likewise.
13895         (umul_ppppmnnn): Likewise.
13896         (_FP_DIV_MEAT_4_udiv): Likewise.
13897         (__FP_FRAC_ADD_4): Likewise.
13898         (__FP_FRAC_SUB_3): Likewise.
13899         (__FP_FRAC_SUB_4): Likewise.
13900         (__FP_FRAC_DEC_3): Likewise.
13901         (__FP_FRAC_DEC_4): Likewise.
13902         (__FP_FRAC_ADDI_4): Likewise.
13903         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13904         (_FP_FRAC_SRL_8): Likewise.
13905         (_FP_FRAC_SRS_8): Likewise.
13907         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13908         include macro name.
13909         (FP_UNPACK_RAW_EP): Likewise.
13910         (FP_PACK_RAW_E): Likewise.
13911         (FP_PACK_RAW_EP): Likewise.
13912         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13913         (_FP_ISSIGNAN): Likewise.
13914         (_FP_ADD_INTERNAL): Likewise.
13915         (_FP_FMA): Likewise.
13916         (_FP_CMP): Likewise.
13917         (_FP_SQRT): Likewise.
13918         (_FP_TO_INT): Likewise.
13919         (_FP_FROM_INT): Likewise.
13920         (FP_EXTEND): Likewise.
13921         (_FP_DIV_MEAT_N_loop): Likewise.
13923 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13925         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13926         throughout.
13928 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #17097]
13931         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13932         result with correct sign in case of exponents that produce
13933         overflow except for X very close to 1.
13935 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13937         mktime: merge #if/#ifdef usage from glibc
13938         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13939         as that works with both Glibc's and Gnulib's style.
13940         See thread starting at Siddhesh Poyarekar's bug report at:
13941         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13943 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13945         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13946         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13947         * sysdeps/tile/tilegx/memmove.c: Remove file.
13949 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13951         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13952         abi-name definition.
13953         * scripts/soversions.awk: Do not handle or generate ABI lines.
13954         * shlib-versions: Remove ABI entries.
13955         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13956         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13958 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13961         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13962         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13963         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13965         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13967         Moved ...
13968         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13969         ... here.
13970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13971         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13973         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13975         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13977         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13979         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13981         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13986         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13988         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13990         Moved ...
13991         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13993         Moved ...
13994         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13998         Moved ...
13999         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14001         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14003         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14005         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14007         Moved ...
14008         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14010         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14011         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14012         Moved ...
14013         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14015         Moved ...
14016         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14018         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14020         Moved ...
14021         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14022         ... here.
14023         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14024         Identical file removed.
14025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14026         Moved ...
14027         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14029         Identical file removed.
14030         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14032         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14033         Moved ...
14034         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14036         Identical file removed.
14037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14038         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14039         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14040         Identical file removed.
14041         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14042         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14043         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14044         Identical file removed.
14045         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14046         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14048         Identical file removed.
14049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14050         Moved ...
14051         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14052         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14053         Identical file removed.
14054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14055         Moved ...
14056         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14058         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14060         Identical file removed.
14061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14062         Moved ...
14063         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14064         ... here.
14065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14066         Identical file removed.
14067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14068         Moved ...
14069         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14071         Identical file removed.
14072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14073         Moved ...
14074         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14076         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14078         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14080         Moved ...
14081         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14082         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14083         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14085         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14086         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14087         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14088         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14089         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14091 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14093         [BZ #17092]
14094         * nscd/nscd.c (monitor_child): Return exit status of child
14095         instead of return value from wait syscall.
14097 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14099         * configure.ac (libc_commonpagesize): Remove variable.
14100         (libc_relro_required): Likewise.
14101         (libc_cv_z_relro): Remove configure test.
14102         * configure: Regenerated.
14103         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14104         variable.
14105         (libc_relro_required): Likewise.
14106         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14107         (libc_relro_required): Likewise.
14108         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14109         (libc_relro_required): Likewise.
14110         * sysdeps/arm/preconfigure: Regenerated.
14111         * sysdeps/ia64/preconfigure: Remove file.
14112         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14113         variable.
14114         (libc_relro_required): Likewise.
14116         [BZ #16561]
14117         [BZ #16562]
14118         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14119         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14120         recompute overflowing results in original rounding mode.
14121         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14122         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14123         recompute overflowing results in original rounding mode.
14124         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14125         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14126         recompute overflowing results in original rounding mode.
14127         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14128         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14129         recompute overflowing results in original rounding mode.
14130         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14131         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14132         recompute overflowing results in original rounding mode.
14133         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14134         (libc_feholdsetround_ctx): New macro.
14135         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14136         * sysdeps/i386/fpu/libm-test-ulps: Update.
14137         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14139 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14141         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14142         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14143         corresponding .cpsetup call.
14145 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14147         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14148         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14149         * sysdeps/arm/Makefile [$(subdir) = csu]
14150         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14151         (static-only-routines): Add aeabi_read_tp here.
14152         (shared-only-routines): Add libc-aeabi_read_tp here.
14153         (CFLAGS-libc-start.c): Add -fexceptions here.
14154         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14155         (sysdep_routines, static-only-routines, shared-only-routines):
14156         Don't add to these here.
14157         (CFLAGS-libc-start.c): Likewise.
14159         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14160         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14161         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14162         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14163         * sysdeps/arm/Makefile [$(subdir) = rt]
14164         (librt-sysdep_routines, librt-shared-only-routines):
14165         Append rt-aeabi_unwind_cpp_pr1 here.
14166         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14167         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14168         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14169         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14170         Append nptl-aeabi_unwind_cpp_pr1 here.
14171         (tests): Filter out tst-cleanupx4 here.
14172         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14173         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14174         Don't do those here.
14176 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14178         * scripts/list-sources.sh: Do not handle ports specially.
14180 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14182         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14183         * sysdeps/arm/feupdateenv.c: Likewise.
14185         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14187 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14189         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14190         trailing whitespace removed.
14191         * scripts/config.guess: Update to version 2014-03-23.
14192         * scripts/config.sub: Update to version 2014-05-01
14193         * scripts/install-sh: Update to version 2013-12-25.23.
14194         * scripts/move-if-change: Update from gnulib.
14196 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14198         * debug/memmove_chk.c: Remove pagecopy.h include.
14200 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14202         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14203         identical to gnulib mktime.
14205 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14207         * configure.ac: Do not test for machine being rs6000.  Do not test
14208         for powerpc*-*soft.
14209         * configure: Regenerated.
14211         [BZ #11505]
14212         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14213         test.
14214         * configure: Regenerated.
14215         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14216         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14217         Remove configure test.
14218         * sysdeps/arm/configure: Regenerated.
14219         * sysdeps/nptl/configure.ac: Do not check
14220         libc_cv_asm_cfi_directives.
14221         * sysdeps/nptl/configure: Regenerated.
14222         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14223         * sysdeps/x86_64/nptl/configure: Remove generated file.
14224         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14225         unconditional.
14226         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14228 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14230         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14231         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14232         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14233         it is defined.
14235         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14236         instead of whether it is defined.
14237         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14238         * sysdeps/hppa/dl-machine.h: Likewise.
14239         * sysdeps/ia64/dl-machine.h: Likewise.
14240         * sysdeps/m68k/dl-machine.h: Likewise.
14241         * sysdeps/microblaze/dl-machine.h: Likewise.
14242         * sysdeps/mips/dl-machine.: Likewise.
14243         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14244         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14245         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14246         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14247         * sysdeps/sh/dl-machine.h: Likewise.
14248         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14249         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14250         * sysdeps/tile/dl-machine.h: Likewise.
14251         * sysdeps/x86_64/dl-machine.h: Likewise.
14253         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14254         code.
14255         (verify_persistent_db): Likewise.
14257 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14260         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14262         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14264         Moved ...
14265         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14266         ... here.
14267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14268         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14270         Identical file removed.
14271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14272         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14274         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14278         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14280         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14282         Moved ...
14283         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14285         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14287         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14289         Moved ...
14290         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14294         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14296         Identical file removed.
14297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14298         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14300         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14302         Moved ...
14303         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14304         ... here.
14305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14306         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14308         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14310         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14312         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14314         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14316         Moved ...
14317         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14319         Moved ...
14320         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14322         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14324         Moved ...
14325         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14327         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14329         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14330         folded into ...
14331         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14332         * sysdeps/unix/sysv/linux/s390/Versions
14333         (libpthread: GLIBC_2.19): New version set.
14334         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14335         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14336         (librt: GLIBC_2.3.3): New version set.
14337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14338         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14339         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14340         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14341         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14342         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14343         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14344         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14345         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14346         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14347         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14348         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14349         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14350         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14351         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14352         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14353         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14354         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14355         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14356         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14357         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14359         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14361         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14363         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14364         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14365         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14366         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14367         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14368         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14371         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14373         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14375         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14377         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14379         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14381         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14383         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14384         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14385         (__libc_vfork): Define the function under this name.
14386         [!NOT_IN_libc] (__vfork): Make this an alias.
14387         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14389         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14390         (__libc_vfork): Define the function under this name.
14391         [!NOT_IN_libc] (__vfork): Make this an alias.
14392         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14393         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14396         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14397         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14399         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14400         code that was previously under [RESET_PID].
14401         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14402         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14405         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14406         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14407         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14408         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14409         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14410         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14411         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14412         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14413         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14414         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14415         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14416         Moved ...
14417         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14418         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14419         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14420         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14421         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14422         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14423         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14425         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14426         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14427         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14428         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14429         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14430         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14431         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14432         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14433         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14434         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14435         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14436         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14437         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14438         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14439         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14440         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14441         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14442         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14443         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14445         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14447 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14449         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14450         that was previously under [RESET_PID].
14451         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14453 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14455         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14456         not undefine and redefine.
14457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14458         [O_CLOEXEC]: Make code unconditional.
14459         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14460         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14461         <kernel-features.h>.
14462         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14463         conditional variable definition.
14464         (shm_open) [O_CLOEXEC]: Make code unconditional.
14465         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14466         code.
14468         * configure.ac (USE_REGPARMS): Don't define here.
14469         * configure: Regenerated.
14470         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14471         * sysdeps/i386/configure: Regenerated.
14473         * nptl/createthread.c: Don't include kernel-features.h.
14474         * nptl/pthread_cancel.c: Likewise.
14475         * nptl/pthread_condattr_setclock.c: Likewise.
14476         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14477         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14478         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14479         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14480         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14481         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14482         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14485         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14486         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14487         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14488         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14489         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14490         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14491         * nscd/gai.c: Likewise.
14492         * nss/nss_db/db-open.c: Likewise.
14493         * sysdeps/generic/ldsodefs.h: Likewise.
14494         * sysdeps/sh/nptl/tls.h: Likewise.
14495         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14496         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14497         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14498         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14499         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14500         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14501         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14502         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14503         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14504         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14505         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14506         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14507         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14508         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14509         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14510         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14511         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14512         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14513         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14514         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14517         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14518         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14523         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14524         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14525         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14526         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14527         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14528         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14529         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14530         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14531         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14532         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14533         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14534         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14535         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14536         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14537         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14538         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14539         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14540         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14541         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14542         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14543         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14544         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14545         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14546         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14547         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14548         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14549         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14550         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14551         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14552         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14575         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14576         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14577         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14578         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14579         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14580         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14582         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14583         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14584         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14585         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14586         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14587         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14588         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14589         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14590         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14591         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14592         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14593         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14594         * sysdeps/unix/sysv/linux/system.c: Likewise.
14595         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14596         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14597         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14598         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14599         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14600         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14601         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14603         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14604         * configure: Regenerated.
14605         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14607         * configure.ac (base_machine): Do not set specially for particular
14608         machines here.
14609         * configure: Regenerated.
14610         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14611         settings from configure.ac.
14612         * sysdeps/i386/preconfigure: New file.
14613         * sysdeps/s390/preconfigure: Likewise.
14614         * sysdeps/sh/preconfigure: Likewise.
14615         * sysdeps/sparc/preconfigure: Likewise.
14617 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14619         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14620         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14621         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14622         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14623         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14624         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14625         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14626         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14627         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14628         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14629         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14630         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14631         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14632         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14633         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14634         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14635         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14636         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14637         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14639         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14640         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14641         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14642         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14643         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14644         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14645         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14646         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14647         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14648         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14649         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14650         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14651         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14652         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14653         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14654         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14655         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14656         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14657         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14658         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14660         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14664         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14666         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14667         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14668         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14669         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14670         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14671         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14672         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14673         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14674         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14675         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14676         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14679         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14681         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14683         Moved ...
14684         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14685         ... here.
14686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14687         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14689         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14691         Moved ...
14692         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14694         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14698         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14700         Moved ...
14701         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14703         Moved ...
14704         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14706         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14708         Moved ...
14709         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14711         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14713         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14715         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14717         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14719         Moved ...
14720         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14721         ... here.
14722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14723         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14725         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14727         Moved ...
14728         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14730         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14734         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14736         Moved ...
14737         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14739         Moved ...
14740         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14742         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14744         Moved ...
14745         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14747         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14749         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14751 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14753         * timezone/checktab.awk: Update from tzcode 2014e.
14754         * timezone/private.h: Likewise.
14755         * timezone/tzfile.h: Likewise.
14756         * timezone/zdump.c: Likewise.
14757         * timezone/zic.c: Likewise.
14759         * sysdeps/unix/sysv/linux/kernel-features.h
14760         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14761         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14762         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14763         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14764         Remove conditional code.
14766 2014-06-25  Will Newton  <will.newton@linaro.org>
14768         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14769         (_dl_arm_cap_flags): Add HWCAP2 values.
14770         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14771         (_DL_HWCAP_COUNT): Increase to 37.
14772         (_DL_HWCAP_LAST): New define.
14773         (_DL_HWCAP2_LAST): New define.
14774         (_dl_procinfo): Add support for printing
14775         AT_HWCAP2 entries.
14776         (_dl_string_hwcap): Use _dl_hwcap_string.
14778 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14782 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14784         * README: Do not mention ports directory.
14786         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14787         Remove macro.
14788         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14789         <kernel-features.h>.
14790         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14791         conditional variable definition.
14792         (__futimes): Update comment.
14793         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14794         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14796         [BZ #16560]
14797         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14798         arguments close to 0.
14799         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14800         Likewise.
14801         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14802         Likewise.
14803         * math/auto-libm-test-in: Add more tests of exp10.
14804         * math/auto-libm-test-out: Regenerated.
14805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14807         * sysdeps/unix/sysv/linux/kernel-features.h
14808         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14809         * sysdeps/unix/sysv/linux/readv.c: Do not include
14810         <kernel-features.h>.
14811         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14812         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14813         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14814         unconditional.
14815         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14816         conditional code.
14817         * sysdeps/unix/sysv/linux/writev.c: Do not include
14818         <kernel-features.h>.
14819         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14820         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14821         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14822         unconditional.
14823         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14824         conditional code.
14826 2014-06-25  Will Newton  <will.newton@linaro.org>
14828         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14829         comment changes throughout the file.  Remove checks
14830         for HAVE_*_H definitions that are not required.
14831         (__gen_tempname): Call abort if an unknown kind value is
14832         passed.
14834 2014-06-25  Andreas Schwab  <schwab@suse.de>
14836         [BZ #17086]
14837         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14838         scalbln, scalblnf, scalblnl in libc.
14840 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14842         [BZ #17086]
14843         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14844         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14845         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14847 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14849         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14850         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14851         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14852         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14853         Update #include.
14854         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14855         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14856         Update #include.
14857         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14858         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14859         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14860         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14861         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14862         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14863         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14864         * sysdeps/x86/bits/semaphore.h: ... here.
14865         * sysdeps/x86/nptl/elide.h: Moved ...
14866         * sysdeps/x86/elide.h: ... here.
14867         * sysdeps/x86_64/nptl/Implies: File removed.
14868         * sysdeps/i386/nptl/Implies: File removed.
14870 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14872         [BZ #16539]
14873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14874         return the argument for normal arguments with exponent below -64.
14875         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14876         Likewise.
14877         * math/auto-libm-test-in: Add another test of expm1.
14878         * math/auto-libm-test-out: Regenerated.
14880         [BZ #16287]
14881         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14882         calling __erfcl for arguments at least 16.
14883         * math/auto-libm-test-in: Add more tests of erf.
14884         * math/auto-libm-test-out: Regenerated.
14886         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14887         individual architectures.
14888         * sysdeps/unix/sysv/linux/configure: Regenerated.
14889         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14890         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14891         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14892         (ldd_rewrite_script): Define variable.
14893         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14895         file.
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14897         generated file.
14898         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14899         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14900         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14901         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14902         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14903         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14904         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14905         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14907 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14909         [BZ #17084]
14910         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14911         Rename member __data.d to __data.__elision_data.
14913 2014-06-24  Wilco  <wdijkstr@arm.com>
14915         * NEWS: Add 16918 to fixed bug list.
14917 2014-06-24  Wilco  <wdijkstr@arm.com>
14919         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14921 2014-06-24  Wilco  <wdijkstr@arm.com>
14923         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14924         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14925         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14926         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14927         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14928         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14929         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14930         Use _FPU_MASK_RM.
14932 2014-06-24  Wilco  <wdijkstr@arm.com>
14934         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14936 2014-06-24  Wilco  <wdijkstr@arm.com>
14938         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14939         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14940         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14941         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14943 2014-06-24  Wilco  <wdijkstr@arm.com>
14945         [BZ #16918]
14946         * sysdeps/arm/feupdateenv.c (feupdateenv):
14947         Rewrite to reduce FPSCR accesses and fix return value.
14949 2014-06-24  Wilco  <wdijkstr@arm.com>
14951         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14952         Optimize to avoid unnecessary FPSCR writes.
14953         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14954         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14955         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14956         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14958 2014-06-24  Wilco  <wdijkstr@arm.com>
14960         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14961         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14962         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14963         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14964         Call libc_fetestexcept_vfp.
14965         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14966         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14967         __SOFTFP__ ifdef so that they can be built for softfp.
14969 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14971         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14972         argument type signed char.
14974         * Makerules (check-abi): Dump diff of symlist if the test
14975         fails.
14977 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14979         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14980         using abort.
14982         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14983         Remove unused variable ST.
14985 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14987         [BZ #16354]
14988         [BZ #17061]
14989         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14990         small arguments before calling __expm1.
14991         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14992         small arguments before calling __expm1f.
14993         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14994         small arguments before calling __expm1l.
14995         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14996         Likewise.
14997         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14998         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14999         spurious underflow for some cosh tests.
15000         * math/auto-libm-test-out: Regenerated.
15001         * sysdeps/i386/fpu/libm-test-ulps: Update.
15003         [BZ #17050]
15004         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15005         (__ieee754_y1): Set errno if return value overflows.
15006         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15007         (__ieee754_y1f): Set errno if return value overflows.
15008         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15009         (__ieee754_y1l): Set errno if return value overflows.
15010         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15011         (__ieee754_y1l): Set errno if return value overflows.
15012         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15013         * math/auto-libm-test-out: Regenerated.
15015         * math/gen-auto-libm-tests.c: Document use of
15016         ignore-zero-inf-sign.
15017         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15018         (input_flags): Add ignore-zero-inf-sign.
15019         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15020         * math/gen-libm-test.pl (generate_testfile): Handle
15021         ignore-zero-inf-sign.
15022         * math/auto-libm-test-in: Mark some cpow tests with
15023         ignore-zero-inf-sign and some with xfail-rounding.
15024         * math/auto-libm-test-out: Regenerated.
15025         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15026         * sysdeps/i386/fpu/libm-test-ulps: Update.
15027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15029         [BZ #16315]
15030         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15031         overflowing or underflowing operations take place with sign of
15032         result.
15033         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15034         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15035         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15036         (__ieee754_pow): Recompute overflowing and underflowing results in
15037         original rounding mode.
15038         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15039         (__powl_helper): Allow negative argument X and scale negated value
15040         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15041         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15042         overflowing or underflowing operations take place with sign of
15043         result.
15044         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15045         Include <math.h>.
15046         * math/auto-libm-test-in: Add more tests of pow.
15047         * math/auto-libm-test-out: Regenerated.
15048         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15049         (pow_tonearest_test_data): Remove.
15050         (pow_test_tonearest): Likewise.
15051         (pow_towardzero_test_data): Likewise.
15052         (pow_test_towardzero): Likewise.
15053         (pow_downward_test_data): Likewise.
15054         (pow_test_downward): Likewise.
15055         (pow_upward_test_data): Likewise.
15056         (pow_test_upward): Likewise.
15057         (main): Don't call removed functions.
15058         * sysdeps/i386/fpu/libm-test-ulps: Update.
15059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15061 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15064         Moved ...
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15067         Moved ...
15068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15070         Moved ...
15071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15073         Moved ...
15074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15076         File removed.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15078         File removed.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15080         File removed.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15082         File removed.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15084         File removed.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15086         File removed.
15087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15088         File removed.
15089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15090         File removed.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15092         File removed.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15094         File removed.
15095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15096         File removed.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15098         File removed.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15100         Moved ...
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15103         Moved ...
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15105         ... here.
15106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15107         Moved ...
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15110         Moved ...
15111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15113         Moved ...
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15116         Moved ...
15117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15119         Moved ...
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15122         Moved ...
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15125         Moved ...
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15129         ... here.
15130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15131         Moved ...
15132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15134         Moved ...
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15136         ... here.
15137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15138         Moved ...
15139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15140         ... here.
15141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15142         Moved ...
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15144         ... here.
15145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15146         Moved ...
15147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15149         Moved ...
15150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15154         Moved ...
15155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15156         ... here.
15157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15158         Moved ...
15159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15160         ... here.
15161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15162         Moved ...
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15165         Moved ...
15166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15168         Moved ...
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15171         Moved ...
15172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15174         Moved ...
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15176         ... here.
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15178         Moved ...
15179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15181         Moved ...
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15184         Moved ...
15185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15187         Moved ...
15188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15192         Moved ...
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15195         Moved ...
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15198         Moved ...
15199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15200         ... here.
15201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15202         Moved ...
15203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15204         ... here.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15206         Moved ...
15207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15208         ... here.
15209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15210         Moved ...
15211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15213         Moved ...
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15216         Moved ...
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15219         Moved ...
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15221         ... here.
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15223         Moved ...
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15225         ... here.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15227         Moved ...
15228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15229         ... here.
15230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15231         Moved ...
15232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15234         Moved ...
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15237 2014-06-23  Will Newton  <will.newton@linaro.org>
15238             Wilco  <wdijkstr@arm.com>
15240         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15241         implementation.  Include get-rounding-mode.h.
15242         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15243         [!libc_feholdsetround_noex_ctx]: Define
15244         libc_feholdsetround_noex_ctx.
15245         [!libc_feholdsetround_noexf_ctx]: Define
15246         libc_feholdsetround_noexf_ctx.
15247         [!libc_feholdsetround_noexl_ctx]: Define
15248         libc_feholdsetround_noexl_ctx.
15249         (libc_feholdsetround_ctx): New function.
15250         (libc_feresetround_ctx): New function.
15251         (libc_feholdsetround_noex_ctx): New function.
15252         (libc_feresetround_noex_ctx): New function.
15254 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15256         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15257         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15258         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15259         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15260         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15261         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15263         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15264         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15265         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15266         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15267         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15268         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15270         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15271         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15272         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15273         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15274         Moved ...
15275         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15276         ... here.
15277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15278         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15280         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15282         Moved ...
15283         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15285         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15286         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15287         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15289         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15291         Moved ...
15292         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15297         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15299         Moved ...
15300         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15302         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15303         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15304         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15305         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15306         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15307         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15308         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15309         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15310         Moved ...
15311         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15312         ... here.
15313         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15314         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15316         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15318         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15320         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15321         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15324         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15326         Moved ...
15327         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15328         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15329         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15331         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15333         Moved ...
15334         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15338         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15340         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15341         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15342         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15343         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15344         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15345         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15346         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15347         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15349         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15350         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15351         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15352         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15353         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15354         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15355         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15356         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15357         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15358         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15359         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15363         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15365         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15366         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15367         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15369 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15371         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15372         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15373         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15374         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15375         (IPV6_PMTUDISC_INTERFACE): Likewise.
15376         (IPV6_PMTUDISC_OMIT): Likewise.
15378 2014-06-23  Andreas Schwab  <schwab@suse.de>
15380         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15381         Remove unused errout label.
15383 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15385         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15386         macro: hardware supports Vector Crypto instructions.
15388 2014-06-23  Will Newton  <will.newton@linaro.org>
15390         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15391         rather than __builtin_expect.
15393         * elf/dl-lookup.c (undefined_msg): Remove variable.
15394         (_dl_lookup_symbol_x): Replace undefined_msg with string
15395         literal.
15397         * elf/dl-lookup.c (do_lookup_unique): New function.
15398         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15399         to a separate function.
15401 2014-06-23  Andreas Schwab  <schwab@suse.de>
15403         [BZ #17079]
15404         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15405         before reading the next line.
15407 2014-06-23  Will Newton  <will.newton@linaro.org>
15409         * test-skeleton.c (signal_handler): Use printf and %m
15410         rather than perror.  Use printf rather than fprintf to
15411         stderr.  Use puts rather than fputs to stderr.
15412         (main): Likewise.
15414 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15416         * nscd/nscd.c (thread_info_t): Remove typedef.
15417         (thread_info): Remove variable.
15419 2014-06-21  Allan McRae  <allan@archlinux.org>
15421         * NEWS: Mention CVE-2014-4043.
15423 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15425         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15426         * nptl/smp.h: ... here.
15428         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15430         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15431         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15432         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15433         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15435         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15436         * nptl/stack-aliasing.h: New file.
15437         * sysdeps/i386/i686/stack-aliasing.h: New file.
15438         * sysdeps/i386/i686/nptl/Makefile: File removed.
15439         * sysdeps/x86_64/stack-aliasing.h: New file.
15440         * sysdeps/x86_64/nptl/Makefile
15441         (CFLAGS-pthread_create.c): Variable removed.
15443         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15444         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15445         old file.
15446         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15447         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15448         old file.
15450 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15452         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15453         (__ASSUME_SIGFRAME_V2): Remove macro.
15454         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15455         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15456         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15457         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15458         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15459         Declare as function.  Remove conditional macro definitions.
15460         (__default_rt_sa_restorer): Likewise.
15461         (__default_sa_restorer_v1): Remove declaration.
15462         (__default_sa_restorer_v2): Likewise.
15463         (__default_rt_sa_restorer_v1): Likewise.
15464         (__default_rt_sa_restorer_v2): Likewise.
15465         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15466         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15467         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15469 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15471         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15472         (libpthread-routines): Add sysdep.
15473         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15474         * sysdeps/unix/sysv/linux/sparc/Versions
15475         (libpthread: GLIBC_2.3.3): New version set.
15476         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15477         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15478         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15479         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15480         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15481         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15482         Moved ...
15483         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15485         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15487         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15488         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15489         * sysdeps/sparc/nptl/sem_init.c: ... here.
15490         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15491         * sysdeps/sparc/nptl/sem_post.c: ... here.
15492         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15493         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15494         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15495         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15496         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15497         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15498         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15499         (libpthread-routines): Add cpu_relax.
15500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15501         File removed.
15502         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15503         (librt: GLIBC_2.3.3): New version set.
15504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15505         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15506         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15507         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15510         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15512         Moved ...
15513         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15515         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15517         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15519         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15521         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15523         Moved ...
15524         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15525         Update #include.
15526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15527         Moved ...
15528         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15529         Update #include.
15530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15531         Moved ...
15532         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15533         Update #include.
15534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15535         Moved ...
15536         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15537         Update #include.
15538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15539         Moved ...
15540         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15541         Update #include.
15542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15543         Moved ...
15544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15545         Update #include.
15546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15547         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15553         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15555         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15557         Moved ...
15558         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15560         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15562         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15564 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15566         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15567         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15568         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15569         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15570         * nscd/nscd.c: Likewise.
15571         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15572         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15573         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15574         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15576         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15577         <kernel-features.h>.
15578         (init_mq_netlink): Remove conditional have_sock_cloexec
15579         definitions.  Remove code conditional on have_sock_cloexec < 0.
15580         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15581         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15582         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15583         <kernel-features.h>.
15584         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15585         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15587 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15590         Add tests for memset_chk and memset.
15592         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15593         with AVX2_Usable.
15595 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15597         [BZ #16046]
15598         * elf/tst-dl-iter-static.c: New file.
15599         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15601         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15602         error.
15604 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15606         * sysdeps/unix/sysv/linux/kernel-features.h
15607         (__ASSUME_F_GETOWN_EX): Remove macro.
15608         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15609         <kernel-features.h>.
15610         (miss_F_GETOWN_EX): Remove variable or macro.
15611         (do_fcntl): Do not check miss_F_GETOWN_EX.
15612         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15615         Remove macro.
15616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15617         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15618         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15620         * sysdeps/unix/sysv/linux/kernel-features.h
15621         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15622         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15623         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15624         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15626 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15628         [BZ #17075]
15629         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15630         Fix calculation of the symbol's value.
15631         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15632         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15633         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15634         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15635         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15636         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15637         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15638         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15639         (modules-names): Add `tst-armtlsdescmod',
15640         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15641         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15642         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15643         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15644         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15645         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15646         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15647         ($(objpfx)tst-armtlsdescloc): New dependency.
15648         ($(objpfx)tst-armtlsdescextnow): Likewise.
15649         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15650         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15651         TLS scheme support.
15652         * sysdeps/arm/configure: Regenerate.
15654 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15656         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15657         (__atfct_seterrno_2): Likewise.
15658         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15659         <kernel-features.h>.
15660         (__ASSUME_ATFCTS): Do not undefine and redefine.
15661         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15662         (__have_atfcts): Remove conditional definition.
15663         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15664         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15665         unreachable if [__ASSUME_ATFCTS].
15666         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15667         not undefine and redefine.
15668         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15669         <kernel-features.h>.
15670         (faccessat) [__NR_faccessat]: Make code unconditional.
15671         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15672         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15673         <kernel-features.h>.
15674         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15675         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15676         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15677         <kernel-features.h>.
15678         (fchownat) [__NR_fchownat]: Make code unconditional.
15679         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15680         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15681         <kernel-features.h>.
15682         (futimesat) [__NR_futimesat]: Make code unconditional.
15683         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15684         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15685         <kernel-features.h>.
15686         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15687         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15688         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15689         <kernel-features.h>.
15690         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15691         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15692         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15693         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15694         <kernel-features.h>.
15695         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15696         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15697         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15698         <kernel-features.h>.
15699         (linkat) [__NR_linkat]: Make code unconditional.
15700         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15701         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15702         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15703         <kernel-features.h>.
15704         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15705         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15706         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15707         <kernel-features.h>.
15708         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15709         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15710         * sysdeps/unix/sysv/linux/openat.c: Do not include
15711         <kernel-features.h>.
15712         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15713         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15714         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15715         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15716         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15717         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15718         <kernel-features.h>.
15719         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15720         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15721         result of INLINE_SYSCALL directly, not via int variable.
15722         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15723         <kernel-features.h>.
15724         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15725         (renameat) [__NR_renameat]: Make code unconditional.
15726         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15727         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15728         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15729         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15730         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15731         (__ASSUME_ATFCTS): Do not undefine and redefine.
15732         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15733         <kernel-features.h>.
15734         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15735         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15736         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15737         <kernel-features.h>.
15738         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15739         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15740         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15741         (__ASSUME_ATFCTS): Do not undefine and redefine.
15742         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15743         <kernel-features.h>.
15744         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15745         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15746         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15747         <kernel-features.h>.
15748         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15749         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15751 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15753         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15755 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15757         [BZ #17069]
15758         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15759         constructed tree before returning error.
15760         * posix/bug-regexp36.c: Expand test case.
15762 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15764         [BZ #6803]
15765         * math/libm-test.inc (scalbln_test_date):
15766         Add errno expectations.
15767         * math/w_scalblnf.c: New File.
15768         Add wrapper which checks for setting errno to ERANGE.
15769         Add weak_alias for corresponding scalbln function.
15770         * math/w_scalbln.c: Likewise.
15771         * math/w_scalblnl.c: Likewise.
15772         * math/Makefile (libm-calls): Add w_scalbln.
15773         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15774         Remove weak_alias for corresponding scalbln function.
15775         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15776         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15777         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15778         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15779         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15780         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15781         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15782         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15783         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15784         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15785         Remove long_double_symbol for scalblnl function in libm, libc.
15786         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15787         Add wrapper which checks for setting errno to ERANGE.
15788         Add long_double_symbol for scalblnl function in libm, libc.
15789         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15790         Remove long_double_symbol for scalblnl in libm.
15791         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15792         Add wrapper which checks for setting errno to ERANGE.
15793         Add long_double_symbol for scalblnl function in libm.
15794         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15795         Do not use wrapper because of own implementation.
15797 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15799         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15800         3 bytes for __pad1 for x32.
15801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15803 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15804             H.J. Lu  <hongjiu.lu@intel.com>
15806         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15807         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15808         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15809         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15810         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15812 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15814         [BZ #17069]
15815         * posix/regcomp.c (parse_expression): Deallocate partially
15816         constructed tree before returning error.
15817         * posix/Makefile.c (tests): Add bug-regex36.
15818         (generated): Add bug-regex36.mtrace.
15819         (tests-special): Add $(objpfx)bug-regex36-mem.out
15820         (bug-regex36-ENV): New variable.
15821         ($(objpfx)bug-regex36-mem.out): New rule.
15822         * posix/bug-regex36.c: New file.
15824 2014-06-19  Will Newton  <will.newton@linaro.org>
15826         * malloc/malloc.c (systrim): If extra is zero then return
15827         early.
15829 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15831         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15833 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15835         * sysdeps/aarch64/strchr.S: New file.
15837 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15839         [BZ #17022]
15840         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15841         from arguments -2 or below.
15842         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15843         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15845 2014-06-18  Andreas Schwab  <schwab@suse.de>
15847         [BZ #17062]
15848         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15849         of a bracket expr not to run off the end of the string.
15850         * posix/Makefile (tests): Add tst-fnmatch3.
15851         * posix/tst-fnmatch3.c: New file.
15853 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15855         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15856         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15857         [$(cross-compiling) = no]: Likewise.
15858         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15859         [$(cross-compiling) = no]: Likewise.
15861 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15863         [BZ #17031]
15864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15865         double, adjusted for any remainder from the high double.
15866         * math/libm-test.inc (nearbyint): Add tests.
15867         (rint): Likewise.
15869 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15871         * nptl/sysdeps/powerpc/Makefile: Moved ...
15872         * sysdeps/powerpc/nptl/Makefile: ... here.
15873         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15874         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15875         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15876         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15877         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15878         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15879         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15880         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15881         * nptl/sysdeps/powerpc/tls.h: Moved ...
15882         * sysdeps/powerpc/nptl/tls.h: ... here.
15884 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15886         [BZ #16681]
15887         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15888         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15889         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15890         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15891         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15892         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15893         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15894         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15895         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15897 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15901 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15903         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15904         defined operator.
15906         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15907         $TIMEOUTFACTOR.
15909 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15911         [BZ #17058]
15912         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15913         non-executed part of the test.
15915 2014-06-16  Andreas Schwab  <schwab@suse.de>
15917         * string/bits/string2.h (strdup, strndup): Update feature guard.
15919 2014-06-14  David S. Miller  <davem@davemloft.net>
15921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15923 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15925         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15926         that was previously under [RESET_PID].
15927         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15929         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15930         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15931         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15932         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15933         (__libc_vfork): New strong alias.
15934         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15936 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15938         * sysdeps/generic/elide.h: New file.
15940 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15942         * Makefile (installed-headers): Adjust path of pthread.h header.
15944 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15946         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15947         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15948         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15949         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15951         * nptl/sysdeps/s390/Makefile: Moved ...
15952         * sysdeps/s390/nptl/Makefile: ... here.
15953         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15954         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15955         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15956         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15957         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15958         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15959         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15960         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15961         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15962         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15963         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15964         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15965         * nptl/sysdeps/s390/tls.h: Moved ...
15966         * sysdeps/s390/nptl/tls.h: ... here.
15968         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15969         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15971 2014-06-13  David S. Miller  <davem@davemloft.net>
15973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15976         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15980         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15981         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15982         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15983         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15984         Remove RESET_PID cpp guards.
15985         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15986         Remove RESET_PID cpp guards.
15987         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15989 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15991         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15992         __sp to uintptr_t.
15994 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15999         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16000         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16001         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16003         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16005         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16006         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16009         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16011         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16013         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16014         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16015         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16017         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16018         (pthread_rwlock_rdlock): Add elision.
16019         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16020         (pthread_rwlock_wrlock): Add elision.
16021         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16022         (pthread_rwlock_trywrlock): Add elision.
16023         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16024         (pthread_rwlock_tryrdlock): Add elision.
16025         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16026         (pthread_rwlock_tryrdlock): Add elision unlock.
16027         * nptl/sysdeps/pthread/pthread.h:
16028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16029         (PTHREAD_RWLOCK_INITIALIZER,
16030         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16031         Handle new elision field.
16032         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16033         * sysdeps/arm/nptl/bits/pthreadtypes.h
16034         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16035         * sysdeps/sh/nptl/bits/pthreadtypes.h
16036         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16037         * sysdeps/tile/nptl/bits/pthreadtypes.h
16038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16039         * sysdeps/a/nptl/bits/pthreadtypes.h
16040         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16041         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16043         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16045         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16047         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16049         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16051         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16053         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16055         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16057         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16058         (elision_init): Set try_xbegin to zero when no RTM.
16059         * sysdeps/x86/nptl/bits/pthreadtypes.h
16060         (pthread_rwlock_t): Change __pad1 to __rwelision.
16061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16063 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16065         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16066         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16067         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16068         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16070 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16072         [BZ #16996]
16073         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16074         that the cached result has been set before returning it.
16076 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16078         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16079         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16080         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16081         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16082         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16083         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16085         * nptl/sysdeps/sparc/Makefile: Moved ...
16086         * sysdeps/sparc/nptl/Makefile: ... here.
16087         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16088         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16089         * nptl/sysdeps/sparc/tls.h: Moved ...
16090         * sysdeps/sparc/nptl/tls.h: ... here.
16091         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16092         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16093         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16094         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16095         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16096         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16097         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16098         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16099         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16100         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16101         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16102         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16103         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16104         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16105         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16106         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16107         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16109         Update #include.
16110         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16111         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16112         Update #include.
16113         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16115         Update #include.
16116         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16117         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16118         Update #include.
16120         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16122         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16123         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16125         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16126         (struct list_links): Type removed.
16127         (struct thread_node, struct timer_node): Replace struct list_links
16128         with struct list_head.
16129         (list_unlink_ip): Likewise.
16130         * sysdeps/pthread/timer_routines.c
16131         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16132         (list_append, list_insbefore): Likewise.
16133         (list_init): Function removed.
16134         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16135         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16136         * sysdeps/pthread/Makefile: ... here, new file.
16138         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16139         * sysdeps/nptl/Implies: ... here.
16140         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16141         * nptl/sysdeps/pthread/list.h: Moved ...
16142         * include/list.h: ... here.
16143         * nptl/sysdeps/pthread/createthread.c: Moved ...
16144         * nptl/createthread.c: ... here.
16145         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16146         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16147         * nptl/pt-longjmp.c: ... here.
16148         * nptl/sysdeps/pthread/Makefile: Moved ...
16149         * sysdeps/nptl/Makefile: ... here.
16150         * nptl/sysdeps/pthread/Subdirs: Moved ...
16151         * sysdeps/nptl/Subdirs: ... here.
16152         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16153         * sysdeps/nptl/aio_misc.h: ... here.
16154         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16155         * sysdeps/nptl/bits/libc-lock.h: ... here.
16156         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16157         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16158         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16159         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16160         * nptl/sysdeps/pthread/configure: Moved ...
16161         * sysdeps/nptl/configure: ... here.
16162         * nptl/sysdeps/pthread/configure.ac: Moved ...
16163         * sysdeps/nptl/configure.ac: ... here.
16164         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16165         * sysdeps/nptl/gai_misc.h: ... here.
16166         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16167         * sysdeps/nptl/librt-cancellation.c: ... here.
16168         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16169         * sysdeps/nptl/malloc-machine.h: ... here.
16170         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16171         * sysdeps/nptl/pthread-functions.h: ... here.
16172         * nptl/sysdeps/pthread/pthread.h: Moved ...
16173         * sysdeps/nptl/pthread.h: ... here.
16174         * nptl/sysdeps/pthread/setxid.h: Moved ...
16175         * sysdeps/nptl/setxid.h: ... here.
16176         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16177         * sysdeps/nptl/sigfillset.c: ... here.
16178         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16179         * sysdeps/nptl/tcb-offsets.h: ... here.
16180         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16181         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16182         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16183         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16184         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16185         * sysdeps/pthread/allocalim.h: ... here.
16186         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16187         * sysdeps/pthread/bits/sigthread.h: ... here.
16188         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16189         * sysdeps/pthread/flockfile.c: ... here.
16190         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16191         * sysdeps/pthread/ftrylockfile.c: ... here.
16192         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16193         * sysdeps/pthread/funlockfile.c: ... here.
16194         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16195         * sysdeps/pthread/posix-timer.h: ... here.
16196         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16197         * sysdeps/pthread/timer_create.c: ... here.
16198         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16199         * sysdeps/pthread/timer_delete.c: ... here.
16200         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16201         * sysdeps/pthread/timer_getoverr.c: ... here.
16202         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16203         * sysdeps/pthread/timer_gettime.c: ... here.
16204         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16205         * sysdeps/pthread/timer_routines.c: ... here.
16206         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16207         * sysdeps/pthread/timer_settime.c: ... here.
16208         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16209         * sysdeps/pthread/tst-timer.c: ... here.
16210         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16211         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16213         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16214         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16216         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16217         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16218         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16219         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16220         Update #include target.
16221         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16222         * sysdeps/i386/i686/nptl/Makefile: ... here.
16223         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16224         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16225         Update #include target.
16226         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16227         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16228         * nptl/sysdeps/i386/Makefile: Moved ...
16229         * sysdeps/i386/nptl/Makefile: ... here.
16230         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16231         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16232         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16233         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16234         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16235         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16236         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16237         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16238         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16239         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16240         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16241         * nptl/sysdeps/i386/tls.h: Moved ...
16242         * sysdeps/i386/nptl/tls.h: ... here.
16244         * sysdeps/sh/Makefile [$(subdir) = csu]
16245         (gen-as-const-headers): Add tcb-offsets.sym.
16246         * nptl/sysdeps/sh/Makefile: File removed.
16247         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16248         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16249         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16250         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16251         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16252         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16253         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16254         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16255         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16256         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16257         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16258         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16259         * nptl/sysdeps/sh/tls.h: Moved ...
16260         * sysdeps/sh/nptl/tls.h: ... here.
16261         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16262         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16263         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16264         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16265         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16266         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16267         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16268         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16269         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16270         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16271         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16272         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16273         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16274         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16275         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16276         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16277         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16278         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16279         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16280         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16282         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16284         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16286         Moved ...
16287         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16288         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16289         Moved ...
16290         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16292         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16294         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16295         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16296         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16297         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16298         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16299         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16300         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16301         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16302         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16303         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16304         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16305         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16306         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16307         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16308         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16310 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16312         * posix/spawn_faction_addopen.c: Include string.h.
16314 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16316         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16317         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16318         * nptl/sysdeps/x86_64/Makefile: Moved ...
16319         * sysdeps/x86_64/nptl/Makefile: ... here.
16320         * nptl/sysdeps/x86_64/configure: Moved ...
16321         * sysdeps/x86_64/nptl/configure: ... here.
16322         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16323         * sysdeps/x86_64/nptl/configure.ac: ... here.
16324         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16325         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16326         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16327         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16328         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16329         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16330         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16331         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16332         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16333         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16334         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16335         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16336         * nptl/sysdeps/x86_64/tls.h: Moved ...
16337         * sysdeps/x86_64/nptl/tls.h: ... here.
16338         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16339         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16340         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16341         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16343         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16345 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16349 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16351         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16352         type.
16353         [POSIX] (off_t): Likewise.
16354         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16355         [POSIX] (S_ISBLK): Require macro.
16356         [POSIX] (S_ISCHR): Likewise.
16357         [POSIX] (S_ISDIR): Likewise.
16358         [POSIX] (S_ISFIFO): Likewise.
16359         [POSIX] (S_ISREG): Likewise.
16360         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16361         optional-macro.
16362         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16363         type.
16364         [POSIX] (time_t): Likewise.
16365         [POSIX] (timer_t): Likewise.
16367 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16369         [BZ #17048]
16370         * posix/spawn_int.h (struct __spawn_action): Make the path string
16371         non-const to support deallocation.
16372         * posix/spawn_faction_addopen.c
16373         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16374         * posix/spawn_faction_destroy.c
16375         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16376         path in all spawn_do_open actions.
16377         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16378         posix_spawn_file_actions_addopen.
16380 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16382         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16383         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16384         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16385         conditional code always true.
16386         (__libc_vfork): New alias.
16388 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16390         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16391         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16393         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16395         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16396         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16398         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16399         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16401         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16402         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16404 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16406         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16407         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16408         multiarch strcmp for PPC64.
16409         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16410         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16412         multiarch optimizations.
16413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16414         (__libc_ifunc_impl_list): Likewise.
16416 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16418         * benchtests/scripts/validate_benchout.py: New script.
16419         * benchtests/Makefile (bench-func): Call it.
16420         * benchtests/scripts/benchout.schema.json: New file.
16422 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16424         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16425         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16426         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16427         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16428         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16429         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16430         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16431         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16432         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16433         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16434         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16435         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16436         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16437         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16438         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16439         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16441         Moved ...
16442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16443         ... here.
16444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16445         Moved ...
16446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16448         Moved ...
16449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16450         ... here.
16451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16452         Moved ...
16453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16454         ... here.
16455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16456         Moved ...
16457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16459         Moved ...
16460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16461         ... here.
16462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16463         Moved ...
16464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16465         ... here.
16466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16467         Moved ...
16468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16470         Moved ...
16471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16472         ... here.
16473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16474         Moved ...
16475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16476         ... here.
16477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16480         ... here.
16481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16482         Moved ...
16483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16485         Moved ...
16486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16487         ... here.
16488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16489         Moved ...
16490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16491         ... here.
16492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16493         Moved ...
16494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16495         ... here.
16496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16497         Moved ...
16498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16500         Moved ...
16501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16502         ... here.
16503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16504         Moved ...
16505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16506         ... here.
16507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16508         Moved ...
16509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16513         ... here.
16514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16515         Moved ...
16516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16518         Moved ...
16519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16521         Moved ...
16522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16523         ... here.
16524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16525         Moved ...
16526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16527         ... here.
16528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16529         Moved ...
16530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16531         ... here.
16532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16533         Moved ...
16534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16536         Moved ...
16537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16538         ... here.
16539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16540         Moved ...
16541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16542         ... here.
16543         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16544         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16546         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16548         Moved ...
16549         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16550         ... here.
16551         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16552         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16554         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16556         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16558         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16559         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16560         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16562         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16564         Moved ...
16565         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16566         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16567         Moved ...
16568         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16570         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16572         Moved ...
16573         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16575         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16576         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16577         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16578         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16579         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16581 2014-06-10  Wilco  <wdijkstr@arm.com>
16583         * math/test-fenv-return.c: New file.
16584         * math/Makefile: Add new test test-fenv-return.
16586 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16588         [BZ #17042]
16589         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16590         when x - 1 is zero.
16591         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16592         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16593         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16594         0.0L for an argument of 1.0L.
16595         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16596         Likewise.
16597         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16598         value when x - 1 is zero.
16599         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16600         * sysdeps/i386/fpu/libm-test-ulps: Update.
16601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16603 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16605         [BZ #15119]
16606         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16608 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16610         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16611         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16613 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16615         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16616         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16618         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16619         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16621         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16622         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16624         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16625         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16627         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16628         if not already defined.
16629         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16630         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16631         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16632         (TLS_INIT_TP): Use it.
16633         (TLS_DEFINE_INIT_TP): New macro.
16634         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16636 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16638         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16639         constant.
16640         [POSIX] (IXANY): Likewise.
16641         [POSIX] (OLCUC): Likewise.
16642         [POSIX || POSIX2008] (CBAUD): Do not allow.
16643         [POSIX || POSIX2008] (DEFECHO): Likewise.
16644         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16645         [POSIX || POSIX2008] (ECHOKE): Likewise.
16646         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16647         [POSIX || POSIX2008] (EXTA): Likewise.
16648         [POSIX || POSIX2008] (EXTB): Likewise.
16649         [POSIX || POSIX2008] (FLUSHO): Likewise.
16650         [POSIX || POSIX2008] (LOBLK): Likewise.
16651         [POSIX || POSIX2008] (PENDIN): Likewise.
16652         [POSIX || POSIX2008] (SWTCH): Likewise.
16653         [POSIX || POSIX2008] (VDISCARD): Likewise.
16654         [POSIX || POSIX2008] (VDSUSP): Likewise.
16655         [POSIX || POSIX2008] (VLNEXT): Likewise.
16656         [POSIX || POSIX2008] (VREPRINT): Likewise.
16657         [POSIX || POSIX2008] (VSTATUS): Likewise.
16658         [POSIX || POSIX2008] (VWERASE): Likewise.
16659         (B*): Change to B[0123456789]*.
16660         * conform/data/time.h-data [POSIX || UNIX98]
16661         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16662         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16663         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16664         [POSIX] (tm_*): Do not allow.
16666 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16668         * Makefile (install): Don't set LANGUAGE.
16669         * Makefile.in (install): Likewise.
16670         * assert/Makefile (test-assert-ENV): Remove variable.
16671         (test-assert-perr-ENV): Likewise.
16672         * elf/Makefile (neededtest4-ENV): Likewise.
16673         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16674         [$(cross-compiling) = no]: Don't set LANGUAGE.
16675         * io/ftwtest-sh (LANG): Remove variable.
16676         * libio/Makefile (tst-widetext-ENV): Likewise.
16677         * manual/install.texi (Running make install): Don't refer to
16678         environment settings for make install.
16679         * INSTALL: Regenerated.
16680         * nptl/tst-tls6.sh: Don't set LANG.
16681         * posix/globtest.sh (LANG): Remove variable.
16682         * string/Makefile (tester-ENV): Likewise.
16683         (inl-tester-ENV): Likewise.
16684         (noinl-tester-ENV): Likewise.
16685         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16686         [$(cross-compiling) = no]: Don't set LANGUAGE.
16687         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16688         without explicit environment settings.
16690 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16692         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16693         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16694         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16695         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16697 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16699         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16700         other files in the crypt directory.
16701         * crypt/crypt.c: Remove duplicate includes.
16702         * crypt/crypt-entry.c: Likewise.
16703         * crypt/crypt_util.c: Likewise.
16705 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16707         * Makeconfig (run-program-env): New variable.
16708         (run-program-prefix-before-env): Likewise.
16709         (run-program-prefix-after-env): Likewise.
16710         (run-program-prefix): Define in terms of new variables.
16711         (built-program-cmd-before-env): New variable.
16712         (built-program-cmd-after-env): Likewise.
16713         (built-program-cmd): Define in terms of new variables.
16714         (test-program-prefix-before-env): New variable.
16715         (test-program-prefix-after-env): Likewise.
16716         (test-program-prefix): Define in terms of new variables.
16717         (test-program-cmd-before-env): New variable.
16718         (test-program-cmd-after-env): Likewise.
16719         (test-program-cmd): Define in terms of new variables.
16720         * Rules (make-test-out): Use $(run-program-env).
16721         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16722         (help): Do not mention environment variables.  Mention
16723         --timeoutfactor option.
16724         (timeoutfactor): New variable.
16725         (blacklist_exports): Remove function.
16726         (exports): Remove variable.
16727         (command): Do not include ${exports}.
16728         * manual/install.texi (Configuring and compiling): Do not mention
16729         test wrappers preserving environment variables.  Mention that last
16730         assignment to a variable must take precedence.
16731         * INSTALL: Regenerated.
16732         * benchtests/Makefile (run-bench): Use $(run-program-env).
16733         * catgets/Makefile ($(objpfx)test1.cat): Use
16734         $(built-program-cmd-before-env), $(run-program-env) and
16735         $(built-program-cmd-after-env).
16736         ($(objpfx)test2.cat): Do not specify environment variables
16737         explicitly.
16738         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16739         $(run-program-env) and $(built-program-cmd-after-env).
16740         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16741         $(run-program-env) and $(test-program-cmd-after-env).
16742         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16743         explicitly.
16744         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16745         run_program_env and test_program_cmd_after_env arguments.
16746         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16747         * elf/tst-pathopt.sh: Use run_program_env argument.
16748         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16749         $(test-wrapper-env) and $(run-program-env).
16750         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16751         run_program_env arguments.
16752         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16753         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16754         $(test-program-prefix-before-env), $(run-program-env) and
16755         $(test-program-prefix-after-env).
16756         ($(objpfx)tst-gettext2.out): Likewise.
16757         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16758         run_program_env and test_program_prefix_after_env arguments.
16759         * intl/tst-gettext2.sh: Likewise.
16760         * intl/tst-gettext4.sh: Do not set environment variables
16761         explicitly.
16762         * intl/tst-gettext6.sh: Likewise.
16763         * intl/tst-translit.sh: Likewise.
16764         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16765         $(test-program-prefix-before-env), $(run-program-env) and
16766         $(test-program-prefix-after-env).
16767         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16768         run_program_env and test_program_prefix_after_env arguments.
16769         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16770         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16771         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16772         explicitly with each use of ${test_wrapper_env}.
16773         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16774         $(test-program-prefix-before-env), $(run-program-env) and
16775         $(test-program-prefix-after-env).
16776         * posix/tst-getconf.sh: Do not set environment variables
16777         explicitly.
16778         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16779         run_program_env and test_program_prefix_after_env arguments.
16780         * stdio-common/tst-printf.sh: Do not set environment variables
16781         explicitly.
16782         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16783         $(test-program-prefix-before-env), $(run-program-env) and
16784         $(test-program-prefix-after-env).
16785         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16786         run_program_env and test_program_prefix_after_env arguments.
16787         Split $test calls into $test_pre and $test.
16788         * timezone/Makefile (build-testdata): Use
16789         $(built-program-cmd-before-env), $(run-program-env) and
16790         $(built-program-cmd-after-env).
16792 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16794         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16795         strlen for non SHARED builds.
16797 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16799         * nptl/allocatestack.c (check_list): Inlined function...
16800         (__reclaim_stacks): ... here.
16802 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16804         [BZ #15698]
16805         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16806         memory overrun.
16808 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16810         * Rules (make-test-out): Include
16811         LOCPATH=$(common-objpfx)localedata in default environment.
16812         * debug/Makefile (tst-chk1-ENV): Remove variable.
16813         (tst-chk2-ENV): Likewise.
16814         (tst-chk3-ENV): Likewise.
16815         (tst-chk4-ENV): Likewise.
16816         (tst-chk5-ENV): Likewise.
16817         (tst-chk6-ENV): Likewise.
16818         (tst-lfschk1-ENV): Likewise.
16819         (tst-lfschk2-ENV): Likewise.
16820         (tst-lfschk3-ENV): Likewise.
16821         (tst-lfschk4-ENV): Likewise.
16822         (tst-lfschk5-ENV): Likewise.
16823         (tst-lfschk6-ENV): Likewise.
16824         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16825         (tst-iconv7-ENV): Likewise.
16826         * intl/Makefile (LOCPATH-ENV): Likewise.
16827         (tst-codeset-ENV): Likewise.
16828         (tst-gettext3-ENV): Likewise.
16829         (tst-gettext5-ENV): Likewise.
16830         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16831         (tst-fopenloc-ENV): Likewise.
16832         (tst-fgetws-ENV): Remove variable.
16833         (tst-ungetwc1-ENV): Likewise.
16834         (tst-ungetwc2-ENV): Likewise.
16835         (bug-ungetwc2-ENV): Likewise.
16836         (tst-swscanf-ENV): Likewise.
16837         (bug-ftell-ENV): Likewise.
16838         (tst-fgetwc-ENV): Likewise.
16839         (tst-fseek-ENV): Likewise.
16840         (tst-ftell-partial-wide-ENV): Likewise.
16841         (tst-ftell-active-handler-ENV): Likewise.
16842         (tst-ftell-append-ENV): Likewise.
16843         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16844         (tst-regexloc-ENV): Likewise.
16845         (bug-regex1-ENV): Likewise.
16846         (tst-regex-ENV): Likewise.
16847         (tst-regex2-ENV): Likewise.
16848         (bug-regex5-ENV): Likewise.
16849         (bug-regex6-ENV): Likewise.
16850         (bug-regex17-ENV): Likewise.
16851         (bug-regex18-ENV): Likewise.
16852         (bug-regex19-ENV): Likewise.
16853         (bug-regex20-ENV): Likewise.
16854         (bug-regex22-ENV): Likewise.
16855         (bug-regex23-ENV): Likewise.
16856         (bug-regex25-ENV): Likewise.
16857         (bug-regex26-ENV): Likewise.
16858         (bug-regex30-ENV): Likewise.
16859         (bug-regex32-ENV): Likewise.
16860         (bug-regex33-ENV): Likewise.
16861         (bug-regex34-ENV): Likewise.
16862         (bug-regex35-ENV): Likewise.
16863         (tst-rxspencer-ENV): Likewise.
16864         (tst-rxspencer-no-utf8-ENV): Likewise.
16865         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16866         (tst-sscanf-ENV): Likewise.
16867         (tst-swprintf-ENV): Likewise.
16868         (tst-swscanf-ENV): Likewise.
16869         (test-vfprintf-ENV): Likewise.
16870         (scanf13-ENV): Likewise.
16871         (bug14-ENV): Likewise.
16872         (tst-grouping-ENV): Likewise.
16873         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16874         (tst-strtod3-ENV): Likewise.
16875         (tst-strtod4-ENV): Likewise.
16876         (tst-strtod5-ENV): Likewise.
16877         (testmb2-ENV): Likewise./
16878         * string/Makefile (tst-strxfrm-ENV): Likewise.
16879         (tst-strxfrm2-ENV): Likewise.
16880         (bug-strcoll1-ENV): Likewise.
16881         (test-strcasecmp-ENV): Likewise.
16882         (test-strncasecmp-ENV): Likewise.
16883         * time/Makefile (tst-strptime-ENV): Likewise.
16884         (tst-ftime_l-ENV): Likewise.
16885         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16886         (tst-mbrtowc-ENV): Likewise.
16887         (tst-wcrtomb-ENV): Likewise.
16888         (tst-mbrtowc2-ENV): Likewise.
16889         (tst-c16c32-1-ENV): Likewise.
16890         (tst-mbsnrtowcs-ENV): Likewise.
16892 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16894         * manual/resource.texi (How to get information about the memory
16895         subsystem?): Fix typo.
16896         Reported by Peon de la Parra Ivan <peon@keba.com>
16898 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16900         [BZ #16882]
16901         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16902         (pthread_spin_lock): Branch out of spin loop to proper location.
16903         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16904         (pthread_spin_lock): Likewise.
16906         * nptl/tst-spin4.c: New test.
16907         * nptl/Makefile (tests): Add tst-spin4.
16909 2014-06-03  Andreas Schwab  <schwab@suse.de>
16911         [BZ #15946]
16912         * resolv/res_send.c (send_dg): Reload file descriptor after
16913         calling reopen.
16915 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16917         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16919 2014-06-03  Richard Henderson  <rth@redhat.com>
16921         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16922         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16923         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16924         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16925         in the SAVE_PID block.
16926         (__libc_vfork): New alias.
16927         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16929         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16930         child in registers, not on the stack.  Remove RESET_PID conditionals.
16931         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16933 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16935         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16937 2014-06-03  Wilco  <wdijkstr@arm.com>
16939         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16940         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16941         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16942         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16943         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16944         Likewise.
16946 2014-06-03  Wilco  <wdijkstr@arm.com>
16948         * sysdeps/aarch64/fpu/math_private.h
16949         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16950         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16951         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16952         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16953         Fix declarations.
16955 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16957         * crypt/crypt-private.h: Include ufc-crypt.h.
16958         (__b64_from_24bit): Declare extern.
16959         * crypt/crypt_util.c(__b64_from_24bit): New function.
16960         (b64t): New static const variable.
16961         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16962         (b64t): Remove variable.
16963         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16964         * crypt/sha256-crypt.c: Include crypt-private.h.
16965         (b64t): Remove variable.
16966         (__sha256_crypt_r): Remove b64_from_24bit and replace
16967         with __b64_from_24bit.
16968         * crypt/sha512-crypt.c: Likewise.
16970 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16972         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16973         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16974         Label the code __libc_vfork rather than __vfork.
16975         [!NOT_IN_libc] (vfork): Define as weak alias.
16976         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16977         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16978         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16980 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16982         * malloc/malloc.c (malloc_info): Fix format specifier for
16983         n_mmaps.
16985 2014-06-02  Wilco  <wdijkstr@arm.com>
16987         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16988         FPCR write.
16990 2014-06-02  Wilco  <wdijkstr@arm.com>
16992         [BZ #17009]
16993         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16994         Rewrite to reduce FPCR/FPSR accesses.
16996 2014-06-01  David S. Miller  <davem@davemloft.net>
16998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17000 2014-05-31  David S. Miller  <davem@davemloft.net>
17002         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17003         to occur in round to nearest mode when |x| >= 2.0
17005 2014-05-30  Richard Henderson  <rth@twiddle.net>
17007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17008         (PSEUDO_RET_NOERRNO): Remove.
17009         (ret): Don't redefine.
17010         (ret_NOERRNO): Define in terms of ret.
17011         (ret_ERRVAL): Likewise.
17013         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17014         use of PSEUDO_RET; perform the error check directly.
17016 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17018         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17019         with __int128_t.
17021 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17023         * malloc/malloc (malloc_info): Fix formatting.
17025 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17026             Roland McGrath  <roland@hack.frob.com>
17028         * malloc/malloc (malloc_info): Also print mmapped statistics.
17030 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17032         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17033         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17035 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17037         * malloc/malloc.c (malloc_info): Inline mi_arena.
17039 2014-05-29  Richard Henderson  <rth@twiddle.net>
17041         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17042         Remove comma before expanding ASM_ARGS_##nr.
17043         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17044         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17045         of ASM_ARGS_##nr.
17046         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17047         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17048         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17049         (ASM_ARGS_1): Add leading comma.
17051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17052         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17053         to __errno_location.
17054         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17055         Remove the expected plt for __errno_location.
17057         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17058         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17059         call to __read_tp.
17061         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17062         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17063         it and break it down.
17064         (DOCARGS_0, DOCARGS_1): Do nothing.
17065         (DOCARGS_2): Update to store into the new stack frame.
17066         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17067         (UNDOCARGS_1): Update to restore from the new stack frame.
17068         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17069         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17072         (SINGLE_THREAD_P): New parameter for result regno.
17073         (PSEUDO): Update to match; use cbz instead of beq.
17075         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17076         Use ENTRY to define the _nocancel entry point.  Share the syscall
17077         and syscall error check paths with the cancel path.
17078         (PSEUDO_END): New.
17080         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17081         whitespace; tabs before and after asm mnemonics.
17083 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17085         [BZ #15132]
17086         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17087         Call fstat64 or stat64 internally, depending on arguments passed.
17088         Replace stat buffer argument with file descriptor argument.
17089         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17090         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17091         Pass fd to __internal_statvfs instead of calling fstat64.
17092         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17093         Pass fd to __internal_statvfs64 instead of calling fstat64.
17094         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17095         Pass -1 to __internal_statvfs instead of calling stat64.
17096         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17097         Pass -1 to __internal_statvfs64 instead of calling stat64.
17099 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17101         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17102         that was previously under [RESET_PID].
17103         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17105         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17106         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17108 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17110         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17112         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17113         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17115 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17117         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17119 2014-05-27  Andreas Schwab  <schwab@suse.de>
17121         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17122         TLS_INIT_TP macro.
17123         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17124         * elf/rtld.c (init_tls, dl_main): Likewise.
17125         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17126         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17127         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17128         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17129         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17130         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17131         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17132         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17133         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17134         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17135         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17136         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17137         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17138         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17139         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17140         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17141         * sysdeps/generic/tls.h: Update description.
17143 2014-05-27  Will Newton  <will.newton@linaro.org>
17145         [BZ #16990]
17146         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17147         and restore r2 rather than just restoring.
17149 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17151         [BZ #16724]
17152         * libio/tst-ftell-append.c: New test case.
17153         * libio/Makefile (tests): Add test case.
17154         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17155         append mode.
17156         * libio/wfileops.c (do_ftell_wide): Likewise.
17158 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17162         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17163         ...
17164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17166         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17167         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17168         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17169         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17170         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17171         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17173         Moved ...
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17176         Moved ...
17177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17178         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17179         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17180         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17181         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17182         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17183         ...
17184         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17185         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17186         Moved ...
17187         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17188         here.
17189         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17190         ...
17191         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17192         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17193         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17195         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17196         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17197         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17198         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17201         merge into ...
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17203         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17204         ...
17205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17207         ...
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17209         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17210         Moved ...
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17212         here.
17213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17214         Moved ...
17215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17217         Moved ...
17218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17221         conditional [RESET_PID].
17222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17224         removed.
17225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17226         removed.
17228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17229         <tcb-offsets.h>.
17230         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17231         (__libc_vfork): New strong alias.
17232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17233         removed.
17234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17235         Removed.
17237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17238         <tcb-offsets.h>.
17239         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17240         (__libc_vfork): New strong alias.
17241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17242         removed.
17243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17244         removed.
17246 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17248         * malloc/malloc.c (mi_arena): New function.
17249         (malloc_info): Remove nested function mi_arena. Call non-nosted
17250         function mi_arena.
17252 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17254         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17255         by insrwi.
17256         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17257         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17258         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17259         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17260         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17261         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17262         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17264 2014-05-26  Andreas Schwab  <schwab@suse.de>
17266         [BZ #16984]
17267         * locale/programs/repertoire.c (repertoire_read): Add slash
17268         between I18NPATH element and file name.
17269         * locale/programs/locfile.c (locfile_read): Likewise.
17271 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17273         * nptl/pthread_mutexattr_settype.c
17274         (__pthread_mutexattr_settype):
17275         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17277 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17279         * nptl/tst-mutex5 (do_test):
17280         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17282 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17284         * benchtests/README: Document 'init' directive.
17285         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17286         BENCH_INIT.
17287         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17288         (parse_file): Recognize 'init' directive.
17290 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17292         [BZ #16796]
17293         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17294         alignment of struct pthread.
17296 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17298         [BZ #16878]
17299         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17300         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17301         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17302         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17304 2014-05-25  Richard Henderson  <rth@twiddle.net>
17306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17307         (SINGLE_THREAD_P_PIC): Remove.
17308         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17309         (SINGLE_THREAD_P_PIC): Remove.
17311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17312         branch to syscall error ...
17313         (PSEUDO): ... here.
17314         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17315         from __local_syscall_error to .Lsyscall_error.
17316         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17317         (SYSCALL_ERROR): Update label name.
17319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17320         Do not use DOARGS/UNDOARGS.
17321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17322         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17323         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17324         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17325         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17328         block comment.
17330         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17331         define if !NOT_IN_libc.
17332         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17333         define with non-default symbol versions.
17335 2014-05-23  Richard Henderson  <rth@twiddle.net>
17337         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17338         (vfork, __vfork): Define via compat_symbol.
17340         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17341         [!HAVE_IFUNC] (vfork_compat): Remove.
17342         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17344 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17346         [BZ #16978]
17347         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17348         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17349         variable.
17351 2014-05-23  Richard Henderson  <rth@twiddle.net>
17353         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17354         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17355         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17356         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17358         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17359         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17360         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17361         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17362         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17363         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17364         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17365         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17366         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17367         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17368         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17369         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17370         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17371         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17372         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17373         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17375         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17376         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17377         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17378         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17379         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17380         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17381         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17385         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17386         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17387         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17388         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17389         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17390         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17393         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17395         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17397         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17398         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17399         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17400         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17401         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17402         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17403         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17404         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17405         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17407         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17409         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17411         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17413         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17415         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17416         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17417         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17418         before exiting on error.
17419         (__libc_vfork): New strong alias.
17420         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17421         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17423         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17424         that was previously under [RESET_PID].
17425         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17427         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17429 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17431         [BZ #16977]
17432         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17433         value when x - 1 is zero.
17434         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17435         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17436         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17437         0.0L for an argument of 1.0L.
17438         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17439         Likewise.
17440         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17441         value when x - 1 is zero.
17442         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17443         * sysdeps/i386/fpu/libm-test-ulps: Update.
17444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17446 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17448         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17449         alphasort and versionsort.
17451 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17453         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17454         macro.
17455         [copysignf]: Likewise.
17457 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17459         * crypt/md5-crypt.c: Fix formatting.
17461 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17463         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17464         (b64_from_24bit): New function.
17466 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17468         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17469         libc_hidden_builtin_def to ifunc.
17470         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17471         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17473 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17475         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17476         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17478 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17480         * nscd/Depend (linuxthreads): Remove.
17481         (nptl): Add.
17482         * resolv/Depend (linuxthreads): Remove.
17483         * rt/Depend (linuxthreads): Remove.
17485         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17486         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17487         $(common-objpfx)elf/.
17488         (link-libc-before-gnulib): Likewise.
17489         (elfobjdir): Remove variable.
17490         * Makefile (install): Use $(elf-objpfx) instead of
17491         $(common-objpfx)elf/.
17492         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17493         $(elfobjdir)/.
17494         (link-libc-deps): Likewise.
17495         ($(common-objpfx)libc.so): Likewise.
17496         ($(common-objpfx)linkobj/libc.so): Likewise.
17497         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17498         instead of $(common-objpfx)elf/.
17499         (symbolic-link-list): Likewise.
17500         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17501         [$(cross-compiling) = no]: Likewise.
17502         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17503         $(elfobjdir)/.
17504         (static-gnulib-arch): Likewise.
17505         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17506         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17507         $(common-objpfx)elf/.
17509 2014-05-21  Richard Henderson  <rth@redhat.com>
17511         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17512         (SINGLE_THREAD_P): Use the correct width load.  Fold
17513         into the ldr offset.
17515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17516         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17518 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17520         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17521         (libgcc_s_resume): Use __attribute_used__.
17522         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17523         Likewise.
17525 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17527         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17528         optimization when used with float constants.
17530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17532 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17534         [BZ #16915]
17535         * locale/nl_langinfo_l.c: Make direct reference to every
17536         _nl_current_CATEGORY symbol.
17537         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17538         (tests-static): Add tst-langinfo-static.
17539         (tests-special): Add tst-langinfo-static.out.
17540         ($(objpfx)tst-langinfo.out): Redirect output.
17541         ($(objpfx)tst-langinfo-static.out): New.
17542         * localedata/tst-langinfo.sh: Send output to stdout.
17543         * localedata/tst-langinfo-static.c: New file.
17545         [BZ #16965]
17546         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17547         when the shift amount is modulo the limb size.
17549 2014-05-20  Richard Henderson  <rth@redhat.com>
17551         [BZ #16967]
17552         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17553         Change type of sa_flags from unsigned int to int.
17555         [BZ #16966]
17556         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17558         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17560 2014-05-20  Will Newton  <will.newton@linaro.org>
17562         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17563         Test the return value of the system call in the nocancel case.
17565 2014-05-20  Will Newton  <will.newton@linaro.org>
17566             Yvan Roux  <yvan.roux@linaro.org>
17568         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17569         #include of asm/ptrace.h.
17570         (PTRACE_GET_THREAD_AREA): Remove #undef.
17571         (PTRACE_GETHBPREGS): Likewise.
17572         (PTRACE_SETHBPREGS): Likewise.
17573         (struct user_regs_struct): New structure.
17574         (struct user_fpsimd_struct): New structure.
17575         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17576         #include of asm/ptrace.h and second #include of sys/user.h.
17577         (PTRACE_GET_THREAD_AREA): Remove #undef.
17578         (PTRACE_GETHBPREGS): Likewise.
17579         (PTRACE_SETHBPREGS): Likewise.
17580         (ELF_NGREG): Use new struct user_regs_struct.
17581         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17583 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17588 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17590         [BZ #16958]
17591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17592         membar to avoid block loads/stores to overlap previous stores.
17594 2014-05-17  Richard Henderson  <rth@redhat.com>
17596         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17597         Create the __##syscall_name##_nocancel entry point.
17598         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17599         Remove; let the sysdep-cancel.h code create it.
17601 2014-05-17  David S. Miller  <davem@davemloft.net>
17603         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17604         Protect with __USE_GNU.
17605         (TIOCSET_TEMPT): Likewise.
17606         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17607         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17608         these are already provided in bits/ioctl-types.h
17610 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17612         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17613         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17615         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17616         Use wait4 regardless of [__NR_waitpid].
17618 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17620         PR libgcc/60166
17621         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17622         (_FP_NANSIGN_Q): Set the quiet bit.
17624 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17626         * benchtests/Makefile
17627         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17628         not $(common-objpfx)math/libm.so.
17629         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17630         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17631         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17632         $(common-objpfx)dlfcn/libdl.so.
17633         ($(objpfx)tst-audit8): Depend on $(libm), not
17634         $(common-objpfx)math/libm.so.
17635         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17636         not $(common-objpfx)dlfcn/libdl.so.
17637         * math/Makefile
17638         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17639         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17640         [$(build-shared) = yes].
17641         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17642         $(common-objpfx)nptl/libpthread.so.
17643         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17644         $(common-objpfx)math/libm.so$(libm.so-version) or
17645         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17646         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17647         $(common-objpfx)dlfcn/libdl.so.
17648         * setjmp/Makefile (link-libm): Remove variable.
17649         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17650         * stdio-common/Makefile (link-libm): Remove variable.
17651         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17652         * stdlib/Makefile (link-libm): Remove variable.
17653         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17654         ($(objpfx)tst-strtod-round): Likewise.
17655         ($(objpfx)tst-tininess): Likewise.
17656         ($(objpfx)tst-strtod-underflow): Likewise.
17657         ($(objpfx)tst-strtod6): Likewise.
17658         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17659         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17660         $(common-objpfx)dlfcn/libdl.so.
17662 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17664         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17665         BSD terminal modes definitions.
17667 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17669         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17670         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17672         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17673         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17674         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17675         Don't do #include_next.
17676         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17677         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17678         Don't do #include_next.
17679         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17680         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17681         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17682         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17684 2014-05-16  Allan McRae  <allan@archlinux.org>
17686         * po/sv.po: Update Swedish translation from translation project.
17688         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17689         in sed expression.
17691 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17693         [BZ #16917]
17694         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17695         errno if the TIOCGPTN ioctl fails with an error different than
17696         EINVAL.
17697         * login/tst-ptsname.c: New file.
17698         * login/Makefile (tests): Add tst-ptsname.
17700         [BZ #16943]
17701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17702         and prlimit64.
17704 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17706         [BZ #16849]
17707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17708         herrno to return EAI_AGAIN.
17710 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17712         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17713         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17714         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17715         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17716         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17717         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17719         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17720         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17721         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17722         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17723         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17724         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17725         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17726         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17727         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17728         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17729         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17730         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17731         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17732         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17733         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17734         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17735         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17736         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17737         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17738         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17739         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17740         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17741         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17743         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17745         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17747         Moved ...
17748         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17750         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17752         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17754         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17756         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17758         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17760         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17762         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17764         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17766         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17768         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17770         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17772         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17774         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17776         Moved ...
17777         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17779         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17781         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17783         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17785         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17787         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17789         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17791         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17793         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17795         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17797         Moved ...
17798         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17800         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17802         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17803         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17804         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17805         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17806         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17808         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17809         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17810         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17811         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17812         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17813         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17814         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17815         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17816         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17817         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17818         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17819         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17820         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17821         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17822         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17823         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17824         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17825         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17826         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17827         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17828         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17830         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17832         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17834         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17835         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17837         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17838         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17839         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17840         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17841         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17843         Moved ...
17844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17845         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17846         Moved ...
17847         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17848         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17849         Moved ...
17850         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17851         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17852         Moved ...
17853         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17854         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17855         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17857         Moved ...
17858         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17859         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17860         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17862         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17864         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17866         Moved ...
17867         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17868         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17869         Moved ...
17870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17871         ... here.
17872         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17873         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17875         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17877         Moved ...
17878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17879         ... here.
17880         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17881         Moved ...
17882         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17883         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17884         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17885         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17886         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17887         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17888         Moved ...
17889         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17890         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17891         Moved ...
17892         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17894         Moved ...
17895         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17896         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17897         Moved ...
17898         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17899         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17900         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17902         Moved ...
17903         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17904         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17905         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17906         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17907         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17908         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17909         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17910         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17911         Moved ...
17912         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17913         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17914         Moved ...
17915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17916         ... here.
17917         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17918         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17919         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17920         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17922         Moved ...
17923         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17924         ... here.
17925         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17926         Moved ...
17927         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17928         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17929         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17930         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17931         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17932         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17934         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17935         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17936         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17937         Moved ...
17938         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17939         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17940         Moved ...
17941         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17942         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17943         Moved ...
17944         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17946         Moved ...
17947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17948         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17949         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17950         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17951         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17953         Moved ...
17954         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17955         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17956         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17957         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17958         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17959         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17960         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17961         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17962         Moved ...
17963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17964         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17965         Moved ...
17966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17967         ... here.
17968         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17969         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17970         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17971         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17973         Moved ...
17974         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17975         ... here.
17976         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17977         Moved ...
17978         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17979         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17980         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17981         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17982         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17983         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17984         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17985         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17986         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17987         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17988         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17990         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17991         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17993         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17994         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17996         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17997         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17998         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17999         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18000         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18001         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18002         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18003         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18004         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18005         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18006         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18007         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18008         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18009         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18010         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18012         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18014         Moved ...
18015         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18017         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18018         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18019         Moved ...
18020         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18022         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18024         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18028         Moved ...
18029         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18031         Moved ...
18032         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18034         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18038         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18039         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18040         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18042         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18043         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18044         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18045         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18046         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18047         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18048         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18050         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18051         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18052         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18053         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18054         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18056         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18057         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18058         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18059         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18060         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18061         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18062         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18063         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18064         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18065         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18070         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18071         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18072         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18073         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18074         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18075         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18076         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18077         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18078         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18079         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18080         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18081         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18082         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18083         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18085         Update #include.
18086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18087         Likewise.
18088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18089         Likewise.
18090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18091         Likewise.
18092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18093         Likewise.
18094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18095         Likewise.
18096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18097         Likewise.
18098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18099         Likewise.
18100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18101         Likewise.
18102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18103         Likewise.
18104         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18109         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18114         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18120         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18121         that was previously under [RESET_PID].
18122         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18123         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18124         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18126         * sysdeps/i386/nptl/Implies: New file.
18127         * sysdeps/x86_64/nptl/Implies: New file.
18128         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18129         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18131         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18133         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18134         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18135         (__libc_vfork): New strong alias.
18136         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18137         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18139         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18140         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18141         (__libc_vfork): New strong alias.
18142         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18143         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18145         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18146         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18147         (__libc_vfork): New strong alias.
18148         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18149         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18150         * nptl/pt-vfork.c: New file.
18151         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18152         (libpthread: GLIBC_2.20): New version set (empty).
18154 2014-05-14  Will Newton  <will.newton@linaro.org>
18156         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18157         rather than #if.
18159 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18161         [BZ #16564]
18162         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18163         arguments with exponent 65 or above.
18164         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18165         arguments 0x1p113L or above.
18166         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18167         to arguments 0x1p107L or above.
18168         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18169         positive arguments with exponent 65 or above.
18170         * math/auto-libm-test-in: Add more tests of log1p.
18171         * math/auto-libm-test-out: Regenerated.
18173         [BZ #16928]
18174         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18175         non-finite arguments is +0.
18176         * math/s_cacosf.c (__cacosf): Likewise.
18177         * math/s_cacosl.c (__cacosl): Likewise.
18178         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18179         * sysdeps/i386/fpu/libm-test-ulps: Update.
18180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18182         [BZ #16927]
18183         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18184         value.
18185         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18186         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18187         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18188         for explicit high bit of mantissa when testing for argument equal
18189         to 1.
18190         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18191         * sysdeps/i386/fpu/libm-test-ulps: Update.
18192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18194         [BZ #16516]
18195         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18196         (__erf): Scale by 16 instead of 8 in potentially underflowing
18197         case.  Ensure exception if result actually underflows.
18198         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18199         (__erff): Scale by 16 instead of 8 in potentially underflowing
18200         case.  Ensure exception if result actually underflows.
18201         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18202         (efx8): Remove variable.
18203         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18204         case.  Ensure exception if result actually underflows.
18205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18206         (efx8): Remove variable.
18207         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18208         case.  Ensure exception if result actually underflows.
18209         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18210         (efx8): Remove variable.
18211         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18212         case.  Ensure exception if result actually underflows.
18213         * math/auto-libm-test-in: Add more tests of erf.
18214         * math/auto-libm-test-out: Regenerated.
18216 2014-05-14  Andreas Schwab  <schwab@suse.de>
18218         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18219         Remove code conditionalized on USE___THREAD.
18221         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18222         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18223         not definedness.
18225 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18227         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18228         Define unconditionally.
18229         (__ASSUME_O_CLOEXEC): Likewise.
18230         (__ASSUME_SOCK_CLOEXEC): Likewise.
18231         (__ASSUME_IN_NONBLOCK): Likewise.
18232         (__ASSUME_PIPE2): Likewise.
18233         (__ASSUME_EVENTFD2): Likewise.
18234         (__ASSUME_SIGNALFD4): Likewise.
18235         (__ASSUME_DUP3): Likewise.
18236         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18237         (__ASSUME_DUP3): Do not define.
18238         (__ASSUME_EVENTFD2): Likewise.
18239         (__ASSUME_IN_NONBLOCK): Likewise.
18240         (__ASSUME_O_CLOEXEC): Likewise.
18241         (__ASSUME_PIPE2): Likewise.
18242         (__ASSUME_SIGNALFD4): Likewise.
18243         (__ASSUME_SOCK_CLOEXEC): Likewise.
18244         (__ASSUME_UTIMES): Undefine.
18245         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18246         (__ASSUME_UTIMES): Do not define.
18247         (__ASSUME_O_CLOEXEC): Likewise.
18248         (__ASSUME_SOCK_CLOEXEC): Likewise.
18249         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18250         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18251         0x020621].
18252         (__ASSUME_PIPE2): Likewise.
18253         (__ASSUME_EVENTFD2): Likewise.
18254         (__ASSUME_SIGNALFD4): Likewise.
18255         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18256         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18257         Do not define.
18258         (__ASSUME_EVENTFD2): Likewise.
18259         (__ASSUME_SIGNALFD4): Likewise.
18260         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18261         (__ASSUME_32BITUIDS): Likewise.
18262         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18263         (__ASSUME_IPC64): Likewise.
18264         (__ASSUME_ST_INO_64_BIT): Likewise.
18265         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18266         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18267         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18268         (__ASSUME_UTIMES): Do not define.
18269         (__ASSUME_PSELECT): Likewise.
18270         (__ASSUME_PPOLL): Likewise.
18271         (__ASSUME_O_CLOEXEC): Likewise.
18272         (__ASSUME_SOCK_CLOEXEC): Likewise.
18273         (__ASSUME_IN_NONBLOCK): Likewise.
18274         (__ASSUME_PIPE2): Likewise.
18275         (__ASSUME_EVENTFD2): Likewise.
18276         (__ASSUME_SIGNALFD4): Likewise.
18277         (__ASSUME_DUP3): Likewise.
18278         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18279         (__ASSUME_UTIMES): Likewise.
18280         (__ASSUME_O_CLOEXEC): Likewise.
18281         (__ASSUME_SOCK_CLOEXEC): Likewise.
18282         (__ASSUME_IN_NONBLOCK): Likewise.
18283         (__ASSUME_PIPE2): Likewise.
18284         (__ASSUME_EVENTFD2): Likewise.
18285         (__ASSUME_SIGNALFD4): Likewise.
18286         (__ASSUME_DUP3): Likewise.
18287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18288         (__ASSUME_UTIMES): Likewise.
18289         (__ASSUME_O_CLOEXEC): Likewise.
18290         (__ASSUME_SOCK_CLOEXEC): Likewise.
18291         (__ASSUME_IN_NONBLOCK): Likewise.
18292         (__ASSUME_PIPE2): Likewise.
18293         (__ASSUME_EVENTFD2): Likewise.
18294         (__ASSUME_SIGNALFD4): Likewise.
18295         (__ASSUME_DUP3): Likewise.
18296         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18297         Likewise.
18298         (__ASSUME_UTIMES): Likewise.
18299         (__ASSUME_EVENTFD2): Likewise.
18300         (__ASSUME_SIGNALFD4): Likewise.
18301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18302         (__ASSUME_O_CLOEXEC): Likewise.
18303         (__ASSUME_SOCK_CLOEXEC): Likewise.
18304         (__ASSUME_IN_NONBLOCK): Likewise.
18305         (__ASSUME_PIPE2): Likewise.
18306         (__ASSUME_EVENTFD2): Likewise.
18307         (__ASSUME_SIGNALFD4): Likewise.
18308         (__ASSUME_DUP3): Likewise.
18309         (__ASSUME_UTIMES): Undefine.
18311         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18312         feclearexcept.  Remove symbol versioning code.
18313         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18314         symbol versioning code.
18315         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18316         symbol versioning code.
18317         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18318         feupdateenv.  Remove symbol versioning code.
18319         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18320         fegetexceptflag.  Remove symbol versioning code.
18321         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18322         fesetexceptflag.  Remove symbol versioning code.
18323         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18324         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18325         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18326         (__posix_fadvise64_l32): Remove prototype.
18327         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18328         code.
18330 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18332         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18333         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18334         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18335         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18337 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18339         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18340         current working directory
18342 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18344         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18345         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18346         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18347         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18348         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18349         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18350         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18351         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18352         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18353         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18354         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18355         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18356         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18357         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18358         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18359         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18360         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18361         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18362         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18363         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18364         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18365         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18366         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18367         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18368         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18369         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18370         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18371         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18372         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18373         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18374         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18375         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18376         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18377         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18378         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18379         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18380         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18381         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18382         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18383         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18384         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18385         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18387         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18388         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18390         * sysdeps/unix/sysv/linux/arm/Makefile
18391         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18392         Add rt-aeabi_unwind_cpp_pr1.
18393         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18394         Add nptl-aeabi_unwind_cpp_pr1.
18395         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18396         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18397         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18398         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18399         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18400         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18402         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18403         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18404         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18405         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18407         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18408         Deconditionalize the code that was previously under [RESET_PID].
18409         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18411         * sysdeps/generic/exit-thread.h: New file.
18412         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18413         * include/unistd.h (__exit_thread): Remove declaration.
18414         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18415         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18416         * csu/libc-start.c: Include <exit-thread.h>.
18417         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18418         * nptl/pthread_create.c: Include <exit-thread.h>.
18419         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18420         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18421         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18422         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18423         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18424         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18425         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18426         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18427         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18428         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18429         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18430         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18431         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18432         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18433         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18434         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18435         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18437 2014-05-13  Andreas Schwab  <schwab@suse.de>
18439         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18441 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18443         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18444         (__ASSUME_UTIMES): Do not condition on kernel version.
18445         (__ASSUME_PSELECT): Define unconditionally.
18446         (__ASSUME_PPOLL): Likewise.
18447         (__ASSUME_ATFCTS): Likewise.
18448         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18449         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18450         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18451         (__ASSUME_UTIMENSAT): Define unconditionally.
18452         (__ASSUME_PRIVATE_FUTEX): Likewise.
18453         (__ASSUME_FALLOCATE): Likewise.
18454         (__ASSUME_O_CLOEXEC): Likewise.
18455         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18456         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18457         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18458         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18459         (__ASSUME_IN_NONBLOCK): Likewise.
18460         (__ASSUME_PIPE2): Likewise.
18461         (__ASSUME_EVENTFD2): Likewise.
18462         (__ASSUME_SIGNALFD4): Likewise.
18463         (__ASSUME_DUP3): Likewise.
18464         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18465         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18466         (__ASSUME_AT_RANDOM): Likewise.
18467         (__ASSUME_PREADV): Likewise.
18468         (__ASSUME_PWRITEV): Likewise.
18469         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18470         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18471         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18472         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18473         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18474         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18475         (__ASSUME_O_CLOEXEC): Define unconditionally.
18476         (__ASSUME_PSELECT): Do not undefine conditionally.
18477         (__ASSUME_PPOLL): Likewise.
18478         (__ASSUME_ATFCTS): Likewise.
18479         (__ASSUME_SET_ROBUST_LIST): Likewise.
18480         (__ASSUME_UTIMENSAT): Likewise.
18481         (__ASSUME_FDATASYNC): Define unconditionally.
18482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18483         (__ASSUME_SIGFRAME_V2): Likewise.
18484         )__ASSUME_EVENTFD2): Likewise.
18485         (__ASSUME_SIGNALFD4): Likewise.
18486         (__ASSUME_PSELECT): Do not undefine conditionally.
18487         (__ASSUME_PPOLL): Likewise.
18488         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18489         (__ASSUME_PSELECT): Define unconditionally.
18490         (__ASSUME_PPOLL): Likewise.
18491         (__ASSUME_O_CLOEXEC): Likewise.
18492         (__ASSUME_SOCK_CLOEXEC): Likewise.
18493         (__ASSUME_IN_NONBLOCK): Likewise.
18494         (__ASSUME_PIPE2): Likewise.
18495         (__ASSUME_EVENTFD2): Likewise.
18496         (__ASSUME_SIGNALFD4): Likewise.
18497         (__ASSUME_DUP3): Likewise.
18498         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18499         (__ASSUME_O_CLOEXEC): Likewise.
18500         (__ASSUME_SOCK_CLOEXEC): Likewise.
18501         (__ASSUME_IN_NONBLOCK): Likewise.
18502         (__ASSUME_PIPE2): Likewise.
18503         (__ASSUME_EVENTFD2): Likewise.
18504         (__ASSUME_SIGNALFD4): Likewise.
18505         (__ASSUME_DUP3): Likewise.
18506         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18507         (__ASSUME_EVENTFD2): Likewise.
18508         (__ASSUME_SIGNALFD4): Likewise.
18509         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18511 2014-05-12  Andreas Schwab  <schwab@suse.de>
18513         [BZ #16932]
18514         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18515         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18516         than maximum RPC packet size.
18517         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18518         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18519         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18520         (_nss_nis_getservbyport_r): Likewise.
18522 2014-05-12  Will Newton  <will.newton@linaro.org>
18524         * malloc/Makefile (tests): Add tst-mallopt.
18525         * malloc/tst-mallopt.c: New file.
18527 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18529         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18530         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18532 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18534         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18535         (tst-tlsmod6.so): Likewise.
18537 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18539         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18541 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18543         [BZ #16064]
18544         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18545         and <dl-procinfo.h>.
18546         (__fegetenv): Save SSE state in envp->__eip if supported.
18547         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18548         envp->__eip if supported.
18549         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18550         and <dl-procinfo.h>.
18551         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18552         __data_offset and __data_selector in environment to 0.  Set SSE
18553         state if supported.
18554         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18555         test-fenv-sse.
18556         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18557         -mfpmath=sse.
18558         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18560 2014-05-09  Will Newton  <will.newton@linaro.org>
18562         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18563         and libc_relro_required for ARM.
18564         * sysdeps/arm/preconfigure: Regenerate.
18566 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18567             Stefan Liebler  <stli@linux.vnet.ibm.com>
18569         * config.make.in (enable-lock-elision): New Makefile variable.
18570         * configure.ac: Likewise.
18571         * configure: Regenerate.
18572         * sysdeps/s390/configure.ac:
18573         Add check for gcc transactions support.
18574         * sysdeps/s390/configure: Regenerate.
18575         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18576         Build elision files if enabled.
18577         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18578         Add lock elision support for s390.
18579         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18580         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18581         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18582         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18583         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18584         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18585         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18586         Likewise.
18587         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18588         Likewise.
18589         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18590         Likewise.
18591         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18592         Likewise.
18593         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18594         (__lll_timedlock_elision, __lll_lock_elision)
18595         (__lll_unlock_elision, __lll_trylock_elision)
18596         (lll_timedlock_elision, lll_lock_elision)
18597         (lll_unlock_elision, lll_trylock_elision): Add.
18598         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18599         (pthread_mutex_t): Add lock elision support for s390.
18601 2014-05-14  Wilco  <wdijkstr@arm.com>
18603         * sysdeps/arm/fclrexcpt.c: Cleanup.
18604         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18605         * sysdeps/arm/feenablxcpt.c: Cleanup.
18606         * sysdeps/arm/fegetenv.c: Cleanup.
18607         * sysdeps/arm/fegetexcept.c: Cleanup.
18608         * sysdeps/arm/fegetround.c: Cleanup.
18609         * sysdeps/arm/feholdexcpt.c: Cleanup.
18610         * sysdeps/arm/fesetenv.c: Cleanup.
18611         * sysdeps/arm/fesetround.c: Cleanup.
18612         * sysdeps/arm/feupdateenv.c: Cleanup.
18613         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18614         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18615         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18616         * sysdeps/arm/ftestexcept.c: Cleanup.
18617         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18618         * sysdeps/arm/setfpucw.c: Cleanup.
18620 2014-05-09  Will Newton  <will.newton@linaro.org>
18622         * sysdeps/arm/armv7/strcmp.S: New file.
18623         * NEWS: Mention addition of ARMv7 optimized strcmp.
18625 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18627         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18628         look for %.ac rather than %.in.
18630         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18631         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18632         * sysdeps/mach/hurd/configure: Regenerated.
18633         * sysdeps/unix/sysv/linux/configure: Regenerated.
18635         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18637 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18639         [BZ# 16922]
18640         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18641         (LONG_SUB): Ditto.
18642         (PTR_SUB): Ditto.
18644 2014-05-07  Andreas Schwab  <schwab@suse.de>
18646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18647         when skipping over non-matching result from nscd.
18649 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18651         [BZ #16876]
18652         * nptl/sockperf.c (client): Check socket return value.
18654         [BZ #16877]
18655         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18656         nscd security class.
18658 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18660         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18661         * sysdeps/arm/unwind.h: ... here.
18663 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18665         [BZ# 16916]
18666         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18667         Define.
18669 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18671         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18672         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18673         multiarch strncpy for PPC64.
18674         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18675         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18677         multiarch optimizations.
18678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18679         (__libc_ifunc_impl_list): Likewise.
18680         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18681         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18682         multiarch stpncpy for PPC64.
18683         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18686 2014-05-06  Andreas Schwab  <schwab@suse.de>
18688         [BZ #16912]
18689         * gmon/mcount.c (_MCOUNT_DECL): Use
18690         atomic_compare_and_exchange_bool_acq instead of
18691         catomic_compare_and_exchange_bool_acq.
18693 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18695         * elf/Makefile (others, install-bin): Remove pldd.
18696         (pldd-modules): Variable removed.
18697         ($(objpfx)pldd): Target removed.
18698         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18699         (others, install-bin): Append pldd here.
18700         ($(objpfx)pldd): New target.
18702         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18703         to 0, so the first #if test emitted later doesn't see it undefined.
18704         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18705         * sysdeps/gnu/errlist.c: Regenerated.
18707 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18710         [libc_hidden_builtin_def]: Define to empty value.
18711         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18712         [libc_hidden_builtin_def]: Likewise.
18713         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18714         [libc_hidden_builtin_def]: Likewise.
18715         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18716         [libc_hidden_builtin_def]: Likewise.
18717         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18718         __redirect_memcpy and define ifunc as default hidden symbol.
18719         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18720         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18722 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18724         * locale/iso-4217.def: Reintroduce XDR currency.
18726 2014-05-04  Allan McRae  <allan@archlinux.org>
18728         * po/eo.po: Update Esperanto translation from translation project.
18730 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18732         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18733         and FEATURE_INDEX_MAX to 1.
18734         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18736 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18738         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18739         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18740         * iconvdata/big5.c (ONE_DIRECTION): Define.
18741         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18742         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18743         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18744         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18745         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18746         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18747         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18748         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18749         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18750         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18751         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18752         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18753         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18754         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18755         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18756         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18757         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18758         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18759         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18760         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18761         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18762         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18763         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18764         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18765         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18766         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18767         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18768         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18769         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18770         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18771         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18772         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18773         * iconvdata/johab.c (ONE_DIRECTION): Define.
18774         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18775         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18776         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18777         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18778         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18779         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18780         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18781         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18782         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18783         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18785 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18787         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18788         (_IO_JUMPS_OFFSET): Define to 0.
18790         * nptl/sysdeps/pthread/bits/libc-lock.h
18791         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18792         (__libc_lock_define_initialized_recursive): Always define using
18793         initializer.  Modern compilers treat uninitialized (implicit zero) and
18794         explicit zero initializers the same (i.e. put the datum in bss).
18796 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18798         * nscd/nscd-client.h: Include <string.h>.
18800 2014-05-01  David S. Miller  <davem@davemloft.net>
18802         [BZ #16885]
18803         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18804         multiple zero bytes exist at the end of a string.
18805         Reported by Aurelien Jarno <aurelien@aurel32.net>
18807         * string/test-strcmp.c (check): Add explicit test for situations where
18808         there are multiple zero bytes after the first.
18810 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18812         [BZ #16890]
18813         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18814         when compiling wprintf.
18815         * stdio-common/tstdiomisc.c (t3): New function.
18816         (main): Call it.
18818 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18820         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18821         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18822         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18823         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18825 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18827         * stdlib/longlong.h: Updated from GCC.
18829 2014-05-01  Will Newton  <will.newton@linaro.org>
18830             Bernard Ogden  <bernie.ogden@linaro.org>
18832         * NEWS: Update fixed bug list.
18834         [BZ #15119]
18835         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18837 2014-04-30  David S. Miller  <davem@davemloft.net>
18839         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18840         (libc_feholdexcept_setround_sparc_ctx): New function.
18841         (libc_fesetenv_sparc_ctx): Likewise.
18842         (libc_feupdateenv_sparc_ctx): Likewise.
18843         (libc_feholdsetround_sparc_ctx): Likewise.
18844         (libc_feholdexcept_setround_ctx): Define.
18845         (libc_feholdexcept_setroundf_ctx): Likewise.
18846         (libc_feholdexcept_setroundl_ctx): Likewise.
18847         (libc_fesetenv_ctx): Likewise.
18848         (libc_fesetenvf_ctx): Likewise.
18849         (libc_fesetenvl_ctx): Likewise.
18850         (libc_feupdateenv_ctx): Likewise.
18851         (libc_feupdateenvf_ctx): Likewise.
18852         (libc_feupdateenvl_ctx): Likewise.
18853         (libc_feresetround_ctx): Likewise.
18854         (libc_feresetroundf_ctx): Likewise.
18855         (libc_feresetroundl_ctx): Likewise.
18856         (libc_feholdsetround_ctx): Likewise.
18857         (libc_feholdsetroundf_ctx): Likewise.
18858         (libc_feholdsetroundl_ctx): Likewise.
18860         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18861         with __USE_GNU instead of XOPEN cpp guards.
18863         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18864         0.
18866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18867         with XOPEN cpp guards.
18869 2014-04-30  Julian Brown  <julian@codesourcery.com>
18871         [BZ #16888]
18872         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18873         handling.
18875 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18877         [BZ #9894]
18878         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18879         Change to 2.6.32.
18880         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18881         * sysdeps/unix/sysv/linux/configure: Regenerated.
18882         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18883         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18884         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18885         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18886         * README: Update reference to required Linux kernel version.
18887         * manual/install.texi (Linux): Update reference to required Linux
18888         kernel headers version.
18889         * INSTALL: Regenerated.
18891         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18892         header inclusion.
18893         [POSIX] (limits.h): Likewise.
18894         [POSIX] (math.h): Likewise.
18895         [POSIX] (sys/wait.h): Likewise.
18896         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18897         function.
18898         [POSIX] (stddef.h): Do not allow header inclusion.
18900 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18904 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18906         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18907         Return immediately after lll_futex_wake.
18909 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18911         [BZ #16791]
18912         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18913         structure.
18914         (datahead_init_pos): Call datahead_init_common early.
18915         (datahead_init_neg): Likewise.
18917         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18918         datahead_init_neg): New functions.
18919         * nscd/aicache.c (addhstaiX): Use them.
18920         * nscd/grpcache.c (cache_addgr): Likewise.
18921         * nscd/hstcache.c (cache_addhst): Likewise.
18922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18923         * nscd/netgroupcache.c (do_notfound): Likewise.
18924         (addgetnetgrentX): Likewise.
18925         (addinnetgrX): Likewise.
18926         * nscd/pwdcache.c (cache_addpw): Likewise.
18927         * nscd/servicescache.c (cache_addserv): Likewise.
18929 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18930             Atsushi Onoe  <atsushi@onoe.org>
18932         [BZ #14308]
18933         [BZ #12994]
18934         [BZ #13651]
18935         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18936         one response is valid.
18937         * resolv/res_send.c (send_dg): Check for validity of other
18938         response if the current response is a referral.
18940 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18942         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18944 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18946         [BZ #16823]
18947         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18948         Always divide by positive zero when computing -Inf result.
18949         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18950         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18952 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18954         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18955         FPSCR if value do not change.
18956         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18957         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18958         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18959         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18960         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18961         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18962         function.
18964 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18966         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18967         * sysdeps/unix/sysv/linux/hppa: Move directory from
18968         ports/systeps/unix/sysv/linux/hppa.
18969         * README: Update listing for hppa-*-linux-gnu.
18971 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18973         [BZ #16754]
18974         * manual/stdio.texi (Hook functions): Fix types of stream hook
18975         functions.
18976         [BZ #16854]
18977         * socket/sys/socket.h: Fix typo in comment.
18979 2014-04-28  Wilco  <wdijkstr@arm.com>
18981         * sysdeps/arm/fenv_private.h: New file.
18982         * sysdeps/arm/math_private.h: New file.
18983         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18985 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18987         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18988         with __int128_t.
18989         (La_x86_64_retval): Likewise.
18991 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18993         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18994         fpsr if value didn't change.
18995         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18996         to fpcr if value didn't change.
18997         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18998         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18999         fpsr or fpcr if value didn't change.
19000         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19001         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19002         fpcr if value didn't change.
19003         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19004         to fpsr if value didn't change.
19006 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19008         * nptl/tst-sem3.c: Use test-skeleton.c
19009         (main): Rename to do_test.  Use return instead of
19010         exit.
19011         * nptl/tst-sem4.c: Use test-skeleton.c
19012         (main): Rename to do_test.
19014 2014-04-22  David S. Miller  <davem@davemloft.net>
19016         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19017         (struct sigaction): New struct member __glibc_reserved0, change
19018         type of sa_flags to int.
19020 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19022         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19023         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19025 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19027         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19028         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19030 2014-04-22  Will Newton  <will.newton@linaro.org>
19031             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19033         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19034         (__longjmp): Add longjmp and longjmp_target SystemTap
19035         probes.
19036         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19037         (__sigsetjmp): Add setjmp SystemTap probe.
19039 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19041         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19042         match manual order.
19044 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19046         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19048         * sysdeps/powerpc/fpu/fenv_private.h
19049         (libc_feholdexcept_setroundl_ctx): Define to
19050         libc_feholdexcept_setround_ppc_ctx.
19051         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19052         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19053         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19054         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19056 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19058         * sysdeps/aarch64/math-tests.h: New file.
19060 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19062         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19063         New.
19064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19065         Check and set bit_AVX2_Usable.
19066         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19067         macro.
19068         (bit_AVX2): Likewise.
19069         (index_AVX2_Usable): Likewise.
19070         (CPUID_AVX2): Likewise.
19071         (HAS_AVX2): Likewise.
19073 2014-04-17  Will Newton  <will.newton@linaro.org>
19075         * manual/setjmp.texi (System V contexts): Add note that
19076         calling setcontext on a context created by a call to a
19077         signal handler is undefined.  Update text to note that
19078         setcontext from a signal handler is possible but not
19079         recommended.
19081         [BZ #16629]
19082         * stdlib/tst-setcontext.c: Include signal.h.
19083         (main): Check that the signal stack before and
19084         after swapcontext is the same.
19086         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19087         Re-implement to restore registers in user code and avoid
19088         rt_sigreturn system call.
19090 2014-04-17  Wilco  <wdijkstr@arm.com>
19092         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19093         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19094         * math/test-fenv.c: Skip exception trap tests on targets which only
19095         support non-stop mode.
19097 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19098             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19100         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19101         (libc_feholdsetround_aarch64_ctx)
19102         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19103         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19104         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19105         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19106         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19107         (libc_feresetround_noexl_ctx): Define.
19109 2014-04-16  Richard Henderson  <rth@redhat.com>
19111         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19113         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19114         unwind tables.
19116         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19117         const from the non-libc, non-ldso copy.
19119         * sysdeps/alpha/libm-test-ulps: Regenerate.
19121 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19122             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19124         * sysdeps/aarch64/fpu/math_private.h: New file.
19126 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19128         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19130 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19132         [BZ #16275]
19133         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19134         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19136         Intel MPX bound registers before _dl_profile_fixup.
19137         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19138         registers after _dl_profile_fixup.  Save and restore bound
19139         registers bnd0/bnd1 when calling _dl_call_pltexit.
19140         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19141         (LR_BND_OFFSET): Likewise.
19142         (LRV_BND0_OFFSET): Likewise.
19143         (LRV_BND1_OFFSET): Likewise.
19145 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19147         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19148         to...
19149         * sysdeps/mach/hurd/i386/tls.h: ... here.
19150         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19151         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19152         fields.
19154 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19156         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19158 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19160         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19162 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19164         [BZ #14770]
19165         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19166         * sysdeps/s390/configure: Regenerate.
19168         [BZ #16824]
19169         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19170         Set round-to-nearest internally to reduce error accumulation.
19172 2014-04-16  Alan Modra  <amodra@gmail.com>
19174         [BZ #16740]
19175         [BZ #16619]
19176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19177         * math/libm-test.inc (frexp_test_data): Add tests.
19178         * NEWS: Update fixed bug list.
19180 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19182         * benchtests/Makefile: Depend on libraries in build directory.
19183         (bench-math): Separate out math tests.
19184         (bench-pthread): Separate out pthread tests.
19185         (bench): Include math and pthread tests.
19187 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19189         [BZ #16831]
19190         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19191         _dl_debug_initialize.
19193         * configure.ac: Remove SELinux header check.
19194         * configure: Regenerate.
19195         * nscd/selinux.c (perms): Array of const char* to permission names.
19196         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19197         default policy. Call string_to_security_class and string_to_av_perm to
19198         translate strings. Enforce default policy and call avs_has_perm with
19199         results of translated strings.
19201 2014-04-13  David S. Miller  <davem@davemloft.net>
19203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19205 2014-04-12  Allan McRae  <allan@archlinux.org>
19207         [BZ #16838]
19208         * manual/string.texi (Collation Functions): Fix qsort argument
19209         order in example.
19210         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19212 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19214         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19215         Make the test a no-op if there are no exceptions defined.
19217 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19219         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19220         enable-hardcoded-path-in-tests
19222 2014-04-11  Will Newton  <will.newton@linaro.org>
19224         * benchtests/Makefile (extra-objs): Add json-lib.o.
19225         (bench-func): Tidy up JSON output.
19226         * benchtests/bench-skeleton.c: Include json-lib.h.
19227         (main): Use JSON library functions to do output of
19228         benchmark results.
19229         * benchtests/bench-timing-type.c (main): Output the
19230         timing type simply, leaving formatting to the user.
19231         * benchtests/json-lib.c: New file.
19232         * benchtests/json-lib.h: Likewise.
19234 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19236         [BZ #15215]
19237         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19238         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19239         memory barriers.  Add comments.
19240         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19241         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19242         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19243         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19244         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19245         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19247 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19249         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19250         * sysdeps/s390/s390-64/configure.ac: ... this ...
19251         * sysdeps/s390/configure.ac: ... to here.
19252         * sysdeps/s390/s390-32/configure: Delete file.
19253         * sysdeps/s390/s390-64/configure: Delete file.
19254         * sysdeps/s390/configure: Regenerate.
19256 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19258         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19260 2014-04-11  Will Newton  <will.newton@linaro.org>
19262         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19263         to zero if it is not defined elsewhere.  (mtrim): Test
19264         the value of MALLOC_DEBUG with #if rather than #ifdef.
19266 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19268         * benchtests/pthread_once-inputs: New file.
19269         * benchtests/pthread_once-source.c: New file.
19270         * benchtests/README: Update documentation.
19272 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19273             H.J. Lu  <hongjiu.lu@intel.com>
19275         [BZ #16275]
19276         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19277         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19278         * sysdeps/x86_64/configure: Regenerated.
19279         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19280         macro.
19281         (REGISTER_SAVE_RAX): Likewise.
19282         (REGISTER_SAVE_RCX): Likewise.
19283         (REGISTER_SAVE_RDX): Likewise.
19284         (REGISTER_SAVE_RSI): Likewise.
19285         (REGISTER_SAVE_RDI): Likewise.
19286         (REGISTER_SAVE_R8): Likewise.
19287         (REGISTER_SAVE_R9): Likewise.
19288         (REGISTER_SAVE_BND0): Likewise.
19289         (REGISTER_SAVE_BND1): Likewise.
19290         (REGISTER_SAVE_BND2): Likewise.
19291         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19292         bound registers when calling _dl_fixup.
19294 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19296         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19297         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19298         of its definition.
19299         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19300         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19301         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19302         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19303         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19304         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19305         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19307 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19309         [BZ #15514]
19310         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19311         pathconf(_PC_NAME_MAX).
19313 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19315         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19316         Remove macro usage.
19317         (__PTHREAD_SPINS): Move definition to ...
19318         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19319         (__PTHREAD_SPINS): ... here.
19320         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19321         (__PTHREAD_SPIN): Likewise.
19322         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19323         (__PTHREAD_SPIN): Likewise.
19324         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19325         (__PTHREAD_SPIN): Likewise.
19326         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19327         (__PTHREAD_SPIN): Likewise.
19328         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19329         (__PTHREAD_SPIN): Likewise.
19330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19331         (__PTHREAD_SPIN): Likewise.
19332         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19333         (__PTHREAD_SPIN): Likewise.
19334         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19335         (__PTHREAD_SPIN): Likewise.
19336         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19337         (__PTHREAD_SPIN): Likewise.
19338         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19339         (__PTHREAD_SPIN): Likewise.
19340         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19341         (__PTHREAD_SPIN): Likewise.
19342         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19343         (__PTHREAD_SPIN): Likewise.
19345         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19346         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19347         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19348         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19349         imply folder.
19350         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19351         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19352         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19353         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19354         correct imply path.
19355         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19356         strlen symbol for non multi-arch builds.
19357         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19358         missing hidden_def and weak_alias.
19360 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19362         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19364 2014-04-07  Will Newton  <will.newton@linaro.org>
19366         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19367         and contents.  [!_LIBC] Remove #ifndef and contents.
19368         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19369         * string/memccpy.c (__memccpy): Use ANSI prototype.
19370         * string/memfrob.c (memfrob): Likewise.
19371         * string/strcoll.c (STRCOLL): Likewise.
19372         * string/strlen.c (strlen): Likewise.
19373         * string/strtok.c (STRTOK): Likewise.
19374         * string/strcat.c: Remove unused #include of memcopy.h.
19375         (strcat): Use ANSI prototype.
19376         * string/strchr.c: Remove unused #include of memcopy.h.
19377         (strchr): Use ANSI prototype.
19378         * string/strcmp.c: Remove unused #include of memcopy.h.
19379         (strcmp): Use ANSI prototype.
19380         * string/strcpy.c: Remove unused #include of memcopy.h.
19381         (strcpy): Use ANSI prototype.
19383 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19385         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19386         * config.make.in (config-extra-cppflags): Set it from
19387         libc_extra_cppflags.
19388         * configure.ac (libc_extra_cflags): Make it accumulate over
19389         configure fragments.
19390         (libc_extra_cppflags): New flag.
19391         * configure. Regenerate.
19392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19393         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19394         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19397         [BZ #16815]
19398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19399         result for FE_DOWNWARD rounding mode.
19400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19401         Likewise.
19402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19404 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19406         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19407         in function argument name.
19409 2014-04-03  David Svoboda  <svoboda@cert.org>
19411         [BZ #5666]
19412         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19413         explicitly.
19415 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19417         * elf/dl-unmap-segments.h: New file.
19418         * sysdeps/generic/ldsodefs.h
19419         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19420         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19421         * elf/dl-fptr.c: Likewise.
19422         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19423         * sysdeps/aarch64/tlsdesc.c: Likewise.
19424         * sysdeps/arm/tlsdesc.c: Likewise.
19425         * sysdeps/i386/tlsdesc.c: Likewise.
19426         * sysdeps/tile/dl-runtime.c: Likewise.
19427         * sysdeps/x86_64/tlsdesc.c: Likewise.
19428         * elf/dl-load.h: New file.
19429         * elf/dl-load.c: Include it.
19430         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19431         Macros moved to dl-load.h.
19432         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19433         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19434         Use _dl_unmap_segments in place of __munmap.
19435         Break out segment-mapping loop into ...
19436         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19438 2014-04-03  Will Newton  <will.newton@linaro.org>
19440         * elf/dl-lookup.c (do_lookup_x): Remove comment
19441         referring to nested function and move variable
19442         declarations down to before first use.
19444 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19446         [BZ #16799]
19447         [BZ #16800]
19448         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19449         with 0 numerator.
19450         * math/s_catanf.c (__catanf): Likewise.
19451         * math/s_catanh.c (__catanh): Likewise.
19452         * math/s_catanhf.c (__catanhf): Likewise.
19453         * math/s_catanhl.c (__catanhl): Likewise.
19454         * math/s_catanl.c (__catanl): Likewise.
19455         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19456         by positive zero when computing -Inf result.
19457         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19458         (catanh_test): Likewise.
19459         * sysdeps/i386/fpu/libm-test-ulps: Update.
19460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19462         [BZ #16789]
19463         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19464         instead of using underflowing value in computing result.
19465         * math/s_clog10.c (__clog10): Likewise.
19466         * math/s_clog10f.c (__clog10f): Likewise.
19467         * math/s_clog10l.c (__clog10l): Likewise.
19468         * math/s_clogf.c (__clogf): Likewise.
19469         * math/s_clogl.c (__clogl): Likewise.
19470         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19471         (clog10_test): Likewise.
19472         * sysdeps/i386/fpu/libm-test-ulps: Update.
19473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19475 2014-04-02  Alan Modra  <amodra@gmail.com>
19477         [BZ #16739]
19478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19479         output when value is near a power of two.  Use int64_t for lx and
19480         remove casts.  Use decimal rather than hex exponent constants.
19481         Don't use long double multiplication when double will suffice.
19482         * math/libm-test.inc (nextafter_test_data): Add tests.
19483         * NEWS: Add 16739 and 16786 to bug list.
19485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19487         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19489 2014-04-01  Will Newton  <will.newton@linaro.org>
19491         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19492         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19494 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19496         [BZ #13347]
19497         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19498         * nptl/tst-setuid2.c: New file.
19499         * nptl/Makefile (xtests): Add tst-setuid2.
19501 2014-04-01  Alan Modra  <amodra@gmail.com>
19503         [BZ #16786]
19504         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19506 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19508         [BZ #6803]
19509         [BZ #6804]
19510         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19511         set errno as appropriate.
19512         * math/w_scalbf.c (__scalbf): Likewise.
19513         * math/w_scalbl.c (__scalbl): Likewise.
19514         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19515         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19516         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19517         Add more NaN tests.
19519         [BZ #16349]
19520         * math/w_atan2.c: Include <errno.h>.
19521         (__atan2): Set errno for result underflowing to zero.
19522         * math/w_atan2f.c: Include <errno.h>.
19523         (__atan2f): Set errno for result underflowing to zero.
19524         * math/w_atan2l.c: Include <errno.h>.
19525         (__atan2l): Set errno for result underflowing to zero.
19526         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19527         tests.
19528         * math/auto-libm-test-out: Regenerated.
19530 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19532         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19533         Encode instruction correctly in little endian.
19534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19535         Likewise.
19536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19537         Likewise.
19538         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19539         Likewise.
19540         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19541         Likewise.
19543 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19545         [BZ #9894]
19546         * sysdeps/unix/sysv/linux/kernel-features.h
19547         [__sparc__ && !__arch64__ && !__sparc_v9__]
19548         (__ASSUME_SET_ROBUST_LIST): Do not define.
19549         [__sparc__ && !__arch64__ && !__sparc_v9__]
19550         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19551         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19552         Likewise.
19553         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19554         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19555         (__ASSUME_REQUEUE_PI): Likewise.
19556         (__ASSUME_SET_ROBUST_LIST): Likewise.
19557         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19558         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19559         Undefine.
19560         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19561         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19562         Likewise.
19563         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19564         Likewise.
19565         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19568         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19569         Undefine.
19570         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19571         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19572         Likewise.
19574         [BZ #16648]
19575         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19576         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19577         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19579 2014-03-31  Will Newton  <will.newton@linaro.org>
19581         * benchtests/Makefile (bench): Add ffs and ffsll to list
19582         of tests.
19583         * benchtests/ffs-inputs: New file.
19584         * benchtests/ffsll-inputs: Likewise.
19586 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19588         [BZ #16770]
19589         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19590         too large before casting to int.
19591         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19592         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19593         * math/libm-test.inc (scalb_test_data): Add more tests.
19595 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19597         * benchtests/Makefile (DETAILED_OPT): New make option.
19598         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19599         set.
19600         * benchtests/bench-skeleton.c: Include stdbool.h.
19601         (main): Store and print timings per input.
19602         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19603         member to each argument value.
19604         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19605         (_print_arg_data): Initialize per-input timing to 0.
19607         * benchtests/Makefile (timing-type): New binary.
19608         (bench-clean): Also remove bench-timing-type.
19609         (bench): New target for timing-type.
19610         (bench-func): Print output in JSON format.
19611         * benchtests/bench-skeleton.c (main): Print output in JSON
19612         format.
19613         * benchtests/bench-timing-type.c: New file.
19614         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19615         (TIMING_PRINT_STATS): Remove.
19616         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19617         name separately.
19619         * benchtests/bench-modf.c: Remove.
19620         * benchtests/modf-inputs: New inputs file.
19622 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #16362]
19625         * math/s_clog10.c (M_PI_LOG10E): New macro.
19626         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19627         imaginary parts are 0.
19628         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19629         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19630         imaginary parts are 0.
19631         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19632         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19633         imaginary parts are 0.
19634         * math/libm-test.inc (clog10_test_data): Update expected results
19635         for when real and imaginary parts are 0.
19637 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19639         * elf/dl-load.c: Finish conversion of __builtin_expect into
19640         __glibc_{un}likely.
19642 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19644         [BZ #16348]
19645         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19646         1+x for argument with exponent below -67.
19647         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19648         Likewise.
19649         * math/auto-libm-test-in: Add more tests of exp.
19650         * math/auto-libm-test-out: Regenerated.
19652 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19654         [BZ #16759]
19655         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19656         (nscd_getnetgrent): Use it.
19658         [BZ #16760]
19659         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19660         of stpcpy.
19662 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19664         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19665         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19666         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19667         (lll_robust_unlock): Remove out of line section. Use cfi
19668         intrinsics.
19669         (LLL_STUB_UNWIND_INFO*): Remove.
19670         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19671         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19672         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19673         (lll_robust_unlock): Remove out of line section. Use cfi
19674         intrinsics.
19675         (LLL_STUB_UNWIND_INFO*): Remove.
19677 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19679         [BZ #16758]
19680         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19681         blank values.
19683 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19685         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19687 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19689         [BZ #16198]
19690         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19691         fnstenv.
19692         * math/test-fenv-preserve.c: New file.
19693         * math/Makefile (tests): Add test-fenv-preserve.
19695 2014-03-26  Will Newton <will.newton@linaro.org>
19697         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19699 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19701         * scripts/versionlist.awk: Partition the version sets and emit all
19702         GLIBC_* (sorted) before all others (sorted).
19704 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19706         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19707         GLIBC_2.2.5 version.
19709 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19711         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19712         calls.
19714         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19715         previous change.
19717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19719 2014-03-25  Andreas Schwab  <schwab@suse.de>
19721         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19722         label to be used after in6ailist is initialized.
19724 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19726         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19727         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19729 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19731         [BZ #16357]
19732         [BZ #16599]
19733         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19734         min_plus_half.
19735         (fp_formats): Update initializers.
19736         (init_fp_formats): Initialize new field.
19737         (output_for_one_input_case): Allow underflow for results up to
19738         min_plus_half.
19739         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19740         * math/auto-libm-test-in: Don't mark some underflows from asin and
19741         atanh as spurious.
19742         * math/auto-libm-test-out: Regenerated.
19743         * sysdeps/i386/fpu/libm-test-ulps: Update.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19746 2014-03-25  Andreas Schwab  <schwab@suse.de>
19748         * libio/Makefile (tst-ftell-partial-wide-ENV)
19749         (tst-ftell-active-handler-ENV): Define.
19751 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19753         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19755 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19757         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19759 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19761         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19762         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19763         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19765 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19767         [BZ #16634]
19768         * elf/dl-load.c (open_verify): Add mode parameter.
19769         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19770         (open_path): Change from boolean 'secure' to complete flag 'mode'
19771         (_dl_map_object): Adjust.
19772         * elf/Makefile (tests): Add tst-dlopen-aout.
19773         * elf/tst-dlopen-aout.c: New test.
19775 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19777         [BZ #16714]
19778         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19779         (struct stat): Rename member pad0 to __glibc_reserved0.
19781         [BZ #16712]
19782         * sysdeps/s390/s390-32/bits/wordsize.h
19783         (__WORDSIZE32_SIZE_ULONG): New define.
19784         * sysdeps/s390/s390-64/bits/wordsize.h
19785         (__WORDSIZE32_SIZE_ULONG): Likewise.
19786         * sysdeps/generic/stdint.h (SIZE_MAX):
19787         Define as UL if __WORDSIZE32_SIZE_ULONG.
19789         [BZ #16713]
19790         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19791         (__glibc_reserved0): New variable.
19792         (sa_flags): Change type to int.
19794         * posix/Makefile (before-compile): Use += before-compile instead
19795         of a :=.
19797         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19798         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19800 2014-03-20  Andreas Schwab  <schwab@suse.de>
19802         [BZ #16743]
19803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19804         non-matching result from nscd.
19806 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19808         * scripts/bench.py: Moved to ...
19809         * benchtests/scripts/bench.py: ... here.
19810         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19812 2014-03-24  Andreas Schwab  <schwab@suse.de>
19814         [BZ #16002]
19815         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19816         alloca_account and account alloca use for struct in6ailist.
19818 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19820         [BZ #16284]
19821         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19822         rounding mode to recompute results that overflow to infinity or
19823         underflow to zero.
19824         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19825         bug 16284.
19826         * math/auto-libm-test-out: Regenerated.
19827         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19828         (ccosh_test): Likewise.
19829         (csin_test_data): Use plus_oflow.
19830         (csin_test): Use ALL_RM_TEST.
19831         (csinh_test_data): Use plus_oflow.
19832         (csinh_test): Use ALL_RM_TEST.
19833         * sysdeps/i386/fpu/libm-test-ulps: Update.
19834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19836 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19838         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19839         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19840         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19842         [BZ #16731]
19843         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19844         when x - 1 is zero.
19845         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19846         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19847         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19848         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19849         argument is 1.
19850         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19851         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19852         zero.
19853         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19854         * sysdeps/i386/fpu/libm-test-ulps: Update.
19855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19859         * scripts/bench.pl: Remove file.
19860         * scripts/bench.py: New benchmark script.
19861         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19862         * benchtests/README: Mention python dependency.
19863         * scripts/pylintrc: New file.
19864         * scripts/pylint: New file.
19866         * bits/mathdef.h: Use #ifdef instead of #if.
19867         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19868         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19869         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19870         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19871         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19872         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19874 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19875             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19877         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19879         and strpbrk-ppc64 objects.
19880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19881         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19882         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19883         multiarch strpbrk for POWER7.
19884         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19885         multiarch strpbrk for PPC64.
19886         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19887         ifunc selector.
19888         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19889         strpbrk for POWER7.
19891 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19893         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19894         (atan_test): Likewise.
19895         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19896         (atanh_test): Use ALL_RM_TEST.
19897         (atan2_test_data): Likewise.
19898         (cabs_test): Likewise.
19899         (cacosh_test): Likewise.
19900         (carg_test): Likewise.
19901         (casin_test): Likewise.
19902         (casinh_test): Likewise.
19903         (cbrt_test): Likewise.
19904         (csqrt_test): Likewise.
19905         (erf_test): Likewise.
19906         (erfc_test): Likewise.
19907         (pow10_test): Likewise.
19908         (exp2_test): Likewise.
19909         (hypot_test): Likewise.
19910         (j0_test): Likewise.
19911         (j1_test): Likewise.
19912         (lgamma_test): Likewise.
19913         (gamma_test): Likewise.
19914         (sincos_test): Likewise.
19915         (tanh_test): Likewise.
19916         (y0_test): Likewise.
19917         (y1_test): Likewise.
19918         * sysdeps/i386/fpu/libm-test-ulps: Update.
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19921 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19923         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19925         and strcspn-ppc64 objects.
19926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19927         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19928         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19929         multiarch strcspn for POWER7.
19930         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19931         multiarch strcspn for PPC64.
19932         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19933         ifunc selector.
19934         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19935         strcspn for POWER7.
19937 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19939         * math/gen-libm-test.pl (generate_testfile): Expect only function
19940         name as argument to AUTO_TESTS_* and pass results for all rounding
19941         modes to parse_args.
19942         (parse_auto_input): Separate inputs of automatic tests from
19943         outputs before storing in %auto_tests.
19944         * math/libm-test.inc (acos_test_data): Update call to
19945         AUTO_TESTS_f_f.
19946         (acos_test): Use ALL_RM_TEST.
19947         (acos_tonearest_test_data): Remove.
19948         (acos_test_tonearest): Likewise.
19949         (acos_towardzero_test_data): Likewise.
19950         (acos_test_towardzero): Likewise.
19951         (acos_downward_test_data): Likewise.
19952         (acos_test_downward): Likewise.
19953         (acos_upward_test_data): Likewise.
19954         (acos_test_upward): Likewise.
19955         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19956         (asin_test_data): Likewise.
19957         (asin_test): Use ALL_RM_TEST.
19958         (asin_tonearest_test_data): Remove.
19959         (asin_test_tonearest): Likewise.
19960         (asin_towardzero_test_data): Likewise.
19961         (asin_test_towardzero): Likewise.
19962         (asin_downward_test_data): Likewise.
19963         (asin_test_downward): Likewise.
19964         (asin_upward_test_data): Likewise.
19965         (asin_test_upward): Likewise.
19966         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19967         (atan_test_data): Likewise.
19968         (atanh_test_data): Likewise.
19969         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19970         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19971         (carg_test_data): Likewise.
19972         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19973         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19974         (ccosh_test_data): Likewise.
19975         (cexp_test_data): Likewise.
19976         (clog_test_data): Likewise.
19977         (clog10_test_data): Likewise.
19978         (cos_test_data): Update call to AUTO_TESTS_f_f.
19979         (cos_test): Use ALL_RM_TEST.
19980         (cos_tonearest_test_data): Remove.
19981         (cos_test_tonearest): Likewise.
19982         (cos_towardzero_test_data): Likewise.
19983         (cos_test_towardzero): Likewise.
19984         (cos_downward_test_data): Likewise.
19985         (cos_test_downward): Likewise.
19986         (cos_upward_test_data): Likewise.
19987         (cos_test_upward): Likewise.
19988         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19989         (cosh_test): Use ALL_RM_TEST.
19990         (cosh_tonearest_test_data): Remove.
19991         (cosh_test_tonearest): Likewise.
19992         (cosh_towardzero_test_data): Likewise.
19993         (cosh_test_towardzero): Likewise.
19994         (cosh_downward_test_data): Likewise.
19995         (cosh_test_downward): Likewise.
19996         (cosh_upward_test_data): Likewise.
19997         (cosh_test_upward): Likewise.
19998         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19999         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20000         (ctan_test_data): Likewise.
20001         (ctan_test): Use ALL_RM_TEST.
20002         (ctan_tonearest_test_data): Remove.
20003         (ctan_test_tonearest): Likewise.
20004         (ctan_towardzero_test_data): Likewise.
20005         (ctan_test_towardzero): Likewise.
20006         (ctan_downward_test_data): Likewise.
20007         (ctan_test_downward): Likewise.
20008         (ctan_upward_test_data): Likewise.
20009         (ctan_test_upward): Likewise.
20010         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20011         (ctanh_test): Use ALL_RM_TEST.
20012         (ctanh_tonearest_test_data): Remove.
20013         (ctanh_test_tonearest): Likewise.
20014         (ctanh_towardzero_test_data): Likewise.
20015         (ctanh_test_towardzero): Likewise.
20016         (ctanh_downward_test_data): Likewise.
20017         (ctanh_test_downward): Likewise.
20018         (ctanh_upward_test_data): Likewise.
20019         (ctanh_test_upward): Likewise.
20020         (erf_test_data): Update call to AUTO_TESTS_f_f.
20021         (erfc_test_data): Likewise.
20022         (exp_test_data): Likewise.
20023         (exp_test): Use ALL_RM_TEST.
20024         (exp_tonearest_test_data): Remove.
20025         (exp_test_tonearest): Likewise.
20026         (exp_towardzero_test_data): Likewise.
20027         (exp_test_towardzero): Likewise.
20028         (exp_downward_test_data): Likewise.
20029         (exp_test_downward): Likewise.
20030         (exp_upward_test_data): Likewise.
20031         (exp_test_upward): Likewise.
20032         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20033         (exp10_test): Use ALL_RM_TEST.
20034         (exp10_tonearest_test_data): Remove.
20035         (exp10_test_tonearest): Likewise.
20036         (exp10_towardzero_test_data): Likewise.
20037         (exp10_test_towardzero): Likewise.
20038         (exp10_downward_test_data): Likewise.
20039         (exp10_test_downward): Likewise.
20040         (exp10_upward_test_data): Likewise.
20041         (exp10_test_upward): Likewise.
20042         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20043         (expm1_test_data): Likewise.
20044         (expm1_test): Use ALL_RM_TEST.
20045         (expm1_tonearest_test_data): Remove.
20046         (expm1_test_tonearest): Likewise.
20047         (expm1_towardzero_test_data): Likewise.
20048         (expm1_test_towardzero): Likewise.
20049         (expm1_downward_test_data): Likewise.
20050         (expm1_test_downward): Likewise.
20051         (expm1_upward_test_data): Likewise.
20052         (expm1_test_upward): Likewise.
20053         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20054         (fma_test): Use ALL_RM_TEST.
20055         (fma_towardzero_test_data): Remove.
20056         (fma_test_towardzero): Likewise.
20057         (fma_downward_test_data): Likewise.
20058         (fma_test_downward): Likewise.
20059         (fma_upward_test_data): Likewise.
20060         (fma_test_upward): Likewise.
20061         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20062         (j0_test_data): Update call to AUTO_TESTS_f_f.
20063         (j1_test_data): Likewise.
20064         (jn_test_data): Update call to AUTO_TESTS_if_f.
20065         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20066         (log_test_data): Update call to AUTO_TESTS_f_f.
20067         (log10_test_data): Likewise.
20068         (log1p_test_data): Likewise.
20069         (log2_test_data): Likewise.
20070         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20071         (pow_tonearest_test_data): Likewise.
20072         (sin_test_data): Update call to AUTO_TESTS_f_f.
20073         (sin_test): Use ALL_RM_TEST.
20074         (sin_tonearest_test_data): Remove.
20075         (sin_test_tonearest): Likewise.
20076         (sin_towardzero_test_data): Likewise.
20077         (sin_test_towardzero): Likewise.
20078         (sin_downward_test_data): Likewise.
20079         (sin_test_downward): Likewise.
20080         (sin_upward_test_data): Likewise.
20081         (sin_test_upward): Likewise.
20082         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20083         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20084         (sinh_test): Use ALL_RM_TEST.
20085         (sinh_tonearest_test_data): Remove.
20086         (sinh_test_tonearest): Likewise.
20087         (sinh_towardzero_test_data): Likewise.
20088         (sinh_test_towardzero): Likewise.
20089         (sinh_downward_test_data): Likewise.
20090         (sinh_test_downward): Likewise.
20091         (sinh_upward_test_data): Likewise.
20092         (sinh_test_upward): Likewise.
20093         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20094         (sqrt_test): Use ALL_RM_TEST.
20095         (sqrt_tonearest_test_data): Remove.
20096         (sqrt_test_tonearest): Likewise.
20097         (sqrt_towardzero_test_data): Likewise.
20098         (sqrt_test_towardzero): Likewise.
20099         (sqrt_downward_test_data): Likewise.
20100         (sqrt_test_downward): Likewise.
20101         (sqrt_upward_test_data): Likewise.
20102         (sqrt_test_upward): Likewise.
20103         (tan_test_data): Update call to AUTO_TESTS_f_f.
20104         (tan_test): Use ALL_RM_TEST.
20105         (tan_tonearest_test_data): Remove.
20106         (tan_test_tonearest): Likewise.
20107         (tan_towardzero_test_data): Likewise.
20108         (tan_test_towardzero): Likewise.
20109         (tan_downward_test_data): Likewise.
20110         (tan_test_downward): Likewise.
20111         (tan_upward_test_data): Likewise.
20112         (tan_test_upward): Likewise.
20113         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20114         (tgamma_test_data): Likewise.
20115         (y0_test_data): Likewise.
20116         (y1_test_data): Likewise.
20117         (yn_test_data): Update call to AUTO_TESTS_if_f.
20118         (main): Do not call removed functions.
20120 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20122         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20123         (ldexp_test_data): Remove.
20124         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20125         scalbn_test_data.
20126         (scalb_test): Use ALL_RM_TEST.
20128 2014-03-19  Andreas Schwab  <schwab@suse.de>
20130         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20132 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20134         [BZ #16649]
20135         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20139         (__ASSUME_PREADV): Undefine.
20140         (__ASSUME_PWRITEV): Likewise.
20142 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20144         * bits/mman-linux.h: Add comment about non-Linux use.
20145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20146         bits/mman-linux.h resting place.
20148         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20149         * bits/mman-linux.h: ... here.
20151 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20153         * conform/conformtest.pl: Add standard definition when calling C
20154         preprocessor on data files.
20155         (checknamespace): Remove unused variable.
20157 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20159         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20160         minus_oflow, plus_uflow and minus_uflow in expected results.
20161         * math/libm-test.inc (scalbn_test_data): Add more tests of
20162         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20163         minus_uflow.
20164         (scalbn_test): Use ALL_RM_TEST.
20165         (scalbln_test_data): Add more tests of negative arguments.  Use
20166         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20167         (scalbln_test): Use ALL_RM_TEST.
20169 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20171         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20173 2014-03-18  Will Newton  <will.newton@linaro.org>
20175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20176         inaccurate comment.
20178 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20180         * Makerules [!subdir] (check-abi): Exit with error status if a
20181         test failed.
20183 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20185         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20186         for rint.  Include results for all rounding modes.
20187         (nearbyint_test): Use ALL_RM_TEST.
20188         (rint_test_data): Include all tests used for nearbyint.
20190 2014-03-17  Will Newton  <will.newton@linaro.org>
20192         * nptl/sysdeps/pthread/pthread.h: Revert previous
20193         change.
20195         * sysdeps/generic/ldsodefs.h: Revert previous
20196         change.
20198         * libio/genops.c: Revert previous change.
20199         * libio/libioP.h: Likewise.
20200         * stdio-common/vfprintf.c: Likewise.
20202         * sysdeps/generic/math_private.h: Revert previous
20203         change.
20205         * sysdeps/generic/math_private.h: Check whether
20206         HAVE_RM_CTX is defined with #ifdef rather
20207         than #if.
20209         * argp/argp-fmtstream.h: Check whether
20210         __STRICT_ANSI__ is defined with #ifdef rather
20211         than #if.
20212         * argp/argp.h: Likewise.
20214         * libio/genops.c: Check whether
20215         _IO_JUMPS_OFFSET is defined with #ifdef rather
20216         than #if.
20217         * libio/libioP.h: Likewise.
20218         * stdio-common/vfprintf.c: Likewise.
20220         * sysdeps/generic/ldsodefs.h: Check whether
20221         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20222         than #if.
20224         * nptl/sysdeps/pthread/pthread.h: Check
20225         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20226         its value.
20228 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20230         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20231         setting O_APPEND.
20232         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20233         test case.
20235         [BZ #16680]
20236         * libio/fileops.c (_IO_file_open): Seek to end of file but
20237         don't cache the offset.
20238         (get_file_offset): Remove function.
20239         (do_ftell): Use cached offset when available.
20240         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20241         don't cache the offset.
20242         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20243         case.
20244         (do_one_test): Call it.
20245         (do_ftell_test): Fix up expected old offset for a+ mode.
20246         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20247         available.
20249         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20250         up test status with function return status.
20251         (do_write_test): Likewise.
20252         (do_append_test): Likewise.
20254         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20255         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20256         Remove.
20258 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20260         * math/gen-libm-test.pl (parse_args): Handle results specified for
20261         each rounding mode separately.
20262         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20263         tests and results from lrint_tonearest_test_data,
20264         lrint_towardzero_test_data, lrint_downward_test_data and
20265         lrint_upward_test_data.
20266         (lrint_test): Use ALL_RM_TEST.
20267         (lrint_tonearest_test_data): Remove.
20268         (lrint_test_tonearest): Likewise.
20269         (lrint_towardzero_test_data): Likewise.
20270         (lrint_test_towardzero): Likewise.
20271         (lrint_downward_test_data): Likewise.
20272         (lrint_test_downward): Likewise.
20273         (lrint_upward_test_data): Likewise.
20274         (lrint_test_upward): Likewise.
20275         (llrint_test_data): Merge in per-rounding-mode tests and results
20276         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20277         llrint_downward_test_data and llrint_upward_test_data.
20278         (llrint_test): Use ALL_RM_TEST.
20279         (llrint_tonearest_test_data): Remove.
20280         (llrint_test_tonearest): Likewise.
20281         (llrint_towardzero_test_data): Likewise.
20282         (llrint_test_towardzero): Likewise.
20283         (llrint_downward_test_data): Likewise.
20284         (llrint_test_downward): Likewise.
20285         (llrint_upward_test_data): Likewise.
20286         (llrint_test_upward): Likewise.
20287         (rint_test_data): Merge in per-rounding-mode tests and results
20288         from rint_tonearest_test_data, rint_towardzero_test_data,
20289         rint_downward_test_data and rint_upward_test_data.  Add
20290         per-rounding-mode results for tests not in those arrays.
20291         (rint_test): Use ALL_RM_TEST.
20292         (rint_tonearest_test_data): Remove.
20293         (rint_test_tonearest): Likewise.
20294         (rint_towardzero_test_data): Likewise.
20295         (rint_test_towardzero): Likewise.
20296         (rint_downward_test_data): Likewise.
20297         (rint_test_downward): Likewise.
20298         (rint_upward_test_data): Likewise.
20299         (rint_test_upward): Likewise.
20300         (main): Don't call removed functions.
20302 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20304         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20305         "Compiled on ..." crapola.  It is anti-useful.
20307 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20309         * scripts/evaluate-test.sh: Handle fourth argument to determine
20310         whether test run should stop on failure.
20311         * Makeconfig (stop-on-test-failure): New variable.
20312         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20313         $(stop-on-test-failure).
20314         * Makefile (tests): Give a summary of results from testing and
20315         exit with failure status if they include an ERROR or FAIL.
20316         (xtests): Likewise.
20317         * manual/install.texi (Configuring and compiling): Mention
20318         stop-on-test-failure=y.
20319         * INSTALL: Regenerated.
20321 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20323         * scripts/versionlist.awk: New file.
20324         * Makerules [$(build-shared) = yes]
20325         (postclean-generated): Add Versions.def, not Versions.def.v and
20326         Versions.def.v.i.
20327         ($(common-objpfx)Versions.def.v.i): Target removed.
20328         ($(common-objpfx)Versions.def): New target.
20329         ($(common-objpfx)Versions.all): Depend on that rather that
20330         $(common-objpfx)Versions.def.v.
20331         * Versions.def: File removed.
20333         * Makeconfig (+gccwarn): Add -Wundef.
20334         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20335         a dl-sysdep.h breaking its contract.
20336         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20337         * include/stackinfo.h: New file.
20338         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20339         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20340         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20341         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20342         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20343         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20344         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20345         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20346         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20347         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20348         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20349         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20350         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20351         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20352         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20354 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20356         [BZ #16707]
20357         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20358         implementation.
20359         * math/libm-test.inc (round_test_data): Add more tests.
20361         [BZ #16706]
20362         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20363         implementation.
20364         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20366         [BZ #16701]
20367         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20368         implementation.
20369         * math/libm-test.inc (ceil_test_data): Add more tests.
20371         * math/libm-test.inc (trunc_test_data): Add more tests related to
20372         BZ#16414.
20374 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20376         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20377         with #if rather than #ifdef.
20378         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20380 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20382         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20383         first.  Disable AVX-512 GCC support if assembler doesn't support
20384         it.
20385         * sysdeps/x86_64/configure: Regenerated.
20387 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20389         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20390         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20391         (__old_pthread_attr_setstack): Likewise.
20392         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20393         [!_STACK_GROWS_DOWN]: Likewise.
20395 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20397         * config.make.in (have-bash2): Delete.
20398         * configure.ac (libc_cv_have_bash2): Delete.
20399         * configure: Regenerate.
20400         * elf/Makefile (common-ldd-rewrite): Rename to ...
20401         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20402         (sh-ldd-rewrite): Delete.
20403         (bash-ldd-rewrite): Delete.
20404         (have-bash2): Delete checks.
20405         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20406         ldd-rewrite.
20408         * config.make.in (have-ksh): Delete.
20409         (KSH): Delete.
20410         * configure.ac (libc_cv_have_ksh): Delete.
20411         * configure: Regenerate.
20413         * elf/Makefile: Delete $(have-ksh) check.
20414         ($(objpfx)sotruss): Change KSH to BASH.
20415         * elf/sotruss.ksh: Rename to ...
20416         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20417         function style to match POSIX.  Drop ksh vim mode setting.
20419         * manual/time.texi (Specifying the Time Zone with TZ): Change
20420         Tuesday to Thursday.
20422         * debug/tst-longjmp_chk2.c: Update header comment.
20423         (stackoverflow_handler): Add comment.  Call assert on pass value.
20425 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20427         [BZ #16194]
20428         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20429         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20430         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20431         (La_x86_64_vector): Add zmm.
20432         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20433         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20434         ($(objpfx)tst-audit10): New target.
20435         ($(objpfx)tst-audit10.out): Likewise.
20436         (tst-audit10-ENV): New.
20437         (AVX512-CFLAGS): Likewise.
20438         (CFLAGS-tst-audit10.c): Likewise.
20439         (CFLAGS-tst-auditmod10a.c): Likewise.
20440         (CFLAGS-tst-auditmod10b.c): Likewise.
20441         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20442         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20443         * sysdeps/x86_64/configure: Regenerated.
20444         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20445         AVX-512 zmm register support.
20446         (_dl_x86_64_save_sse): Likewise.
20447         (_dl_x86_64_restore_sse): Likewise.
20448         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20449         size vector registers.
20450         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20451         (ZMM_SIZE): Likewise.
20452         * sysdeps/x86_64/tst-audit10.c: New file.
20453         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20454         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20456 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20458         * configure.ac (HAVE_EHDR_START): New check.
20459         * configure: Regenerated.
20460         * config.h.in (HAVE_EHDR_START): New #undef.
20461         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20462         assuming the lowest-addressed segment maps the start of the file.
20464 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20466         * INSTALL: Regenerated.
20468 2014-03-13  Will Newton  <will.newton@linaro.org>
20470         * manual/setjmp.texi (System V contexts): Improve
20471         clarity and grammar of documentation.
20473 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20475         [BZ #16381]
20476         * elf/Makefile (tests): Add tst-pie2.
20477         (tests-pie): Add tst-pie2.
20478         * elf/tst-pie2.c: New file.
20479         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20480         for ET_EXEC.
20481         * elf/rtld.c (map_doit): Load executable as lt_executable.
20482         (dl_main): Likewise.
20484 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20486         [BZ #16642]
20487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20488         (__ASSUME_PSELECT): Undefine.
20490 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20492         [BZ #16689]
20493         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20494         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20495         static build.
20496         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20497         selector for static builds.
20499 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20501         [BZ #16695]
20502         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20503         key in the buffer.
20505 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20507         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20508         IFUNC selector for static builds.
20510 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20512         * sysdeps/mips/math_private.h [__mips_hard_float]
20513         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20514         libc_feresetround_mips_ctx.
20515         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20516         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20517         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20519         [BZ #16677]
20520         * math/s_nextafter.c (__nextafter): Do not return value from
20521         overflowing computation.
20522         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20523         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20524         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20525         Likewise.
20526         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20527         Likewise.
20528         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20529         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20531 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20533         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20534         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20535         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20536         the new mov targetting sp.
20538 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20540         [BZ #16683]
20541         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20542         Define it for static builds as well.
20543         (NO_BZERO_IMPL): Likewise.
20545 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20547         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20548         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20549         multiarch strspn for PPC64.
20550         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20551         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20553         (__libc_ifunc_impl_list): Likewise.
20554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20555         multiarch optimizations
20556         * string/strspn.c (strspn): Using macro to redefine symbol name.
20558 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20559             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20562         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20563         multiarch strncat for PPC64.
20564         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20565         * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
20569         multiarch optimizations
20571 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20573         [BZ #16639]
20574         * nscd/nscd.service: Make service type forking.
20576 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20578         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20579         sign in non default rounding modes.
20580         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20582 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20584         * math/libm-test.inc (ALL_RM_TEST): New macro.
20585         (ceil_test): Use ALL_RM_TEST.
20586         (cimag_test): Likewise.
20587         (conj_test): Likewise.
20588         (copysign_test): Likewise.
20589         (cproj_test): Likewise.
20590         (creal_test): Likewise.
20591         (fabs_test): Likewise.
20592         (floor_test): Likewise.
20593         (fmax_test): Likewise.
20594         (fmin_test): Likewise.
20595         (fmod_test): Likewise.
20596         (fpclassify_test): Likewise.
20597         (frexp_test): Likewise.
20598         (ilogb_test): Likewise.
20599         (isfinite_test): Likewise.
20600         (finite_test): Likewise.
20601         (isgreater_test): Likewise.
20602         (isgreaterequal_test): Likewise.
20603         (isinf_test): Likewise.
20604         (isless_test): Likewise.
20605         (islessequal_test): Likewise.
20606         (islessgreater_test): Likewise.
20607         (isnan_test): Likewise.
20608         (isnormal_test): Likewise.
20609         (issignaling_test): Likewise.
20610         (isunordered_test): Likewise.
20611         (logb_test): Likewise.
20612         (logb_downward_test_data): Remove.
20613         (logb_test_downward): Likewise.
20614         (lround_test): Use ALL_RM_TEST.
20615         (llround_test): Likewise.
20616         (modf_test): Likewise.
20617         (nexttoward_test): Likewise.
20618         (remainder_test): Likewise.
20619         (drem_test): Likewise.
20620         (remainder_tonearest_test_data): Likewise.
20621         (remainder_test_tonearest): Likewise.
20622         (drem_test_tonearest): Likewise.
20623         (remainder_towardzero_test_data): Likewise.
20624         (remainder_test_towardzero): Likewise.
20625         (drem_test_towardzero): Likewise.
20626         (remainder_downward_test_data): Likewise.
20627         (remainder_test_downward): Likewise.
20628         (drem_test_downward): Likewise.
20629         (remainder_upward_test_data): Likewise.
20630         (remainder_test_upward): Likewise.
20631         (drem_test_upward): Likewise.
20632         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20633         (round_test): Use ALL_RM_TEST.
20634         (signbit_test): Likewise.
20635         (trunc_test): Likewise.
20636         (significand_test): Likewise.
20637         (main): Don't call removed functions.
20639 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20641         [BZ #16674]
20642         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20643         || __USE_XOPEN2K8].
20644         (ILL_ILLOPN): Likewise.
20645         (ILL_ILLADR): Likewise.
20646         (ILL_ILLTRP): Likewise.
20647         (ILL_PRVOPC): Likewise.
20648         (ILL_PRVREG): Likewise.
20649         (ILL_COPROC): Likewise.
20650         (ILL_BADSTK): Likewise.
20651         (FPE_INTDIV): Likewise.
20652         (FPE_INTOVF): Likewise.
20653         (FPE_FLTDIV): Likewise.
20654         (FPE_FLTOVF): Likewise.
20655         (FPE_FLTUND): Likewise.
20656         (FPE_FLTRES): Likewise.
20657         (FPE_FLTINV): Likewise.
20658         (FPE_FLTSUB): Likewise.
20659         (SEGV_MAPERR): Likewise.
20660         (SEGV_ACCERR): Likewise.
20661         (BUS_ADRALN): Likewise.
20662         (BUS_ADRERR): Likewise.
20663         (BUS_OBJERR): Likewise.
20664         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20665         (TRAP_TRACE): Likewise.
20666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20667         __USE_XOPEN2K8].
20668         (CLD_KILLED): Likewise.
20669         (CLD_DUMPED): Likewise.
20670         (CLD_TRAPPED): Likewise.
20671         (CLD_STOPPED): Likewise.
20672         (CLD_CONTINUED): Likewise.
20673         (POLL_IN): Likewise.
20674         (POLL_OUT): Likewise.
20675         (POLL_MSG): Likewise.
20676         (POLL_ERR): Likewise.
20677         (POLL_PRI): Likewise.
20678         (POLL_HUP): Likewise.
20679         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20680         Likewise.
20681         (ILL_ILLOPN): Likewise.
20682         (ILL_ILLADR): Likewise.
20683         (ILL_ILLTRP): Likewise.
20684         (ILL_PRVOPC): Likewise.
20685         (ILL_PRVREG): Likewise.
20686         (ILL_COPROC): Likewise.
20687         (ILL_BADSTK): Likewise.
20688         (FPE_INTDIV): Likewise.
20689         (FPE_INTOVF): Likewise.
20690         (FPE_FLTDIV): Likewise.
20691         (FPE_FLTOVF): Likewise.
20692         (FPE_FLTUND): Likewise.
20693         (FPE_FLTRES): Likewise.
20694         (FPE_FLTINV): Likewise.
20695         (FPE_FLTSUB): Likewise.
20696         (SEGV_MAPERR): Likewise.
20697         (SEGV_ACCERR): Likewise.
20698         (BUS_ADRALN): Likewise.
20699         (BUS_ADRERR): Likewise.
20700         (BUS_OBJERR): Likewise.
20701         (BUS_MCEERR_AR): Likewise.
20702         (BUS_MCEERR_AO): Likewise.
20703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20704         (TRAP_TRACE): Likewise.
20705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20706         __USE_XOPEN2K8].
20707         (CLD_KILLED): Likewise.
20708         (CLD_DUMPED): Likewise.
20709         (CLD_TRAPPED): Likewise.
20710         (CLD_STOPPED): Likewise.
20711         (CLD_CONTINUED): Likewise.
20712         (POLL_IN): Likewise.
20713         (POLL_OUT): Likewise.
20714         (POLL_MSG): Likewise.
20715         (POLL_ERR): Likewise.
20716         (POLL_PRI): Likewise.
20717         (POLL_HUP): Likewise.
20718         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20719         (ILL_ILLOPN): Likewise.
20720         (ILL_ILLADR): Likewise.
20721         (ILL_ILLTRP): Likewise.
20722         (ILL_PRVOPC): Likewise.
20723         (ILL_PRVREG): Likewise.
20724         (ILL_COPROC): Likewise.
20725         (ILL_BADSTK): Likewise.
20726         (FPE_INTDIV): Likewise.
20727         (FPE_INTOVF): Likewise.
20728         (FPE_FLTDIV): Likewise.
20729         (FPE_FLTOVF): Likewise.
20730         (FPE_FLTUND): Likewise.
20731         (FPE_FLTRES): Likewise.
20732         (FPE_FLTINV): Likewise.
20733         (FPE_FLTSUB): Likewise.
20734         (SEGV_MAPERR): Likewise.
20735         (SEGV_ACCERR): Likewise.
20736         (BUS_ADRALN): Likewise.
20737         (BUS_ADRERR): Likewise.
20738         (BUS_OBJERR): Likewise.
20739         (BUS_MCEERR_AR): Likewise.
20740         (BUS_MCEERR_AO): Likewise.
20741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20742         (TRAP_TRACE): Likewise.
20743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20744         __USE_XOPEN2K8].
20745         (CLD_KILLED): Likewise.
20746         (CLD_DUMPED): Likewise.
20747         (CLD_TRAPPED): Likewise.
20748         (CLD_STOPPED): Likewise.
20749         (CLD_CONTINUED): Likewise.
20750         (POLL_IN): Likewise.
20751         (POLL_OUT): Likewise.
20752         (POLL_MSG): Likewise.
20753         (POLL_ERR): Likewise.
20754         (POLL_PRI): Likewise.
20755         (POLL_HUP): Likewise.
20756         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20757         Likewise.
20758         (ILL_ILLOPN): Likewise.
20759         (ILL_ILLADR): Likewise.
20760         (ILL_ILLTRP): Likewise.
20761         (ILL_PRVOPC): Likewise.
20762         (ILL_PRVREG): Likewise.
20763         (ILL_COPROC): Likewise.
20764         (ILL_BADSTK): Likewise.
20765         (ILL_BADIADDR): Likewise.
20766         (ILL_BREAK): Likewise.
20767         (FPE_INTDIV): Likewise.
20768         (FPE_INTOVF): Likewise.
20769         (FPE_FLTDIV): Likewise.
20770         (FPE_FLTOVF): Likewise.
20771         (FPE_FLTUND): Likewise.
20772         (FPE_FLTRES): Likewise.
20773         (FPE_FLTINV): Likewise.
20774         (FPE_FLTSUB): Likewise.
20775         (FPE_DECOVF): Likewise.
20776         (FPE_DECDIV): Likewise.
20777         (FPE_DECERR): Likewise.
20778         (FPE_INVASC): Likewise.
20779         (FPE_INVDEC): Likewise.
20780         (SEGV_MAPERR): Likewise.
20781         (SEGV_ACCERR): Likewise.
20782         (SEGV_PSTKOVF): Likewise.
20783         (BUS_ADRALN): Likewise.
20784         (BUS_ADRERR): Likewise.
20785         (BUS_OBJERR): Likewise.
20786         (BUS_MCEERR_AR): Likewise.
20787         (BUS_MCEERR_AO): Likewise.
20788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20789         (TRAP_TRACE): Likewise.
20790         (TRAP_BRANCH): Likewise.
20791         (TRAP_HWBKPT): Likewise.
20792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20793         __USE_XOPEN2K8].
20794         (CLD_KILLED): Likewise.
20795         (CLD_DUMPED): Likewise.
20796         (CLD_TRAPPED): Likewise.
20797         (CLD_STOPPED): Likewise.
20798         (CLD_CONTINUED): Likewise.
20799         (POLL_IN): Likewise.
20800         (POLL_OUT): Likewise.
20801         (POLL_MSG): Likewise.
20802         (POLL_ERR): Likewise.
20803         (POLL_PRI): Likewise.
20804         (POLL_HUP): Likewise.
20805         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20806         (ILL_ILLOPN): Likewise.
20807         (ILL_ILLADR): Likewise.
20808         (ILL_ILLTRP): Likewise.
20809         (ILL_PRVOPC): Likewise.
20810         (ILL_PRVREG): Likewise.
20811         (ILL_COPROC): Likewise.
20812         (ILL_BADSTK): Likewise.
20813         (FPE_INTDIV): Likewise.
20814         (FPE_INTOVF): Likewise.
20815         (FPE_FLTDIV): Likewise.
20816         (FPE_FLTOVF): Likewise.
20817         (FPE_FLTUND): Likewise.
20818         (FPE_FLTRES): Likewise.
20819         (FPE_FLTINV): Likewise.
20820         (FPE_FLTSUB): Likewise.
20821         (SEGV_MAPERR): Likewise.
20822         (SEGV_ACCERR): Likewise.
20823         (BUS_ADRALN): Likewise.
20824         (BUS_ADRERR): Likewise.
20825         (BUS_OBJERR): Likewise.
20826         (BUS_MCEERR_AR): Likewise.
20827         (BUS_MCEERR_AO): Likewise.
20828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20829         (TRAP_TRACE): Likewise.
20830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20831         __USE_XOPEN2K8].
20832         (CLD_KILLED): Likewise.
20833         (CLD_DUMPED): Likewise.
20834         (CLD_TRAPPED): Likewise.
20835         (CLD_STOPPED): Likewise.
20836         (CLD_CONTINUED): Likewise.
20837         (POLL_IN): Likewise.
20838         (POLL_OUT): Likewise.
20839         (POLL_MSG): Likewise.
20840         (POLL_ERR): Likewise.
20841         (POLL_PRI): Likewise.
20842         (POLL_HUP): Likewise.
20843         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20844         (ILL_ILLOPN): Likewise.
20845         (ILL_ILLADR): Likewise.
20846         (ILL_ILLTRP): Likewise.
20847         (ILL_PRVOPC): Likewise.
20848         (ILL_PRVREG): Likewise.
20849         (ILL_COPROC): Likewise.
20850         (ILL_BADSTK): Likewise.
20851         (FPE_INTDIV): Likewise.
20852         (FPE_INTOVF): Likewise.
20853         (FPE_FLTDIV): Likewise.
20854         (FPE_FLTOVF): Likewise.
20855         (FPE_FLTUND): Likewise.
20856         (FPE_FLTRES): Likewise.
20857         (FPE_FLTINV): Likewise.
20858         (FPE_FLTSUB): Likewise.
20859         (SEGV_MAPERR): Likewise.
20860         (SEGV_ACCERR): Likewise.
20861         (BUS_ADRALN): Likewise.
20862         (BUS_ADRERR): Likewise.
20863         (BUS_OBJERR): Likewise.
20864         (BUS_MCEERR_AR): Likewise.
20865         (BUS_MCEERR_AO): Likewise.
20866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20867         (TRAP_TRACE): Likewise.
20868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20869         __USE_XOPEN2K8].
20870         (CLD_KILLED): Likewise.
20871         (CLD_DUMPED): Likewise.
20872         (CLD_TRAPPED): Likewise.
20873         (CLD_STOPPED): Likewise.
20874         (CLD_CONTINUED): Likewise.
20875         (POLL_IN): Likewise.
20876         (POLL_OUT): Likewise.
20877         (POLL_MSG): Likewise.
20878         (POLL_ERR): Likewise.
20879         (POLL_PRI): Likewise.
20880         (POLL_HUP): Likewise.
20881         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20882         (ILL_ILLOPN): Likewise.
20883         (ILL_ILLADR): Likewise.
20884         (ILL_ILLTRP): Likewise.
20885         (ILL_PRVOPC): Likewise.
20886         (ILL_PRVREG): Likewise.
20887         (ILL_COPROC): Likewise.
20888         (ILL_BADSTK): Likewise.
20889         (FPE_INTDIV): Likewise.
20890         (FPE_INTOVF): Likewise.
20891         (FPE_FLTDIV): Likewise.
20892         (FPE_FLTOVF): Likewise.
20893         (FPE_FLTUND): Likewise.
20894         (FPE_FLTRES): Likewise.
20895         (FPE_FLTINV): Likewise.
20896         (FPE_FLTSUB): Likewise.
20897         (SEGV_MAPERR): Likewise.
20898         (SEGV_ACCERR): Likewise.
20899         (BUS_ADRALN): Likewise.
20900         (BUS_ADRERR): Likewise.
20901         (BUS_OBJERR): Likewise.
20902         (BUS_MCEERR_AR): Likewise.
20903         (BUS_MCEERR_AO): Likewise.
20904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20905         (TRAP_TRACE): Likewise.
20906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20907         __USE_XOPEN2K8].
20908         (CLD_KILLED): Likewise.
20909         (CLD_DUMPED): Likewise.
20910         (CLD_TRAPPED): Likewise.
20911         (CLD_STOPPED): Likewise.
20912         (CLD_CONTINUED): Likewise.
20913         (POLL_IN): Likewise.
20914         (POLL_OUT): Likewise.
20915         (POLL_MSG): Likewise.
20916         (POLL_ERR): Likewise.
20917         (POLL_PRI): Likewise.
20918         (POLL_HUP): Likewise.
20919         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20920         (ILL_ILLOPN): Likewise.
20921         (ILL_ILLADR): Likewise.
20922         (ILL_ILLTRP): Likewise.
20923         (ILL_PRVOPC): Likewise.
20924         (ILL_PRVREG): Likewise.
20925         (ILL_COPROC): Likewise.
20926         (ILL_BADSTK): Likewise.
20927         (ILL_DBLFLT): Likewise.
20928         (ILL_HARDWALL): Likewise.
20929         (FPE_INTDIV): Likewise.
20930         (FPE_INTOVF): Likewise.
20931         (FPE_FLTDIV): Likewise.
20932         (FPE_FLTOVF): Likewise.
20933         (FPE_FLTUND): Likewise.
20934         (FPE_FLTRES): Likewise.
20935         (FPE_FLTINV): Likewise.
20936         (FPE_FLTSUB): Likewise.
20937         (SEGV_MAPERR): Likewise.
20938         (SEGV_ACCERR): Likewise.
20939         (BUS_ADRALN): Likewise.
20940         (BUS_ADRERR): Likewise.
20941         (BUS_OBJERR): Likewise.
20942         (BUS_MCEERR_AR): Likewise.
20943         (BUS_MCEERR_AO): Likewise.
20944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20945         (TRAP_TRACE): Likewise.
20946         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20947         __USE_XOPEN2K8].
20948         (CLD_KILLED): Likewise.
20949         (CLD_DUMPED): Likewise.
20950         (CLD_TRAPPED): Likewise.
20951         (CLD_STOPPED): Likewise.
20952         (CLD_CONTINUED): Likewise.
20953         (POLL_IN): Likewise.
20954         (POLL_OUT): Likewise.
20955         (POLL_MSG): Likewise.
20956         (POLL_ERR): Likewise.
20957         (POLL_PRI): Likewise.
20958         (POLL_HUP): Likewise.
20959         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20960         (ILL_ILLOPN): Likewise.
20961         (ILL_ILLADR): Likewise.
20962         (ILL_ILLTRP): Likewise.
20963         (ILL_PRVOPC): Likewise.
20964         (ILL_PRVREG): Likewise.
20965         (ILL_COPROC): Likewise.
20966         (ILL_BADSTK): Likewise.
20967         (FPE_INTDIV): Likewise.
20968         (FPE_INTOVF): Likewise.
20969         (FPE_FLTDIV): Likewise.
20970         (FPE_FLTOVF): Likewise.
20971         (FPE_FLTUND): Likewise.
20972         (FPE_FLTRES): Likewise.
20973         (FPE_FLTINV): Likewise.
20974         (FPE_FLTSUB): Likewise.
20975         (SEGV_MAPERR): Likewise.
20976         (SEGV_ACCERR): Likewise.
20977         (BUS_ADRALN): Likewise.
20978         (BUS_ADRERR): Likewise.
20979         (BUS_OBJERR): Likewise.
20980         (BUS_MCEERR_AR): Likewise.
20981         (BUS_MCEERR_AO): Likewise.
20982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20983         (TRAP_TRACE): Likewise.
20984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20985         __USE_XOPEN2K8].
20986         (CLD_KILLED): Likewise.
20987         (CLD_DUMPED): Likewise.
20988         (CLD_TRAPPED): Likewise.
20989         (CLD_STOPPED): Likewise.
20990         (CLD_CONTINUED): Likewise.
20991         (POLL_IN): Likewise.
20992         (POLL_OUT): Likewise.
20993         (POLL_MSG): Likewise.
20994         (POLL_ERR): Likewise.
20995         (POLL_PRI): Likewise.
20996         (POLL_HUP): Likewise.
20997         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20998         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21000         [BZ #16670]
21001         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21002         before #include of <time.h>.
21003         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21004         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21005         (test-xfail-UNIX98/sched.h/conform): Likewise.
21007 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21009         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21010         error absence of trapping exception support.
21011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21013 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21015         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21016         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21017         * timezone/Makefile (testdata): Move definition above include of
21018         Rules.
21019         (test-zones): New variable.
21020         (tests-special): Add zone files.
21021         (build-testdata): Use $(evaluate-test).
21023         * elf/Makefile (tests-special): Rename tests to end with .out.
21024         ($(objpfx)noload-mem): Likewise.
21025         ($(objpfx)tst-leaks1-mem): Likewise.
21026         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21027         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21028         $(objpfx)test-iconvconfig.out.
21029         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21030         set -e inside subshell and redirect output to file.
21031         * iconvdata/Makefile (generated): Rename tests to end with .out.
21032         Correct type.
21033         (tests-special): Rename tests to end with .out.
21034         ($(objpfx)mtrace-tst-loading): Likewise.
21035         * intl/Makefile (generated): Likewise.
21036         (tests-special): Likewise.
21037         ($(objpfx)mtrace-tst-gettext): Likewise.
21038         * misc/Makefile (generated): Likewise.
21039         (tests-special): Likewise.
21040         ($(objpfx)tst-error1-mem): Likewise.
21041         * nptl/Makefile (tests-special): Likewise.
21042         ($(objpfx)tst-stack3-mem): Likewise.
21043         (generated): Likewise.
21044         * posix/Makefile (generated): Likewise.
21045         (tests-special): Likewise.
21046         (xtests-special): Likewise.
21047         ($(objpfx)tst-fnmatch-mem): Likewise.
21048         ($(objpfx)bug-regex2-mem): Likewise.
21049         ($(objpfx)bug-regex14-mem): Likewise.
21050         ($(objpfx)bug-regex21-mem): Likewise.
21051         ($(objpfx)bug-regex31-mem): Likewise.
21052         ($(objpfx)tst-vfork3-mem): Likewise.
21053         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21054         ($(objpfx)tst-pcre-mem): Likewise.
21055         ($(objpfx)tst-boost-mem): Likewise.
21056         ($(objpfx)bug-ga2-mem): Likewise.
21057         ($(objpfx)bug-glob2-mem): Likewise.
21058         * resolv/Makefile (generate): Likewise.
21059         (tests-special): Likewise.
21060         (xtests-special): Likewise.
21061         (generated): Likewise.
21062         ($(objpfx)mtrace-tst-leaks): Likewise.
21063         ($(objpfx)mtrace-tst-leaks2): Likewise.
21065         * scripts/merge-test-results.sh: New file.
21066         * Makefile (tests-special-notdir): New variable.
21067         (tests): Run merge-test-results.sh.
21068         (xtests): Likewise.
21069         * Rules (tests-special-notdir): New variable.
21070         (xtests-special-notdir): Likewise.
21071         (tests): Run merge-test-results.sh
21072         (xtests): Likewise.
21074         * Makeconfig (test-xfail-name): New variable.
21075         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21076         compute variable name for expected failures.
21077         * conform/Makefile (conformtest-headers-data): New variable.
21078         (conformtest-standards): Likewise.
21079         (conformtest-headers-ISO): Likewise.
21080         (conformtest-headers-ISO99): Likewise.
21081         (conformtest-headers-ISO11): Likewise.
21082         (conformtest-headers-POSIX): Likewise.
21083         (conformtest-headers-XPG3): Likewise.
21084         (conformtest-headers-XPG4): Likewise.
21085         (conformtest-headers-UNIX98): Likewise.
21086         (conformtest-headers-XOPEN2K): Likewise.
21087         (conformtest-headers-POSIX2008): Likewise.
21088         (conformtest-headers-XOPEN2K8): Likewise.
21089         (conformtest-header-list-base): Likewise.
21090         (conformtest-header-list-tests): Likewise.
21091         (conformtest-header-base): Likewise.
21092         (conformtest-header-tests): Likewise.
21093         (tests-special): Add $(conformtest-header-list-tests).  If
21094         [$(fast-check) && !$(cross-compiling)], add
21095         $(conformtest-header-tests) instead of
21096         $(objpfx)run-conformtest.out.
21097         (generated): Add $(conformtest-header-list-base).  If
21098         [$(fast-check) && !$(cross-compiling)], add
21099         $(conformtest-header-base).  Remove previous setting.
21100         ($(conformtest-header-list-tests)): New target.
21101         (test-xfail-run-conformtest): Remove variable.
21102         ($(objpfx)run-conformtest.out): Remove target.
21103         (test-xfail-ISO11/complex.h/conform): New variable.
21104         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21105         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21106         (test-xfail-XPG3/varargs.h/conform): Likewise.
21107         (test-xfail-XPG4/varargs.h/conform): Likewise.
21108         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21109         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21110         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21111         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21112         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21113         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21114         (test-xfail-XPG3/ftw.h/conform): Likewise.
21115         (test-xfail-XPG3/grp.h/conform): Likewise.
21116         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21117         (test-xfail-XPG3/limits.h/conform): Likewise.
21118         (test-xfail-XPG3/pwd.h/conform): Likewise.
21119         (test-xfail-XPG3/search.h/conform): Likewise.
21120         (test-xfail-XPG3/signal.h/conform): Likewise.
21121         (test-xfail-XPG3/stdio.h/conform): Likewise.
21122         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21123         (test-xfail-XPG3/string.h/conform): Likewise.
21124         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21125         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21126         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21127         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21128         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21129         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21130         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21131         (test-xfail-XPG3/termios.h/conform): Likewise.
21132         (test-xfail-XPG3/time.h/conform): Likewise.
21133         (test-xfail-XPG3/unistd.h/conform): Likewise.
21134         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21135         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21136         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21137         (test-xfail-XPG4/netdb.h/conform): Likewise.
21138         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21139         (test-xfail-XPG4/signal.h/conform): Likewise.
21140         (test-xfail-XPG4/stdio.h/conform): Likewise.
21141         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21142         (test-xfail-XPG4/stropts.h/conform): Likewise.
21143         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21144         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21145         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21146         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21147         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21148         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21149         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21150         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21151         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21152         (test-xfail-XPG4/termios.h/conform): Likewise.
21153         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21154         (test-xfail-XPG4/unistd.h/conform): Likewise.
21155         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21156         (test-xfail-POSIX/sched.h/conform): Likewise.
21157         (test-xfail-POSIX/signal.h/conform): Likewise.
21158         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21159         (test-xfail-POSIX/tar.h/conform): Likewise.
21160         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21161         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21162         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21163         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21164         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21165         (test-xfail-UNIX98/sched.h/conform): Likewise.
21166         (test-xfail-UNIX98/signal.h/conform): Likewise.
21167         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21168         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21169         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21170         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21171         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21172         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21173         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21174         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21175         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21176         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21177         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21178         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21179         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21180         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21181         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21182         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21183         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21184         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21185         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21186         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21187         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21188         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21189         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21190         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21191         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21192         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21193         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21194         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21195         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21196         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21197         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21198         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21199         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21200         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21201         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21202         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21203         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21204         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21205         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21206         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21207         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21208         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21209         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21210         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21211         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21212         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21213         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21214         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21215         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21216         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21217         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21218         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21219         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21220         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21221         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21222         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21223         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21224         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21225         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21226         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21227         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21228         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21229         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21230         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21231         (conformtest-cc-flags): Likewise.
21232         ($(conformtest-header-tests): New target.
21233         * conform/check-header-lists.sh: New file.
21234         * conform/run-conformtest.sh: Remove.
21236         * conform/conformtest.pl: Allow ' and \ in values given for
21237         constants.
21238         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21239         inclusion.
21240         [POSIX] (sys/types.h): Likewise.
21241         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21242         inclusion.
21243         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21244         inclusion.
21245         * conform/data/signal.h-data (SIGIO): Remove expectation.
21246         [XPG3] (SIGBUS): Do not expect.
21247         [POSIX || XPG3] (SIGPOLL): Likewise.
21248         [POSIX || XPG3] (SIGPROF): Likewise.
21249         [POSIX || XPG3] (SIGSYS): Likewise.
21250         [XPG3] (SIGTRAP): Likewise.
21251         [POSIX || XPG3] (SIGURG): Likewise.
21252         [POSIX || XPG3] (SIGVTALRM): Likewise.
21253         [POSIX || XPG3] (SIGXCPU): Likewise.
21254         [POSIX || XPG3] (SIGXFSZ): Likewise.
21255         [POSIX] (SA_SIGINFO): Expect.
21256         [XPG3] (siginfo_t): Do not expect type or contents.
21257         [POSIX] (si_pid): Do not expect element.
21258         [POSIX] (si_uid): Likewise.
21259         [POSIX] (si_addr): Likewise.
21260         [POSIX] (si_status): Likewise.
21261         [POSIX] (si_band): Likewise.
21262         [XPG4] (si_value): Likewise.
21263         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21264         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21265         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21266         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21267         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21268         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21269         [POSIX || XPG3] (ILL_COPROC): Likewise.
21270         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21271         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21272         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21273         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21274         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21275         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21276         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21277         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21278         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21279         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21280         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21281         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21282         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21283         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21284         [POSIX || XPG3] (CLD_EXITED): Likewise.
21285         [POSIX || XPG3] (CLD_KILLED): Likewise.
21286         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21287         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21288         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21289         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21290         [POSIX || XPG3] (POLL_IN): Likewise.
21291         [POSIX || XPG3] (POLL_OUT): Likewise.
21292         [POSIX || XPG3] (POLL_MSG): Likewise.
21293         [POSIX || XPG3] (POLL_ERR): Likewise.
21294         [POSIX || XPG3] (POLL_PRI): Likewise.
21295         [POSIX || XPG3] (POLL_HUP): Likewise.
21296         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21297         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21298         (SIG*): Do not allow.
21299         [XPG3] (si_*): Likewise.
21300         [XPG3] (SI_*): Likewise.
21301         [XPG3 || XPG4] (sigev_*): Likewise.
21302         [XPG3 || XPG4] (SIGEV_*): Likewise.
21303         [XPG3 || XPG4] (sival_*): Likewise.
21304         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21305         [POSIX || XPG3] (BUS_*): Likewise.
21306         [POSIX || XPG3] (CLD_*): Likewise.
21307         [POSIX || XPG3] (FPE_*): Likewise.
21308         [POSIX || XPG3] (ILL_*): Likewise.
21309         [POSIX || XPG3] (POLL_*): Likewise.
21310         [POSIX || XPG3] (SEGV_*): Likewise.
21311         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21312         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21313         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21314         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21315         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21316         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21317         Specify type and value.
21318         (TVERSLEN): Likewise.
21319         (REGTYPE): Likewise.
21320         (AREGTYPE): Likewise.
21321         (LNKTYPE): Likewise.
21322         (SYMTYPE): Likewise.
21323         (CHRTYPE): Likewise.
21324         (BLKTYPE): Likewise.
21325         (DIRTYPE): Likewise.
21326         (FIFOTYPE): Likewise.
21327         (CONTTYPE): Likewise.
21328         (TSUID): Likewise.
21329         (TSGID): Likewise.
21330         (TSVTX): Likewise.
21331         (TUREAD): Likewise.
21332         (TUWRITE): Likewise.
21333         (TUEXEC): Likewise.
21334         (TGREAD): Likewise.
21335         (TGWRITE): Likewise.
21336         (TGEXEC): Likewise.
21337         (TOREAD): Likewise.
21338         (TOWRITE): Likewise.
21339         (TOEXEC): Likewise.
21340         [POSIX] (TSVTX): Expect constant.
21342 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21344         * Makefile (tests): Change dependencies to ....
21345         (tests-special): ... additions to this variable.
21346         (tests): Depend on $(tests-special).
21347         * Makerules (check-abi-list): New variable.
21348         (check-abi): Depend on $(check-abi-list).
21349         [$(subdir) = elf] (tests-special): Add
21350         $(objpfx)check-abi-libc.out.
21351         [$(build-shared) = yes && subdir] (tests-special): Add
21352         $(check-abi-list).
21353         [$(build-shared) = yes && subdir] (tests): Do not depend on
21354         check-abi.
21355         * Rules (tests): Depend on $(tests-special).
21356         (xtests): Depend on $(xtests-special).
21357         * catgets/Makefile (tests): Change dependencies to ....
21358         (tests-special): ... additions to this variable.
21359         * conform/Makefile (tests): Change dependencies to ....
21360         (tests-special): ... additions to this variable.
21361         * elf/Makefile (tests): Change dependencies to ....
21362         (tests-special): ... additions to this variable.
21363         * grp/Makefile (tests): Change dependencies to ....
21364         (tests-special): ... additions to this variable.
21365         * iconv/Makefile (xtests): Change dependencies to ....
21366         (xtests-special): ... additions to this variable.
21367         * iconvdata/Makefile (tests): Change dependencies to ....
21368         (tests-special): ... additions to this variable.
21369         * intl/Makefile (tests): Change dependencies to ....
21370         (tests-special): ... additions to this variable.  Also add
21371         $(objpfx)tst-gettext.out.
21372         * io/Makefile (tests): Change dependencies to ....
21373         (tests-special): ... additions to this variable.
21374         * libio/Makefile (tests): Change dependencies to ....
21375         (tests-special): ... additions to this variable.
21376         * malloc/Makefile (tests): Change dependencies to ....
21377         (tests-special): ... additions to this variable.
21378         * misc/Makefile (tests): Change dependencies to ....
21379         (tests-special): ... additions to this variable.
21380         * nptl/Makefile (tests): Change dependencies to ....
21381         (tests-special): ... additions to this variable.
21382         * nptl_db/Makefile (tests): Change dependencies to ....
21383         (tests-special): ... additions to this variable.
21384         * posix/Makefile (tests): Change dependencies to ....
21385         (tests-special): ... additions to this variable.
21386         (xtests): Change dependencies to ....
21387         (xtests-special): ... additions to this variable.
21388         * resolv/Makefile (tests): Change dependencies to ....
21389         (tests-special): ... additions to this variable.
21390         (xtests): Change dependencies to ....
21391         (xtests-special): ... additions to this variable.
21392         * stdio-common/Makefile (tests): Change dependencies to ....
21393         (tests-special): ... additions to this variable.
21394         (do-tst-unbputc): Remove target.
21395         (do-tst-printf): Likewise.
21396         * stdlib/Makefile (tests): Change dependencies to ....
21397         (tests-special): ... additions to this variable.
21398         * string/Makefile (tests): Change dependencies to ....
21399         (tests-special): ... additions to this variable.
21400         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21401         (tests-special): ... additions to this variable.
21403         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21404         whole file.
21405         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21406         whole file.
21407         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21408         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21410         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21411         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21412         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21413         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21414         * conform/data/libgen.h-data [XPG3]: Likewise.
21415         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21416         * conform/data/ndbm.h-data [XPG3]: Likewise.
21417         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21418         * conform/data/netdb.h-data [XPG3]: Likewise.
21419         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21420         * conform/data/poll.h-data [XPG3]: Likewise.
21421         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21422         * conform/data/strings.h-data [XPG3]: Likewise.
21423         * conform/data/stropts.h-data [XPG3]: Likewise.
21424         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21425         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21426         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21427         Likewise.
21428         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21429         * conform/data/sys/time.h-data [XPG3]: Likewise.
21430         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21431         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21432         * conform/data/sys/un.h-data [XPG3]: Likewise.
21433         * conform/data/syslog.h-data [XPG3]: Likewise.
21434         * conform/data/ucontext.h-data [XPG3]: Likewise.
21435         * conform/data/utmpx.h-data [XPG3]: Likewise.
21436         * conform/data/varargs.h-data [UNIX98]: Enable file.
21438         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21440         * math/libm-test.inc (struct test_f_f_data): Move expected results
21441         into structure for each rounding mode.
21442         (struct test_ff_f_data): Likewise.
21443         (struct test_ff_f_data_nexttoward): Likewise.
21444         (struct test_fi_f_data): Likewise.
21445         (struct test_fl_f_data): Likewise.
21446         (struct test_if_f_data): Likewise.
21447         (struct test_fff_f_data): Likewise.
21448         (struct test_c_f_data): Likewise.
21449         (struct test_f_f1_data): Likewise.
21450         (struct test_fF_f1_data): Likewise.
21451         (struct test_ffI_f1_data): Likewise.
21452         (struct test_c_c_data): Likewise.
21453         (struct test_cc_c_data): Likewise.
21454         (struct test_f_i_data): Likewise.
21455         (struct test_ff_i_data): Likewise.
21456         (struct test_f_l_data): Likewise.
21457         (struct test_f_L_data): Likewise.
21458         (struct test_fFF_11_data): Likewise.
21459         (RM_): New macro.
21460         (RM_FE_DOWNWARD): Likewise.
21461         (RM_FE_TONEAREST): Likewise.
21462         (RM_FE_TOWARDZERO): Likewise.
21463         (RM_FE_UPWARD): Likewise.
21464         (RUN_TEST_LOOP_f_f): Update references to expected results.
21465         (RUN_TEST_LOOP_2_f): Likewise.
21466         (RUN_TEST_LOOP_fff_f): Likewise.
21467         (RUN_TEST_LOOP_c_f): Likewise.
21468         (RUN_TEST_LOOP_f_f1): Likewise.
21469         (RUN_TEST_LOOP_fF_f1): Likewise.
21470         (RUN_TEST_LOOP_fI_f1): Likewise.
21471         (RUN_TEST_LOOP_ffI_f1): Likewise.
21472         (RUN_TEST_LOOP_c_c): Likewise.
21473         (RUN_TEST_LOOP_cc_c): Likewise.
21474         (RUN_TEST_LOOP_f_i): Likewise.
21475         (RUN_TEST_LOOP_f_i_tg): Likewise.
21476         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21477         (RUN_TEST_LOOP_f_b): Likewise.
21478         (RUN_TEST_LOOP_f_b_tg): Likewise.
21479         (RUN_TEST_LOOP_f_l): Likewise.
21480         (RUN_TEST_LOOP_f_L): Likewise.
21481         (RUN_TEST_LOOP_fFF_11): Likewise.
21482         * math/gen-libm-test.pl (parse_args): Output four copies of
21483         expected results for each test.
21485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21486         (__ASSUME_UTIMES): Remove.
21487         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21488         (__ASSUME_UTIMES): Likewise.
21490         * math/gen-auto-libm-tests.c: Update comment on output format.
21491         (output_for_one_input_case): Generate before-rounding and
21492         after-rounding information as conditions on output flags not
21493         floating-point format.
21494         * math/auto-libm-test-out: Regenerated.
21495         * math/gen-libm-test.pl (cond_value): New function.
21496         (or_cond_value): Use cond_value.
21497         (generate_testfile): Handle conditional exceptions.
21499 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21501         * math/libm-test.inc (max_valid_error): New variable.
21502         (init_max_error): Take new argument specifying whether function
21503         results are exactly determined.  Set max_valid_error and bound
21504         other variables for errors based on this argument.
21505         (set_max_error): Do not record results above max_valid_error.
21506         (check_float_internal): Only accept errors of up to 0.5ulps if
21507         also at most max_valid_error.
21508         (START): Take new argument EXACT and pass it to init_max_error.
21509         (acos_test): Update call to START.
21510         (acos_test_tonearest): Likewise.
21511         (acos_test_towardzero): Likewise.
21512         (acos_test_downward): Likewise.
21513         (acos_test_upward): Likewise.
21514         (acosh_test): Likewise.
21515         (asin_test): Likewise.
21516         (asin_test_tonearest): Likewise.
21517         (asin_test_towardzero): Likewise.
21518         (asin_test_downward): Likewise.
21519         (asin_test_upward): Likewise.
21520         (asinh_test): Likewise.
21521         (atan_test): Likewise.
21522         (atanh_test): Likewise.
21523         (atan2_test): Likewise.
21524         (cabs_test): Likewise.
21525         (cacos_test): Likewise.
21526         (cacosh_test): Likewise.
21527         (carg_test): Likewise.
21528         (casin_test): Likewise.
21529         (casinh_test): Likewise.
21530         (catan_test): Likewise.
21531         (catanh_test): Likewise.
21532         (cbrt_test): Likewise.
21533         (ccos_test): Likewise.
21534         (ccosh_test): Likewise.
21535         (ceil_test): Likewise.
21536         (cexp_test): Likewise.
21537         (cimag_test): Likewise.
21538         (clog_test): Likewise.
21539         (clog10_test): Likewise.
21540         (conj_test): Likewise.
21541         (copysign_test): Likewise.
21542         (cos_test): Likewise.
21543         (cos_test_tonearest): Likewise.
21544         (cos_test_towardzero): Likewise.
21545         (cos_test_downward): Likewise.
21546         (cos_test_upward): Likewise.
21547         (cosh_test): Likewise.
21548         (cosh_test_tonearest): Likewise.
21549         (cosh_test_towardzero): Likewise.
21550         (cosh_test_downward): Likewise.
21551         (cosh_test_upward): Likewise.
21552         (cpow_test): Likewise.
21553         (cproj_test): Likewise.
21554         (creal_test): Likewise.
21555         (csin_test): Likewise.
21556         (csinh_test): Likewise.
21557         (csqrt_test): Likewise.
21558         (ctan_test): Likewise.
21559         (ctan_test_tonearest): Likewise.
21560         (ctan_test_towardzero): Likewise.
21561         (ctan_test_downward): Likewise.
21562         (ctan_test_upward): Likewise.
21563         (ctanh_test): Likewise.
21564         (ctanh_test_tonearest): Likewise.
21565         (ctanh_test_towardzero): Likewise.
21566         (ctanh_test_downward): Likewise.
21567         (ctanh_test_upward): Likewise.
21568         (erf_test): Likewise.
21569         (erfc_test): Likewise.
21570         (exp_test): Likewise.
21571         (exp_test_tonearest): Likewise.
21572         (exp_test_towardzero): Likewise.
21573         (exp_test_downward): Likewise.
21574         (exp_test_upward): Likewise.
21575         (exp10_test): Likewise.
21576         (exp10_test_tonearest): Likewise.
21577         (exp10_test_towardzero): Likewise.
21578         (exp10_test_downward): Likewise.
21579         (exp10_test_upward): Likewise.
21580         (pow10_test): Likewise.
21581         (exp2_test): Likewise.
21582         (expm1_test): Likewise.
21583         (expm1_test_tonearest): Likewise.
21584         (expm1_test_towardzero): Likewise.
21585         (expm1_test_downward): Likewise.
21586         (expm1_test_upward): Likewise.
21587         (fabs_test): Likewise.
21588         (fdim_test): Likewise.
21589         (floor_test): Likewise.
21590         (fma_test): Likewise.
21591         (fma_test_towardzero): Likewise.
21592         (fma_test_downward): Likewise.
21593         (fma_test_upward): Likewise.
21594         (fmax_test): Likewise.
21595         (fmin_test): Likewise.
21596         (fmod_test): Likewise.
21597         (fpclassify_test): Likewise.
21598         (frexp_test): Likewise.
21599         (hypot_test): Likewise.
21600         (ilogb_test): Likewise.
21601         (isfinite_test): Likewise.
21602         (finite_test): Likewise.
21603         (isgreater_test): Likewise.
21604         (isgreaterequal_test): Likewise.
21605         (isinf_test): Likewise.
21606         (isless_test): Likewise.
21607         (islessequal_test): Likewise.
21608         (islessgreater_test): Likewise.
21609         (isnan_test): Likewise.
21610         (isnormal_test): Likewise.
21611         (issignaling_test): Likewise.
21612         (isunordered_test): Likewise.
21613         (j0_test): Likewise.
21614         (j1_test): Likewise.
21615         (jn_test): Likewise.
21616         (ldexp_test): Likewise.
21617         (lgamma_test): Likewise.
21618         (gamma_test): Likewise.
21619         (lrint_test): Likewise.
21620         (lrint_test_tonearest): Likewise.
21621         (lrint_test_towardzero): Likewise.
21622         (lrint_test_downward): Likewise.
21623         (lrint_test_upward): Likewise.
21624         (llrint_test): Likewise.
21625         (llrint_test_tonearest): Likewise.
21626         (llrint_test_towardzero): Likewise.
21627         (llrint_test_downward): Likewise.
21628         (llrint_test_upward): Likewise.
21629         (log_test): Likewise.
21630         (log10_test): Likewise.
21631         (log1p_test): Likewise.
21632         (log2_test): Likewise.
21633         (logb_test): Likewise.
21634         (logb_test_downward): Likewise.
21635         (lround_test): Likewise.
21636         (llround_test): Likewise.
21637         (modf_test): Likewise.
21638         (nearbyint_test): Likewise.
21639         (nextafter_test): Likewise.
21640         (nexttoward_test): Likewise.
21641         (pow_test): Likewise.
21642         (pow_test_tonearest): Likewise.
21643         (pow_test_towardzero): Likewise.
21644         (pow_test_downward): Likewise.
21645         (pow_test_upward): Likewise.
21646         (remainder_test): Likewise.
21647         (drem_test): Likewise.
21648         (remainder_test_tonearest): Likewise.
21649         (drem_test_tonearest): Likewise.
21650         (remainder_test_towardzero): Likewise.
21651         (drem_test_towardzero): Likewise.
21652         (remainder_test_downward): Likewise.
21653         (drem_test_downward): Likewise.
21654         (remainder_test_upward): Likewise.
21655         (drem_test_upward): Likewise.
21656         (remquo_test): Likewise.
21657         (rint_test): Likewise.
21658         (rint_test_tonearest): Likewise.
21659         (rint_test_towardzero): Likewise.
21660         (rint_test_downward): Likewise.
21661         (rint_test_upward): Likewise.
21662         (round_test): Likewise.
21663         (scalb_test): Likewise.
21664         (scalbn_test): Likewise.
21665         (scalbln_test): Likewise.
21666         (signbit_test): Likewise.
21667         (sin_test): Likewise.
21668         (sin_test_tonearest): Likewise.
21669         (sin_test_towardzero): Likewise.
21670         (sin_test_downward): Likewise.
21671         (sin_test_upward): Likewise.
21672         (sincos_test): Likewise.
21673         (sinh_test): Likewise.
21674         (sinh_test_tonearest): Likewise.
21675         (sinh_test_towardzero): Likewise.
21676         (sinh_test_downward): Likewise.
21677         (sinh_test_upward): Likewise.
21678         (sqrt_test): Likewise.
21679         (sqrt_test_tonearest): Likewise.
21680         (sqrt_test_towardzero): Likewise.
21681         (sqrt_test_downward): Likewise.
21682         (sqrt_test_upward): Likewise.
21683         (tan_test): Likewise.
21684         (tan_test_tonearest): Likewise.
21685         (tan_test_towardzero): Likewise.
21686         (tan_test_downward): Likewise.
21687         (tan_test_upward): Likewise.
21688         (tanh_test): Likewise.
21689         (tgamma_test): Likewise.
21690         (trunc_test): Likewise.
21691         (y0_test): Likewise.
21692         (y1_test): Likewise.
21693         (yn_test): Likewise.
21694         (significand_test): Likewise.
21696         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21697         individual tests in comment.
21698         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21699         (prev_max_error): New variable.
21700         (prev_real_max_error): Likewise.
21701         (prev_imag_max_error): Likewise.
21702         (compare_ulp_data): Don't refer to test names in comment.
21703         (find_test_ulps): Remove function.
21704         (find_function_ulps): Likewise.
21705         (find_complex_function_ulps): Likewise.
21706         (init_max_error): Take function name as argument.  Look up ulps
21707         for that function.
21708         (print_ulps): Remove function.
21709         (print_max_error): Use prev_max_error instead of calling
21710         find_function_ulps.
21711         (print_complex_max_error): Use prev_real_max_error and
21712         prev_imag_max_error instead of calling find_complex_function_ulps.
21713         (check_float_internal): Take max_ulp parameter instead of calling
21714         find_test_ulps.  Don't call print_ulps.
21715         (check_float): Update call to check_float_internal.
21716         (check_complex): Update calls to check_float_internal.
21717         (START): Pass argument to init_max_error.
21718         * math/gen-libm-test.pl (%results): Don't include "kind"
21719         information.
21720         (parse_ulps): Don't handle ulps of individual tests.
21721         (print_ulps_file): Likewise.
21722         (output_ulps): Likewise.
21723         * math/README.libm-test: Update.
21724         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21725         individual tests.
21726         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21727         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21728         * sysdeps/arm/libm-test-ulps: Likewise.
21729         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21730         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21731         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21732         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21733         * sysdeps/microblaze/libm-test-ulps: Likewise.
21734         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21735         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21736         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21737         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21738         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21739         * sysdeps/sh/libm-test-ulps: Likewise.
21740         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21741         * sysdeps/tile/libm-test-ulps: Likewise.
21742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21744 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21746         * math/libm-test.inc (print_complex_max_error): Check separately
21747         whether real and imaginary errors are within allowed range and
21748         pass 0 to print_complex_function_ulps instead of value within
21749         allowed range.
21751 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21753         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21754         formatting.
21755         (get_handles_fopen): Likewise.
21756         (do_write_test): Likewise.
21758         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21760         * libio/fileops.c (do_ftell): Use cached offset when
21761         available.
21762         * libio/iofwide.c (do_ftell_wide): Likewise.
21763         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21764         _IO_file_attach.
21765         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21767         [BZ #16532]
21768         * libio/libioP.h (get_file_offset): New function.
21769         * libio/fileops.c (get_file_offset): Likewise.
21770         (do_ftell): Likewise.
21771         (_IO_new_file_seekoff): Split out ftell logic.
21772         * libio/wfileops.c (do_ftell_wide): Likewise.
21773         (_IO_wfile_seekoff): Split out ftell logic.
21774         * libio/tst-ftell-active-handler.c: New test case.
21775         * libio/Makefile (tests): Add it.
21777 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21779         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21780         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21782 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21784         [BZ #16639]
21785         * nscd/connections.c (nscd_init): Call do_exit.
21786         (start_threads): Call do_exit and notify_parent.
21787         (begin_drop_privileges): Call do_exit.
21788         (finish_drop_privileges): Likewise.
21789         * nscd/selinux.c (preserve_capabilities): Likewise.
21790         (install_real_capabilities): Likewise.
21791         (nscd_selinux_enabled): Likewise.
21792         (avc_create_thread): Likewise.
21793         (avc_alloc_lock): Likewise.
21794         (nscd_avc_init): Likewise.
21795         * nscd/nscd.c (parent_fd): New static variable.
21796         (main): Create a pipe between parent and child processes.
21797         Skip closing parent_fd.
21798         (monitor_child): New function.
21799         (do_exit): Likewise.
21800         (notify_parent): Likewise.
21801         * nscd/nscd.h (notify_parent): Likewise.
21802         (do_exit): Likewise.
21804 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21806         * malloc/malloc.c (__libc_calloc): Revert last change.
21808 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21812 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21814         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21816         implementation.
21817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21818         (__libc_ifunc_impl_list): Likewise.
21819         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21820         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21821         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21822         * string/strrchr.c: Define STRRCHR.
21824 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21826         * benchtest/bench-strtok.c (simple_strtok): Delete.
21827         (strtok_string): Use as benchmark.
21828         * string/strtok (STRTOK): New macro.
21830 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21832         * manual/threads.texi: Add header and standard comments to all
21833         functions.
21835         * elf/dl-lookup.c (check_match): New function.
21836         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21837         (do_lookup_x): Remove nested function check_match. Use non-nested
21838         function check_match.
21840 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21842         * csu/Makefile (generated, before-compile): Use += rather than =.
21843         * catgets/Makefile (generated, generated-dirs): Likewise.
21844         * debug/Makefile (generated): Likewise.
21845         * dlfcn/Makefile (generated): Likewise.
21846         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21847         * iconvdata/Makefile (before-compile, generated): Likewise.
21848         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21849         * libio/Makefile (generated): Likewise.
21850         * malloc/Makefile (generated): Likewise.
21851         * manual/Makefile (generated, generated-dirs): Likewise.
21852         * misc/Makefile (generated): Likewise.
21853         * posix/Makefile (generated): Likewise.
21854         * resolv/Makefile (generated): Likewise.
21855         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21856         * timezone/Makefile (generated, generated-dirs): Likewise.
21858         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21860 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21863         power8 implementation.
21864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21865         file: POWER8 llround ifunc implementation.
21866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21867         (__lllround): Add POWER8 implementation.
21868         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21869         POWER8 llround implementation.
21871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21872         power8 implementation.
21873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21874         file: POWER8 llrint ifunc implementation.
21875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21876         Add POWER8 implementation.
21877         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21878         POWER8 llrint implementation.
21880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21881         power8 implementation.
21882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21883         file: POWER8 finite ifunc implementation.
21884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21885         Add POWER8 implementation.
21886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21887         Likewise.
21888         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21889         POWER8 finite implementation.
21890         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21893         power8 implementation.
21894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21895         file: POWER8 isinf ifunc implementation.
21896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21897         POWER8 implementation.
21898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21899         Likewise.
21900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21901         isinf implementation.
21902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21904         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21905         (INIT_ARCH): Add hwcap2 initialization.
21906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21907         power8 implementation.
21908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21909         file: POWER8 isnan ifunc implementation.
21910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21911         POWER8 implementation.
21912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21913         Likewise.
21914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21915         isnan implementation.
21916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21918 2014-02-27  Joey Ye  <joey.ye@arm.com>
21920         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21921         (_FP_NANFRAC_Q): Set to zero.
21923 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21925         [BZ #16623]
21926         * math/auto-libm-test-in: New test inputs.
21927         * math/auto-libm-test-out: Regenerate.
21928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21929         and DA.
21930         (__cos): Likewise.
21931         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21933 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21935         * scripts/evaluate-test.sh: Take new argument indicating whether
21936         failure is expected.
21937         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21938         indicating whether failure is expected.
21939         * conform/Makefile (test-xfail-run-conformtest): New variable.
21940         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21941         level.
21942         * posix/Makefile (test-xfail-annexc): New variable.
21943         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21945 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21947         * argp/Makefile: Include Makeconfig immediately after defining
21948         subdir.
21949         * assert/Makefile: Likewise.
21950         * benchtests/Makefile: Likewise.
21951         * catgets/Makefile: Likewise.
21952         * conform/Makefile: Likewise.
21953         * crypt/Makefile: Likewise.
21954         * csu/Makefile: Likewise.
21955         (all): Remove target.
21956         * ctype/Makefile: Include Makeconfig immediately after defining
21957         subdir.
21958         * debug/Makefile: Likewise.
21959         * dirent/Makefile: Likewise.
21960         * dlfcn/Makefile: Likewise.
21961         * gmon/Makefile: Likewise.
21962         * gnulib/Makefile: Likewise.
21963         * grp/Makefile: Likewise.
21964         * gshadow/Makefile: Likewise.
21965         * hesiod/Makefile: Likewise.
21966         * hurd/Makefile: Likewise.
21967         (all): Remove target.
21968         * iconvdata/Makefile: Include Makeconfig immediately after
21969         defining subdir.
21970         * inet/Makefile: Likewise.
21971         * intl/Makefile: Likewise.
21972         * io/Makefile: Likewise.
21973         * libio/Makefile: Likewise.
21974         (all): Remove target.
21975         * locale/Makefile: Include Makeconfig immediately after defining
21976         subdir.
21977         * login/Makefile: Likewise.
21978         * mach/Makefile: Likewise.
21979         (all): Remove target.
21980         * malloc/Makefile: Include Makeconfig immediately after defining
21981         subdir.
21982         (all): Remove target.
21983         * manual/Makefile: Include Makeconfig immediately after defining
21984         subdir.
21985         * math/Makefile: Likewise.
21986         * misc/Makefile: Likewise.
21987         * nis/Makefile: Likewise.
21988         * nss/Makefile: Likewise.
21989         * po/Makefile: Likewise.
21990         (all): Remove target.
21991         * posix/Makefile: Include Makeconfig immediately after defining
21992         subdir.
21993         * pwd/Makefile: Likewise.
21994         * resolv/Makefile: Likewise.
21995         * resource/Makefile: Likewise.
21996         * rt/Makefile: Likewise.
21997         * setjmp/Makefile: Likewise.
21998         * shadow/Makefile: Likewise.
21999         * signal/Makefile: Likewise.
22000         * socket/Makefile: Likewise.
22001         * soft-fp/Makefile: Likewise.
22002         * stdio-common/Makefile: Likewise.
22003         * stdlib/Makefile: Likewise.
22004         * streams/Makefile: Likewise.
22005         * string/Makefile: Likewise.
22006         * sunrpc/Makefile: Likewise.
22007         (all): Remove target.
22008         * sysvipc/Makefile: Include Makeconfig immediately after defining
22009         subdir.
22010         * termios/Makefile: Likewise.
22011         * time/Makefile: Likewise.
22012         * timezone/Makefile: Likewise.
22013         (all): Remove target.
22014         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22015         subdir.
22016         * wctype/Makefile: Likewise.
22018 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22020         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22021         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22022         (libc_feholdexcept_setround_mips): Ditto.
22023         (libc_feholdsetround): New.
22024         (libc_feholdsetroundf): New.
22025         (libc_feholdsetroundl): New.
22026         (libc_feupdateenv_test_mips): New.
22027         (libc_feupdateenv_test): New.
22028         (libc_feupdateenv_testf): New.
22029         (libc_feupdateenv_testl): New.
22030         (libc_feresetround): New.
22031         (libc_feresetroundf): New.
22032         (libc_feresetroundl): New.
22033         (libc_fetestexcept_mips): New.
22034         (libc_fetestexcept): New.
22035         (libc_fetestexceptf): New.
22036         (libc_fetestexceptl): New.
22037         (HAVE_RM_CTX): New.
22038         (libc_feholdexcept_setround_mips_ctx): New.
22039         (libc_feholdexcept_setround_ctx): New.
22040         (libc_feholdexcept_setroundf_ctx): New.
22041         (libc_feholdexcept_setroundl_ctx): New.
22042         (libc_fesetenv_mips_ctx): New.
22043         (libc_fesetenv_ctx): New.
22044         (libc_fesetenv_ctxf): New.
22045         (libc_fesetenv_ctxl): New.
22046         (libc_feupdateenv_mips_ctx): New.
22047         (libc_feupdateenv_ctx): New.
22048         (libc_feupdateenvf_ctx): New.
22049         (libc_feupdateenvl_ctx): New.
22050         (libc_feholdsetround_mips_ctx): New.
22051         (libc_feholdsetround_ctx): New.
22052         (libc_feholdsetroundf_ctx): New.
22053         (libc_feholdsetroundl_ctx): New.
22054         (libc_feresetround_mips_ctx): New.
22055         (libc_feresetround_ctx): New.
22056         (libc_feresetroundf_ctx): New.
22057         (libc_feresetroundl_ctx): New.
22059 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22061         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22063         * manual/ipc.texi: New file.
22064         * manual/Makefile (chapters): Add ipc.
22065         * manual/job.texi: Add "Inter-Process Communication" to next.
22066         * manual/process.texi: Add "Inter-Process Communication" to prev.
22068 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22072 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22074         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22076         * manual/arith.texi: Fix spaces after sentences.
22077         * manual/charset.texi: Likewise.
22078         * manual/errno.texi: Likewise.
22079         * manual/install.texi: Likewise.
22080         * manual/llio.texi: Likewise.
22081         * manual/locale.texi: Likewise.
22082         * manual/maint.texi: Likewise.
22083         * manual/math.texi: Likewise.
22084         * manual/memory.texi: Likewise.
22085         * manual/message.texi: Likewise.
22086         * manual/probes.texi: Likewise.
22087         * manual/resource.texi: Likewise.
22088         * manual/signal.texi: Likewise.
22089         * manual/socket.texi: Likewise.
22090         * manual/stdio.texi: Likewise.
22091         * manual/string.texi: Likewise.
22092         * manual/time.texi: Likewise.
22093         * manual/users.texi: Likewise.
22095 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22097         [BZ #16632]
22098         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22099         _DEFAULT_SOURCE is defined.
22101 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22102             Carlos O'Donell  <carlos@redhat.com>
22104         [BZ #16613]
22105         * elf/dl-tls.c (_dl_count_modids): New function.
22106         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22107         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22108         audit library and increment generation counter.
22109         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22110         * elf/tst-audit9.c: New file.
22111         * elf/tst-auditmod9a.c: New file.
22112         * elf/tst-auditmod9b.c: New file.
22113         * elf/Makefile: Add rules to build and run tst-audit9.
22115 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22117         [BZ #15347]
22118         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22120 2014-02-25  Will Newton  <will.newton@linaro.org>
22122         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22123         (__longjmp): Restore sp and lr before restoring callee
22124         saved registers.  Add longjmp and longjmp_target
22125         SystemTap probe point.
22126         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22127         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22128         Define to zero to match jmpbuf layout.
22129         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22130         (__sigsetjmp): Save sp and lr before saving callee
22131         saved registers.  Add setjmp SystemTap probe point.
22133 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22135         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22137 2014-02-24  Andreas Schwab  <schwab@suse.de>
22139         [BZ #15804]
22140         * elf/pldd.c (wait_for_ptrace_stop): New function.
22141         (main): Call it after attaching.
22143 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22145         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22146         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22147         Versions files is now verboten.
22148         * hurd/Versions (libc: GLIBC_2.0):
22149         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22150         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22151         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22152         * mach/Versions: Likewise.
22154         * csu/Versions: Remove unused %include.
22155         * resolv/Versions: Likewise.
22157 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22159         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22160         ($(objpfx)check-local-headers.out): Likewise.
22161         ($(objpfx)begin-end-check.out): Likewise.
22162         * Makerules (check-abi-%.out): Likewise.
22163         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22164         ($(objpfx)test2.cat): Likewise.
22165         ($(objpfx)de/libc.cat): Likewise.
22166         ($(objpfx)test-gencat.out): Likewise.
22167         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22168         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22169         ($(objpfx)noload-mem): Likewise.
22170         ($(objpfx)tst-pathopt.out): Likewise.
22171         ($(objpfx)tst-rtld-load-self.out): Likewise.
22172         ($(objpfx)tst-array1-cmp.out): Likewise.
22173         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22174         ($(objpfx)tst-array2-cmp.out): Likewise.
22175         ($(objpfx)tst-array3-cmp.out): Likewise.
22176         ($(objpfx)tst-array4-cmp.out): Likewise.
22177         ($(objpfx)tst-array5-cmp.out): Likewise.
22178         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22179         ($(objpfx)check-textrel.out): Likewise.
22180         ($(objpfx)check-execstack.out): Likewise.
22181         ($(objpfx)check-localplt.out): Likewise.
22182         ($(objpfx)order2-cmp.out): Likewise.
22183         ($(objpfx)tst-leaks1-mem): Likewise.
22184         ($(objpfx)tst-leaks1-static-mem): Likewise.
22185         ($(objpfx)tst-initorder-cmp.out): Likewise.
22186         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22187         ($(objpfx)tst-unused-dep.out): Likewise.
22188         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22189         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22190         * iconv/Makefile (test-iconvconfig): Likewise.
22191         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22192         ($(objpfx)iconv-test.out): Likewise.
22193         ($(objpfx)tst-tables.out): Likewise.
22194         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22195         ($(objpfx)tst-gettext.out): Likewise.
22196         ($(objpfx)tst-translit.out): Likewise.
22197         ($(objpfx)tst-gettext2.out): Likewise.
22198         ($(objpfx)tst-gettext4.out): Likewise.
22199         ($(objpfx)tst-gettext6.out): Likewise.
22200         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22201         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22202         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22203         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22204         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22205         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22206         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22207         ($(objpfx)wordexp-tst.out): Likewise.
22208         ($(objpfx)annexc.out): Likewise.
22209         ($(objpfx)tst-fnmatch-mem): Likewise.
22210         ($(objpfx)bug-regex2-mem): Likewise.
22211         ($(objpfx)bug-regex14-mem): Likewise.
22212         ($(objpfx)bug-regex21-mem): Likewise.
22213         ($(objpfx)bug-regex31-mem): Likewise.
22214         ($(objpfx)tst-vfork3-mem): Likewise.
22215         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22216         ($(objpfx)tst-pcre-mem): Likewise.
22217         ($(objpfx)tst-boost-mem): Likewise.
22218         ($(objpfx)tst-getconf.out): Likewise.
22219         ($(objpfx)bug-ga2-mem): Likewise.
22220         ($(objpfx)bug-glob2-mem): Likewise.
22221         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22222         ($(objpfx)mtrace-tst-leaks2): Likewise.
22223         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22224         ($(objpfx)tst-printf.out): Likewise.
22225         ($(objpfx)tst-setvbuf1.out): Likewise.
22226         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22227         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22228         ($(objpfx)tst-fmtmsg.out): Likewise.
22229         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22230         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22232         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22233         * bits/sigaction.h [__USE_MISC]: Likewise.
22234         * bits/waitstatus.h: Update #endif comments.
22235         * ctype/ctype.h: Likewise.
22236         * dirent/dirent.h: Likewise.
22237         [__USE_MISC]: Remove redundant conditionals.
22238         * grp/grp.h: Update #endif comments.
22239         [__USE_GNU]: Remove redundant conditionals.
22240         [__USE_MISC]: Likewise.
22241         * inet/netinet/in.h [__USE_GNU]: Likewise.
22242         * io/sys/stat.h [__USE_MISC]: Likewise.
22243         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22244         * libio/bits/stdio.h: Update #endif comments.
22245         [__USE_MISC]: Remove redundant conditionals.
22246         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22247         * libio/stdio.h: Update #endif comments.
22248         [__USE_MISC]: Remove redundant conditionals.
22249         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22250         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22251         * math/math.h: Update #else and #endif comments.
22252         [__USE_MISC]: Remove redundant conditionals.
22253         * misc/sys/uio.h: Update #endif comments.
22254         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22255         * posix/glob.h [__USE_MISC]: Likewise.
22256         * posix/sys/types.h: Update #endif comments.
22257         [__USE_MISC]: Remove redundant conditionals.
22258         * posix/sys/wait.h: Update #endif comments.
22259         [__USE_MISC]: Remove redundant conditionals.
22260         * posix/unistd.h: Update #endif comments.
22261         [__USE_MISC]: Remove redundant conditionals.
22262         * pwd/pwd.h [__USE_GNU]: Likewise.
22263         [__USE_MISC]: Likewise.
22264         * resolv/netdb.h [__USE_GNU]: Likewise.
22265         * signal/signal.h: Update #endif comments.
22266         [__USE_MISC]: Remove redundant conditionals.
22267         * stdlib/stdlib.h: Update #else and #endif comments.
22268         [__USE_MISC]: Remove redundant conditionals.
22269         [__USE_GNU]: Likewise.
22270         * string/bits/string2.h [__USE_MISC]: Likewise.
22271         * string/string.h: Update #endif comments.
22272         [__USE_MISC]: Remove redundant conditionals.
22273         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22274         Likewise.
22275         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22276         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22277         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22278         Likewise.
22279         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22280         Likewise.
22281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22282         comments.
22283         [__USE_MISC]: Remove redundant conditionals.
22284         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22285         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22286         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22287         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22288         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22289         Likewise.
22290         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22291         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22292         Likewise.
22293         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22294         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22295         Likewise.
22296         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22297         Likewise.
22298         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22299         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22300         Likewise.
22301         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22302         Likewise.
22303         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22304         * sysdeps/x86/bits/string.h: Update #endif comments.
22305         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22306         conditionals.
22307         * time/sys/time.h: Update #endif comments.
22308         * time/time.h: Likewise.
22309         [__USE_MISC]: Remove redundant conditionals.
22311 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22313         [BZ #16600]
22314         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22316 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22318         * Versions.def (librt): Add GLIBC_2.17.
22320 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22322         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22323         synonym for _SYS_AUXV_H to allow direct inclusion.
22324         * sysdeps/sparc/bits/hwcap.h: Likewise.
22325         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22326         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22327         * sysdeps/sparc/sysdep.h: Likewise.
22329 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22331         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22333 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22335         * benchtests/bench-strrchr.c: Print length instead of position.
22337 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22339         [BZ #16611]
22340         * sysdeps/unix/sysv/linux/kernel-features.h
22341         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22342         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22343         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22344         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22345         Likewise.
22346         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22347         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22348         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22349         (__ASSUME_SENDMMSG): Define instead of using previous
22350         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22351         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22352         (__ASSUME_SENDMMSG_SYSCALL): Define.
22353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22354         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22355         Likewise.
22356         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22357         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22358         Likewise.
22359         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22360         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22361         Likewise.
22362         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22363         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22364         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22365         [__ASSUME_SENDMMSG]: Change conditionals to
22366         [__ASSUME_SENDMMSG_SOCKETCALL].
22367         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22368         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22369         Define.
22370         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22371         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22372         Likewise.
22373         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22374         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22375         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22376         [!__ASSUME_SENDMMSG]: Change conditional to
22377         [!__ASSUME_SENDMMSG_SOCKETCALL].
22378         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22379         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22380         Define.
22382         [BZ #16610]
22383         * sysdeps/unix/sysv/linux/kernel-features.h
22384         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22385         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22386         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22387         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22388         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22389         [__i386__ || __sparc__]
22390         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22391         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22392         (__ASSUME_RECVMMSG): Define instead of using previous
22393         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22394         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22395         (__ASSUME_RECVMMSG_SYSCALL): Define.
22396         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22397         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22398         Likewise.
22399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22400         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22401         Likewise.
22402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22403         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22404         Likewise.
22405         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22406         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22407         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22408         [__ASSUME_RECVMMSG]: Change condition to
22409         [__ASSUME_RECVMMSG_SOCKETCALL].
22410         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22412         Define.
22413         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22415         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22416         Likewise.
22417         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22418         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22419         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22420         [!__ASSUME_RECVMMSG]: Change condition to
22421         [!__ASSUME_RECVMMSG_SOCKETCALL].
22422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22423         (__ASSUME_RECVMMSG_SYSCALL): Define.
22425         [BZ #16609]
22426         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22427         __powerpc__ || __s390__ || __sh__ || __sparc__]
22428         (__ASSUME_SOCKETCALL): Define.
22429         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22430         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22431         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22432         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22433         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22434         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22435         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22436         (__ASSUME_ACCEPT4): Define instead of using previous
22437         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22438         __powerpc__ || __sparc__ || __s390__)] condition.
22439         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22440         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22441         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22442         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22443         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22444         [!__ASSUME_ACCEPT4]: Change condition to
22445         [!__ASSUME_ACCEPT4_SOCKETCALL].
22446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22447         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22448         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22449         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22450         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22451         __ASSUME_ACCEPT4_SYSCALL.
22452         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22453         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22454         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22455         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22456         __ASSUME_ACCEPT4_SYSCALL.
22457         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22458         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22459         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22460         [__ASSUME_ACCEPT4]: Change condition to
22461         [__ASSUME_ACCEPT4_SOCKETCALL].
22462         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22463         (__ASSUME_SOCKETCALL): Define.
22464         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22466         (__ASSUME_SOCKETCALL): Define.
22467         (__ASSUME_ACCEPT4): Remove.
22468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22469         Define.
22470         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22471         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22472         Likewise.
22473         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22474         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22476         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22477         macro.
22478         (HWCAP_ARM_LPAE): Likewise.
22479         (HWCAP_ARM_EVTSTRM): Likewise.
22480         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22481         Add vpfd32, lpae and evtstrm.
22482         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22483         Increase to 22.
22485 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22487         * math/auto-libm-test-in: Add tests of clog10.
22488         * math/auto-libm-test-out: Regenerated.
22489         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22490         * sysdeps/i386/fpu/libm-test-ulps: Update.
22491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493 2014-02-18  Andreas Schwab  <schwab@suse.de>
22495         [BZ #16574]
22496         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22497         Store non-zero if the second buffer was newly allocated.
22498         (send_dg): Likewise.
22499         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22500         to send_vc and send_dg.
22501         (res_nsend): Pass NULL for ansp2_malloced.
22502         * resolv/res_query.c (__libc_res_nquery): Add parameter
22503         answerp2_malloced and pass it down to __libc_res_nsend.
22504         (res_nquery): Pass additional NULL to __libc_res_nquery.
22505         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22506         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22507         second answer buffer if answerp2_malloced was set.
22508         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22509         (__libc_res_nquerydomain): Add parameter
22510         answerp2_malloced and pass it down to __libc_res_nquery.
22511         (res_nquerydomain): Pass additional NULL to
22512         __libc_res_nquerydomain.
22513         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22514         additional NULL to __libc_res_nsend and __libc_res_nquery.
22515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22516         additional NULL to __libc_res_nsearch.
22517         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22518         parameter of __libc_res_nsearch to check for separately allocated
22519         second buffer.
22520         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22521         __libc_res_nquery.
22522         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22523         additional NULL to __libc_res_nquery.
22524         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22525         __libc_res_nsearch.
22526         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22527         * include/resolv.h: Update prototypes of __libc_res_nquery,
22528         __libc_res_nsearch, __libc_res_nsend.
22530 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22532         * math/auto-libm-test-in: Add tests of fma.
22533         * math/auto-libm-test-out: Regenerated.
22534         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22535         (fma_towardzero_test_data): Likewise.
22536         (fma_downward_test_data): Likewise.
22537         (fma_upward_test_data): Likewise.
22538         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22539         mpc_mode.
22540         (rounding_modes): Add values for new field.
22541         (func_calc_method): Add value mpfr_fff_f.
22542         (func_calc_desc): Add mpfr_fff_f union field.
22543         (test_function): Add field exact_args.
22544         (FUNC): Add macro argument EXACT_ARGS.
22545         (FUNC_mpfr_f_f): Update call to FUNC.
22546         (FUNC_mpfr_f_f): Likewise.
22547         (FUNC_mpfr_ff_f): Likewise.
22548         (FUNC_mpfr_if_f): Likewise.
22549         (FUNC_mpc_c_f): Likewise.
22550         (FUNC_mpc_c_c): Likewise.
22551         (test_functions): Add fma.  Update calls to FUNC.
22552         (handle_input_arg): Add argument exact_args.
22553         (add_test): Update call to handle_input_arg.
22554         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22555         (output_for_one_input_case): Update call to calc_generic_results.
22556         Recalculate exact zero results in each rounding mode.
22558         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22559         non-negative before setting low bit.
22560         * math/auto-libm-test-in: Mark one asin test possibly having
22561         spurious underflow.
22562         * math/auto-libm-test-out: Regenerated.
22563         * sysdeps/i386/fpu/libm-test-ulps: Update.
22564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22566 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22568         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22569         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22570         ports/sysdeps/unix/sysv/linux/microblaze.
22571         * README: Add missing listing for microblaze*-*-linux-gnu.
22573 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22575         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22576         duplicate code
22578 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22580         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22581         * sysdeps/unix/sysv/linux/ia64: Move directory from
22582         ports/sysdeps/unix/sysv/linux/ia64.
22583         * README: Update listing for ia64-*-linux-gnu.
22585 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22586             Joseph Myers  <joseph@codesourcery.com>
22588         * Makeconfig (test-name): New variable.
22589         (evaluate-test): Likewise.
22590         * Makerules (do-test-clean): Remove .test-result files.
22591         (common-mostlyclean): Likewise.
22592         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22593         * scripts/evaluate-test.sh: New file.
22595 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22597         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22598         separate $(objpfx)tst-fopenloc-cmp.out and
22599         $(objpfx)tst-fopenloc-mem.out targets.
22600         (tests): Update dependencies.
22601         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22602         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22603         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22604         (tst-rxspencer-no-utf8-ARGS): New variable.
22605         (tst-rxspencer-no-utf8-ENV): Likewise.
22606         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22607         instead of $(objpfx)tst-rxspencer-mem.
22608         ($(objpfx)tst-rxspencer-mem): Change target to
22609         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22610         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22611         * posix/tst-rxspencer-no-utf8.c: New file.
22613         * elf/Makefile ($(objpfx)order.out): Remove rule.
22614         [$(run-built-tests) = yes] (tests): Depend on
22615         $(objpfx)order-cmp.out.
22616         ($(objpfx)order-cmp.out): New rule.
22617         [$(run-built-tests) = yes] (tests): Depend on
22618         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22619         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22620         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22621         $(objpfx)tst-array5-static-cmp.out.
22622         ($(objpfx)tst-array1.out): Remove rule.
22623         ($(objpfx)tst-array1-cmp.out): New rule.
22624         ($(objpfx)tst-array1-static.out): Remove rule.
22625         ($(objpfx)tst-array1-static-cmp.out): New rule.
22626         ($(objpfx)tst-array2.out): Remove rule.
22627         ($(objpfx)tst-array2-cmp.out): New rule.
22628         ($(objpfx)tst-array3.out): Remove rule.
22629         ($(objpfx)tst-array3-cmp.out): New rule.
22630         ($(objpfx)tst-array4.out): Remove rule.
22631         ($(objpfx)tst-array4-cmp.out): New rule.
22632         ($(objpfx)tst-array5.out): Remove rule.
22633         ($(objpfx)tst-array5-cmp.out): New rule.
22634         ($(objpfx)tst-array5-static.out): Remove rule.
22635         ($(objpfx)tst-array5-static-cmp.out): New rule.
22636         [$(run-built-tests) = yes] (tests): Depend on
22637         $(objpfx)order2-cmp.out.
22638         ($(objpfx)order2.out): Remove rule.
22639         ($(objpfx)order2-cmp.out): New rule.
22640         ($(objpfx)tst-initorder.out): Remove rule.
22641         [$(run-built-tests) = yes] (tests): Depend on
22642         $(objpfx)tst-initorder-cmp.out.
22643         ($(objpfx)tst-initorder-cmp.out): New rule.
22644         ($(objpfx)tst-initorder2.out): Remove rule.
22645         [$(run-built-tests) = yes] (tests): Depend on
22646         $(objpfx)tst-initorder2-cmp.out.
22647         ($(objpfx)tst-initorder2-cmp.out): New rule.
22648         [$(run-built-tests) = yes] (tests): Depend on
22649         $(objpfx)tst-unused-dep-cmp.out.
22650         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22651         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22652         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22653         on $(objpfx)tst-setvbuf1-cmp.out.
22654         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22655         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22656         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22657         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22658         ($(objpfx)tst-svc.out): Remove rule.
22659         ($(objpfx)tst-svc-cmp.out): New rule.
22661 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22663         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22664         * ctype/ctype.h [__USE_MISC]: Likewise.
22665         * dirent/dirent.h [__USE_MISC]: Likewise.
22666         * grp/grp.h [__USE_MISC]: Likewise.
22667         * io/fcntl.h [__USE_MISC]: Likewise.
22668         * io/sys/stat.h [__USE_MISC]: Likewise.
22669         * libio/stdio.h [__USE_MISC]: Likewise.
22670         * posix/unistd.h [__USE_MISC]: Likewise.
22671         * pwd/pwd.h [__USE_MISC]: Likewise.
22672         * stdlib.h [__USE_MISC]: Likewise.
22673         * string/bits/string2.h [__USE_MISC]: Likewise.
22674         * string/string.h [__USE_MISC]: Likewise.
22675         * time/time.h [__USE_MISC]: Likewise.
22677 2014-02-13  Andreas Schwab  <schwab@suse.de>
22679         [BZ #16574]
22680         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22681         second answer buffer if it was separately allocated.
22683 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22685         * sysdeps/mips/math-tests.h: Include <features.h>.
22686         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22687         (ROUNDING_TESTS_long_double): Do not define.
22688         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22689         (EXCEPTION_TESTS_long_double): Likewise.
22690         * sysdeps/mips/mips64/libm-test-ulps: Update.
22692         * include/features.h (__USE_BSD): Remove macro definitions.
22693         (__USE_SVID): Likewise.
22694         (_BSD_SOURCE): Likewise.
22695         (_SVID_SOURCE): Likewise.
22696         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22697         from definition of _DEFAULT_SOURCE.
22698         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22699         [_DEFAULT_SOURCE].
22700         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22701         * bits/mman.h [__USE_BSD]: Likewise.
22702         * bits/termios.h [__USE_BSD]: Likewise.
22703         * bits/waitstatus.h [__USE_BSD]: Likewise.
22704         * ctype/ctype.h [__USE_SVID]: Likewise.
22705         * dirent/dirent.h [__USE_BSD]: Likewise.
22706         * grp/grp.h [__USE_SVID]: Likewise.
22707         [__USE_BSD]: Likewise.
22708         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22709         * io/fcntl.h [__USE_BSD]: Likewise.
22710         * io/ftw.h [__USE_BSD]: Likewise.
22711         * io/sys/stat.h [__USE_BSD]: Likewise.
22712         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22713         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22714         * libio/stdio.h [__USE_SVID]: Likewise.
22715         [__USE_BSD]: Likewise.
22716         * math/math.h [__USE_SVID]: Likewise.
22717         [__USE_BSD]: Likewise.
22718         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22719         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22720         * misc/search.h [__USE_SVID]: Likewise.
22721         * misc/sys/mman.h [__USE_BSD]: Likewise.
22722         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22723         * misc/sys/uio.h [__USE_BSD]: Likewise.
22724         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22725         * posix/glob.h [__USE_BSD]: Likewise.
22726         * posix/regex.h [__USE_BSD]: Likewise.
22727         * posix/sys/types.h [__USE_BSD]: Likewise.
22728         [__USE_SVID]: Likewise.
22729         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22730         * posix/sys/wait.h [__USE_BSD]: Likewise.
22731         [__USE_SVID]: Likewise.
22732         * posix/unistd.h [__USE_BSD]: Likewise.
22733         [__USE_SVID]: Likewise.
22734         * pwd/pwd.h [__USE_SVID]: Likewise.
22735         * resolv/netdb.h [__USE_BSD]: Likewise.
22736         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22737         * signal/signal.h [__USE_BSD]: Likewise.
22738         [__USE_SVID]: Likewise.
22739         * socket/sys/socket.h [__USE_BSD]: Likewise.
22740         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22741         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22742         [__USE_SVID]: Likewise.
22743         * string/bits/string2.h [__USE_BSD]: Likewise.
22744         [__USE_SVID]: Likewise.
22745         * string/bits/string3.h [__USE_BSD]: Likewise.
22746         * string/endian.h [__USE_BSD]: Likewise.
22747         * string/string.h [__USE_SVID]: Likewise.
22748         [__USE_BSD]: Likewise.
22749         * string/strings.h [__USE_BSD]: Likewise.
22750         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22751         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22752         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22753         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22754         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22755         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22756         Likewise.
22757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22758         Likewise.
22759         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22760         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22761         Likewise.
22762         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22763         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22764         Likewise.
22765         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22766         Likewise.
22767         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22768         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22769         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22770         Likewise.
22771         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22772         Likewise.
22773         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22774         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22775         * termios/termios.h [__USE_BSD]: Likewise.
22776         * time/sys/time.h [__USE_BSD]: Likewise.
22777         * time/time.h [__USE_BSD]: Likewise.
22778         [__USE_SVID]: Likewise.
22780         * Makefile (subdir_targets): Remove subdir_lint.out.
22782         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22783         (do-tst-printf): Likewise.
22784         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22785         $(objpfx)tst-printf.out.
22787         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22789         * Makerules (check-abi-%): Change target to
22790         $(objpfx)check-abi-%.out.
22791         (check-abi target): Update dependencies.
22792         (check-abi-pattern variable): Redirect output of diff to $@.
22793         (check-abi variable): Likewise.
22794         * elf/Makefile (check-abi): Update dependencies.
22796         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22797         unused.
22798         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22799         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22800         subnormal range.
22801         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22802         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22803         value has largest subnormal exponent.
22804         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22805         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22806         * sysdeps/aarch64/soft-fp/sfp-machine.h
22807         (_FP_TININESS_AFTER_ROUNDING): New macro.
22808         * sysdeps/alpha/soft-fp/sfp-machine.h
22809         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22810         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22811         Likewise.
22812         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22813         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22814         * sysdeps/mips/soft-fp/sfp-machine.h
22815         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22816         * sysdeps/powerpc/soft-fp/sfp-machine.h
22817         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22818         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22819         Likewise.
22820         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22821         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22822         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22824         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22825         Likewise.
22827 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22829         [BZ #16545]
22830         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22831         model 1.
22833 2014-02-12  Richard Henderson  <rth@redhat.com>
22835         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22836         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22837         * sysdeps/unix/sysv/linux/alpha: Move directory from
22838         ports/sysdeps/unix/sysv/linux/alpha.
22839         * README: Update listing for alpha-*-linux-gnu.
22841 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22843         * include/features.h: Update comment documenting feature test
22844         macros.
22845         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22846         _DEFAULT_SOURCE.
22847         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22848         (_SVID_SOURCE): Likewise.
22849         (_DEFAULT_SOURCE): Update description of default features.
22850         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22851         with _GNU_SOURCE.
22852         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22853         (S_ISVTX): Likewise.
22854         * manual/math.texi (Mathematical Constants): Likewise.
22855         * manual/signal.texi (Interrupted Primitives): Likewise.
22856         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22857         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22858         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22859         Don't refer to _SVID_SOURCE in warning text.
22861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22863         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22864         already defined.
22865         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22866         * sysdeps/mips/dl-lookup.c: Remove.
22867         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22869 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22871         [BZ #16447]
22872         * math/auto-libm-test-in: Add testcase for expl.
22873         * math/auto-libm-test-out: Regenerate.
22874         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22875         calculation of unsafe.
22876         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22878 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22880         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22881         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22882         ports/sysdeps/unix/sysv/linux/aarch64.
22883         * README: Update listing for aarch64*-*-linux-gnu.
22885 2014-02-11  Will Newton  <will.newton@linaro.org>
22887         * manual/probes.texi (Mathematical Function Probes): Use
22888         "triggered" instead of "hit".
22890         * manual/probes.texi (Internal Probes): Add documentation
22891         of setjmp, longjmp and longjmp_target probes.
22893         * include/stap-probe.h: Add comment about probe argument
22894         format.
22896         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22897         definition.  (tr_where, tr_freehook, tr_mallochook,
22898         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22900 2014-02-11  David S. Miller  <davem@davemloft.net>
22902         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22903         processing int_tests.
22905 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22907         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22908         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22909         * sysdeps/unix/sysv/linux/mips: Move directory from
22910         ports/sysdeps/unix/sysv/linux/mips.
22911         * README: Update listing for mips-*-linux-gnu and
22912         mips64-*-linux-gnu.
22914 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22916         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22917         * sysdeps/unix/sysv/linux/m68k: Move directory from
22918         ports/sysdeps/unix/sysv/linux/m68k.
22919         * README: Update listing for m68k-*-linux-gnu.
22921 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22923         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22924         * sysdeps/unix/sysv/linux/generic: Move directory from
22925         ports/sysdeps/unix/sysv/linux/generic.
22926         * sysdeps/unix/sysv/linux/tile: Move directory from
22927         ports/sysdeps/unix/sysv/linux/tile.
22928         * README: Update listing for tile*-*-linux-gnu.
22930 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22932         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22933         __builtin_expect.
22934         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22935         * catgets/open_catalog.c (__open_catalog): Likewise.
22936         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22937         * debug/confstr_chk.c: Likewise.
22938         * debug/fread_chk.c (__fread_chk): Likewise.
22939         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22940         * debug/getgroups_chk.c: Likewise.
22941         * debug/mbsnrtowcs_chk.c: Likewise.
22942         * debug/mbsrtowcs_chk.c: Likewise.
22943         * debug/mbstowcs_chk.c: Likewise.
22944         * debug/memcpy_chk.c: Likewise.
22945         * debug/memmove_chk.c: Likewise.
22946         * debug/mempcpy_chk.c: Likewise.
22947         * debug/memset_chk.c: Likewise.
22948         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22949         * debug/strcat_chk.c (__strcat_chk): Likewise.
22950         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22951         * debug/strncat_chk.c (__strncat_chk): Likewise.
22952         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22953         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22954         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22955         * debug/wcpncpy_chk.c: Likewise.
22956         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22957         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22958         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22959         * debug/wcsncpy_chk.c: Likewise.
22960         * debug/wcsnrtombs_chk.c: Likewise.
22961         * debug/wcsrtombs_chk.c: Likewise.
22962         * debug/wcstombs_chk.c: Likewise.
22963         * debug/wmemcpy_chk.c: Likewise.
22964         * debug/wmemmove_chk.c: Likewise.
22965         * debug/wmempcpy_chk.c: Likewise.
22966         * debug/wmemset_chk.c: Likewise.
22967         * dirent/scandirat.c (SCANDIRAT): Likewise.
22968         * dlfcn/dladdr1.c (dladdr1): Likewise.
22969         * dlfcn/dladdr.c (dladdr): Likewise.
22970         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22971         * dlfcn/dlerror.c (__dlerror): Likewise.
22972         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22973         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22974         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22975         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22976         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22977         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22978         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22979         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22980         Likewise.
22981         * elf/dl-conflict.c: Likewise.
22982         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22983         * elf/dl-dst.h: Likewise.
22984         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22985         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22986         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22987         * elf/dl-init.c (call_init, _dl_init): Likewise.
22988         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22989         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22990         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22991         Likewise.
22992         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22993         Likewise.
22994         * elf/dl-minimal.c (__libc_memalign): Likewise.
22995         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22996         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22997         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22998         * elf/dl-sym.c (do_sym): Likewise.
22999         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23000         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23001         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23002         * elf/dl-writev.h (_dl_writev): Likewise.
23003         * elf/ldconfig.c (search_dir): Likewise.
23004         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23005         (dl_main): Likewise.
23006         * elf/setup-vdso.h (setup_vdso): Likewise.
23007         * grp/compat-initgroups.c (compat_call): Likewise.
23008         * grp/fgetgrent.c (fgetgrent): Likewise.
23009         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23010         * grp/putgrent.c (putgrent): Likewise.
23011         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23012         Likewise.
23013         * hurd/hurdinit.c: Likewise.
23014         * iconvdata/8bit-gap.c (struct): Likewise.
23015         * iconvdata/ansi_x3.110.c : Likewise.
23016         * iconvdata/big5.c : Likewise.
23017         * iconvdata/big5hkscs.c : Likewise.
23018         * iconvdata/cp1255.c: Likewise.
23019         * iconvdata/cp1258.c : Likewise.
23020         * iconvdata/cp932.c : Likewise.
23021         * iconvdata/euc-cn.c: Likewise.
23022         * iconvdata/euc-jisx0213.c : Likewise.
23023         * iconvdata/euc-jp.c: Likewise.
23024         * iconvdata/euc-jp-ms.c : Likewise.
23025         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23026         * iconvdata/gb18030.c : Likewise.
23027         * iconvdata/gbbig5.c (const): Likewise.
23028         * iconvdata/gbgbk.c: Likewise.
23029         * iconvdata/gbk.c : Likewise.
23030         * iconvdata/ibm1364.c : Likewise.
23031         * iconvdata/ibm930.c : Likewise.
23032         * iconvdata/ibm932.c: Likewise.
23033         * iconvdata/ibm933.c : Likewise.
23034         * iconvdata/ibm935.c : Likewise.
23035         * iconvdata/ibm937.c : Likewise.
23036         * iconvdata/ibm939.c : Likewise.
23037         * iconvdata/ibm943.c: Likewise.
23038         * iconvdata/iso_11548-1.c: Likewise.
23039         * iconvdata/iso-2022-cn.c : Likewise.
23040         * iconvdata/iso-2022-cn-ext.c : Likewise.
23041         * iconvdata/iso-2022-jp-3.c: Likewise.
23042         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23043         * iconvdata/iso-2022-kr.c : Likewise.
23044         * iconvdata/iso646.c (gconv_end): Likewise.
23045         * iconvdata/iso_6937-2.c : Likewise.
23046         * iconvdata/iso_6937.c : Likewise.
23047         * iconvdata/iso8859-1.c: Likewise.
23048         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23049         * iconvdata/shift_jisx0213.c : Likewise.
23050         * iconvdata/sjis.c : Likewise.
23051         * iconvdata/t.61.c : Likewise.
23052         * iconvdata/tcvn5712-1.c : Likewise.
23053         * iconvdata/tscii.c: Likewise.
23054         * iconvdata/uhc.c : Likewise.
23055         * iconvdata/unicode.c (gconv_end): Likewise.
23056         * iconvdata/utf-16.c (gconv_end): Likewise.
23057         * iconvdata/utf-32.c (gconv_end): Likewise.
23058         * iconvdata/utf-7.c (base64): Likewise.
23059         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23060         * iconv/gconv_close.c (__gconv_close): Likewise.
23061         * iconv/gconv_open.c (__gconv_open): Likewise.
23062         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23063         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23064         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23065         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23066         (ucs4le_internal_loop_single): Likewise.
23067         * iconv/iconv.c (iconv): Likewise.
23068         * iconv/iconv_close.c: Likewise.
23069         * iconv/loop.c (SINGLE): Likewise.
23070         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23071         * include/atomic.h: Likewise.
23072         * inet/inet6_option.c (option_alloc): Likewise.
23073         * intl/bindtextdom.c (set_binding_values): Likewise.
23074         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23075         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23076         * intl/localealias.c (read_alias_file): Likewise.
23077         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23078         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23079         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23080         * libio/fmemopen.c (fmemopen): Likewise.
23081         * libio/iofgets.c (_IO_fgets): Likewise.
23082         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23083         * libio/iofgetws.c (fgetws): Likewise.
23084         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23085         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23086         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23087         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23088         * locale/findlocale.c (_nl_find_locale): Likewise.
23089         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23090         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23091         Likewise.
23092         * locale/setlocale.c (setlocale): Likewise.
23093         * login/programs/pt_chown.c (main): Likewise.
23094         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23095         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23096         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23097         (mmap, mmap64, mremap, munmap): Likewise.
23098         * math/e_exp2l.c: Likewise.
23099         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23100         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23101         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23102         * math/s_catan.c (__catan): Likewise.
23103         * math/s_catanf.c (__catanf): Likewise.
23104         * math/s_catanh.c (__catanh): Likewise.
23105         * math/s_catanhf.c (__catanhf): Likewise.
23106         * math/s_catanhl.c (__catanhl): Likewise.
23107         * math/s_catanl.c (__catanl): Likewise.
23108         * math/s_ccosh.c (__ccosh): Likewise.
23109         * math/s_ccoshf.c (__ccoshf): Likewise.
23110         * math/s_ccoshl.c (__ccoshl): Likewise.
23111         * math/s_cexp.c (__cexp): Likewise.
23112         * math/s_cexpf.c (__cexpf): Likewise.
23113         * math/s_cexpl.c (__cexpl): Likewise.
23114         * math/s_clog10.c (__clog10): Likewise.
23115         * math/s_clog10f.c (__clog10f): Likewise.
23116         * math/s_clog10l.c (__clog10l): Likewise.
23117         * math/s_clog.c (__clog): Likewise.
23118         * math/s_clogf.c (__clogf): Likewise.
23119         * math/s_clogl.c (__clogl): Likewise.
23120         * math/s_csin.c (__csin): Likewise.
23121         * math/s_csinf.c (__csinf): Likewise.
23122         * math/s_csinh.c (__csinh): Likewise.
23123         * math/s_csinhf.c (__csinhf): Likewise.
23124         * math/s_csinhl.c (__csinhl): Likewise.
23125         * math/s_csinl.c (__csinl): Likewise.
23126         * math/s_csqrt.c (__csqrt): Likewise.
23127         * math/s_csqrtf.c (__csqrtf): Likewise.
23128         * math/s_csqrtl.c (__csqrtl): Likewise.
23129         * math/s_ctan.c (__ctan): Likewise.
23130         * math/s_ctanf.c (__ctanf): Likewise.
23131         * math/s_ctanh.c (__ctanh): Likewise.
23132         * math/s_ctanhf.c (__ctanhf): Likewise.
23133         * math/s_ctanhl.c (__ctanhl): Likewise.
23134         * math/s_ctanl.c (__ctanl): Likewise.
23135         * math/w_pow.c: Likewise.
23136         * math/w_powf.c: Likewise.
23137         * math/w_powl.c: Likewise.
23138         * math/w_scalb.c (sysv_scalb): Likewise.
23139         * math/w_scalbf.c (sysv_scalbf): Likewise.
23140         * math/w_scalbl.c (sysv_scalbl): Likewise.
23141         * misc/error.c (error_tail): Likewise.
23142         * misc/pselect.c (__pselect): Likewise.
23143         * nis/nis_callback.c (__nis_create_callback): Likewise.
23144         * nis/nis_call.c (__nisfind_server): Likewise.
23145         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23146         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23147         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23148         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23149         * nis/nis_lookup.c (nis_lookup): Likewise.
23150         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23151         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23152         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23153         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23154         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23155         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23156         * nis/nss_compat/compat-initgroups.c (add_group)
23157         (internal_getgrent_r): Likewise.
23158         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23159         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23160         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23161         (internal_getspnam_r): Likewise.
23162         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23163         (_nss_nis_getaliasbyname_r): Likewise.
23164         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23165         (_nss_nis_getntohost_r): Likewise.
23166         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23167         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23168         (_nss_nis_getgrgid_r): Likewise.
23169         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23170         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23171         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23172         (_nss_nis_gethostbyname4_r): Likewise.
23173         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23174         (initgroups_netid): Likewise.
23175         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23176         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23177         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23178         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23179         (_nss_nis_getprotobynumber_r): Likewise.
23180         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23181         (_nss_nis_getsecretkey): Likewise.
23182         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23183         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23184         (_nss_nis_getpwuid_r): Likewise.
23185         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23186         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23187         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23188         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23189         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23190         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23191         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23192         Likewise.
23193         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23194         (_nss_nisplus_getntohost_r): Likewise.
23195         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23196         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23197         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23198         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23199         Likewise.
23200         * nis/nss_nisplus/nisplus-initgroups.c
23201         (_nss_nisplus_initgroups_dyn): Likewise.
23202         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23203         (_nss_nisplus_getnetbyaddr_r): Likewise.
23204         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23205         (_nss_nisplus_getprotobynumber_r): Likewise.
23206         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23207         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23208         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23209         Likewise.
23210         * nis/nss_nisplus/nisplus-service.c
23211         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23212         (_nss_nisplus_getservbyport_r): Likewise.
23213         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23214         (_nss_nisplus_getspnam_r): Likewise.
23215         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23216         Likewise.
23217         * nscd/aicache.c (addhstaiX): Likewise.
23218         * nscd/cache.c (cache_search, prune_cache): Likewise.
23219         * nscd/connections.c (register_traced_file, send_ro_fd)
23220         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23221         (main_loop_epoll): Likewise.
23222         * nscd/grpcache.c (addgrbyX): Likewise.
23223         * nscd/hstcache.c (addhstbyX): Likewise.
23224         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23225         * nscd/mem.c (gc, mempool_alloc): Likewise.
23226         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23227         (addinnetgrX): Likewise.
23228         * nscd/nscd-client.h (__nscd_acquire_maplock)
23229         (__nscd_drop_map_ref): Likewise.
23230         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23231         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23232         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23233         Likewise.
23234         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23235         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23236         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23237         (__nscd_get_map_ref): Likewise.
23238         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23239         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23240         Likewise.
23241         * nscd/pwdcache.c (addpwbyX): Likewise.
23242         * nscd/selinux.c (preserve_capabilities): Likewise.
23243         * nscd/servicescache.c (addservbyX): Likewise.
23244         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23245         * posix/fnmatch.c (fnmatch): Likewise.
23246         * posix/getopt.c (_getopt_internal_r): Likewise.
23247         * posix/glob.c (glob, glob_in_dir): Likewise.
23248         * posix/wordexp.c (exec_comm_child): Likewise.
23249         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23250         (getanswer_r, gaih_getanswer_slice): Likewise.
23251         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23252         * resolv/res_init.c: Likewise.
23253         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23254         * resolv/res_query.c (__libc_res_nquery): Likewise.
23255         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23256         Likewise.
23257         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23258         * stdio-common/perror.c (perror): Likewise.
23259         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23260         * stdio-common/tmpnam.c (tmpnam): Likewise.
23261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23262         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23263         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23264         Likewise.
23265         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23266         * stdlib/putenv.c (putenv): Likewise.
23267         * stdlib/setenv.c (__add_to_environ): Likewise.
23268         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23269         * stdlib/strtol_l.c (INTERNAL): Likewise.
23270         * string/memmem.c (memmem): Likewise.
23271         * string/strerror.c (strerror): Likewise.
23272         * string/strnlen.c (__strnlen): Likewise.
23273         * string/test-memmem.c (simple_memmem): Likewise.
23274         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23275         * sunrpc/pm_getport.c (__get_socket): Likewise.
23276         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23277         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23278         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23279         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23280         Likewise.
23281         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23282         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23283         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23284         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23285         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23286         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23287         Likewise.
23288         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23289         Likewise.
23290         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23291         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23293         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23294         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23296         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23297         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23298         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23299         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23300         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23301         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23302         Likewise.
23303         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23304         Likewise.
23305         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23306         Likewise.
23307         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23308         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23309         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23310         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23311         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23312         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23313         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23314         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23316         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23317         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23318         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23319         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23320         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23322         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23323         Likewise.
23324         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23325         Likewise.
23326         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23327         Likewise.
23328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23329         Likewise.
23330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23332         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23333         Likewise.
23334         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23335         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23336         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23337         * sysdeps/posix/sleep.c: Likewise.
23338         * sysdeps/posix/tempname.c: Likewise.
23339         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23340         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23341         Likewise.
23342         * sysdeps/powerpc/powerpc32/dl-machine.h
23343         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23344         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23346         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23347         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23348         Likewise.
23349         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23350         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23351         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23352         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23353         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23354         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23355         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23356         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23357         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23358         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23359         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23360         (elf_machine_lazy_rel): Likewise.
23361         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23363         (elf_machine_lazy_rel): Likewise.
23364         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23365         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23366         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23367         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23368         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23369         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23370         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23371         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23372         Likewise.
23373         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23374         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23375         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23376         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23377         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23378         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23379         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23380         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23381         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23382         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23383         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23384         Likewise.
23385         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23386         (__posix_fallocate64_l64): Likewise.
23387         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23388         (posix_fallocate): Likewise.
23389         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23390         Likewise.
23391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23392         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23393         (getifaddrs_internal): Likewise.
23394         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23395         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23396         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23397         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23398         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23399         (__posix_fallocate64_l64): Likewise.
23400         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23401         Likewise.
23402         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23403         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23404         (__get_clockfreq): Likewise.
23405         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23406         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23407         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23410         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23411         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23412         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23413         Likewise.
23414         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23415         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23416         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23417         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23418         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23419         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23420         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23421         Likewise.
23422         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23423         (posix_fallocate): Likewise.
23424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23425         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23426         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23427         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23428         (elf_machine_rela, elf_machine_rela_relative)
23429         (elf_machine_lazy_rel): Likewise.
23430         * time/asctime.c (asctime_internal): Likewise.
23431         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23432         * time/tzset.c (__tzset_parse_tz): Likewise.
23433         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23434         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23435         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23436         * wcsmbs/wcsmbsload.h: Likewise.
23438         [BZ #15894]
23439         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23441         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23442         (arena_get2): Remove THREAD_STATS conditionals.
23443         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23444         (__malloc_stats, int): Likewise.
23446 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23448         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23449         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23451         * manual/setjmp.texi: Fix typos/grammar errors.
23453         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23454         Only return early when n is <= 0.  Delete unused return statement.
23456         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23457         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23458         * debug/tst-longjmp_chk3.c: New file.
23460         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23461         (test_main): Replace code with set_fortify_handler call.
23462         * debug/test-strcpy_chk.c: Likewise.
23463         * debug/tst-chk1.c: Likewise.
23464         * debug/tst-longjmp_chk.c: Likewise.
23465         * test-skeleton.c: Include fcntl.h & paths.h
23466         (set_fortify_handler): Define.
23468         * debug/tst-longjmp_chk.c: Add header comment and include
23469         ../test-skeleton.c.
23470         (do_test): Mark static.
23471         (TEST_FUNCTION): Define.
23473         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23474         (IP_PMTUDISC_INTERFACE): Likewise.
23475         (IP_MULTICAST_IF): Likewise.
23476         (IP_MULTICAST_TTL): Likewise.
23477         (IP_MULTICAST_LOOP): Likewise.
23478         (IP_ADD_MEMBERSHIP): Likewise.
23479         (IP_DROP_MEMBERSHIP): Likewise.
23480         (IP_UNBLOCK_SOURCE): Likewise.
23481         (IP_BLOCK_SOURCE): Likewise.
23482         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23483         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23484         (IP_MSFILTER): Likewise.
23485         (MCAST_JOIN_GROUP): Likewise.
23486         (MCAST_BLOCK_SOURCE): Likewise.
23487         (MCAST_UNBLOCK_SOURCE): Likewise.
23488         (MCAST_LEAVE_GROUP): Likewise.
23489         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23490         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23491         (MCAST_MSFILTER): Likewise.
23492         (IP_MULTICAST_ALL): Likewise.
23493         (IP_UNICAST_IF): Likewise.
23495         * timezone/Makefile: Delete $(have-ksh) check.
23496         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23497         * timezone/tzselect.ksh: Add +x mode bits.
23499         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23500         (ANON_INODE_FS_MAGIC): Likewise.
23501         (BDEVFS_MAGIC): Likewise.
23502         (BINFMTFS_MAGIC): Likewise.
23503         (BTRFS_TEST_MAGIC): Likewise.
23504         (CRAMFS_MAGIC_WEND): Likewise.
23505         (DEBUGFS_MAGIC): Likewise.
23506         (ECRYPTFS_SUPER_MAGIC): Likewise.
23507         (EXT3_SUPER_MAGIC): Likewise.
23508         (EXT4_SUPER_MAGIC): Likewise.
23509         (FUTEXFS_SUPER_MAGIC): Likewise.
23510         (HOSTFS_SUPER_MAGIC): Likewise.
23511         (HUGETLBFS_MAGIC): Likewise.
23512         (MINIX3_SUPER_MAGIC): Likewise.
23513         (MTD_INODE_FS_MAGIC): Likewise.
23514         (NILFS_SUPER_MAGIC): Likewise.
23515         (OPENPROM_SUPER_MAGIC): Likewise.
23516         (PIPEFS_MAGIC): Likewise.
23517         (PSTOREFS_MAGIC): Likewise.
23518         (QNX6_SUPER_MAGIC): Likewise.
23519         (RAMFS_MAGIC): Likewise.
23520         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23521         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23522         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23523         (SECURITYFS_MAGIC): Likewise.
23524         (SELINUX_MAGIC): Likewise.
23525         (SMACK_MAGIC): Likewise.
23526         (SOCKFS_MAGIC): Likewise.
23527         (SQUASHFS_MAGIC): Likewise.
23528         (STACK_END_MAGIC): Likewise.
23529         (TMPFS_MAGIC): Likewise.
23530         (USBDEVICE_SUPER_MAGIC): Likewise.
23531         (V9FS_MAGIC): Likewise.
23532         (XENFS_SUPER_MAGIC): Likewise.
23533         (CRAMFS_MAGIC): Fix typo in comment.
23534         (EXT2_SUPER_MAGIC): Update comment.
23535         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23537 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23539         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23540         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23541         * sysdeps/unix/sysv/linux/arm: Move directory from
23542         ports/sysdeps/unix/sysv/linux/arm.
23543         * README: Update listing for arm-*-linux-gnueabi.
23545         * README: Remove mention of am33.
23547 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23549         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23550         than the comma operator, to avoid "rhs of comma has no effect"
23551         compiler warnings.
23552         (__sigfillset, __sigandset, __sigorset): Likewise.
23553         * include/signal.h (__sigemptyset): Likewise.
23554         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23556 2014-02-07  Allan McRae  <allan@archlinux.org>
23558         * version.h (RELEASE): Set to "development".
23559         (VERSION): Set to "2.19.90"
23560         * NEWS: Add 2.20 section.
23562 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23564         [BZ #16529]
23565         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23567 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569         * manual/contrib.texi: Update entry for Carlos O'Donell,
23570         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23572 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23574         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23576         * sysdeps/unix/sysv/linux/kernel-features.h
23577         [__LINUX_KERNEL_VERSION >= 0x020621]
23578         (__ASSUME_PROC_PID_TASK_COMM): Define.
23580 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23582         [BZ #16398]
23583         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23584         conversion when destination buffer does not have enough space.
23585         * libio/tst-ftell-partial-wide.c: New test case.
23586         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23588         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23589         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23590         Leonard and Allan McRae.
23592 2014-02-04  David S. Miller  <davem@davemloft.net>
23594         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23595         32-bit.
23597 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23600         New file
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23602         New file
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23604         New file.
23605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23606         New file.
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23608         New file.
23609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23610         New file.
23611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23612         New file.
23613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23614         New file.
23615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23616         New file.
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23618         New file.
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23620         New file.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23622         New file.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23624         New file.
23626 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23628         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23629         * shlib-versions: Likewise.
23631 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23632             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23634         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23635         (abilist-pattern): New variable, set to %-le.abilist.
23637         * Makerules (abilist-pattern): New variable.
23638         (vpath): Use $(abilist-pattern) in place of %.abilist.
23639         (check-abi-% pattern rule): Likewise.
23640         (check-abi, update-abi): Likewise.
23642 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23646 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23648         * manual/startup.texi: Add next, previous, and top entries for
23649         the `Program Arguments' and `Environment Variables' nodes.
23651 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23653         * manual/macros.texi: Add comments before MTASC-safety macros.
23655         * manual/users.texi: Document MTASC-safety properties.
23657         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23658         (pthread_getspecific, pthread_setspecific): Format with
23659         @deftypefun, and add @safety note.
23660         * manual/signal.texi: Move comments that analyze the above
23661         functions to their home place.
23663 2014-02-03  Allan McRae  <allan@archlinux.org>
23665         * po/sl.po: Update Slovenian translation from translation project.
23667 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23669         * manual/time.texi (timegm): Add missing blank after @c.
23670         Reported by Joseph Myers <joseph@codesourcery.com>.
23672 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23674         * manual/check-safety.sh: New.
23675         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23677         * manual/terminal.texi: Document MTASC-safety properties.
23679         * manual/filesys.texi: Document MTASC-safety properties.
23681         * manual/errno.texi: Document MTASC-safety properties.
23683         * manual/intro.texi: Document safety identifiers and
23684         conditionals.
23686         * manual/string.texi (wcstok): Fix prototype.
23687         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23689         * manual/time.texi: Document MTASC-safety properties.
23691         * manual/string.texi: Document MTASC-safety properties.
23693         * manual/threads.texi: Document MTASC-safety properties.
23695         * manual/stdio.texi: Document MTASC-safety properties.
23697         * manual/syslog.texi: Document MTASC-safety properties.
23699         * manual/sysinfo.texi: Document MTASC-safety properties.
23701         * manual/startup.texi: Document MTASC-safety properties.
23703         * manual/socket.texi: Document MTASC-safety properties.
23705         * manual/signal.texi: Document MTASC-safety properties.
23707 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23709         * manual/setjmp.texi: Document MTASC-safety properties.
23711         * manual/search.texi: Document MTASC-safety properties.
23713         * manual/resource.texi: Document MTASC-safety properties.
23715         * manual/process.texi: Document MTASC-safety properties.
23717         * manual/platform.texi: Document MTASC-safety properties.
23719         * manual/pipe.texi: Document MTASC-safety properties.
23721         * manual/pattern.texi: Document MTASC-safety properties.
23723         * manual/message.texi: Document MTASC-safety properties.
23725         [BZ #12751]
23726         * manual/memory.texi: Document MTASC-safety properties.
23728         * manual/math.texi: Document MTASC-safety properties.
23730         * manual/locale.texi: Document MTASC-safety properties.
23732         * manual/llio.texi: Document MTASC-safety properties.
23734         * manual/libdl.texi: New.
23736         * manual/lang.texi: Document MTASC-safety properties.
23738         * manual/job.texi: Document MTASC-safety properties.
23740         * manual/getopt.texi: Document MTASC-safety properties.
23742         * manual/ctype.texi: Document MTASC-safety properties.
23744 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23746         [BZ #16046]
23747         * csu/libc-tls.c (static_map): Remove variable.
23748         (__libc_setup_tls): Use main executable's link map for TLS data.
23749         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23750         casing for LM_ID_BASE and GL(dl_nns).
23751         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23752         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23753         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23754         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23755         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23756         member.
23757         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23758         l_phnum members.
23760 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23762         * manual/debug.texi: Document MTASC-safety properties.
23764 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23766         [BZ #16510]
23767         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23768         of __x86_64__ when disabling x87 inline functions.
23770 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23772         * manual/charset.texi: Document MTASC-safety properties.
23774         * manual/crypt.texi: Document MTASC-safety properties.
23776         * manual/conf.texi: Document MTASC-safety properties.
23778         * manual/arith.texi: Document MTASC-safety properties.
23780         * manual/argp.texi: Document MTASC-safety properties.
23782         * manual/macros.texi: Introduce macros to document multi
23783         thread, asynchronous signal and asynchronous cancellation
23784         safety properties.
23785         * manual/intro.texi: Introduce the properties themselves.
23787 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23789         * sysdeps/sh/sh4/Makefile: New file.
23791 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23793         * math/gen-libm-test.pl ($srcdir): New variable.
23794         ($auto_input): Use it.
23796 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23798         [BZ #16506]
23799         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23800         access beyond array bounds when parsing netgroups file.
23802         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23803         the old buffer before realloc.
23805 2014-01-27  Allan McRae  <allan@archlinux.org>
23807         * po/fr.po: Update French translation from translation project.
23809 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23811         * sysdeps/sh/libm-test-ulps: Regenerate.
23813 2014-01-24  David S. Miller  <davem@davemloft.net>
23815         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23817 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23819         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23820         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23822 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23824         [BZ #16474]
23825         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23826         string pointers after reallocation.
23828 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23830         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23831         __SH4A__ instead of __SH_FPU_ANY__.
23833 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23835         * sysdeps/sh/fpu_control.h: New file.
23836         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23837         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23838         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23839         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23840         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23841         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23842         * sysdeps/sh/sys/ucontext.h: Remove.
23843         * sysdeps/sh/sys: Remove directory.
23845 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23847         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23848         s390/sys/ucontext.h.
23849         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23850         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23852 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23854         [BZ #15605]
23855         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23857 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23859         [BZ#16431]
23860         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23861         Adjust the vDSO correctly for internal calls.
23862         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23864 2014-01-20  Allan McRae  <allan@archlinux.org>
23866         * po/ca.po: Update Catalan translation from translation project.
23868 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23870         * sysdeps/s390/sotruss-lib.c: New file.
23872 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23874         [BZ#16430]
23875         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23876         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23877         local calls issues by not having a PLT stub required for IFUNC calls.
23878         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23880 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23882         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23883         * math/test-fpucw-static.c: Likewise.
23885 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23887         [BZ #16453]
23888         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23890 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23892         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23893         implementation for powerpc.
23895 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23897         [BZ #14782]
23898         * sysdeps/posix/system.c (__libc_system): Do not enable
23899         asynchronous cancellation.
23901 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23903         [BZ #16427]
23904         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23905         handling only for numbers special also in the IEEE case.
23907 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23909         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23911 2014-01-11  Allan McRae  <allan@archlinux.org>
23913         * po/bg.po: Update Bulgarian translation from translation project.
23915         * po/de.po: Update German translation from translation project.
23917 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23919         * sysdeps/generic/gcc-compat.h: New file.
23921 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23923         * benchtests/asin-inputs: Correct slow inputs.
23924         * benchtests/acos-inputs: Likewise.
23926 2014-01-10  Allan McRae  <allan@archlinux.org>
23928         * po:sv.po: Update Swedish translation from translation project.
23930         * po/vi.po: Update Vietnamese translation from translation project.
23932         * po/eo.po: Update Esperanto translation from translation project.
23934         * po/cs.po: Update Czech translation from translation project.
23936         * po/nl.po: Update Dutch translation from translation project.
23938         * po/pl.po: Update Polish translation from translation project.
23940         * po/ru.po: Update Russian translation from translation project.
23942         * po/uk.po: Update Ukrainian translation from translation project.
23944 2014-01-08  Brooks Moses  <bmoses@google.com>
23946         * elf/dl-load.c: Fix comment typo.
23948 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23950         * po/header.pot: Rename to...
23951         * po/pot.header: ... this.
23952         * po/Makefile: Use pot.header.
23954 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23955             Maxim Kuvyrkov  <maxim@kugelworks.com>
23957         [BZ #16394]
23958         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23959         SRC and DEST against LEN.
23961 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23963         [BZ #16414]
23964         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23965         implementation.
23966         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23968 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23972 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23974         [BZ #16408]
23975         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23976         for large positive arguments.
23978 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23980         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23982         * math/auto-libm-test-in: Mark various tests with
23983         xfail-rounding:ldbl-128ibm.
23984         * math/auto-libm-test-out: Regenerated.
23986         [BZ #16407]
23987         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23988         Increase overflow threshold.
23990 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23992         [BZ #14286]
23993         * stdio-common/vfprintf.c: Check for integer overflow.
23995 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23997         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23998         the first argument and return value of __tls_get_addr_internal.
24000 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24002         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24003         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24005 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24007         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24008         * sysdeps/s390/rtld-global-offsets.sym: New file.
24009         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24010         GLIBC_2.19 symbol.
24011         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24012         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24013         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24014         ... this.
24015         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24016         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24017         ... this.
24018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24019         Regenerate.
24020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24021         Regenerate.
24022         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24023         halfs of GPRs for high_gprs contexts.
24024         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24025         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24026         field.
24027         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24028         uc_flags field.
24029         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24030         64 bit versions:
24031         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24032         for high GPRs (uc_high_gprs) and for future extensions
24033         (__reserved).
24034         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24035         for future extensions (__reserved).
24036         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24037         64 bit versions:
24038         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24039         SC_HIGHGPRS offset definition.
24040         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24041         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24043         * Versions.def: Add GLIBC_2.19 for libpthread.
24044         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24045         siglongjmp for libpthread with GLIBC_2.19 symver.
24046         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24047         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24048         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24049         * sysdeps/s390/__longjmp.c: New file.
24050         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24051         * sysdeps/s390/longjmp.c: New file.
24052         * sysdeps/s390/setjmp.S: New file.
24053         * sysdeps/s390/sigjmp.S: New file.
24054         * sysdeps/s390/v1-longjmp.c: New file.
24055         * sysdeps/s390/v1-setjmp.h: New file.
24056         * sysdeps/s390/v1-sigjmp.c: New file.
24057         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24058         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24059         GLIBC_2.19 version.
24060         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24061         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24062         versioned symbols for ____longjmp_chk.
24063         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24064         Likewise.
24065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24066         Regenerate.
24067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24068         Regenerate.
24069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24070         Regenerate.
24071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24072         Regenerate.
24073         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24074         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24075         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24076         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24077         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24078         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24079         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24080         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24081         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24082         * sysdeps/s390/rtld-__longjmp.c: New file.
24083         * sysdeps/s390/rtld-setjmp.S: New file.
24085 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24087         [BZ #16400]
24088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24089         Return -__logl (x) for small positive arguments without evaluating
24090         a polynomial.
24092 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24094         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24095         Rename to ...
24096         (__ptrace_peeksiginfo_args): ... this.
24097         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24098         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24099         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24101 2014-01-06  Allan McRae  <allan@archlinux.org>
24103         * inet/netinet/in.h: Fix typo in comment.
24105 2014-01-05  Andreas Jaeger  <aj@suse.de>
24107         * sysdeps/i386/fpu/libm-test-ulps: Update.
24109 2014-01-05  Allan McRae  <allan@archlinux.org>
24111         * po/libc.pot: Regenerated.
24113         * malloc/memusagestat.c: Fix gettext call formatting.
24115 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24117         * nscd/nscd.c: Improve usage() output.
24119 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24121         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24122         * sysdeps/unix/sysv/linux/configure: Regenerated.
24123         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24124         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24126 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24128         [BZ #16390]
24129         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24130         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24132 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24134         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24135         extra tokens at end of #undef directive.
24136         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24137         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24140 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24142         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24144         * math/auto-libm-test-in: Mark various tests with
24145         xfail-rounding:ldbl-128ibm.
24146         * math/auto-libm-test-out: Regenerated.
24148 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24150         [BZ #16386]
24151         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24152         numbers with subnormal high part when calculating exponent.
24154         [BZ #16385]
24155         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24156         fabs.
24158         [BZ #16384]
24159         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24160         M_LN2l.
24161         (__ieee754_acoshl): Use __log1pl not __log1p.
24163 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24165         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24166         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24167         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24168         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24169         (reused_arena, arena_get2): Convert to GNU style.
24170         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24171         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24172         (memalign_check, __malloc_set_state): Likewise.
24173         * malloc/mallocbug.c (main): Likewise.
24174         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24175         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24176         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24177         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24178         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24179         (__posix_memalign, malloc_info): Likewise.
24180         * malloc/malloc.h: Likewise.
24181         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24182         (mallochook, memalignhook, reallochook, mabort): Likewise.
24183         * malloc/mcheck.h: Likewise.
24184         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24185         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24186         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24187         * malloc/morecore.c (__default_morecore): Likewise.
24188         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24189         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24190         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24191         (print_and_abort): Likewise.
24192         * malloc/obstack.h: Likewise.
24193         * malloc/set-freeres.c (__libc_freeres): Likewise.
24194         * malloc/tst-mallocstate.c (main): Likewise.
24195         * malloc/tst-mtrace.c (main): Likewise.
24196         * malloc/tst-realloc.c (do_test): Likewise.
24198 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24200         [BZ #16366]
24201         * nscd/netgroupcache.c (do_notfound): New function.
24202         (addgetnetgrentX): Use it.
24204         [BZ # 16365]
24205         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24206         NSS_STATUS_NOTFOUND.
24208 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24210         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24213 2014-01-01  Allan McRae  <allan@archlinux.org>
24215         * scripts/update-copyrights: Update configure input file suffix.
24217         * NEWS: Update copyright year.
24218         * catgets/gencat.c: Likewise.
24219         * csu/version.c: Likewise.
24220         * debug/catchsegv.sh: Likewise.
24221         * debug/pcprofiledump.c: Likewise.
24222         * debug/xtrace.sh: Likewise.
24223         * elf/ldconfig.c: Likewise.
24224         * elf/ldd.bash.in: Likewise.
24225         * elf/pldd.c: Likewise.
24226         * elf/sotruss.ksh: Likewise.
24227         * elf/sprof.c: Likewise.
24228         * iconv/iconv_prog.c: Likewise.
24229         * iconv/iconvconfig.c: Likewise.
24230         * locale/programs/locale.c: Likewise.
24231         * locale/programs/localedef.c: Likewise.
24232         * login/programs/pt_chown.c: Likewise.
24233         * malloc/memusage.sh: Likewise.
24234         * malloc/memusagestat.c: Likewise.
24235         * malloc/mtrace.pl: Likewise.
24236         * manual/libc.texinfo: Likewise.
24237         * nscd/nscd.c: Likewise.
24238         * nss/getent.c: Likewise.
24239         * nss/makedb.c: Likewise.
24240         * posix/getconf.c: Likewise.
24241         * scripts/test-installation.pl: Likewise.
24243         * All files with FSF copyright notices: Update copyright dates
24244         using scripts/update-copyrights.
24245         * intl/plural.c: Regenerated.
24246         * locale/programs/charmap-kw.h: Likewise.
24247         * locale/programs/locfile-kw.h: Likewise.
24249 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24251         * sysdeps/unix/sysv/linux/configure: Regenerated.
24252         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24253         the linux/fanotify.h header.
24254         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24255         HAVE_LINUX_FANOTIFY_H is defined.
24257 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24259         * benchtests/cos-inputs: New inputs.
24260         * benchtests/sin-inputs: Likewise.
24262         * benchtests/atan-inputs: New inputs. Fix name of multiple
24263         precision fallback inputs.
24265         * benchtests/atanh-inputs: New inputs.
24266         * benchtests/tanh-inputs: Likewise.
24268         * benchtests/acosh-inputs: New inputs.
24269         * benchtests/asinh-inputs: Likewise.
24271         * benchtests/cosh-inputs: New inputs.
24272         * benchtests/sinh-inputs: Likewise.
24274         * benchtests/acos-inputs: Add more inputs.
24275         * benchtests/asin-inputs: Likewise.
24277 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24279         [BZ #16375]
24280         * manual/arith.texi: Fix spelling.
24281         * manual/charset.texi: Likewise.
24282         * manual/errno.texi: Likewise.
24283         * manual/filesys.texi: Likewise.
24284         * manual/lang.texi: Likewise.
24285         * manual/llio.texi: Likewise.
24286         * manual/locale.texi: Likewise.
24287         * manual/message.texi: Likewise.
24288         * manual/resource.texi: Likewise.
24289         * manual/search.texi: Likewise.
24290         * manual/setjmp.texi: Likewise.
24291         * manual/stdio.texi: Likewise.
24292         * manual/string.texi: Likewise.
24293         * manual/sysinfo.texi: Likewise.
24294         * manual/time.texi: Likewise.
24296 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24298         * po/sl.po: New file.
24300 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24302         * .gitignore: Add core/.gdbinit/.gdb_history.
24304 2013-12-27  Allan McRae  <allan@archlinux.org>
24306         [BZ #16369]
24307         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24308         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24310 2013-12-24  Brooks Moses  <bmoses@google.com>
24312         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24313         all compilers that claim C++98 compliance, not just GCC.
24314         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24315         Likewise.
24317 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24319         * NEWS: Restore accidentally deleted bug-fix entries.
24321 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24322             Ondřej Bílka  <neleai@seznam.cz>
24324         [BZ #15073]
24325         * malloc/malloc.c (_int_free): Perform sanity check only if we
24326         have_lock.
24328 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24330         [BZ #12986]
24331         * manual/stdio.texi (String Input Conversions): Clarify that character
24332         classes are not supported.
24334 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24338 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24340         [BZ #16337]
24341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24342         Calculate results for small negative arguments directly rather
24343         than using reflection formula with special underflow handling.
24345         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24346         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24347         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24348         (fchflags): Likewise.
24349         (revoke): Likewise.
24350         (setlogin): Likewise.
24351         (sigaltstack): Likewise.
24352         (wait4): Likewise.
24353         (sigblock): Remove.
24354         (sigsetmask): Likewise.
24355         (wait3): Likewise.
24356         (waitpid): Likewise.
24357         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24358         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24359         file.
24360         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24361         * sysdeps/unix/bsd/Makefile: ... here.
24362         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24363         * sysdeps/unix/bsd/Versions: ... here.
24364         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24365         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24366         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24367         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24368         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24369         * sysdeps/unix/bsd/sigblock.c: ... here.
24370         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24371         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24372         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24373         * sysdeps/unix/bsd/sigvec.c: ... here.
24374         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24375         * sysdeps/unix/bsd/tcdrain.c: ... here.
24376         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24377         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24378         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24379         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24380         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24381         * sysdeps/unix/bsd/wait.c: ... here.
24382         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24383         * sysdeps/unix/bsd/wait3.c: ... here.
24384         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24385         * sysdeps/unix/bsd/waitpid.c: ... here.
24387 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24389         [BZ #16356]
24390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24391         round-to-nearest for [!USE_AS_EXPM1L].
24392         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24393         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24394         more tests of exp and exp10.  Expect some exp10 tests to miss
24395         exceptions or fail in directed rounding modes.
24396         * math/auto-libm-test-out: Regenerated.
24397         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24398         (exp10_test_tonearest): New function.
24399         (exp10_towardzero_test_data): New array.
24400         (exp10_test_towardzero): New function.
24401         (exp10_downward_test_data): New array.
24402         (exp10_test_downward): New function.
24403         (exp10_upward_test_data): New array.
24404         (exp10_test_upward): New function.
24405         (main): Call the new functions.
24406         * sysdeps/i386/fpu/libm-test-ulps: Update.
24407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24409 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24411         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24412         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24413         * math/auto-libm-test-out: Regenerated.
24414         * math/libm-test.inc (acosh_test_data): Add more tests.
24415         (atanh_test_data): Likewise.
24416         (ceil_test_data): Likewise.
24417         (copysign_test_data): Likewise.
24418         * sysdeps/i386/fpu/libm-test-ulps: Update.
24419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24421         * timezone/checktab.awk: Update from tzcode 2013i.
24422         * timezone/private.h: Likewise.
24423         * timezone/scheck.c: Likewise.
24424         * timezone/tzfile.h: Likewise.
24425         * timezone/tzselect.ksh: Likewise.
24426         * timezone/zdump.c: Likewise.
24427         * timezone/zic.c: Likewise.
24429         * math/auto-libm-test-in: Add tests of cpow.
24430         * math/auto-libm-test-out: Regenerated.
24431         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24432         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24433         mpc_cc_c.
24434         (func_calc_desc): Add mpc_cc_c union field.
24435         (test_functions): Add cpow.
24436         (special_fill_2pi): New function.
24437         (special_real_inputs): Add 2pi.
24438         (calc_generic_results): Handle mpc_cc_c.
24439         * sysdeps/i386/fpu/libm-test-ulps: Update.
24440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24442         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24443         csqrt, ctan and ctanh.
24444         * math/auto-libm-test-out: Regenerated.
24445         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24446         (TEST_COND_x86): Likewise.
24447         (ccos_test_data): Use AUTO_TESTS_c_c.
24448         (ccosh_test_data): Likewise.
24449         (cexp_test_data): Likewise.
24450         (clog_test_data): Likewise.
24451         (csqrt_test_data): Likewise.
24452         (ctan_test_data): Likewise.
24453         (ctan_tonearest_test_data): Likewise.
24454         (ctan_towardzero_test_data): Likewise.
24455         (ctan_downward_test_data): Likewise.
24456         (ctan_upward_test_data): Likewise.
24457         (ctanh_test_data): Likewise.
24458         (ctanh_tonearest_test_data): Likewise.
24459         (ctanh_towardzero_test_data): Likewise.
24460         (ctanh_downward_test_data): Likewise.
24461         (ctanh_upward_test_data): Likewise.
24462         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24463         mpc_c_c.
24464         (func_calc_desc): Add mpc_c_c union field.
24465         (FUNC_mpc_c_c): New macro.
24466         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24467         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24468         ctanh.
24469         (special_fill_min_subnorm_p120): New function.
24470         (special_real_inputs): Add min_subnorm_p120.
24471         (calc_generic_results): Handle mpc_c_c.
24472         * sysdeps/i386/fpu/libm-test-ulps: Update.
24473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24477         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24478         (do_sin_slow): New functions.
24479         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24480         (cslow2, csloww1, csloww2): Use the new functions.
24482         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24483         Use M to change sign of result instead of X.  Assume X is
24484         positive.
24485         (csloww1): Likewise.
24486         (__sin): Adjust.
24487         (__cos): Adjust.
24489         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24490         arguments A and DA.
24491         (__sin): Adjust.
24492         (__cos): Likewise.
24494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24495         (__cos): Likewise.
24496         (sloww1): Don't adjust sign of DX.
24497         (csloww1): Likewise.
24498         (sloww2): Use X directly and don't adjust sign of DX.
24499         (csloww2): Likewise.
24501 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24503         * math/auto-libm-test-in: Add tests of cabs and carg.
24504         * math/auto-libm-test-out: Regenerated.
24505         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24506         (carg_test_data): Likewise.
24507         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24508         mpc_c_f.
24509         (func_calc_desc): Add mpc_c_f union field.
24510         (test_functions): Add cabs and carg.
24511         (calc_generic_results): Handle mpc_c_f.
24513         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24514         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24515         as a macro and a compat symbol.
24516         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24517         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24518         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24519         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24520         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24521         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24522         not use .hidden.
24523         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24524         Likewise.
24525         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24526         Likewise.
24527         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24528         Likewise.
24529         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24530         Likewise.
24531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24532         Likewise.
24533         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24534         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24535         from GLIBC_2.3.2.
24537 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24541 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24543         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24544         trailing whitespace removed.
24545         * scripts/config.guess: Update to version 2013-11-29.
24546         * scripts/config.sub: Update to version 2013-10-01.
24548         * math/auto-libm-test-in: Add tests of sincos.
24549         * math/auto-libm-test-out: Regenerated.
24550         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24552         mpfr_f_11.
24553         (func_calc_desc): Add mpfr_f_11 union field.
24554         (test_functions): Add sincos.
24555         (calc_generic_results): Handle mpfr_f_11.
24556         * sysdeps/i386/fpu/libm-test-ulps: Update.
24557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559 2013-12-19  Andreas Schwab  <schwab@suse.de>
24561         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24562         CALL_MCOUNT.
24563         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24564         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24565         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24567 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24569         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24570         * sysdeps/i386/fpu/libm-test-ulps: Update.
24571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24573         [BZ #16293]
24574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24575         round-to-nearest mode when using frndint.
24576         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24577         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24578         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24579         Likewise.
24580         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24581         sinh test to fail.
24582         * math/auto-libm-test-out: Regenerated.
24583         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24584         (TEST_COND_x86): Likewise.
24585         (expm1_tonearest_test_data): New array.
24586         (expm1_test_tonearest): New function.
24587         (expm1_towardzero_test_data): New array.
24588         (expm1_test_towardzero): New function.
24589         (expm1_downward_test_data): New array.
24590         (expm1_test_downward): New function.
24591         (expm1_upward_test_data): New array.
24592         (expm1_test_upward): New function.
24593         (main): Run the new test functions.
24594         * sysdeps/i386/fpu/libm-test-ulps: Update.
24595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24597         * include/features.h: Update comment documenting feature test
24598         macros.  Mention _DEFAULT_SOURCE in comment.
24599         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24600         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24601         _BSD_SOURCE and _SVID_SOURCE.
24602         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24603         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24604         !_SVID_SOURCE]: Likewise.
24605         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24606         (__USE_POSIX_IMPLICITLY): Define.
24607         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24608         (_POSIX_SOURCE): Undefine and redefine.
24609         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24610         (_POSIX_C_SOURCE): Likewise.
24611         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24612         (Feature Test Macros): Update documentation of default features.
24614 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24616         * benchtests/Makefile: Add bench-strtok.
24617         * benchtests/bench-strtok.c: New file: strtok benchtest.
24619 2013-12-19  Allan McRae  <allan@archlinux.org>
24621         * manual/install.texi: Suppress menu for plain text output.
24622         * INSTALL: Regenerated.
24624 2013-12-18  Brooks Moses  <bmoses@google.com>
24626         [BZ #15846]
24627         * misc/getauxval.c: Include errno.h.
24628         (__getauxval): Set errno to ENOENT if the requested type is not
24629         found.
24630         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24631         don't declare with __attribute_const__.
24632         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24633         * manual/startup.texi: Document that getauxval sets errno.
24635 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24637         * math/auto-libm-test-in: Add tests of jn and yn.
24638         * math/auto-libm-test-out: Regenerated.
24639         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24640         (yn_test_data): Likewise.
24641         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24642         mpfr_if_f.
24643         (func_calc_desc): Add mpfr_if_f union field.
24644         (FUNC_mpfr_if_f): New macro.
24645         (test_functions): Add jn and yn.
24646         (calc_generic_results): Assert type of second input for
24647         mpfr_ff_f.  Handle mpfr_if_f.
24648         (output_for_one_input_case): Disable all checking for arguments
24649         fitting floating-point types in case of an integer argument.
24650         * sysdeps/i386/fpu/libm-test-ulps: Update.
24651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24654         Don't expect fegetround reference in libm.so.
24656 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24658         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24659         $(config-cflags-nofma).
24661 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24663         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24664         * math/auto-libm-test-out: Regenerated.
24666         [BZ #16338]
24667         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24668         to determine exponent and adjust argument to have exponent of -1.
24669         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24670         log2.
24671         * math/auto-libm-test-out: Regenerated.
24672         * sysdeps/i386/fpu/libm-test-ulps: Update.
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24677         * manual/probes.texi: Remove cases when per-thread arenas are
24678         disabled.
24680 2013-12-18  Andreas Schwab  <schwab@suse.de>
24682         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24683         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24684         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24685         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24686         * sysdeps/i386/i686/multiarch/Makefile: Update.
24687         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24689 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24691         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24692         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24694 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24696         [BZ #15968]
24697         Support TZ transition times < 00:00:00.
24698         This is needed for version-3 tz-format files; it supports time
24699         stamps past 2037 for America/Godthab (the only entry in the tz
24700         database for which this change is relevant).
24701         * manual/time.texi (TZ Variable): Document transition times
24702         from -167:59:59 through -00:00:01.
24703         * time/tzset.c (tz_rule): Time of day is now signed.
24704         (__tzset_parse_tz): Parse negative time of day.
24706         Document TZ transition times >= 25:00:00.
24707         * manual/time.texi (TZ Variable): Document transition times from
24708         25:00:00 through 167:59:59.  These are already supported, and this
24709         support will help with version-3 tz-format files.
24711         * manual/time.texi (TZ Variable): Modernize North America example
24712         to reflect current (i.e., 2007-and-later) daylight saving rules.
24714         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24716 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24718         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24719         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24722         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24723         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24724         * sysdeps/unix/bsd/clock.c: Likewise.
24725         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24726         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24727         * sysdeps/unix/bsd/init-posix.c: Likewise.
24728         * sysdeps/unix/bsd/poll.c: Likewise.
24729         * sysdeps/unix/bsd/ptsname.c: Likewise.
24730         * sysdeps/unix/bsd/seekdir.c: Likewise.
24731         * sysdeps/unix/bsd/setegid.c: Likewise.
24732         * sysdeps/unix/bsd/seteuid.c: Likewise.
24733         * sysdeps/unix/bsd/setgid.c: Likewise.
24734         * sysdeps/unix/bsd/setrgid.c: Likewise.
24735         * sysdeps/unix/bsd/setruid.c: Likewise.
24736         * sysdeps/unix/bsd/setsid.c: Likewise.
24737         * sysdeps/unix/bsd/setuid.c: Likewise.
24738         * sysdeps/unix/bsd/sigaction.c: Likewise.
24739         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24740         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24741         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24742         * sysdeps/unix/bsd/telldir.c: Likewise.
24743         * sysdeps/unix/bsd/times.c: Likewise.
24744         * sysdeps/unix/bsd/usleep.c: Likewise.
24746         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24747         ($(objpfx)libbsd-compat.a): Remove rule.
24749         * include/features.h (__FAVOR_BSD): Do not define.
24750         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24751         features conflicting with POSIX.
24752         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24753         (_BSD_SOURCE): Remove description of not being a subset of other
24754         feature test macros.
24755         * manual/job.texi (getpgrp): Do not document BSD version.
24756         (getpgid): Do not document by reference to BSD getpgrp.
24757         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24758         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24759         * signal/signal.h [__FAVOR_BSD]: Likewise.
24760         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24761         instead of making contents conditional on [__FAVOR_BSD].
24762         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24764 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24768 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24770         [BZ #16314]
24771         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24772         values below 2**-450, not 2**-500.
24773         * math/auto-libm-test-in: Don't allow spurious underflow from
24774         hypot.
24775         * math/auto-libm-test-out: Regenerated.
24777         [BZ #16316]
24778         [BZ #16330]
24779         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24780         values of ha and hb and sort them after adjusting subnormal
24781         arguments.
24782         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24783         Likewise.
24784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24785         values of ea and eb and sort them after adjusting subnormal
24786         arguments.
24787         * math/auto-libm-test-in: Do not expect some hypot tests of
24788         subnormals to fail.  Add more hypot tests.
24789         * math/auto-libm-test-out: Regenerated.
24791 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24793         [BZ #13304]
24794         * sysdeps/sh/s_fma.c: New file.
24795         * sysdeps/sh/s_fmaf.c: New file.
24796         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24797         version.
24798         * sysdeps/sh/Implies: Add sh/soft-fp.
24800 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24802         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24803         level of indirection to members `objname', `errstring', `malloced'.
24804         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24805         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24806         it as the __longjmp argument (just pass 1 instead).
24807         (_dl_catch_error): Initialize C with argument pointers and address of
24808         volatile local ERRCODE rather than copying values out of C at return.
24810 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24812         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24813         * math/auto-libm-test-out: Regenerated.
24814         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24815         (hypot_test_data): Likewise.
24816         (pow_test_data): Likewise.
24817         (pow_tonearest_test_data): Likewise.
24818         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24819         mpfr_ff_f.
24820         (func_calc_desc): Add mpfr_ff_f union field.
24821         (FUNC_mpfr_ff_f): New macro.
24822         (test_functions): Add atan2, hypot and pow.
24823         (special_fill_min): New function.
24824         (special_fill_minus_min): Likewise.
24825         (special_fill_min_subnorm): Likewise.
24826         (special_fill_minus_min_subnorm): Likewise.
24827         (special_real_inputs): Add min, -min, min_subnorm and
24828         -min_subnorm.
24829         (calc_generic_results): Handle mpfr_ff_f.
24830         * sysdeps/i386/fpu/libm-test-ulps: Update.
24831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24833 2013-12-16  Will Newton  <will.newton@linaro.org>
24835         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24836         (Aligned Memory Blocks): Add documentation for aligned_alloc
24837         and suggest it as an alternative to posix_memalign.
24838         (Hooks for Malloc): Document __memalign_hook is also called
24839         for aligned_alloc.  (Summary of Malloc): Add summary for
24840         aligned alloc.  Document __memalign_hook is also called
24841         for aligned_alloc.
24843 2013-12-16  Will Newton  <will.newton@linaro.org>
24845         * manual/memory.texi (Malloc Examples): Clarify default
24846         alignment documentation.  Suggest posix_memalign rather
24847         than memalign or valloc.
24848         (Aligned Memory Blocks): Remove suggestion to use memalign
24849         or valloc.  Remove obsolete comment about BSD.
24850         Document memalign errno values and mark the function obsolete.
24851         Document posix_memalign returned error codes.  Mark valloc
24852         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24853         called for posix_memalign and valloc.
24854         (Summary of Malloc): Add posix_memalign to function summary.
24855         __memalign_hook is also called for posix_memalign and valloc.
24857 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24860         TAYLOR_SIN.
24861         (__sin): Adjust.
24862         (__cos): Likewise.
24863         (sloww): Use mynumber union.  Expand ternary operator into
24864         if-else statements.
24865         (cslow): use mynumber union.
24867 2013-12-16  Allan McRae  <allan@archlinux.org>
24869         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24870         * configure: Regenerated.
24872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24874         [BZ #14120]
24875         * configure.ac: Added --enable-maintainer-mode. Check for
24876         autoconf when enabled.
24877         * configure: Regenerated.
24879         * nscd/nscd.service: New file.
24880         * nscd/nscd.tmpfiles: New file.
24882 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24884         [BZ #12100]
24885         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24886         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24887         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24888         (strstr): Add __strstr_sse2_unaligned ifunc.
24889         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24890         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24891         (strcasestr): Remove __strcasestr_sse42 ifunc.
24892         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24896 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24898         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24899         * sysdeps/sh/bits/fenv.h: ... here.
24900         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24902 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24904         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24907         hypotf multiarch implementations.
24908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24910         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24911         multiarch hypot for PPC64.
24912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24914         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24915         multiarch hypotf for PPC64.
24917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24918         modff multiarch implementations.
24919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24922         multiarch modf for PPC64.
24923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24926         multiarch modff for PPC64.
24928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24929         and logl multiarch implementations.
24930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24933         multiarch logb for PPC64.
24934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24937         multiarch logb for PPC64.
24938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24941         multiarch logb for PPC64.
24943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24944         isinff multiarch implementation.
24945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24946         file.
24947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24949         multiarch isinf for PPC64.
24950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24951         file.
24952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24953         multiarch isinff for PPC64.
24955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24956         finitef multiarch implementation.
24957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24958         file.
24959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24961         multiarch finite for PPC64.
24962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24963         file.
24964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24965         multiarch finitef for PPC64.
24967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24968         lrint multiarch implementation.
24969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24970         file.
24971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24973         multiarch llrint for PPC64.
24974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24975         multiarch lrint for PPC64.
24977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24978         copysignf multiarch implementation.
24979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24980         file.
24981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24982         file.
24983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24984         multiarch copysign for PPC64.
24985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24986         multiarch copysignf for PPC64.
24988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24989         multiarch implementation.
24990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24991         file.
24992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24993         file.
24994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24995         file.
24996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24997         file.
24998         multiarch llround for PPC64.
24999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25000         multiarch trunc for PPC64.
25001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25002         multiarch truncf for PPC64.
25004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25005         multiarch implementation.
25006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25007         file.
25008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25009         file.
25010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25011         file.
25012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25013         file.
25014         multiarch llround for PPC64.
25015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25016         multiarch round for PPC64.
25017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25018         multiarch roundf for PPC64.
25020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25021         multiarch implementation.
25022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25023         file.
25024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25025         file.
25026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25027         file.
25028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25029         file.
25030         multiarch llround for PPC64.
25031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25032         multiarch floor for PPC64.
25033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25034         multiarch floorf for PPC64.
25036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25037         multiarch implementation.
25038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25039         file.
25040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25041         file.
25042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25043         file.
25044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25045         file.
25046         multiarch llround for PPC64.
25047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25048         multiarch ceil for PPC64.
25049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25050         multiarch ceilf for PPC64.
25052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25053         multiarch implementation.
25054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25055         file.
25056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25057         file.
25058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25059         file.
25060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25061         multiarch llround for PPC64.
25062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25063         multiarch lround for PPC64.
25065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25066         multiarch implementation.
25067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25070         file.
25071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25074         multiarch isnan for PPC64.
25075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25076         multiarch isnanf for PPC64.
25078         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25079         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25080         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25081         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25082         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25085         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25086         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25087         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25091         multiarch implementations.
25092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25093         (__libc_ifunc_impl_list): Likewise.
25094         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25095         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25096         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25097         multiarch stpcpy for PPC64.
25099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25100         multiarch implementations.
25101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25102         (__libc_ifunc_impl_list): Likewise.
25103         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25104         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25105         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25106         multiarch strcpy for PPC64.
25108         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25109         redefine function name.
25110         (_wordcopy_fwd_dest_aligned): Likewise.
25111         (_wordcopy_bwd_aligned): Likewise.
25112         (_wordcopy_bwd_dest_aligned): Likewise.
25113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25114         multiarch implementations.
25115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25116         (__libc_ifunc_impl_list): Likewise.
25117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25120         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25121         multiarch wcscpy for PPC64.
25123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25124         multiarch implementations.
25125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25126         (__libc_ifunc_impl_list): Likewise.
25127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25128         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25129         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25130         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25131         multiarch wcscpy for PPC64.
25133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25134         multiarch implementations.
25135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25136         (__libc_ifunc_impl_list): Likewise.
25137         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25138         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25139         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25140         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25141         multiarch wcsrchr for PPC64.
25143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25144         multiarch implementations.
25145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25146         (__libc_ifunc_impl_list): Likewise.
25147         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25148         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25149         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25150         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25151         multiarch wcschr for PPC64.
25153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25154         multiarch implementations.
25155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25156         (__libc_ifunc_impl_list): Likewise.
25157         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25158         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25159         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25160         multiarch strchrnul for PPC64.
25162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25163         implementations.
25164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25165         (__libc_ifunc_impl_list): Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25167         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25168         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25169         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25170         strchr for PPC64.
25172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25173         implementations.
25174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25175         (__libc_ifunc_impl_list): Likewise.
25176         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25177         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25178         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25179         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25180         strncmp for PPC64.
25182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25183         multiarch implementations.
25184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25185         (__libc_ifunc_impl_list): Likewise.
25186         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25187         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25188         strncasecmp for PPC64.
25189         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25190         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25191         multiarch strncasecmp_l for PPC64.
25193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25194         multiarch implementations.
25195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25196         (__libc_ifunc_impl_list): Likewise.
25197         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25199         multiarch strcasecmp for PPC64.
25200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25201         file.
25202         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25203         multiarch strcasecmp_l for PPC64.
25205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25206         implementations.
25207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25208         (__libc_ifunc_impl_list): Likewise.
25209         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25210         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25211         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25212         strnlen for PPC64.
25214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25215         implementations.
25216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25217         (__libc_ifunc_impl_list): Likewise.
25218         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25219         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25220         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25221         strlen for PPC64.
25223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25224         implementations.
25225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25226         (__libc_ifunc_impl_list): Likewise.
25227         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25228         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25229         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25230         rawmemrchr for PPC64.
25232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25233         implementation.
25234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25235         (__libc_ifunc_impl_list): Likewise.
25236         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25237         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25238         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25239         memrchr for PPC64.
25241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25242         implementation.
25243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25244         (__libc_ifunc_impl_list): Likewise.
25245         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25246         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25247         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25248         memchr for PPC64.
25250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25251         implementation.
25252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25253         (__libc_ifunc_impl_list): Likewise.
25254         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25255         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25256         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25257         mempcpy for PPC64.
25259         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25260         avoid cretion of __bzero symbol.
25261         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25262         Likewise.
25263         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25264         Likewise.
25265         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25266         Likewise.
25267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25268         multiarch implementations.
25269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25270         (__libc_ifunc_impl_list): Likewise.
25271         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25272         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25273         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25274         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25275         bzero for PPC32.
25276         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25277         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25278         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25279         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25280         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25281         memset for PPC64.
25282         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25284         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25286         implementations.
25287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25288         (__libc_ifunc_impl_list): Likewise.
25289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25290         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25291         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25292         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25293         memcmp for PPC64.
25295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25296         multiarch for POWER/PPC64.
25297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25298         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25304         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25305         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25306         memcpy for PPC64.
25308         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25309         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25310         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25311         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25312         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25313         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25314         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25315         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25316         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25317         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25318         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25319         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25320         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25321         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25322         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25331 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25333         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25335 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25337         * benchtests/Makefile (bench): Add exp2 and log2.
25338         (LDLIBS-bench-exp2): Add -lm.
25339         (LDLIBS-bench-log2): Likewise.
25340         * benchtests/exp2-inputs: New inputs file.
25341         * benchtests/log2-inputs: New inputs file.
25342         * benchtests/log-inputs: Add new inputs.
25343         * benchtests/tan-inputs: Likewise.
25345 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25347         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25348         definition...
25349         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25350         (csloww2): ... from here.
25352         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25353         instead of structures.
25354         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25355         (POLYNOMIAL): Likewise.
25356         (TAYLOR_SLOW): Likewise.
25357         (__sin): Likewise.
25358         (__cos): Likewise.
25359         (slow1): Likewise.
25360         (slow2): Likewise.
25361         (sloww): Likewise.
25362         (sloww1); Likewise.
25363         (sloww2): Likewise.
25364         (bsloww1): Likewise.
25365         (bsloww2): Likewise.
25366         (cslow2): Likewise.
25367         (csloww): Likewise.
25368         (csloww1): Likewise.
25369         (csloww2): Likewise.
25371 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25373         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25374         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25375         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25376         * malloc/hooks.c (realloc_check): Likewise.
25378         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25379         * malloc/arena.c: Remove PER_THREAD conditional.
25380         [!PER_THREAD]: Remove code.
25381         (ptmalloc_unlock_all2): Likewise.
25382         (ptmalloc_init): Likewise.
25383         (_int_new_arena): Likewise.
25384         (arena_get2): Likewise.
25385         * malloc/hooks.c (__malloc_get_state): Likewise.
25386         (__malloc_set_state): Likewise.
25387         * malloc/malloc.c: Likewise.
25388         (struct malloc_state): Likewise.
25389         (struct malloc_par): Likewise.
25390         (__libc_realloc): Likewise.
25391         (__libc_mallopt): Likewise.
25393 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25395         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25397 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25399         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25400         macro to a function.  Check for zero perturb_byte.
25401         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25403         * malloc/malloc.c: (force_reg): Remove.
25404         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25405         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25406         force_reg by atomic_forced_read.
25407         * malloc/arena.c (ptmalloc_init): Likewise.
25408         * malloc/hooks.c (top_check): Likewise.
25410 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25414 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25418 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25420         * math/auto-libm-test-in: Add tests of lgamma.
25421         * math/auto-libm-test-out: Regenerated.
25422         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25423         (M_LOG_2_SQRT_PIl): Likewise.
25424         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25425         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25426         mpfr_f_f1.
25427         (func_calc_desc): Add mpfr_f_f1 union field.
25428         (ARGS1): New macro.
25429         (ARGS2): Likewise.
25430         (ARGS3): Likewise.
25431         (ARGS4): Likewise.
25432         (RET1): Likewise.
25433         (RET2): Likewise.
25434         (CALC): Likewise.
25435         (FUNC): Likewise.
25436         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25437         (test_functions): Add lgamma.
25438         (calc_generic_results): Handle mpfr_f_f1.
25439         * sysdeps/i386/fpu/libm-test-ulps: Update.
25440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25444         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25445         __mpn_add_n for PowerPC64/POWER7.
25446         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25447         __mpn_sub_n for PowerPC64/POWER7.
25449         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25450         __mpn_addmul_1 for PowerPC64.
25451         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25452         __mpn_submul_1 for PowerPC64.
25453         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25454         for PowerPC64.
25455         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25456         for PowerPC64.
25458 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25460         [BZ #15089]
25461         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25463 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25465         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25467         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25468         add multiarch folders.
25469         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25470         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25471         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25472         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25473         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25474         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25475         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25476         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25477         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25478         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25479         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25488         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25490         New file.
25491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25492         New file.
25493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25494         multiarch __ieee754_hypot for PowerPC32.
25495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25496         New file.
25497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25498         New file.
25499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25500         multiarch __ieee754_hypotf for PowerPC32.
25502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25503         long_double_symbol only if __logbl is defined.
25504         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25505         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25507         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25508         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25509         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25510         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25511         path for implementation.
25512         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25513         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25515         logb, and logbl multiarch implementations for PowerPC32.
25516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25517         file.
25518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25519         file.
25520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25521         multiarch logb for PowerPC32.
25522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25523         file.
25524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25525         file.
25526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25527         multiarch logbf for PowerPC32.
25528         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25530         file.
25531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25532         multiarch logbl implementation for PowerPC32.
25534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25535         and modff multiarch implementations.
25536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25537         New file.
25538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25539         New file.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25541         multiarch modf for PowerPC32.
25542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25543         New file.
25544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25545         New file.
25546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25547         multiarch modff for PowerPC32.
25549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25550         and lrintf multiarch implementations.
25551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25552         New file.
25553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25554         New file.
25555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25556         multiarch lrint for PowerPC32.
25557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25558         file: multiarch lrintf for PowerPC32.
25560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25561         and lroundf multiarch implementations.
25562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25563         New file.
25564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25565         New file.
25566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25567         New file.
25568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25569         multiarch lround for PowerPC32.
25570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25571         file: multiarch lroundf for PowerPC32.
25573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25574         copysign and copysignf multiarch implementations.
25575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25576         New file.
25577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25578         New file.
25579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25580         file: multiarch copysign for PowerPC32.
25581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25582         file: multiarch copysignf for PowerPC32.
25584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25585         and truncf multiarch implementations.
25586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25587         New file.
25588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25589         file.
25590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25591         multiarch trunc for PowerPC32.
25592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25593         New file.
25594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25595         New file.
25596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25597         multiarch truncf for PowerPC32.
25599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25600         and roundf multiarch implementations.
25601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25602         New file.
25603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25604         file.
25605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25606         multiarch round for PowerPC32.
25607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25608         New file.
25609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25610         New file.
25611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25612         multiarch roundf for PowerPC32.
25614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25615         and floorf multiarch implementations.
25616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25617         New file.
25618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25619         file.
25620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25621         multiarch floor for PowerPC32.
25622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25623         New file.
25624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25625         New file.
25626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25627         multiarch floorf for PowerPC32.
25629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25630         and ceilf multiarch implementations.
25631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25632         New file.
25633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25634         file.
25635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25636         multiarch ceil for PowerPC32.
25637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25638         New file.
25639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25640         file.
25641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25642         multiarch ceilf for PowerPC32.
25644         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25645         is defined.
25646         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25647         FINITEF is defined.
25648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25649         and finitef multiarch implementations.
25650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25651         New file.
25652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25653         file.
25654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25655         multiarch finite for PowerPC32.
25656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25657         New file.
25658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25659         file: multiarch finitef for PowerPC32.
25661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25662         and isinff multiarch implementations.
25663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25666         file.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25668         multiarch isinf for PowerPC32.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25670         New file.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25672         multiarch isinff for PowerPC32.
25674         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25675         alias when __isnan is defined.
25676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25677         and isnanf multiarch implementations.
25678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25679         file.
25680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25681         file.
25682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25683         file.
25684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25685         file.
25686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25687         multiarch isnan for PowerPC32.
25688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25689         New file.
25690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25691         New file.
25692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25693         multiarch isnanf for PowerPC32.
25695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25696         and sqrtf multiarch implementations.
25697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25698         file.
25699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25700         file.
25701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25702         multiarch sqrt for PowerPC32.
25703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25704         file.
25705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25706         file.
25707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25708         multiarch sqrtf for PowerPC32.
25710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25711         and llroundf multiarch implementations.
25712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25713         New file.
25714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25715         New file.
25716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25717         New file.
25718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25719         file: multiarch llround for PowerPC32.
25720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25721         file: multiarch llroundf for PowerPC32.
25723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25724         multiarch PowerPC32 fpu implementations.
25725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25726         New file.
25727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25728         New file.
25729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25730         multiarch llrint for PowerPC32.
25731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25732         New file.
25733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25734         New file.
25735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25736         file.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25740         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25741         file.
25742         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25743         file.
25744         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25745         file.
25746         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25747         multiarch wordcopy for PPC32.
25748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25749         wordcopy objects.
25750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25751         (__libc_ifunc_impl_list): Likewise.
25752         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25753         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25754         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25755         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25756         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25757         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25759         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25761         file.
25762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25763         file.
25764         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25765         file.
25766         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25767         multiarch wcscpy for PPC32.
25768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25769         multiarch objects.
25770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25771         (__libc_ifunc_impl_list): Likewise.
25772         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25773         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25774         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25775         sysdeps/powerpc/power6/wcscpy.c.
25777         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25779         file.
25780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25781         file.
25782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25783         file.
25784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25785         multiarch wcsrchr for PPC32.
25786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25787         multiarch objects.
25788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25789         (__libc_ifunc_impl_list): Likewise.
25790         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25791         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25792         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25793         sysdeps/powerpc/power6/wcsrchr.c.
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25796         file.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25798         file.
25799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25801         multiarch wcschr for PPc32.
25802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25803         multiarch objects.
25804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25805         (__libc_ifunc_impl_list): Likewise.
25806         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25807         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25808         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25809         sysdeps/powerpc/power6/wcschr.c.
25811         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25812         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25813         file.
25814         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25815         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25816         file: multiarch strchr for PPC32.
25817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25818         multiarch objects.
25819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25820         (__libc_ifunc_impl_list): Likewise.
25822         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25823         name.
25824         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25825         file.
25826         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25827         file.
25828         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25829         multiarch strchrnul for PPC32.
25830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25831         multiarch objects.
25832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25833         (__libc_ifunc_impl_list): Likewise.
25835         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25836         file.
25837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25838         multiarch strncasecmp for PPC32.
25839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25840         file.
25841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25842         multiarch strncasecmp_l for PPC32.
25843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25844         strncasecmp multiarch objects.
25845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25846         (__libc_ifunc_impl_list): Likewise.
25848         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25849         file.
25850         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25851         multiarch strncasecmp for PPC32.
25852         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25853         New file.
25854         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25855         multiarch strcasecmp_l for PPC32.
25856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25857         multiarch objects.
25858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25859         (__libc_ifunc_impl_list): Likewise.
25861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25862         file.
25863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25864         file.
25865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25866         multiarch strncmp for PPC32.
25867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25868         multiarch objects.
25869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25870         (__libc_ifunc_impl_list): Likewise.
25872         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25873         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25874         file.
25875         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25876         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25878         multiarch objects.
25879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25880         (__libc_ifunc_impl_list): Likewise.
25882         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25883         file.
25884         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25885         file.
25886         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25888         multiarch objects.
25889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25890         (__libc_ifunc_impl_list): Likewise.
25892         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25893         file.
25894         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25895         file.
25896         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25897         multiarch rawmemchr for PPC32.
25898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25899         multiarch objects.
25900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25901         (__libc_ifunc_impl_list): Likewise.
25903         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25904         file.
25905         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25906         file.
25907         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25908         file: memrchr multiarch for PPC32.
25909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25910         multiarch objects.
25911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25912         (__libc_ifunc_impl_list): Likewise.
25914         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25916         file.
25917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25918         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25919         multiarch memchr for PPC32.
25920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25921         multiarch objects.
25922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25923         (__libc_ifunc_impl_list): Likewise.
25925         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25926         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25927         file.
25928         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25929         file.
25930         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25931         file: multiarch mempcpy for PPC32.
25932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25933         multiarch objects.
25934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25935         (__libc_ifunc_impl_list): Likewise.
25937         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25941         multiarch bzero for PPC32.
25942         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25945         file.
25946         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25947         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25948         file: multiarch memset for PPC32.
25949         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25951         memset multiarch objects.
25952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25953         (__libc_ifunc_impl_list): Likewise.
25955         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25956         file.
25957         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25959         memcmp for PPC32.
25960         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25962         multiarch objects.
25963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25964         (__libc_ifunc_impl_list): Likewise.
25966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25969         file.
25970         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25971         file.
25972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25973         file.
25974         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25975         multiarch memcpy for PPC32.
25976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25977         multiarch objects.
25978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25979         (__libc_ifunc_impl_list): Likewise.
25981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25982         support multiarch for POWER/PPC32.
25983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25984         Likewise.
25985         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25987         Implies file to make multiarch folder appers before the fpu and
25988         default folder for power4 configuration.
25990 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25992         * scripts/bench.pl: Append volatile keyword to type.
25994 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25996         * sysdeps/sh/sotruss-lib.c: New file.
25997         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25999 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26003 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26005         [BZ #6810]
26006         * math/w_tgamma.c: Include <errno.h>.
26007         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26008         * math/w_tgammaf.c: Include <errno.h>.
26009         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26010         * math/w_tgammal.c: Include <errno.h>.
26011         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26012         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26013         underflow.  Add more tgamma tests.
26014         * math/auto-libm-test-out: Regenerated.
26015         * sysdeps/i386/fpu/libm-test-ulps: Update.
26016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26018         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26019         sin, sinh, tan, tanh, tgamma, y0 and y1.
26020         * math/auto-libm-test-out: Regenerated.
26021         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26022         (TEST_COND_x86): Likewise.
26023         (M_E2l): Remove macro.
26024         (M_E3l): Likewise.
26025         (M_2_SQRT_PIl): Likewise.
26026         (M_SQRT_PIl): Likewise.
26027         (M_1_DIV_El): Likewise.
26028         (log_test_data): Use AUTO_TESTS_f_f.
26029         (log10_test_data): Likewise.
26030         (log1p_test_data): Likewise.
26031         (log2_test_data): Likewise.
26032         (sin_test_data): Likewise.
26033         (sin_tonearest_test_data): Likewise.
26034         (sin_towardzero_test_data): Likewise.
26035         (sin_downward_test_data): Likewise.
26036         (sin_upward_test_data): Likewise.
26037         (sinh_test_data): Likewise.
26038         (sinh_tonearest_test_data): Likewise.
26039         (sinh_towardzero_test_data): Likewise.
26040         (sinh_downward_test_data): Likewise.
26041         (sinh_upward_test_data): Likewise.
26042         (tan_test_data): Likewise.
26043         (tan_tonearest_test_data): Likewise.
26044         (tan_towardzero_test_data): Likewise.
26045         (tan_downward_test_data): Likewise.
26046         (tan_upward_test_data): Likewise.
26047         (tanh_test_data): Likewise.
26048         (tgamma_test_data): Likewise.
26049         (y0_test_data): Likewise.
26050         (y1_test_data): Likewise.
26051         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26052         (special_real_inputs): Add pi/4.
26053         * sysdeps/i386/fpu/libm-test-ulps: Update.
26054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26056 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26058         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26059         "longjmp_target" static probes.
26060         (__longjmp): Rename to __longjmp_symbol.
26061         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26062         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26063         on which longjmp to generate.
26064         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26065         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26066         probe.
26067         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26068         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26069         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26070         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26071         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26072         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26074         __longjmp_symbol based on which __longjmp to generate.
26075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26076         probe.
26077         (setjmp): Rename to setjmp_symbol.
26078         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26079         (_setjmp): Rename to _setjmp_symbol.
26080         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26081         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26082         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26083         which setjmp to generate.
26084         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26085         "longjmp_target" static probes.
26087 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26089         * benchtests/README: Add note about output arguments.
26090         * benchtests/bench-sincos.c: Remove file.
26091         * benchtests/sincos-inputs: New file.
26092         * scripts/bench.pl: Identify output arguments and define
26093         static variables for them.
26095         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26097         [BZ #15941]
26098         * Makefile (INSTALL): Add install-plain.texi as the primary
26099         dependency.
26100         * manual/install-plain.texi: New file.
26101         * manual/install.texi: Include node directive only for
26102         non-plaintext output.
26104 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26106         * stdlib/longlong.h: Update from GCC.
26108         [BZ #6807]
26109         [BZ #15901]
26110         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26111         * math/w_j0f.c (y0f): Likewise.
26112         * math/w_j0l.c (__y0l): Likewise.
26113         * math/w_j1.c (y1): Likewise.
26114         * math/w_j1f.c (y1f): Likewise.
26115         * math/w_j1l.c (__y1l): Likewise
26116         * math/w_jn.c (yn): Likewise.
26117         * math/w_jnf.c (ynf): Likewise.
26118         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26119         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26120         value for Bessel function domain errors outside _SVID_ mode.
26121         Adjust sign of return value for yn (negative integer, 0).
26122         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26123         by zero in return for negative x and set sign appropriately for
26124         negative n.
26125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26127         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26128         expectations in error cases.
26129         (y1_test_data): Likewise.
26130         (yn_test_data): Likewise.
26131         * sysdeps/i386/fpu/libm-test-ulps: Update.
26132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26134 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26136         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26137         "64" to "64-v1".  Add "64-v2".
26138         (abi-64-options): Rename to ...
26139         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26140         (abi-64-condition): Rename to ...
26141         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26142         (abi-64-ld-soname): Rename to ...
26143         (abi-64-v1-ld-soname): ... this.
26144         (abi-64-v2-options): Define.
26145         (abi-64-v2-condition): Likewise.
26146         (abi-64-v2-ld-soname): Likewise.
26147         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26148         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26153 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26154             Alan Modra  <amodra@gmail.com>
26156         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26157         New versions for use with the ELFv2 ABI.
26158         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26159         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26160         declaration.
26161         (struct La_ppc64v2_retval): Likewise.
26162         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26163         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26164         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26165         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26166         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26167         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26168         Do not save or restore CR.
26169         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26170         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26171         return values for ELFv2 ABI.  Fix location of FPR return registers.
26172         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26173         updated values for _CALL_ELF == 2.
26174         (La_regs, La_retval, int_retval): Likewise.
26176 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26178         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26179         (FRAME_MIN_SIZE_PARM): Likewise.
26180         (FRAME_BACKCHAIN): Likewise.
26181         (FRAME_CR_SAVE): Likewise.
26182         (FRAME_LR_SAVE): Likewise.
26183         (FRAME_TOC_SAVE): Likewise.
26184         (FRAME_PARM_SAVE): Likewise.
26185         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26186         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26187         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26188         (call_mcount_parm_offset): New macro.
26189         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26190         (PROF): Use symbolic stack frame offsets.
26191         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26192         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26193         Redefine in terms of FRAME_MIN_SIZE.
26194         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26195         (_dl_profile_resolve): Likewise.  Update comment.
26196         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26197         symbols stack frame offsets.
26198         (__sigsetjmp): Likewise.
26199         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26200         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26201         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26202         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26205         (FRAME_BACKCHAIN): Remove.
26206         (FRAME_CR_SAVE): Likewise.
26207         (FRAME_LR_SAVE): Likewise.
26208         (FRAME_COMPILER_DW): Likewise.
26209         (FRAME_LINKER_DW): Likewise.
26210         (FRAME_TOC_SAVE): Likewise.
26211         (FRAME_PARM_SAVE): Likewise.
26212         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26213         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26214         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26216         (CHECK_SP): Use symbolic stack frame offsets.
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26218         zone" instead of caller's parameter save area for temp storage.
26219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26220         Likewise.  Also, use symbolic stack frame offsets.
26221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26222         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26223         our own stack frame instead of the caller's.
26224         (__socket): Use symbolic stack frame offsets.
26226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26227             Alan Modra  <amodra@gmail.com>
26229         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26230         Define.
26231         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26232         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26233         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26234         New function.
26235         (elf_machine_fixup_plt): Call it.
26236         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26237         reloc arguments.
26238         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26239         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26240         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26241         r2 before calling target.
26243 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26244             Alan Modra  <amodra@gmail.com>
26246         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26247         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26248         versions of macros to support ELFv2 ABI.
26249         (LOCALENTRY): New macro.
26250         (ENTRY, EALIGN): Use it.
26251         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26252         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26253         fall through into ENTRY entry point.
26254         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26255         Only define if _CALL_ELF != 2.
26257         (elf_machine_matches_host): Verify ABI version matches.
26258         (RTLD_START): Use LOCALENTRY.
26259         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26260         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26261         (PLT_ENTRY_WORDS): New macro.
26262         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26263         (elf_machine_runtime_setup): Support ELFv2 ABI.
26264         (elf_machine_fixup_plt): Likewise.
26265         (elf_machine_plt_conflict): Likewise.
26266         (resolve_ifunc): Likewise.
26267         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26268         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26269         Likewise.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26271         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26273         (makecontext): Support ELFv2 ABI.
26274         * elf/elf.h (EF_PPC64_ABI): Define.
26276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26278         * sysdeps/powerpc/powerpc64/sysdep.h
26279         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26280         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26281         (ENTRY) [ASSEMBLER]: ... but instead here ...
26282         (EALIGN) [ASSEMBLER]: ... and here.
26283         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26284         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26285         (ENTRY_2) [!ASSEMBLER]: Use it.
26286         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26287         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26288         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26289         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26290         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26292         Use PPC64_LOAD_FUNCPTR.
26294         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26296 2013-12-04  Alan Modra  <amodra@gmail.com>
26298         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26299         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26300         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26301         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26304         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26305         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26306         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26307         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26308         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26310 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26313         (__makecontext): Fix incorrect CFI when backtracing out of
26314         context created via makecontext.
26315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26316         (__setcontext): Fix incorrect CFI during switch to new context.
26317         (__novec_setcontext): Likewise.
26319 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26321         [BZ #4772]
26322         * time/strptime_l.c (__strptime_internal): Allow modifiers
26323         in strptime.
26324         * time/tst-strptime.c (day_tests): Add testcase.
26326 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26328         * scripts/bench.pl: Skip over blank lines.
26330 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26332         [BZ #926]
26333         * manual/time.texi (Calendar Time): Clarify what timezone functions
26334         use.
26336 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26340 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26342         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26343         implementation.
26344         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26345         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26346         * debug/memset_chk.c (__memset_chk): Likewise.
26347         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26348         * debug/strncpy_chk.c: Likewise.
26350 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26352         [BZ #15268]
26353         [BZ #15425]
26354         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26355         (__ieee754_exp): For possibly underflowing results, check size of
26356         result and force underflow exception if required.
26357         * math/auto-libm-test-in: Add more tests of exp.
26358         * math/auto-libm-test-out: Regenerated.
26359         * sysdeps/i386/fpu/libm-test-ulps: Update.
26360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26362         [BZ #16283]
26363         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26364         * math/w_exp2f.c (__exp2f): Likewise.
26365         * math/w_exp2l.c (__exp2l): Likewise.
26366         * math/auto-libm-test-in: Do not allow missing errno on exp2
26367         underflow.
26368         * math/auto-libm-test-out: Regenerated.
26370 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26372         [BZ #16274]
26373         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26374         handle filename validation.
26375         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26376         (do_open): Delete.
26378 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26380         [BZ #6786]
26381         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26382         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26383         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26384         <float.h>.
26385         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26386         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26387         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26389         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26390         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26391         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26392         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26393         Add more erfc tests.
26394         * math/auto-libm-test-out: Regenerated.
26395         * sysdeps/i386/fpu/libm-test-ulps: Update.
26396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26398         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26399         exp2, expm1, j0 and j1.
26400         * math/auto-libm-test-out: Regenerated.
26401         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26402         (erfc_test_data): Likewise.
26403         (exp_test_data): Likewise.
26404         (exp_tonearest_test_data): Likewise.
26405         (exp_towardzero_test_data): Likewise.
26406         (exp_downward_test_data): Likewise.
26407         (exp_upward_test_data): Likewise.
26408         (exp10_test_data): Likewise.
26409         (exp2_test_data): Likewise.
26410         (expm1_test_data): Likewise.
26411         (j0_test_data): Likewise.
26412         (j1_test_data): Likewise.
26413         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26414         (input_flag_type): Add flag_xfail_rounding.
26415         (input_flags): Add xfail-rounding.
26416         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26417         (output_for_one_input_case): Handle flag_xfail_rounding.
26418         * sysdeps/i386/fpu/libm-test-ulps: Update.
26419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26421 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26423         [BZ #16289]
26424         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26425         division by 0.
26427 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26429         [BZ #16195]
26430         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26431         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26432         (STAP_PROBE0): New macro.
26433         (STAP_PROBE1): Likewise.
26434         (STAP_PROBE2): Likewise.
26435         (STAP_PROBE3): Likewise.
26436         (STAP_PROBE4): Likewise.
26438 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26440         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26442 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26444         * benchtests/Makefile (bench): Add sqrt.
26445         (LDLIBS-bench-sqrt): New.
26446         * benchtests/sqrt-input: New.
26448 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26450         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26451         (GAIH_EAI): Likewise.
26452         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26453         (gaih_inet): Likewise.
26454         (getaddrinfo): Don't use GAIH_EAI.
26456         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26457         (struct gaih): Remove definition.
26459 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26461         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26462         Use HERRNOP directly.
26464 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26468 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26470         * math/gen-auto-libm-tests.c (test_functions): Add more
26471         single-argument functions.
26472         (special_fill_pi_2): New function.
26473         (special_fill_minus_pi_2): Likewise.
26474         (special_fill_pi_6): Likewise.
26475         (special_fill_minus_pi_6): Likewise.
26476         (special_fill_pi_3): Likewise.
26477         (special_fill_2pi_3): Likewise.
26478         (special_fill_e): Likewise.
26479         (special_fill_1_e): Likewise.
26480         (special_fill_e_minus_1): Likewise.
26481         (special_real_inputs): Add more special inputs.
26482         (output_for_one_input_case): Do not require ERANGE on underflow to
26483         zero if round-to-nearest result does not underflow to zero, unless
26484         exact results required.
26485         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26486         atan, atanh, cbrt, cos and cosh.
26487         * math/auto-libm-test-out: Regenerated.
26488         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26489         (acos_tonearest_test_data): Likewise.
26490         (acos_towardzero_test_data): Likewise.
26491         (acos_downward_test_data): Likewise.
26492         (acos_upward_test_data): Likewise.
26493         (acosh_test_data): Likewise.
26494         (asin_test_data): Likewise.
26495         (asin_tonearest_test_data): Likewise.
26496         (asin_towardzero_test_data): Likewise.
26497         (asin_upward_test_data): Likewise.
26498         (asinh_test_data): Likewise.
26499         (atan_test_data): Likewise.
26500         (atanh_test_data): Likewise.
26501         (cbrt_test_data): Likewise.
26502         (cos_test_data): Likewise.
26503         (cos_tonearest_test_data): Likewise.
26504         (cos_towardzero_test_data): Likewise.
26505         (cos_downward_test_data): Likewise.
26506         (cos_upward_test_data): Likewise.
26507         (cosh_test_data): Likewise.
26508         (cosh_tonearest_test_data): Likewise.
26509         (cosh_towardzero_test_data): Likewise.
26510         (cosh_downward_test_data): Likewise.
26511         (cosh_upward_test_data): Likewise.
26512         * sysdeps/i386/fpu/libm-test-ulps: Update.
26513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26515 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26517         [BZ #6787]
26518         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26519         * math/w_exp10f.c (__exp10f): Likewise.
26520         * math/w_exp10l.c (__exp10l): Likewise.
26521         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26522         errno settings in existing tests.
26524         [BZ #14032]
26525         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26526         precision control set to double precision.
26527         * sysdeps/i386/fpu/w_sqrt.c: New file.
26528         * math/auto-libm-test-in: Add more tests.
26529         * math/auto-libm-test-out: Update.
26531         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26532         (sqrt_test_tonearest): New function.
26533         (sqrt_towardzero_test_data): New variable.
26534         (sqrt_test_towardzero): New function.
26535         (sqrt_downward_test_data): New variable.
26536         (sqrt_test_downward): New function.
26537         (sqrt_upward_test_data): New variable.
26538         (sqrt_test_upward): New function.
26539         (main): Call the new functions.
26541         * math/gen-auto-libm-tests.c: New file.
26542         * math/auto-libm-test-in: Likewise.
26543         * math/auto-libm-test-out: New generated file.
26544         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26545         variables.
26546         (%beautify): Add generated representations of zero.
26547         (top level): Set $auto_input and call parse_auto_input.
26548         (beautify): Remove trailing "f" from hex float constants.
26549         (parse_args): Handle XFAIL_TEST.
26550         (convert_condition): New function.
26551         (or_value): Likewise.
26552         (or_cond_value): Likewise.
26553         (generate_testfile): Handle AUTO_TESTS_* lines.
26554         (parse_auto_input): New function.
26555         * math/libm-test.inc (XFAIL_TEST): New macro.
26556         (ERRNO_UNCHANGED): Update value.
26557         (ERRNO_EDOM): Likewise.
26558         (ERRNO_ERANGE): Likewise.
26559         (IGNORE_RESULT): Likewise.
26560         (TEST_COND_flt_32): New macro.
26561         (TEST_COND_dbl_64): Likewise.
26562         (TEST_COND_ldbl_96_intel): Likewise.
26563         (TEST_COND_ldbl_96_m68k): Likewise.
26564         (TEST_COND_ldbl_128): Likewise.
26565         (TEST_COND_ldbl_128ibm): Likewise.
26566         (TEST_COND_long32): Likewise.
26567         (TEST_COND_long64): Likewise.
26568         (TEST_COND_before_rounding): Likewise.
26569         (TEST_COND_after_rounding): Likewise.
26570         (enable_test): Handle XFAIL_TEST flag.
26571         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26572         with finite results.
26573         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26574         auto-libm-test-out.
26576 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26579         [BZ #16214]
26580         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26581         __tls_get_addr_internal instead of __tls_get_offset in order to
26582         avoid GOT pointer dependency.  Make rtld export
26583         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26584         __tls_get_addr since we are a __tls_get_offset platform.
26585         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26586         GOT pointer being set up before.
26587         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26589 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26591         * manual/math.texi (Errors in Math Functions): Document accuracy
26592         goals.
26594         [BZ #15004]
26595         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26596         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26597         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26598         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26599         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26600         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26601         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26602         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26603         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26604         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26605         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26606         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26607         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26608         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26609         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26610         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26612         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26613         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26614         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26615         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26616         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26617         Likewise.
26618         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26619         Likewise.
26620         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26621         Likewise.
26622         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26623         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26624         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26625         atomic-feupdateenv and flt-rounds.
26626         * sysdeps/powerpc/nofpu/Versions (libc): Add
26627         __atomic_feholdexcept, __atomic_feclearexcept,
26628         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26629         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26630         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26632         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26633         here.
26634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26635         Update.
26637         * manual/arith.texi (FP Exceptions): Document that exceptions may
26638         not be raised when matherr is used.
26639         (Math Error Reporting): Document overflow in directed rounding
26640         modes.  Document that errno may not be set when finite values are
26641         returned on overflow.  Document intent to set errno on underflow
26642         only for underflow to zero.
26644         [BZ #16271]
26645         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26646         round-to-nearest then adjust result for other rounding modes.
26647         * include/fenv.h (fegetround): Use libm_hidden_proto.
26648         * math/fegetround.c (fegetround): Use libm_hidden_def.
26649         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26650         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26651         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26652         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26653         Likewise.
26654         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26655         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26656         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26657         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26659 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26661         [BZ #16077]
26662         * nss/Versions (libnss_files): Add
26663         _nss_files_gethostbyname3_r.
26664         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26665         New function.
26666         (HOST_DB_LOOKUP): Remove macro.
26667         (_nss_files_gethostbyname_r): Implement function without the
26668         HOST_DB_LOOKUP macro.
26669         (_nss_files_gethostbyname2_r): Likewise.
26671 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26673         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26675 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26677         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26678         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26679         warning.
26681 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26683         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26684         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26685         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26686         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26687         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26688         __fe_nomask_env_priv and attribute_hidden.
26689         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26690         (libc_feupdateenv_test_ppc): Likewise.
26691         (libc_feresetround_ppc): Likewise.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26693         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26694         compat_symbol macro.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26696         (__fe_nomask_env): Likewise.
26697         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26699 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26701         * string/Makefile: Remove ifunc tests.
26702         * string/test-string.h: Define TEST_IFUNC.
26703         * string/test-bcopy-ifunc.c: Remove.
26704         * string/test-bzero-ifunc.c: Likewise.
26705         * string/test-memccpy-ifunc.c: Likewise.
26706         * string/test-memchr-ifunc.c: Likewise.
26707         * string/test-memcmp-ifunc.c: Likewise.
26708         * string/test-memcpy-ifunc.c: Likewise.
26709         * string/test-memmem-ifunc.c: Likewise.
26710         * string/test-memmove-ifunc.c: Likewise.
26711         * string/test-mempcpy-ifunc.c: Likewise.
26712         * string/test-memrchr-ifunc.c: Likewise.
26713         * string/test-memset-ifunc.c: Likewise.
26714         * string/test-rawmemchr-ifunc.c: Likewise.
26715         * string/test-stpcpy-ifunc.c: Likewise.
26716         * string/test-stpncpy-ifunc.c: Likewise.
26717         * string/test-strcasecmp-ifunc.c: Likewise.
26718         * string/test-strcasestr-ifunc.c: Likewise.
26719         * string/test-strcat-ifunc.c: Likewise.
26720         * string/test-strchr-ifunc.c: Likewise.
26721         * string/test-strchrnul-ifunc.c: Likewise.
26722         * string/test-strcmp-ifunc.c: Likewise.
26723         * string/test-strcpy-ifunc.c: Likewise.
26724         * string/test-strcspn-ifunc.c: Likewise.
26725         * string/test-strlen-ifunc.c: Likewise.
26726         * string/test-strncasecmp-ifunc.c: Likewise.
26727         * string/test-strncat-ifunc.c: Likewise.
26728         * string/test-strncmp-ifunc.c: Likewise.
26729         * string/test-strncpy-ifunc.c: Likewise.
26730         * string/test-strnlen-ifunc.c: Likewise.
26731         * string/test-strpbrk-ifunc.c: Likewise.
26732         * string/test-strrchr-ifunc.c: Likewise.
26733         * string/test-strspn-ifunc.c: Likewise.
26734         * string/test-strstr-ifunc.c: Likewise.
26736 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26738         * benchtests/Makefile: Remove ifunc tests.
26739         * benchtests/bench-string.h: Define TEST_IFUNC.
26740         * benchtests/bench-bcopy-ifunc.c: Remove.
26741         * benchtests/bench-bzero-ifunc.c: Likewise.
26742         * benchtests/bench-memccpy-ifunc.c: Likewise.
26743         * benchtests/bench-memchr-ifunc.c: Likewise.
26744         * benchtests/bench-memcmp-ifunc.c: Likewise.
26745         * benchtests/bench-memcpy-ifunc.c: Likewise.
26746         * benchtests/bench-memmem-ifunc.c: Likewise.
26747         * benchtests/bench-memmove-ifunc.c: Likewise.
26748         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26749         * benchtests/bench-memrchr-ifunc.c: Likewise.
26750         * benchtests/bench-memset-ifunc.c: Likewise.
26751         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26752         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26753         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26754         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26755         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26756         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26757         * benchtests/bench-strcat-ifunc.c: Likewise.
26758         * benchtests/bench-strchr-ifunc.c: Likewise.
26759         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26760         * benchtests/bench-strcmp-ifunc.c: Likewise.
26761         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26762         * benchtests/bench-strcpy-ifunc.c: Likewise.
26763         * benchtests/bench-strcspn-ifunc.c: Likewise.
26764         * benchtests/bench-strlen-ifunc.c: Likewise.
26765         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26766         * benchtests/bench-strncat-ifunc.c: Likewise.
26767         * benchtests/bench-strncmp-ifunc.c: Likewise.
26768         * benchtests/bench-strncpy-ifunc.c: Likewise.
26769         * benchtests/bench-strnlen-ifunc.c: Likewise.
26770         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26771         * benchtests/bench-strrchr-ifunc.c: Likewise.
26772         * benchtests/bench-strsep-ifunc.c: Likewise.
26773         * benchtests/bench-strspn-ifunc.c: Likewise.
26774         * benchtests/bench-strstr-ifunc.c: Likewise.
26776 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26778         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26780 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26782         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26783         * rt/aio.h: Likewise.
26784         * sysdeps/gnu/bits/utmp.h: Likewise.
26785         * sysdeps/gnu/bits/utmpx.h: Likewise.
26786         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26787         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26788         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26789         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26790         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26791         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26792         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26793         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26794         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26795         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26796         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26797         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26798         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26800         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26801         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26802         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26803         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26804         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26805         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26806         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26807         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26808         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26809         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26810         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26812         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26813         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26814         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26815         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26816         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26817         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26818         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26819         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26820         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26821         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26822         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26823         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26824         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26825         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26826         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26827         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26829 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26831         [BZ #16245]
26832         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26833         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26835 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26837         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26838         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26839         Likewise.
26841 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26844         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26845         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26846         (__fesetround): Remove define.
26847         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26848         rounding and exceptions handling.
26849         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26850         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26851         (__fe_nomask_env): Likewise.
26852         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26853         __fegetround instead of fegetround.
26854         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26855         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26857 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26859         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26860         it's there.
26862         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26864 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26866         [BZ #11157]
26867         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26868         (encrypt_r): Likewise.
26869         * malloc/obstack.h (obstack_free): Likewise.
26870         * posix/unistd.h (encrypt): Likewise.
26872 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26874         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26875         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26876         DL_CALL_DT_FINI() that call the functions directly.
26877         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26878         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26879         * elf/dl-fini.c: Likewise.
26881 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26883         * malloc/hooks.c (memalign_check): Add alignment rounding.
26884         * malloc/malloc.c (_mid_memalign): New function.
26885         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26886         Implement by calling _mid_memalign.
26887         * manual/probes.texi (Memory Allocation Probes): Remove
26888         memory_valloc_retry and memory_pvalloc_retry.
26890 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26892         * locale/programs/locarchive.c (open_archive): Add const
26893         qualifier to ARCHIVEFNAME and copy default fname to
26894         DEFAULT_FNAME.
26896         [BZ #15601]
26897         * libio/tst-widetext.input: Rename Oriya to Odia.
26898         * locale/iso-639.def: Likewise.
26900         * manual/probes.texi (Mathematical Function Probes): Add
26901         documentation for sin, cos, asin and acos probes.
26902         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26903         (__sin32): Add slowasin probe.
26904         (__cos32): Add slowacos probe.
26905         (__mpsin): Add slowsin probe.
26906         (__mpcos): Add slowcos probe.
26908 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26910         [BZ #15483]
26911         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26912         thread-local __sim_exceptions_thread and global
26913         __sim_exceptions_global.
26914         (__sim_disabled_exceptions): Change to thread-local
26915         __sim_disabled_exceptions_thread and global
26916         __sim_disabled_exceptions_global.
26917         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26918         and global __sim_round_mode_global.
26919         (__simulate_exceptions): Use thread-local floating-point state and
26920         set global state from it as needed.
26921         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26922         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26923         __sim_round_mode_thread.
26924         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26925         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26926         and global __sim_exceptions_global.
26927         (__sim_disabled_exceptions): Change to thread-local
26928         __sim_disabled_exceptions_thread and global
26929         __sim_disabled_exceptions_global.
26930         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26931         and global __sim_round_mode_global.
26932         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26933         (SIM_SET_GLOBAL): Likewise.
26934         * sysdeps/powerpc/soft-fp/sfp-machine.h
26935         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26936         __sim_round_mode_thread.
26937         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26938         __sim_disabled_exceptions_thread.
26939         (__sim_exceptions): Change to __sim_exceptions_thread.
26940         (__sim_disabled_exceptions): Change to
26941         __sim_disabled_exceptions_thread.
26942         (__sim_round_mode): Change to __sim_round_mode_thread.
26943         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26944         thread-local floating-point state and set global state from it as
26945         needed.
26946         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26947         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26948         (__sim_disabled_exceptions): Remove extern declaration.
26949         (feenableexcept): Use thread-local floating-point state and set
26950         global state from it as needed.
26951         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26952         extern declaration.
26953         (__sim_disabled_exceptions): Likewise.
26954         (__sim_round_mode): Likewise.
26955         (__fegetenv): Use thread-local floating-point state.
26956         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26957         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26958         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26959         floating-point state and set global state from it as needed.
26960         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26961         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26962         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26963         Likewise.
26964         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26965         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26966         Likewise.
26967         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26968         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26969         Use __sim_round_mode_thread.
26970         * math/test-fenv-tls.c: New file.
26971         * math/Makefile (tests): Add test-fenv-tls.
26972         ($(objpfx)test-fenv-tls): Depend on
26973         $(common-objpfx)nptl/libpthread.so.
26975 2013-11-19  Andreas Schwab  <schwab@suse.de>
26977         * locale/programs/locale.c (show_info): Decode wordarray elements.
26978         * locale/categories.def (LC_MONETARY): Add element for
26979         _NL_MONETARY_CRNCYSTR.
26980         * locale/C-monetary.c (conversion_rate): New variable.
26981         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26982         element.
26984 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26986         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26987         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26989 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26991         * elf/Makefile (tst-auxv): New test.
26992         * elf/tst-auxv.c: New
26993         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26995 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26997         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26998         (hidden_proto): Caller changed.
26999         (hidden_tls_proto): New macro.
27000         (libc_hidden_tls_proto): Likewise.
27001         (rtld_hidden_tls_proto): Likewise.
27002         (libm_hidden_tls_proto): Likewise.
27003         (libresolv_hidden_tls_proto): Likewise.
27004         (librt_hidden_tls_proto): Likewise.
27005         (libdl_hidden_tls_proto): Likewise.
27006         (libnss_files_hidden_tls_proto): Likewise.
27007         (libnsl_hidden_tls_proto): Likewise.
27008         (libnss_nisplus_hidden_tls_proto): Likewise.
27009         (libutil_hidden_tls_proto): Likewise.
27011 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27013         [BZ #10253]
27014         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27015         (decompose_rpath): Defer expansion to fillin_rpath.
27016         (_dl_init_paths): Pass linkmap to fillin_rpath.
27018 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27020         * benchtests/Makefile: Add strsep.
27021         * benchtests/bench-strsep.c: New file: strsep benchtest.
27022         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27024 2013-11-18  Andreas Schwab  <schwab@suse.de>
27026         * locale/programs/locale.c (show_info) [case byte]: Check for
27027         '\377' instead of '\177'.
27028         * locale/C-monetary.c (not_available): Always use "\377".
27029         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27030         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27031         detect unavailable sign_posn locale elements.
27032         * locale/localeconv.c (__localeconv): For grouping and
27033         mon_grouping handle "\177" and "\377" like no grouping.
27034         (INT_ELEM): New macro.  Use it to set all numeric members.
27035         * locale/programs/ld-monetary.c (monetary_read)
27036         <tok_mon_grouping>: Normalize single -1 to the empty string.
27037         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27038         Likewise.
27040 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27042         [BZ #16055]
27043         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27044         when we match (nil).
27045         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27047 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27049         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27050         (NO_TEST_INLINE): Update value.
27051         (ERRNO_UNCHANGED): Likewise.
27052         (ERRNO_EDOM): Likewise.
27053         (ERRNO_ERANGE): Likewise.
27054         (IGNORE_RESULT): Likewise.
27055         (check_float_internal): Check signs of NaN results if
27056         TEST_NAN_SIGN used.
27057         (check_complex): Pass TEST_NAN_SIGN flag through to second
27058         check_float_internal call.
27059         (copysign_test_data): Add tests with quiet NaNs as second
27060         argument.  Use TEST_NAN_SIGN.
27061         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27062         TEST_NAN_SIGN.
27063         (signbit_test_data): Add tests of quiet NaN argument.
27064         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27066         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27067         $ignore_result.
27068         (parse_args): Handle function results specified as IGNORE.
27069         * math/libm-test.inc (IGNORE_RESULT): New macro.
27070         (check_float_internal): Do not check numerical result if flag
27071         IGNORE_RESULT set.
27072         (check_complex): Pass through IGNORE_RESULT to second
27073         check_float_internal call.
27074         (check_int): Do not check numerical result if flag IGNORE_RESULT
27075         set.
27076         (check_long): Likewise.
27077         (check_bool): Likewise.
27078         (check_longlong): Likewise.
27079         (lrint_test_data): Add tests of infinite and NaN arguments.
27080         (lrint_tonearest_test_data): Likewise.
27081         (lrint_towardzero_test_data): Likewise.
27082         (lrint_downward_test_data): Likewise.
27083         (lrint_upward_test_data): Likewise.
27084         (llrint_test_data): Likewise.
27085         (llrint_tonearest_test_data): Likewise.
27086         (llrint_towardzero_test_data): Likewise.
27087         (llrint_downward_test_data): Likewise.
27088         (llrint_upward_test_data): Likewise.
27089         (lround_test_data): Likewise.
27090         (llround_test_data): Likewise.
27092         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27093         (ERRNO_UNCHANGED): Update value.
27094         (ERRNO_EDOM): Likewise.
27095         (ERRNO_ERANGE): Likewise.
27096         (NO_TEST_INLINE_FLOAT): New macro.
27097         (NO_TEST_INLINE_DOUBLE): Likewise.
27098         (enable_test): New function.
27099         (RUN_TEST_f_f): Check enable_test before running test.
27100         (RUN_TEST_2_f): Likewise.
27101         (RUN_TEST_fff_f): Likewise.
27102         (RUN_TEST_c_f): Likewise.
27103         (RUN_TEST_f_f1): Likewise.
27104         (RUN_TEST_fF_f1): Likewise.
27105         (RUN_TEST_fI_f1): Likewise.
27106         (RUN_TEST_ffI_f1): Likewise.
27107         (RUN_TEST_c_c): Likewise.
27108         (RUN_TEST_cc_c): Likewise.
27109         (RUN_TEST_f_i): Likewise.
27110         (RUN_TEST_f_i_tg): Likewise.
27111         (RUN_TEST_ff_i_tg): Likewise.
27112         (RUN_TEST_f_b): Likewise.
27113         (RUN_TEST_f_b_tg): Likewise.
27114         (RUN_TEST_f_l): Likewise.
27115         (RUN_TEST_f_L): Likewise.
27116         (RUN_TEST_fFF_11): Likewise.
27117         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27118         conditionals.
27119         (cosh_test_data): Likewise.
27120         (exp_test_data): Likewise.
27121         (expm1_test_data): Likewise.
27122         (hypot_test_data): Likewise.
27123         (pow_test_data): Likewise.
27124         (sinh_test_data): Likewise.
27125         (tanh_test_data): Likewise.
27126         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27127         flags argument.
27129         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27130         tests with quiet NaN input and output.
27131         (acosh_test_data): Likewise.
27132         (asin_test_data): Likewise.
27133         (asinh_test_data): Likewise.
27134         (atan_test_data): Likewise.
27135         (atanh_test_data): Likewise.
27136         (atan2_test_data): Likewise.
27137         (cbrt_test_data): Likewise.
27138         (cos_test_data): Likewise.
27139         (cosh_test_data): Likewise.
27140         (erf_test_data): Likewise.
27141         (erfc_test_data): Likewise.
27142         (exp_test_data): Likewise.
27143         (exp10_test_data): Likewise.
27144         (exp2_test_data): Likewise.
27145         (expm1_test_data): Likewise.
27146         (hypot_test_data): Likewise.
27147         (j0_test_data): Likewise.
27148         (j1_test_data): Likewise.
27149         (jn_test_data): Likewise.
27150         (lgamma_test_data): Likewise.
27151         (log_test_data): Likewise.
27152         (log10_test_data): Likewise.
27153         (log1p_test_data): Likewise.
27154         (log2_test_data): Likewise.
27155         (pow_test_data): Likewise.
27156         (scalb_test_data): Likewise.
27157         (sin_test_data): Likewise.
27158         (sincos_test_data): Likewise.
27159         (sinh_test_data): Likewise.
27160         (tan_test_data): Likewise.
27161         (tanh_test_data): Likewise.
27162         (tgamma_test_data): Likewise.
27163         (y0_test_data): Likewise.
27164         (y1_test_data): Likewise.
27165         (yn_test_data): Likewise.
27167         [BZ #16167]
27168         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27169         argument being NaN and avoid computations with second argument in
27170         that case.
27171         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27172         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27173         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27175 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27177         * locale/iso-639.def: Add Chitwani Tharu (the).
27179 2013-11-14  Andreas Schwab  <schwab@suse.de>
27181         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27182         word instead of empty string.
27184 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27187         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27189         (__fe_nomask_env): Likewise.
27191 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27193         * benchtests/bench-timing.h: Include time.h.
27195 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27197         [BZ #15997]
27198         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27199         to 3.4.0 for x32.
27200         * sysdeps/unix/sysv/linux/configure: Regenerated.
27202 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27204         [BZ #16151]
27205         * stdlib/strtod_l.c (round_and_return): Do not consider
27206         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27207         exponent one less than half the least subnormal exponent.
27208         * stdlib/test-strtod-round-data: Add more tests.
27209         * stdlib/tst-strtod-round.c (tests): Regenerated.
27211 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27213         [BZ #14143]
27214         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27215         (__fe_mask_env): Likewise.
27216         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27217         libm_hidden_proto and add function prototype.
27218         (__fe_mask_env): Add function prototype.
27219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27220         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27222         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27224         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27226 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27228         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27229         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27231 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27233         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27234         of htab_find_slot().
27236 2013-11-11  David S. Miller  <davem@davemloft.net>
27238         [BZ #16150]
27239         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27240         symbol in the non-vis3 case in static builds.
27241         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27242         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27243         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27244         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27246 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27248         [BZ #387]
27249         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27250         it is empty.
27252 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27254         * benchtests/Makefile: Add bench-strtod.
27255         * benchtests/bench-strtod.c: New file: strtod benchtest
27257 2013-11-11  Andreas Schwab  <schwab@suse.de>
27259         [BZ #16153]
27260         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27261         terminating NUL in key length.
27263 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27265         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27266         Add artificial ODP entry for vDSO symbol for PPC64.
27267         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27268         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27270 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27272         [BZ #15374]
27273         * nss/getent.c (services_keys): Recognize services starting with digit.
27275 2013-11-06  David S. Miller  <davem@davemloft.net>
27277         [BZ #15985]
27278         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27279         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27281 2013-11-06  Will Newton  <will.newton@linaro.org>
27283         * manual/memory.texi (Malloc Examples): Remove register
27284         keyword from examples.
27286 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27288         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27290 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27292         [BZ #6981]
27293         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27294         depending on [__GCC_IEC_559 > 0].
27295         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27296         depending on [__GCC_IEC_559_COMPLEX > 0].
27298 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27300         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27301         to iso-639.def.
27303 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27305         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27307 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27309         [BZ #16112]
27310         * malloc/malloc (malloc_info): Do not handle first bin as
27311         special case.
27313 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27315         * locale/iso-639.def: Add Central Nahuatl (nhn).
27317 2013-11-01  Bruno Haible  <bruno@clisp.org>
27319         [BZ #7003]
27320         * manual/math.texi (BSD Random): Specify range upper bound as
27321         in POSIX.
27323 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27325         * locale/iso-639.def: Add Meadow Mari (mhr).
27327 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27329         [BZ #14752], [BZ #15763]
27330         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27331         Validate name.
27332         * rt/tst_shm.c: Add test for escaping directory.
27334 2013-10-31  Andreas Schwab  <schwab@suse.de>
27336         [BZ #15917]
27337         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27338         followed by 'x' as part of digit sequence.
27339         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27341 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27343         [BZ #16037]
27344         * configure.ac: allow GNU Make 4.0 and greater.
27345         * configure: Regenerated.
27347 2013-10-30  Will Newton  <will.newton@linaro.org>
27349         [BZ #16038]
27350         * malloc/hooks.c (memalign_check): Limit alignment to the
27351         maximum representable power of two.
27352         * malloc/malloc.c (__libc_memalign): Likewise.
27353         * malloc/tst-memalign.c (do_test): Add test for very
27354         large alignment values.
27355         * malloc/tst-posix_memalign.c (do_test): Likewise.
27357 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27359         [BZ #11087]
27360         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27361         (munmap_chunk): Likewise.
27362         (mremap_chunk): Likewise.
27364 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27366         [BZ #15799]
27367         * stdlib/div.c (div): Remove obsolete code.
27368         * stdlib/ldiv.c (ldiv): Likewise.
27369         * stdlib/lldiv.c (lldiv): Likewise.
27371 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27373         [BZ #16071]
27374         * nss/nss_files/files-XXX.c (get_contents_ret): New
27375         enumerator.
27376         (get_contents): New function.
27377         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27379 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27381         * configure.in: Moved to ...
27382         * configure.ac: ... here. Change reference to configure.in
27383         to configure.ac.
27384         * sysdeps/arm/preconfigure.ac: ... here.
27385         configure.in to configure.ac.
27386         * sysdeps/gnu/configure.in: Moved to ...
27387         * sysdeps/gnu/configure.ac: ... here.
27388         * sysdeps/i386/configure.in: Moved to ...
27389         * sysdeps/i386/configure.ac: ... here.
27390         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27391         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27392         * sysdeps/mach/configure.in: Moved to ...
27393         * sysdeps/mach/configure.ac: ... here.
27394         * sysdeps/mach/hurd/configure.in: Moved to ...
27395         * sysdeps/mach/hurd/configure.ac: ... here.
27396         * sysdeps/powerpc/configure.in: Moved to ...
27397         * sysdeps/powerpc/configure.ac: ... here.
27398         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27399         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27400         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27401         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27402         * sysdeps/s390/s390-32/configure.in: Moved to ...
27403         * sysdeps/s390/s390-32/configure.ac: ... here.
27404         * sysdeps/s390/s390-64/configure.in: Moved to ...
27405         * sysdeps/s390/s390-64/configure.ac: ... here.
27406         * sysdeps/sh/configure.in: Moved to ...
27407         * sysdeps/sh/configure.ac: ... here.
27408         * sysdeps/sparc/configure.in: Moved to ...
27409         * sysdeps/sparc/configure.ac: ... here.
27410         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27411         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27412         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27413         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27414         * sysdeps/x86_64/configure.in: Moved to ...
27415         * sysdeps/x86_64/configure.ac: ... here.
27416         * sysdeps/x86_64/preconfigure.in: Moved to ...
27417         * sysdeps/x86_64/preconfigure.ac: ... here.
27418         * aclocal.m4: Change reference to configure.in to configure.ac.
27419         * config.h.in: Likewise.
27420         * manual/install.texi: Likewise.
27421         * manual/maint.texi: Likewise.
27422         * Makefile: Likewise.
27423         * malloc/Makefile: Likewise.
27424         * nscd/Makefile: Likewise.
27425         * Makeconfig: Change reference to configure.in and
27426         preconfigure.in to configure.ac and preconfigure.ac
27427         respectively.
27428         * INSTALL: Regenerated.
27429         * configure: Likewise.
27430         * sysdeps/gnu/configure: Likewise.
27431         * sysdeps/i386/configure: Likewise.
27432         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27433         * sysdeps/mach/configure: Likewise.
27434         * sysdeps/mach/hurd/configure: Likewise.
27435         * sysdeps/powerpc/configure: Likewise.
27436         * sysdeps/powerpc/powerpc32/configure: Likewise.
27437         * sysdeps/powerpc/powerpc64/configure: Likewise.
27438         * sysdeps/s390/s390-32/configure: Likewise.
27439         * sysdeps/s390/s390-64/configure: Likewise.
27440         * sysdeps/sh/configure: Likewise.
27441         * sysdeps/sparc/configure: Likewise.
27442         * sysdeps/unix/sysv/linux/configure: Likewise.
27443         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27444         * sysdeps/x86_64/configure: Likewise.
27445         * sysdeps/x86_64/preconfigure: Likewise.
27447 2013-10-29  Andreas Schwab  <schwab@suse.de>
27449         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27451 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27453         * benchtests/pow-inputs: Add new inputs.
27455         * benchtests/exp-inputs: Add new inputs.
27457         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27458         conditional check for return value.
27459         (__cos32): Likewise.
27461 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27463         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27464         to provide a boost for large inputs with word alignment.
27465         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27466         implementation based on optimized PPC64 strcpy.
27467         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27468         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27469         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27470         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27472 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27474         [BZ #2801]
27475         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27477 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27479         [BZ #14876]
27480         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27481         * time/tst-strptime.c (day_tests): Add testcase.
27483 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27485         [BZ #14029]
27486         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27488 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27490         [BZ #16074]
27491         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27492         MAP_FAILED on error.
27494 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27496         [BZ #16072]
27497         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27498         heap for large requests.
27500 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27502         [BZ #9954]
27503         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27504         result if the result has no associated interface.
27505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27506         interface for all 127.X.Y.Z addresses.
27508 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27510         * locale/iso-639.def: Add Ligurian (lij)
27512 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27514         [BZ #15825]
27515         * sunrpc/rpc_main.c: Document rpcgen -5.
27517 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27519         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27521 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27523         [BZ #10278]
27524         * posix/glob.c: Match only directories when trailing slash is present.
27525         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27526         (main): Add testcase.
27528 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27530         [BZ #15670]
27531         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27533 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27535         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27536         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27537         AUTH_DES and cindex for FIPS 140-2.
27538         (DES Encryption): Add cindex FIPS 46-3.
27540         * locale/locarchive.h (struct locarhandle): Add fname.
27541         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27542         if an optional argument was specified to --list-archive,
27543         otherwise NULL.
27544         * locale/programs/locarchive.c (show_archive_content): Take new
27545         argument fname and pass it via ah.fname to open_archive.
27546         * locale/programs/localedef.h: Update decl.
27547         (open_archive): If AH->fname is non-null, open that file
27548         rather than the default file name, and don't ignore ENOENT.
27549         (create_archive): Set AH.fname to NULL.
27550         (delete_locales_from_archive): Likewise.
27551         (add_locales_to_archive): Likewise.
27552         * locale/programs/locfile.c (write_all_categories): Likewise.
27554 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27555             Aldy Hernandez  <aldyh@redhat.com>
27557         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27558         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27559         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27560         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27561         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27564         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27565         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27566         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27567         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27568         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27569         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27570         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27571         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27572         Likewise.
27573         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27574         Likewise.
27575         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27576         Likewise.
27577         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27578         Likewise.
27579         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27580         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27581         Likewise.
27582         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27583         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27584         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27585         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27586         Likewise.
27587         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27588         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27589         * sysdeps/powerpc/preconfigure: Likewise.
27590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27591         Likewise.
27592         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27593         Replace contents of file by #include of <fenv_libc.h>.
27594         * sysdeps/powerpc/soft-fp/sfp-machine.h
27595         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27596         and <sys/prctl.h>.
27597         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27604         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27606         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27610         Allow copysignl PLT reference to be missing.
27612 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27613             Joseph Myers  <joseph@codesourcery.com
27615         [BZ #15948]
27616         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27617         single character.
27618         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27620 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27622         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27623         * elf/tst-tls1.c: Likewise.
27624         * elf/tst-tls10.h: Likewise.
27625         * elf/tst-tls14.c: Likewise.
27626         * elf/tst-tls2.c: Likewise.
27627         * elf/tst-tls3.c: Likewise.
27628         * elf/tst-tls4.c: Likewise.
27629         * elf/tst-tls5.c: Likewise.
27630         * elf/tst-tls6.c: Likewise.
27631         * elf/tst-tls7.c: Likewise.
27632         * elf/tst-tls8.c: Likewise.
27633         * elf/tst-tls9.c: Likewise.
27634         * elf/tst-tlsmod1.c: Likewise.
27635         * elf/tst-tlsmod13.c: Likewise.
27636         * elf/tst-tlsmod13a.c: Likewise.
27637         * elf/tst-tlsmod14a.c: Likewise.
27638         * elf/tst-tlsmod16a.c: Likewise.
27639         * elf/tst-tlsmod16b.c: Likewise.
27640         * elf/tst-tlsmod2.c: Likewise.
27641         * elf/tst-tlsmod3.c: Likewise.
27642         * elf/tst-tlsmod4.c: Likewise.
27643         * elf/tst-tlsmod5.c: Likewise.
27644         * elf/tst-tlsmod6.c: Likewise.
27646 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27648         [BZ #12486]
27649         * malloc/malloc.c: remove checks for statistics.
27651 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27653         [BZ #15277]
27654         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27655         * inet/tst-network.c: Add testcase.
27657 2013-10-17  Andreas Schwab  <schwab@suse.de>
27659         [BZ #15218]
27660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27661         to determine canonical name.
27663 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27665         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27666         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27668         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27670         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27671         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27672         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27673         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27674         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27675         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27676         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27678         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27679         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27680         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27681         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27682         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27683         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27684         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27687         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27688         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27689         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27690         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27691         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27692         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27693         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27694         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27695         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27696         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27697         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27698         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27699         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27700         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27701         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27702         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27703         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27704         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27705         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27706         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27707         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27709         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27710         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27711         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27712         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27713         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27714         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27715         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27716         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27717         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27718         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27719         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27720         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27722         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27724 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27726         [BZ #16041]
27727         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27728         make result into a quiet NaN.
27730 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27732         * soft-fp/adddf3.c: Fix horizontal whitespace.
27733         * soft-fp/addsf3.c: Likewise.
27734         * soft-fp/addtf3.c: Likewise.
27735         * soft-fp/divdf3.c: Likewise.
27736         * soft-fp/divsf3.c: Likewise.
27737         * soft-fp/divtf3.c: Likewise.
27738         * soft-fp/double.h: Likewise.
27739         * soft-fp/eqdf2.c: Likewise.
27740         * soft-fp/eqsf2.c: Likewise.
27741         * soft-fp/eqtf2.c: Likewise.
27742         * soft-fp/extenddftf2.c: Likewise.
27743         * soft-fp/extended.h: Likewise.
27744         * soft-fp/extendsfdf2.c: Likewise.
27745         * soft-fp/extendsftf2.c: Likewise.
27746         * soft-fp/extendxftf2.c: Likewise.
27747         * soft-fp/fixdfdi.c: Likewise.
27748         * soft-fp/fixdfsi.c: Likewise.
27749         * soft-fp/fixdfti.c: Likewise.
27750         * soft-fp/fixsfdi.c: Likewise.
27751         * soft-fp/fixsfsi.c: Likewise.
27752         * soft-fp/fixsfti.c: Likewise.
27753         * soft-fp/fixtfdi.c: Likewise.
27754         * soft-fp/fixtfsi.c: Likewise.
27755         * soft-fp/fixtfti.c: Likewise.
27756         * soft-fp/fixunsdfdi.c: Likewise.
27757         * soft-fp/fixunsdfsi.c: Likewise.
27758         * soft-fp/fixunsdfti.c: Likewise.
27759         * soft-fp/fixunssfdi.c: Likewise.
27760         * soft-fp/fixunssfsi.c: Likewise.
27761         * soft-fp/fixunssfti.c: Likewise.
27762         * soft-fp/fixunstfdi.c: Likewise.
27763         * soft-fp/fixunstfsi.c: Likewise.
27764         * soft-fp/fixunstfti.c: Likewise.
27765         * soft-fp/floatdidf.c: Likewise.
27766         * soft-fp/floatdisf.c: Likewise.
27767         * soft-fp/floatditf.c: Likewise.
27768         * soft-fp/floatsidf.c: Likewise.
27769         * soft-fp/floatsisf.c: Likewise.
27770         * soft-fp/floatsitf.c: Likewise.
27771         * soft-fp/floattidf.c: Likewise.
27772         * soft-fp/floattisf.c: Likewise.
27773         * soft-fp/floattitf.c: Likewise.
27774         * soft-fp/floatundidf.c: Likewise.
27775         * soft-fp/floatundisf.c: Likewise.
27776         * soft-fp/floatunditf.c: Likewise.
27777         * soft-fp/floatunsidf.c: Likewise.
27778         * soft-fp/floatunsisf.c: Likewise.
27779         * soft-fp/floatunsitf.c: Likewise.
27780         * soft-fp/floatuntidf.c: Likewise.
27781         * soft-fp/floatuntisf.c: Likewise.
27782         * soft-fp/floatuntitf.c: Likewise.
27783         * soft-fp/fmadf4.c: Likewise.
27784         * soft-fp/fmasf4.c: Likewise.
27785         * soft-fp/fmatf4.c: Likewise.
27786         * soft-fp/gedf2.c: Likewise.
27787         * soft-fp/gesf2.c: Likewise.
27788         * soft-fp/getf2.c: Likewise.
27789         * soft-fp/ledf2.c: Likewise.
27790         * soft-fp/lesf2.c: Likewise.
27791         * soft-fp/letf2.c: Likewise.
27792         * soft-fp/muldf3.c: Likewise.
27793         * soft-fp/mulsf3.c: Likewise.
27794         * soft-fp/multf3.c: Likewise.
27795         * soft-fp/negdf2.c: Likewise.
27796         * soft-fp/negsf2.c: Likewise.
27797         * soft-fp/negtf2.c: Likewise.
27798         * soft-fp/op-1.h: Likewise.
27799         * soft-fp/op-2.h: Likewise.
27800         * soft-fp/op-4.h: Likewise.
27801         * soft-fp/op-8.h: Likewise.
27802         * soft-fp/op-common.h: Likewise.
27803         * soft-fp/quad.h: Likewise.
27804         * soft-fp/single.h: Likewise.
27805         * soft-fp/soft-fp.h: Likewise.
27806         * soft-fp/sqrtdf2.c: Likewise.
27807         * soft-fp/sqrtsf2.c: Likewise.
27808         * soft-fp/sqrttf2.c: Likewise.
27809         * soft-fp/subdf3.c: Likewise.
27810         * soft-fp/subsf3.c: Likewise.
27811         * soft-fp/subtf3.c: Likewise.
27812         * soft-fp/truncdfsf2.c: Likewise.
27813         * soft-fp/trunctfdf2.c: Likewise.
27814         * soft-fp/trunctfsf2.c: Likewise.
27815         * soft-fp/trunctfxf2.c: Likewise.
27816         * soft-fp/unorddf2.c: Likewise.
27817         * soft-fp/unordsf2.c: Likewise.
27818         * soft-fp/unordtf2.c: Likewise.
27820 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27822         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27823         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27825 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27827         * elf/dl-libc.c: Clear initfini list after freeing.
27829 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27831         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27832         * soft-fp/addsf3.c: Likewise.
27833         * soft-fp/addtf3.c: Likewise.
27834         * soft-fp/divdf3.c: Likewise.
27835         * soft-fp/divsf3.c: Likewise.
27836         * soft-fp/divtf3.c: Likewise.
27837         * soft-fp/double.h: Likewise.
27838         * soft-fp/eqdf2.c: Likewise.
27839         * soft-fp/eqsf2.c: Likewise.
27840         * soft-fp/eqtf2.c: Likewise.
27841         * soft-fp/extenddftf2.c: Likewise.
27842         * soft-fp/extended.h: Likewise.
27843         * soft-fp/extendsfdf2.c: Likewise.
27844         * soft-fp/extendsftf2.c: Likewise.
27845         * soft-fp/extendxftf2.c: Likewise.
27846         * soft-fp/fixdfdi.c: Likewise.
27847         * soft-fp/fixdfsi.c: Likewise.
27848         * soft-fp/fixdfti.c: Likewise.
27849         * soft-fp/fixsfdi.c: Likewise.
27850         * soft-fp/fixsfsi.c: Likewise.
27851         * soft-fp/fixsfti.c: Likewise.
27852         * soft-fp/fixtfdi.c: Likewise.
27853         * soft-fp/fixtfsi.c: Likewise.
27854         * soft-fp/fixtfti.c: Likewise.
27855         * soft-fp/fixunsdfdi.c: Likewise.
27856         * soft-fp/fixunsdfsi.c: Likewise.
27857         * soft-fp/fixunsdfti.c: Likewise.
27858         * soft-fp/fixunssfdi.c: Likewise.
27859         * soft-fp/fixunssfsi.c: Likewise.
27860         * soft-fp/fixunssfti.c: Likewise.
27861         * soft-fp/fixunstfdi.c: Likewise.
27862         * soft-fp/fixunstfsi.c: Likewise.
27863         * soft-fp/fixunstfti.c: Likewise.
27864         * soft-fp/floatdidf.c: Likewise.
27865         * soft-fp/floatdisf.c: Likewise.
27866         * soft-fp/floatditf.c: Likewise.
27867         * soft-fp/floatsidf.c: Likewise.
27868         * soft-fp/floatsisf.c: Likewise.
27869         * soft-fp/floatsitf.c: Likewise.
27870         * soft-fp/floattidf.c: Likewise.
27871         * soft-fp/floattisf.c: Likewise.
27872         * soft-fp/floattitf.c: Likewise.
27873         * soft-fp/floatundidf.c: Likewise.
27874         * soft-fp/floatundisf.c: Likewise.
27875         * soft-fp/floatunsidf.c: Likewise.
27876         * soft-fp/floatunsisf.c: Likewise.
27877         * soft-fp/floatuntidf.c: Likewise.
27878         * soft-fp/floatuntisf.c: Likewise.
27879         * soft-fp/floatuntitf.c: Likewise.
27880         * soft-fp/fmadf4.c: Likewise.
27881         * soft-fp/fmasf4.c: Likewise.
27882         * soft-fp/fmatf4.c: Likewise.
27883         * soft-fp/gedf2.c: Likewise.
27884         * soft-fp/gesf2.c: Likewise.
27885         * soft-fp/getf2.c: Likewise.
27886         * soft-fp/ledf2.c: Likewise.
27887         * soft-fp/lesf2.c: Likewise.
27888         * soft-fp/letf2.c: Likewise.
27889         * soft-fp/muldf3.c: Likewise.
27890         * soft-fp/mulsf3.c: Likewise.
27891         * soft-fp/multf3.c: Likewise.
27892         * soft-fp/negdf2.c: Likewise.
27893         * soft-fp/negsf2.c: Likewise.
27894         * soft-fp/negtf2.c: Likewise.
27895         * soft-fp/op-1.h: Likewise.
27896         * soft-fp/op-2.h: Likewise.
27897         * soft-fp/op-4.h: Likewise.
27898         * soft-fp/op-8.h: Likewise.
27899         * soft-fp/op-common.h: Likewise.
27900         * soft-fp/quad.h: Likewise.
27901         * soft-fp/single.h: Likewise.
27902         * soft-fp/soft-fp.h: Likewise.
27903         * soft-fp/sqrtdf2.c: Likewise.
27904         * soft-fp/sqrtsf2.c: Likewise.
27905         * soft-fp/sqrttf2.c: Likewise.
27906         * soft-fp/subdf3.c: Likewise.
27907         * soft-fp/subsf3.c: Likewise.
27908         * soft-fp/subtf3.c: Likewise.
27909         * soft-fp/truncdfsf2.c: Likewise.
27910         * soft-fp/trunctfdf2.c: Likewise.
27911         * soft-fp/trunctfsf2.c: Likewise.
27912         * soft-fp/trunctfxf2.c: Likewise.
27913         * soft-fp/unorddf2.c: Likewise.
27914         * soft-fp/unordsf2.c: Likewise.
27915         * soft-fp/unordtf2.c: Likewise.
27917 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27919         [BZ #15672]
27920         * misc/error.c (error_tail): Fix possible buffer overflow.
27922 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27924         [BZ #13028]
27925         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27926         address.
27928 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27930         [BZ #832]
27931         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27932         testing pipefail option.
27934 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27936         * soft-fp/double.h: Indent preprocessor directives inside #if.
27937         * soft-fp/extended.h: Likewise.
27938         * soft-fp/op-2.h: Likewise.
27939         * soft-fp/op-4.h: Likewise.
27940         * soft-fp/op-common.h: Likewise.
27941         * soft-fp/quad.h: Likewise.
27942         * soft-fp/single.h: Likewise.
27943         * soft-fp/soft-fp.h: Likewise.
27945 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27947         * iconv/iconv_prog.c: Fix typos.
27948         * stdio-common/psiginfo-data.h: Likewise.
27950 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27952         [BZ #15764]
27953         * locale/setlocale.c: Fix typo.
27955 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27957         [BZ #16036]
27958         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27959         signaling NaN arguments.
27960         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27961         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27963         [BZ #14910]
27964         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27965         unordered operands.
27966         * soft-fp/gesf2.c (__gesf2): Likewise.
27967         * soft-fp/getf2.c (__getf2): Likewise.
27968         * soft-fp/ledf2.c (__ledf2): Likewise.
27969         * soft-fp/lesf2.c (__lesf2): Likewise.
27970         * soft-fp/letf2.c (__letf2): Likewise.
27972         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27973         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27974         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27975         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27976         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27977         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27978         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27979         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27980         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27981         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27982         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27983         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27984         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27985         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27986         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27987         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27988         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27989         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27990         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27991         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27992         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27993         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27994         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27995         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27996         * soft-fp/floattidf.c (__floattidf): Likewise.
27997         * soft-fp/floattisf.c (__floattisf): Likewise.
27998         * soft-fp/floattitf.c (__floattitf): Likewise.
27999         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28000         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28001         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28002         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28003         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28004         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28005         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28006         * soft-fp/gesf2.c (__gesf2): Likewise.
28007         * soft-fp/getf2.c (__getf2): Likewise.
28008         * soft-fp/ledf2.c (__ledf2): Likewise.
28009         * soft-fp/lesf2.c (__lesf2): Likewise.
28010         * soft-fp/letf2.c (__letf2): Likewise.
28012         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28013         Undefine and redefine.
28014         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28015         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28016         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28017         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28018         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28019         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28020         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28021         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28022         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28023         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28024         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28025         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28026         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28027         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28028         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28030         [BZ #16032]
28031         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28032         without decrementing exponent if mantissa >= that for the
28033         denominator, not >.
28034         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28035         denominator, not >.  Decrement exponent in < case instead of
28036         incrementing in >= case.
28037         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28038         without decrementing exponent if mantissa >= that for the
28039         denominator, not >.
28041         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28042         computing saturated result for unsigned overflow.
28044 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28045             Jeff Law  <law@redhat.com>
28047         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28048         (atan2Mp): Add systemtap probe marker.
28049         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28050         (__ieee754_log): Add systemtap probe marker.
28051         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28052         (atanMp): Add systemtap probe marker.
28053         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28054         (tanMp): Add systemtap probe marker.
28055         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28056         (__slowexp): Add systemtap probe marker.
28057         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28058         (__slowpow): Add systemtap probe marker.
28059         * manual/probes.texi: Document probes.
28061 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28063         [BZ #15362]
28064         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28065         written.
28066         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28067         written.
28068         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28069         written to buffer but not flushed.
28070         * libio/iofwrite_u.c:  Likewise.
28071         * libio/iopadn.c:  Return bytes returned even if EOF was
28072         encountered.
28073         * libio/iowpadn.c:  Likewise.
28074         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28075         if _IO_padn does not write the whole buffer.
28076         [!COMPILE_WPRINTF] (PAD): Likewise.
28078 2013-10-10  David S. Miller  <davem@davemloft.net>
28080         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28081         directory block.
28083 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28085         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28086         instead of FSF address.
28087         * soft-fp/fixdfti.c: Likewise.
28088         * soft-fp/fixsfti.c: Likewise.
28089         * soft-fp/fixtfti.c: Likewise.
28090         * soft-fp/fixunsdfti.c: Likewise.
28091         * soft-fp/fixunssfti.c: Likewise.
28092         * soft-fp/fixunstfti.c: Likewise.
28093         * soft-fp/floattidf.c: Likewise.
28094         * soft-fp/floattisf.c: Likewise.
28095         * soft-fp/floattitf.c: Likewise.
28096         * soft-fp/floatuntidf.c: Likewise.
28097         * soft-fp/floatuntisf.c: Likewise.
28098         * soft-fp/floatuntitf.c: Likewise.
28099         * soft-fp/trunctfxf2.c: Likewise.
28101         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28102         * soft-fp/fixdfti.c: Likewise.
28103         * soft-fp/fixsfti.c: Likewise.
28104         * soft-fp/fixtfti.c: Likewise.
28105         * soft-fp/fixunsdfti.c: Likewise.
28106         * soft-fp/fixunssfti.c: Likewise.
28107         * soft-fp/fixunstfti.c: Likewise.
28108         * soft-fp/floattidf.c: Likewise.
28109         * soft-fp/floattisf.c: Likewise.
28110         * soft-fp/floattitf.c: Likewise.
28111         * soft-fp/floatuntidf.c: Likewise.
28112         * soft-fp/floatuntisf.c: Likewise.
28113         * soft-fp/floatuntitf.c: Likewise.
28114         * soft-fp/trunctfxf2.c: Likewise.
28116 2013-10-10  David S. Miller  <davem@davemloft.net>
28118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28120 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28122         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28123         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28124         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28125         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28126         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28127         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28128         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28130         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28131         for NaNs before doing comparisons on argument.
28132         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28133         Likewise.
28135 2013-10-10  Will Newton  <will.newton@linaro.org>
28137         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28138         passed to _int_memalign does not overflow.
28140 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28142         * scripts/bench.pl: Add include-sources directive.
28143         * benchtests/README: Update documentation.
28145 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28147         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28148         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28149         instead of FP_INIT_ROUNDMODE.
28150         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28151         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28153         [BZ #16034]
28154         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28155         copy class of input value.
28156         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28157         not handle exceptions.
28158         * soft-fp/negsf2.c (__negsf2): Likewise.
28159         * soft-fp/negtf2.c (__negtf2): Likewise.
28160         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28162 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28164         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28165         semicolon.  From Linux kernel.
28167 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28169         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28171 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28173         [BZ #156]
28174         * manual/socket.texi: Added statement about buffer
28175         for gethostbyname2_r.
28177 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28179         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28180         Use .p2align directive instead, throughout.
28181         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28182         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28183         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28184         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28185         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28186         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28187         * sysdeps/x86_64/strchr.S: Likewise.
28188         * sysdeps/x86_64/strrchr.S: Likewise.
28190 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28192         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28194         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28196         * sysdeps/generic/math_private.h (__mpsin1): Remove
28197         declaration.
28198         (__mpcos1): Likewise.
28199         (__mpsin): New argument __range_reduce.
28200         (__mpcos): Likewise.
28201         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28202         (slow): Use __mpsin and __mpcos.
28203         (slow1): Likewise.
28204         (slow2): Likewise.
28205         (sloww): Likewise.
28206         (sloww1): Likewise.
28207         (sloww2): Likewise.
28208         (bsloww): Likewise.
28209         (bsloww1): Likewise.
28210         (bsloww2): Likewise.
28211         (cslow2): Likewise.
28212         (csloww): Likewise.
28213         (csloww1): Likewise.
28214         (csloww2): Likewise.
28215         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28216         range_reduce.  Merge in __mpsin1.
28217         (__mpcos): Likewise.
28218         (__mpsin1): Remove.
28219         (__mpcos1): Likewise.
28221 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28223         * locale/loadlocale.c (_nl_intern_locale_data): Use
28224         LOCFILE_ALIGNED_P.
28225         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28226         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28227         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28228         obstack data is appropriately aligned.
28229         (obstack_int32_grow_fast): Likewise.
28230         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28231         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28232         (add_locale_uint32_array): Likewise.
28234 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28236         * benchtests/Makefile: Remove ARGLIST and RET variables.
28237         ($(objpfx)bench-%.c): Pass only function name to the script.
28238         * benchtests/README: Update documentation.
28239         * benchtests/acos-inputs: Add new directives.
28240         * benchtests/acosh-inputs: Likewise.
28241         * benchtests/asin-inputs: Likewise.
28242         * benchtests/asinh-inputs: Likewise.
28243         * benchtests/atan-inputs: Likewise.
28244         * benchtests/atanh-inputs: Likewise.
28245         * benchtests/cos-inputs: Likewise.
28246         * benchtests/cosh-inputs: Likewise.
28247         * benchtests/exp-inputs: Likewise.
28248         * benchtests/log-inputs: Likewise.
28249         * benchtests/pow-inputs: Likewise.
28250         * benchtests/rint-inputs: Likewise.
28251         * benchtests/sin-inputs: Likewise.
28252         * benchtests/sinh-inputs: Likewise.
28253         * benchtests/tan-inputs: Likewise.
28254         * benchtests/tanh-inputs: Likewise.
28255         * scripts/bench.pl: Add support for new directives.
28257 2013-10-07  Alan Modra  <amodra@gmail.com>
28259         * README: Fix careless merge.
28261 2013-10-05  Alan Modra  <amodra@gmail.com>
28263         * NEWS: Mention powerpc64le support and bugs fixed.
28264         * README: Both big-endian and little-endian powerpc64 supported.
28266 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28268         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28269         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28270         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28271         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28273 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28275         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28276         match prototype.
28278 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28280         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28281         Move -mhard-float appending from
28282         ports/sysdeps/powerpc/powerpc32/Makefile.
28283         [$(with-fp) = yes] (ASFLAGS): Likewise.
28284         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28285         * sysdeps/powerpc/nofpu: Move directory from
28286         ports/sysdeps/powerpc/nofpu.
28287         * sysdeps/powerpc/soft-fp: Move directory from
28288         ports/sysdeps/powerpc/soft-fp.
28289         * sysdeps/powerpc/powerpc32/405: Move directory from
28290         ports/sysdeps/powerpc/powerpc32/405.
28291         * sysdeps/powerpc/powerpc32/440: Move directory from
28292         ports/sysdeps/powerpc/powerpc32/440.
28293         * sysdeps/powerpc/powerpc32/464: Move directory from
28294         ports/sysdeps/powerpc/powerpc32/464.
28295         * sysdeps/powerpc/powerpc32/476: Move directory from
28296         ports/sysdeps/powerpc/powerpc32/476.
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28298         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28300         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28302         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28304         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28306         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28307         * README: Update for powerpc-*-linux-gnu software floating point
28308         support in libc.
28310         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28311         case to powerpc/powerpc32*.
28312         * sysdeps/unix/sysv/linux/configure: Regenerated.
28314         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28315         (_FPU_MASK_OM): Define as 0x04.
28316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28318         0x00c10080.
28319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28320         0x0000003c.
28321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28324         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28325         getcontext_e500.
28326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28327         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28328         setcontext_e500.
28329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28330         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28331         and setcontext_e500.
28333 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28335         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28337 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28339         * manual/threads.texi (Default Thread Attributes): Fix typo.
28341 2013-10-04  Will Newton  <will.newton@linaro.org>
28343         * malloc/Makefile: Add tst-memalign.
28344         * malloc/tst-memalign.c: New file.
28346         * malloc/tst-posix_memalign.c: Add comments.
28347         (do_test): Add comments and call free on all potentially
28348         allocated pointers. Add space after cast.
28350         * malloc/tst-pvalloc.c: Add comments.
28351         (do_test): Add comments and call free on all potentially
28352         allocated pointers. Remove duplicate check for NULL pointer.
28353         Add space after cast.
28355         * malloc/tst-valloc.c: Add comments.
28356         (do_test): Add comments and call free on all potentially
28357         allocated pointers. Remove duplicate check for NULL pointer.
28358         Add space after cast.
28360 2013-10-04  Alan Modra  <amodra@gmail.com>
28362         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28363         Use stdint types in rather than __attribute__((mode())).
28364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28366 2013-10-04  Alan Modra  <amodra@gmail.com>
28368         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28369         Correct handling of unaligned relocs for little-endian.
28370         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28372 2013-10-04  Alan Modra  <amodra@gmail.com>
28374         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28375         * configure: Regenerate.
28376         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28377         * shlib-versions: Likewise.
28379 2013-10-04  Alan Modra  <amodra@gmail.com>
28381         * string/tester.c (test_memrchr): Increment reported test cycle.
28383 2013-10-04  Alan Modra  <amodra@gmail.com>
28385         * string/test-memcpy.c (do_one_test): When reporting errors, print
28386         string address and don't overrun end of string.
28388 2013-10-04  Alan Modra  <amodra@gmail.com>
28390         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28391         insrdi.  Make better use of reg selection to speed exit slightly.
28392         Schedule entry path a little better.  Remove useless "are we done"
28393         checks on entry to main loop.  Handle wrapping around zero address.
28394         Correct main loop count.  Handle single left-over word from main
28395         loop inline rather than by using loop_small.  Remove extra word
28396         case in loop_small caused by wrong loop count.  Add little-endian
28397         support.
28398         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28400         cache hint.
28401         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28402         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28403         support.  Avoid rlwimi.
28404         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28406 2013-10-04  Alan Modra  <amodra@gmail.com>
28408         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28409         insrdi.  Formatting.
28410         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28411         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28412         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28413         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28414         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28415         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28417 2013-10-04  Alan Modra  <amodra@gmail.com>
28419         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28420         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28421         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28422         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28423         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28424         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28425         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28426         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28427         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28428         use of regs.  Use power7 mtocrf.  Tidy function tails.
28430 2013-10-04  Alan Modra  <amodra@gmail.com>
28432         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28433         Formatting.  Consistently use rXXX register defines or rN defines.
28434         Use early exit labels that avoid restoring unused non-volatile regs.
28435         Make cr field use more consistent with rWORDn compares.  Rename
28436         regs used as shift registers for unaligned loop, using rN defines
28437         for short lifetime/multiple use regs.
28438         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28439         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28440         addi 1,1,64 to pop stack frame.  Simplify return value code.
28441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28443 2013-10-04  Alan Modra  <amodra@gmail.com>
28445         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28446         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28447         rather than rlwimi.
28448         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28449         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28450         little-endian support.  Correct typos.
28451         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28452         rather than rlwimi.
28453         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28454         in loop and entry code to keep "and." results.
28455         (strchr): Add little-endian support.  Comment.  Move cntlzd
28456         earlier in tail.
28457         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28459 2013-10-04  Alan Modra  <amodra@gmail.com>
28461         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28462         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28463         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28464         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28466 2013-10-04  Alan Modra  <amodra@gmail.com>
28468         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28469         (rTMP): Define as r11.
28470         (strcmp): Add little-endian support.  Optimise tail.
28471         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28472         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28473         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28474         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28475         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28476         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28477         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28479 2013-10-04  Alan Modra  <amodra@gmail.com>
28481         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28482         little-endian support.  Remove unnecessary "are we done" tests.
28483         Handle "s" wrapping around zero and extremely large "size".
28484         Correct main loop count.  Handle single left-over word from main
28485         loop inline rather than by using small_loop.  Correct comments.
28486         Delete "zero" tail, use "end_max" instead.
28487         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28489 2013-10-04  Alan Modra  <amodra@gmail.com>
28491         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28492         support.  Don't branch over align.
28493         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28494         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28495         support.  Rearrange tmp reg use to suit.  Comment.
28496         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28498 2013-10-04  Alan Modra  <amodra@gmail.com>
28500         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28502 2013-10-04  Alan Modra  <amodra@gmail.com>
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28505         conditional form of branch and link when obtaining pc.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28508 2013-10-04  Alan Modra  <amodra@gmail.com>
28510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28511         HIWORD/LOWORD.
28512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28515 2013-10-04  Alan Modra  <amodra@gmail.com>
28517         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28518         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28519         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28520         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28521         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28522         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28523         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28524         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28525         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28526         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28528 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28529             Alistair Popple <alistair@ozlabs.au.ibm.com>
28530             Alan Modra <amodra@gmail.com>
28532         [BZ #15723]
28533         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28534         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28535         _dl_hwcap access for little-endian.
28536         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28537         destroy vmx regs when saving unaligned.
28538         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28539         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28540         destroy vmx regs when saving unaligned.
28542 2013-10-04  Alan Modra  <amodra@gmail.com>
28544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28545         Don't use a union to pack hi/low value.
28547 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28549         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28550         for little-endian.
28551         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28552         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28553         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28554         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28555         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28557 2013-10-04  Alan Modra  <amodra@gmail.com>
28559         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28560         constants to usual value for .cst8 section, and remove redundant
28561         high address load.
28562         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28563         constant for 0x1p52.  Load little-endian words of double from
28564         correct stack offsets.
28566 2013-10-04  Alan Modra  <amodra@gmail.com>
28568         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28569         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28570         words of double from correct stack offsets.
28571         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28572         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28573         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28574         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28575         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28576         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28577         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28578         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28579         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28580         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28581         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28582         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28583         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28584         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28585         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28586         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28587         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28589 2013-10-04  Alan Modra  <amodra@gmail.com>
28591         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28592         64-bit int/double union.
28593         (_FPU_SETCW): Likewise.
28594         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28595         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28597 2013-10-04  Alan Modra  <amodra@gmail.com>
28599         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28600         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28602 2013-10-04  Alan Modra  <amodra@gmail.com>
28604         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28605         use vector int constants.
28606         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28608 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28610         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28611         array with long long.
28612         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28613         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28614         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28615         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28616         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28617         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28618         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28619         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28620         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28621         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28622         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28623         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28624         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28626 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28628         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28629         (__signbit): Likewise.  Correct for little-endian.
28630         (__signbitl): Call __signbit.
28631         (lrint): Correct for little-endian.
28632         (lrintf): Call lrint.
28634 2013-10-04  Alan Modra  <amodra@gmail.com>
28636         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28637         union 32-bit int array member with 64-bit int array.
28638         (t515, tm256): Double rather than long double.
28639         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28641 2013-10-04  Alan Modra  <amodra@gmail.com>
28643         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28644         Delete.
28645         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28646         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28647         version of math_ldbl.h.
28649 2013-10-04  Alan Modra  <amodra@gmail.com>
28651         [BZ #15734], [BZ #15735]
28652         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28653         all uses of ieee875 long double macros and unions.  Simplify test
28654         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28655         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28656         normalize after ldbl_extract_mantissa, and don't add hidden bit
28657         already handled.  Don't treat low word of ieee854 mantissa like
28658         low word of IBM long double and mask off bit when testing for
28659         zero.
28660         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28661         all uses of ieee875 long double macros and unions.  Simplify tests
28662         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28663         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28664         two1022, instead use their values.  Recognise that tests for large
28665         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28666         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28667         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28668         test for 0.0L and nan.  Correct negation.
28669         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28670         ieee875 long double macros and unions.  Correct output for large
28671         magnitude x.  Correct absolute value calculation.
28672         (__erfcl): Likewise.
28673         * math/libm-test.inc: Add tests for errors discovered in IBM long
28674         double versions of fmodl, remainderl, erfl and erfcl.
28676 2013-10-04  Alan Modra  <amodra@gmail.com>
28678         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28679         all uses of ieee854 long double macros and unions.  Simplify tests
28680         for long doubles that are fully specified by the high double.
28681         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28682         Likewise.
28683         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28684         Remove dead code too.
28685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28686         (__ieee754_ynl): Likewise.
28687         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28688         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28690         Remove dead code too.
28691         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28692         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28693         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28694         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28695         Simplify.
28696         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28697         Simplify.
28698         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28699         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28700         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28701         Comment on variable precision.
28702         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28703         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28704         Likewise.
28705         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28706         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28707         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28708         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28709         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28711 2013-10-04  Alan Modra  <amodra@gmail.com>
28713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28714         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28715         all uses of ieee854 long double macros and unions.
28716         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28717         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28719         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28720         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28721         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28722         Likewise.
28723         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28724         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28725         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28727         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28728         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28729         Simplify sign and nan test too.
28730         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28731         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28732         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28733         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28734         Likewise.
28735         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28736         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28737         Likewise.
28738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28739         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28740         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28741         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28742         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28745 2013-10-04  Alan Modra  <amodra@gmail.com>
28747         * stdio-common/printf_size.c (__printf_size): Don't use
28748         union ieee854_long_double in fpnum union.
28749         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28750         signbit macro to retrieve sign from long double.
28751         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28752         retrieve sign from long double.
28753         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28754         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28755         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28756         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28757         * math/test-misc.c (main): Don't use union ieee854_long_double.
28759 2013-10-04  Alan Modra  <amodra@gmail.com>
28761         [BZ #15680]
28762         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28763         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28764         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28765         calculation.  Remove unnecessary test for denormal exponent.
28766         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28767         Correct handling of denormals.  Avoid undefined shift behaviour.
28768         Correct normalisation of low mantissa when low double is denormal.
28769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28770         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28771         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28772         Correct normalisation of low mantissa.  Test for overflow of high
28773         mantissa and normalise.
28774         (ldbl_nearbyint): Use more readable constant for two52.
28775         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28776         (__mpn_construct_long_double): Fix test for overflow of high
28777         mantissa and correct normalisation.  Avoid undefined shift.
28779 2013-10-04  Alan Modra  <amodra@gmail.com>
28781         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28782         (union ibm_extended_long_double): Define as an array of ieee754_double.
28783         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28784         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28785         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28786         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28787         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28788         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28791         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28792         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28793         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28795 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28797         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28798         page size instead of calling getpagesize.
28800         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28801         (LOCFILE_ALIGN_MASK): Likewise.
28802         (LOCFILE_ALIGN_UP): Likewise.
28803         (LOCFILE_ALIGNED_P): Likewise.
28804         * locale/programs/ld-collate.c (collate_output): Use the new
28805         macros instead of __alignof__ (int32_t).
28806         * locale/weight.h (findidx): Likewise.
28808 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28810         [BZ #431]
28811         * manual/string.texi: Fix strncat and wcsncat.
28813 2013-10-03  Brooks Moses  <bmoses@google.com>
28815         [BZ #15915]
28816         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28817         * Makerules: ...here, and adjust associated comments.
28819 2013-10-02  Will Newton  <will.newton@linaro.org>
28821         * malloc/Makefile: Add tst-pvalloc.
28822         * malloc/tst-pvalloc.c: New file.
28824 2013-10-02  Will Newton  <will.newton@linaro.org>
28826         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28827         improve test coverage.
28829 2013-10-02  Will Newton  <will.newton@linaro.org>
28831         * malloc/Makefile: Add tst-posix_memalign.
28832         * malloc/tst-posix_memalign.c: New file.
28834 2013-10-01  Eric Blake  <eblake@redhat.com>
28836         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28837         Use __THROWNL rather than __THROW on static functions.
28839 2013-09-30  Petr Machata  <pmachata@redhat.com>
28841         * elf/elf.h (R_AARCH64_ABS16): New macro.
28842         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28843         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28844         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28845         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28846         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28847         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28848         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28849         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28850         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28851         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28852         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28853         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28854         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28855         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28856         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28857         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28858         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28859         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28860         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28861         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28862         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28863         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28864         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28865         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28866         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28867         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28868         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28869         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28870         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28871         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28872         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28873         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28874         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28875         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28876         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28877         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28878         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28879         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28880         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28881         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28882         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28883         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28884         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28885         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28886         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28887         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28888         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28889         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28890         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28891         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28892         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28893         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28894         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28895         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28896         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28897         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28898         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28899         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28900         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28901         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28902         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28903         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28904         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28905         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28906         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28907         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28908         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28909         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28910         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28911         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28912         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28913         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28914         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28915         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28916         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28917         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28918         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28919         (R_AARCH64_TLSDESC_LDR): Likewise.
28920         (R_AARCH64_TLSDESC_ADD): Likewise.
28921         (R_AARCH64_TLSDESC_CALL): Likewise.
28923 2013-09-30  Andreas Schwab  <schwab@suse.de>
28925         [BZ #15048]
28926         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28927         the nss database lookup.
28928         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28931 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28933         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28935 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28938         ${Bash-specific parameter/pattern/string} parameter expansion.
28939         * sysdeps/unix/make-syscalls.sh: Likewise.
28941 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28943         * sysdeps/sh/stackguard-macros.h: New file.
28945 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28949         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28950         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28951         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28952         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28954 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28956         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28957         Fix thread ID register.
28959 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28961         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28962         [POSIX || UNIX98]: Require rather than permitting all symbols from
28963         <time.h>.
28964         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28965         element of struct sched_param.
28966         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28967         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28968         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28969         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28970         constant.
28972 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28974         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28975         argument calculation.
28977 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28979         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28980         Expect macro.
28981         [POSIX] (pthread_attr_t): Do not require type.
28982         [POSIX] (pthread_cond_t): Likewise.
28983         [POSIX] (pthread_condattr_t): Likewise.
28984         [POSIX] (pthread_key_t): Likewise.
28985         [POSIX] (pthread_mutex_t): Likewise.
28986         [POSIX] (pthread_mutexattr_t): Likewise.
28987         [POSIX] (pthread_once_t): Likewise.
28988         [POSIX] (pthread_t): Likewise.
28989         [POSIX-based standards] (pthread_atfork): Expect function.
28991 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28992             Richard Sandiford  <richard@codesourcery.com>
28994         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28995         (swap_endianness_p): New extern variable.
28996         (set_big_endian): New inline function.
28997         (maybe_swap_uint32): Likewise.
28998         (maybe_swap_uint32_array): Likewise.
28999         (maybe_swap_uint32_obstack): Likewise.
29000         * locale/programs/locfile.c: Include <stdbool.h>.
29001         (swap_endianness_p): New variable.
29002         (add_locale_uint32): Call maybe_swap_uint32.
29003         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29004         (write_locale_data): Call maybe_swap_uint32_array.
29005         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29006         maybe_swap_uint32.
29007         (obstack_int32_grow_fast): Likewise.
29008         (output_weightwc): Call maybe_swap_uint32_obstack.
29009         (collate_output): Likewise.
29010         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29011         (OPT_LITTLE_ENDIAN): Likewise.
29012         (options): Add --little-endian and --big-endian options.
29013         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29014         * locale/programs/locarchive.c: Include "locfile.h".
29015         (GET): New macro.
29016         (SET): Likewise.
29017         (INC): Likewise.
29018         (create_archive): Use the new macros to access fields of
29019         structures directly mapped from or written to locale archives.
29020         (oldlocrecentcmp): Likewise.
29021         (enlarge_archive): Likewise.
29022         (insert_name): Likewise.
29023         (add_alias): Likewise.
29024         (add_locale): Likewise.
29025         (delete_locales_from_archive): Likewise.
29026         (show_archive_content): Likewise.
29027         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29028         locale data.
29030 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29032         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29033         http://www.gnu.org/doc/freemanuals.texi.
29034         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29036 2013-09-24  Will Newton  <will.newton@linaro.org>
29038         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29039         macro.
29041 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29043         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29044         unsigned char.
29046 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29048         * manual/threads.texi (POSIX Threads): Fix a typo.
29050 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29052         [BZ #14547]
29053         * string/tst-strcoll-overflow.c: New test case.
29054         * string/Makefile (xtests): Add tst-strcoll-overflow.
29055         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29056         cache if string sizes may cause integer overflow.
29058         [BZ #14547]
29059         * string/strcoll_l.c (coll_seq): New members rule, idx,
29060         save_idx and back_us.
29061         (get_next_seq_nocache): New function.
29062         (do_compare_nocache): New function.
29063         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29064         when malloc fails.
29066 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29068         [BZ #15754]
29069         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29070         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29071         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29073         [BZ #15754]
29074         * elf/Makefile (tests): Add tst-ptrguard1.
29075         (tests-static): Add tst-ptrguard1-static.
29076         (tst-ptrguard1-ARGS): Define.
29077         (tst-ptrguard1-static-ARGS): Define.
29078         * elf/tst-ptrguard1.c: New file.
29079         * elf/tst-ptrguard1-static.c: New file.
29080         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29081         * sysdeps/i386/stackguard-macros.h: Likewise.
29082         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29083         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29084         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29085         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29086         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29087         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29089 2013-09-23  Hector Marco  <hecmargi@upv.es>
29090             Ismael Ripoll  <iripoll@disca.upv.es>
29091             Carlos O'Donell  <carlos@redhat.com>
29093         [BZ #15754]
29094         * sysdeps/generic/stackguard-macros.h: Define
29095         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29096         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29097         Define __pointer_chk_guard_local.
29098         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29099         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29101 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29103         [BZ #15859]
29104         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29106 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29108         * include/string.h (__ffs): Declare as hidden.
29109         * string/ffs.c (__ffs): Define as hidden.
29110         * sysdeps/i386/ffs.c (__ffs): Likewise.
29111         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29112         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29113         * sysdeps/s390/ffs.c (__ffs): Likewise.
29114         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29116 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29118         * NEWS: Mention malloc probes.
29120         * malloc/arena.c (new_heap): New memory_heap_new probe.
29121         (grow_heap): New memory_heap_more probe.
29122         (shrink_heap): New memory_heap_less probe.
29123         (heap_trim): New memory_heap_free probe.
29124         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29125         (systrim): New memory_sbrk_less probe.
29126         * manual/probes.texi: Document them.
29128         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29129         * manual/probes.texi: Document it.
29131         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29132         (__libc_realloc): Add memory_realloc_retry probe.
29133         (__libc_memalign): Add memory_memalign_retry probe.
29134         (__libc_valloc): Add memory_valloc_retry probe.
29135         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29136         (__libc_calloc): Add memory_calloc_retry probe.
29137         * manual/probes.texi: Document them.
29139         * malloc/arena.c (get_free_list): Add probe
29140         memory_arena_reuse_free_list.
29141         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29142         and memory_arena_reuse.
29143         (arena_get2) [!PER_THREAD]: Likewise.
29144         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29145         memory_arena_reuse_realloc.
29146         * manual/probes.texi: Document them.
29148         * malloc/malloc.c (__libc_free): Add
29149         memory_mallopt_free_dyn_thresholds probe.
29150         (__libc_mallopt): Add multiple memory_mallopt probes.
29151         * manual/probes.texi: Document them.
29153         * malloc/malloc.c: Include stap-probe.h.
29154         (__libc_mallopt): Add memory_mallopt probe.
29155         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29156         * manual/probes.texi: New.
29157         * manual/Makefile (chapters): Add probes.
29158         * manual/threads.texi: Set next node.
29160 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29162         [BZ #15963, #13985]
29163         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29164         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29165         Add `Chinese' to `nan' entry name.
29167 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29169         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29170         (POLYNOMIAL): Likewise.
29171         (TAYLOR_SINCOS): Likewise.
29172         (TAYLOR_SLOW): Likewise.
29173         (__sin): Use TAYLOR_SINCOS.
29174         (__cos): Likewise.
29175         (slow): Use TAYLOR_SLOW.
29176         (sloww): Likewise.
29177         (bsloww): Likewise.
29178         (csloww): Likewise.
29180 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29182         * stdlib/strtod_l.c: Fix buffer overrun.
29184 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29186         * benchtests/Makefile (bench): Add sincos.
29187         * benchtests/bench-sincos.c: New file.
29189         * math/libm-test.inc (cos_test_data): New test inputs.
29190         (sin_test_data): Likewise.
29192         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29193         macro.
29194         (__sin): Use it.
29195         (__cos): Likewise.
29196         (slow1): Likewise.
29197         (slow2): Likewise.
29198         (sloww1): Likewise.
29199         (sloww2): Likewise.
29200         (bsloww1): Likewise.
29201         (bsloww2): Likewise.
29202         (cslow2): Likewise.
29203         (csloww1): Likewise.
29204         (csloww2): Likewise.
29206         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29207         function.
29208         (__sin): Use it.
29209         (__cos): Likewise.
29211         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29212         gotos.
29213         (__cos): Likewise.
29215 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29217         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29218         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29219         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29220         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29221         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29222         * elf/cache.c (print_entry): Handle the new cache flags.
29224 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29225             Aldy Hernandez  <aldyh@redhat.com>
29227         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29228         Change condition to [_SOFT_FLOAT].
29229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29241         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29244         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29245         declaration.
29247 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29249         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29250         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29251         (__longjmp): Use LOAD_GP to load saved GPRs.
29252         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29253         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29254         (__sigsetjmp): Use SAVE_GP to save GPRs.
29256         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29257         Do not append -msoft-float.
29258         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29260 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29262         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29264 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29266         [BZ #15966]
29267         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29268         (_FPU_GETCW): Use initial "__" on variable and field names but not
29269         on macro parameter name.
29270         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29271         parentheses around reference to macro parameter.
29273 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29275         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29276         prototype.
29277         (ctype_startup): Use uint32_t in cast and sizeof for
29278         ctype->charnames.
29280 2013-09-11  Jia Liu  <proljc@gmail.com>
29282         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29283         __daddr_t_defined.
29284         [__FreeBSD__]: Likewise.
29286 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29289         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29290         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29291         (strchr): Remove __strchr_sse42 ifunc selection.
29292         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29293         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29295 2013-09-11  Will Newton  <will.newton@linaro.org>
29297         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29298         parameter to RES. Remove hardcoded 1000 value.
29299         * benchtests/bench-skeleton.c (main): Pass RES parameter
29300         to TIMING_INIT and multiply result by 1000.
29302 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29306 2013-09-11  Andreas Schwab  <schwab@suse.de>
29308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29309         if not defined.
29310         (O_TMPFILE) [__USE_GNU]: Define.
29311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29312         Define.
29314 2013-09-11  Will Newton  <will.newton@linaro.org>
29316         [BZ #15857]
29317         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29318         does not overflow.
29320 2013-09-11  Will Newton  <will.newton@linaro.org>
29322         [BZ #15856]
29323         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29324         does not overflow.
29326 2013-09-11  Will Newton  <will.newton@linaro.org>
29328         [BZ #15855]
29329         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29330         does not overflow.
29332 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29334         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29335         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29336         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29337         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29338         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29340 2013-09-10  Allan McRae  <allan@archlinux.org>
29342         [BZ #15748]
29343         * manual/arith.texi (Parsing of Floats): Clarify
29344         cross-reference.
29346         [BZ #15849]
29347         * manual/install.texi (Running make install): Mention
29348         --enable-pt-chown.
29349         * INSTALL: Regenerated.
29351 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29353         * csu/init-first.c (_init): Remove the !SHARED condition around
29354         FPU control word initialization.
29355         * elf/dl-support.c (_dl_fpu_control): New variable.
29356         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29357         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29358         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29359         * math/test-fpucw-static.c: New file.
29360         * math/test-fpucw-ieee.c: New file.
29361         * math/test-fpucw-ieee-static.c: New file.
29362         * math/Makefile (tests): Add `test-fpucw-ieee' and
29363         `$(tests-static)'.
29364         (tests-static): New variable.
29365         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29366         dependency to...
29367         [($(build-shared),yes)]
29368         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29369         ... this.
29370         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29371         New dependency.
29373 2013-09-09  Allan McRae  <allan@archlinux.org>
29375         [BZ #15939]
29376         * manual/string.texi (Collation Functions): Fix typo in
29377         strcoll example.
29378         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29380         [BZ #15893]
29381         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29383         [BZ #15892]
29384         * libio/memstream.c (open_memstream): Fix memory leak.
29385         * libio/wmemstream.c (open_wmemstream): Likewise.
29387         [BZ #15895]
29388         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29390 2013-09-09  Will Newton  <will.newton@linaro.org>
29392         * malloc/Makefile: Add tst-realloc to tests.
29393         * malloc/tst-realloc.c: New file.
29395 2013-09-09  Allan McRae  <allan@archlinux.org>
29397         [BZ #15844]
29398         * COPYING: Update from GNU website to fix FSF address.
29399         * COPYING.LIB: Likewise.
29401 2013-09-06  David S. Miller  <davem@davemloft.net>
29403         * po/zh_TW.po: Update Chinese (traditional) translation from
29404         translation project.
29406 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29407             Joseph Myers  <joseph@codesourcery.com>
29409         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29410         "localeinfo.h".
29411         (obstack_chunk_alloc): New macro.
29412         (obstack_chunk_free): Likewise.
29413         (record_offset): New function.
29414         (init_locale_data): Likewise.
29415         (align_locale_data): Likewise.
29416         (add_locale_empty): Likewise.
29417         (add_locale_raw_data): Likewise.
29418         (add_locale_raw_obstack): Likewise.
29419         (add_locale_string): Likewise.
29420         (add_locale_wstring): Likewise.
29421         (add_locale_uint32): Likewise.
29422         (add_locale_uint32_array): Likewise.
29423         (add_locale_char): Likewise.
29424         (start_locale_structure): Likewise.
29425         (end_locale_structure): Likewise.
29426         (start_locale_prelude): Likewise.
29427         (end_locale_prelude): Likewise.
29428         (write_locale_data): Take locale_file structure rather than an
29429         iovec.
29430         * locale/programs/locfile.h: Include "obstack.h".
29431         (struct locale_file): Change to store locale file contents instead
29432         of header.
29433         (init_locale_data): New prototype.
29434         (align_locale_data): Likewise.
29435         (add_locale_empty): Likewise.
29436         (add_locale_raw_data): Likewise.
29437         (add_locale_raw_obstack): Likewise.
29438         (add_locale_string): Likewise.
29439         (add_locale_wstring): Likewise.
29440         (add_locale_uint32): Likewise.
29441         (add_locale_uint32_array): Likewise.
29442         (add_locale_char): Likewise.
29443         (start_locale_structure): Likewise.
29444         (end_locale_structure): Likewise.
29445         (start_locale_prelude): Likewise.
29446         (end_locale_prelude): Likewise.
29447         (write_locale_data): Update prototype.
29448         * locale/programs/3level.h (struct TABLE): Remove result field.
29449         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29450         Use new locale_file interface.
29451         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29452         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29453         * locale/programs/ld-address.c (address_output): Use new
29454         locale_file interface.
29455         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29456         NO_ADD_LOCALE.
29457         (collate_finish): Don't call collseq_table_finalize.
29458         (collate_output): Use new locale_file interface.
29459         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29460         in file.
29461         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29462         (TABLE): Move defines earlier in file.
29463         (ELEMENT): Likewise.
29464         (DEFAULT): Likewise.
29465         (wctrans_table_add): Move macro and inline function earlier in
29466         file.
29467         (struct wctype_table): Move type earlier in file.
29468         (add_locale_wctype_table): New static prototype.
29469         (struct locale_ctype_t): Use logical types instead of struct iovec
29470         pointers for members.
29471         (ctype_output): Use new locale_file interface.
29472         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29473         new locale_file interface.
29474         (allocate_arrays): Update for use of new locale_file interface.
29475         * locale/programs/ld-identification.c (identification_output): Use
29476         new locale_file interface.
29477         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29478         * locale/programs/ld-messages.c (messages_output): Likewise.
29479         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29480         * locale/programs/ld-name.c (name_output): Likewise.
29481         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29482         * locale/programs/ld-paper.c (paper_output): Likewise.
29483         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29484         * locale/programs/ld-time.c (time_output): Likewise.
29486 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29488         * benchtests/Makefile: Add memrchr benchmark.
29489         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29490         benchmark as memrchr.
29491         * benchtests/bench-memrchr-ifunc.c: New file.
29492         * benchtests/bench-memrchr.c: New file.
29494 2013-09-06   Will Newton  <will.newton@linaro.org>
29496         * benchtests/Makefile (string-bench): Add memcpy.
29498 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29499             Cong Wang  <amwang@redhat.com>
29501         [BZ #15850]
29502         * sysdeps/unix/sysv/linux/bits/in.h
29503         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29504         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29505         before __USE_KERNEL_IPV6_DEFS uses.
29506         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29507         IPPROTO_BEETPH.
29508         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29509         sockaddr_in6, or ipv6_mreq.
29511 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29513         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29514         memory access for final bytes in some large inputs.
29515         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29517 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29519         * string/test-memrchr.c: New file.
29520         * string/test-memrchr-ifunc.c: New file.
29521         * string/Makefile: Add new memrchr testcase.
29523 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29525         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29526         fanotify_init returns EPERM.
29528 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29530         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29531         errors.
29532         (top level): Treat second token from macro or constant entries for
29533         allowed headers as allowed.
29534         * include/complex.h: Condition internal declarations on
29535         [!_ISOMAC].
29536         * include/fenv.h: Condition include of <stdbool.h> and internal
29537         declarations on [!_ISOMAC].
29539 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29541         [BZ #15923]
29542         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29544 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29546         * configure.in (--enable-versioning): Remove configure option.
29547         (libc_cv_asm_symver_directive): Remove configure test.
29548         (libc_cv_ld_version_script_option): Likewise.
29549         (VERSIONING): Remove variable and AC_SUBST.
29550         (DO_VERSIONING): Remove AC_DEFINE.
29551         * configure: Regenerated.
29552         * config.h.in (DO_VERSIONING): Remove macro.
29553         * Makerules [$(versioning) = yes]: Change conditionals to
29554         [$(build-shared) = yes].
29555         * config.make.in (versioning): Remove variable.
29556         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29557         [$(build-shared) = yes].
29558         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29559         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29560         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29561         [$(build-shared) = yes].
29562         * extra-lib.mk [$(versioning) = yes]: Likewise.
29563         * hurd/Makefile [$(versioning) = yes]: Likewise.
29564         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29565         [SHARED].
29566         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29567         [SHARED].
29568         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29569         [SHARED && !NO_HIDDEN].
29570         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29571         [SHARED].
29572         [SHARED && DO_VERSIONING]: Likewise..
29573         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29574         [$(build-shared) = yes].
29575         * manual/install.texi (--disable-versioning): Remove
29576         documentation.
29577         * INSTALL: Regenerated.
29578         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29579         to [SHARED].
29580         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29581         [$(build-shared) = yes].
29582         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29583         * sysdeps/i386/i686/multiarch/strstr-c.c
29584         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29585         [SHARED && !NO_HIDDEN].
29586         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29587         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29588         * sysdeps/powerpc/powerpc32/dl-machine.c
29589         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29590         * sysdeps/powerpc/powerpc32/sysdep.h
29591         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29592         to [SHARED && PIC && !NO_HIDDEN].
29593         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29594         conditional to [SHARED].
29596 2013-09-04   Will Newton  <will.newton@linaro.org>
29598         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29599         * benchtests/bench-string.h: Include bench-timing.h instead
29600         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29601         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29602         call to HP_TIMING_DIFF_INIT.
29603         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29604         instead of hp-timing.h macros.
29605         * benchtests/bench-memchr.c: Likewise.
29606         * benchtests/bench-memcmp.c: Likewise.
29607         * benchtests/bench-memcpy.c: Likewise.
29608         * benchtests/bench-memmem.c: Likewise.
29609         * benchtests/bench-memmove.c: Likewise.
29610         * benchtests/bench-memset.c: Likewise.
29611         * benchtests/bench-rawmemchr.c: Likewise.
29612         * benchtests/bench-strcasecmp.c: Likewise.
29613         * benchtests/bench-strcasestr.c: Likewise.
29614         * benchtests/bench-strcat.c: Likewise.
29615         * benchtests/bench-strchr.c: Likewise.
29616         * benchtests/bench-strcmp.c: Likewise.
29617         * benchtests/bench-strcpy.c: Likewise.
29618         * benchtests/bench-strcpy_chk.c: Likewise.
29619         * benchtests/bench-strlen.c: Likewise.
29620         * benchtests/bench-strncasecmp.c: Likewise.
29621         * benchtests/bench-strncat.c: Likewise.
29622         * benchtests/bench-strncmp.c: Likewise.
29623         * benchtests/bench-strncpy.c: Likewise.
29624         * benchtests/bench-strnlen.c: Likewise.
29625         * benchtests/bench-strpbrk.c: Likewise.
29626         * benchtests/bench-strrchr.c: Likewise.
29627         * benchtests/bench-strspn.c: Likewise.
29628         * benchtests/bench-strstr.c: Likewise.
29630 2013-09-04  Will Newton  <will.newton@linaro.org>
29632         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29634 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29636         [BZ #15427]
29637         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29638         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29639         * math/libm-test.inc (lgamma_test_data): Add more tests.
29640         * sysdeps/i386/fpu/libm-test-ulps: Update.
29641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29643 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29645         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29647         Add ifunc.
29648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29649         Add strcmp-sse2-unaligned
29650         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29652 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29654         * Versions.def (libc): Add GLIBC_2.19.
29656 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29658         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29659         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29661 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29663         [BZ #14155]
29664         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29665         intermediate calculations in recurrence.
29666         (__ieee754_ynf): Likewise.
29667         * math/libm-test.inc (jn_test_data): Do not allow spurious
29668         underflow exception.  Add more tests.
29669         (yn_test_data): Add more tests.
29670         * sysdeps/i386/fpu/libm-test-ulps: Update.
29671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29673 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29675         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29677 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29679         * csu/init-first.c: Fix then/than typos.
29680         * locale/programs/ld-collate.c: Likewise.
29681         * locale/programs/linereader.h: Likewise.
29682         * manual/charset.texi: Likewise.
29683         * manual/filesys.texi: Likewise.
29684         * manual/stdio.texi: Likewise.
29685         * manual/string.texi: Likewise.
29686         * stdlib/fmtmsg.c: Likewise.
29687         * sysdeps/i386/stpncpy.S: Likewise.
29688         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29689         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29690         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29691         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29693 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29695         * elf/dl-open.c: Fix typos.
29696         * iconvdata/gbbig5.c: Likewise.
29697         * iconvdata/iso-2022-jp.c: Likewise.
29698         * iconv/gconv_int.h: Likewise.
29699         * iconv/loop.c: Likewise.
29700         * nis/rpcsvc/nis.h: Likewise.
29701         * resolv/ns_name.c: Likewise.
29702         * stdio-common/vfscanf.c: Likewise.
29703         * streams/stropts.h: Likewise.
29704         * sunrpc/rpc_thread.c: Likewise.
29705         * sysdeps/i386/strpbrk.S: Likewise.
29706         * sysdeps/ieee754/k_standard.c: Likewise.
29707         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29709         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29710         * sysdeps/mach/hurd/profil.c: Likewise.
29711         * sysdeps/s390/dl-procinfo.h: Likewise.
29712         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29713         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29714         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29715         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29716         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29718 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29720         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29723 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29725         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29726         aix specific files.
29727         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29728         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29729         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29730         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29731         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29732         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29733         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29734         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29736 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29737             Roland McGrath  <roland@hack.frob.com>
29739         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29740         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29742 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29744         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29745         __executable_start symbol instead of _start.
29747 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29749         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29750         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29751         Move macros to...
29752         * sysdeps/gnu/ldsodefs.h: ... this new file.
29754         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29755         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29756         instead of ELFOSABI_LINUX.
29758         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29759         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29760         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29761         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29762         Likewise.
29763         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29764         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29765         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29766         Likewise.
29767         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29768         (ibm_extended_long_double): Add ieee_nan member.
29769         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29770         (do_test): New function.
29772         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29773         TEST_TRUNC.
29774         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29775         functions, renamed from truncdfsf_test, trunctfsf_test,
29776         trunctfdf_test.
29777         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29778         functions.
29779         (do_test): Run all these.
29781 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29783         * argp/argp-help.c: Fix typos.
29784         * argp/argp-parse.c: Likewise.
29785         * debug/backtracesyms.c: Likewise.
29786         * elf/elf.h: Likewise.
29787         * malloc/malloc.c: Likewise.
29788         * nis/nis_print.c: Likewise.
29789         * resolv/res_comp.c: Likewise.
29790         * stdlib/stdlib.h: Likewise.
29791         * sunrpc/clnt_tcp.c: Likewise.
29792         * sunrpc/clnt_udp.c: Likewise.
29793         * sunrpc/clnt_unix.c: Likewise.
29794         * sysdeps/unix/bsd/ptsname.c: Likewise.
29795         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29796         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29798         Likewise.
29799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29800         Likewise.
29801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29802         Likewise.
29803         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29805 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29810 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29812         [BZ #15897]
29813         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29814         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29815         ($(objpfx)bug-dl-leaf): New rule.
29816         ($(objpfx)bug-dl-leaf.so): Likewise.
29817         ($(objpfx)bug-dl-leaf.out): Likewise.
29818         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29819         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29820         * dlfcn/bug-dl-leaf.c: New test.
29821         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29822         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29823         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29824         (dlclose): Likewise.
29825         (dlmopen): Likewise.
29827 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29829         * include/netdb.h [!_ISOMAC]:
29830         Don't include <tls.h>.
29831         (h_errno, __libc_h_errno): Move declaration and macros out of
29832         [_LIBC_REENTRANT].
29834         * include/resolv.h [_RESOLV_H_]:
29835         Don't include <tls.h>.
29836         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29837         * resolv/res_libc.c: Don't include <tls.h>.
29838         (_res): Use __attribute__ ((nocommon)) in place of
29839         __attribute__ ((section (".bss"))).
29841         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29842         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29844         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29846         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29847         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29849         * resolv/res_mkquery.c: Include <sys/time.h>.
29851         * inet/ifreq.c: Moved to ...
29852         * sysdeps/unix/ifreq.c: ... here.
29853         * inet/ifreq.c: New file, true stub version.
29855         * socket/sa_len.c: New file.
29856         * socket/Makefile (aux): Add it.
29857         * sysdeps/unix/sysv/linux/Makefile
29858         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29859         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29860         and #include <socket/sa_len.c>.
29861         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29862         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29864         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29865         * bits/socket.h: ... here.
29867         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29868         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29869         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29871 2013-08-27  Andreas Schwab  <schwab@suse.de>
29873         [BZ #15736]
29874         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29875         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29876         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29877         * string/test-strcasecmp.c (test_main): Run tests in several
29878         locales.
29879         * string/test-strncasecmp.c (test_main): Likewise.
29881         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29882         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29883         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29884         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29885         (__strncasecmp_ssse3) [PIC]: Likewise.
29887 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29889         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29891         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29892         instead of explicitly declaring xdecrypt.
29893         * nis/nss_nis/nis-publickey.c: Likewise.
29895 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29897         [BZ #15890]
29898         * nscd/aicache.c: Include res_hconf.h.
29899         (addhstaiX): Initialize res_hconf.
29901 2013-08-26  Andreas Schwab  <schwab@suse.de>
29903         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29904         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29906 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29908         * nscd/aicache.c (addhstaiX): Fix indentation.
29910 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29912         * configure.ac: Quote $build_pt_chown test.
29913         * configure: Regenerated.
29915 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29917         [BZ #15532]
29918         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29919         * math/s_cexpf.c (__cexpf): Likewise.
29920         * math/s_cexpl.c (__cexpl): Likewise.
29921         * math/libm-test.inc (cexp_test_data): Correct expected return
29922         value for NaN + i0.  Add another test.
29924 2013-08-22  David S. Miller  <davem@davemloft.net>
29926         * po/ca.po: Update Catalan translation from translation project.
29927         * po/uk.po: Add Ukrainian translations from translation project.
29929 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #15797]
29932         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29933         is infinite, not alongside NaN test.
29934         * math/s_fdimf.c (__fdimf): Likewise.
29935         * math/s_fdiml.c (__fdiml): Likewise.
29936         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29937         errno is unchanged.
29939 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29941         * argp/argp-help.c: Fix typos.
29942         * crypt/speeds.c: Likewise.
29943         * csu/check_fds.c: Likewise.
29944         * elf/dl-load.c: Likewise.
29945         * elf/dl-open.c: Likewise.
29946         * elf/reldep3.c: Likewise.
29947         * elf/reldep.c: Likewise.
29948         * elf/sprof.c: Likewise.
29949         * iconv/iconv_charmap.c: Likewise.
29950         * iconv/skeleton.c: Likewise.
29951         * iconv/strtab.c: Likewise.
29952         * io/lockf64.c: Likewise.
29953         * libio/libioP.h: Likewise.
29954         * resolv/gai_notify.c: Likewise.
29955         * resolv/ns_name.c: Likewise.
29956         * resolv/ns_samedomain.c: Likewise.
29957         * resolv/res_send.c: Likewise.
29958         * stdlib/random.c: Likewise.
29959         * sunrpc/rpc/xdr.h: Likewise.
29960         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29961         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29962         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29963         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29964         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29965         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29966         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29967         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29968         * sysdeps/mach/hurd/check_fds.c: Likewise.
29969         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29970         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29971         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29972         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29973         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29974         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29975         * sysdeps/pthread/aio_notify.c: Likewise.
29976         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29977         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29978         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29980         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29982 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29984         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29985         version if bit_Slow_SSE4_2 is set.
29986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29987         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29989 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29991         [BZ #15867]
29992         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29993         trampoline stack frame information.
29994         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29995         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29996         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29997         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29998         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29999         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30000         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30001         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30002         sa_flags value.
30003         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30004         interrupting a syscall and set with option SA_SIGINFO.
30006 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30008         [BZ #15531]
30009         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30010         argument is infinite.
30011         * math/s_cprojf.c (__cprojf): Likewise.
30012         * math/s_cprojl.c (__cprojl): Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30014         * math/libm-test.inc (cproj_test_data): Add more tests.
30016         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30018         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30019         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30020         size.  Use __ffs to determine corresponding shift.
30022 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30023             Roland McGrath  <roland@hack.frob.com>
30025         * Makefile (INSTALL): Remove trailing blank lines from output of
30026         makeinfo.
30028 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30030         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30031         Align 32 bit compat elf_greg to 8 bytes.
30033 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30035         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30037 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30039         * string/strcoll_l.c (coll_seq): New structure.
30040         (get_next_seq_cached): New function.
30041         (get_next_seq): New function.
30042         (do_compare): New function.
30043         (STRCOLL): Use GNU style definition.  Simplify implementation
30044         by using get_next_seq, get_next_seq_cached and do_compare.
30046 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30048         [BZ #14699]
30049         CVE-2013-4237
30050         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30051         member.
30052         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30053         member.
30054         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30055         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30056         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30057         conditional.
30058         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30059         GETDENTS_64BIT_ALIGNED.
30060         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30061         * manual/filesys.texi (Reading/Closing Directory): Document
30062         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30063         strongly.
30064         * manual/conf.texi (Limits for Files): Add portability note to
30065         NAME_MAX, PATH_MAX.
30066         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30068 2013-08-13  Andreas Schwab  <schwab@suse.de>
30070         [BZ #15749]
30071         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30072         of fabs.
30073         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30074         LDBL_MAX_EXP >= 16384]: Add tests for it.
30076 2013-08-12  David S. Miller  <davem@davemloft.net>
30078         * version.h (RELEASE): Set to "development".
30079         (VERSION): Set to "2.18.90".
30080         * NEWS: Add 2.19 section.
30082 2013-08-03  David S. Miller  <davem@davemloft.net>
30084         * po/ko.po: Update Korean translation from translation project.
30086 2013-08-01  David S. Miller  <davem@davemloft.net>
30088         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30089         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30090         Bilka.
30092 2013-07-30  David S. Miller  <davem@davemloft.net>
30094         * po/fr.po: Update French translation from translation project.
30096 2013-07-28  David S. Miller  <davem@davemloft.net>
30098         * po/cs.po: Update Czech translation from translation project.
30100         * po/sv.po: Update Swedish translation from translation project.
30102 2013-07-27  David S. Miller  <davem@davemloft.net>
30104         * po/eo.po: Update Esperanto translation from translation project.
30106         * po/vi.po: Update Vietnamese translation from translation project.
30108         * po/de.po: Update German translation from translation project.
30110 2013-07-26  David S. Miller  <davem@davemloft.net>
30112         * po/bg.po: Update Bulgarian translation from translation project.
30114         * po/nl.po: Update Dutch translation from translation project.
30115         * po/pl.po: Update Polish translation from translation project.
30116         * po/ru.po: Update Russian translation from translation project.
30118 2013-07-24  David S. Miller  <davem@davemloft.net>
30120         * po/libc.pot: Update.
30122 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30124         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30125         variable page size.
30126         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30128         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30130 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30132         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30134 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135             Andreas Schwab  <schwab@suse.de>
30136             Roland McGrath  <roland@hack.frob.com>
30137             Joseph Myers  <joseph@codesourcery.com>
30138             Carlos O'Donell  <carlos@redhat.com>
30140         [BZ #15755]
30141         * config.h.in: Define HAVE_PT_CHOWN.
30142         * config.make.in (build-pt-chown): New variable.
30143         * configure.in (--enable-pt_chown): New configure option.
30144         * configure: Regenerate.
30145         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30146         build-pt-chown is enabled.
30147         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30148         pt_chown to fix pty ownership.
30149         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30150         CLOSE_ALL_FDS.
30151         * manual/install.texi (Configuring and compiling): Mention
30152         --enable-pt_chown. Add @findex for grantpt.
30153         * INSTALL: Regenerate.
30155 2013-07-20  David S. Miller  <davem@davemloft.net>
30157         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30158         difference between 32-bit and 64-bit.
30160 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30162         [BZ #15711]
30163         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30164         Avoid system header dependency with -ffreestanding.
30165         ($(objpfx)bits/syscall%d): Likewise.
30167 2013-07-13  David S. Miller  <davem@davemloft.net>
30169         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30170         underflows from atanl/atan2l due to bug 15319.
30171         (casinh_test_data): Likewise.
30173 2013-07-07  David S. Miller  <davem@davemloft.net>
30175         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30177 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30179         * sysdeps/i386/fpu/libm-test-ulps: Update.
30180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30182 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30184         * configure.in (--enable-lock-elision): Fix message text.
30185         * INSTALL: Regenerate.
30186         * configure: Regenerate.
30188 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30192 2013-07-03  Andreas Jaeger  <aj@suse.de>
30194         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30195         define.
30196         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30197         (ptrace_peeksiginfo_args): Add.
30198         (__ptrace_peeksiginfo_flags): Add.
30199         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30200         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30201         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30203 2013-07-03  Allan McRae  <allan@archlinux.org>
30205         * sysdeps/i386/fpu/libm-test-ulps: Update.
30207 2013-07-02  David S. Miller  <davem@davemloft.net>
30209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30211 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30215 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30217         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30220 2013-07-02  Andi Kleen <ak@linux.intel.com>
30222         * config.h.in (ENABLE_LOCK_ELISION): Add.
30223         * configure.in (--enable-lock-elision): Add option.
30224         * manual/install.texi: Document --enable lock elision.
30225         * configure: Regenerate
30226         * INSTALL: Regenerate.
30228 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30230         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30231         SSE4.2 strcasecmp for libc.a.
30232         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30234 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30236         [BZ #13304]
30237         * soft-fp/op-common.h (_FP_FMA): New macro.
30238         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30239         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30240         (_FP_MUL_MEAT_1_imm): ... here.
30241         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30242         (_FP_MUL_MEAT_1_wide): ... here.
30243         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30244         (_FP_MUL_MEAT_1_hard): ... here.
30245         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30246         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30247         (_FP_MUL_MEAT_2_wide): ... here.
30248         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30249         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30250         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30251         (_FP_MUL_MEAT_2_gmp): ... here.
30252         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30253         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30254         (_FP_MUL_MEAT_4_wide): ... here.
30255         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30256         (_FP_MUL_MEAT_4_gmp): ... here.
30257         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30258         (_FP_WFRACBITS_DW_S): Likewise.
30259         (_FP_WFRACXBITS_DW_S): Likewise.
30260         (_FP_HIGHBIT_DW_S): Likewise.
30261         (FP_FMA_S): Likewise.
30262         (_FP_FRAC_HIGH_DW_S): Likewise.
30263         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30264         (_FP_WFRACBITS_DW_D): Likewise.
30265         (_FP_WFRACXBITS_DW_D): Likewise.
30266         (_FP_HIGHBIT_DW_D): Likewise.
30267         (FP_FMA_D): Likewise.
30268         (_FP_FRAC_HIGH_DW_D): Likewise.
30269         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30270         (_FP_WFRACBITS_DW_E): Likewise.
30271         (_FP_WFRACXBITS_DW_E): Likewise.
30272         (_FP_HIGHBIT_DW_E): Likewise.
30273         (FP_FMA_E): Likewise.
30274         (_FP_FRAC_HIGH_DW_E): Likewise.
30275         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30276         (_FP_WFRACBITS_DW_Q): Likewise.
30277         (_FP_WFRACXBITS_DW_Q): Likewise.
30278         (_FP_HIGHBIT_DW_Q): Likewise.
30279         (FP_FMA_Q): Likewise.
30280         (_FP_FRAC_HIGH_DW_Q): Likewise.
30281         * soft-fp/fmasf4.c: New file.
30282         * soft-fp/fmadf4.c: Likewise.
30283         * soft-fp/fmatf4.c: Likewise.
30285 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30288         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30289         Silvermont.
30290         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30291         macro.
30292         (index_Slow_SSE4_2): Likewise.
30293         (index_Prefer_PMINUB_for_stringop): Likewise.
30294         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30295         bit_Slow_SSE4_2 is set.
30296         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30297         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30299 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30301         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30302         rtld_global._dl_hwcap2.
30303         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30304         POWER8.
30305         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30306         POWER8 feature descriptions defined in _dl_hwcap2.
30307         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30308         string handling for POWER8 feature bits.
30309         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30310         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30311         _dl_powerpc_cap_flags.
30312         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30313         * sysdeps/powerpc/rtld-global-offsets.sym
30314         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30315         _dl_hwcap2 in the rtld_global_ro structure.
30317 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30319         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30320         hardware capabilities in support of AT_HWCAP2.
30321         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30322         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30323         GLRO(dl_hwcap2).
30324         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30325         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30326         explicitly the unknown a_type display mechanism is used.
30327         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30328         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30329         struct member.
30330         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30331         to macro prototype for AT_HWCAP2 support.
30332         * sysdeps/i386/dl-procinfo.h: Likewise.
30333         * sysdeps/s390/dl-procinfo.h: Likewise.
30334         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30335         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30336         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30337         return -1 for unknown a_type display fallback.
30338         * sysdeps/sparc/dl-procinfo.h: Likewise.
30339         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30340         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30342 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30344         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30345         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30347 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30349         [BZ #12492]
30350         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30351         mprotect making __stack_prot writable.
30353 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30354             Joseph Myers  <joseph@codesourcery.com>
30356         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30357         as being properly aligned.
30359 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30361         * dlfcn/modstatic5.c: New file.
30362         * dlfcn/tststatic5.c: New file.
30363         * dlfcn/Makefile (tests): Add tststatic5.
30364         (tests-static): Likewise.
30365         (modules-names): Add modstatic5.
30366         (tststatic5-ENV): New variable.
30367         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30369         [BZ #15022]
30370         * elf/dl-support.c (_dl_main_map): New variable.
30371         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30372         (_dl_nns, _dl_load_adds): Set to 1.
30373         (_dl_initial_searchlist): Refer to _dl_main_map.
30374         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30375         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30376         call to _dl_get_origin.
30377         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30378         around call_map.
30379         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30380         * dlfcn/modstatic3.c: New file.
30381         * dlfcn/tststatic3.c: New file.
30382         * dlfcn/tststatic4.c: New file.
30383         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30384         (tests-static): Likewise.
30385         (modules-names): Add modstatic3.
30386         (tststatic3-ENV, tststatic4-ENV): New variables.
30387         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30388         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30390 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30392         * configure.in (CC): Require GCC version 4.4 or later.
30393         * configure: Regenerated.
30394         * manual/install.texi (Tools for Compilation): Update GCC version
30395         requirement.
30396         * INSTALL: Regenerated.
30398 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30400         [BZ #15674]
30401         * string/test-memcmp.c (check2): New.
30402         (main): Call check2.
30404         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30406 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30408         [BZ #15022]
30409         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30410         over to...
30411         (dl_open_worker) [!SHARED]: ... here.
30413 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30415         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30417 2013-06-25  Richard Henderson  <rth@redhat.com>
30419         * locale/programs/locarchive.c: Include <libc-internal.h>
30421 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30423         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30424         trailing whitespace removed.
30426 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30428         [BZ #10283]
30429         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30430         * locale/programs/locarchive.c: Include libc-mmap.h.
30431         (prepare_address_space): Take two new outputs (the mmap base and len).
30432         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30433         values.
30434         (create_archive): Declare new mmap base and len values for
30435         prepare_address_space, and store the result in ah.
30436         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30437         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30438         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30439         Declare new mmap base and len values for
30440         prepare_address_space, and store the result in new_ah.
30441         (open_archive): Declare new mmap base and len values for
30442         prepare_address_space, and store the result in ah.
30443         (close_archive): If ah->mmap_base is not NULL, use that and
30444         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30445         * sysdeps/generic/libc-mmap.h: New file.
30447 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30449         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30450         (ALIGN_UP): Likewise.
30451         (PTR_ALIGN_DOWN): Likewise.
30452         (PTR_ALIGN_UP): Likewise.
30454 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30456         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30457         entry mapped to PPC_PLATFORM_POWER8.
30458         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30459         POWER8.
30460         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30461         (_dl_string_platform): Add case for exporting platform position for
30462         POWER8.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30464         search path to sysdeps/powerpc/powerpc32/power8 directory.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30466         search path to sysdeps/powerpc/powerpc64/power8 directory.
30467         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30468         power7 directories.
30469         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30470         power7 directories.
30472 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30474         * INSTALL: Regenerate.
30476         * nscd/connections.c (nscd_init): Fix comment.
30478 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30480         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30482         [BZ #15667]
30483         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30484         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30486 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30488         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30489         DL_DST_REQ_STATIC.
30490         (DL_DST_REQ_STATIC): Remove macro.
30492 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30494         [BZ #7006]
30495         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30496         with a shift of 0 bits.
30498 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30500         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30501         $(tststatic-ENV).
30503 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30505         [BZ #15655]
30506         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30508 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30510         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30511         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30512         accepts -fno-tree-loop-distribute-patterns.
30513         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30514         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30515         recursive call.
30516         * string/memset.c (memset): Likewise.
30517         * string/test-memmove.c (simple_memmove): Disable loop transformation
30518         to library calls.
30519         * string/test-memset.c (simple_memset): Likewise.
30520         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30521         * benchtests/bench-memset.c (simple_memset): Likewise.
30522         * configure: Regenerated.
30524 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30526         * math/test-misc.c (main): Ignore fesetround failure when failures
30527         of subsequent rounding tests would be ignored.
30529         [BZ #15654]
30530         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30531         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30532         * math/fegetenv.c (__fegetenv): Return 0.
30533         * math/fegetexcept.c (fegetexcept): Return 0.
30534         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30535         FE_TONEAREST.
30536         * math/feholdexcpt.c (feholdexcept): Return 0.
30537         * math/fesetenv.c (__fesetenv): Return 0.
30538         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30539         argument FE_TONEAREST.
30540         * math/feupdateenv.c (__feupdateenv): Return 0.
30541         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30543 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30545         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30546         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30547         ($(objpfx)rtld-%.os rules): Use them.
30549 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30551         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30552         fields.
30554 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30556         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30557         length of target pattern, then descending length of dependency pattern.
30558         * configure.in (AWK): Require gawk 3.1.2 or newer.
30559         * manual/install.texi (Tools for Compilation): Say that we do.
30560         * configure: Regenerated.
30562         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30563         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30564         * scripts/sysd-rules.awk: ... this new script.
30565         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30566         than a glob-style pattern.
30568 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30570         * math/test-misc.c (main): Do not treat incorrectly rounded
30571         conversions as failure unless ROUNDING_TESTS passes.
30573 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30575         [BZ #15631]
30576         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30577         restore exception state around main square root computation, then
30578         check for inexactness explicitly.
30580         * math/libm-test.inc (fma_test_data): Add another test.
30582 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30584         * manual/threads.texi (Non-POSIX Extensions): New document
30585         node.  Document pthread_getattr_default_np and
30586         pthread_setattr_default_np.
30588         * Versions.def (libpthread): Add GLIBC_2.18.
30589         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30591         Likewise.
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30593         Likewise.
30594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30595         Likewise.
30596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30597         Likewise.
30598         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30599         Likewise.
30600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30601         Likewise.
30602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30603         Likewise.
30604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30605         Likewise.
30606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30607         Likewise.
30609 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30612         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30614 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30615             H.J. Lu  <hjl.tools@gmail.com>
30617         [BZ #15627]
30618         * sysdeps/x86_64/rtld-memset.c: Remove file.
30619         * sysdeps/x86_64/rtld-memset.S: New file.
30621 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30623         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30624         (test_in_one_mode): Take arguments for whether the rounding mode
30625         is supported for each floating-point type.
30626         (do_test): Pass new arguments to test_in_one_mode using
30627         ROUNDING_TESTS.
30629 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30631         * posix/tst-waitid.c (do_test): Distinguish different instances of
30632         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30633         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30634         before entering the kernel for waitpid.
30636 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30638         * NEWS: Fix note on clock function precision.  Text by Roland
30639         McGrath.
30641 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30643         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30644         it into place only when and if the sanity check passes.
30646 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30648         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30649         output for whether conversion result is exact.  Take argument
30650         indicating whether type is IBM long double.
30651         (round_for_all): Change need_exact field to ibm_ld.
30652         * stdlib/tst-strtod-round.c (struct exactness): New type.
30653         (struct test): Change bool ld_ok field to struct exactness exact.
30654         (TEST): Update all definitions for change to field.
30655         (tests): Regenerate array contents.
30656         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30657         field value.  Check for IBM long double here.
30658         (do_test): Update calls to test_in_one_mode.
30660 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30662         [BZ #12515]
30663         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30664         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30666 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30668         [BZ #15605]
30669         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30670         generated by the compiler on loop optimizations.
30671         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30672         general definitions.
30674 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30676         * math/bug-nextafter.c: Include <math-tests.h>.
30677         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30678         the relevant type.
30679         * math/bug-nexttoward.c: Include <math-tests.h>.
30680         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30681         the relevant type.
30682         * math/test-misc.c: Include <math-tests.h>.
30683         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30684         the relevant type.
30686 2013-06-12  Andreas Jaeger  <aj@suse.de>
30688         * po/ia.po: Update Interlingua translation from translation
30689         project.
30691 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30693         * include/fenv.h: Include stdbool.h.
30694         (struct rm_ctx): New structure.
30695         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30696         Define macro.
30697         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30698         (SET_RESTORE_ROUNDF): Likewise.
30699         (SET_RESTORE_ROUNDL): Likewise.
30700         (SET_RESTORE_ROUND_NOEX): Likewise.
30701         (SET_RESTORE_ROUND_NOEXF): Likewise.
30702         (SET_RESTORE_ROUND_NOEXL): Likewise.
30703         (SET_RESTORE_ROUND_53BIT): Likewise.
30704         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30705         (libc_feresetround_noexf_ctx): Likewise.
30706         (libc_feresetround_noexl_ctx): Likewise.
30707         (libc_feholdsetround_53bit_ctx): Likewise.
30708         (libc_feresetround_53bit_ctx): Likewise.
30709         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30710         (libc_feholdexcept_setround_sse_ctx): New function.
30711         (libc_fesetenv_sse_ctx): Likewise.
30712         (libc_feupdateenv_sse_ctx): Likewise.
30713         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30714         (libc_feholdexcept_setround_387_ctx): Likewise.
30715         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30716         (libc_feholdsetround_387_prec_ctx): Likewise.
30717         (libc_feholdsetround_387_ctx): Likewise.
30718         (libc_feholdsetround_387_53bit_ctx): Likewise.
30719         (libc_feholdsetround_sse_ctx): Likewise.
30720         (libc_feresetround_sse_ctx): Likewise.
30721         (libc_feresetround_387_ctx): Likewise.
30722         (libc_feupdateenv_387_ctx): Likewise.
30723         (libc_feholdexcept_setroundf_ctx): Define macro.
30724         (libc_fesetenvf_ctx): Likewise.
30725         (libc_feupdateenvf_ctx): Likewise.
30726         (libc_feholdsetroundf_ctx): Likewise.
30727         (libc_feresetroundf_ctx): Likewise.
30728         (libc_feholdexcept_setround_ctx): Likewise.
30729         (libc_fesetenv_ctx): Likewise.
30730         (libc_feupdateenv_ctx): Likewise.
30731         (libc_feholdsetround_ctx): Likewise.
30732         (libc_feresetround_ctx): Likewise.
30733         (libc_feholdexcept_setroundl_ctx): Likewise.
30734         (libc_feupdateenvl_ctx): Likewise.
30735         (libc_feholdsetroundl_ctx): Likewise.
30736         (libc_feresetroundl_ctx): Likewise.
30737         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30738         (libc_feresetround_53bit_ctx): Likewise.
30740 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30742         * locale/iso-639.def: Convert to UTF-8.
30744 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30746         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30747         (EXCEPTION_TESTS_double): Likewise.
30748         (EXCEPTION_TESTS_long_double): Likewise.
30749         (EXCEPTION_TESTS): Likewise.
30750         * math/libm-test.inc (test_exceptions): Only test exceptions if
30751         EXCEPTION_TESTS (FLOAT).
30753 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30755         * benchtests/Makefile (string-bench): Add strcpy_chk and
30756         stpcpy_chk.
30757         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30758         * benchtests/bench-stpcpy_chk.c: New file.
30759         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30760         * benchtests/bench-strcpy_chk.c: New file.
30761         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30762         code.
30763         (do_test): Likewise.
30765 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30767         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30768         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30769         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30770         with tabs where appropriate.
30771         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30772         dl-procinfo.h.
30773         [PPC_PLATFORM_PPC440]: Likewise.
30774         [PPC_PLATFORM_PPC464]: Likewise.
30775         [PPC_PLATFORM_PPC476]: Likewise.
30776         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30777         ppc464, and ppc476 platform strings merging from ports/
30778         dl-procinfo.h.
30780 2013-06-11  Andreas Schwab  <schwab@suse.de>
30782         [BZ #14991]
30783         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30784         (from_ucs4_idx): Regenerate.
30785         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30786         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30787         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30788         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30789         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30790         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30791         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30792         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30793         from FROM_LOOP and TO_LOOP specific macros.
30794         (BODY): Handle combining characters.
30795         * iconvdata/BIG5HKSCS.irreversible: Update.
30796         * iconvdata/BIG5HKSCS.precomposed: New file.
30797         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30798         characters.
30799         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30801 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         * include/sys/time.h: Fix indentation and add copyright header.
30805         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30806         (do_test): Likewise.
30807         * string/test-memchr.c (do_one_test): Likewise.
30808         (do_test): Likewise.
30809         * string/test-memcmp.c (do_one_test): Likewise.
30810         (do_test): Likewise.
30811         * string/test-memcpy.c (do_one_test): Likewise.
30812         (do_test): Likewise.
30813         * string/test-memmem.c (do_one_test): Likewise.
30814         (do_test): Likewise.
30815         (do_random_tests): Likewise.
30816         * string/test-memmove.c (do_one_test): Likewise.
30817         (do_test): Likewise.
30818         * string/test-memset.c (do_one_test): Likewise.
30819         (do_test): Likewise.
30820         * string/test-rawmemchr.c (do_one_test): Likewise.
30821         (do_test): Likewise.
30822         * string/test-strcasecmp.c (do_one_test): Likewise.
30823         (do_test): Likewise.
30824         * string/test-strcasestr.c (do_one_test): Likewise.
30825         (do_test): Likewise.
30826         * string/test-strcat.c (do_one_test): Likewise.
30827         (do_test): Likewise.
30828         * string/test-strchr.c (do_one_test): Likewise.
30829         (do_test): Likewise.
30830         * string/test-strcmp.c (do_one_test): Likewise.
30831         (do_test): Likewise.
30832         * string/test-strcpy.c (do_one_test): Likewise.
30833         (do_test): Likewise.
30834         * string/test-string.h: Likewise.
30835         (test_init): Likewise.
30836         * string/test-strlen.c (do_one_test): Likewise.
30837         (do_test): Likewise.
30838         * string/test-strncasecmp.c (do_one_test): Likewise.
30839         (do_test): Likewise.
30840         * string/test-strncat.c (do_one_test): Likewise.
30841         (do_test): Likewise.
30842         * string/test-strncmp.c (do_one_test): Likewise.
30843         (do_test_limit): Likewise.
30844         (do_test): Likewise.
30845         * string/test-strncpy.c (do_one_test): Likewise.
30846         (do_test): Likewise.
30847         * string/test-strnlen.c (do_one_test): Likewise.
30848         (do_test): Likewise.
30849         * string/test-strpbrk.c (do_one_test): Likewise.
30850         (do_test): Likewise.
30851         * string/test-strrchr.c (do_one_test): Likewise.
30852         (do_test): Likewise.
30853         * string/test-strspn.c (do_one_test): Likewise.
30854         (do_test): Likewise.
30855         * string/test-strstr.c (do_one_test): Likewise.
30856         (do_test): Likewise.
30858         * benchtests/Makefile (string-bench): Add string benchmarks.
30859         * benchtests/bench-bcopy-ifunc.c: New file.
30860         * benchtests/bench-bcopy.c: New file.
30861         * benchtests/bench-bzero-ifunc.c: New file.
30862         * benchtests/bench-bzero.c: New file.
30863         * benchtests/bench-memccpy-ifunc.c: New file.
30864         * benchtests/bench-memccpy.c: New file.
30865         * benchtests/bench-memchr-ifunc.c: New file.
30866         * benchtests/bench-memchr.c: New file.
30867         * benchtests/bench-memcmp-ifunc.c: New file.
30868         * benchtests/bench-memcmp.c: New file.
30869         * benchtests/bench-memmem-ifunc.c: New file.
30870         * benchtests/bench-memmem.c: New file.
30871         * benchtests/bench-memmove-ifunc.c: New file.
30872         * benchtests/bench-memmove.c: New file.
30873         * benchtests/bench-mempcpy-ifunc.c: New file.
30874         * benchtests/bench-mempcpy.c: New file.
30875         * benchtests/bench-memset-ifunc.c: New file.
30876         * benchtests/bench-memset.c: New file.
30877         * benchtests/bench-rawmemchr-ifunc.c: New file.
30878         * benchtests/bench-rawmemchr.c: New file.
30879         * benchtests/bench-stpcpy-ifunc.c: New file.
30880         * benchtests/bench-stpcpy.c: New file.
30881         * benchtests/bench-stpncpy-ifunc.c: New file.
30882         * benchtests/bench-stpncpy.c: New file.
30883         * benchtests/bench-strcasecmp-ifunc.c: New file.
30884         * benchtests/bench-strcasecmp.c: New file.
30885         * benchtests/bench-strcasestr-ifunc.c: New file.
30886         * benchtests/bench-strcasestr.c: New file.
30887         * benchtests/bench-strcat-ifunc.c: New file.
30888         * benchtests/bench-strcat.c: New file.
30889         * benchtests/bench-strchr-ifunc.c: New file.
30890         * benchtests/bench-strchr.c: New file.
30891         * benchtests/bench-strchrnul-ifunc.c: New file.
30892         * benchtests/bench-strchrnul.c: New file.
30893         * benchtests/bench-strcmp-ifunc.c: New file.
30894         * benchtests/bench-strcmp.c: New file.
30895         * benchtests/bench-strcpy-ifunc.c: New file.
30896         * benchtests/bench-strcpy.c: New file.
30897         * benchtests/bench-strcspn-ifunc.c: New file.
30898         * benchtests/bench-strcspn.c: New file.
30899         * benchtests/bench-strlen-ifunc.c: New file.
30900         * benchtests/bench-strlen.c: New file.
30901         * benchtests/bench-strncasecmp-ifunc.c: New file.
30902         * benchtests/bench-strncasecmp.c: New file.
30903         * benchtests/bench-strncat-ifunc.c: New file.
30904         * benchtests/bench-strncat.c: New file.
30905         * benchtests/bench-strncmp-ifunc.c: New file.
30906         * benchtests/bench-strncmp.c: New file.
30907         * benchtests/bench-strncpy-ifunc.c: New file.
30908         * benchtests/bench-strncpy.c: New file.
30909         * benchtests/bench-strnlen-ifunc.c: New file.
30910         * benchtests/bench-strnlen.c: New file.
30911         * benchtests/bench-strpbrk-ifunc.c: New file.
30912         * benchtests/bench-strpbrk.c: New file.
30913         * benchtests/bench-strrchr-ifunc.c: New file.
30914         * benchtests/bench-strrchr.c: New file.
30915         * benchtests/bench-strspn-ifunc.c: New file.
30916         * benchtests/bench-strspn.c: New file.
30917         * benchtests/bench-strstr-ifunc.c: New file.
30918         * benchtests/bench-strstr.c: New file.
30920         * benchtests/Makefile: Disable parallel execution of targets.
30921         (string-bench): Add memcpy.
30922         (benchset): New variable to store a list of benchmark sets.
30923         (bench-func): Renamed from bench.
30924         (bench-set): New target.
30925         (bench): Depend on bench-func and bench-set.
30926         * benchtests/README: Add section on benchmark sets.
30927         * benchtests/bench-memcpy-ifunc.c: New file.
30928         * benchtests/bench-memcpy.c: New file.
30929         * benchtests/bench-string.h: New file.
30931 2013-06-11  Andreas Schwab  <schwab@suse.de>
30933         [BZ #15577]
30934         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30935         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30936         values in the triple.
30937         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30938         terminator in the group key.
30940 2013-06-11  Andreas Jaeger  <aj@suse.de>
30942         * po/zh_TW.po: Update Chinese (traditional) translation from
30943         translation project.
30945 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30947         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30948         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30949         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30951         (clock_getcpuclockid): Likewise.
30952         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30953         Add weak_alias and libc_hidden_def.
30954         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30955         * rt/clock_gettime.c (clock_gettime): Rename to
30956         __clock_gettime.  Add weak_alias and libc_hidden_def.
30957         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30958         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30959         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30960         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30961         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30962         Likewise.
30963         * rt/clock_settime.c (clock_settime): Rename to
30964         __clock_settime.  Add weak_alias and libc_hidden_def.
30965         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30967 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30969         * mach/err_boot.sub: Remove trailing whitespace.
30970         * mach/err_ipc.sub: Likewise.
30971         * mach/err_mach.sub: Likewise.
30973         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30974         (ROUNDING_TESTS_double): Likewise.
30975         (ROUNDING_TESTS_long_double): Likewise.
30976         (ROUNDING_TESTS): Likewise.
30977         * math/libm-test.inc: Include <math-tests.h>.
30978         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30979         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30980         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30981         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30983 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30985         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30986         of assigning.
30988 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30990         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30991         otherwise empty TRANS lines.
30992         * sysdeps/gnu/errlist.c: Regenerated.
30994         * catgets/gencat.c (error_print): Use (void) in function
30995         definition.
30996         * crypt/crypt_util.c (__init_des): Likewise.
30997         * crypt/speeds.c (Stop): Likewise.
30998         (main): Likewise.
30999         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31000         * inet/ruserpass.c (token): Likewise.
31001         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31002         * intl/localealias.c (extend_alias_table): Likewise.
31003         * intl/plural-exp.c (init_germanic_plural): Likewise.
31004         * libio/fcloseall.c (__fcloseall): Likewise.
31005         * libio/genops.c (_IO_flush_all): Likewise.
31006         (_IO_flush_all_linebuffered): Likewise.
31007         (_IO_cleanup): Likewise.
31008         (_IO_iter_begin): Likewise.
31009         (_IO_iter_end): Likewise.
31010         (_IO_list_lock): Likewise.
31011         (_IO_list_unlock): Likewise.
31012         (_IO_list_resetlock): Likewise.
31013         * libio/getchar.c (getchar): Likewise.
31014         * libio/getchar_u.c (getchar_unlocked): Likewise.
31015         * libio/getwchar.c (getwchar): Likewise.
31016         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31017         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31018         * login/getpt.c (__getpt): Likewise.
31019         * login/tst-utmp.c (main): Likewise.
31020         * malloc/hooks.c (__malloc_check_init): Likewise.
31021         * malloc/malloc.c (__malloc_stats): Likewise.
31022         * malloc/mtrace.c (tr_break): Likewise.
31023         (mtrace): Likewise.
31024         (muntrace): Likewise.
31025         * misc/fstab.c (endfsent): Likewise.
31026         * misc/getclktck.c (__getclktck): Likewise.
31027         * misc/getdtsz.c (__getdtablesize): Likewise.
31028         * misc/gethostid.c (gethostid): Likewise.
31029         * misc/getpagesize.c (__getpagesize): Likewise.
31030         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31031         (__get_nprocs): Likewise.
31032         (__get_phys_pages): Likewise.
31033         (__get_avphys_pages): Likewise.
31034         * misc/getttyent.c (getttyent): Likewise.
31035         (setttyent): Likewise.
31036         (endttyent): Likewise.
31037         * misc/getusershell.c (getusershell): Likewise.
31038         (endusershell): Likewise.
31039         (setusershell): Likewise.
31040         (initshells): Likewise.
31041         * misc/hsearch.c (__hdestroy): Likewise.
31042         * misc/sync.c (sync): Likewise.
31043         * misc/syslog.c (closelog_internal): Likewise.
31044         (closelog): Likewise.
31045         * misc/ttyslot.c (ttyslot): Likewise.
31046         * misc/vhangup.c (vhangup): Likewise.
31047         * posix/fork.c (__fork): Likewise.
31048         * posix/getegid.c (__getegid): Likewise.
31049         * posix/geteuid.c (__geteuid): Likewise.
31050         * posix/getgid.c (__getgid): Likewise.
31051         * posix/getpid.c (__getpid): Likewise.
31052         * posix/getppid.c (__getppid): Likewise.
31053         * posix/getuid.c (__getuid): Likewise.
31054         * posix/pause.c (pause): Likewise.
31055         * posix/setpgrp.c (setpgrp): Likewise.
31056         * posix/setsid.c (__setsid): Likewise.
31057         * posix/test-vfork.c (noop): Likewise.
31058         * resolv/gethnamaddr.c (_endhtent): Likewise.
31059         (_gethtent): Likewise.
31060         (ht_endhostent): Likewise.
31061         (gethostent): Likewise.
31062         (dns_service): Likewise.
31063         * stdlib/drand48.c (drand48): Likewise.
31064         * stdlib/lrand48.c (lrand48): Likewise.
31065         * stdlib/mrand48.c (mrand48): Likewise.
31066         * stdlib/rand.c (rand): Likewise.
31067         * stdlib/random.c (__random): Likewise.
31068         * stdlib/setenv.c (clearenv): Likewise.
31069         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31070         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31071         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31072         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31073         (__get_nprocs): Likewise.
31074         (__get_phys_pages): Likewise.
31075         (__get_avphys_pages): Likewise.
31076         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31077         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31078         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31079         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31080         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31081         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31082         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31083         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31084         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31085         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31086         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31087         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31088         * sysdeps/posix/clock.c (clock): Likewise.
31089         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31090         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31091         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31092         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31093         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31094         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31095         (__get_nprocs_conf): Likewise.
31096         (__get_phys_pages): Likewise.
31097         (__get_avphys_pages): Likewise.
31098         * time/clock.c (clock): Likewise.
31099         * time/tzset.c (__tzname_max): Likewise.
31101 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31103         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31104         (__bswap_32): Do not use "register".
31105         * crypt/crypt.c (_ufc_doit_r): Likewise.
31106         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31107         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31108         * gmon/gmon.c (__monstartup): Likewise.
31109         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31110         * hurd/hurdmalloc.c (more_memory): Likewise.
31111         (malloc): Likewise.
31112         (free): Likewise.
31113         (realloc): Likewise.
31114         (malloc_fork_prepare): Likewise.
31115         (malloc_fork_parent): Likewise.
31116         (malloc_fork_child): Likewise.
31117         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31118         (_svcauth_des): Likewise.
31119         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31120         * inet/inet_net.c (inet_network): Likewise.
31121         * inet/inet_netof.c (inet_netof): Likewise.
31122         * inet/rcmd.c (__validuser2_sa): Likewise.
31123         * io/fts.c (fts_open): Likewise.
31124         (fts_load): Likewise.
31125         (fts_close): Likewise.
31126         (fts_read): Likewise.
31127         (fts_children): Likewise.
31128         (fts_build): Likewise.
31129         (fts_stat): Likewise.
31130         (fts_sort): Likewise.
31131         (fts_alloc): Likewise.
31132         (fts_lfree): Likewise.
31133         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31134         (_IO_file_xsgetn): Likewise.
31135         (_IO_file_xsgetn_mmap): Likewise.
31136         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31137         (_IO_cookie_write): Likewise.
31138         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31139         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31140         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31141         * malloc/obstack.c (_obstack_begin): Likewise.
31142         (_obstack_begin_1): Likewise.
31143         (_obstack_newchunk): Likewise.
31144         (_obstack_allocated_p): Likewise.
31145         (obstack_free): Likewise.
31146         (_obstack_memory_used): Likewise.
31147         * misc/getttyent.c (getttynam): Likewise.
31148         (getttyent): Likewise.
31149         (skip): Likewise.
31150         (value): Likewise.
31151         * misc/getusershell.c (initshells): Likewise.
31152         * misc/syslog.c (__vsyslog_chk): Likewise.
31153         * misc/ttyslot.c (ttyslot): Likewise.
31154         * nis/nis_hash.c (__nis_hash): Likewise.
31155         * posix/fnmatch_loop.c (FCT): Likewise.
31156         * posix/getconf.c (print_all): Likewise.
31157         (main): Likewise.
31158         * posix/getopt.c (exchange): Likewise.
31159         * posix/glob.c (globfree): Likewise.
31160         (prefix_array): Likewise.
31161         (__glob_pattern_type): Likewise.
31162         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31163         (NS_GET32): Likewise.
31164         (NS_PUT16): Likewise.
31165         (NS_PUT32): Likewise.
31166         * resolv/gethnamaddr.c (getanswer): Likewise.
31167         (gethostbyname2): Likewise.
31168         (gethostbyaddr): Likewise.
31169         (_gethtent): Likewise.
31170         (_gethtbyname2): Likewise.
31171         (_gethtbyaddr): Likewise.
31172         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31173         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31174         * resolv/res_init.c (__res_vinit): Likewise.
31175         (net_mask): Likewise.
31176         * resolv/res_mkquery.c (outchar): Likewise.
31177         (PRINT): Likewise.
31178         * stdio-common/printf_fp.c (outchar): Likewise.
31179         (PRINT): Likewise.
31180         * stdio-common/printf_fphex.c (outchar): Likewise.
31181         (PRINT): Likewise.
31182         * stdio-common/printf_size.c (outchar): Likewise.
31183         (PRINT): Likewise.
31184         * stdio-common/test_rdwr.c (main): Likewise.
31185         * stdio-common/tfformat.c (matches): Likewise.
31186         * stdio-common/vfprintf.c (outchar): Likewise.
31187         (printf_unknown): Likewise.
31188         (buffered_vfprintf): Likewise.
31189         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31190         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31191         (ReadFile): Likewise.
31192         * stdlib/qsort.c (SWAP): Likewise.
31193         (_quicksort): Likewise.
31194         * stdlib/setenv.c (__add_to_environ): Likewise.
31195         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31196         * stdlib/strtol_l.c (__strtol_l): Likewise.
31197         * stdlib/tst-strtod.c (main): Likewise.
31198         * stdlib/tst-strtol.c (main): Likewise.
31199         * stdlib/tst-strtoll.c (main): Likewise.
31200         * string/bits/string2.h (__strcmp_cc): Likewise.
31201         (__strcmp_cg): Likewise.
31202         (__strcspn_c1): Likewise.
31203         (__strcspn_c2): Likewise.
31204         (__strcspn_c3): Likewise.
31205         (__strspn_c1): Likewise.
31206         (__strspn_c2): Likewise.
31207         (__strspn_c3): Likewise.
31208         (__strsep_1c): Likewise.
31209         (__strsep_2c): Likewise.
31210         (__strsep_3c): Likewise.
31211         * string/memccpy.c (__memccpy): Likewise.
31212         * string/stpcpy.c (__stpcpy): Likewise.
31213         * string/strcmp.c (strcmp): Likewise.
31214         * string/strrchr.c (strrchr): Likewise.
31215         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31216         Likewise.
31217         * sysdeps/mach/hurd/getcwd.c
31218         (_hurd_canonicalize_directory_name_internal): Likewise.
31219         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31220         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31221         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31222         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31223         Likewise, in both definitions.
31224         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31225         definitions.
31226         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31227         64] (__bswap_64): Likewise.
31228         * time/test_time.c (main): Likewise.
31229         * time/tzfile.c (__tzfile_read): Likewise.
31230         (__tzfile_compute): Likewise.
31231         * time/tzset.c (__tzset_parse_tz): Likewise.
31232         (tzset_internal): Likewise.
31233         (compute_change): Likewise.
31234         * wcsmbs/wcscat.c (__wcscat): Likewise.
31235         * wcsmbs/wcschr.c (wcschr): Likewise.
31236         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31237         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31238         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31239         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31240         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31241         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31242         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31243         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31244         * wcsmbs/wmemset.c (wmemset): Likewise.
31246 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31248         * scripts/config.guess: Update to version 2013-05-16.
31249         * scripts/config.sub: Update to version 2013-04-24.
31250         * scripts/install-sh: Update to version 2011-11-20.07.
31251         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31252         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31254 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31256         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31257         * elf/sln.c: Likewise.
31258         * hurd/hurd/ioctl.h: Likewise.
31259         * hurd/hurdmalloc.c: Likewise.
31260         * hurd/xattr.c: Likewise.
31261         * include/shlib-compat.h: Likewise.
31262         * inet/ruserpass.c: Likewise.
31263         * libio/iofgets_u.c: Likewise.
31264         * libio/iofgetws_u.c: Likewise.
31265         * locale/programs/ld-identification.c: Likewise.
31266         * locale/programs/ld-time.c: Likewise.
31267         * mach/msg-destroy.c: Likewise.
31268         * nss/nss_files/files-netgrp.c: Likewise.
31269         * resolv/res_data.c: Likewise.
31270         * soft-fp/op-1.h: Likewise.
31271         * soft-fp/op-2.h: Likewise.
31272         * soft-fp/op-4.h: Likewise.
31273         * soft-fp/op-common.h: Likewise.
31274         * stdio-common/printf_fphex.c: Likewise.
31275         * stdlib/strtod_l.c: Likewise.
31276         * sunrpc/rpc/clnt.h: Likewise.
31277         * sysdeps/generic/framestate.c: Likewise.
31278         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31279         * sysdeps/i386/bsd-setjmp.S: Likewise.
31280         * sysdeps/i386/__longjmp.S: Likewise.
31281         * sysdeps/i386/setjmp.S: Likewise.
31282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31283         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31284         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31299         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31300         * sysdeps/ieee754/support.c: Likewise.
31301         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31302         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31303         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31304         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31305         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31306         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31307         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31308         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31309         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31310         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31311         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31312         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31313         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31314         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31315         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31316         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31317         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31320 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31322         * posix/transbug.c: Remove executable mode.
31324 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31326         * crypt/speeds.c: Remove trailing whitespace.
31327         * dlfcn/default.c: Likewise.
31328         * elf/ifuncdep2.c: Likewise.
31329         * elf/ifuncmain1.c: Likewise.
31330         * elf/ifuncmain1vis.c: Likewise.
31331         * elf/testobj.h: Likewise.
31332         * elf/tst-stackguard1.c: Likewise.
31333         * gmon/sys/gmon.h: Likewise.
31334         * hurd/hurdmsg.c: Likewise.
31335         * hurd/new-fd.c: Likewise.
31336         * hurd/ports-get.c: Likewise.
31337         * iconvdata/ibm1008_420.c: Likewise.
31338         * inet/tst-getni1.c: Likewise.
31339         * inet/tst-getni2.c: Likewise.
31340         * libio/ioungetc.c: Likewise.
31341         * libio/wfiledoalloc.c: Likewise.
31342         * manual/libm-err-tab.pl: Likewise.
31343         * math/w_dremf.c: Likewise.
31344         * misc/ftruncate.c: Likewise.
31345         * posix/bug-glob2.c: Likewise.
31346         * posix/tst-pcre.c: Likewise.
31347         * posix/wait4.c: Likewise.
31348         * resolv/README: Likewise.
31349         * resolv/res_debug.h: Likewise.
31350         * resolv/tst-inet_ntop.c: Likewise.
31351         * setjmp/bug269-setjmp.c: Likewise.
31352         * soft-fp/extended.h: Likewise.
31353         * soft-fp/op-1.h: Likewise.
31354         * soft-fp/op-2.h: Likewise.
31355         * soft-fp/op-4.h: Likewise.
31356         * soft-fp/op-8.h: Likewise.
31357         * soft-fp/testit.c: Likewise.
31358         * stdio-common/bug16.c: Likewise.
31359         * stdlib/random.c: Likewise.
31360         * sunrpc/rpcsvc/rquota.x: Likewise.
31361         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31362         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31363         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31364         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31365         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31367         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31368         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31369         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31370         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31371         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31372         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31373         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31374         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31375         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31376         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31377         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31378         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31379         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31382         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31383         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31384         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31385         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31386         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31389         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31390         * sysdeps/ieee754/s_lib_version.c: Likewise.
31391         * sysdeps/mach/hurd/check_fds.c: Likewise.
31392         * sysdeps/mach/hurd/getsockname.c: Likewise.
31393         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31394         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31395         * sysdeps/powerpc/bits/link.h: Likewise.
31396         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31397         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31398         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31399         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31400         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31401         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31402         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31403         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31404         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31405         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31406         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31407         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31408         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31409         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31410         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31411         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31412         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31413         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31414         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31415         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31416         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31417         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31419         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31420         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31421         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31422         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31423         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31424         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31425         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31428         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31429         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31430         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31431         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31432         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31433         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31434         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31435         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31436         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31437         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31438         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31439         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31440         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31441         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31442         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31443         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31444         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31445         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31450         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31451         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31452         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31453         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31454         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31455         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31456         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31457         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31458         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31459         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31460         * sysdeps/powerpc/sysdep.h: Likewise.
31461         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31462         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31463         * sysdeps/sh/dl-trampoline.S: Likewise.
31464         * sysdeps/sh/memset.S: Likewise.
31465         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31466         * sysdeps/sh/strlen.S: Likewise.
31467         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31468         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31469         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31470         * sysdeps/sparc/sparc32/rem.S: Likewise.
31471         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31472         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31473         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31474         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31475         * sysdeps/sparc/sparc32/urem.S: Likewise.
31476         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31477         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31478         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31479         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31480         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31481         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31482         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31483         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31484         * sysdeps/unix/bsd/times.c: Likewise.
31485         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31486         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31490         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31491         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31492         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31493         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31494         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31495         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31496         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31497         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31498         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31499         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31500         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31501         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31502         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31503         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31504         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31505         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31506         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31507         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31508         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31509         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31510         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31511         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31512         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31513         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31514         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31515         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31516         * sysdeps/x86_64/strcspn.S: Likewise.
31518 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31520         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31521         generated file.  Regenerate properly from gen-translit.pl.
31522         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31523         locale/C-translit.h.
31525 2013-06-05  Andreas Schwab  <schwab@suse.de>
31527         [BZ #15100]
31528         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31529         week as 6 instead of -1.
31530         * time/tst-strptime.c (day_tests): Add test case.
31532 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31534         * sysdeps/generic/math_private.h
31535         (libc_feholdexcept_setround_53bit): Replace with
31536         libc_feholdsetround_53bit.
31537         (libc_feupdateenv_53bit): Replace with
31538         libc_feresetround_53bit.
31539         (SET_RESTORE_ROUND_53BIT): Adjust.
31541 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31543         * string/test-strchrnul.c: Add copyright header.
31545         * posix/tst-getaddrinfo4.c: Increase test timeout.
31547 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31549         [BZ #15536]
31550         * math/libm-test.inc (MAX_EXP): Remove
31551         (MIN_EXP): Define.
31552         (ulp): Use MIN_EXP - MANT_DIG.
31553         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31555 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31557         * po/be.po: Revert last change.
31558         * po/zh_CN.po: Likewise.
31559         * po/header.pot: Likewise.
31561 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31563         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31564         link-libc-deps to empty as target-specific variable.
31565         * Makerules (link-libc-args): New variable.
31566         (libc-for-link): Likewise.
31567         (link-libc-deps): Likewise.
31568         (lib%.so): Depend on $(link-libc-deps).  Link with
31569         $(link-libc-args).
31570         (build-module): Link with $(link-libc-args).
31571         (build-module-asneeded): Likewise.
31572         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31573         list of objects.
31574         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31575         target-specific variable.
31576         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31577         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31578         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31579         libc.
31580         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31581         libc and ld.so.
31582         ($(objpfx)libpcprofile.so): Likewise.
31583         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31584         libc_nonshared.a.
31585         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31586         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31587         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31588         $(link-libc-deps).
31589         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31590         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31591         * login/Makefile ($(objpfx)libutil.so): Likewise.
31592         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31593         * math/Makefile ($(objpfx)libm.so): Likewise.
31594         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31595         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31596         variable instead of depending directly on libc.
31597         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31598         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31599         $(link-libc-deps).
31600         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31601         libc.
31602         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31603         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31604         ($(objpfx)libanl.so): Likewise.
31605         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31606         ld.so.
31607         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31608         $(link-libc-deps).
31609         * sysdeps/i386/fpu/Makefile: Remove file.
31610         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31611         ($(objpfx)libm.so): Remove dependency on ld.so.
31613 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31615         [BZ # 15553]
31616         * nis/yp_xdr.c (XDRMAXNAME): Define.
31617         (XDRMAXRECORD): Define.
31618         (xdr_domainname): Use XDRMAXNAME.
31619         (xdr_mapname): Likewise.
31620         (xdr_peername): Likewise.
31621         (xdr_keydat): Use XDRMAXRECORD.
31622         (xdr_valdat): Likewise.
31624 2013-05-30  Jeff Law  <law@redhat.com>
31626         [BZ #14256]
31627         * manual/errno.texi (ESTALE): Update to account for more than
31628         just NFS file systems.
31629         * sysdeps/gnu/errlist.c: Regenerated.
31631 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31633         [BZ #15465]
31634         * elf/Makefile (tests): Add tst-null-argv.
31635         (modules-names):  Add tst-null-argv-lib.
31636         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31637         (tst-null-argv-ENV): Set environment for tst-null-argv.
31638         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31639         (RTLD_PROGNAME): New macro.
31640         * elf/tst-null-argv.c: New test case.
31641         * elf/tst-null-argv-lib.c: Library for test case.
31642         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31643         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31644         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31645         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31646         * elf/dl-init.c (call_init): Likewise.
31647         (_dl_init): Likewise.
31648         * elf/dl-load.c (print_search_path): Likewise.
31649         (_dl_map_object): Likewise.
31650         * elf/dl-lookup.c (do_lookup_x): Likewise.
31651         (add_dependency): Likewise.
31652         (_dl_lookup_symbol_x): Likewise.
31653         (_dl_debug_bindings): Likewise.
31654         * elf/dl-open.c (_dl_show_scope): Likewise.
31655         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31656         * elf/dl-version.c (match_symbol): Likewise.
31657         (_dl_check_map_versions): Likewise.
31658         * elf/rtld.c (dl_main): Likewise.
31659         (print_unresolved): Use RTLD_PROGNAME.
31660         (print_missing_version): Likewise.
31661         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31662         (elf_machine_rela): Likewise.
31663         * sysdeps/powerpc/powerpc32/dl-machine.c
31664         (__process_machine_rela): Likewise.
31665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31666         Likewise.
31667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31668         Likewise.
31669         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31670         Likewise.
31671         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31673         Likewise.
31674         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31675         Likewise.
31676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31678 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31680         * po/be.po: Add descriptive title.
31681         * po/zh_CN.po: Likewise.
31682         * po/header.pot: Likewise.
31684 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31686         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31687         error message.
31688         (enlarge_archive): Likewise.
31690 2013-05-28  Ben North  <ben@redfrontdoor.org>
31692         * manual/arith.texi (frexp): It is the magnitude of the return
31693         value which lies in [0.5, 1), not the return value itself.
31695 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31699 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31701         * stdio-common/bug26.c (main): Correct fscanf template.
31703         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31704         declare _dl_skip_args.
31706         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31707         Don't declare.
31709         * manual/platform.texi: Add missing @end deftypefun.
31711 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31713         [BZ #15529]
31714         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31715         bit of mantissa of 2^16382.
31716         * math/libm-test.inc (hypot_test_data): Add more tests.
31718         * math/libm-test.inc: Add drem and pow10 to list of tested
31719         functions.
31720         (pow10_test): New function.
31721         (drem_test): Likewise.
31722         (drem_test_tonearest): Likewise.
31723         (drem_test_towardzero): Likewise.
31724         (drem_test_downward): Likewise.
31725         (drem_test_upward): Likewise.
31726         (main): Call the new functions.
31728         * math/libm-test.inc (finite_test_data): Remove.
31729         (finite_test): Run tests from isfinite_test_data.
31730         (gamma_test_data): Remove.
31731         (gamma_test): Run tests from lgamma_test_data.
31732         * sysdeps/i386/fpu/libm-test-ulps: Update.
31733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31735 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31737         * manual/platform.texi: Add PowerPC PPR function set documentation.
31738         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31739         implementation.
31741 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31743         * math/libm-test.inc (MAX_EXP): Define.
31744         (ULPDIFF): Define.
31745         (ulp): New function.
31746         (check_float_internal): Use ULPDIFF.
31747         (cpow_test): Disable failing test.
31748         (check_ulp): Test ulp() implemetnation.
31749         (main): Call check_ulp before starting tests.
31751 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31753         * math/gen-libm-test.pl (generate_testfile): Do not handle
31754         START_DATA and END_DATA.
31755         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31756         END_DATA.
31757         (acos_tonearest_test_data): Likewise.
31758         (acos_towardzero_test_data): Likewise.
31759         (acos_downward_test_data): Likewise.
31760         (acos_upward_test_data): Likewise.
31761         (acosh_test_data): Likewise.
31762         (asin_test_data): Likewise.
31763         (asin_tonearest_test_data): Likewise.
31764         (asin_towardzero_test_data): Likewise.
31765         (asin_downward_test_data): Likewise.
31766         (asin_upward_test_data): Likewise.
31767         (asinh_test_data): Likewise.
31768         (atan_test_data): Likewise.
31769         (atanh_test_data): Likewise.
31770         (atan2_test_data): Likewise.
31771         (cabs_test_data): Likewise.
31772         (cacos_test_data): Likewise.
31773         (cacosh_test_data): Likewise.
31774         (carg_test_data): Likewise.
31775         (casin_test_data): Likewise.
31776         (casinh_test_data): Likewise.
31777         (catan_test_data): Likewise.
31778         (catanh_test_data): Likewise.
31779         (cbrt_test_data): Likewise.
31780         (ccos_test_data): Likewise.
31781         (ccosh_test_data): Likewise.
31782         (ceil_test_data): Likewise.
31783         (cexp_test_data): Likewise.
31784         (cimag_test_data): Likewise.
31785         (clog_test_data): Likewise.
31786         (clog10_test_data): Likewise.
31787         (conj_test_data): Likewise.
31788         (copysign_test_data): Likewise.
31789         (cos_test_data): Likewise.
31790         (cos_tonearest_test_data): Likewise.
31791         (cos_towardzero_test_data): Likewise.
31792         (cos_downward_test_data): Likewise.
31793         (cos_upward_test_data): Likewise.
31794         (cosh_test_data): Likewise.
31795         (cosh_tonearest_test_data): Likewise.
31796         (cosh_towardzero_test_data): Likewise.
31797         (cosh_downward_test_data): Likewise.
31798         (cosh_upward_test_data): Likewise.
31799         (cpow_test_data): Likewise.
31800         (cproj_test_data): Likewise.
31801         (creal_test_data): Likewise.
31802         (csin_test_data): Likewise.
31803         (csinh_test_data): Likewise.
31804         (csqrt_test_data): Likewise.
31805         (ctan_test_data): Likewise.
31806         (ctan_tonearest_test_data): Likewise.
31807         (ctan_towardzero_test_data): Likewise.
31808         (ctan_downward_test_data): Likewise.
31809         (ctan_upward_test_data): Likewise.
31810         (ctanh_test_data): Likewise.
31811         (ctanh_tonearest_test_data): Likewise.
31812         (ctanh_towardzero_test_data): Likewise.
31813         (ctanh_downward_test_data): Likewise.
31814         (ctanh_upward_test_data): Likewise.
31815         (erf_test_data): Likewise.
31816         (erfc_test_data): Likewise.
31817         (exp_test_data): Likewise.
31818         (exp_tonearest_test_data): Likewise.
31819         (exp_towardzero_test_data): Likewise.
31820         (exp_downward_test_data): Likewise.
31821         (exp_upward_test_data): Likewise.
31822         (exp10_test_data): Likewise.
31823         (exp2_test_data): Likewise.
31824         (expm1_test_data): Likewise.
31825         (fabs_test_data): Likewise.
31826         (fdim_test_data): Likewise.
31827         (finite_test_data): Likewise.
31828         (floor_test_data): Likewise.
31829         (fma_test_data): Likewise.
31830         (fma_towardzero_test_data): Likewise.
31831         (fma_downward_test_data): Likewise.
31832         (fma_upward_test_data): Likewise.
31833         (fmax_test_data): Likewise.
31834         (fmin_test_data): Likewise.
31835         (fmod_test_data): Likewise.
31836         (fpclassify_test_data): Likewise.
31837         (frexp_test_data): Likewise.
31838         (gamma_test_data): Likewise.
31839         (hypot_test_data): Likewise.
31840         (ilogb_test_data): Likewise.
31841         (isfinite_test_data): Likewise.
31842         (isgreater_test_data): Likewise.
31843         (isgreaterequal_test_data): Likewise.
31844         (isinf_test_data): Likewise.
31845         (isless_test_data): Likewise.
31846         (islessequal_test_data): Likewise.
31847         (islessgreater_test_data): Likewise.
31848         (isnan_test_data): Likewise.
31849         (isnormal_test_data): Likewise.
31850         (issignaling_test_data): Likewise.
31851         (isunordered_test_data): Likewise.
31852         (j0_test_data): Likewise.
31853         (j1_test_data): Likewise.
31854         (jn_test_data): Likewise.
31855         (ldexp_test_data): Likewise.
31856         (lgamma_test_data): Likewise.
31857         (lrint_test_data): Likewise.
31858         (lrint_tonearest_test_data): Likewise.
31859         (lrint_towardzero_test_data): Likewise.
31860         (lrint_downward_test_data): Likewise.
31861         (lrint_upward_test_data): Likewise.
31862         (llrint_test_data): Likewise.
31863         (llrint_tonearest_test_data): Likewise.
31864         (llrint_towardzero_test_data): Likewise.
31865         (llrint_downward_test_data): Likewise.
31866         (llrint_upward_test_data): Likewise.
31867         (log_test_data): Likewise.
31868         (log10_test_data): Likewise.
31869         (log1p_test_data): Likewise.
31870         (log2_test_data): Likewise.
31871         (logb_test_data): Likewise.
31872         (logb_downward_test_data): Likewise.
31873         (lround_test_data): Likewise.
31874         (llround_test_data): Likewise.
31875         (modf_test_data): Likewise.
31876         (nearbyint_test_data): Likewise.
31877         (nextafter_test_data): Likewise.
31878         (nexttoward_test_data): Likewise.
31879         (pow_test_data): Likewise.
31880         (pow_tonearest_test_data): Likewise.
31881         (pow_towardzero_test_data): Likewise.
31882         (pow_downward_test_data): Likewise.
31883         (pow_upward_test_data): Likewise.
31884         (remainder_test_data): Likewise.
31885         (remainder_tonearest_test_data): Likewise.
31886         (remainder_towardzero_test_data): Likewise.
31887         (remainder_downward_test_data): Likewise.
31888         (remainder_upward_test_data): Likewise.
31889         (remquo_test_data): Likewise.
31890         (rint_test_data): Likewise.
31891         (rint_tonearest_test_data): Likewise.
31892         (rint_towardzero_test_data): Likewise.
31893         (rint_downward_test_data): Likewise.
31894         (rint_upward_test_data): Likewise.
31895         (round_test_data): Likewise.
31896         (scalb_test_data): Likewise.
31897         (scalbn_test_data): Likewise.
31898         (scalbln_test_data): Likewise.
31899         (signbit_test_data): Likewise.
31900         (sin_test_data): Likewise.
31901         (sin_tonearest_test_data): Likewise.
31902         (sin_towardzero_test_data): Likewise.
31903         (sin_downward_test_data): Likewise.
31904         (sin_upward_test_data): Likewise.
31905         (sincos_test_data): Likewise.
31906         (sinh_test_data): Likewise.
31907         (sinh_tonearest_test_data): Likewise.
31908         (sinh_towardzero_test_data): Likewise.
31909         (sinh_downward_test_data): Likewise.
31910         (sinh_upward_test_data): Likewise.
31911         (sqrt_test_data): Likewise.
31912         (tan_test_data): Likewise.
31913         (tan_tonearest_test_data): Likewise.
31914         (tan_towardzero_test_data): Likewise.
31915         (tan_downward_test_data): Likewise.
31916         (tan_upward_test_data): Likewise.
31917         (tanh_test_data): Likewise.
31918         (tgamma_test_data): Likewise.
31919         (trunc_test_data): Likewise.
31920         (y0_test_data): Likewise.
31921         (y1_test_data): Likewise.
31922         (yn_test_data): Likewise.
31923         (significand_test_data): Likewise.
31925         * math/gen-libm-test.pl (@functions): Remove variable.
31926         (generate_testfile): Don't handle START and END lines.
31927         * math/libm-test.inc (START): New macro.
31928         (END): Likewise.
31929         (END_COMPLEX): Likewise.
31930         (acos_test): Use END macro without arguments.
31931         (acos_test_tonearest): Likewise.
31932         (acos_test_towardzero): Likewise.
31933         (acos_test_downward): Likewise.
31934         (acos_test_upward): Likewise.
31935         (acosh_test): Likewise.
31936         (asin_test): Likewise.
31937         (asin_test_tonearest): Likewise.
31938         (asin_test_towardzero): Likewise.
31939         (asin_test_downward): Likewise.
31940         (asin_test_upward): Likewise.
31941         (asinh_test): Likewise.
31942         (atan_test): Likewise.
31943         (atanh_test): Likewise.
31944         (atan2_test): Likewise.
31945         (cabs_test): Likewise.
31946         (cacos_test): Use END_COMPLEX macro without arguments.
31947         (cacosh_test): Likewise.
31948         (carg_test): Use END macro without arguments.
31949         (casin_test): Use END_COMPLEX macro without arguments.
31950         (casinh_test): Likewise.
31951         (catan_test): Likewise.
31952         (catanh_test): Likewise.
31953         (cbrt_test): Use END macro without arguments.
31954         (ccos_test): Use END_COMPLEX macro without arguments.
31955         (ccosh_test): Likewise.
31956         (ceil_test): Use END macro without arguments.
31957         (cexp_test): Use END_COMPLEX macro without arguments.
31958         (cimag_test): Use END macro without arguments.
31959         (clog_test): Use END_COMPLEX macro without arguments.
31960         (clog10_test): Likewise.
31961         (conj_test): Likewise.
31962         (copysign_test): Use END macro without arguments.
31963         (cos_test): Likewise.
31964         (cos_test_tonearest): Likewise.
31965         (cos_test_towardzero): Likewise.
31966         (cos_test_downward): Likewise.
31967         (cos_test_upward): Likewise.
31968         (cosh_test): Likewise.
31969         (cosh_test_tonearest): Likewise.
31970         (cosh_test_towardzero): Likewise.
31971         (cosh_test_downward): Likewise.
31972         (cosh_test_upward): Likewise.
31973         (cpow_test): Use END_COMPLEX macro without arguments.
31974         (cproj_test): Likewise.
31975         (creal_test): Use END macro without arguments.
31976         (csin_test): Use END_COMPLEX macro without arguments.
31977         (csinh_test): Likewise.
31978         (csqrt_test): Likewise.
31979         (ctan_test): Likewise.
31980         (ctan_test_tonearest): Likewise.
31981         (ctan_test_towardzero): Likewise.
31982         (ctan_test_downward): Likewise.
31983         (ctan_test_upward): Likewise.
31984         (ctanh_test): Likewise.
31985         (ctanh_test_tonearest): Likewise.
31986         (ctanh_test_towardzero): Likewise.
31987         (ctanh_test_downward): Likewise.
31988         (ctanh_test_upward): Likewise.
31989         (erf_test): Use END macro without arguments.
31990         (erfc_test): Likewise.
31991         (exp_test): Likewise.
31992         (exp_test_tonearest): Likewise.
31993         (exp_test_towardzero): Likewise.
31994         (exp_test_downward): Likewise.
31995         (exp_test_upward): Likewise.
31996         (exp10_test): Likewise.
31997         (exp2_test): Likewise.
31998         (expm1_test): Likewise.
31999         (fabs_test): Likewise.
32000         (fdim_test): Likewise.
32001         (finite_test): Likewise.
32002         (floor_test): Likewise.
32003         (fma_test): Likewise.
32004         (fma_test_towardzero): Likewise.
32005         (fma_test_downward): Likewise.
32006         (fma_test_upward): Likewise.
32007         (fmax_test): Likewise.
32008         (fmin_test): Likewise.
32009         (fmod_test): Likewise.
32010         (fpclassify_test): Likewise.
32011         (frexp_test): Likewise.
32012         (gamma_test): Likewise.
32013         (hypot_test): Likewise.
32014         (ilogb_test): Likewise.
32015         (isfinite_test): Likewise.
32016         (isgreater_test): Likewise.
32017         (isgreaterequal_test): Likewise.
32018         (isinf_test): Likewise.
32019         (isless_test): Likewise.
32020         (islessequal_test): Likewise.
32021         (islessgreater_test): Likewise.
32022         (isnan_test): Likewise.
32023         (isnormal_test): Likewise.
32024         (issignaling_test): Likewise.
32025         (isunordered_test): Likewise.
32026         (j0_test): Likewise.
32027         (j1_test): Likewise.
32028         (jn_test): Likewise.
32029         (ldexp_test): Likewise.
32030         (lgamma_test): Likewise.
32031         (lrint_test): Likewise.
32032         (lrint_test_tonearest): Likewise.
32033         (lrint_test_towardzero): Likewise.
32034         (lrint_test_downward): Likewise.
32035         (lrint_test_upward): Likewise.
32036         (llrint_test): Likewise.
32037         (llrint_test_tonearest): Likewise.
32038         (llrint_test_towardzero): Likewise.
32039         (llrint_test_downward): Likewise.
32040         (llrint_test_upward): Likewise.
32041         (log_test): Likewise.
32042         (log10_test): Likewise.
32043         (log1p_test): Likewise.
32044         (log2_test): Likewise.
32045         (logb_test): Likewise.
32046         (logb_test_downward): Likewise.
32047         (lround_test): Likewise.
32048         (llround_test): Likewise.
32049         (modf_test): Likewise.
32050         (nearbyint_test): Likewise.
32051         (nextafter_test): Likewise.
32052         (nexttoward_test): Likewise.
32053         (pow_test): Likewise.
32054         (pow_test_tonearest): Likewise.
32055         (pow_test_towardzero): Likewise.
32056         (pow_test_downward): Likewise.
32057         (pow_test_upward): Likewise.
32058         (remainder_test): Likewise.
32059         (remainder_test_tonearest): Likewise.
32060         (remainder_test_towardzero): Likewise.
32061         (remainder_test_downward): Likewise.
32062         (remainder_test_upward): Likewise.
32063         (remquo_test): Likewise.
32064         (rint_test): Likewise.
32065         (rint_test_tonearest): Likewise.
32066         (rint_test_towardzero): Likewise.
32067         (rint_test_downward): Likewise.
32068         (rint_test_upward): Likewise.
32069         (round_test): Likewise.
32070         (scalb_test): Likewise.
32071         (scalbn_test): Likewise.
32072         (scalbln_test): Likewise.
32073         (signbit_test): Likewise.
32074         (sin_test): Likewise.
32075         (sin_test_tonearest): Likewise.
32076         (sin_test_towardzero): Likewise.
32077         (sin_test_downward): Likewise.
32078         (sin_test_upward): Likewise.
32079         (sincos_test): Likewise.
32080         (sinh_test): Likewise.
32081         (sinh_test_tonearest): Likewise.
32082         (sinh_test_towardzero): Likewise.
32083         (sinh_test_downward): Likewise.
32084         (sinh_test_upward): Likewise.
32085         (sqrt_test): Likewise.
32086         (tan_test): Likewise.
32087         (tan_test_tonearest): Likewise.
32088         (tan_test_towardzero): Likewise.
32089         (tan_test_downward): Likewise.
32090         (tan_test_upward): Likewise.
32091         (tanh_test): Likewise.
32092         (tgamma_test): Likewise.
32093         (trunc_test): Likewise.
32094         (y0_test): Likewise.
32095         (y1_test): Likewise.
32096         (yn_test): Likewise.
32097         (significand_test): Likewise.
32099 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32101         [BZ #15381]
32102         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32104 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32106         [BZ #14894]
32107         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32108         __ppc_mdoio and __ppc_mdoom.
32109         * manual/platform.texi: Document new functions __ppc_yield,
32110         __ppc_mdoio and __ppc_mdoom.
32112 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32114         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32115         (main): Mention "tls" pseudo-hwcap is legacy.
32116         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32118 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32120         * math/gen-libm-test.pl (parse_args): Output only string of
32121         arguments as text for test name, not full call or descriptions of
32122         tests for extra outputs.
32123         (generate_testfile): Do not pass function name to parse_args.
32124         Generate this_func variable from START.
32125         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32126         field to arg_str.
32127         (struct test_ff_f_data): Likewise.
32128         (test_ff_f_data_nexttoward): Likewise.
32129         (struct test_fi_f_data): Likewise.
32130         (struct test_fl_f_data): Likewise.
32131         (struct test_if_f_data): Likewise.
32132         (struct test_fff_f_data): Likewise.
32133         (struct test_c_f_data): Likewise.
32134         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32135         (struct test_fF_f1_data): Likewise.
32136         (struct test_ffI_f1_data): Likewise.
32137         (struct test_c_c_data): Rename test_name field to arg_str.
32138         (struct test_cc_c_data): Likewise.
32139         (struct test_f_i_data): Likewise.
32140         (struct test_ff_i_data): Likewise.
32141         (struct test_f_l_data): Likewise.
32142         (struct test_f_L_data): Likewise.
32143         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32144         and extra2_name.
32145         (COMMON_TEST_SETUP): New macro.
32146         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32147         (COMMON_TEST_CLEANUP): Likewise.
32148         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32149         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32150         macros.
32151         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32152         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32153         macros.
32154         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32155         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32156         cleanup macros.
32157         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32158         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32159         macros.
32160         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32161         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32162         macros.
32163         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32164         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32165         cleanup macros.
32166         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32167         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32168         cleanup macros.
32169         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32170         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32171         cleanup macros.
32172         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32173         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32174         macros.
32175         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32176         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32177         macros.
32178         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32179         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32180         macros.
32181         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32182         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32183         cleanup macros.
32184         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32185         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32186         cleanup macros.
32187         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32188         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32189         macros.
32190         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32191         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32192         cleanup macros.
32193         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32194         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32195         macros.
32196         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32197         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32198         macros.
32199         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32200         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32201         cleanup macros.
32202         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32204 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32206         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32207         to _sifields.sigfault.
32208         (si_addr_lsb): Define new macro.
32209         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32210         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32211         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32213 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32215         [BZ #15441]
32216         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32217         returns -1.
32218         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32219         null return -1.
32220         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32221         loading the domain.
32223 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32225         * math/gen-libm-test.pl (parse_args): Do not include expected
32226         result in test name.
32227         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32228         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32229         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32230         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32231         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32234 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32236         * benchtests/Makefile: Sort function entries.
32238         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32239         tanh, asinh, acosh, atanh.
32240         * benchtests/acos-inputs: New file.
32241         * benchtests/acosh-inputs: New file.
32242         * benchtests/asin-inputs: New file.
32243         * benchtests/asinh-inputs: New file.
32244         * benchtests/atanh-inputs: New file.
32245         * benchtests/cosh-inputs: New file.
32246         * benchtests/log-inputs: New file.
32247         * benchtests/sinh-inputs: New file.
32248         * benchtests/tanh-inputs: New file.
32250 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32252         [BZ #15339]
32253         * posix/tst-getaddrinfo4.c: New test.
32254         * posix/Makefile (tests): Add it.
32256 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32258         [BZ #15339]
32259         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32260         when no services were used.
32261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32262         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32264 2013-05-21  Andreas Schwab  <schwab@suse.de>
32266         [BZ #15014]
32267         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32268         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32269         successful.
32270         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32271         redundant variable declarations and reallocation of buffer when
32272         parsing as IPv6 address.  Always set NSS status when called from
32273         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32274         buffer too small.  Correct computation of needed size.
32275         * nss/Makefile (tests): Add test-digits-dots.
32276         * nss/test-digits-dots.c: New test.
32278 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32280         * benchtests/Makefile: Remove instructions for adding
32281         benchmark tests.
32282         * benchtests/README: New file to explain how to execute and
32283         enhance the benchmark tests.
32285 2013-05-21  Andreas Schwab  <schwab@suse.de>
32287         [BZ #15493]
32288         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32289         * setjmp/tst-sigsetjmp.c: New test.
32291 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32293         * sysdeps/x86_64/memset.S (memset): New implementation.
32294         (__bzero): Likewise.
32295         (__memset_tail): New function.
32297 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32299         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32300         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32301         __memcpy_sse2_unaligned ifunc selection.
32302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32303         Add memcpy-sse2-unaligned.S.
32304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32305         Add: __memcpy_sse2_unaligned.
32307 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32309         [BZ #15490]
32310         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32311         math_force_eval before restoring floating-point envrionment.
32312         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32313         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32314         Likewise.
32315         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32316         <math_private.h>.
32317         (__nearbyintl): Use math_force_eval before restoring
32318         floating-point environment.
32319         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32321         * math/gen-libm-test.pl (special_functions): Remove.
32322         (parse_args): Don't handle TEST_extra.  Handle functions with no
32323         return value.
32324         * math/libm-test.inc (struct test_sincos_data): Replace with
32325         struct test_fFF_11_data.
32326         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32327         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32328         (sincos_test_data): Change element type to struct
32329         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32330         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32331         RUN_TEST_LOOP_sincos.
32332         * math/README.libm-test: Don't mention special handling of
32333         individual functions.
32334         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32335         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32336         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32337         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32338         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32341         * math/gen-libm-test.pl (get_variable): Remove function.
32342         (parse_args): Don't show pointer parameters to call in test
32343         names.  Use "extra output N" in test names for extra outputs
32344         rather than naming variables.
32346 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32348         [BZ #15488]
32349         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32350         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32351         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32352         double tests.
32353         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32354         disable.
32355         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32356         check_long_double.
32358         * math/gen-libm-test.pl (@tests): Remove variable.
32359         ($count): Likewise.
32360         (new_test): Remove function.
32361         (show_exceptions): New function.
32362         (special_functions): Use show_exceptions instead of new_test.
32363         (parse_args): Likewise.
32364         (generate_testfile): Pass only function name in generated call to
32365         print_max_error or print_complex_max_error.
32366         (get_ulps): Do not handle complex tests specially.
32367         (output_test): Rename to ...
32368         (get_all_ulps_for_test): ... this.  Return a string rather than
32369         printing to a file.  Require ulps to be present.
32370         (output_ulps): Generate arrays rather than #defines.
32371         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32372         (struct ulp_data): New type.
32373         (BUILD_COMPLEX_ULP): Remove macro.
32374         (compare_ulp_data): New function.
32375         (find_ulps): Likewise.
32376         (find_test_ulps): Likewise.
32377         (find_function_ulps): Likewise.
32378         (find_complex_function_ulps): Likewise.
32379         (print_max_error): Determine allowed ulps using
32380         find_function_ulps.
32381         (print_complex_max_error): Determine allowed ulps using
32382         find_complex_function_ulps.
32383         (check_float_internal): Determine max ulps using find_test_ulps.
32384         (check_float): Do not take max_ulp parameter.  Update call to
32385         check_float_internal.
32386         (check_complex): Likewise.
32387         (check_int): Do not take max_ulp parameter.
32388         (check_long): Likewise.
32389         (check_bool): Likewise.
32390         (check_longlong): Likewise.
32391         (struct test_f_f_data): Remove max_ulp field.
32392         (struct test_ff_f_data): Likewise.
32393         (struct test_ff_f_data_nexttoward): Likewise.
32394         (struct test_fi_f_data): Likewise.
32395         (struct test_fl_f_data): Likewise.
32396         (struct test_if_f_data): Likewise.
32397         (struct test_fff_f_data): Likewise.
32398         (struct test_c_f_data): Likewise.
32399         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32400         (struct test_fF_f1_data): Likewise.
32401         (struct test_ffI_f1_data): Likewise.
32402         (struct test_c_c_data): Remove max_ulp field.
32403         (struct test_cc_c_data): Likewise.
32404         (struct test_f_i_data): Likewise.
32405         (struct test_ff_i_data): Likewise.
32406         (struct test_f_l_data): Likewise.
32407         (struct test_f_L_data): Likewise.
32408         (struct test_sincos_data): Likewise.
32409         (RUN_TEST_f_f): Do not handle ulps.
32410         (RUN_TEST_LOOP_f_f): Likewise.
32411         (RUN_TEST_2_f): Likewise.
32412         (RUN_TEST_LOOP_2_f): Likewise.
32413         (RUN_TEST_fff_f): Likewise.
32414         (RUN_TEST_LOOP_fff_f): Likewise.
32415         (RUN_TEST_c_f): Likewise.
32416         (RUN_TEST_LOOP_c_f): Likewise.
32417         (RUN_TEST_f_f1): Likewise.
32418         (RUN_TEST_LOOP_f_f1): Likewise.
32419         (RUN_TEST_fF_f1): Likewise.
32420         (RUN_TEST_LOOP_fF_f1): Likewise.
32421         (RUN_TEST_fI_f1): Likewise.
32422         (RUN_TEST_LOOP_fI_f1): Likewise.
32423         (RUN_TEST_ffI_f1): Likewise.
32424         (RUN_TEST_LOOP_ffI_f1): Likewise.
32425         (RUN_TEST_c_c): Likewise.
32426         (RUN_TEST_LOOP_c_c): Likewise.
32427         (RUN_TEST_cc_c): Likewise.
32428         (RUN_TEST_LOOP_cc_c): Likewise.
32429         (RUN_TEST_f_i): Likewise.
32430         (RUN_TEST_LOOP_f_i): Likewise.
32431         (RUN_TEST_f_i_tg): Likewise.
32432         (RUN_TEST_LOOP_f_i_tg): Likewise.
32433         (RUN_TEST_ff_i_tg): Likewise.
32434         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32435         (RUN_TEST_f_b): Likewise.
32436         (RUN_TEST_LOOP_f_b): Likewise.
32437         (RUN_TEST_f_b_tg): Likewise.
32438         (RUN_TEST_LOOP_f_b_tg): Likewise.
32439         (RUN_TEST_f_l): Likewise.
32440         (RUN_TEST_LOOP_f_l): Likewise.
32441         (RUN_TEST_f_L): Likewise.
32442         (RUN_TEST_LOOP_f_L): Likewise.
32443         (RUN_TEST_sincos): Likewise.
32444         (RUN_TEST_LOOP_sincos): Likewise.
32446 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32448         [BZ #15480]
32449         [BZ #15485]
32450         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32451         main case of finite arguments, set rounding mode to FE_TONEAREST
32452         and discard exceptions.
32453         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32454         exceptions.
32455         (remainder_tonearest_test_data): New variable.
32456         (remainder_test_tonearest): New function.
32457         (remainder_towardzero_test_data): New variable.
32458         (remainder_test_towardzero): New function.
32459         (remainder_downward_test_data): New variable.
32460         (remainder_test_downward): New function.
32461         (remainder_upward_test_data): New variable.
32462         (remainder_test_upward): New function.
32463         (main): Call the new test functions.
32465         * math/libm-test.inc (struct test_f_f1_data): Remove field
32466         extra_init.
32467         (struct test_fF_f1_data): Likewise.
32468         (struct test_ffI_f1_data): Likewise.
32469         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32470         based on value of EXTRA_EXPECTED.
32471         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32472         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32473         EXTRA_VAR based on value of EXTRA_EXPECTED.
32474         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32475         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32476         EXTRA_VAR based on value of EXTRA_EXPECTED.
32477         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32478         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32479         EXTRA_VAR based on value of EXTRA_EXPECTED.
32480         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32481         * math/gen-libm-test.pl (parse_args): Don't output initializers
32482         for extra output values.
32484         * math/libm-test.inc (check_int): Expect result to be exactly
32485         equal to expected value and do not handle ulps.
32486         (check_long): Likewise.
32487         (check_longlong): Likewise.
32489         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32490         exceptions.
32491         (cimag_test_data): Likewise.
32492         (conj_test_data): Likewise.
32493         (copysign_test_data): Likewise.
32494         (cproj_test_data): Likewise.
32495         (creal_test_data): Likewise.
32496         (fabs_test_data): Likewise.
32497         (fdim_test_data): Likewise.
32498         (finite_test_data): Likewise.
32499         (floor_test_data): Likewise.
32500         (fmax_test_data): Likewise.
32501         (fmin_test_data): Likewise.
32502         (fmod_test_data): Likewise.
32503         (fpclassify_test_data): Likewise.
32504         (frexp_test_data): Likewise.
32505         (ilogb_test_data): Likewise.
32506         (isfinite_test_data): Likewise.
32507         (isgreater_test_data): Likewise.
32508         (isgreaterequal_test_data): Likewise.
32509         (isinf_test_data): Likewise.
32510         (isless_test_data): Likewise.
32511         (islessequal_test_data): Likewise.
32512         (islessgreater_test_data): Likewise.
32513         (isnan_test_data): Likewise.
32514         (isnormal_test_data): Likewise.
32515         (issignaling_test_data): Likewise.
32516         (isunordered_test_data): Likewise.
32517         (ldexp_test_data): Likewise.
32518         (lrint_test_data): Likewise.
32519         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32520         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32521         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32522         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32523         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32524         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32525         test input.
32526         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32527         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32528         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32529         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32530         that test input.
32531         (lrint_downward_test_data): Test for "inexact" exceptions.
32532         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32533         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32534         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32535         test input.
32536         (lrint_upward_test_data): Test for "inexact" exceptions.
32537         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32538         test input.
32539         (llrint_test_data): Test for "inexact" exceptions.
32540         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32541         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32542         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32543         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32544         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32545         (llrint_downward_test_data): Test for "inexact" exceptions.
32546         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32547         (llrint_upward_test_data): Test for "inexact" exceptions.
32548         (logb_test_data): Likewise.
32549         (logb_downward_test_data): Likewise.
32550         (nextafter_test_data): Likewise.
32551         (nexttoward_test_data): Likewise.
32552         (remainder_test_data): Likewise.
32553         (remquo_test_data): Likewise.
32554         (scalbn_test_data): Likewise.
32555         (scalbln_test_data): Likewise.
32556         (signbit_test_data): Likewise.
32557         (sqrt_test_data): Likewise.
32558         (significand_test_data): Likewise.
32560 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32562         [BZ #15424]
32563         * benchtests/bench-modf.c (struct args): Mark arg0 as
32564         volatile.
32565         * scripts/bench.pl: Mark members of struct args as volatile.
32567 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32569         [BZ # 15497]
32570         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32571         negative infinity on POWER6 or lower.
32572         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32574 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32576         [BZ #15442]
32577         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32578         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32579         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32580         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32581         (_FP_SETQNAN): New macro.
32582         (_FP_SETQNAN_SEMIRAW): Likewise.
32583         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32584         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32585         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32586         (FP_EXTEND): Use _FP_FRAC_SNANP.
32587         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32588         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32589         into account.
32590         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32591         New macro.
32592         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32593         Likewise.
32595 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32597         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32598         with DIVIDE_BY_ZERO_EXCEPTION.
32599         (gamma_test_data): Likewise.
32600         (lgamma_test_data): Likewise.
32601         (log_test_data): Likewise.
32602         (log10_test_data): Likewise.
32603         (log2_test_data): Likewise.
32604         (tgamma_test_data): Likewise.
32606         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32607         (acos_test_tonearest): Likewise.
32608         (acos_test_towardzero): Likewise.
32609         (acos_test_downward): Likewise.
32610         (acos_test_upward): Likewise.
32611         (acosh_test): Likewise.
32612         (asin_test): Likewise.
32613         (asin_test_tonearest): Likewise.
32614         (asin_test_towardzero): Likewise.
32615         (asin_test_downward): Likewise.
32616         (asin_test_upward): Likewise.
32617         (asinh_test): Likewise.
32618         (atan_test): Likewise.
32619         (atanh_test): Likewise.
32620         (atan2_test): Likewise.
32621         (cabs_test): Likewise.
32622         (cacos_test): Likewise.
32623         (cacosh_test): Likewise.
32624         (casin_test): Likewise.
32625         (casinh_test): Likewise.
32626         (catan_test): Likewise.
32627         (catanh_test): Likewise.
32628         (cbrt_test): Likewise.
32629         (ccos_test): Likewise.
32630         (ccosh_test): Likewise.
32631         (cexp_test): Likewise.
32632         (clog_test): Likewise.
32633         (clog10_test): Likewise.
32634         (cos_test): Likewise.
32635         (cos_test_tonearest): Likewise.
32636         (cos_test_towardzero): Likewise.
32637         (cos_test_downward): Likewise.
32638         (cos_test_upward): Likewise.
32639         (cosh_test): Likewise.
32640         (cosh_test_tonearest): Likewise.
32641         (cosh_test_towardzero): Likewise.
32642         (cosh_test_downward): Likewise.
32643         (cosh_test_upward): Likewise.
32644         (cpow_test): Likewise.
32645         (csin_test): Likewise.
32646         (csinh_test): Likewise.
32647         (csqrt_test): Likewise.
32648         (ctan_test): Likewise.
32649         (ctan_test_tonearest): Likewise.
32650         (ctan_test_towardzero): Likewise.
32651         (ctan_test_downward): Likewise.
32652         (ctan_test_upward): Likewise.
32653         (ctanh_test): Likewise.
32654         (ctanh_test_tonearest): Likewise.
32655         (ctanh_test_towardzero): Likewise.
32656         (ctanh_test_downward): Likewise.
32657         (ctanh_test_upward): Likewise.
32658         (erf_test): Likewise.
32659         (erfc_test): Likewise.
32660         (exp_test): Likewise.
32661         (exp_test_tonearest): Likewise.
32662         (exp_test_towardzero): Likewise.
32663         (exp_test_downward): Likewise.
32664         (exp_test_upward): Likewise.
32665         (exp10_test): Likewise.
32666         (exp2_test): Likewise.
32667         (expm1_test): Likewise.
32668         (fmod_test): Likewise.
32669         (gamma_test): Likewise.
32670         (hypot_test): Likewise.
32671         (j0_test): Likewise.
32672         (j1_test): Likewise.
32673         (jn_test): Likewise.
32674         (lgamma_test): Likewise.
32675         (log_test): Likewise.
32676         (log10_test): Likewise.
32677         (log1p_test): Likewise.
32678         (log2_test): Likewise.
32679         (logb_test_downward): Likewise.
32680         (pow_test): Likewise.
32681         (pow_test_tonearest): Likewise.
32682         (pow_test_towardzero): Likewise.
32683         (pow_test_downward): Likewise.
32684         (pow_test_upward): Likewise.
32685         (remainder_test): Likewise.
32686         (remquo_test): Likewise.
32687         (sin_test): Likewise.
32688         (sin_test_tonearest): Likewise.
32689         (sin_test_towardzero): Likewise.
32690         (sin_test_downward): Likewise.
32691         (sin_test_upward): Likewise.
32692         (sincos_test): Likewise.
32693         (sinh_test): Likewise.
32694         (sinh_test_tonearest): Likewise.
32695         (sinh_test_towardzero): Likewise.
32696         (sinh_test_downward): Likewise.
32697         (sinh_test_upward): Likewise.
32698         (sqrt_test): Likewise.
32699         (tan_test): Likewise.
32700         (tan_test_tonearest): Likewise.
32701         (tan_test_towardzero): Likewise.
32702         (tan_test_downward): Likewise.
32703         (tan_test_upward): Likewise.
32704         (tanh_test): Likewise.
32705         (tgamma_test): Likewise.
32706         (y0_test): Likewise.
32707         (y1_test): Likewise.
32708         (yn_test): Likewise.
32710         * math/gen-libm-test.pl (adjust_arg): Remove function.
32711         (special_function): Remove argument $in_func.  Only handle
32712         generating output for tables of tests, not inside functions.
32713         (parse_args): Likewise.
32714         (generate_testfile): Remove variable $in_func.  Update call to
32715         parse_args.
32716         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32717         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32718         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32719         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32720         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32721         (MAX_VALUE_INIT): Rename macro to max_value.
32722         (MIN_VALUE_INIT): Rename macro to min_value.
32723         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32724         (plus_zero): Remove variable.
32725         (minus_zero): Likewise.
32726         (plus_infty): Likewise.
32727         (minus_infty): Likewise.
32728         (qnan_value): Likewise.
32729         (max_value): Likewise.
32730         (min_value): Likewise.
32731         (min_subnorm_value): Likewise.
32733 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32735         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32736         uint64_t or uint32_t usage.
32737         * crypt/sha256-block.c: Likewise.
32738         * crypt/sha256-crypt.c: Likewise.
32739         * crypt/sha256.c: Likewise.
32740         * crypt/sha512-block.c: Likewise.
32741         * crypt/sha512-crypt.c: Likewise.
32742         * crypt/sha512.c: Likewise.
32743         * debug/backtrace-tst.c: Likewise.
32744         * debug/pcprofiledump.c: Likewise.
32745         * elf/cache.c: Likewise.
32746         * elf/dl-cache.c: Likewise.
32747         * elf/dl-misc.c: Likewise.
32748         * elf/dl-profile.c: Likewise.
32749         * elf/dl-support.c: Likewise.
32750         * elf/ldconfig.c: Likewise.
32751         * elf/sprof.c: Likewise.
32752         * iconv/dummy-repertoire.c: Likewise.
32753         * iconv/iconv_charmap.c: Likewise.
32754         * iconv/skeleton.c: Likewise.
32755         * iconvdata/8bit-generic.c: Likewise.
32756         * iconvdata/cp737.h: Likewise.
32757         * iconvdata/cp775.h: Likewise.
32758         * iconvdata/ibm1008.h: Likewise.
32759         * iconvdata/ibm1025.h: Likewise.
32760         * iconvdata/ibm1046.h: Likewise.
32761         * iconvdata/ibm1097.h: Likewise.
32762         * iconvdata/ibm1112.h: Likewise.
32763         * iconvdata/ibm1122.h: Likewise.
32764         * iconvdata/ibm1123.h: Likewise.
32765         * iconvdata/ibm1124.h: Likewise.
32766         * iconvdata/ibm1129.h: Likewise.
32767         * iconvdata/ibm1130.h: Likewise.
32768         * iconvdata/ibm1132.h: Likewise.
32769         * iconvdata/ibm1133.h: Likewise.
32770         * iconvdata/ibm1137.h: Likewise.
32771         * iconvdata/ibm1140.h: Likewise.
32772         * iconvdata/ibm1141.h: Likewise.
32773         * iconvdata/ibm1142.h: Likewise.
32774         * iconvdata/ibm1143.h: Likewise.
32775         * iconvdata/ibm1144.h: Likewise.
32776         * iconvdata/ibm1145.h: Likewise.
32777         * iconvdata/ibm1146.h: Likewise.
32778         * iconvdata/ibm1147.h: Likewise.
32779         * iconvdata/ibm1148.h: Likewise.
32780         * iconvdata/ibm1149.h: Likewise.
32781         * iconvdata/ibm1153.h: Likewise.
32782         * iconvdata/ibm1154.h: Likewise.
32783         * iconvdata/ibm1155.h: Likewise.
32784         * iconvdata/ibm1156.h: Likewise.
32785         * iconvdata/ibm1157.h: Likewise.
32786         * iconvdata/ibm1158.h: Likewise.
32787         * iconvdata/ibm1160.h: Likewise.
32788         * iconvdata/ibm1161.h: Likewise.
32789         * iconvdata/ibm1162.h: Likewise.
32790         * iconvdata/ibm1163.h: Likewise.
32791         * iconvdata/ibm1164.h: Likewise.
32792         * iconvdata/ibm1166.h: Likewise.
32793         * iconvdata/ibm1167.h: Likewise.
32794         * iconvdata/ibm12712.h: Likewise.
32795         * iconvdata/ibm1390.h: Likewise.
32796         * iconvdata/ibm1399.h: Likewise.
32797         * iconvdata/ibm16804.h: Likewise.
32798         * iconvdata/ibm4517.h: Likewise.
32799         * iconvdata/ibm4899.h: Likewise.
32800         * iconvdata/ibm4909.h: Likewise.
32801         * iconvdata/ibm4971.h: Likewise.
32802         * iconvdata/ibm5347.h: Likewise.
32803         * iconvdata/ibm803.h: Likewise.
32804         * iconvdata/ibm856.h: Likewise.
32805         * iconvdata/ibm901.h: Likewise.
32806         * iconvdata/ibm902.h: Likewise.
32807         * iconvdata/ibm9030.h: Likewise.
32808         * iconvdata/ibm9066.h: Likewise.
32809         * iconvdata/ibm921.h: Likewise.
32810         * iconvdata/ibm922.h: Likewise.
32811         * iconvdata/ibm9448.h: Likewise.
32812         * iconvdata/isiri-3342.h: Likewise.
32813         * iconvdata/jis0201.h: Likewise.
32814         * include/link.h: Likewise.
32815         * include/netdb.h: Likewise.
32816         * inet/check_native.c: Likewise.
32817         * inet/check_pf.c: Likewise.
32818         * inet/getipv4sourcefilter.c: Likewise.
32819         * inet/getnameinfo.c: Likewise.
32820         * inet/getsourcefilter.c: Likewise.
32821         * inet/htonl.c: Likewise.
32822         * inet/setipv4sourcefilter.c: Likewise.
32823         * inet/setsourcefilter.c: Likewise.
32824         * inet/test-inet6_opt.c: Likewise.
32825         * inet/tst-network.c: Likewise.
32826         * locale/C-collate.c: Likewise.
32827         * locale/C-ctype.c: Likewise.
32828         * locale/C-time.c: Likewise.
32829         * locale/C-translit.h: Likewise.
32830         * locale/loadarchive.c: Likewise.
32831         * locale/programs/3level.h: Likewise.
32832         * locale/programs/charmap.c: Likewise.
32833         * locale/programs/charmap.h: Likewise.
32834         * locale/programs/ld-address.c: Likewise.
32835         * locale/programs/ld-collate.c: Likewise.
32836         * locale/programs/ld-ctype.c: Likewise.
32837         * locale/programs/ld-identification.c: Likewise.
32838         * locale/programs/ld-measurement.c: Likewise.
32839         * locale/programs/ld-messages.c: Likewise.
32840         * locale/programs/ld-monetary.c: Likewise.
32841         * locale/programs/ld-name.c: Likewise.
32842         * locale/programs/ld-numeric.c: Likewise.
32843         * locale/programs/ld-paper.c: Likewise.
32844         * locale/programs/ld-telephone.c: Likewise.
32845         * locale/programs/ld-time.c: Likewise.
32846         * locale/programs/linereader.c: Likewise.
32847         * locale/programs/locale.c: Likewise.
32848         * locale/programs/locarchive.c: Likewise.
32849         * locale/programs/locfile.h: Likewise.
32850         * locale/programs/repertoire.c: Likewise.
32851         * locale/programs/simple-hash.c: Likewise.
32852         * locale/programs/simple-hash.h: Likewise.
32853         * malloc/memusage.c: Likewise.
32854         * malloc/memusagestat.c: Likewise.
32855         * nis/nis_defaults.c: Likewise.
32856         * nis/nis_hash.c: Likewise.
32857         * nis/nis_print.c: Likewise.
32858         * nis/nis_xdr.c: Likewise.
32859         * nscd/connections.c: Likewise.
32860         * nscd/hstcache.c: Likewise.
32861         * nscd/nscd_gethst_r.c: Likewise.
32862         * nscd/nscd_getserv_r.c: Likewise.
32863         * nscd/nscd_helper.c: Likewise.
32864         * nscd/servicescache.c: Likewise.
32865         * nss/makedb.c: Likewise.
32866         * nss/nss_db/db-XXX.c: Likewise.
32867         * nss/nss_db/db-initgroups.c: Likewise.
32868         * nss/nss_db/db-netgrp.c: Likewise.
32869         * nss/nss_files/files-network.c: Likewise.
32870         * nss/nss_files/files-parse.c: Likewise.
32871         * posix/bug-regex5.c: Likewise.
32872         * posix/fnmatch_loop.c: Likewise.
32873         * posix/regcomp.c: Likewise.
32874         * posix/regexec.c: Likewise.
32875         * posix/tst-rfc3484-2.c: Likewise.
32876         * posix/tst-rfc3484-3.c: Likewise.
32877         * posix/tst-rfc3484.c: Likewise.
32878         * resolv/nss_dns/dns-canon.c: Likewise.
32879         * resolv/nss_dns/dns-network.c: Likewise.
32880         * resolv/res_init.c: Likewise.
32881         * resolv/res_mkquery.c: Likewise.
32882         * resolv/tst-aton.c: Likewise.
32883         * stdlib/cxa_atexit.c: Likewise.
32884         * stdlib/cxa_finalize.c: Likewise.
32885         * stdlib/gen-fpioconst.c: Likewise.
32886         * stdlib/strtol_l.c: Likewise.
32887         * string/tst-endian.c: Likewise.
32888         * sunrpc/auth_des.c: Likewise.
32889         * sunrpc/clnt_udp.c: Likewise.
32890         * sunrpc/rtime.c: Likewise.
32891         * sunrpc/svcauth_des.c: Likewise.
32892         * sunrpc/xdr.c: Likewise.
32893         * sunrpc/xdr_intXX_t.c: Likewise.
32894         * sunrpc/xdr_rec.c: Likewise.
32895         * sysdeps/generic/ldconfig.h: Likewise.
32896         * sysdeps/generic/ldsodefs.h: Likewise.
32897         * sysdeps/generic/memusage.h: Likewise.
32898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32899         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32900         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32901         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32902         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32904         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32905         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32906         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32908         * sysdeps/posix/getaddrinfo.c: Likewise.
32909         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32910         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32911         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32912         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32913         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32914         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32915         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32916         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32917         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32918         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32919         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32920         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32921         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32922         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32923         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32924         * sysdeps/x86_64/dl-tls.h: Likewise.
32925         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32926         * time/alt_digit.c: Likewise.
32927         * time/era.c: Likewise.
32928         * wcsmbs/tst-c16c32-1.c: Likewise.
32930 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32932         * math/libm-test.inc (struct test_sincos_data): New type.
32933         (RUN_TEST_LOOP_sincos): New macro.
32934         (sincos_test_data): New variable.
32935         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32937 2013-05-16  Richard Henderson  <rth@redhat.com>
32939         * math/atest-exp2.c (LIMB64): New macro.
32940         (CONSTSZ): New macro.
32941         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32942         (hexdig): Move ...
32943         (print_mpn_fp): ... to function scope.
32944         (read_mpn_hex): Remove.
32945         (get_log2): Remove.
32946         (exp2_mpn): Use mp_log2.
32947         (main): Use mp_exp1.
32949 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32951         * math/libm-test.inc: Remove comment about not testing "inexact"
32952         exceptions.
32953         (INEXACT_EXCEPTION): New macro.
32954         (NO_INEXACT_EXCEPTION): Likewise.
32955         (INVALID_EXCEPTION_OK): Update value.
32956         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32957         (OVERFLOW_EXCEPTION_OK): Likewise.
32958         (UNDERFLOW_EXCEPTION_OK): Likewise.
32959         (IGNORE_ZERO_INF_SIGN): Likewise.
32960         (ERRNO_UNCHANGED): Likewise.
32961         (ERRNO_EDOM): Likewise.
32962         (ERRNO_ERANGE): Likewise.
32963         (test_exceptions): Handle testing "inexact" exceptions.
32964         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32965         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32966         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32967         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32968         INEXACT_EXCEPTION.
32969         (rint_towardzero_test_data): Likewise.
32970         (rint_downward_test_data): Likewise.
32971         (rint_upward_test_data): Likewise.
32973         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32974         with OVERFLOW_EXCEPTION.
32975         (exp10_test_data): Likewise.
32976         (exp2_test_data): Likewise.
32977         (expm1_test_data): Likewise.
32978         (lgamma_test_data): Likewise.
32979         (pow_test_data): Likewise.
32980         (tgamma_test_data): Likewise.
32981         (yn_test_data): Remove duplicate test of overflow.
32983         * math/libm-test.inc (struct test_cc_c_data): New type.
32984         (RUN_TEST_LOOP_cc_c): New macro.
32985         (cpow_test_data): New variable.
32986         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32988         * math/libm-test.inc (struct test_f_L_data): New type.
32989         (RUN_TEST_LOOP_f_L): New macro.
32990         (llrint_test_data): New variable.
32991         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32992         (llrint_tonearest_test_data): New variable.
32993         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32994         (llrint_towardzero_test_data): New variable.
32995         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32996         (llrint_downward_test_data): New variable.
32997         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32998         (llrint_upward_test_data): New variable.
32999         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33000         (llround_test_data): New variable.
33001         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33003 2013-05-13  Peter Collingbourne  <pcc@google.com>
33005         * math/atest-exp2.c (get_log2): Remove const attribute.
33007 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33009         * math/libm-test.inc (struct test_f_l_data): New type.
33010         (RUN_TEST_LOOP_f_l): New macro.
33011         (lrint_test_data): New variable.
33012         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33013         (lrint_tonearest_test_data): New variable.
33014         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33015         (lrint_towardzero_test_data): New variable.
33016         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33017         (lrint_downward_test_data): New variable.
33018         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33019         (lrint_upward_test_data): New variable.
33020         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33021         (lround_test_data): New variable.
33022         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33024 2013-05-15  Peter Collingbourne  <pcc@google.com>
33026         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33027         (EXTRACT_WORDS64) Use where appropriate.
33028         (INSERT_WORDS64) Likewise.
33030         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33031         constraints with x constraints.
33032         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33034         * malloc/obstack.c (_obstack_compat): Add initializer.
33036 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33038         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33039         si_trapno and add si_addr_lsb to _sifields.sigfault.
33040         (si_trapno): Remove macro.
33041         (si_addr_lsb): Define new macro.
33042         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33044 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33046         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33047         instead of TEST_f_l.
33048         (llrint_test_tonearest): Likewise.
33049         (llrint_test_towardzero): Likewise.
33050         (llrint_test_downward): Likewise.
33051         (llrint_test_upward): Likewise.
33052         (llround_test): Likewise.
33054         * math/libm-test.inc (struct test_f_i_data): Add comment.
33055         (RUN_TEST_LOOP_f_b): New macro.
33056         (RUN_TEST_LOOP_f_b_tg): Likewise.
33057         (finite_test_data): New variable.
33058         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33059         (isfinite_test_data): New variable.
33060         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33061         (isinf_test_data): New variable.
33062         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33063         (isnan_test_data): New variable.
33064         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33065         (isnormal_test_data): New variable.
33066         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33067         (issignaling_test_data): New variable.
33068         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33069         (signbit_test_data): New variable.
33070         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33072         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33073         with INVALID_EXCEPTION.
33074         (acosh_test_data): Likewise.
33075         (asin_test_data): Likewise.
33076         (atanh_test_data): Likewise.
33077         (fmod_test_data): Likewise.
33078         (log_test_data): Likewise.
33079         (log10_test_data): Likewise.
33080         (log2_test_data): Likewise.
33081         (pow_test_data): Likewise.
33082         (sqrt_test_data): Likewise.
33083         (y0_test_data): Likewise.
33084         (y1_test_data): Likewise.
33085         (yn_test_data): Likewise.
33087         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33088         function contents.
33090         * math/libm-test.inc (struct test_ff_i_data): New type.
33091         (RUN_TEST_LOOP_ff_i_tg): New macro.
33092         (isgreater_test_data): New variable.
33093         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33094         (isgreaterequal_test_data): New variable.
33095         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33096         (isless_test_data): New variable.
33097         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33098         (islessequal_test_data): New variable.
33099         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33100         (islessgreater_test_data): New variable.
33101         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33102         (isunordered_test_data): New variable.
33103         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33105 2013-05-14  David S. Miller  <davem@davemloft.net>
33107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33109 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33111         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33113         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33114         extra_test to int.
33115         (struct test_f_i_data): Change type of max_ulp to int.
33117         * math/libm-test.inc (test_ffI_f1_data): New type.
33118         (RUN_TEST_LOOP_ffI_f1): New macro.
33119         (remquo_test_data): New variable.
33120         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33122         * setjmp/tst-setjmp-fp.c: New file.
33123         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33124         (link-libm): New variable.
33125         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33127         * math/libm-test.inc (struct test_f_i_data): New type.
33128         (RUN_TEST_LOOP_f_i): New macro.
33129         (RUN_TEST_LOOP_f_i_tg): Likewise.
33130         (fpclassify_test_data): New variable.
33131         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33132         (ilogb_test_data): New variable.
33133         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33135         * math/libm-test.inc (scalbln_test): Correct function name in END
33136         call.
33138         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33139         (RUN_TEST_LOOP_fI_f1): New macro.
33140         (frexp_test_data): New variable.
33141         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33143         * math/libm-test.inc (struct test_fF_f1_data): New type.
33144         (RUN_TEST_LOOP_fF_f1): New macro.
33145         (modf_test_data): New variable.
33146         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33148         * math/libm-test.inc (struct test_f_f1_data): New type.
33149         (RUN_TEST_LOOP_f_f1): New macro.
33150         (gamma_test_data): New variable.
33151         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33152         (lgamma_test_data): New variable.
33153         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33155 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33157         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33158         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33159         (main): Comment "tls" pseudo-hwcap.
33161 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33163         * math/libm-test.inc (struct test_fl_f_data): New type.
33164         (RUN_TEST_LOOP_fl_f): New variable.
33165         (scalbln_test_data): New variable.
33166         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33168         * math/libm-test.inc (struct test_fi_f_data): New type.
33169         (RUN_TEST_LOOP_fi_f): New macro.
33170         (ldexp_test_data): New variable.
33171         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33172         (scalbn_test_data): New variable.
33173         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33175         * math/libm-test.inc (struct test_c_f_data): New type.
33176         (RUN_TEST_LOOP_c_f): New macro.
33177         (cabs_test_data): New variable.
33178         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33179         (carg_test_data): New variable.
33180         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33181         (cimag_test_data): New variable.
33182         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33183         (creal_test_data): New variable.
33184         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33186         * math/libm-test.inc (struct test_if_f_data): New type.
33187         (RUN_TEST_LOOP_if_f): New macro.
33188         (jn_test_data): New variable.
33189         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33190         (yn_test_data): New variable.
33191         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33193         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33195 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33197         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33198         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33200 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33202         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33203         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33204         (bench-deps): Add bench-timing.h.
33205         * benchtests-bench-skeleton.c: Include bench-timing.h.
33206         (main): Use TIMING_* macros instead of clock_gettime.
33207         * benchtests/bench-timing.h: New file.
33209         [BZ #14582]
33210         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33211         Renamed from _LIB_VERSION.
33212         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33214 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33216         * math/libm-test.inc (struct test_fff_f_data): New type.
33217         (RUN_TEST_LOOP_fff_f): New macro.
33218         (fma_test_data): New variable.
33219         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33220         (fma_towardzero_test_data): New variable.
33221         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33222         (fma_downward_test_data): New variable.
33223         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33224         (fma_upward_test_data): New variable.
33225         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33227         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33228         (struct test_c_c_data): New type.
33229         (RUN_TEST_LOOP_c_c): New macro.
33230         (cacos_test_data): New variable.
33231         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33232         (cacosh_test_data): New variable.
33233         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33234         (casin_test_data): New variable.
33235         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33236         (casinh_test_data): New variable.
33237         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33238         (catan_test_data): New variable.
33239         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33240         (catanh_test_data): New variable.
33241         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33242         (ccos_test_data): New variable.
33243         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33244         (ccosh_test_data): New variable.
33245         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33246         (cexp_test_data): New variable.
33247         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33248         (clog_test_data): New variable.
33249         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33250         (clog10_test_data): New variable.
33251         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33252         (conj_test_data): New variable.
33253         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33254         (cproj_test_data): New variable.
33255         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33256         (csin_test_data): New variable.
33257         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33258         (csinh_test_data): New variable.
33259         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33260         (csqrt_test_data): New variable.
33261         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33262         (ctan_test_data): New variable.
33263         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33264         (ctan_tonearest_test_data): New variable.
33265         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33266         (ctan_towardzero_test_data): New variable.
33267         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33268         (ctan_downward_test_data): New variable.
33269         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33270         (ctan_upward_test_data): New variable.
33271         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33272         (ctanh_test_data): New variable.
33273         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33274         (ctanh_tonearest_test_data): New variable.
33275         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33276         (ctanh_towardzero_test_data): New variable.
33277         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33278         (ctanh_downward_test_data): New variable.
33279         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33280         (ctanh_upward_test_data): New variable.
33281         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33282         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33283         of BUILD_COMPLEX.
33285         * math/libm-test.inc (struct test_ff_f_data): New type.
33286         (struct test_ff_f_data_nexttoward): Likewise.
33287         (RUN_TEST_LOOP_2_f): New macro.
33288         (RUN_TEST_LOOP_ff_f): Likewise.
33289         (atan2_test_data): New variable.
33290         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33291         (copysign_test_data): New variable.
33292         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33293         (fdim_test_data): New variable.
33294         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33295         (fmax_test_data): New variable.
33296         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33297         (fmin_test_data): New variable.
33298         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33299         (fmod_test_data): New variable.
33300         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33301         (hypot_test_data): New variable.
33302         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33303         (nextafter_test_data): New variable.
33304         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33305         (nexttoward_test_data): New variable.
33306         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33307         (pow_test_data): New variable.
33308         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33309         (pow_tonearest_test_data): New variable.
33310         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33311         (pow_towardzero_test_data): New variable.
33312         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33313         (pow_downward_test_data): New variable.
33314         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33315         (pow_upward_test_data): New variable.
33316         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33317         (remainder_test_data): New variable.
33318         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33319         (scalb_test_data): New variable.
33320         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33321         * sysdeps/i386/fpu/libm-test-ulps: Update.
33323 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33325         * math/libm-test.inc (fma_test): Use max_value instead of local
33326         variable fltmax.
33327         (nextafter_test): Likewise.
33329         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33330         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33331         (acos_downward_test_data): New variable.
33332         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33333         (acos_upward_test_data): New variable.
33334         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33335         (acosh_test_data): New variable.
33336         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33337         (asin_test_data): New variable.
33338         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33339         (asin_tonearest_test_data): New variable.
33340         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33341         (asin_towardzero_test_data): New variable.
33342         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33343         (asin_downward_test_data): New variable.
33344         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33345         (asin_upward_test_data): New variable.
33346         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33347         (asinh_test_data): New variable.
33348         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33349         (atan_test_data): New variable.
33350         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33351         (atanh_test_data): New variable.
33352         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33353         (cbrt_test_data): New variable.
33354         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33355         (ceil_test_data): New variable.
33356         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33357         (cos_test_data): New variable.
33358         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33359         (cos_tonearest_test_data): New variable.
33360         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33361         (cos_towardzero_test_data): New variable.
33362         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33363         (cos_downward_test_data): New variable.
33364         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33365         (cos_upward_test_data): New variable.
33366         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33367         (cosh_test_data): New variable.
33368         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33369         (cosh_tonearest_test_data): New variable.
33370         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33371         (cosh_towardzero_test_data): New variable.
33372         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33373         (cosh_downward_test_data): New variable.
33374         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33375         (cosh_upward_test_data): New variable.
33376         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33377         (erf_test_data): New variable.
33378         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33379         (erfc_test_data): New variable.
33380         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33381         (exp_test_data): New variable.
33382         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33383         (exp_tonearest_test_data): New variable.
33384         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33385         (exp_towardzero_test_data): New variable.
33386         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33387         (exp_downward_test_data): New variable.
33388         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33389         (exp_upward_test_data): New variable.
33390         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33391         (exp10_test_data): New variable.
33392         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33393         (exp2_test_data): New variable.
33394         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33395         (expm1_test_data): New variable.
33396         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33397         (fabs_test_data): New variable.
33398         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33399         (floor_test_data): New variable.
33400         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33401         (j0_test_data): New variable.
33402         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33403         (j1_test_data): New variable.
33404         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33405         (log_test_data): New variable.
33406         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33407         (log10_test_data): New variable.
33408         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33409         (log1p_test_data): New variable.
33410         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33411         (log2_test_data): New variable.
33412         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33413         (logb_test_data): New variable.
33414         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33415         (logb_downward_test_data): New variable.
33416         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33417         (nearbyint_test_data): New variable.
33418         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33419         (rint_test_data): New variable.
33420         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33421         (rint_tonearest_test_data): New variable.
33422         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33423         (rint_towardzero_test_data): New variable.
33424         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33425         (rint_downward_test_data): New variable.
33426         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33427         (rint_upward_test_data): New variable.
33428         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33429         (round_test_data): New variable.
33430         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33431         (sin_test_data): New variable.
33432         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33433         (sin_tonearest_test_data): New variable.
33434         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33435         (sin_towardzero_test_data): New variable.
33436         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33437         (sin_downward_test_data): New variable.
33438         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33439         (sin_upward_test_data): New variable.
33440         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33441         (sinh_test_data): New variable.
33442         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33443         (sinh_tonearest_test_data): New variable.
33444         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33445         (sinh_towardzero_test_data): New variable.
33446         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33447         (sinh_downward_test_data): New variable.
33448         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33449         (sinh_upward_test_data): New variable.
33450         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33451         (sqrt_test_data): New variable.
33452         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33453         (tan_test_data): New variable.
33454         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33455         (tan_tonearest_test_data): New variable.
33456         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33457         (tan_towardzero_test_data): New variable.
33458         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33459         (tan_downward_test_data): New variable.
33460         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33461         (tan_upward_test_data): New variable.
33462         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33463         (tanh_test_data): New variable.
33464         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33465         (tgamma_test_data): New variable.
33466         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33467         (trunc_test_data): New variable.
33468         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33469         (y0_test_data): New variable.
33470         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33471         (y1_test_data): New variable.
33472         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33473         (significand_test_data): New variable.
33474         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33476 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33478         [BZ #12387]
33479         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33481 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33483         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33485 2013-05-10  Andreas Jaeger  <aj@suse.de>
33487         [BZ #15448]
33488         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33489         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33491 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33493         * math/gen-libm-test.pl (adjust_arg): New function.
33494         (special_functions): Handle generating output in both functions
33495         and arrays.
33496         (parse_args): Likewise.
33497         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33498         $in_func argument to parse_args.
33499         * math/libm-test.inc (struct test_f_f_data): New type.
33500         (IF_ROUND_INIT_): New macro.
33501         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33502         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33503         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33504         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33505         (ROUND_RESTORE_): Likewise.
33506         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33507         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33508         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33509         (ROUND_RESTORE_FE_UPWARD): Likewise.
33510         (RUN_TEST_LOOP_f_f): New macro.
33511         (acos_test_data): New variable.
33512         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33513         (acos_tonearest_test_data): New variable.
33514         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33516 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33518         * benchtests/bench-skeleton.c (startup): Fix coding style.
33520 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33522         [BZ #6809]
33523         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33524         negative infinity argument.
33525         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33526         negative infinity argument.
33527         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33528         negative infinity argument.
33529         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33530         domain errors.
33532 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33534         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33535         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33536         * iconv/iconv_prog.c (main): Likewise.
33537         * locale/programs/charmap-dir.c (charmap_readdir)
33538         (fopen_uncompressed): Likewise.
33539         * locale/programs/locfile.c (siblings_uncached)
33540         (write_locale_data): Use lstat64 instead of lstat.
33541         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33542         stat.
33544 2013-05-10  Andreas Jaeger  <aj@suse.de>
33546         [BZ #15395]
33547         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33548         localization.
33549         Include <locale.h>.
33551 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33553         * elf/dl-close.c (_dl_close_worker): Add comments.
33555 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33557         [BZ #15359]
33558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33559         high part of pi/2.
33560         (__ieee754_rem_pio2l): Update comments.
33562         [BZ #15429]
33563         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33564         high part of pi/2.
33565         (__ieee754_rem_pio2l): Update comments.
33567         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33568         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33570         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33571         M_PI_4l.
33573         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33574         (M_PI_34_LOG10El): Likewise.
33575         (M_PI2_LOG10El): Likewise.
33576         (M_PI4_LOG10El): Likewise.
33577         (M_PI_LOG10El): Likewise.
33579 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33583 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33585         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33586         (MINUS_ZERO_INIT): Likewise.
33587         (PLUS_INFTY_INIT): Likewise.
33588         (MINUS_INFTY_INIT): Likewise.
33589         (QNAN_VALUE_INIT): Likewise.
33590         (MAX_VALUE_INIT): Likewise.
33591         (MIN_VALUE_INIT): Likewise.
33592         (MIN_SUBNORM_VALUE_INIT): Likewise.
33593         (plus_zero): Initialize with PLUS_ZERO_INIT.
33594         (minus_zero): Initialize with MINUS_ZERO_INIT.
33595         (plus_infty): Initialize with PLUS_INFTY_INIT.
33596         (minus_infty): Initialize with MINUS_INFTY_INIT.
33597         (qnan_value): Initialize with QNAN_VALUE_INIT.
33598         (max_value): Initialize with MAX_VALUE_INIT.
33599         (min_value): Initialize with MIN_VALUE_INIT.
33600         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33602         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33603         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33604         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33605         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33607         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33608         (RUN_TEST_2_f): Likewise.
33609         (RUN_TEST_ff_f): Likewise.
33610         (RUN_TEST_fi_f): Likewise.
33611         (RUN_TEST_fl_f): Likewise.
33612         (RUN_TEST_fff_f): Likewise.
33613         (RUN_TEST_c_f): Likewise.
33614         (RUN_TEST_f_f1): Likewise.
33615         (RUN_TEST_fF_f1): Likewise.
33616         (RUN_TEST_fI_f1): Likewise.
33617         (RUN_TEST_ffI_f1): Likewise.
33618         (RUN_TEST_c_c): Likewise.
33619         (RUN_TEST_cc_c): Likewise.
33620         (RUN_TEST_f_i): Likewise.
33621         (RUN_TEST_f_i_tg): Likewise.
33622         (RUN_TEST_ff_i_tg): Likewise.
33623         (RUN_TEST_f_b): Likewise.
33624         (RUN_TEST_f_b_tg): Likewise.
33625         (RUN_TEST_f_l): Likewise.
33626         (RUN_TEST_f_L): Likewise.
33627         (RUN_TEST_sincos): Likewise.
33628         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33629         whether to show exceptions.  Do not include ");\n" in return
33630         value.
33631         (special_functions): Output call to RUN_TEST_sincos instead of
33632         check_float calls.  Update calls to new_test.
33633         (parse_args): Output call to single RUN_TEST_* macro instead of
33634         check_* calls and other assignments.  Update calls to new_test.
33636         [BZ #2546]
33637         [BZ #2560]
33638         [BZ #5159]
33639         [BZ #15426]
33640         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33641         input to result for tgamma overflow.
33642         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33643         (gamma_coeff): New variable.
33644         (NCOEFF): New macro.
33645         (gamma_positive): New function.
33646         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33647         underflow here.  Use gamma_positive instead of exp (lgamma) for
33648         other arguments.
33649         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33650         (gamma_coeff): New variable.
33651         (NCOEFF): New macro.
33652         (gammaf_positive): New function.
33653         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33654         underflow here.  Use gamma_positive instead of exp (lgamma) for
33655         other arguments.
33656         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33657         (gamma_coeff): New variable.
33658         (NCOEFF): New macro.
33659         (gammal_positive): New function.
33660         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33661         underflow here.  Use gamma_positive instead of exp (lgamma) for
33662         other arguments.
33663         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33664         (gamma_coeff): New variable.
33665         (NCOEFF): New macro.
33666         (gammal_positive): New function.
33667         (__ieee754_gammal_r): Handle positive infinity, overflow and
33668         underflow here.  Handle NaN the same as positive infinity.  Remove
33669         check x < 0xffffffff for negative integers.  Use gamma_positive
33670         instead of exp (lgamma) for other arguments.
33671         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33672         (gamma_coeff): New variable.
33673         (NCOEFF): New macro.
33674         (gammal_positive): New function.
33675         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33676         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33679         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33680         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33681         * sysdeps/generic/math_private.h (__gamma_productf): New
33682         prototype.
33683         (__gamma_product): Likewise.
33684         (__gamma_productl): Likewise.
33685         * math/Makefile (libm-calls): Add gamma_product.
33686         * math/libm-test.inc (tgamma_test): Add more tests.
33687         * sysdeps/i386/fpu/libm-test-ulps: Update.
33688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33690 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33692         * benchtests/bench-skeleton.c (main): Preheat CPU.
33694 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33696         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33698 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33700         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33701         and _dl_skip_args_internal.
33703 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33705         * manual/message.texi (Message Translation): Talk about users.
33706         Message to key mapping impacts design.
33708 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33710         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33712         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33714         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33715         * sysdeps/wordsize-64/glob64.c: ... here.
33717         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33718         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33719         New macros.
33721         * debug/getlogin_r_chk.c: Moved to ...
33722         * login/getlogin_r_chk.c: ... here.
33723         * debug/Makefile (routines): Move getlogin_r_chk to ...
33724         * login/Makefile (routines): ... here.
33725         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33726         * login/Versions (libc: GLIBC_2.4): ... here.
33728         * io/poll.c (__poll): Renamed from poll.
33729         Add libc_hidden_def.
33730         (poll): Define as weak alias.
33732         * debug/ptsname_r_chk.c: Moved to ...
33733         * login/ptsname_r_chk.c: ... here.
33734         * debug/Makefile (routines): Move ptsname_r_chk to ...
33735         * login/Makefile (routines): ... here.
33736         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33737         * login/Versions (libc: GLIBC_2.4): ... here.
33739         * posix/getlogin.c: Moved to ...
33740         * login/getlogin.c: ... here.
33741         * posix/getlogin_r.c: Moved to ...
33742         * login/getlogin_r.c: ... here.
33743         * posix/getlogin_r.c: Moved to ...
33744         * login/getlogin_r.c: ... here.
33745         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33746         * login/Makefile (routines): ... here.
33747         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33748         * login/Versions (libc: GLIBC_2.0): ... here.
33750         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33751         (setrlimit): Define as weak alias.
33753         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33754         Call __ names for open, ftruncate, and close.
33755         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33756         (truncate): Define as weak alias.
33758 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33760         * math/gen-libm-test.pl (parse_args): Initialize x before each
33761         test of frexp, modf and remquo.
33763         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33764         test signgam value.
33766 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33768         [BZ #15418]
33769         [BZ #15419]
33770         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33771         internal tests.
33772         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33774 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33776         * elf/dl-writev.h: New file.
33777         * elf/dl-misc.c: Include it.
33778         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33779         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33781 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33783         * math/libm-test.inc (noXFails): Remove variable.
33784         (noXPasses): Likewise.
33785         (BUILD_COMPLEX_INT): Remove macro.
33786         (print_screen): Remove xfail argument.
33787         (print_screen_max_error): Likewise.
33788         (update_stats): Likewise.
33789         (print_max_error): Likewise.  Update calls to other affected
33790         functions.
33791         (print_complex_max_error): Likewise.
33792         (test_single_exception): Update calls to print_screen.
33793         (test_single_errno): Likewise.
33794         (check_float_internal): Remove xfail argument.  Update calls to
33795         other affected functions.
33796         (check_float): Likewise.
33797         (check_complex): Likewise.
33798         (check_int): Likewise.
33799         (check_long): Likewise.
33800         (check_bool): Likewise.
33801         (check_longlong): Likewise.
33802         (main): Don't print noXFails and noXPasses.
33803         * math/gen-libm-test.pl (top level): Don't mention expected
33804         failure handling in comment.
33805         (new_test): Don't handle expected failures.
33806         (parse_args): Don't mention expected failure handling in comment.
33807         (generate_testfile): Don't handle expected failures.
33808         (parse_ulps): Likewise.
33809         (print_ulps_file): Likewise.
33810         (get_failure): Remove function.
33811         (output_test): Don't handle expected failures.
33812         * make/README.libm-test: Don't mention expected failure handling.
33814         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33815         (minus_zero): Likewise.
33816         (plus_infty): Likewise.
33817         (minus_infty): Likewise.
33818         (qnan_value): Likewise.
33819         (max_value): Likewise.
33820         (min_value): Likewise.
33821         (min_subnorm_value): Likewise.
33822         (initialize): Do not initialize those variables dynamically.
33824 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33826         * io/open.c (__open_2): Moved to ...
33827         * io/open_2.c: ... this new file.
33828         * io/open64.c (__open64_2): Moved to ...
33829         * io/open64_2.c: ... this new file.
33830         * io/openat.c (__openat_2): Moved to ...
33831         * io/openat_2.c: ... this new file.
33832         * io/openat64.c (__openat64_2): Moved to ...
33833         * io/openat64_2.c: ... this new file.
33834         * io/Makefile (routines): Add them.
33835         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33836         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33837         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33838         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33839         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33840         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33841         (__openat64): Add hidden_ver.
33842         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33843         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33845         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33846         Separately conditionalize setting of GLRO(dl_sysinfo) so
33847         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33848         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33850 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33852         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33853         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33854         definition.
33855         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33856         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33857         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33858         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33859         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33861 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33863         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33864         test signgam value.
33866         * math/libm-test.inc (hypot_test): Do not use
33867         IGNORE_ZERO_INF_SIGN.
33869 2013-05-03  Andreas Jaeger  <aj@suse.de>
33871         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33872         Linux 3.9.
33873         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33874         (PF_MAX): Adjust for VSOCK change.
33876 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33880 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33882         [BZ #15264]
33883         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33884         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33885         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33887 2013-05-02  David S. Miller  <davem@davemloft.net>
33889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33891 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33893         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33895 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33897         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33899 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33901         [BZ #14952]
33902         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33903         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33904         Use __attribute__ ((__gnu_inline__)).
33905         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33906         Don't use __attribute__ ((__gnu_inline__)).
33908 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33910         [BZ #15423]
33911         * math/s_catan.c (__catan): Handle small real or imaginary part of
33912         input specially to avoid spurious underflow.
33913         * math/s_catanf.c (__catanf): Likewise.
33914         * math/s_catanh.c (__catanh): Likewise.
33915         * math/s_catanhf.c (__catanhf): Likewise.
33916         * math/s_catanhl.c (__catanhl): Likewise.
33917         * math/s_catanl.c (__catanl): Likewise.
33918         * math/libm-test.inc (catan_test): Add more tests.
33919         (catanh_test): Likewise.
33920         * sysdeps/i386/fpu/libm-test-ulps: Update.
33921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33923 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33927 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33929         [BZ #15416]
33930         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33931         accurately for denominator in atan2.
33932         * math/s_catanf.c (__catanf): Likewise.
33933         * math/s_catanh.c (__catanh): Likewise.
33934         * math/s_catanhf.c (__catanhf): Likewise.
33935         * math/s_catanhl.c (__catanhl): Likewise.
33936         * math/s_catanl.c (__catanl): Likewise.
33937         * math/libm-test.inc (catan_test): Add more tests.
33938         (catanh_test): Likewise.
33939         * sysdeps/i386/fpu/libm-test-ulps: Update.
33940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33942 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33944         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33946         * benchtests/Makefile (bench): Remove slow benchmarks.
33947         * benchtests/atan-inputs: Add slow benchmark inputs.
33948         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33949         (BENCH_FUNC): Accept variant offset.
33950         (VARIANT): Define.
33951         * benchtests/bench-skeleton.c (main): Run benchmark for each
33952         variant.
33953         * benchtests/cos-inputs: Add slow benchmark inputs.
33954         * benchtests/exp-inputs: Likewise.
33955         * benchtests/pow-inputs: Likewise.
33956         * benchtests/sin-inputs: Likewise.
33957         * benchtests/slowatan-inputs: Remove.
33958         * benchtests/slowatan.c: Remove.
33959         * benchtests/slowcos-inputs: Remove.
33960         * benchtests/slowcos.c: Remove.
33961         * benchtests/slowexp-inputs: Remove.
33962         * benchtests/slowexp.c: Remove.
33963         * benchtests/slowpow-inputs: Remove.
33964         * benchtests/slowpow.c: Remove.
33965         * benchtests/slowsin-inputs: Remove.
33966         * benchtests/slowsin.c: Remove.
33967         * benchtests/slowtan-inputs: Remove.
33968         * benchtests/slowtan.c: Remove.
33969         * benchtests/tan-inputs: Add slow benchmark inputs.
33970         * scripts/bench.pl: Parse comments and directives.
33972         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33973         in CPPFLAGS.
33974         ($(objpfx)bench-%.c): Remove *-ITER.
33975         * benchtests/bench-modf.c: Remove definition of ITER.
33976         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33977         (main): Loop for DURATION seconds instead of fixed number of
33978         iterations.
33979         * scripts/bench.pl: Don't expect iterations in parameters.
33981 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33983         * io/fchdir.c (__fchdir): Renamed from fchdir.
33984         (fchdir): Define as weak alias.
33986 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33988         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33989         (ERRNO_EDOM): Likewise.
33990         (ERRNO_ERANGE): Likewise.
33991         (noErrnoTests): New variable.
33992         (init_max_error): Set errno to 0.
33993         (test_single_errno): New function.
33994         (test_errno): Likewise.
33995         (check_float_internal): Call test_errno.  Set errno to 0.
33996         (check_complex): Refer to errno tests in comment.
33997         (check_int): Call test_errno.  Set errno to 0.
33998         (check_long): Likewise.
33999         (check_bool): Likewise.
34000         (check_longlong): Likewise.
34001         (cos_test): Use ERRNO_* flags for errno tests instead of
34002         check_int.
34003         (expm1_test): Likewise.
34004         (fmod_test): Likewise.
34005         (ilogb_test): Likewise.
34006         (lgamma_test): Likewise.
34007         (pow_test): Likewise.
34008         (remainder_test): Likewise.
34009         (sin_test): Likewise.
34010         (tan_test): Likewise.
34011         (yn_test): Likewise.
34012         (initialize): Set errno to 0.
34013         (main): Print number of errno tests.
34014         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34016 2013-04-29  Andreas Jaeger  <aj@suse.de>
34018         [BZ #15084]
34019         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34020         and RES_USEVC.
34022         [BZ #15085]
34023         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34024         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34025         unimplemented.
34027         [BZ #15380]
34028         * stdlib/random.c (__initstate): Return NULL if
34029         __initstate fails.
34031         [BZ #15086]
34032         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34033         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34034         RES_SNGLKUPREOP.
34036 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34040 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34042         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34043         of individual tests.
34044         (casin_test): Likewise.
34045         (casinh_test): Likewise.
34047 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34049         [BZ #15409]
34050         * math/s_catan.c (__catan): Handle arguments with large real or
34051         imaginary part separately without squaring.
34052         * math/s_catanf.c (__catanf): Likewise.
34053         * math/s_catanh.c (__catanh): Likewise.
34054         * math/s_catanhf.c (__catanhf): Likewise.
34055         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34056         and redefine.
34057         (__catanhl): Handle arguments with large real or imaginary part
34058         separately without squaring.
34059         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34060         and redefine.
34061         (__catanl): Handle arguments with large real or imaginary part
34062         separately without squaring.
34063         * math/libm-test.inc (catan_test): Add more tests.
34064         (catanh_test): Likewise.
34065         * sysdeps/i386/fpu/libm-test-ulps: Update.
34066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34068 2013-04-27  Andreas Jaeger  <aj@suse.de>
34070         [BZ #15007]
34071         * stdlib/stdlib.h: Update guards for qecvt.
34072         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34073         <stdlib.h>.
34075 2013-04-27  Allan McRae  <allan@archlinux.org>
34077         * sysdeps/i386/fpu/libm-test-ulps: Update.
34079 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34081         [BZ #15406]
34082         * math/s_catan.c: Include <float.h>.
34083         (__catan): Ensure underflow exception occurs for underflowed
34084         result.
34085         * math/s_catanf.c: Include <float.h>.
34086         (__catanf): Ensure underflow exception occurs for underflowed
34087         result.
34088         * math/s_catanh.c: Include <float.h>.
34089         (__catanh): Ensure underflow exception occurs for underflowed
34090         result.
34091         * math/s_catanhf.c: Include <float.h>.
34092         (__catanhf): Ensure underflow exception occurs for underflowed
34093         result.
34094         * math/s_catanhl.c: Include <float.h>.
34095         (__catanhl): Ensure underflow exception occurs for underflowed
34096         result.
34097         * math/s_catanl.c: Include <float.h>.
34098         (__catanl): Ensure underflow exception occurs for underflowed
34099         result.
34100         * math/libm-test.inc (catan_test): Add more tests.
34101         (catanh_test): Likewise.
34103         [BZ #15405]
34104         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34105         underflowed result.
34106         * math/s_ccoshf.c (__ccoshf): Likewise.
34107         * math/s_ccoshl.c (__ccoshl): Likewise.
34108         * math/s_csin.c (__csin): Likewise.
34109         * math/s_csinf.c (__csinf): Likewise.
34110         * math/s_csinh.c (__csinh): Likewise.
34111         * math/s_csinhf.c (__csinhf): Likewise.
34112         * math/s_csinhl.c (__csinhl): Likewise.
34113         * math/s_csinl.c (__csinl): Likewise.
34114         * math/libm-test.inc (ccos_test): Add more tests.
34115         (ccosh_test): Likewise.
34116         (csin_test): Likewise.
34117         (csinh_test): Likewise.
34119 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34121         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34122         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34123         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34124         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34125         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34126         powerpc/power5+/fpu folders.
34127         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34130 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34134 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34136         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34137         additions to variable.
34138         [$(config-machine) = x86_64] (modules-names): Likewise.
34139         ($(objpfx)tst-audit3): Remove dependency.
34140         ($(objpfx)tst-audit3.out): Likewise.
34141         ($(objpfx)tst-audit4): Likewise.
34142         ($(objpfx)tst-audit4.out): Likewise.
34143         ($(objpfx)tst-audit5): Likewise.
34144         ($(objpfx)tst-audit5.out): Likewise.
34145         ($(objpfx)tst-audit6): Likewise.
34146         ($(objpfx)tst-audit6.out): Likewise.
34147         ($(objpfx)tst-audit7): Likewise.
34148         ($(objpfx)tst-audit7.out): Likewise.
34149         (tst-audit3-ENV): Remove variable.
34150         (tst-audit4-ENV): Likewise.
34151         (tst-audit5-ENV): Likewise.
34152         (tst-audit6-ENV): Likewise.
34153         (tst-audit7-ENV): Likewise.
34154         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34155         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34156         addition to variable.
34157         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34158         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34159         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34160         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34161         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34162         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34163         tst-audit3, tst-audit4 and tst-audit5.
34164         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34165         tst-audit6 and tst-audit7.
34166         [$(subdir) = elf] (modules-names): Add audit modules for those
34167         tests.
34168         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34169         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34170         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34171         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34172         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34173         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34174         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34175         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34176         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34177         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34178         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34179         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34180         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34181         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34182         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34183         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34184         Likewise.
34185         [$(subdir) = elf && $(config-cflags-avx) = yes]
34186         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34187         [$(subdir) = elf && $(config-cflags-avx) = yes]
34188         (CFLAGS-tst-auditmod4a.c): Likewise.
34189         [$(subdir) = elf && $(config-cflags-avx) = yes]
34190         (CFLAGS-tst-auditmod4b.c): Likewise.
34191         [$(subdir) = elf && $(config-cflags-avx) = yes]
34192         (CFLAGS-tst-auditmod6b.c): Likewise.
34193         [$(subdir) = elf && $(config-cflags-avx) = yes]
34194         (CFLAGS-tst-auditmod6c.c): Likewise.
34195         [$(subdir) = elf && $(config-cflags-avx) = yes]
34196         (CFLAGS-tst-auditmod7b.c): Likewise.
34197         * elf/tst-audit3.c: Move to ...
34198         * sysdeps/x86_64/tst-audit3.c: ... here.
34199         * elf/tst-audit4.c: Move to ...
34200         * sysdeps/x86_64/tst-audit4.c: ... here.
34201         * elf/tst-audit5.c: Move to ...
34202         * sysdeps/x86_64/tst-audit5.c: ... here.
34203         * elf/tst-audit6.c: Move to ...
34204         * sysdeps/x86_64/tst-audit6.c: ... here.
34205         * elf/tst-audit7.c: Move to ...
34206         * sysdeps/x86_64/tst-audit7.c: ... here.
34207         * elf/tst-auditmod3a.c: Move to ...
34208         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34209         * elf/tst-auditmod3b.c: Move to ...
34210         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34211         * elf/tst-auditmod4a.c: Move to ...
34212         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34213         * elf/tst-auditmod4b.c: Move to ...
34214         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34215         * elf/tst-auditmod5a.c: Move to ...
34216         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34217         * elf/tst-auditmod5b.c: Move to ...
34218         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34219         * elf/tst-auditmod6a.c: Move to ...
34220         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34221         * elf/tst-auditmod6b.c: Move to ...
34222         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34223         * elf/tst-auditmod6c.c: Move to ...
34224         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34225         * elf/tst-auditmod7a.c: Move to ...
34226         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34227         * elf/tst-auditmod7b.c: Move to ...
34228         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34230 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34232         [BZ #15366]
34233         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34234         define unconditionally.
34235         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34236         define unconditionally.
34237         (INT8_C, INT16_C, etc.): Likewise.
34239 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34241         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34242         __ehdr_start with hidden visibility.
34244         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34246 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34248         * math/libm-test.inc (cos_test): Use accurate hex constants.
34249         (sincost_test): Likewise.
34251 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34253         * math/libm-test.inc (catan_test): Add more tests.
34254         (catanh_test): Likewise.
34256         * math/s_catanf.c (__catanf): Use suffixed floating-point
34257         constants.
34258         * math/s_catanhf.c (__catanhf): Likewise.
34259         * math/s_catanhl.c (__catanhl): Likewise.
34260         * math/s_catanl.c (__catanl): Likewise.
34262         [BZ #15394]
34263         * math/s_catan.c (__catan): Calculate imaginary part of result
34264         with log1p not log unless computing log of number close to 0.
34265         * math/s_catanf.c (__catanf): Likewise.
34266         * math/s_catanl.c (__catanl): Likewise.
34267         * math/s_catanh.c (__catanh): Calculate real part of result with
34268         log1p not log unless computing log of number close to 0.
34269         * math/s_catanhf.c (__catanhf): Likewise.
34270         * math/s_catanhl.c (__catanhl): Likewise.
34271         * math/libm-test.inc (catan_test): Add more tests.
34272         (catanh_test): Likewise.
34273         * sysdeps/i386/fpu/libm-test-ulps: Update.
34274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34276 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34278         * benchtests/Makefile: Mention files in which fast and slow
34279         paths of math functions are implemented.
34281 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34283         * sysdeps/posix/timespec_get.c: New file.
34285 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34287         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34288         POWER.
34289         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34290         for POWER.
34291         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34292         powerpc/power5/fpu folders.
34293         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34294         * benchtests/Makefile: Add modf testcase.
34295         * benchtests/bench-modf.c: New file: Benchmark test for mo
34297 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34299         [BZ #14888]
34300         * time/Makefile (tests): Add tst-strptime-whitespace.
34301         * time/strptime_l.c (get_number): Use ISSPACE.
34302         (__strptime_internal): Likewise.
34303         * time/tst-strptime-whitespace.c: New test case.
34305 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34307         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34308         member.
34309         (_nss_files_init): Set it here.
34311 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34313         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34314         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34315         unsigned.
34317 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34319         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34321 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34323         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34324         size just once.
34326 2013-04-21  David S. Miller  <davem@davemloft.net>
34328         * po/ru.po: Update Russion translation from translation project.
34330 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34332         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34333         and setfsgid.
34335 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34337         * configure.in: Remove i386 configure warning. Remove i386 case.
34338         * configure: Regenerate.
34339         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34340         Add example to error message.
34341         * sysdeps/i386/configure: Regenerate.
34343 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34345         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34346         slowtan.
34347         * benchtests/cos-inputs: New file.
34348         * benchtests/slowcos-inputs: New file.
34349         * benchtests/slowcos.c: New file.
34350         * benchtests/slowtan-inputs: New file.
34351         * benchtests/slowtan.c: New file.
34352         * benchtests/tan-inputs: New file.
34354 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34356         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34357         considered kosher.
34359 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34361         * benchtests/Makefile: Include cppflags-iterator.mk to add
34362         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34364         * Makefile.in (bench-clean): New target.
34365         * benchtests/Makefile (bench-clean): Likewise.
34367 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34369         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34371 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34373         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34375 2013-04-15  Andreas Schwab  <schwab@suse.de>
34377         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34378         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34379         * nscd/pwdcache.c (cache_addpw): Likewise.
34380         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34381         more than recsize.
34383 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34385         * benchtests/Makefile (bench): Write all output to
34386         bench-out.tmp together.
34388 2013-04-15  Andreas Schwab  <schwab@suse.de>
34390         * nscd/nscd.c (main): Don't fork again after closing files.
34392 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34394         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34396         * benchtests/Rules (bench-deps): Collect dependencies into a
34397         single variable.  Add Makefile to dependencies.
34398         ($(objpfx)bench-%.c): Depend on bench-deps.
34400 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34401             Xavier Roche  <roche+kml2@exalead.com>
34403         [BZ #15361]
34404         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34405         just that it's a file descriptor.
34406         * manual/llio.texi (Synchronizing AIO Operations): Update description
34407         for EBADF error from aio_fsync.
34409 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34411         * Rules (bench): Move target definition...
34412         * benchtests/Makefile: ... here.
34414 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34416         * math/libm-test.inc (cos_test): Fix PI/2 test.
34417         (sincos_test): Likewise.
34418         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34419         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34421 2013-04-11  Andreas Schwab  <schwab@suse.de>
34423         [BZ #13988]
34424         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34425         accept exponent character only when digits were seen.
34426         * stdio-common/Makefile (tests): Add bug26.
34427         * stdio-common/bug26.c: New file.
34429         [BZ #14293]
34430         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34431         non-freeable.
34433 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34435         * Makeconfig (rtld-prefix): Define built linker prefix.
34436         * Rules (run-bench): Use it.
34437         * math/Makefile (run-regen-ulps): Likewise.
34439         * Rules (bench): Remove eval.
34441 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34442             Roland McGrath  <roland@hack.frob.com>
34443             Ondrej Bilka  <neleai@seznam.cz>
34445         [BZ #15346]
34446         * time/getdate.c: Include ctype.h and alloca.h.
34447         (__getdate_r): Trim leading and trailing spaces of input.
34448         * time/tst-getdate.c (tests): Add tests with leading and
34449         trailing spaces.
34451 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34453         [BZ #14280]
34454         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34455         when computing value.
34457 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34459         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34460         Use testrun.sh to run libm tests.
34462         [BZ #15309]
34463         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34465 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34467         [BZ #15264]
34468         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34470 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34472         * Makefile.in (regen-ulps): New target.
34473         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34474         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34475         [ifneq (no,$(PERL)] (regen-ulps): New target.
34476         [ifeq (no,$(PERL)] (regen-ulps): New target.
34477         * math/libm-test.inc (ulps_file_name): Define.
34478         (output_dir): New variable.
34479         (options): Add "output-dir" option.
34480         (parse_opt): Handle 'o' case.
34481         (main): If output_dir is non-NULL use it as a prefix
34482         otherwise use "".
34483         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34485 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34487         [BZ #10060, #10062]
34488         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34489         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34490         fail configure if __sync_val_compare_and_swap is not inlined.
34491         * sysdeps/i386/configure: Regenerate.
34492         * configure.in: Build for i686 when configured for i386.
34493         * configure: Regenerate.
34494         * README: Remove i386 reference.
34496 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34498         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34499         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34501 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34503         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34504         (lmsnanval): New variables.
34505         (F): Add conversion tests.
34506         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34507         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34509         * stdio-common/tstdiomisc.c (F): Properly collect individual
34510         tests' results.
34512         [BZ #14686, #15336]
34513         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34514         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34515         Instead, use input NaN values or generate a qNaN by arithmetic
34516         operation.  Also fix bugs to comply with the standard.
34517         * math/libm-test.inc (remainder_test): Add more tests.
34519         [BZ #15335, #15342]
34520         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34521         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34522         input NaN values or generate a qNaN by arithmetic operation.
34524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34525         unreachable code.
34527         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34528         definitions.
34530 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34532         [BZ #14478]
34533         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34534         underflowed result.
34535         * math/s_cexpf.c (__cexpf): Likewise.
34536         * math/s_cexpl.c (__cexpl): Likewise.
34537         * math/libm-test.inc (cexp_test): Add more tests.
34539 2013-04-03  Andreas Schwab  <schwab@suse.de>
34541         [BZ #15330]
34542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34543         order arrays from heap if bigger than alloca cutoff.
34545 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34547         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34548         (SNAN_TESTS_double): Refer to GCC PR56831.
34549         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34550         GCC PR56828.
34552 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34554         * Rules (bench): Move bench.out after the run is complete.
34556         * Rules (bench): Echo currently running benchmark.
34558         * benchtests/Makefile (bench): Add atan and slowatan.
34559         * benchtests/atan-inputs: New file.
34560         * benchtests/slowatan-inputs: New file.
34561         * benchtests/slowatan.c: New file.
34563         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34564         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34565         its value.
34567         [BZ #15305]
34568         * sysdeps/unix/sysv/linux/kernel-features.h
34569         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34570         __ASSUME_XFS_RESTRICTED_CHOWN.
34571         * sysdeps/unix/sysv/linux/pathconf.c
34572         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34573         Save and restore errno.
34575 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34577         [BZ #15327]
34578         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34579         arguments using __kernel_casinh.
34580         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34581         arguments using __kernel_casinhf.
34582         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34583         arguments using __kernel_casinhl.
34584         * math/libm-test.inc (cacosh_test): Add more tests.
34585         * sysdeps/i386/fpu/libm-test-ulps: Update.
34586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34588 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34590         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34593         * bench/Makefile (bench): Add sin and slowsin.
34594         * benchtests/sin-inputs: New file.
34595         * benchtests/slowsin-inputs: New file.
34596         * benchtests/slowsin.c: New file.
34598         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34599         (bench): Add slowexp and slowpow.
34600         (exp-ITER): Increase iterations.
34601         (pow-ITER): Likewise.
34602         * benchtests/exp-inputs: Change input.
34603         * benchtests/pow-inputs: Likewise.
34604         * benchtests/slowexp-inputs: New file.
34605         * benchtests/slowexp.c: New file.
34606         * benchtests/slowpow-inputs: New file.
34607         * benchtests/slowpow.c: New file.
34609 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34611         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34612         instructions.
34613         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34614         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34615         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34616         * benchtests/Makefile: Add rint benchtest.
34617         * benchtests/rint-inputs: Input for rint benchtest.
34619 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34621         * Versions.def (libm): Add GLIBC_2.18.
34622         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34623         hidden libm prototypes.
34624         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34625         * math/Makefile (libm-calls): Add s_issignaling.
34626         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34627         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34628         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34629         declaration.
34630         * math/math.h [__USE_GNU] (issignaling): New macro.
34631         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34632         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34633         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34634         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34635         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34636         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34637         * manual/arith.texi (issignaling): New section.
34638         * manual/libm-err-tab.pl (@all_functions): Update comment.
34639         * math/gen-libm-test.pl (parse_args): Apply special handling for
34640         issignaling.
34641         * math/libm-test.inc (print_float, issignaling_test): New
34642         functions.
34643         (check_float_internal): Add issignaling checks.
34644         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34645         default definition.
34646         * sysdeps/powerpc/math-tests.h: New file.
34647         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34648         tests.
34649         * math/test-snan.c (TEST_FUNC): Likewise.
34651 2013-03-30  David S. Miller  <davem@davemloft.net>
34653         * po/de.po: Update from translation team.
34655 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34657         [BZ #10357]
34658         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34659         imaginary part less than 1.0 and real part less than 0.5
34660         specially.
34661         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34662         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34663         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34664         (cacos_test): Add more tests.
34665         (casin_test): Likewise.
34666         (casinh_test): Likewise.
34667         * sysdeps/i386/fpu/libm-test-ulps: Update.
34668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34670 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34672         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34673         ONE with its value.
34675         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34676         (__pow_mp): Replace ONE and MONE with their values.
34677         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34679         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34680         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34681         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34682         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34684         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34686         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34687         (__pow_mp): Replace ZERO and MZERO with their values.
34688         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34689         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34690         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34692         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34693         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34694         (__sqr): Likewise.
34696         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34698         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34700 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34702         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34703         Declare with __attribute__ ((weak)).
34704         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34705         Call __call_tls_dtors only if it's not NULL.
34707 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34709         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34710         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34711         magic __ehdr_start linker symbol if it's defined.
34712         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34713         them up here if it was already done.
34715         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34716         (_dl_aux_init): Use const in cast when setting it.
34717         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34718         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34719         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34721         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34722         Declare them here.
34723         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34724         * csu/libc-tls.c: Nor here.
34725         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34727         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34728         (__libc_message): Never call vsyslog.
34730 2013-03-28  Alan Modra  <amodra@gmail.com>
34732         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34733         Define as empty.
34734         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34735         Likewise.
34737 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34739         [BZ #15214]
34740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34741         underflow.
34742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34744 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34746         [BZ #15304]
34747         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34748         Don't add gid passed as argument.
34750         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34752 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34754         [BZ #15307]
34755         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34756         imaginary part between 1.0 and 1.5 and real part less than 0.5
34757         specially.
34758         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34759         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34760         * math/libm-test.inc (cacos_test): Add more tests.
34761         (casin_test): Likewise.
34762         (casinh_test): Likewise.
34763         * sysdeps/i386/fpu/libm-test-ulps: Update.
34764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34768         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34769         constants.
34770         (norm): Likewise.
34771         (denorm): Likewise.
34772         (__dbl_mp): Likewise.
34773         (add_magnitudes): Likewise.
34774         (sub_magnitudes): Likewise.
34775         (__add): Likewise.
34776         (__sub): Likewise.
34777         (__mul): Likewise.
34778         (__sqr): Likewise.
34779         (__inv): Likewise.
34780         (__dvd): Likewise.
34782         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34783         commented code.
34784         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34785         (__dubcos): Likewise.
34786         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34787         (__ieee754_acos): Likewise.
34788         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34789         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34790         (__exp1): Likewise.
34791         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34793         (log1): Likewise.
34794         (my_log2): Likewise.
34795         (checkint): Likewise.
34796         * sysdeps/ieee754/dbl-64/e_remainder.c
34797         (__ieee754_remainder): Likewise.
34798         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34800         (bsloww): Likewise.
34801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34803         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34804         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34805         MANTISSA_STORE_T to store computations on mantissa.  Use
34806         macros for rounding and division.
34807         (denorm): Likewise.
34808         (__dbl_mp): Likewise.
34809         (add_magnitudes): Likewise.
34810         (sub_magnitudes): Likewise.
34811         (__mul): Likewise.
34812         (__sqr): Likewise.
34813         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34814         powers of two in terms of TWOPOW macro.
34815         (mp_no): Make type of mantissa as MANTISSA_T.
34816         [!RADIXI]: Define RADIXI.
34817         [!TWO52]: Define TWO52.
34818         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34820 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34823         llroundl symbol when building for PPC32.
34825 2013-03-24  Mark H Weaver  <mhw@netris.org>
34827         * manual/arith.texi (Normalization Functions): Fix prototypes for
34828         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34830 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34832         [BZ #13889]
34833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34834         high value to check if expl overflow.
34835         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34836         to check for underflow and overflow.
34837         * math/libm-test.inc: Add exp test.
34839 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34841         [BZ #11120]
34842         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34843         with NOT_IN_libc.
34845 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34847         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34848         symbol.
34850 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34852         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34853         wrap blocks consisting of several statements.
34855         * sysdeps/generic/math-tests.h: New file.
34856         * sysdeps/i386/fpu/math-tests.h: Likewise.
34857         * math/test-snan.c: Include it.
34858         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34860 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34862         [BZ #15285]
34863         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34864         (__ieee754_j0l): Do not improve calculations using cos of twice
34865         input for inputs above LDBL_MAX / 2.0L.
34866         (__ieee754_y0l): Likewise.
34867         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34868         (__ieee754_j1l): Do not improve calculations using cos of twice
34869         input for inputs above LDBL_MAX / 2.0L.
34870         (__ieee754_y1l): Likewise.
34871         * math/libm-test.inc (j0_test): Add another test.
34872         (j1_test): Likewise.
34873         (y0_test): Likewise.
34874         (y1_test): Likewise.
34875         * sysdeps/i386/fpu/libm-test-ulps: Update.
34877 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34879         * Rules ($(objpfx)bench-%.c): Include code from a C source
34880         file.
34882 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34884         [BZ #15287]
34885         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34886         imaginary part 1.0 and real part less than 0.5 specially.
34887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34889         * math/libm-test.inc (cacos_test): Add more tests.
34890         (casin_test): Likewise.
34891         (casinh_test): Likewise.
34892         * sysdeps/i386/fpu/libm-test-ulps: Update.
34893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34895 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34897         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34898         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34900 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34902         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34903         * config.make.in (config-cflags-sse4): Remove variable.
34904         (config-cflags-avx): Likewise.
34905         (config-cflags-sse2avx): Likewise.
34906         (config-cflags-novzeroupper): Likewise.
34907         (config-asflags-i686): Likewise.
34908         (have-mfma4): Likewise.
34909         (have-as-vis3): Likewise.
34910         (MIG): Likewise.
34911         * configure.in (MIG): Do not AC_SUBST.
34912         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34913         (libc_cv_cc_sse4): Do not AC_SUBST.
34914         (libc_cv_cc_avx): Likewise.
34915         (libc_cv_cc_sse2avx): Likewise.
34916         (libc_cv_cc_novzeroupper): Likewise.
34917         (libc_cv_cc_fma4): Likewise.
34918         (libc_cv_as_i686): Likewise.
34919         (libc_cv_sparc_as_vis3): Likewise.
34920         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34921         LIBC_CONFIG_VAR.
34922         (config-asflags-i686): Likewise.
34923         (config-cflags-avx): Likewise.
34924         (config-cflags-sse2avx): Likewise.
34925         (have-mfma4): Likewise.
34926         (config-cflags-novzeroupper): Likewise.
34927         * sysdeps/mach/configure.in (MIG): Likewise.
34928         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34929         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34930         LIBC_CONFIG_VAR.
34931         (config-cflags-avx): Likewise.
34932         (config-cflags-sse2avx): Likewise.
34933         (have-mfma4): Likewise.
34934         (config-cflags-novzeroupper): Likewise.
34935         * configure: Regenerated.
34936         * sysdeps/i386/configure: Likewise.
34937         * sysdeps/mach/configure: Likewise.
34938         * sysdeps/sparc/configure: Likewise.
34939         * sysdeps/x86_64/configure: Likewise.
34941 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34943         [BZ #14812]
34944         * locale/programs/localedef.c (options): Put N_ translation marker
34945         on argument names, not just descriptions.
34947 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34949         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34951 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34953         [BZ #14176]
34954         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34956 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34958         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34959         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34960         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34961         [!BEFORE_ABORT] (before_abort): New function.
34962         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34963         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34964         (writev_for_fatal): New function.
34965         (WRITEV_FOR_FATAL): New macro; call that.
34966         (backtrace_and_maps): New function.
34967         (BEFORE_ABORT): New macro; call that.
34968         (struct str_list): Type removed.
34969         (__libc_message, __libc_fatal): Functions removed.
34970         Include <sysdeps/posix/libc_fatal.c> instead.
34972 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34974         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34975         constants.
34976         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34977         double constants.
34979 2013-03-19  Andreas Schwab  <schwab@suse.de>
34981         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34982         * sysdeps/gnu/configure: Regenerate.
34984         * configure.in: Substitute libc_cv_rtlddir.
34985         * configure: Regenerate.
34986         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34987         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34988         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34989         * elf/Makefile (install-others, CFLAGS-interp.c)
34990         (ldso_install, common-ldd-rewrite): Likewise.
34991         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34992         $(inst_slibdir)/$(rtld-installed-name).
34993         * scripts/rellns-sh: Add -p option.
34994         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34995         for source.
34997 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34999         * manual/nptl.texi: Renamed to ...
35000         * manual/threads.texi: ... this.
35001         * manual/Makefile (chapters): Update.
35003 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35005         [BZ #14812]
35006         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35007         on argument names, not just descriptions.
35008         * malloc/memusagestat.c (options): Likewise.
35009         * nss/getent.c (options): Likewise.
35011 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35013         [BZ #14812]
35014         * iconv/iconv_prog.c (options): Put N_ translation marker
35015         on argument names, not just descriptions.
35016         * iconv/iconvconfig.c (options): Likewise.
35018 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35020         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35021         implementation which is faster on all x86_64 architectures.
35022         Tested on AMD, Intel Nehalem, SNB, IVB.
35023         * sysdeps/x86_64/strnlen.S: Likewise.
35025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35026         Remove all multiarch strlen and strnlen versions.
35027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35028         Remove strlen and strnlen related parts.
35030         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35031         Inline strlen part.
35032         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35034         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35035         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35036         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35037         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35038         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35039         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35041 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35043         * manual/memory.texi (Malloc Tunable Parameters):
35044         Sort parameters alphabetically. Add comments for missing entries.
35046 2013-03-17  David S. Miller  <davem@davemloft.net>
35048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35050 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35052         [BZ #15283]
35053         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35054         for arguments at most half maximum finite value.
35055         * math/libm-test.inc (j0_test): Add more tests.
35056         (j1_test): Likewise.
35057         (y0_test): Likewise.
35058         (y1_test): Likewise.
35059         * sysdeps/i386/fpu/libm-test-ulps: Update.
35060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062         [BZ #14155]
35063         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35064         1 / x and functions P and Q for arguments above 0x1p256L.
35065         (__ieee754_y0l): Likewise.
35066         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35067         (__ieee754_y1l): Likewise.
35068         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35069         (j1_test): Likewise.
35070         (y0_test): Likewise.
35071         (y1_test): Likewise.
35073 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35075         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35076         variable.
35078 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35080         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35081         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35082         zero since it's initialized to EXEC_PAGESIZE.
35084         * sysdeps/unix/sysv/linux/ldsodefs.h
35085         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35086         * sysdeps/generic/ldsodefs.h: ... here.
35088 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35090         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35092         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35093         math/test-snan.c.
35094         * math/test-snan.c: Renamed from
35095         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35096         * math/Makefile (tests): Add test-snan.
35097         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35098         test-powerpc-snan.
35100         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35101         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35102         functions.
35103         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35104         __builtin_nan family of functions.
35105         * math/libm-test.inc (initialize): Initialize qnan_value with
35106         __builtin_nan family of functions.
35107         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35108         Remove variables.
35109         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35110         Remove functions.
35111         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35112         storage class.  Initialize qNaN_var and sNaN_var with
35113         __builtin_nan and __builtin_nans families of functions,
35114         respectively.
35116         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35117         (sqrt_test): Remove duplicate test with qNaN input.
35118         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35119         (round_test, signbit_test, significand_test): Note missing +/-Inf
35120         as well as qNaN tests.
35122         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35123         qNaN_var.  Fix a few strings, too.
35124         * math/libm-test.inc (nan_value): Rename to qnan_value.
35125         * math/gen-libm-test.pl (%beautify): Adjust to that.
35126         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35127         * math/test-misc.c (main): Likewise.
35128         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35129         to __qnan_bytes, and __qnan_union, respectively.
35130         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35131         Likewise.
35132         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35133         and lqnanval, respectively.
35134         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35135         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35136         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35137         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35139         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35140         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35141         doubles.
35143         * math/test-misc.c (main): Fix copy'n'pastos.
35144         * misc/tst-efgcvt.c (special): Likewise.
35146         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35147         Remove declarations.
35149 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35151         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35152         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35153         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35154         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35156 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35158         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35159         macro to return vdso values correctly in IFUNC implementations.
35160         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35161         Optimization by using IFUNC.
35163 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35164             Richard Henderson  <rth@redhat.com>
35165             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35167         * Makefile.in (bench): New target.
35168         * NEWS: Mention the benchmark framework.
35169         * Rules (bench): Likewise.
35170         (binaries-bench): Generate binaries for functions to
35171         benchmark.
35172         * benchtests/Makefile: New makefile for benchmark tests.
35173         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35174         programs.
35175         * benchtests/exp-inputs: New input file for EXP function.
35176         * benchtests/pow-inputs: New input file for POW function.
35177         * scripts/bench.pl: New script to generate source files for
35178         benchmark programs.
35180 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35182         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35183         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35184         computations on mantissa.  Use macros for rounding and
35185         division.
35186         (denorm): Likewise.
35187         (__dbl_mp): Likewise.
35188         (add_magnitudes): Likewise.
35189         (sub_magnitudes): Likewise.
35190         (__mul): Likewise.
35191         (__sqr): Likewise.
35192         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35193         powers of two in terms of TWOPOW macro.
35194         (mp_no): Make type of mantissa as MANTISSA_T.
35195         [!RADIXI]: Define RADIXI.
35196         [!TWO52]: Define TWO52.
35197         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35199         * manual/nptl.texi (cindex): Modify threads to pthreads.
35201 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35203         * sysdeps/x86_64/preconfigure: Regenerated.
35205 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35207         [BZ #14155]
35208         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35209         0x1p28 and above.
35210         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35211         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35212         0x1p28 and above.
35213         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35214         * math/libm-test.inc (j0_test): Do not allow one spurious
35215         underflow exception.
35216         (y1_test): Likewise.
35218 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35220         * manual/Makefile (chapters): Add nptl.
35221         * manual/debug.texi (Debugging Support): Add link to Threads
35222         chapter.
35223         * manual/nptl.texi: New file.
35225         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35227 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35229         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35230         for non-NULL pointer before the memory validity test. Pointed
35231         out by Holger Brunck <holger.brunck@keymile.com>.
35233 2013-03-13  Andreas Schwab  <schwab@suse.de>
35235         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35236         instead of .os.
35238 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35240         * timezone/zic.c: Update from tzcode 2013b.
35242 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35244         * manual/install.texi (Configuring and compiling):
35245         Mention i686 and i586.
35246         * INSTALL: Regenerate.
35248 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35250         * sysdeps/init_array/elf-init.c: New file.
35251         * csu/elf-init.c
35252         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35253         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35255         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35256         __gmon_start__ as global, but as static with a .preinit_array pointer.
35257         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35258         * sysdeps/init_array/crti.S: New file, empty except for comments.
35259         * sysdeps/init_array/crtn.S: Likewise.
35261 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35263         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35264         definining bcopy.
35265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35266         Remove Prefer_SSE_for_memop.
35267         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35268         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35269         HAS_PREFER_SSE_FOR_MEMOP.
35270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35271         memset-x86-64.
35272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35273         Remove bzero, memset ifunc support.
35274         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35275         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35276         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35277         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35279 2013-03-11  Andreas Schwab  <schwab@suse.de>
35281         [BZ #15234]
35282         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35283         by SHLIB_COMPAT.
35284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35285         (GLIBC_2.16): Remove pthread_atfork.
35287 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35289         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35290         (ptestcases.h): Likewise.
35292 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35294         * Makeconfig ($(common-objpfx)config.status): Depend on
35295         sysdeps/*/preconfigure{,.in} too.
35297 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35299         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35300         (__free_hook): Use void * instead of __malloc_ptr_t.
35301         (__malloc_hook): Likewise.
35302         (__realloc_hook): Likewise.
35303         (__memalign_hook): Likewise.
35304         (__after_morecore_hook): Likewise.
35305         * malloc/arena.c (save_malloc_hook): Likewise.
35306         (save_free_hook): Likewise.
35307         * malloc/hooks.c (malloc_hook_ini): Likewise.
35308         (realloc_hook_ini): Likewise.
35309         (memalign_hook_ini): Likewise.
35310         * malloc/malloc.c (malloc_hook_ini): Likewise.
35311         (realloc_hook_ini): Likewise.
35312         (memalign_hook_ini): Likewise.
35313         (__free_hook): Likewise.
35314         (__malloc_hook): Likewise.
35315         (__realloc_hook): Likewise.
35316         (__memalign_hook): Likewise.
35317         (__libc_malloc): Likewise.
35318         (__libc_free): Likewise.
35319         (__libc_realloc): Likewise.
35320         (__libc_memalign): Likewise.
35321         (__libc_valloc): Likewise.
35322         (__libc_pvalloc): Likewise.
35323         (__libc_calloc): Likewise.
35324         (__posix_memalign): Likewise.
35325         * malloc/morecore.c (__sbrk): Likewise.
35326         (__default_morecore): Likewise.
35328         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35330         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35331         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35332         __malloc_ptrdiff_t.
35334         * malloc/malloc.h (__malloc_size_t): Remove macro.
35335         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35336         __malloc_size_t.
35337         (old_memalign_hook): Likewise.
35338         (old_realloc_hook): Likewise.
35339         (struct hdr): Likewise.
35340         (flood): Likewise.
35341         (mallochook): Likewise.
35342         (memalignhook): Likewise.
35343         (reallochook): Likewise.
35344         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35345         (tr_old_realloc_hook): Likewise.
35346         (tr_old_memalign_hook): Likewise.
35347         (tr_mallochook): Likewise.
35348         (tr_reallochook): Likewise.
35349         (tr_memalignhook): Likewise.
35351 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35353         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35354         default_ldbl_pack and using as default implementation.
35355         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35356         implementation.
35357         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35358         redundant definition.
35359         (ldbl_insert_mantissa): Likewise.
35360         (ldbl_canonicalize): Likewise.
35361         (ldbl_nearbyint): Likewise.
35362         (ldbl_pack): Rename to ldbl_pack_ppc.
35363         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35364         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35365         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35367 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35370         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35371         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35372         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35374         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35375         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35376         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35378 2013-03-07  Andreas Jaeger  <aj@suse.de>
35380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35381         bits/mman-linux.h.
35383 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35385         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35386         Include mpa.h and declare __MPEXP.
35387         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35388         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35389         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35390         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35391         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35392         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35393         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35395         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35396         (__slowpow): Use long double EXPL and LOGL functions to
35397         compute POW.
35398         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35399         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35400         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35401         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35402         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35403         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35406         intermediate variable to calculate exponent.
35407         (__sqr): Likewise.
35408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35409         Likewise.
35410         (__sqr): Likewise.
35412         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35413         [!NO__SQR]: Define __sqr.
35414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35415         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35416         sysdeps/ieee754/dbl-64/mpa.c.
35417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35419         [BZ #12723]
35420         * posix/Makefile (tests): Add tst-pathconf.
35421         * posix/tst-pathconf.c: New test case.
35422         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35423         _PC_PIPE_BUF.
35424         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35426 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35428         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35430 2013-03-06  Andreas Jaeger  <aj@suse.de>
35432         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35433         definition via __MAP_ANONYMOUS.
35435         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35436         it's not part of Linux headers.
35438         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35439         (MAP_HUGE_MASK): Define.
35441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35442         Define.
35443         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35444         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35445         Define.
35446         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35447         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35448         Define.
35449         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35450         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35451         Define.
35452         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35454         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35455         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35456         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35457         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35458         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35459         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35461         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35462         Handle f2fs.
35464         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35465         Handle f2fs and efivarfs.
35467         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35468         f2fs.
35470         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35471         (EFIVARFS_MAGIC): Add.
35472         (F2FS_LINK_MAX): Add.
35474 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35476         * stdio-common/vfprintf.c: Replace __builtin_expect with
35477         __glibc_unlikely.
35479 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35481         [BZ #13550]
35482         * sysdeps/generic/bp-sym.h: Remove file.
35483         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35484         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35485         <bp-sym.h> and <bp-asm.h>.
35486         (__longjmp): Don't use BP_SYM.
35487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35488         and <bp-asm.h>.
35489         (memcpy): Don't use BP_SYM.
35490         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35491         <bp-sym.h> and <bp-asm.h>.
35492         (memcpy): Don't use BP_SYM.
35493         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35494         <bp-asm.h>.
35495         (memcpy): Don't use BP_SYM.
35496         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35497         <bp-asm.h>.
35498         (memset): Don't use BP_SYM.
35499         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35500         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35501         (__bzero): Don't use BP_SYM.
35502         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35503         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35505         <bp-sym.h> and <bp-asm.h>.
35506         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35507         pointers.
35508         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35509         <bp-sym.h> and <bp-asm.h>.
35510         (memcpy): Don't use BP_SYM.
35511         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35512         <bp-sym.h> and <bp-asm.h>.
35513         (memset): Don't use BP_SYM.
35514         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35515         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35516         (__bzero): Don't use BP_SYM.
35517         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35518         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35519         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35520         <bp-sym.h> and <bp-asm.h>.
35521         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35522         pointers.
35523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35524         <bp-sym.h> and <bp-asm.h>.
35525         (memcpy): Don't use BP_SYM.
35526         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35527         <bp-sym.h> and <bp-asm.h>.
35528         (memset): Don't use BP_SYM.
35529         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35530         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35531         (__bzero): Don't use BP_SYM.
35532         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35533         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35535         <bp-sym.h> and <bp-asm.h>.
35536         (__memchr): Don't use BP_SYM.
35537         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35538         <bp-sym.h> and <bp-asm.h>.
35539         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35540         pointers.
35541         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35542         <bp-sym.h> and <bp-asm.h>.
35543         (memcpy): Don't use BP_SYM.
35544         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35545         <bp-sym.h> and <bp-asm.h>.
35546         (__mempcpy): Don't use BP_SYM.
35547         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35548         <bp-sym.h> and <bp-asm.h>.
35549         (__memrchr): Don't use BP_SYM.
35550         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35551         <bp-sym.h> and <bp-asm.h>.
35552         (memset): Don't use BP_SYM.
35553         (__bzero): Likewise.
35554         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35555         <bp-sym.h> and <bp-asm.h>.
35556         (__rawmemchr): Don't use BP_SYM.
35557         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35558         <bp-sym.h> and <bp-asm.h>.
35559         (__STRCMP): Don't use BP_SYM.
35560         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35561         <bp-sym.h> and <bp-asm.h>.
35562         (strchr): Don't use BP_SYM.
35563         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35564         <bp-sym.h> and <bp-asm.h>.
35565         (__strchrnul): Don't use BP_SYM.
35566         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35567         <bp-sym.h> and <bp-asm.h>.
35568         (strlen): Don't use BP_SYM.
35569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35570         <bp-sym.h> and <bp-asm.h>.
35571         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35572         pointers.
35573         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35574         <bp-sym.h> and <bp-asm.h>.
35575         (__strnlen): Don't use BP_SYM.
35576         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35577         <bp-sym.h> and <bp-asm.h>.
35578         (__GI__setjmp): Don't use BP_SYM.
35579         (_setjmp): Likewise.
35580         (__sigsetjmp): Likewise.
35581         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35582         (L(start_addresses)): Don't use BP_SYM.
35583         (_start): Likewise.
35584         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35585         <bp-asm.h>.
35586         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35587         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35588         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35589         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35590         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35591         <bp-asm.h>.
35592         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35593         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35594         about bounded pointers.
35595         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35596         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35597         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35598         <bp-asm.h>.
35599         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35600         about bounded pointers.  Remove GKM FIXME comments.
35601         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35602         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35603         <bp-asm.h>.
35604         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35605         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35606         Remove GKM FIXME comments.
35607         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35608         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35609         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35610         <bp-asm.h>.
35611         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35612         about bounded pointers.  Remove GKM FIXME comment.
35613         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35614         and <bp-asm.h>.
35615         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35616         pointers.
35617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35618         <bp-sym.h> and <bp-asm.h>.
35619         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35621         <bp-sym.h> and <bp-asm.h>.
35622         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35623         comment.
35625 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35627         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35628         call free(NULL).
35630 2013-03-05  David S. Miller  <davem@davemloft.net>
35632         * po/es.po: Update from translation team.
35634 2013-03-05  Andreas Jaeger  <aj@suse.de>
35636         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35637         <bits/mman-linux.h>.
35638         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35639         is fine.
35640         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35641         <bits/mman-linux.h> to end of file.
35642         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35643         is fine.
35644         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35645         <bits/mman-linux.h> to end of file.
35646         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35647         is fine.
35648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35649         <bits/mman-linux.h> to end of file.
35651         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35652         (MCL_CURRENT, MCL_FUTURE): Define here.
35654 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35656         [BZ #15232]
35657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35658         attribute_hidden.
35659         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35661 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35663         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35664         fourth parameter needed for rt_sigprocmask syscall.
35665         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35666         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35667         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35668         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35669         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35670         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35672 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35674         [BZ #13550]
35675         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35676         comment about bounded pointers.
35677         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35678         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35680 2013-03-04  Andreas Jaeger  <aj@suse.de>
35682         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35683         common definitions.
35685         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35686         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35687         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35688         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35689         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35692 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35694         [BZ #15055]
35695         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35696         __ieee754_sqrl instead of __sqrl.
35698 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35700         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35701         * sysdeps/powerpc/fpu_control.h: ... here.
35702         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35703         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35704         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35705         * sysdeps/powerpc/bits/mathinline.h: ... here.
35707 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35709         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35710         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35711         to just [NEED_DL_SYSINFO_DSO].
35712         * elf/dl-support.c: Likewise.
35713         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35714         * elf/rtld.c (dl_main): Likewise.
35715         * elf/setup-vdso.h (setup_vdso): Likewise.
35716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35717         * sysdeps/unix/sysv/linux/dl-sysdep.c
35718         (_dl_discover_osversion): Likewise.
35720 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35722         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35723         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35725 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35727         * NEWS: Mention libm performance improvements and non-x86 PI
35728         futex support.
35730         * csu/libc-start.c (__pthread_initialize_minimal): Change
35731         function arguments.
35732         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35734 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35736         [BZ #13550]
35737         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35738         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35739         <bp-sym.h> and <bp-asm.h>.
35740         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35741         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35742         and <bp-asm.h>.
35743         (memcpy): Don't use BP_SYM.
35744         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35745         <bp-asm.h>.
35746         (__mpn_add_n): Don't use BP_SYM.
35747         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35748         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35749         and <bp-asm.h>.
35750         (__mpn_addmul_1): Don't use BP_SYM.
35751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35752         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35753         <bp-sym.h>.
35754         (_setjmp): Don't use BP_SYM.
35755         (__novmx_setjmp): Likewise.
35756         (__GI__setjmp): Likewise.
35757         (__vmx_setjmp): Likewise.
35758         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35759         <bp-sym.h>.
35760         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35761         (__bzero): Don't use BP_SYM.
35762         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35763         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35764         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35765         <bp-sym.h> and <bp-asm.h>.
35766         (memcpy): Don't use BP_SYM.
35767         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35768         <bp-sym.h> and <bp-asm.h>.
35769         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35770         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35771         <bp-sym.h> and <bp-asm.h>.
35772         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35773         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35774         <bp-asm.h>.
35775         (__mpn_lshift): Don't use BP_SYM.
35776         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35777         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35778         <bp-asm.h>.
35779         (memset): Don't use BP_SYM.
35780         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35781         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35782         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35783         <bp-asm.h>.
35784         (__mpn_mul_1): Don't use BP_SYM.
35785         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35786         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35787         <bp-sym.h> and <bp-asm.h>.
35788         (memcmp): Don't use BP_SYM.
35789         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35790         <bp-sym.h> and <bp-asm.h>.
35791         (memcpy): Don't use BP_SYM.
35792         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35793         <bp-sym.h> and <bp-asm.h>.
35794         (memset): Don't use BP_SYM.
35795         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35796         <bp-sym.h> and <bp-asm.h>.
35797         (strncmp): Don't use BP_SYM.
35798         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35799         <bp-sym.h> and <bp-asm.h>.
35800         (memcpy): Don't use BP_SYM.
35801         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35802         <bp-sym.h> and <bp-asm.h>.
35803         (memset): Don't use BP_SYM.
35804         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35805         <bp-sym.h> and <bp-asm.h>.
35806         (__memchr): Don't use BP_SYM.
35807         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35808         <bp-sym.h> and <bp-asm.h>.
35809         (memcmp): Don't use BP_SYM.
35810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35811         <bp-sym.h> and <bp-asm.h>.
35812         (memcpy): Don't use BP_SYM.
35813         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35814         <bp-sym.h> and <bp-asm.h>.
35815         (__mempcpy): Don't use BP_SYM.
35816         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35817         <bp-sym.h> and <bp-asm.h>.
35818         (__memrchr): Don't use BP_SYM.
35819         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35820         <bp-sym.h> and <bp-asm.h>.
35821         (memset): Don't use BP_SYM.
35822         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35823         <bp-sym.h> and <bp-asm.h>.
35824         (__rawmemchr): Don't use BP_SYM.
35825         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35826         <bp-sym.h> and <bp-asm.h>.
35827         (__STRCMP): Don't use BP_SYM.
35828         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35829         <bp-sym.h> and <bp-asm.h>.
35830         (strchr): Don't use BP_SYM.
35831         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35832         <bp-sym.h> and <bp-asm.h>.
35833         (__strchrnul): Don't use BP_SYM.
35834         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35835         <bp-sym.h> and <bp-asm.h>.
35836         (strlen): Don't use BP_SYM.
35837         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35838         <bp-sym.h> and <bp-asm.h>.
35839         (strncmp): Don't use BP_SYM.
35840         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35841         <bp-sym.h> and <bp-asm.h>.
35842         (__strnlen): Don't use BP_SYM.
35843         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35844         <bp-asm.h>.
35845         (__mpn_rshift): Don't use BP_SYM.
35846         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35847         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35848         <bp-sym.h> and <bp-asm.h>.
35849         (__sigsetjmp): Don't use BP_SYM.
35850         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35851         (L(start_addresses)): Don't use BP_SYM.
35852         (_start): Likewise.
35853         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35854         <bp-asm.h>.
35855         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35856         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35857         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35858         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35859         <bp-asm.h>.
35860         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35861         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35862         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35863         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35864         <bp-asm.h>.
35865         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35866         comments.
35867         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35868         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35869         <bp-asm.h>.
35870         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35871         FIXME comments.
35872         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35873         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35874         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35875         <bp-asm.h>.
35876         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35877         comment.
35878         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35879         and <bp-asm.h>.
35880         (strncmp): Don't use BP_SYM,
35881         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35882         <bp-asm.h>.
35883         (__mpn_sub_n): Don't use BP_SYM.
35884         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35885         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35886         and <bp-asm.h>.
35887         (__mpn_submul_1): Don't use BP_SYM.
35888         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35890         <bp-sym.h> and <bp-asm.h>.
35891         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35893         <bp-sym.h> and <bp-asm.h>.
35894         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35895         comment.
35897 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35900         Use ZK to minimize writes to Z.
35901         (sub_magnitudes): Simplify code a bit.
35902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35903         Use ZK to minimize writes to Z.
35904         (sub_magnitudes): Simplify code a bit.
35906 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35908         * csu/gmon-start.c: Add special exception to license text.
35910 2013-02-27  Richard Henderson  <rth@redhat.com>
35912         * scripts/config.guess: Update from config.git.
35913         * scripts/config.sub: Likewise.
35915 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35917         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35919         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35921         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35923         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35925         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35927 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35929         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35930         [$(build-shared = yes].
35932 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35934         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35935         (__mul): Reduce iterations for calculating mantissa.
35937         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35938         MPTWO.
35939         (__mpranred): Likewise.
35941         [BZ #15160]
35942         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35943         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35945 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35947         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35948         Define __attribute__.
35950 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35952         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35953         unused.
35954         * posix/regex_internal.h (__attribute): Remove.
35955         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35956         (re_string_context_at): Likewise.
35957         (bitset_not): Use __attribute__ and mark function as possibly
35958         unused.
35959         (bitset_merge): Likewise.
35960         (bitset_mask): Likewise.
35961         (re_string_char_size_at): Likewise.
35962         (re_string_wchar_at): Likewise.
35963         (re_string_elem_size_at): Likewise.
35965 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35967         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35968         code.
35969         (cc32): Likewise.
35971         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35972         (__acr): Likewise.
35973         (__cpy): Likewise.
35974         (norm): Likewise.
35975         (denorm): Likewise.
35976         (__dbl_mp): Likewise.
35977         (add_magnitudes): Likewise.
35978         (sub_magnitudes): Likewise.
35979         (__mul): Likewise.
35980         (__inv): Likewise.
35982         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35983         style.
35985         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35986         style.
35988         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35989         code.
35991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35992         up changes with default code.
35993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35994         Likewise.
35996 2013-02-24  Allan McRae  <allan@archlinux.org>
35998         * manual/socket.texi (The Internet Namespace): Order menu items
35999         to match that in the file.
36001         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36002         node listing of the info page menu.
36004 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36006         [BZ #13550]
36007         * sysdeps/i386/bp-asm.h: Remove file.
36008         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36009         (PARMS): Do not use macros from bp-asm.h.
36010         (S1): Likewise.
36011         (S2): Likewise.
36012         (SIZE): Likewise.
36013         (__mpn_add_n): Do not use BP_SYM
36014         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36015         "bp-asm.h".
36016         (PARMS): Do not use macros from bp-asm.h.
36017         (S1): Likewise.
36018         (SIZE): Likewise.
36019         (__mpn_addmul_1): Do not use BP_SYM
36020         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36021         "bp-asm.h".
36022         (PARMS): Do not use macros from bp-asm.h.
36023         (SIGMSK): Likewise.
36024         (_setjmp): Likewise.  Do not use BP_SYM.
36025         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36026         "bp-asm.h".
36027         (PARMS): Do not use macros from bp-asm.h.
36028         (SIGMSK): Likewise.
36029         (setjmp): Likewise.  Do not use BP_SYM.
36030         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36031         "bp-asm.h".
36032         (PARMS): Do not use macros from bp-asm.h.
36033         (__frexp): Do not use BP_SYM.
36034         (frexp): Likewise.
36035         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36036         "bp-asm.h".
36037         (PARMS): Do not use macros from bp-asm.h.
36038         (__frexpf): Do not use BP_SYM.
36039         (frexpf): Likewise.
36040         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36041         "bp-asm.h".
36042         (PARMS): Do not use macros from bp-asm.h.
36043         (__frexpl): Do not use BP_SYM.
36044         (frexpl): Likewise.
36045         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36046         "bp-asm.h".
36047         (PARMS): Do not use macros from bp-asm.h.
36048         (__remquo): Do not use BP_SYM.
36049         (remquo): Likewise.
36050         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36051         "bp-asm.h".
36052         (PARMS): Do not use macros from bp-asm.h.
36053         (__remquof): Do not use BP_SYM.
36054         (remquof): Likewise.
36055         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36056         "bp-asm.h".
36057         (PARMS): Do not use macros from bp-asm.h.
36058         (__remquol): Do not use BP_SYM.
36059         (remquol): Likewise.
36060         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36061         "bp-asm.h".
36062         (PARMS): Do not use macros from bp-asm.h.
36063         (DEST): Likewise.
36064         (SRC): Likewise.
36065         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36066         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36067         "bp-asm.h".
36068         (PARMS): Do not use macros from bp-asm.h.
36069         (strlen): Do not use BP_SYM.
36070         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36071         "bp-asm.h".
36072         (PARMS): Do not use macros from bp-asm.h.
36073         (S1): Likewise.
36074         (S2): Likewise.
36075         (SIZE): Likewise.
36076         (__mpn_add_n): Do not use BP_SYM.
36077         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36078         "bp-asm.h".
36079         (PARMS): Do not use macros from bp-asm.h.
36080         (S1): Likewise.
36081         (SIZE): Likewise.
36082         (__mpn_addmul_1): Do not use BP_SYM.
36083         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36084         weak_alias.
36085         (bzero): Likewise.
36086         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36087         "bp-asm.h".
36088         (PARMS): Do not use macros from bp-asm.h.
36089         (S): Likewise.
36090         (SIZE): Likewise.
36091         (__mpn_lshift): Do not use BP_SYM.
36092         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36093         "bp-asm.h".
36094         (PARMS): Do not use macros from bp-asm.h.
36095         (DEST): Likewise.
36096         (SRC): Likewise.
36097         (LEN): Likewise.
36098         (memcpy): Likewise.  Do not use BP_SYM.
36099         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36100         libc_hidden_def and weak_alias.
36101         (mempcpy): Do not use BP_SYM in weak_alias.
36102         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36103         "bp-asm.h".
36104         (PARMS): Do not use macros from bp-asm.h.
36105         (DEST): Likewise.
36106         (LEN): Likewise.
36107         [!BZERO_P] (CHR): Likewise.
36108         (memset): Likewise.  Do not use BP_SYM.
36109         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36110         "bp-asm.h".
36111         (PARMS): Do not use macros from bp-asm.h.
36112         (S1): Likewise.
36113         (SIZE): Likewise.
36114         (__mpn_mul_1): Do not use BP_SYM.
36115         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36116         "bp-asm.h".
36117         (PARMS): Do not use macros from bp-asm.h.
36118         (S): Likewise.
36119         (SIZE): Likewise.
36120         (__mpn_rshift): Do not use BP_SYM.
36121         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36122         "bp-asm.h".
36123         (PARMS): Do not use macros from bp-asm.h.
36124         (STR): Likewise.
36125         (CHR): Likewise.
36126         (strchr): Likewise.  Do not use BP_SYM.
36127         (index): Do not use BP_SYM in weak_alias.
36128         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36129         "bp-asm.h".
36130         (PARMS): Do not use macros from bp-asm.h.
36131         (DEST): Likewise.
36132         (SRC): Likewise.
36133         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36134         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36135         "bp-asm.h".
36136         (PARMS): Do not use macros from bp-asm.h.
36137         (strlen): Do not use BP_SYM.
36138         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36139         "bp-asm.h".
36140         (PARMS): Do not use macros from bp-asm.h.
36141         (S1): Likewise.
36142         (S2): Likewise.
36143         (SIZE): Likewise.
36144         (__mpn_sub_n): Do not use BP_SYM.
36145         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36146         "bp-asm.h".
36147         (PARMS): Do not use macros from bp-asm.h.
36148         (S1): Likewise.
36149         (SIZE): Likewise.
36150         (__mpn_submul_1): Do not use BP_SYM.
36151         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36152         "bp-asm.h".
36153         (PARMS): Do not use macros from bp-asm.h.
36154         (S1): Likewise.
36155         (S2): Likewise.
36156         (SIZE): Likewise.
36157         (__mpn_add_n): Do not use BP_SYM.
36158         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36159         weak_alias.
36160         (bzero): Likewise.
36161         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36162         "bp-asm.h".
36163         (PARMS): Do not use macros from bp-asm.h.
36164         (BLK2): Likewise.
36165         (LEN): Likewise.
36166         (memcmp): Do not use BP_SYM.
36167         (bcmp): Do not use BP_SYM in weak_alias.
36168         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36169         "bp-asm.h".
36170         (PARMS): Do not use macros from bp-asm.h.
36171         (DEST): Likewise.
36172         (SRC): Likewise.
36173         (LEN): Likewise.
36174         (memcpy): Likewise.  Do not use BP_SYM.
36175         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36176         "bp-asm.h".
36177         (PARMS): Do not use macros from bp-asm.h.
36178         (DEST): Likewise.
36179         (SRC): Likewise.
36180         (LEN): Likewise.
36181         (memmove): Likewise.  Do not use BP_SYM.
36182         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
36189         (mempcpy): Do not use BP_SYM in weak_alias.
36190         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36191         "bp-asm.h".
36192         (PARMS): Do not use macros from bp-asm.h.
36193         (DEST): Likewise.
36194         (LEN): Likewise.
36195         [!BZERO_P] (CHR): Likewise.
36196         (memset): Likewise.  Do not use BP_SYM.
36197         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36198         "bp-asm.h".
36199         (PARMS): Do not use macros from bp-asm.h.
36200         (STR2): Likewise.
36201         (strcmp): Do not use BP_SYM.
36202         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36203         "bp-asm.h".
36204         (PARMS): Do not use macros from bp-asm.h.
36205         (STR): Likewise.
36206         (DELIM): Likewise.
36207         [USE_AS_STRTOK_R] (SAVE): Likewise.
36208         (FUNCTION): Likewise.  Do not use BP_SYM.
36209         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36210         aliases.
36211         (strtok_r): Likewise.
36212         (__GI___strtok_r): Likewise.
36213         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36214         (PARMS): Do not use macros from bp-asm.h.
36215         (S): Likewise.
36216         (SIZE): Likewise.
36217         (__mpn_lshift): Do not use BP_SYM.
36218         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36219         (PARMS): Do not use macros from bp-asm.h.
36220         (STR): Likewise.
36221         (CHR): Likewise.
36222         (__memchr): Do not use BP_SYM.
36223         (memchr): Do not use BP_SYM in weak_alias.
36224         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36225         (PARMS): Do not use macros from bp-asm.h.
36226         (BLK2): Likewise.
36227         (LEN): Likewise.
36228         (memcmp): Do not use BP_SYM.
36229         (bcmp): Do not use BP_SYM in weak_alias.
36230         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36231         (PARMS): Do not use macros from bp-asm.h.
36232         (S1): Likewise.
36233         (SIZE): Likewise.
36234         (__mpn_mul_1): Do not use BP_SYM.
36235         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36236         "bp-asm.h".
36237         (PARMS): Do not use macros from bp-asm.h.
36238         (STR): Likewise.
36239         (CHR): Likewise.
36240         (__rawmemchr): Do not use BP_SYM.
36241         (rawmemchr): Do not use BP_SYM in weak_alias.
36242         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36243         (PARMS): Do not use macros from bp-asm.h.
36244         (S): Likewise.
36245         (SIZE): Likewise.
36246         (__mpn_rshift): Do not use BP_SYM.
36247         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36248         (PARMS): Do not use macros from bp-asm.h.
36249         (SIGMSK): Likewise.
36250         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36251         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36252         (_start): Do not use BP_SYM.
36253         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36254         (PARMS): Do not use macros from bp-asm.h.
36255         (DEST): Likewise.
36256         (SRC): Likewise.
36257         (__stpcpy): Likewise.  Do not use BP_SYM.
36258         (stpcpy): Do not use BP_SYM in weak_alias.
36259         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36260         "bp-asm.h".
36261         (PARMS): Do not use macros from bp-asm.h.
36262         (DEST): Likewise.
36263         (SRC): Likewise.
36264         (LEN): Likewise.
36265         (__stpncpy): Likewise.  Do not use BP_SYM.
36266         (stpncpy): Do not use BP_SYM in weak_alias.
36267         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36268         (PARMS): Do not use macros from bp-asm.h.
36269         (STR): Likewise.
36270         (CHR): Likewise.
36271         (strchr): Likewise.  Do not use BP_SYM.
36272         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36273         "bp-asm.h".
36274         (PARMS): Do not use macros from bp-asm.h.
36275         (STR): Likewise.
36276         (CHR): Likewise.
36277         (__strchrnul): Likewise.  Do not use BP_SYM.
36278         (strchrnul): Do not use BP_SYM in weak_alias.
36279         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36280         "bp-asm.h".
36281         (PARMS): Do not use macros from bp-asm.h.
36282         (STOP): Likewise.
36283         (strcspn): Do not use BP_SYM.
36284         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36285         "bp-asm.h".
36286         (PARMS): Do not use macros from bp-asm.h.
36287         (STR): Likewise.
36288         (STOP): Likewise.
36289         (strpbrk): Likewise.  Do not use BP_SYM.
36290         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36291         "bp-asm.h".
36292         (PARMS): Do not use macros from bp-asm.h.
36293         (STR): Likewise.
36294         (CHR): Likewise.
36295         (strrchr): Likewise.  Do not use BP_SYM.
36296         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36297         (PARMS): Do not use macros from bp-asm.h.
36298         (SKIP): Likewise.
36299         (strspn): Do not use BP_SYM.
36300         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36301         (PARMS): Do not use macros from bp-asm.h.
36302         (STR): Likewise.
36303         (DELIM): Likewise.
36304         (SAVE): Likewise.
36305         (FUNCTION): Likewise.  Do not use BP_SYM.
36306         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36307         aliases.
36308         (strtok_r): Likewise.
36309         (__GI___strtok_r): Likewise.
36310         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36311         (PARMS): Do not use macros from bp-asm.h.
36312         (S1): Likewise.
36313         (S2): Likewise.
36314         (SIZE): Likewise.
36315         (__mpn_sub_n): Do not use BP_SYM.
36316         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36317         "bp-asm.h".
36318         (PARMS): Do not use macros from bp-asm.h.
36319         (S1): Likewise.
36320         (SIZE): Likewise.
36321         (__mpn_submul_1): Do not use BP_SYM.
36322         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36323         <bp-sym.h>.
36324         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36325         and <bp-asm.h>.
36326         (PARMS): Do not use macros from bp-asm.h.
36327         (FLAGS): Likewise.
36328         (PTID): Likewise.
36329         (TLS): Likewise.
36330         (CTID): Likewise.
36331         (__clone): Do not use BP_SYM.
36332         (clone): Do not use BP_SYM in weak_alias.
36333         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36334         and <bp-asm.h>.
36335         (PARMS): Do not use macros from bp-asm.h.
36336         (LEN): Likewise.
36337         (__mmap64): Do not use BP_SYM.
36338         (mmap64): Do not use BP_SYM in weak_alias.
36339         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36340         <bp-sym.h> and <bp-asm.h>.
36341         (PARMS): Do not use macros from bp-asm.h.
36342         (__posix_fadvise64_l64): Do not use BP_SYM.
36343         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36344         (PARMS): Do not use macros from bp-asm.h.
36345         (NSOPS): Likewise.
36346         (semtimedop): Do not use BP_SYM.
36347         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36348         and <bp-asm.h>.
36350 2013-02-21  Allan McRae  <allan@archlinux.org>
36352         * manual/message.texi (Charset conversion in gettext):
36353         Move @end statement to beginning of line.
36355 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36358         static.
36359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36360         Likewise.
36362         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36363         (denorm): Likewise.
36364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36367 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36369         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36370         tail-call to the resolved function if pltexit isn't needed.
36372 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36375         or Y being zero as being unlikely.
36376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36377         Likewise.
36379 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36381         * manual/nss.texi (System Databases and Name Service Switch):
36382         Remove frobnicate @pxref.
36384 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36386         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36387         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36389 2013-02-20  Petr Machata  <pmachata@redhat.com>
36391         * elf/elf.h (R_ARM_TARGET1): New macro.
36392         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36393         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36394         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36395         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36396         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36397         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36398         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36399         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36400         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36401         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36402         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36403         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36404         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36405         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36406         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36407         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36408         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36409         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36410         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36411         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36412         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36413         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36414         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36415         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36416         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36417         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36418         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36419         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36420         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36421         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36422         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36423         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36424         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36425         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36426         (R_ARM_THM_GOT_BREL12): Likewise.
36427         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36428         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36429         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36430         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36431         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36432         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36433         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36434         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36435         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36437 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36439         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36440         __attribute_used__ to __attribute__ ((unused)).
36442 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36444         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36445         powerpc mpa.c.
36446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36447         comment formatting.
36448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36450 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36452         [BZ #13550]
36453         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36454         Remove macro.
36455         (ENTER): Remove both macro definitions.
36456         (LEAVE): Likewise.
36457         (CHECK_BOUNDS_LOW): Likewise.
36458         (CHECK_BOUNDS_HIGH): Likewise.
36459         (CHECK_BOUNDS_BOTH): Likewise.
36460         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36461         (RETURN_BOUNDED_POINTER): Likewise.
36462         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36463         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36464         (POP_ERRNO_LOCATION_RETURN): Likewise.
36465         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36466         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36467         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36468         macros.
36469         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36470         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36471         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36472         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36473         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36474         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36475         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36476         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36477         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36478         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36479         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36480         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36481         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36482         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36483         removed macros.
36484         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36485         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36486         macros.
36487         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36488         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36489         * sysdeps/i386/i586/memset.S (memset): Likewise.
36490         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36491         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36492         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36493         macros.
36494         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36495         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36496         Change uses of L(2) to L(out).
36497         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36498         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36499         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36500         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36501         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36502         removed macros.
36503         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36504         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36505         macros.
36506         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36507         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36508         (RETURN): Do not use macro LEAVE.
36509         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36510         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36511         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36512         * sysdeps/i386/i686/memset.S (memset): Likewise.
36513         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36514         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36515         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36516         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36517         Likewise.
36518         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36519         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36520         L(1_2) and L(1_3) into L(1).
36521         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36522         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36523         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36524         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36525         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36526         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36527         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36528         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36529         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36530         macros.
36531         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36532         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36533         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36534         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36535         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36536         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36537         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36538         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36539         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36540         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36541         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36542         * sysdeps/i386/strspn.S (strspn): Likewise.
36543         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36544         conditional code.
36545         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36546         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36547         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36548         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36549         L(1_3) into L(1_1).
36550         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36551         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36552         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36553         macros.
36554         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36556 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36558         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36559         macro.
36561 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36563         * math/atest-exp.c (exp_mpn): Remove ROUND.
36564         * math/atest-exp2.c (exp_mpn): Likewise.
36565         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36567         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36568         * stdlib/tst-tls-atexit-lib.c: Likewise.
36569         * stdlib/tst-tls-atexit.c: Likewise.
36571 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36573         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36574         and __attribute_alloc_size__.
36576 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36578         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36579         __attribute_alloc_size__.
36580         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36581         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36583 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36585         * include/programs/xmalloc.h: New file.
36586         * catgets/gencat.c: Include it.
36587         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36588         * elf/pldd.c: Likewise.
36589         * iconv/iconv_charmap.c: Likewise.
36590         * iconv/iconvconfig.c: Likewise.
36591         * iconv/strtab.c: Likewise.
36592         * locale/programs/locale.c: Likewise.
36593         * locale/programs/localedef.h: Likewise.
36594         * locale/programs/simple-hash.c: Likewise.
36595         * nscd/nscd.h: Likewise.
36596         * nss/makedb.c: Likewise.
36597         * sysdeps/generic/ldconfig.h: Likewise.
36599 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36601         * Versions.def: Add GLIBC_2.18.
36602         * include/link.h (struct link_map): New member l_tls_dtor_count.
36603         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36604         (__call_tls_dtors): Likewise.
36605         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36606         __cxa_thread_atexit_impl.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36608         Likewise.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36610         Likewise.
36611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36612         Likewise.
36613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36614         Likewise.
36615         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36617         Likewise.
36618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36619         Likewise.
36620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36622         Likewise.
36623         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36624         (tests): Add test case tst-tls-atexit.
36625         (modules-names): Add shared library for tst-tls-atexit.
36626         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36627         (GLIBC_PRIVATE): Add __call_tls_dtors.
36628         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36629         for libstdc++.
36630         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36631         * stdlib/tst-tls-atexit.c: New test case.
36632         * stdlib/tst-tls-atexit-lib.c: New test case.
36634         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36636         * elf/Versions (ld): Add _dl_find_dso_for_object.
36637         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36638         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36639         (dl_open_worker): Use _dl_find_dso_for_object.
36640         * elf/dl-sym.c (do_sym): Likewise.
36641         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36643 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36645         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36646         Syntactic changes only.
36647         (_dl_runtime_profile): Do a tail-call to the resolved function.
36649 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36651         [BZ #13550]
36652         * sysdeps/x86_64/bp-asm.h: Remove file.
36653         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36654         <bp-sym.h> and <bp-asm.h>.
36655         (__clone): Do not use BP_SYM.
36656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36657         <bp-sym.h> and <bp-asm.h>.
36658         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36659         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36660         "bp-asm.h".
36661         (_setjmp): Do not use BP_SYM.
36662         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36663         "bp-asm.h".
36664         (setjmp): Do not use BP_SYM.
36665         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36666         libc_hidden_def.
36667         (mempcpy): Do not use BP_SYM in weak_alias.
36668         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36669         "bp-asm.h".
36670         (strchr): Do not use BP_SYM.
36671         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36672         "bp-asm.h".
36673         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36674         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36675         (_start): Do not use BP_SYM.
36676         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36677         "bp-asm.h".
36678         (strcat): Do not use BP_SYM.
36679         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36680         "bp-asm.h".
36681         (STRCMP): Do not use BP_SYM.
36682         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36683         "bp-asm.h".
36684         (STRCPY): Do not use BP_SYM.
36685         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36686         "bp-asm.h".
36687         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36688         "bp-asm.h".
36689         (FUNCTION): Do not use BP_SYM.
36690         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36691         weak_alias.
36692         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36694 2013-02-17  Andreas Jaeger  <aj@suse.de>
36696         * time/Versions: Sort entries.
36697         * string/Versions: Likewise.
36698         * resolv/Versions: Likewise.
36699         * posix/Versions: Likewise.
36700         * iconv/Versions: Likewise.
36701         * elf/Versions: Likewise.
36702         * wcsmbs/Versions: Likewise.
36704 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36706         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36707         loop termination condition.
36709         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36710         variable to calculate EZ.
36711         (__sqr): Likewise.
36713         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36714         the lower precision input.
36716 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36718         [BZ #13550]
36719         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36720         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36721         (run-via-rtld-prefix): Do not handle %-bp tests.
36722         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36723         (all-object-suffixes): Remove .ob.
36724         (bppfx): Remove variable.
36725         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36726         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36727         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36728         [$(build-bounded) = yes] (libtype.ob): Likewise.
36729         * Makerules (elide-routines.ob): Remove variable.
36730         (do-tests-clean): Do not handle *-bp.out.
36731         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36732         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36733         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36734         (tests): Do not include $(tests-bp.out).
36735         (xtests): Do not include $(xtests-bp.out).
36736         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36737         [$(build-bounded) = yes] ($(addprefix
36738         $(objpfx),$(binaries-bounded))): Remove rule.
36739         ($(objpfx)%-bp.out): Remove rule.
36740         * config.make.in (build-bounded): Remove variable.
36741         * crypt/Makefile [$(build-bounded) = yes]
36742         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36743         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36744         append to variable.
36745         [$(build-bounded) = yes] (install-lib): Likewise.
36746         [$(build-bounded) = yes] (generated): Likewise.
36747         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36748         Remove rule.
36749         * intl/Makefile [$(build-bounded) = yes]
36750         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36751         * math/Makefile [$(build-bounded) = yes]
36752         ($(tests:%=$(objpfx)%-bp): Likewise.
36753         * misc/Makefile [$(build-bounded) = yes]
36754         ($(objpfx)tst-tsearch-bp): Likewise.
36755         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36756         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36757         Remove dependency.
36758         * string/Makefile (o-objects.ob): Remove variable.
36759         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36760         (CFLAGS-.ob): Remove variable.
36761         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36762         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36763         both definitions of variable.
36764         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36765         (ASFLAGS-.ob): Remove variable.
36767 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36769         [BZ #13550]
36770         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36771         Remove __BOUNDED_POINTERS__ from condition.
36772         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36773         * string/bits/string2.h [!__NO_STRING_INLINES &&
36774         !__BOUNDED_POINTERS__]: Likewise.
36775         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36776         Likewise.
36777         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36778         Remove conditional code.
36779         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36780         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36781         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36782         condition.
36784         [BZ #13550]
36785         * csu/libc-start.c: Do not include <bp-sym.h>.
36786         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36787         * elf/dl-open.c: Do not include <bp-sym.h>.
36788         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36789         * math/fegetenv.c: Do not include <bp-sym.h>.
36790         (fegetenv): Do not use BP_SYM in versioned symbols.
36791         * nptl/sysdeps/pthread/bits/libc-lockP.h
36792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36793         <bp-sym.h>.
36794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36795         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36797         (__pthread_mutex_destroy): Likewise.
36798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36799         (__pthread_mutex_lock): Likewise.
36800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36801         (__pthread_mutex_trylock): Likewise.
36802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36803         (__pthread_mutex_unlock): Likewise.
36804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36805         (__pthread_mutexattr_init): Likewise.
36806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36807         (__pthread_mutexattr_destroy): Likewise.
36808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36809         (__pthread_mutexattr_settype): Likewise.
36810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36811         (__pthread_rwlock_init): Likewise.
36812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36813         (__pthread_rwlock_destroy): Likewise.
36814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36815         (__pthread_rwlock_rdlock): Likewise.
36816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36817         (__pthread_rwlock_tryrdlock): Likewise.
36818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36819         (__pthread_rwlock_wrlock): Likewise.
36820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36821         (__pthread_rwlock_trywrlock): Likewise.
36822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36823         (__pthread_rwlock_unlock): Likewise.
36824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36825         (__pthread_key_create): Likewise.
36826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36827         (__pthread_setspecific): Likewise.
36828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36829         (__pthread_getspecific): Likewise.
36830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36831         Likewise.
36832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36833         (_pthread_cleanup_push_defer): Likewise.
36834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36835         (_pthread_cleanup_pop_restore): Likewise.
36836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36837         (pthread_setcancelstate): Likewise.
36838         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36839         <bp-sym.h>.
36840         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36841         (memchr): Do not use BP_SYM in weak_alias.
36842         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36843         (fegetenv): Do not use BP_SYM in versioned symbols.
36844         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36845         (fesetenv): Do not use BP_SYM in versioned symbols.
36846         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36847         (feupdateenv): Do not use BP_SYM in versioned symbols.
36848         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36849         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36850         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36851         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36852         (open64): Do not use BP_SYM in weak_alias.
36853         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36854         (fegetenv): Do not use BP_SYM in versioned symbols.
36855         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36856         (fesetenv): Do not use BP_SYM in versioned symbols.
36857         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36858         (feupdateenv): Do not use BP_SYM in versioned symbols.
36859         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36860         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36861         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36862         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36863         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36864         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36865         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36866         <bp-sym.h>.
36867         (__libc_start_main): Do not use BP_SYM.
36869 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36872         redundant return line.
36873         (norm): Likewise.
36874         (denorm): Likewise.
36875         (dbl_mp): Likewise.
36876         (sub_magnitudes): Likewise.
36877         (__add): Likewise.
36878         (__sub): Likewise.
36879         (__mul): Likewise.
36880         (__inv): Likewise.
36881         (__dvd): Likewise.
36882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36883         (norm): Likewise.
36884         (denorm): Likewise.
36885         (dbl_mp): Likewise.
36886         (sub_magnitudes): Likewise.
36887         (__add): Likewise.
36888         (__sub): Likewise.
36889         (__mul): Likewise.
36890         (__inv): Likewise.
36891         (__dvd): Likewise.
36893         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36894         instead of __mul.
36895         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36896         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36897         (cc32): Likewise.
36899         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36900         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36902         of __mul for squares.
36903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36904         function
36905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36906         Likewise.
36907         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36908         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36910 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36912         [BZ #13550]
36913         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36914         code.
36915         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36916         prototype or function definition.  Rename ubp_* variables and
36917         parameters.  Remove argv definitions conditional on
36918         [__BOUNDED_POINTERS__].
36919         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36920         * elf/dl-runtime.c (_dl_fixup): Likewise.
36921         * include/set-hooks.h (RUN_HOOK): Likewise.
36922         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36923         definition.
36924         * string/strcpy.c (strcpy): Do not use __unbounded.
36925         * sysdeps/generic/frame.h (struct layout): Likewise.
36926         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36927         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36928         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36929         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36930         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36931         (__backtrace): Likewise.
36932         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36933         use __ptrvalue.
36934         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36935         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36936         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36937         Likewise.
36938         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36939         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36940         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36941         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36942         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36943         Do not use __unbounded.
36944         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36945         Rename __unboundedrlimits parameter to rlimits in prototype.
36946         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36947         Do not use __unbounded.
36948         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36949         not use __ptrvalue.
36950         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36951         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36952         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36953         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36954         __ptrvalue or __unbounded.
36955         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36956         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36957         use __unbounded.
36958         (__new_msgctl): Do not use __ptrvalue.
36959         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36960         __unbounded.
36961         (__libc_msgrcv): Do not use __ptrvalue.
36962         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36963         startup_info): Do not use __unbounded.
36964         (__libc_start_main): Likewise.  Rename ubp_* variables and
36965         parameters.  Remove argv definitions conditional on
36966         [__BOUNDED_POINTERS__].
36967         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36968         __ptrvalue.
36969         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36970         use __unbounded.
36971         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36972         or __ptrvalue.
36973         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36974         use __unbounded.
36975         (__new_shmctl): Do not use __ptrvalue.
36976         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36977         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36978         Likewise.
36979         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36980         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36981         (__libc_sigaction): Likewise.
36982         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36983         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36984         Likewise.
36985         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36987 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36989         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36991         * string/mempcpy.c: Implement by calling memcpy.
36993 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36998         evaluation.
37000         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37001         values in the mantissa.
37003         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37004         minimize writes to Z.
37005         (sub_magnitudes): Simplify code a bit.
37007 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37009         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37010         from the message.  The linker prefixes all warnings with that already.
37012 2013-02-12  Andreas Schwab  <schwab@suse.de>
37014         [BZ #15078]
37015         * posix/regexec.c (extend_buffers): Add parameter min_len.
37016         (check_matching): Pass minimum needed length.
37017         (clean_state_log_if_needed): Likewise.
37018         (get_subexp): Likewise.
37019         * posix/Makefile (tests): Add bug-regex34.
37020         (bug-regex34-ENV): Define.
37021         * posix/bug-regex34.c: New file.
37023         [BZ #11561]
37024         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37025         elements compare against the byte sequence of it, not its name.
37026         * posix/Makefile (tests): Add bug-regex35.
37027         (bug-regex35-ENV): Define.
37028         * posix/bug-regex35.c: New file.
37030 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37032         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37033         comment.
37034         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37035         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37036         (CHECK_EOL): Add undef.
37038 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37040         * bits/stdlib-bsearch.h: New file.
37041         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37042         * stdlib/stdlib.h: Likewise.
37044 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37046         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37047         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37048         declaration.
37049         * manual/search.texi (Array Search Function): Add missing const in
37050         lfind prototype.
37051         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37052         declaration to use rlim_t.
37053         (Basic Scheduling Functions): Remove erroneous const from
37054         sched_getparam prototype.  Remove erroneous * from
37055         sched_get_priority_max and sched_get_priority_min prototypes.
37056         (Resource Usage): Fix summary @comment on vtimes to refer to
37057         sys/vtimes.h rather than vtimes.h.
37058         Add missing *s in vtimes prototype.
37059         (Limits on Resources): Fix ulimit prototype to return long int.
37060         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37061         prototypes to use long int rather than double.
37062         (BSD Random): Fix initstate and setstate to use char *, not void *.
37063         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37064         prototype to make second argument 'struct aiocb64 *const[]'.
37065         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37066         (Status of AIO Operations): Remove erroneous const in aio_return and
37067         aio_return64 prototypes.
37068         (Synchronizing I/O): Fix sync prototype to return void.
37069         * manual/startup.texi (Suboptions): Remove an erroneous const in
37070         getsubopt prototype.
37071         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37072         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37073         use size_t rather than int.
37074         (Scanning All Users): Likewise for getpwent_r.
37075         (Setting Groups): Add missing const to setgroups prototype.
37076         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37077         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37078         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37079         'const void *' rather than 'const char *'.
37080         (Host Address Functions): Likewise for inet_ntop.
37081         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37082         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37083         ssize_t for return value.
37084         (Sending Data): Likewise for send, sendto, sendmsg.
37085         (Socket Option Functions): Add a missing const in setsockopt prototype.
37086         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37087         use wchar_t for the argument.
37088         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37089         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37090         take no arguments.
37091         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37092         double/float/long double for second argument.
37093         Fix return types of significand, significandf, significandl.
37094         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37095         argument in fchmod prototype.
37096         (File Owner): Use uid_t and gid_t in fchown prototype.
37097         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37098         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37099         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37100         use 'const struct dirent **' as argument types to CMP function pointer
37101         argument.
37102         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37103         (File Times): Fix summary magic @comment for struct utimbuf and utime
37104         to refer to utime.h, not time.h.
37105         * manual/string.texi (Argz Functions): Add missing const in
37106         argz_extract and argz_next prototypes.
37107         (Finding Tokens in a String): Likewise for basename.
37108         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37109         (Copying and Concatenation): Fix typo in wmemmove prototype.
37110         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37111         (Signal Stack): Remove erroneous const in sigstack prototype.
37112         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37113         prototype.
37114         (Simple Calendar Time): Likewise for stime.
37115         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37116         prototype.
37117         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37118         say sys/sysctl.h instead.
37119         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37120         and vsyslog prototypes.
37122 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37124         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37125         Remove.
37127 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37129         * misc/sys/mman.h: Fix typo in mremap comment.
37131 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37133         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37134         the '\0' terminator.
37136 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37138         [BZ #13550]
37139         * debug/segfault.c: Don't include <bp-checks.h>.
37140         * sysdeps/generic/bp-checks.h: Remove file.
37141         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37142         (__GETDENTS): Don't use CHECK_N.
37143         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37144         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37145         (__getgroups): Don't use CHECK_N.
37146         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37147         (setgroups): Don't use CHECK_N.
37148         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37149         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37150         (__libc_msgrcv): Don't use CHECK_N.
37151         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37152         (__libc_msgsnd): Don't use CHECK_N.
37153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37154         <bp-checks.h>.
37155         (__libc_pread): Don't use CHECK_N.
37156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37157         include <bp-checks.h>.
37158         (__libc_pread64): Don't use CHECK_N.
37159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37160         include <bp-checks.h>.
37161         (__libc_pwrite): Don't use CHECK_N.
37162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37163         include <bp-checks.h>.
37164         (__libc_pwrite64): Don't use CHECK_N.
37165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37166         <bp-checks.h>.
37167         (__libc_pread): Don't use CHECK_N.
37168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37169         include <bp-checks.h>.
37170         (__libc_pread64): Don't use CHECK_N.
37171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37172         include <bp-checks.h>.
37173         (__libc_pwrite): Don't use CHECK_N.
37174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37175         include <bp-checks.h>.
37176         (__libc_pwrite64): Don't use CHECK_N.
37177         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37178         (do_pread): Don't use CHECK_N.
37179         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37180         (do_pread64): Don't use CHECK_N.
37181         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37182         (do_pwrite): Don't use CHECK_N.
37183         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37184         (do_pwrite64): Don't use CHECK_N.
37185         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37186         (__libc_readv): Don't use CHECK_N.
37187         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37188         (semop): Don't use CHECK_N.
37189         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37190         <bp-checks.h>.
37191         (semtimedop): Don't use CHECK_N.
37192         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37193         (__libc_pread): Don't use CHECK_N.
37194         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37195         <bp-checks.h>.
37196         (__libc_pread64): Don't use CHECK_N.
37197         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37198         <bp-checks.h>.
37199         (__libc_pwrite): Don't use CHECK_N.
37200         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37201         <bp-checks.h>.
37202         (__libc_pwrite64): Don't use CHECK_N.
37203         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37204         <bp-checks.h>.
37205         (__libc_msgrcv): Don't use CHECK_N.
37206         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37207         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37208         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37209         (__libc_writev): Don't use CHECK_N.
37211 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37213         * string/strcpy.c: Removed unused variable.
37215         * Makeconfig (+sysdep-includes): Define with := rather than =.
37216         Use an existing include/ subdir of each sysdeps dir before it.
37218 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37220         * nscd/connection.c (register_traced_file): Comment function.
37221         [HAVE_INOTIFY] (union __inev): Define.
37222         [HAVE_INOTIFY] (inotify_check_files): New function.
37223         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37224         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37225         clear_db_cache.
37226         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37228 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37230         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37231         loaded if not already and that a failure is permanent.
37233 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37235         [BZ #15006]
37236         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37237         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37239 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37241         [BZ #13550]
37242         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37243         (CHECK_1_NULL_OK): Likewise.
37244         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37245         (__fxstat): Do not use CHECK_1.
37246         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37247         <bp-checks.h>.
37248         (___fxstat64): Do not use CHECK_1.
37249         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37250         <bp-checks.h>.
37251         (__fxstatat): Do not use CHECK_1.
37252         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37253         <bp-checks.h>.
37254         (__fxstatat64): Do not use CHECK_1.
37255         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37256         <bp-checks.h>.
37257         (__fxstat): Do not use CHECK_1.
37258         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37259         <bp-checks.h>.
37260         (__fxstatat): Do not use CHECK_1.
37261         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37262         <bp-checks.h>.
37263         (__getresgid): Do not use CHECK_1.
37264         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37265         <bp-checks.h>.
37266         (__getresuid): Do not use CHECK_1.
37267         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37268         <bp-checks.h>.
37269         (__lxstat): Do not use CHECK_1.
37270         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37271         <bp-checks.h>.
37272         (__old_msgctl): Do not use CHECK_1.
37273         (__new_msgctl): Likewise.
37274         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37275         <bp-checks.h>.
37276         (__new_setrlimit): Do not use CHECK_1.
37277         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37278         <bp-checks.h>.
37279         (__old_shmctl): Do not use CHECK_1.
37280         (__new_shmctl): Likewise.
37281         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37282         <bp-checks.h>.
37283         (__xstat): Do not use CHECK_1.
37284         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37285         (__lxstat): Do not use CHECK_1.
37286         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37287         <bp-checks.h>.
37288         (___lxstat64): Do not use CHECK_1.
37289         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37290         (__old_msgctl): Do not use CHECK_1.
37291         (__new_msgctl): Likewise.
37292         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37293         <bp-checks.h>.
37294         (__gettimeofday): Do not use CHECK_1.
37295         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37296         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37297         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37298         <bp-checks.h>.
37299         (__gettimeofday): Do not use CHECK_1.
37300         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37301         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37302         (__new_shmctl): Do not use CHECK_1.
37303         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37304         <bp-checks.h>.
37305         (do_sigtimedwait): Do not use CHECK_1.
37306         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37307         <bp-checks.h>.
37308         (do_sigwaitinfo): Do not use CHECK_1.
37309         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37310         <bp-checks.h>.
37311         (msgctl): Do not use CHECK_1.
37312         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37313         <bp-checks.h>.
37314         (shmctl): Do not use CHECK_1.
37315         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37316         (ustat): Do not use CHECK_1.
37317         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37318         <bp-checks.h>.
37319         (__fxstat): Do not use CHECK_1.
37320         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37321         <bp-checks.h>.
37322         (__fxstatat): Do not use CHECK_1.
37323         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37324         <bp-checks.h>.
37325         (__lxstat): Do not use CHECK_1.
37326         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37327         <bp-checks.h>.
37328         (__xstat): Do not use CHECK_1.
37329         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37330         (__xstat): Do not use CHECK_1.
37331         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37332         (___xstat64): Do not use CHECK_1.
37334         [BZ #13550]
37335         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37336         definitions.
37337         (CHECK_BOUNDS_HIGH): Likewise.
37338         * string/strcpy.c: Do not include <bp-checks.h>.
37339         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37341 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37343         * nscd/nscd-client.h (__nscd_drop_map_ref):
37344         Add __attribute__ ((unused)).
37345         * nis/nss-nisplus.h (niserr2nss): Likewise.
37347         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37348         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37350         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37351         Remove inline keyword.
37352         * include/rounding-mode.h (round_away): Likewise.
37353         * libio/wfileops.c (adjust_wide_data): Likewise.
37354         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37355         (__m128i_strloadu_tolower): Likewise.
37356         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37357         (__m128i_strloadu_tolower): Likewise.
37358         * time/mktime.c (ydhms_diff): Likewise.
37359         * locale/elem-hash.h (elem_hash): Likewise.
37360         * locale/setlocale.c (setdata): Likewise.
37361         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37362         (re_string_wchar_at): Likewise.
37363         (bitset_not, bitset_merge, bitset_mask): Likewise.
37364         [!(__GNUC__ > 3)] (inline): Remove macro.
37365         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37366         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37367         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37368         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37369         * string/memcmp.c (memcmp_bytes): Likewise.
37370         * locale/programs/locarchive.c (compute_hashval): Likewise.
37371         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37372         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37373         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37374         * nss/getent.c (print_rpc, print_protocols): Likewise.
37375         (print_passwd, print_group, print_aliases): Likewise.
37376         * nis/nss-nisplus.h (niserr2nss): Likewise.
37377         * nscd/connections.c (restart_p): Likewise.
37378         Change return type to bool.
37380 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37382         * Makeconfig (all-Depend-files): Add existing
37383         $(sorted-subdirs:=/Depend) files.
37384         (all-subdirs): Remove nss.
37385         * sysdeps/unix/inet/Subdirs: Add it here instead.
37386         * hesiod/Depend: New file.
37388         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37389         instead of calling alloca.
37391         * io/lseek.c (__lseek): Rename to __libc_lseek.
37392         Define __lseek as an alias.
37394         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37396 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37398         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37399         else clause and remove check for non-standard endianness.
37401 2013-02-04  David S. Miller  <davem@davemloft.net>
37403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37405 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37407         [BZ #13550]
37408         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37409         (__ubp_memchr): Remove prototype.
37410         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37411         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37412         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37413         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37414         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37415         Remove alias.
37416         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37417         (__ubp_memchr): Likewise.
37418         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37419         (__ubp_memchr): Likewise.
37420         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37421         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37422         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37423         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37424         CHECK_STRING.
37425         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37426         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37427         (__getcwd): Do not use CHECK_STRING.
37428         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37429         <bp-checks.h>.
37430         (__real_chown): Do not use CHECK_STRING.
37431         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37432         <bp-checks.h>.
37433         (fchownat): Do not use CHECK_STRING.
37434         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37435         CHECK_STRING.
37436         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37437         <bp-checks.h>.
37438         (__lchown): Do not use CHECK_STRING.
37439         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37440         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37441         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37442         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37444         include <bp-checks.h>.
37445         (truncate64): Do not use CHECK_STRING.
37446         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37447         <bp-checks.h>.
37448         (__real_chown): Do not use CHECK_STRING.
37449         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37450         <bp-checks.h>.
37451         (__lchown): Do not use CHECK_STRING.
37452         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37453         <bp-checks.h>.
37454         (__chown): Do not use CHECK_STRING.
37455         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37456         <bp-checks.h>.
37457         (truncate64): Do not use CHECK_STRING.
37458         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37459         Likewise.
37460         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37461         (__xmknod): Do not use CHECK_STRING.
37462         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37463         <bp-checks.h>.
37464         (__xmknodat): Do not use CHECK_STRING.
37465         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37466         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37468 2013-02-04  Andreas Schwab  <schwab@suse.de>
37470         [BZ #14142]
37471         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37472         * include/netdb.h: Likewise for h_errno.
37473         * elf/tst-stackguard1.c: Include <tls.h>.
37475 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37477         * elf/link.h (struct link_map): Extend the l_addr comment.
37478         * include/link.h (struct link_map): Likewise.
37480 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37482         [BZ #13550]
37483         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37484         (BOUNDED_1): Remove macro.
37485         * debug/backtrace.c: Don't include <bp-checks.h>.
37486         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37487         (__backtrace): Likewise.
37488         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37489         <bp-checks.h>.
37490         (__backtrace): Don't use BOUNDED_1.
37491         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37492         <bp-checks.h>.
37493         (__backtrace): Don't use BOUNDED_1.
37494         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37495         (__backtrace): Don't use BOUNDED_1.
37496         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37497         (shmat): Don't use BOUNDED_N.
37499 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37501         [BZ #13550]
37502         * sysdeps/generic/bp-start.h: Remove file.
37503         * csu/libc-start.c: Don't include <bp-start.h>.
37504         (LIBC_START_MAIN): Set up __environ directly instead of using
37505         INIT_ARGV_and_ENVIRON.
37506         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37507         <bp-start.h>.
37509         [BZ #13550]
37510         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37511         definitions.
37512         (CHECK_FCNTL): Likewise.
37513         (CHECK_N_PAGES): Likewise.
37515         [BZ #13550]
37516         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37517         definitions.
37518         (CHECK_SIGSET_NULL_OK): Likewise.
37519         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37520         <bp-checks.h>.
37521         (sigpending): Don't use CHECK_SIGSET.
37522         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37523         <bp-checks.h>.
37524         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37525         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37526         <bp-checks.h>.
37527         (do_sigsuspend): Don't use CHECK_SIGSET.
37528         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37529         use CHECK_SIGSET.
37530         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37531         (do_sigwait): Don't use CHECK_SIGSET.
37532         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37533         use CHECK_SIGSET.
37534         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37535         include <bp-checks.h>.
37536         (sigpending): Don't use CHECK_SIGSET.
37537         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37538         include <bp-checks.h>.
37539         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37540         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37541         <bp-checks.h>.
37542         (sigpending): Don't use CHECK_SIGSET.
37543         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37544         <bp-checks.h>.
37545         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37547         [BZ #13550]
37548         * sysdeps/generic/bp-semctl.h: Remove file.
37549         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37550         <bp-checks.h> and <bp-semctl.h>.
37551         (__old_semctl): Don't use CHECK_SEMCTL.
37552         (__new_semctl): Likewise.
37553         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37554         and <bp-semctl.h>.
37555         (__old_semctl): Don't use CHECK_SEMCTL.
37556         (__new_semctl): Likewise.
37557         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37558         <bp-checks.h> and <bp-semctl.h>.
37559         (__old_semctl): Don't use CHECK_SEMCTL.
37560         (__new_semctl): Likewise.
37561         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37562         <bp-checks.h> and <bp-semctl.h>.
37563         (semctl): Don't use CHECK_SEMCTL.
37565         [BZ #13550]
37566         * Makerules (elide-bp-thunks): Remove variable.
37567         (elide-routines.oS): Don't use $(elide-bp-thunks).
37568         (elide-routines.os): Likewise.
37569         (elide-routines.o): Likewise.
37570         (elide-routines.op): Likewise.
37571         (elide-routines.og): Likewise.
37572         (objects): Don't use $(bp-thunks).
37573         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37574         include.
37575         (common-generated): Do not add s-proto-bp.d.
37576         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37577         (int): Likewise.
37578         (typ): Likewise.
37579         Do not generate makefile rules for bounded-pointer thunks.
37580         * sysdeps/generic/bp-thunks.h: Remove file.
37581         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37582         * sysdeps/unix/s-proto-bp.S: Likewise.
37584         [BZ #15062]
37585         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37586         parts of result separately when argument is not close to line from
37587         -i to i and one part of argument is small.
37588         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37589         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37590         * math/libm-test.inc (cacos_test): Add more tests.
37591         (casin_test): Likewise.
37592         (casinh_test): Likewise.
37593         * sysdeps/i386/fpu/libm-test-ulps: Update.
37594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37596 2013-01-31  David S. Miller  <davem@davemloft.net>
37598         * po/de.po: Update from translation team.
37600 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37602         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37604 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37606         * configure.in (_AC_PROG_CC_C89): New definition.
37607         * configure: Regenerate.
37609         * configure.in (AC_PROG_CPP): New definition.
37610         * configure: Regenerate.
37612 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37614         * debug/tst-backtrace.h: New file.
37615         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37616         (ret): Remove variable.
37617         (x): Likewise.
37618         (FAIL): Remove macro.
37619         (NO_INLINE): Likewise.
37620         (fn1): Use match function instead of strstr.
37621         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37622         (ret): Remove variable.
37623         (x): Likewise.
37624         (FAIL): Remove macro.
37625         (NO_INLINE): Likewise.
37626         (fn): Use match function instead of strstr.
37627         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37628         (ret): Remove variable.
37629         (x): Likewise.
37630         (FAIL): Remove macro.
37631         (NO_INLINE): Likewise.
37632         (handle_signal): Use match function instead of strstr.
37633         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37634         (ret): Remove variable.
37635         (x): Likewise.
37636         (FAIL): Remove macro.
37637         (NO_INLINE): Likewise.
37638         (handle_signal): Use match function instead of strstr.
37640 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37642         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37644 2013-01-23  David S. Miller  <davem@davemloft.net>
37646         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37647         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37648         argument of CAS if possible.
37649         * sysdeps/sparc/sparc64/bits/atomic.h
37650         (__arch_compare_and_exchange_val_32_acq): Likewise.
37651         (__arch_compare_and_exchange_val_64_acq): Likewise.
37653 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37655         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37656         * sysdeps/posix/ulimit.c: ... this.
37657         Include <limits.h>.
37658         * sysdeps/unix/bsd/ulimit.c: Remove file.
37660 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37662         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37663         (LDFLAGS-tst-array5): Likewise.
37665 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #15036]
37668         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37669         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37670         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37671         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37673 2013-01-21  David S. Miller  <davem@davemloft.net>
37675         * sysdeps/sparc/backtrace.c: New file.
37676         * sysdeps/sparc/sparc32/backtrace.h: New file.
37677         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37678         * sysdeps/sparc/sparc64/backtrace.h: New file.
37679         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37680         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37681         -funwind-tables.
37683 2013-01-21  Andreas Schwab  <schwab@suse.de>
37685         [BZ #15020]
37686         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37687         closed its stdout.
37689 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37692         "mpa2.h".
37693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37695 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37696             Mark Mitchell  <mark@codesourcery.com>
37697             Tom de Vries  <tom@codesourcery.com>
37698             Paul Pluzhnikov  <ppluzhnikov@google.com>
37700         * debug/tst-backtrace2.c: New file.
37701         * debug/tst-backtrace3.c: Likewise.
37702         * debug/tst-backtrace4.c: Likewise.
37703         * debug/tst-backtrace5.c: Likewise.
37704         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37705         (CFLAGS-tst-backtrace3.c): Likewise.
37706         (CFLAGS-tst-backtrace4.c): Likewise.
37707         (CFLAGS-tst-backtrace5.c): Likewise.
37708         (LDFLAGS-tst-backtrace2): Likewise.
37709         (LDFLAGS-tst-backtrace3): Likewise.
37710         (LDFLAGS-tst-backtrace4): Likewise.
37711         (LDFLAGS-tst-backtrace5): Likewise.
37712         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37713         tst-backtrace4 and tst-backtrace5.
37715 2013-01-18  Anton Blanchard  <anton@samba.org>
37716             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37718         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37719         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37720         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37721         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37723         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37724         "+r" and remove output regs list as redundant.  Add explicit inline
37725         asm to specify register of return val to work around compiler codegen
37726         bug.  Remove (int) cast on return value.  Add return type parameter to
37727         use in macro so that this macro does not truncate return value for
37728         64-bit values.
37729         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37730         pass to INTERNAL_VSYSCALL_NCS.
37731         (INLINE_VSYSCALL): Add 'long int' as return type to
37732         INTERNAL_VSYSCALL_NCS macro invocation.
37733         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37734         INTERNAL_VSYSCALL_NCS macro invocation.
37735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37737 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37739         [BZ #14496]
37740         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37741         Fix application of SIMD FP exception mask.
37743         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37744         mp_no from a power of two.
37745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37746         __mpexp_twomm1.  Use __pow_mp.
37748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37749         multiplication.
37751 2013-01-17  David S. Miller  <davem@davemloft.net>
37753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37755 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37757         [BZ #15023]
37758         * include/complex.h: Condition contents on [!_COMPLEX_H].
37759         (__kernel_casinhf): New prototype.
37760         (__kernel_casinh): Likewise.
37761         (__kernel_casinhl): Likewise.
37762         * math/Makefile (libm_calls): Add k_casinh.
37763         * math/k_casinh.c: New file.
37764         * math/k_casinhf.c: Likewise.
37765         * math/k_casinhl.c: Likewise.
37766         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37767         finite nonzero arguments.
37768         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37769         finite nonzero arguments.
37770         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37771         finite nonzero arguments.
37772         * math/s_casinh.c: Do not include <float.h>.
37773         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37774         * math/s_casinhf.c: Do not include <float.h>.
37775         (__casinhf): Move code for finite nonzero arguments to
37776         k_casinhf.c.
37777         * math/s_casinhl.c: Do not include <float.h>.
37778         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37779         redefine.
37780         (__casinhl): Move code for finite nonzero arguments to
37781         k_casinhl.c.
37782         * math/libm-test.inc (cacos_test): Add more tests.
37783         * sysdeps/i386/fpu/libm-test-ulps: Update.
37784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37786 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37788         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37789         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37790         [!HAVE_MREMAP]: Remove [defined linux] case.
37791         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37793 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37795         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37797 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37799         * elf/elf.h (R_386_SIZE32): New relocation.
37800         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37801         R_386_SIZE32.
37802         (elf_machine_rela): Likewise.
37803         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37804         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37806 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37808         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37809         (FP_FAST_FMA): Do not define.
37810         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37811         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37812         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37813         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37814         !_SOFT_FLOAT]: Likewise.
37815         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37816         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37817         value.
37818         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37819         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37820         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37821         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37822         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37823         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37824         file.
37826 2013-01-16  Andreas Schwab  <schwab@suse.de>
37828         [BZ #14327]
37829         * include/stdlib.h (__mktemp): Add declaration.
37830         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37831         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37833 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37835         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37836         definitions.
37837         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37838         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37839         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37840         definitions here.
37841         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37842         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37843         definitions.
37844         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37845         and ONE.
37846         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37847         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37848         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37849         definitions.
37850         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37851         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37852         definitions.
37853         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37855         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37857 2013-01-15  David S. Miller  <davem@davemloft.net>
37859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37860         trunc{,f} to libm-sysdep_routes.
37861         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37863         file.
37864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37866         file.
37867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37868         file.
37869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37871         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37872         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37873         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37874         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37875         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37876         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37879         nearbyint{,f} to libm-sysdep_routes.
37880         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37882         New file.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37884         file.
37885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37886         New file.
37887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37888         file.
37889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37891         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37892         file.
37893         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37894         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37895         file.
37896         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37897         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37898         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37900         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37901         libc_feholdexcept and libc_fesetenv.
37903 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37905         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37907 2013-01-14  David S. Miller  <davem@davemloft.net>
37909         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37910         (SPARC_ASM_VIS2_IFUNC): Likewise.
37911         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37913         use of 'siam' instruction.
37914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37915         Likewise.
37916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37917         Likewise.
37918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37919         Likewise.
37920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37925         file.
37926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37927         file.
37928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37929         file.
37930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37931         file.
37932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37937         new VIS2 routines.
37938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37941         Likewise.
37942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37947         routines to libm-sysdep_routines.
37948         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37951         fdim/fdimf to libm-sysdep_routines.
37952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37953         file.
37954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37956         file.
37957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37960         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37961         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37962         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37963         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37965 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37968         to optimize copies.
37970         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37975         local variable MPTWO.
37976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37977         Likewise.
37979 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37981         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37982         GLOB_NOESCAPE.
37984 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37986         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37988 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37990         * manual/pattern.texi (glob_t): Document gl_flags.
37991         (glob64_t): Likewise.
37993 2013-01-11  David S. Miller  <davem@davemloft.net>
37995         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37996         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37997         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37998         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37999         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38000         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38001         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38002         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38003         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38004         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38005         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38006         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38007         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38009         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38010         sparc V9 rather than using V8 code.
38011         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38012         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38014         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38015         Move to...
38016         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38017         Here.
38019 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38021         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38022         not in the main loop.
38023         * configure: Regenerated.
38025 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38027         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38028         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38029         to just #else.
38030         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38031         [!__GLIBC_HAVE_LONG_LONG] case.
38032         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38033         condition to just #else.
38034         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38035         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38036         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38037         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38038         unconditional.
38039         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38040         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38041         #elif condition to just #else.
38042         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38043         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38044         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38045         #elif condition to just #else.
38047 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38049         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38050         (EF_MIPS_ARCH_64): Fix value.
38051         (EF_MIPS_ARCH_32R2): New.
38052         (EF_MIPS_ARCH_64R2): New.
38054 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38056         * Makeconfig (+link-pie-before-libc): New.
38057         (+link-pie-after-libc): Likewise.
38058         (+link-pie-tests): Likewise.
38059         (+link-pie): Rewritten.
38060         (link-before-libc): Remove $(config-LDFLAGS).
38061         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38062         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38063         (config-LDFLAGS): Renamed to ...
38064         (rtld-LDFLAGS): This.
38065         (rtld-tests-LDFLAGS): New macro.
38066         (link-libc-rpath-link): Likewise.
38067         (link-libc-tests-rpath-link): Likewise.
38068         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38069         (link-libc): Prepand $(link-libc-rpath-link).
38070         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38071         (test-program-prefix): New macro.
38072         (test-via-rtld-prefix): Likewise.
38073         (test-program-cmd): Likewise.
38074         (host-test-program-cmd): Likewise.
38075         * Makefile ($(common-objpfx)testrun.sh): Replace
38076         $(run-program-prefix) with $(test-program-prefix).
38077         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38078         $(rtld-LDFLAGS).
38079         ($(common-objpfx)shlib.lds): Likewise.
38080         (build-module-helper): Likewise.
38081         ($(common-objpfx)format.lds): Likewise.
38082         * Rules (binaries-pie-tests): New.
38083         (binaries-pie-notests): Likewise.
38084         (binaries-pie): Rewritten.
38085         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38086         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38087         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38088         (make-test-out): Replace $(host-built-program-cmd) with
38089         $(host-test-program-cmd).
38090         * config.make.in (build-hardcoded-path-in-tests): New variable.
38091         * configure.in (--enable-hardcoded-path-in-tests): New configure
38092         option.
38093         (hardcoded_path_in_tests): New AC_SUBST.
38094         * configure: Regenerated.
38095         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38096         $(built-program-cmd) with $(test-program-cmd).
38097         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38098         (test_program_cmd): This.
38099         * elf/Makefile ($(objpfx)order.out): Run test with
38100         $(test-program-prefix).
38101         ($(objpfx)order2.out): Likewise.
38102         ($(objpfx)tst-initorder.out): Likewise.
38103         ($(objpfx)tst-initorder2.out): Likewise.
38104         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38105         $(test-program-cmd).
38106         ($(objpfx)tst-array1-static.out): Likewise.
38107         ($(objpfx)tst-array2.out): Likewise.
38108         ($(objpfx)tst-array3.out): Likewise.
38109         ($(objpfx)tst-array4.out): Likewise.
38110         ($(objpfx)tst-array5.out): Likewise.
38111         ($(objpfx)tst-array5-static.out): Likewise.
38112         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38113         $(test-program-cmd).
38114         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38115         $(run-program-prefix) with $(test-program-prefix).
38116         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38117         (test_program_prefix): This.
38118         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38119         $(run-program-prefix) with $(test-program-prefix).
38120         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38121         (test_program_prefix): This.
38122         * iconvdata/tst-tables.sh: Likewise.
38123         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38124         $(run-program-prefix) with $(test-program-prefix).
38125         ($(objpfx)tst-translit.out): Likewise.
38126         ($(objpfx)tst-gettext2.out): Likewise.
38127         ($(objpfx)tst-gettext4.out): Likewise.
38128         ($(objpfx)tst-gettext6.out): Likewise.
38129         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38130         (test_program_prefix): This.
38131         * intl/tst-gettext2.sh: Likewise.
38132         * intl/tst-gettext4.sh  Likewise.
38133         * intl/tst-gettext6.sh: Likewise.
38134         * intl/tst-translit.sh: Likewise.
38135         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38136         with $(test-program-cmd).
38137         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38138         $(run-program-prefix) with $(test-program-prefix).
38139         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38140         (test_program_prefix): This.
38141         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38142         $(run-program-prefix) with $(test-program-prefix).
38143         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38144         (test_program_prefix): This.
38145         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38146         * posix/Makefile ($(objpfx)globtest.out): Replace
38147         $(run-via-rtld-prefix) and $(test-wrapper) with
38148         $(test-program-prefix) and $(test-via-rtld-prefix).
38149         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38150         $(test-program-prefix).
38151         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38152         $(host-test-program-cmd).
38153         (tst-spawn-ARGS): Likewise.
38154         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38155         $(test-program-prefix).
38156         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38157         (test_via_rtld_prefix): This.
38158         (test_wrapper): Renamed to ...
38159         (test_program_prefix): This.
38160         (run_program_prefix): Replaced by test_program_prefix.
38161         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38162         (test_program_prefix): This.
38163         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38164         with $(host-test-program-cmd).
38165         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38166         $(run-program-prefix) with $(test-program-prefix).
38167         ($(objpfx)tst-printf.out): Likewise.
38168         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38169         $(test-program-cmd).
38170         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38171         (test_program_prefix): This.
38172         * stdio-common/tst-unbputc.sh: Likewise.
38173         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38174         $(run-program-prefix) with $(test-program-prefix).
38175         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38176         (test_program_prefix): This.
38177         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38178         $(built-program-cmd) with $(test-program-cmd).
38180 2013-01-11  Andreas Jaeger  <aj@suse.de>
38182         [BZ #15003]
38183         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38184         value. Sync with Linux 3.7.
38186 2013-01-10  David S. Miller  <davem@davemloft.net>
38188         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38192 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38194         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38195         never set.
38196         * configure: Regenerated.
38198 2013-01-10  David S. Miller  <davem@davemloft.net>
38200         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38201         sparc V9 rather than using V8 code.
38202         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38203         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38205 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38207         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38208         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38209         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38210         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38211         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38212         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38213         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38214         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38215         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38216         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38217         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38218         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38219         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38220         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38221         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38222         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38223         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38224         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38225         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38226         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38227         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38228         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38229         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38230         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38231         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38232         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38233         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38235 2013-01-10  David S. Miller  <davem@davemloft.net>
38237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38239 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38241         * posix/Makefile (tests-static): New variable.
38242         (tests): Add $(tests-static).
38243         (tst-exec-static-ARGS): New variable.
38244         (tst-spawn-static-ARGS): Likewise.
38245         * posix/tst-exec-static.c: New file.
38246         * posix/tst-spawn-static.c: Likewise.
38247         * posix/tst-exec.c: Support run directly.
38248         * posix/tst-spawn.c: Likewise.
38250 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38252         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38253         long.
38254         * math/bits/mathcalls.h (llrint): Likewise.
38255         (llround): Likewise.
38256         * stdlib/stdlib.h (struct drand48_data): Likewise.
38257         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38258         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38259         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38260         Likewise.
38261         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38262         Likewise.
38263         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38264         (elf_greg_t): Likewise.
38265         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38266         (__jmp_buf): Likewise.
38267         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38268         definitions.
38269         (llrint): Likewise, for all definitions.
38270         (llrintl): Likewise.
38272         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38273         Remove [__GNUC__] condition.
38274         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38275         condition to just [__USE_ISOC99].
38276         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38278 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38280         [BZ #14200]
38281         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38282         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38283         defined.
38284         (_POSIX_V6_ILP32_OFF32): Likewise.
38285         (_XBS5_ILP32_OFF32): Likewise.
38286         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38287         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38289 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38291         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38294         doubles __mpexp_twomm1.  Adjust usage.
38295         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38296         Remove.
38298 2013-01-10  Andreas Schwab  <schwab@suse.de>
38300         [BZ #14964]
38301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38302         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38304 2013-01-09  David S. Miller  <davem@davemloft.net>
38306         [BZ #15003]
38307         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38308         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38309         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38310         (TCP_FASTOPEN): Define.
38311         (tcp_repair_opt): New structure.
38312         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38313         enum values.
38314         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38315         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38316         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38317         (tcp_cookie_transactions): New structure.
38319 2013-01-09  Anton Blanchard  <anton@samba.org>
38321         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38322         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38323         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38324         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38326 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38328         * include/features.h (__USE_ANSI): Remove.
38330 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38332         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38334         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38336 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38338         * sysdeps/s390/fpu/libm-test-ulps: Update.
38340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38342         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38343         (__acr): Likewise.
38344         (__cpy): Likewise.
38345         (norm): Likewise.
38346         (denorm): Likewise.
38347         (__mp_dbl): Likewise.
38348         (__dbl_mp): Likewise.
38349         (add_magnitudes): Likewise.
38350         (sub_magnitudes): Likewise.
38351         (__add): Likewise.
38352         (__sub): Likewise.
38353         (__mul): Likewise.
38354         (__inv): Likewise.
38355         (__dvd): Likewise.
38356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
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/powerpc64/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.
38385 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38387         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38388         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38389         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38390         2 && __USE_EXTERN_INLINES]: Likewise.
38392 2013-01-08  Andreas Jaeger  <aj@suse.de>
38394         [BZ# 14985]
38395         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38396         Remove.
38397         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38398         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38400 2013-01-07  Anton Blanchard  <anton@samba.org>
38402         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38403         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38404         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38405         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38406         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38407         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38408         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38409         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38411         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38412         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38413         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38415         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38416         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38417         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38418         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38419         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38420         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38421         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38422         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38424         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38425         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38426         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38427         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38428         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38429         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38432         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38435         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38436         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38440         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38442         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38444         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38446 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38448         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38449         (__MALLOC_PMT): Likewise.
38450         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38451         [__GNUC__], only on [_LIBC].
38452         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38453         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38454         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38455         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38456         forward declaration.
38457         (realloc_hook_ini): Likewise.
38458         (memalign_hook_ini): Likewise.
38459         (__libc_memalign): Do not use __MALLOC_PMT in variable
38460         declaration.
38461         (__libc_valloc): Likewise.
38462         (__libc_pvalloc): Likewise.
38463         (__libc_calloc): Likewise.
38464         (__posix_memalign): Likewise.
38466         [BZ #14996]
38467         * math/s_casinh.c: Include <float.h>.
38468         (__casinh): Do not do computation with squaring and square root
38469         for large arguments.
38470         * math/s_casinhf.c: Include <float.h>.
38471         (__casinhf): Do not do computation with squaring and square root
38472         for large arguments.
38473         * math/s_casinhl.c: Include <float.h>.
38474         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38475         (__casinhl): Do not do computation with squaring and square root
38476         for large arguments.
38477         * math/libm-test.inc (casin_test): Add more tests.
38478         (casinh_test): Likewise.
38479         * sysdeps/i386/fpu/libm-test-ulps: Update.
38480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38482 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38484         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38485         (__x86_64_raw_data_cache_size): Likewise.
38486         (__x86_64_data_cache_size_half): Likewise.
38487         (__x86_64_raw_data_cache_size_half): Likewise.
38488         (__x86_64_shared_cache_size): Likewise.
38489         (__x86_64_raw_shared_cache_size): Likewise.
38490         (__x86_64_shared_cache_size_half): Likewise.
38491         (__x86_64_raw_shared_cache_size_half): Likewise.
38492         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38493         to ...
38494         (__x86_data_cache_size): This.
38495         (__x86_64_raw_data_cache_size): Renamed to ...
38496         (__x86_raw_data_cache_size): This.
38497         (__x86_64_data_cache_size_half): Renamed to ...
38498         (__x86_data_cache_size_half): This.
38499         (__x86_64_raw_data_cache_size_half): Renamed to ...
38500         (__x86_raw_data_cache_size_half): This.
38501         (__x86_64_shared_cache_size): Renamed to ...
38502         (__x86_shared_cache_size): This.
38503         (__x86_64_raw_shared_cache_size): Renamed to ...
38504         (__x86_raw_shared_cache_size): This.
38505         (__x86_64_shared_cache_size_half): Renamed to ...
38506         (__x86_shared_cache_size_half): This.
38507         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38508         (__x86_raw_shared_cache_size_half): This.
38509         * sysdeps/x86_64/memcpy.S: Updated.
38510         * sysdeps/x86_64/memset.S: Likewise.
38511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38512         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38513         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38515 2013-01-04  David S. Miller  <davem@davemloft.net>
38517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38519 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38521         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38522         1 to avoid redefinition warning.
38523         (__USE_GNU): Don't define.
38524         (init_signaling_nan): Protoize.
38526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38528 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38530         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38532         (__cpymn): Likewise.
38533         (norm): Remove commented code.
38534         (denorm): Likewise.
38535         (__mp_dbl): Likewise.
38536         (__inv): Likewise.
38537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38538         (__cpymn): Likewise.
38539         (norm): Remove commented code.
38540         (denorm): Likewise.
38541         (__mp_dbl): Likewise.
38542         (__inv): Likewise.
38544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38545         mp_no value for 1.0 and 2.0.
38546         (norm): Use RADIXI instead of radixi.d.
38547         (denorm): Likewise.
38548         (__mul): Use 0.0 instead of zero.d.
38549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38550         mp_no value for 1.0 and 2.0.
38551         (norm): Use RADIXI instead of radixi.d.
38552         (denorm): Likewise.
38553         (__mul): Use 0.0 instead of zero.d.
38555 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38557         [BZ #14994]
38558         * math/s_casinh.c (__casinh): Reduce finite argument to first
38559         quadrant then set signs of results at the end.
38560         * math/s_casinhf.c (__casinhf): Likewise.
38561         * math/s_casinhl.c (__casinhl): Likewise.
38562         * math/libm-test.inc (casin_test): Add more tests.
38563         (casinh_test): Likewise.
38564         * sysdeps/i386/fpu/libm-test-ulps: Update.
38565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38567 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38569         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38571         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38573         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38574         declarations.
38575         (denorm): Likewise.
38576         (__mp_dbl): Likewise.
38577         (__inv): Likewise.
38579         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38580         and adjust the header comment.
38582         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38583         variable name from declaration.
38585 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38588         Initialize COMMON_CPUID_INDEX_7 element.
38589         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38590         (CPUID_RTM): Likewise.
38591         (HAS_RTM): Likewise.
38592         (COMMON_CPUID_INDEX_7): New enum.
38594 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38596         [BZ #14981]
38597         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38598         size is zero, record memory as freed.
38600 2013-01-03  Andreas Jaeger  <aj@suse.de>
38602         * po/ia.po: Add new Interlingua translation.
38604 2012-01-03  Allan McRae  <allan@archlinux.org>
38606         * locale/programs/localedef.c: Fix description of '--posix' flag.
38608 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38610         * NEWS: Update dates in second copyright notice.
38611         * README: Update copyright dates in example.
38612         * manual/libc.texinfo: Update copyright dates.
38613         * scripts/test-installation.pl: Update copyright date in --version
38614         output.
38616         * hurd/ctty-input.c: Fix copyright notice formatting.
38617         * hurd/ctty-output.c: Likewise.
38618         * hurd/dtable.c: Likewise.
38619         * hurd/hurd-raise.c: Likewise.
38620         * hurd/hurdprio.c: Likewise.
38621         * hurd/msgportdemux.c: Likewise.
38622         * misc/sys/file.h: Likewise.
38623         * misc/sys/ioctl.h: Likewise.
38624         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38625         * sysdeps/mach/hurd/chdir.c: Likewise.
38626         * sysdeps/mach/hurd/fchdir.c: Likewise.
38627         * sysdeps/mach/hurd/rename.c: Likewise.
38628         * sysdeps/mach/hurd/rmdir.c: Likewise.
38629         * sysdeps/mach/hurd/seekdir.c: Likewise.
38630         * sysdeps/mach/hurd/setsid.c: Likewise.
38631         * sysdeps/posix/wait3.c: Likewise.
38633         * All files with FSF copyright notices: Update copyright dates
38634         using scripts/update-copyrights.
38635         * intl/plural.c: Regenerated.
38636         * locale/programs/charmap-kw.h: Likewise.
38637         * locale/programs/locfile-kw.h: Likewise.
38639 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38641         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38642         four values.
38644         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38645         calculation loop and add branch prediction.
38647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38648         check access beyond bounds of m1np.
38650         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38651         MPTWO.
38652         (__inv): Remove local variable MPTWO to use the global
38653         constant.
38654         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38656         variable MPTWO.
38657         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38658         MP3HALFS static const.
38660 2013-01-01  David S. Miller  <davem@davemloft.net>
38662         * po/ca.po: Update from translation team.
38664 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38666         * scripts/update-copyrights: New file.
38667         * Makeconfig: Reformat copyright notice.
38668         * ctype/ctype.h: Likewise.
38669         * debug/swprintf_chk.c: Likewise.
38670         * elf/dl-cache.c: Likewise.
38671         * elf/dl-debug.c: Likewise.
38672         * elf/dl-object.c: Likewise.
38673         * grp/initgroups.c: Likewise.
38674         * hurd/Makefile: Likewise.
38675         * hurd/hurd/signal.h: Likewise.
38676         * hurd/hurdfault.c: Likewise.
38677         * hurd/hurdioctl.c: Likewise.
38678         * hurd/hurdlookup.c: Likewise.
38679         * hurd/intr-msg.c: Likewise.
38680         * iconv/gconv_open.c: Likewise.
38681         * libio/swprintf.c: Likewise.
38682         * locale/lc-ctype.c: Likewise.
38683         * locale/nl_langinfo.c: Likewise.
38684         * mach/Machrules: Likewise.
38685         * mach/Makefile: Likewise.
38686         * malloc/obstack.h: Likewise.
38687         * manual/Makefile: Likewise.
38688         * manual/tsort.awk: Likewise.
38689         * misc/bits/stab.def: Likewise.
38690         * nis/nis_print_group_entry.c: Likewise.
38691         * nis/nis_table.c: Likewise.
38692         * nis/nss_compat/compat-pwd.c: Likewise.
38693         * nis/nss_compat/compat-spwd.c: Likewise.
38694         * po/Makefile: Likewise.
38695         * posix/fnmatch.c: Likewise.
38696         * posix/regex.h: Likewise.
38697         * resolv/Makefile: Likewise.
38698         * resolv/nss_dns/dns-network.c: Likewise.
38699         * resolv/res_hconf.c: Likewise.
38700         * scripts/gen-sorted.awk: Likewise.
38701         * soft-fp/soft-fp.h: Likewise.
38702         * stdio-common/printf.h: Likewise.
38703         * stdlib/monetary.h: Likewise.
38704         * stdlib/random.c: Likewise.
38705         * stdlib/random_r.c: Likewise.
38706         * sysdeps/generic/Makefile: Likewise.
38707         * sysdeps/gnu/Makefile: Likewise.
38708         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38710         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38712         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38714         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38715         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38716         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38717         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38718         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38719         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38720         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38721         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38722         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38723         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38724         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38726         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38731         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38732         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38733         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38734         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38735         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38736         * sysdeps/mach/hurd/errnos.awk: Likewise.
38737         * sysdeps/mach/hurd/fork.c: Likewise.
38738         * sysdeps/mach/hurd/getcwd.c: Likewise.
38739         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38740         * sysdeps/mach/hurd/mmap.c: Likewise.
38741         * sysdeps/mach/hurd/utimes.c: Likewise.
38742         * sysdeps/mach/hurd/xmknod.c: Likewise.
38743         * sysdeps/posix/profil.c: Likewise.
38744         * sysdeps/posix/readdir_r.c: Likewise.
38745         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38746         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38747         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38748         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38750         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38752         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38754         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38755         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38756         * sysdeps/pthread/lio_listio.c: Likewise.
38757         * sysdeps/sparc/dl-procinfo.h: Likewise.
38758         * sysdeps/unix/i386/sysdep.S: Likewise.
38759         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38760         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38761         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38762         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38764         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38765         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38766         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38767         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38768         * sysdeps/wordsize-32/divdi3.c: Likewise.
38769         * time/sys/time.h: Likewise.
38770         * wcsmbs/Makefile: Likewise.
38772 2013-01-01  David S. Miller  <davem@davemloft.net>
38774         * po/fr.po: Update from translation team.
38776         * catgets/gencat.c: Update copyright year.
38777         * csu/version.c: Likewise.
38778         * debug/catchsegv.sh: Likewise.
38779         * debug/pcprofiledump.c: Likewise.
38780         * debug/xtrace.sh: Likewise.
38781         * elf/ldconfig.c: Likewise.
38782         * elf/ldd.bash.in: Likewise.
38783         * elf/pldd.c: Likewise.
38784         * elf/sotruss.ksh: Likewise.
38785         * elf/sprof.c: Likewise.
38786         * iconv/iconv_prog.c: Likewise.
38787         * iconv/iconvconfig.c: Likewise.
38788         * locale/programs/locale.c: Likewise.
38789         * locale/programs/localedef.c: Likewise.
38790         * login/programs/pt_chown.c: Likewise.
38791         * malloc/memusage.sh: Likewise.
38792         * malloc/memusagestat.c: Likewise.
38793         * malloc/mtrace.pl: Likewise.
38794         * nscd/nscd.c: Likewise.
38795         * nss/getent.c: Likewise.
38796         * nss/makedb.c: Likewise.
38797         * posix/getconf.c: Likewise.
38799 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38801         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38802         numbers.
38804 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38806         * math/bits/mathcalls.h (modf): Use __nonnull.
38808 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38810         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38811         (split): Use macro CN instead of the bare value.
38812         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38813         could be used.
38814         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38815         instead of the bare value.
38816         (power1): Likewise.
38818 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38821         __ATAN_TWOM.
38822         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38824         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38825         their values.
38826         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38828         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38829         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38831 2012-12-28  Andreas Jaeger  <aj@suse.de>
38833         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38834         values are from Linux 3.7.
38836         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38837         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38839 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38842         TRUE case.
38844         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38845         (norm): Likewise.
38846         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38847         variables with preprocessor constants.
38848         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38849         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38850         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38852 2012-12-27  Bruno Haible  <bruno@clisp.org>
38854         [BZ #14317]
38855         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38856         only if needed.
38858 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38861         and use variable directly.
38862         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38864         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38865         MPONE.
38866         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38867         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38868         variable MPONE.
38869         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38871         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38872         include directive.  Remove local variable MPONE.
38873         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38874         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38875         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38877 2012-12-25  David S. Miller  <davem@davemloft.net>
38879         * version.h (RELEASE): Set to "development".
38880         (VERSION): Set to "2.17.90".
38881         * NEWS: Add 2.18 section.
38883 2012-12-21  David S. Miller  <davem@davemloft.net>
38885         * po/hr.po: Update from translation team.
38887 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38889         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38891 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38893         * NEWS:  Mention new memcpy for MIPS.
38895 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38897         * manual/contrib.texi (Contributors): Spelling correction.
38899 2012-12-15  David S. Miller  <davem@davemloft.net>
38901         * po/ru.po: Update from translation team.
38903 2012-12-13  David S. Miller  <davem@davemloft.net>
38905         * NEWS: Mention IFUNC testsuite enhancements.
38907         * po/pl.po: Update from translation team.
38908         * po/bg.po: Likewise.
38910         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38911         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38913 2012-12-11  David S. Miller  <davem@davemloft.net>
38915         * po/sv.po: Update from translation team.
38917         * po/vi.po: Update from translation team.
38919         * po/cs.po: Update from translation team.
38921         * po/de.po: Update from translation team.
38922         * po/eo.po: Likewise.
38923         * po/nl.po: Likewise.
38925 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38927         [BZ #14246]
38928         * manual/argp.texi (Argp Helper Functions): Move node to follow
38929         Argp Parsing State.
38931         [BZ #14872]
38932         * manual/conf.texi (Limits on File System Capacity): Mention if
38933         terminating null is included in the max size.
38935 2012-12-10  Andreas Jaeger  <aj@suse.de>
38937         * po/cs.po: Update from translation team.
38939 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38942         void pointer and cast to uintptr_t.
38943         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38944         path.
38945         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38946         * sysdeps/s390/s390-64/memset.S: Likewise.
38948 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38950         [BZ #14833]
38951         * menual/message.texi (Message Translation): Fix typos.
38952         (Helper programs for gettext): Likewise.
38954 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38956         [BZ #14898]
38957         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38958         Change to -1.
38960 2012-12-07  David S. Miller  <davem@davemloft.net>
38962         * po/libc.pot: Update.
38964 2012-12-07  Richard Henderson  <rth@redhat.com>
38966         [BZ #10114]
38967         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38968         normal/normal case to before the switch.
38969         (_FP_DIV): Likewise.
38971 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38972             Mike Frysinger  <vapier@gentoo.org>
38974         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38975         check for __NR_fadvise64_64.
38977 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38979         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38980         0, not just to plain "0" as a statement.
38981         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38982         with cw.
38984 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38986         * NEWS: Use sourceware.org in Bugzilla URL.
38988 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38991         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38993         * stdio-common/tst-put-error.c (do_test): Add newline to the
38994         padded test to ensure flush.
38996 2012-12-05  Jeff Law  <law@redhat.com>
38998         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39000 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39002         * README: Don't refer to ports add-on as distributed separately.
39003         Mention AArch64 in list of systems supported in the ports add-on.
39005         * LICENSES: Add more non-FSF copyright and license notices.
39007         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39008         ((unused)).
39010         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39012         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39013         10000 as width of padded output.
39015 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39017         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39019         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39020         variable LX with __attribute__ ((unused)).
39021         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39022         Likewise.
39023         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39026         with __attribute__ ((unused)).
39028 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39030         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39032 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39034         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39035         (CFLAGS-nldbl-acos.c): New variable.
39036         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39037         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39038         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39039         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39040         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39041         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39042         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39043         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39044         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39045         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39046         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39047         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39048         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39049         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39050         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39051         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39052         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39053         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39054         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39055         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39056         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39057         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39058         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39059         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39060         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39061         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39062         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39063         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39064         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39065         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39066         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39067         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39068         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39069         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39070         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39071         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39072         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39073         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39074         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39075         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39076         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39077         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39078         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39079         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39080         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39081         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39082         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39083         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39084         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39085         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39086         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39087         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39088         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39089         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39090         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39091         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39092         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39093         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39094         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39095         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39096         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39097         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39098         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39099         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39100         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39101         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39102         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39103         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39104         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39105         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39106         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39107         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39108         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39109         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39110         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39111         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39112         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39113         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39114         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39115         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39116         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39117         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39118         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39119         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39120         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39121         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39122         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39123         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39124         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39125         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39126         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39127         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39128         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39129         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39130         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39131         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39132         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39135         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39137         [BZ #14914]
39138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39139         whole low double instead of just low 47 bits when splitting values
39140         into two parts.
39142 2012-12-03  Allan McRae  <allan@archlinux.org>
39144         * manual/stdio.texi (Predefined Printf Handlers): Remove
39145         @hsep and @vsep usage.
39147 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39149         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39150         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39152 2012-12-03  Jeff Law  <law@redhat.com>
39154         * time/sys/time.h (settimeofday): Do not mark TV argument
39155         as __nonnull.
39157 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39159         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39160         when currently writing and seek to current position when not.
39161         * libio/Makefile (tests): Remove bug-fclose1.
39162         * libio/bug-fclose1.c: Delete.
39164 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39166         * manual/arith.texi (feenableexcept): Fix typo.
39167         (fedisableexcept): Likewise.
39169 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39171         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39172         second, differently-typed declaration, rather than a cast.
39174 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39176         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39177         * include/rpc/svc.h: ... here.
39179 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39181         [BZ #13013]
39182         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39183         depending n and resplen2 to catch cases where answer
39184         equals answerp2.
39186 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39188         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39189         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39191 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39193         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39195 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39197         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39199 2012-11-28  Jeff Law  <law@redhat.com>
39201         [BZ #13761]
39202         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39203         dataset_temporary.  Track alloca usage into alloca_used.
39204         If dataset is large allocate and release it via malloc/free.
39206 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39208         [BZ #14197]
39209         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39211 2012-11-28  David S. Miller  <davem@davemloft.net>
39213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39215 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39217         [BZ #14803]
39218         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39219         of pi/2 rounded to nearest to 64 bits.
39220         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39221         nearest to 64 bits.
39222         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39223         bits.
39225 2012-11-28  Jeff Law <law@redhat.com>
39226             Martin Osvald <mosvald@redhat.com>
39228         [BZ #14889]
39229         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39230         * sunrpc/svc.c: Include time.h.
39231         (__svc_accept_failed): New function.
39232         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39233         any reason other than EINTR, call __svc_accept_failed.
39234         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39235         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39237 2012-11-28  Andreas Schwab  <schwab@suse.de>
39239         * scripts/abilist.awk: Also handle indirect functions in .opd
39240         section.
39242 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39244         [BZ #13881]
39245         * sysdeps/x86/fpu/powl_helper.c: New file.
39246         * sysdeps/x86/fpu/Makefile: Likewise.
39247         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39248         (p3): New object.
39249         (__ieee754_powl): Use __powl_helper for finite arguments except
39250         integer exponents below 8.
39251         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39252         (p3): New object.
39253         (__ieee754_powl): Use __powl_helper for finite arguments except
39254         integer exponents below 8.
39255         * math/libm-test.inc (pow_test): Add more tests and enable some
39256         previously disabled tests.
39257         * sysdeps/i386/fpu/libm-test-ulps: Update.
39258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39260 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39261             Carlos O'Donell  <carlos_odonell@mentor.com>
39263         * nss/makedb.c (is_prime): Assert that input is odd and greater
39264         than 4.  Note that fact in a comment too.
39265         (next_prime): Add 4 to input.
39267 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39269         [BZ #11741]
39270         * libio/Makefile (tests): Add test case tst-fwrite-error.
39271         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39272         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39273         * libio/tst-fwrite-error.c: New test case.
39275 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39277         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39278         before casting to void *.
39279         * include/libc-internal.h (__pointer_type): New macro.
39280         (__integer_if_pointer_type_sub): Likewise.
39281         (__integer_if_pointer_type): Likewise.
39282         (cast_to_integer): Likewise.
39283         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39284         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39285         before casting to atomic64_t.
39286         (atomic_exchange_acq): Likewise.
39287         (__arch_exchange_and_add_body): Likewise.
39288         (__arch_add_body): Likewise.
39289         (atomic_add_negative): Likewise.
39290         (atomic_add_zero): Likewise.
39292 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39294         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39295         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39296         (add_fdes): Likewise.
39297         (linear_search_fdes): Likewise.
39298         (binary_search_unencoded_fdes): Likewise.
39300 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39302         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39304 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39306         * configure.in: Autodetect C++ header directories.
39307         * configure: Regenerated.
39309 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39311         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39313 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39317 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39319         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39320         LDBL_MANT_DIG == 106]: Disable some tests.
39321         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39322         Likewise.
39323         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39324         Likewise.
39326         [BZ #14871]
39327         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39328         input for small inputs.  Return +/- pi/2 for large inputs.
39329         * math/libm-test.inc (atan_test): Add more tests.
39331         * sysdeps/generic/unwind-dw2-fde-glibc.c
39332         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39333         __attribute__ ((unused)).
39335         [BZ #14645]
39336         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39337         x * y if x and y are nonzero and z is zero.
39339         [BZ #14811]
39340         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39341         nonzero exponents with absolute value below 0x1p-117 to +/-
39342         0x1p-117.
39344         [BZ #14869]
39345         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39346         up arguments below 2**-450, not just those below 2**-500.
39347         * math/libm-test.inc (hypot_test): Add another test.
39349         [BZ #14868]
39350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39351         Return a+b for ratio over 2**120, not 2**60.
39352         * math/libm-test.inc (hypot_test): Add another test.
39354         * math/libm-test.inc (clog_test): Use
39355         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39356         (clog10_test): Likewise.
39358         [BZ #6778]
39359         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39361 2012-11-22  Andreas Schwab  <schwab@suse.de>
39363         * sysdeps/i386/fpu/libm-test-ulps: Update.
39365 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39367         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39368         printf output with newline.
39370 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39372         [BZ #14865]
39373         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39374         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39375         -z nodlopen, -z initfirst and -z execstack support.
39376         * configure: Regenerated.
39378         * elf/elf.h (DF_1_NODIRECT): New macro.
39379         (DF_1_IGNMULDEF): Likewise.
39380         (DF_1_NOKSYMS): Likewise.
39381         (DF_1_NOHDR): Likewise.
39382         (DF_1_EDITED): Likewise.
39383         (DF_1_NORELOC): Likewise.
39384         (DF_1_SYMINTPOSE): Likewise.
39385         (DF_1_GLOBAUDIT): Likewise.
39386         (DF_1_SINGLETON): Likewise.
39387         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39388         DT_1_SUPPORTED_MASK bits.
39389         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39391 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39393         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39395 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39397         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39398         macro.
39400         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39401         (sendmmsg): Move declarations...
39402         * socket/sys/socket.h: ... here.
39403         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39404         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39405         include it from...
39406         * socket/recvmmsg.c: ... this new file.
39407         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39408         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39409         definition of __sendmmsg hidden.
39410         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39411         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39412         Move ENOSYS stub into and include it from...
39413         * socket/sendmmsg.c: ... this new file.
39414         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39415         (sysdep_routines): Move recvmmsg and sendmmsg...
39416         * socket/Makefile (routines): ... here.
39417         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39418         (GLIBC_PRIVATE): Add __sendmmsg.
39419         * include/sys/socket.h (__sendmmsg): Add declarations.
39420         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39421         sendmmsg.
39423 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39425         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39426         variable I1 with __attribute__ ((unused)).
39427         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39429 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39431         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39432         DUMMY variables with __attribute__ ((unused)).
39434         * bits/byteswap.h: Include <bits/types.h>.
39435         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39437 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39439         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39440         string_t.  Do not manually set errno.
39441         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39442         length with __strnlen.  Make sure to both set errno and return it on
39443         failure.
39445 2012-11-19  David S. Miller  <davem@davemloft.net>
39447         With help from Joseph Myers.
39448         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39449         very large arguments properly.
39450         * math/libm-test.inc (atan_test): New tests.
39451         (atan2_test): New tests.
39452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39455 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39457         [BZ #14856]
39458         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39459         Define to 3.
39461         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39462         [POSIX] (EADDRNOTAVAIL): Likewise.
39463         [POSIX] (EAFNOSUPPORT): Likewise.
39464         [POSIX] (EALREADY): Likewise.
39465         [POSIX] (ECONNABORTED): Likewise.
39466         [POSIX] (ECONNREFUSED): Likewise.
39467         [POSIX] (ECONNRESET): Likewise.
39468         [POSIX] (EDESTADDRREQ): Likewise.
39469         [POSIX] (EDQUOT): Likewise.
39470         [POSIX] (EHOSTUNREACH): Likewise.
39471         [POSIX] (EIDRM): Likewise.
39472         [POSIX] (EISCONN): Likewise.
39473         [POSIX] (ELOOP): Likewise.
39474         [POSIX] (EMULTIHOP): Likewise.
39475         [POSIX] (ENETDOWN): Likewise.
39476         [POSIX] (ENETUNREACH): Likewise.
39477         [POSIX] (ENOBUFS): Likewise.
39478         [POSIX] (ENODATA): Likewise.
39479         [POSIX] (ENOLINK): Likewise.
39480         [POSIX] (ENOMSG): Likewise.
39481         [POSIX] (ENOPROTOOPT): Likewise.
39482         [POSIX] (ENOSR): Likewise.
39483         [POSIX] (ENOSTR): Likewise.
39484         [POSIX] (ENOTCONN): Likewise.
39485         [POSIX] (ENOTSOCK): Likewise.
39486         [POSIX] (EOPNOTSUPP): Likewise.
39487         [POSIX] (EOVERFLOW): Likewise.
39488         [POSIX] (EPROTO): Likewise.
39489         [POSIX] (EPROTONOSUPPORT): Likewise.
39490         [POSIX] (EPROTOTYPE): Likewise.
39491         [POSIX] (ESTALE): Likewise.
39492         [POSIX] (ETIME): Likewise.
39493         [POSIX] (ETXTBSY): Likewise.
39494         [POSIX] (EWOULDBLOCK): Likewise.
39495         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39496         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39497         [POSIX] (SEEK_CUR): Likewise.
39498         [POSIX] (SEEK_END): Likewise.
39499         [POSIX || UNIX98] (mode_t): Do not require.
39500         [POSIX] (off_t): Likewise.
39501         [POSIX] (pid_t): Likewise.
39502         [POSIX] (sys/stat.h): Do not allow header.
39503         [POSIX] (unistd.h): Likewise.
39504         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39505         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39506         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39507         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39508         require.
39509         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39510         sigevent): Specify elements.
39511         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39512         entry.
39513         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39514         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39516         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39517         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39518         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39519         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39520         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39521         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39522         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39523         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39524         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39525         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39526         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39527         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39528         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39529         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39530         Likewise.
39531         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39532         Likewise.
39533         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39534         Likewise.
39535         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39536         Likewise.
39537         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39538         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39539         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39540         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39541         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39542         Specify lower bound on value.
39543         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39544         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39545         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39546         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39547         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39548         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39549         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39550         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39551         value.
39552         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39553         as optional.
39554         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39555         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39556         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39557         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39558         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39559         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39560         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39561         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39562         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39563         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39564         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39565         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39566         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39567         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39568         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39569         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39570         entry.
39571         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39572         optional.
39573         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39574         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39575         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39576         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39577         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39578         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39579         Likewise.
39580         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39581         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39582         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39583         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39584         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39585         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39586         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39587         as optional.
39588         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39589         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39590         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39591         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39592         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39593         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39594         specify as optional.
39595         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39596         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39597         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39598         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39599         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39600         [XPG3] (NL_LANGMAX): Likewise.
39601         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39602         [POSIX || XPG3] (NL_NMAX): Likewise.
39603         [POSIX || XPG3] (NL_SETMAX): Likewise.
39604         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39605         [XPG3] (NZERO): Likewise.
39606         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39607         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39608         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39609         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39610         (REG_ERANGE): Expect.
39611         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39612         optional-constant.
39613         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39614         Use (void) in prototype.
39615         [POSIX] (*_t): Allow.
39616         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39617         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39618         (WRDE_BADVAL): Expect.
39620         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39621         expect.
39622         [XPG3 || XPG4] (O_RSYNC): Likewise.
39623         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39624         Likewise.
39625         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39626         [XPG3 || XPG4] (sigqueue): Likewise.
39627         [XPG3 || XPG4] (sigtimedwait): Likewise.
39628         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39629         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39630         [XPG3 || XPG4] (vsnprintf): Likewise.
39631         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39632         Likewise.
39633         [XPG3 || XPG4] (blksize_t): Likewise.
39634         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39635         Likewise.
39636         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39637         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39638         [XPG3 || XPG4] (struct itimerspec): Likewise.
39639         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39640         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39641         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39642         [XPG3 || XPG4] (clockid_t): Likewise.
39643         [XPG3 || XPG4] (timer_t): Likewise.
39644         [XPG3 || XPG4] (clock_getres): Likewise.
39645         [XPG3 || XPG4] (clock_gettime): Likewise.
39646         [XPG3 || XPG4] (clock_settime): Likewise.
39647         [XPG3 || XPG4] (nanosleep): Likewise.
39648         [XPG3 || XPG4] (timer_create): Likewise.
39649         [XPG3 || XPG4] (timer_delete): Likewise.
39650         [XPG3 || XPG4] (timer_gettime): Likewise.
39651         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39652         [XPG3 || XPG4] (timer_settime): Likewise.
39653         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39654         [XPG3 || XPG4] (getlogin_r): Likewise.
39655         [XPG3 || XPG4] (pread): Likewise.
39656         [XPG3 || XPG4] (pthread_atfork): Likewise.
39657         [XPG3 || XPG4] (pwrite): Likewise.
39659         [BZ #14835]
39660         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39661         <bits/siginfo.h>.
39663 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39665         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39666         finalizing MALLSTREAM.
39668         * sysdeps/mach/hurd/syncfs.c: New file.
39670 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39672         [BZ #14719]
39673         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39674         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39675         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39676         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39677         (_nss_dns_gethostbyname4_r): Likewise.
39678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39679         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39681 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39683         [BZ #13763]
39684         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39686 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39688         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39689         * elf/cache.c (print_entry): Print ",AArch64" for
39690         FLAG_AARCH64_LIB64
39692         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39693         * elf/cache.c (print_entry): Print ",hard-float" for
39694         FLAG_ARM_LIBHF.
39696 2012-11-18  David S. Miller  <davem@davemloft.net>
39698         With help from Joseph Myers.
39699         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39700         cutoff to 2**-13.
39701         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39702         cutoff to 2**-25.
39703         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39704         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39705         small.
39706         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39707         * math/libm-test.inc (y0_test): New tests.
39708         (y1_test): New tests.
39709         * sysdeps/i386/fpu/libm-test-ulps: Update.
39710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39713 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39715         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39716         64-bit targets.
39717         * configure: Regenerated.
39719 2012-11-17  David S. Miller  <davem@davemloft.net>
39721         [BZ #14811]
39722         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39723         nonzero exponents with absolute value below 0x1p-128 to +/-
39724         0x1p-128.
39726 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39728         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39730         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39732         * posix/getconf-speclist.c: New file.
39733         * posix/posix-envs.def: Likewise.
39734         * posix/confstr.c (START_ENV_GROUP): New macro.
39735         (END_ENV_GROUP): Likewise.
39736         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39737         (KNOWN_PRESENT_ENV_STRING): Likewise.
39738         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39739         (UNKNOWN_ENVIRONMENT): Likewise.
39740         (confstr): Include posix-envs.def instead of handling
39741         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39742         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39743         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39744         (END_ENV_GROUP): Likewise.
39745         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39746         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39747         (UNKNOWN_ENVIRONMENT): Likewise.
39748         (__sysconf): Include posix-envs.def instead of handling associated
39749         cases directly here.
39750         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39751         preprocessing getconf-speclist.c rather than running getconf or
39752         generating empty file.
39754 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39756         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39758 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39760         [BZ #14672]
39761         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39763 2012-11-16  David S. Miller  <davem@davemloft.net>
39765         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39766         smaller than LDBL_EPSILON/2.0L, just return xm1.
39768 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39770         * elf/tst-array1.c (init): Set constructor priority to 1000.
39771         (fini): Set destructor priority to 1000.
39772         * elf/tst-array2dep.c: Likewise.
39774 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39776         [BZ #11741]
39777         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39778         (_IO_new_file_xsputn): Also return EOF if none of the input
39779         data was written when overflow failed.
39780         * libio/iopadn.c (_IO_padn): Likewise.
39781         * libio/iowpadn.c (_IO_wpadn): Likewise.
39782         * stdio-common/tst-put-error.c: Add copyright notice.
39783         (do_test): Add case for printing padded string.
39784         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39785         _IO_padn returned error.
39786         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39787         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39788         return EOF.
39790 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39792         * libio/libioP.h: Add comment note that the references to C++
39793         bits are now obsolete.
39795 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39797         * math/libm-test.inc (check_complex): Use asprintf.
39799 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39801         * debug/pcprofiledump.c (print_version): Update copyright year.
39802         * malloc/memusagestat.c (print_version): Likewise.
39804 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39806         [BZ #14831]
39807         * elf/Makefile (tests): Add tst-audit8.
39808         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39809         ($(objpfx)tst-audit8.out): New target.
39810         (tst-audit8-ENV): New variable.
39811         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39812         audit if l_reloc_result is NULL.
39813         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39814         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39815         * elf/tst-audit8.c: New file.
39817 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39819         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39820         * misc/Makefile (CFLAGS-select.c): Define.
39821         * posix/Makefile (CFLAGS-pause.c): Define.
39823 2012-11-13  David S. Miller  <davem@davemloft.net>
39825         * crypt/Makefile: Move test targets after toplevel Rules
39826         inclusion.  Grab any necessary sysdep routines when linking.
39827         * crypt/md5.c (md5_process_block): Remove define, we will always
39828         name it __md5_process_block.
39829         (md5_finish_ctx): Update md5_process_block call.
39830         (md5_stream): Likewise.
39831         (md5_process_bytes): Likewise.
39832         (md5_process_block): Rename to __md5_process_block and move to ...
39833         * crypt/md5-block.c: ... here.
39834         * crypt/sha256.c (sha256_process_block): Move to ...
39835         * crypt/sha256-block.c: ... here.
39836         * crypt/sha512.c (sha512_process_block): Move to ...
39837         * crypt/sha512-block.c: ... here.
39838         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39839         path.
39840         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39841         * sysdeps/sparc/sparc64/multiarch/Makefile
39842         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39843         crypt subdir.
39844         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39845         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39846         multiarch changes.
39847         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39848         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39849         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39850         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39851         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39852         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39853         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39854         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39855         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39856         file.
39857         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39858         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39859         file.
39860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39862 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39864         * timezone/tzselect.ksh: Update from tzcode git revision
39865         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39866         * timezone/zdump.c: Likewise.
39867         * timezone/zic.c: Likewise.
39868         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39869         in TZVERSION setting, not $(PKGVERSION).
39870         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39871         REPORT_BUGS_TO settings.
39873         [BZ #14838]
39874         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39875         macro.
39877 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39879         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39880         detection to immediately after _FP_ROUND().
39881         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39882         bits are 0.
39884 2012-11-11  David S. Miller  <davem@davemloft.net>
39886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39887         inttypes.h
39888         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39889         __close rather than their public counterparts.
39891 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39893         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39894         file.
39895         [UNIX98] (sem_timedwait): Do not expect.
39896         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39897         [XPG4 || UNIX98] (sockatmark): Do not expect.
39898         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39899         (clock_getcpuclockid): Do not expect.
39900         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39901         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39902         Do not expect.
39903         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39904         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39905         [UNIX98] (vwscanf): Likewise.
39906         [UNIX98] (vswscanf): Likewise.
39908 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39910         * timezone/version.h: Remove file.
39911         * timezone/README: Do not refer to version.h.
39912         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39913         $(objpfx)version.h.
39914         ($(objpfx)zdump.o): Likewise.
39915         ($(objpfx)version.h): New target.
39917         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39918         2012i.
39919         * timezone/README: Don't mention modification to tzselect.ksh.
39920         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39921         work on unmodified tzselect.ksh.  Substitute version numbers in
39922         tzselect.ksh.
39924         * Makefile (format-me): Remove.
39925         (INSTALL): Adjust indentation.  Use commands directly instead of
39926         using $(format-me).
39928         * aclocal.m4 (ACX_PKGVERSION): New macro.
39929         (ACX_BUGURL): Likewise.
39930         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39931         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39932         (REPORT_BUGS_TO): Likewise.
39933         * configure: Regenerated.
39934         * config.h.in (PKGVERSION): New macro.
39935         (REPORT_BUGS_TO): Likewise.
39936         * config.make.in (PKGVERSION): New variable.
39937         (PKGVERSION_TEXI): Likewise.
39938         (REPORT_BUGS_TO): Likewise.
39939         (REPORT_BUGS_TEXI): Likewise.
39940         * Makefile (format-me): Use -I$(common-objpfx)manual.
39941         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39942         ($(common-objpfx)manual/%): New target.
39943         (manual/%): Remove target.
39944         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39945         (print_version): Use PKGVERSION.
39946         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39947         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39948         and REPORT_BUGS_TO.
39949         ($(objpfx)xtrace): Likewise.
39950         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39951         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39952         (print_version): Use PKGVERSION.
39953         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39954         (do_version): Use PKGVERSION.
39955         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39956         REPORT_BUGS_TO.
39957         (common-ldd-rewrite): Likewise.
39958         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39959         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39960         (print_version): Use PKGVERSION.
39961         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39962         * elf/pldd.c (argp_program_bug_address): Remove variable.
39963         (more_help): New function.
39964         (argp): Use more_help.
39965         (print_version): Use PKGVERSION.
39966         * elf/sln.c (main): Use PKGVERSION.
39967         (usage): Use REPORT_BUGS_TO.
39968         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39969         (top level): Use PKGVERSION.
39970         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39971         (print_version): Use PKGVERSION.
39972         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39973         (print_version): Use PKGVERSION.
39974         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39975         (print_version): Use PKGVERSION.
39976         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39977         (print_version): Use PKGVERSION.
39978         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39979         (print_version): Use PKGVERSION.
39980         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39981         (print_version): Use PKGVERSION.
39982         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39983         and BUGURL.
39984         ($(objpfx)memusage): Likewise.
39985         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39986         (do_version): Use PKGVERSION.
39987         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39988         (print_version): Use PKGVERSION.
39989         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39990         ($PKGVERSION): New variable.
39991         ($REPORT_BUGS_TO): Likewise.
39992         (usage): Use $REPORT_BUGS_TO.
39993         (top level): Use $PKGVERSION.
39994         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39995         ($(objpfx)pkgvers.texi): New rule.
39996         ($(objpfx)stamp-pkgvers): Likewise.
39997         * manual/install.texi: Include pkgvers.texi.
39998         (--with-pkgversion): Document new configure option.
39999         (--with-bugurl): Likewise.
40000         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40001         than necessarily for this particular distribution.  Use
40002         REPORT_BUGS_TO for where to report bugs.
40003         * INSTALL: Regenerated.
40004         * manual/libc.texinfo: Include pkgvers.texi.
40005         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40006         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40007         (print_version): Use PKGVERSION.
40008         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40009         (print_version): Use PKGVERSION.
40010         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40011         (print_version): Use PKGVERSION.
40012         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40013         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40014         macro.
40015         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40016         (print_version): Use PKGVERSION.
40017         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40018         (print_version): Use PKGVERSION.
40019         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40020         and PKGVERSION.
40022         * timezone/checktab.awk: Update from tzcode 2012i.
40023         * timezone/ialloc.c: Likewise.
40024         * timezone/private.h: Likewise.
40025         * timezone/scheck.c: Likewise.
40026         * timezone/tzfile.h: Likewise.
40027         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40028         (TZVERSION): Hardcode tzcode version number.
40029         * timezone/zdump.c: Update from tzcode 2012i.
40030         * timezone/zic.c: Likewise.
40031         * timezone/version.h: New file.
40032         * timezone/README: Describe version.h.  Update upstream location.
40034         [BZ #14824]
40035         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40036         (mktemp): Enable declaration.
40037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40038         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40041         Likewise.
40042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40043         Likewise.
40044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40045         Likewise.
40046         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40047         Likewise.
40048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40049         Likewise.
40050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40051         Likewise.
40053         [BZ #14821]
40054         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40055         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40056         for copies of such integer values.
40057         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40058         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40060 2012-11-09  Andreas Jaeger  <aj@suse.de>
40062         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40063         definitions and declarations that are provided by
40064         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40066 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40068         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40069         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40070         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40071         definition.
40073 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40075         * elf/elf.h: Update comment before AArch64 relocations.
40077 2012-11-07  David S. Miller  <davem@davemloft.net>
40079         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40080         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40081         (__start_context): Declare.
40082         (__makecontext_ret): Delete.
40083         (__makecontext): Hook up __start_context instead of
40084         __makecontext_ret.
40085         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40086         (sysdep_routines): Add __start_context when in stdlib.
40088 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40090         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40091         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40092         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40093         hardcoded "nm".
40094         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40095         (READELF): New variable.  Use it instead of hardcoded "readelf".
40097 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40099         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40100         * sysdeps/x86/Makefile: Here.
40101         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40102         * sysdeps/x86/tst-xmmymm.sh: This.
40104 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40106         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40107         expectations.
40108         [UNIX98] (pthread_barrier_t): Do not expect.
40109         [UNIX98] (pthread_barrierattr_t): Likewise.
40110         [UNIX98] (pthread_spinlock_t): Likewise.
40111         [UNIX98] (pthread_barrier_destroy): Likewise.
40112         [UNIX98] (pthread_barrier_init): Likewise.
40113         [UNIX98] (pthread_barrier_wait): Likewise.
40114         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40115         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40116         [UNIX98] (pthread_barrierattr_init): Likewise.
40117         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40118         [UNIX98] (pthread_getcpuclockid): Likewise.
40119         [UNIX98] (pthread_mutex_timedlock): Likewise.
40120         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40121         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40122         [UNIX98] (pthread_sigmask): Likewise.
40123         [UNIX98] (pthread_spin_destroy): Likewise.
40124         [UNIX98] (pthread_spin_init): Likewise.
40125         [UNIX98] (pthread_spin_lock): Likewise.
40126         [UNIX98] (pthread_spin_trylock): Likewise.
40127         [UNIX98] (pthread_spin_unlock): Likewise.
40128         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40129         Do not expect.
40130         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40131         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40132         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40133         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40134         [XPG3 || XPG4] (pthread_key_t): Likewise.
40135         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40136         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40137         [XPG3 || XPG4] (pthread_once_t): Likewise.
40138         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40139         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40140         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40141         [XPG3 || XPG4] (pthread_t): Likewise.
40143         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40144         not expect.
40145         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40147         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40148         Change function return type to int.
40150         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40151         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40152         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40153         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40154         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40155         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40156         [!POSIX] (posix_madvise): Likewise.
40157         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40158         && !UNIX98].
40159         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40160         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40161         (mode_t): Likewise.
40162         (posix_mem_offset): Likewise.
40163         (posix_typed_mem_get_info): Likewise.
40164         (posix_typed_mem_open): Likewise.
40166         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40167         Change condition to [XOPEN2K8].
40169         * conform/conformtest.pl: Preprocess allow-header data with -x c
40170         instead of from stdin.
40171         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40172         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40173         [C99-based standards] (cerfc): Likewise.
40174         [C99-based standards] (cexp2): Likewise.
40175         [C99-based standards] (cexpm1): Likewise.
40176         [C99-based standards] (clog10): Likewise.
40177         [C99-based standards] (clog1p): Likewise.
40178         [C99-based standards] (clog2): Likewise.
40179         [C99-based standards] (clgamma): Likewise.
40180         [C99-based standards] (ctgamma): Likewise.
40181         [C99-based standards] (cerff): Likewise.
40182         [C99-based standards] (cerfcf): Likewise.
40183         [C99-based standards] (cexp2f): Likewise.
40184         [C99-based standards] (cexpm1f): Likewise.
40185         [C99-based standards] (clog10f): Likewise.
40186         [C99-based standards] (clog1pf): Likewise.
40187         [C99-based standards] (clog2f): Likewise.
40188         [C99-based standards] (clgammaf): Likewise.
40189         [C99-based standards] (ctgammaf): Likewise.
40190         [C99-based standards] (cerfl): Likewise.
40191         [C99-based standards] (cerfcl): Likewise.
40192         [C99-based standards] (cexp2l): Likewise.
40193         [C99-based standards] (cexpm1l): Likewise.
40194         [C99-based standards] (clog10l): Likewise.
40195         [C99-based standards] (clog1pl): Likewise.
40196         [C99-based standards] (clog2l): Likewise.
40197         [C99-based standards] (clgammal): Likewise.
40198         [C99-based standards] (ctgammal): Likewise.
40199         * conform/data/inttypes.h-data [C99-based standards]: Include
40200         stdint.h-data.  Remove all expectations for stdint.h contents.
40201         [C99-based standards] (PRI*): Do not allow.
40202         [C99-based standards] (SCN*): Likewise.
40203         [C99-based standards] (*_t): Likewise.
40204         [C99-based-standards] (PRId8): Expect macro.
40205         [C99-based-standards] (PRIi8): Likewise.
40206         [C99-based-standards] (PRIo8): Likewise.
40207         [C99-based-standards] (PRIu8): Likewise.
40208         [C99-based-standards] (PRIx8): Likewise.
40209         [C99-based-standards] (PRIX8): Likewise.
40210         [C99-based-standards] (SCNd8): Likewise.
40211         [C99-based-standards] (SCNi8): Likewise.
40212         [C99-based-standards] (SCNo8): Likewise.
40213         [C99-based-standards] (SCNu8): Likewise.
40214         [C99-based-standards] (SCNx8): Likewise.
40215         [C99-based-standards] (PRIdLEAST8): Likewise.
40216         [C99-based-standards] (PRIiLEAST8): Likewise.
40217         [C99-based-standards] (PRIoLEAST8): Likewise.
40218         [C99-based-standards] (PRIuLEAST8): Likewise.
40219         [C99-based-standards] (PRIxLEAST8): Likewise.
40220         [C99-based-standards] (PRIXLEAST8): Likewise.
40221         [C99-based-standards] (SCNdLEAST8): Likewise.
40222         [C99-based-standards] (SCNiLEAST8): Likewise.
40223         [C99-based-standards] (SCNoLEAST8): Likewise.
40224         [C99-based-standards] (SCNuLEAST8): Likewise.
40225         [C99-based-standards] (SCNxLEAST8): Likewise.
40226         [C99-based-standards] (PRIdFAST8): Likewise.
40227         [C99-based-standards] (PRIiFAST8): Likewise.
40228         [C99-based-standards] (PRIoFAST8): Likewise.
40229         [C99-based-standards] (PRIuFAST8): Likewise.
40230         [C99-based-standards] (PRIxFAST8): Likewise.
40231         [C99-based-standards] (PRIXFAST8): Likewise.
40232         [C99-based-standards] (SCNdFAST8): Likewise.
40233         [C99-based-standards] (SCNiFAST8): Likewise.
40234         [C99-based-standards] (SCNoFAST8): Likewise.
40235         [C99-based-standards] (SCNuFAST8): Likewise.
40236         [C99-based-standards] (SCNxFAST8): Likewise.
40237         [C99-based-standards] (PRId16): Likewise.
40238         [C99-based-standards] (PRIi16): Likewise.
40239         [C99-based-standards] (PRIo16): Likewise.
40240         [C99-based-standards] (PRIu16): Likewise.
40241         [C99-based-standards] (PRIx16): Likewise.
40242         [C99-based-standards] (PRIX16): Likewise.
40243         [C99-based-standards] (SCNd16): Likewise.
40244         [C99-based-standards] (SCNi16): Likewise.
40245         [C99-based-standards] (SCNo16): Likewise.
40246         [C99-based-standards] (SCNu16): Likewise.
40247         [C99-based-standards] (SCNx16): Likewise.
40248         [C99-based-standards] (PRIdLEAST16): Likewise.
40249         [C99-based-standards] (PRIiLEAST16): Likewise.
40250         [C99-based-standards] (PRIoLEAST16): Likewise.
40251         [C99-based-standards] (PRIuLEAST16): Likewise.
40252         [C99-based-standards] (PRIxLEAST16): Likewise.
40253         [C99-based-standards] (PRIXLEAST16): Likewise.
40254         [C99-based-standards] (SCNdLEAST16): Likewise.
40255         [C99-based-standards] (SCNiLEAST16): Likewise.
40256         [C99-based-standards] (SCNoLEAST16): Likewise.
40257         [C99-based-standards] (SCNuLEAST16): Likewise.
40258         [C99-based-standards] (SCNxLEAST16): Likewise.
40259         [C99-based-standards] (PRIdFAST16): Likewise.
40260         [C99-based-standards] (PRIiFAST16): Likewise.
40261         [C99-based-standards] (PRIoFAST16): Likewise.
40262         [C99-based-standards] (PRIuFAST16): Likewise.
40263         [C99-based-standards] (PRIxFAST16): Likewise.
40264         [C99-based-standards] (PRIXFAST16): Likewise.
40265         [C99-based-standards] (SCNdFAST16): Likewise.
40266         [C99-based-standards] (SCNiFAST16): Likewise.
40267         [C99-based-standards] (SCNoFAST16): Likewise.
40268         [C99-based-standards] (SCNuFAST16): Likewise.
40269         [C99-based-standards] (SCNxFAST16): Likewise.
40270         [C99-based-standards] (PRId32): Likewise.
40271         [C99-based-standards] (PRIi32): Likewise.
40272         [C99-based-standards] (PRIo32): Likewise.
40273         [C99-based-standards] (PRIu32): Likewise.
40274         [C99-based-standards] (PRIx32): Likewise.
40275         [C99-based-standards] (PRIX32): Likewise.
40276         [C99-based-standards] (SCNd32): Likewise.
40277         [C99-based-standards] (SCNi32): Likewise.
40278         [C99-based-standards] (SCNo32): Likewise.
40279         [C99-based-standards] (SCNu32): Likewise.
40280         [C99-based-standards] (SCNx32): Likewise.
40281         [C99-based-standards] (PRIdLEAST32): Likewise.
40282         [C99-based-standards] (PRIiLEAST32): Likewise.
40283         [C99-based-standards] (PRIoLEAST32): Likewise.
40284         [C99-based-standards] (PRIuLEAST32): Likewise.
40285         [C99-based-standards] (PRIxLEAST32): Likewise.
40286         [C99-based-standards] (PRIXLEAST32): Likewise.
40287         [C99-based-standards] (SCNdLEAST32): Likewise.
40288         [C99-based-standards] (SCNiLEAST32): Likewise.
40289         [C99-based-standards] (SCNoLEAST32): Likewise.
40290         [C99-based-standards] (SCNuLEAST32): Likewise.
40291         [C99-based-standards] (SCNxLEAST32): Likewise.
40292         [C99-based-standards] (PRIdFAST32): Likewise.
40293         [C99-based-standards] (PRIiFAST32): Likewise.
40294         [C99-based-standards] (PRIoFAST32): Likewise.
40295         [C99-based-standards] (PRIuFAST32): Likewise.
40296         [C99-based-standards] (PRIxFAST32): Likewise.
40297         [C99-based-standards] (PRIXFAST32): Likewise.
40298         [C99-based-standards] (SCNdFAST32): Likewise.
40299         [C99-based-standards] (SCNiFAST32): Likewise.
40300         [C99-based-standards] (SCNoFAST32): Likewise.
40301         [C99-based-standards] (SCNuFAST32): Likewise.
40302         [C99-based-standards] (SCNxFAST32): Likewise.
40303         [C99-based-standards] (PRId64): Likewise.
40304         [C99-based-standards] (PRIi64): Likewise.
40305         [C99-based-standards] (PRIo64): Likewise.
40306         [C99-based-standards] (PRIu64): Likewise.
40307         [C99-based-standards] (PRIx64): Likewise.
40308         [C99-based-standards] (PRIX64): Likewise.
40309         [C99-based-standards] (SCNd64): Likewise.
40310         [C99-based-standards] (SCNi64): Likewise.
40311         [C99-based-standards] (SCNo64): Likewise.
40312         [C99-based-standards] (SCNu64): Likewise.
40313         [C99-based-standards] (SCNx64): Likewise.
40314         [C99-based-standards] (PRIdLEAST64): Likewise.
40315         [C99-based-standards] (PRIiLEAST64): Likewise.
40316         [C99-based-standards] (PRIoLEAST64): Likewise.
40317         [C99-based-standards] (PRIuLEAST64): Likewise.
40318         [C99-based-standards] (PRIxLEAST64): Likewise.
40319         [C99-based-standards] (PRIXLEAST64): Likewise.
40320         [C99-based-standards] (SCNdLEAST64): Likewise.
40321         [C99-based-standards] (SCNiLEAST64): Likewise.
40322         [C99-based-standards] (SCNoLEAST64): Likewise.
40323         [C99-based-standards] (SCNuLEAST64): Likewise.
40324         [C99-based-standards] (SCNxLEAST64): Likewise.
40325         [C99-based-standards] (PRIdFAST64): Likewise.
40326         [C99-based-standards] (PRIiFAST64): Likewise.
40327         [C99-based-standards] (PRIoFAST64): Likewise.
40328         [C99-based-standards] (PRIuFAST64): Likewise.
40329         [C99-based-standards] (PRIxFAST64): Likewise.
40330         [C99-based-standards] (PRIXFAST64): Likewise.
40331         [C99-based-standards] (SCNdFAST64): Likewise.
40332         [C99-based-standards] (SCNiFAST64): Likewise.
40333         [C99-based-standards] (SCNoFAST64): Likewise.
40334         [C99-based-standards] (SCNuFAST64): Likewise.
40335         [C99-based-standards] (SCNxFAST64): Likewise.
40336         [C99-based-standards] (PRIdMAX): Likewise.
40337         [C99-based-standards] (PRIiMAX): Likewise.
40338         [C99-based-standards] (PRIoMAX): Likewise.
40339         [C99-based-standards] (PRIuMAX): Likewise.
40340         [C99-based-standards] (PRIxMAX): Likewise.
40341         [C99-based-standards] (PRIXMAX): Likewise.
40342         [C99-based-standards] (SCNdMAX): Likewise.
40343         [C99-based-standards] (SCNiMAX): Likewise.
40344         [C99-based-standards] (SCNoMAX): Likewise.
40345         [C99-based-standards] (SCNuMAX): Likewise.
40346         [C99-based-standards] (SCNxMAX): Likewise.
40347         [C99-based-standards] (PRIdPTR): Likewise.
40348         [C99-based-standards] (PRIiPTR): Likewise.
40349         [C99-based-standards] (PRIoPTR): Likewise.
40350         [C99-based-standards] (PRIuPTR): Likewise.
40351         [C99-based-standards] (PRIxPTR): Likewise.
40352         [C99-based-standards] (PRIXPTR): Likewise.
40353         [C99-based-standards] (SCNdPTR): Likewise.
40354         [C99-based-standards] (SCNiPTR): Likewise.
40355         [C99-based-standards] (SCNoPTR): Likewise.
40356         [C99-based-standards] (SCNuPTR): Likewise.
40357         [C99-based-standards] (SCNxPTR): Likewise.
40358         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40359         allow.
40360         * conform/data/stdint.h-data: Update comments to clarify
40361         requirements.
40362         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40363         type.
40364         [C99-based standards] (INT8_MAX): Likewise.
40365         [C99-based standards] (INT16_MIN): Likewise.
40366         [C99-based standards] (INT16_MAX): Likewise.
40367         [C99-based standards] (INT32_MIN): Likewise.
40368         [C99-based standards] (INT32_MAX): Likewise.
40369         [C99-based standards] (INT64_MIN): Likewise.
40370         [C99-based standards] (INT64_MAX): Likewise.
40371         [C99-based standards] (UINT8_MAX): Likewise.
40372         [C99-based standards] (UINT16_MAX): Likewise.
40373         [C99-based standards] (UINT32_MAX): Likewise.
40374         [C99-based standards] (UINT64_MAX): Likewise.
40375         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40376         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40377         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40378         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40379         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40380         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40381         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40382         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40383         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40384         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40385         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40386         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40387         [C99-based standards] (INT_FAST8_MIN): Likewise.
40388         [C99-based standards] (INT_FAST8_MAX): Likewise.
40389         [C99-based standards] (INT_FAST16_MIN): Likewise.
40390         [C99-based standards] (INT_FAST16_MAX): Likewise.
40391         [C99-based standards] (INT_FAST32_MIN): Likewise.
40392         [C99-based standards] (INT_FAST32_MAX): Likewise.
40393         [C99-based standards] (INT_FAST64_MIN): Likewise.
40394         [C99-based standards] (INT_FAST64_MAX): Likewise.
40395         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40396         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40397         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40398         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40399         [C99-based standards] (INTPTR_MIN): Likewise.
40400         [C99-based standards] (INTPTR_MAX): Likewise.
40401         [C99-based standards] (UINTPTR_MAX): Likewise.
40402         [C99-based standards] (INTMAX_MIN): Likewise.
40403         [C99-based standards] (INTMAX_MAX): Likewise.
40404         [C99-based standards] (UINTMAX_MAX): Likewise.
40405         [C99-based standards] (PTRDIFF_MIN): Likewise.
40406         [C99-based standards] (PTRDIFF_MAX): Likewise.
40407         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40408         [C99-based standards] (SIZE_MAX): Likewise.
40409         [C99-based standards] (WCHAR_MAX): Likewise.
40410         [C99-based standards] (WINT_MAX): Likewise.
40411         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40412         constraint on value.
40413         [C99-based standards] (WCHAR_MIN): Likewise.
40414         [C99-based standards] (WINT_MIN): Likewise.
40415         [C99-based standards] (*_t): Allow.
40416         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40417         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40418         Include math.h-data and complex.h-data.  Remove all expectations
40419         of math.h and complex.h contents.
40420         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40421         at end of line.
40422         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40423         (struct tm): Expect tag.
40424         [C99-based-standards] (wcstof): Expect function.
40425         [C99-based-standards] (wcstold): Likewise.
40426         [C99-based-standards] (wcstoll): Likewise.
40427         [C99-based-standards] (wcstoull): Likewise.
40428         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40429         macro-int-constant.  Specify type.
40430         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40431         constraint on value.
40432         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40433         Specify type.
40434         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40435         Specify value.
40436         [ISO C standards]: Do not allow headers.
40437         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40438         wcs[abcdefghijklmnopqrstuvwxyz]*.
40439         [ISO C standards] (*_t): Do not allow.
40440         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40441         Expect function.
40442         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40443         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40444         Specify type.
40445         [ISO C standards]: Do not allow headers.
40446         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40447         is[abcdefghijklmnopqrstuvwxyz]*.
40448         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40449         to[abcdefghijklmnopqrstuvwxyz]*.
40450         [ISO C standards] (*_t): Do not allow.
40451         * conform/data/stdalign.h-data: New file.
40452         * conform/data/stdbool.h-data: Likewise.
40453         * conform/data/stdnoreturn.h-data: Likewise.
40455 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40457         [BZ #14815]
40458         * manual/filesys.texi (Directory Entries): Typo fix.
40459         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40461 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40463         * elf/elf.h (EM_AARCH64): New macro.
40464         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40465         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40466         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40467         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40468         (R_AARCH64_TLSDESC): Likewise.
40469         (NT_ARM_TLS): Likewise.
40470         (NT_ARM_HW_BREAK): Likewise.
40471         (NT_ARM_HW_WATCH): Likewise.
40473 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40475         [BZ #14811]
40476         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40477         (__ieee754_powl): Saturate nonzero exponents with absolute value
40478         below 0x1p-79 to +/- 0x1p-79.
40479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40480         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40481         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40482         nonzero exponents with absolute value below 0x1p-32 to +/-
40483         0x1p-32.
40484         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40485         (__ieee754_powl): Saturate nonzero exponents with absolute value
40486         below 0x1p-79 to +/- 0x1p-79.
40487         * math/libm-test.inc (pow_test): Add more tests.
40489 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40491         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40492         _dl_s390_cap_flags with kernel. Increase string length.
40493         (_dl_s390_platforms): Add z196 and zEC12.
40495 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40497         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40498         Change XOPEN21K to XOPEN2K.
40500 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40502         * string/memmove.c: Use memcpy when possible.
40504 2012-11-06  Andreas Jaeger  <aj@suse.de>
40506         * po/eo.po: Update from translation team.
40508 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40510         [BZ #14793]
40511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40512         exponent and small x and y exponents, scale x or y up.  Increase
40513         by 2 the exponent used in scaling up.
40514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40516         * math/libm-test.inc (fma_test): Add more tests.
40517         (fma_test_towardzero): Likewise.
40518         (fma_test_downward): Likewise.
40519         (fma_test_upward): Likewise.
40521 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40523         [BZ #14805]
40524         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40525         fenv_t *.
40527         [BZ #14801]
40528         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40529         namespace for names of struct fields.
40530         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40531         fenv_t fields.
40532         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40533         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40535 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40537         [BZ #3665]
40538         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40540 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40542         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40543         PTR_DEMANGLE.
40545         [BZ #5246]
40546         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40547         PTR_DEMANGLE.
40549 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40551         [BZ #14797]
40552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40553         definitely overflow as x * y not x * y + z.
40554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40555         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40556         * math/libm-test.inc (fma_test): Add more tests.
40557         (fma_test_towardzero): Likewise.
40558         (fma_test_downward): Likewise.
40559         (fma_test_upward): Likewise.
40561 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40563         [BZ #157]
40565         * include/stub-tag.h: Remove file.
40566         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40567         '#include' of it.
40568         * manual/maint.texi (Porting): Don't reference it.
40569         * Makerules ($(objpfx)stubs): Likewise.
40570         * dirent/closedir.c: Don't include <stub-tag.h>.
40571         * dirent/dirfd.c: Likewise.
40572         * dirent/fdopendir.c: Likewise.
40573         * dirent/getdents.c: Likewise.
40574         * dirent/getdents64.c: Likewise.
40575         * dirent/opendir.c: Likewise.
40576         * dirent/readdir.c: Likewise.
40577         * dirent/readdir64.c: Likewise.
40578         * dirent/readdir64_r.c: Likewise.
40579         * dirent/readdir_r.c: Likewise.
40580         * dirent/rewinddir.c: Likewise.
40581         * dirent/seekdir.c: Likewise.
40582         * dirent/telldir.c: Likewise.
40583         * gmon/profil.c: Likewise.
40584         * grp/setgroups.c: Likewise.
40585         * inet/if_index.c: Likewise.
40586         * io/access.c: Likewise.
40587         * io/chdir.c: Likewise.
40588         * io/chmod.c: Likewise.
40589         * io/chown.c: Likewise.
40590         * io/close.c: Likewise.
40591         * io/dup.c: Likewise.
40592         * io/dup2.c: Likewise.
40593         * io/dup3.c: Likewise.
40594         * io/euidaccess.c: Likewise.
40595         * io/faccessat.c: Likewise.
40596         * io/fchdir.c: Likewise.
40597         * io/fchmod.c: Likewise.
40598         * io/fchmodat.c: Likewise.
40599         * io/fchown.c: Likewise.
40600         * io/fchownat.c: Likewise.
40601         * io/fcntl.c: Likewise.
40602         * io/flock.c: Likewise.
40603         * io/fstatfs.c: Likewise.
40604         * io/fstatfs64.c: Likewise.
40605         * io/fstatvfs.c: Likewise.
40606         * io/fstatvfs64.c: Likewise.
40607         * io/futimens.c: Likewise.
40608         * io/fxstat.c: Likewise.
40609         * io/fxstat64.c: Likewise.
40610         * io/fxstatat.c: Likewise.
40611         * io/fxstatat64.c: Likewise.
40612         * io/getcwd.c: Likewise.
40613         * io/isatty.c: Likewise.
40614         * io/lchmod.c: Likewise.
40615         * io/lchown.c: Likewise.
40616         * io/link.c: Likewise.
40617         * io/linkat.c: Likewise.
40618         * io/lseek.c: Likewise.
40619         * io/lseek64.c: Likewise.
40620         * io/lxstat64.c: Likewise.
40621         * io/mkdir.c: Likewise.
40622         * io/mkdirat.c: Likewise.
40623         * io/mkfifo.c: Likewise.
40624         * io/mkfifoat.c: Likewise.
40625         * io/open.c: Likewise.
40626         * io/open64.c: Likewise.
40627         * io/openat.c: Likewise.
40628         * io/openat64.c: Likewise.
40629         * io/pipe.c: Likewise.
40630         * io/pipe2.c: Likewise.
40631         * io/poll.c: Likewise.
40632         * io/posix_fadvise.c: Likewise.
40633         * io/posix_fadvise64.c: Likewise.
40634         * io/posix_fallocate.c: Likewise.
40635         * io/posix_fallocate64.c: Likewise.
40636         * io/read.c: Likewise.
40637         * io/readlink.c: Likewise.
40638         * io/readlinkat.c: Likewise.
40639         * io/rmdir.c: Likewise.
40640         * io/sendfile.c: Likewise.
40641         * io/sendfile64.c: Likewise.
40642         * io/statfs.c: Likewise.
40643         * io/statfs64.c: Likewise.
40644         * io/statvfs.c: Likewise.
40645         * io/statvfs64.c: Likewise.
40646         * io/symlink.c: Likewise.
40647         * io/symlinkat.c: Likewise.
40648         * io/ttyname.c: Likewise.
40649         * io/ttyname_r.c: Likewise.
40650         * io/umask.c: Likewise.
40651         * io/unlink.c: Likewise.
40652         * io/unlinkat.c: Likewise.
40653         * io/utime.c: Likewise.
40654         * io/utimensat.c: Likewise.
40655         * io/write.c: Likewise.
40656         * io/xmknod.c: Likewise.
40657         * io/xmknodat.c: Likewise.
40658         * io/xstat.c: Likewise.
40659         * io/xstat64.c: Likewise.
40660         * login/getpt.c: Likewise.
40661         * login/grantpt.c: Likewise.
40662         * login/unlockpt.c: Likewise.
40663         * math/e_acoshl.c: Likewise.
40664         * math/e_acosl.c: Likewise.
40665         * math/e_asinl.c: Likewise.
40666         * math/e_atan2l.c: Likewise.
40667         * math/e_atanhl.c: Likewise.
40668         * math/e_coshl.c: Likewise.
40669         * math/e_expl.c: Likewise.
40670         * math/e_fmodl.c: Likewise.
40671         * math/e_gammal_r.c: Likewise.
40672         * math/e_hypotl.c: Likewise.
40673         * math/e_j0l.c: Likewise.
40674         * math/e_j1l.c: Likewise.
40675         * math/e_jnl.c: Likewise.
40676         * math/e_lgammal_r.c: Likewise.
40677         * math/e_log10l.c: Likewise.
40678         * math/e_log2l.c: Likewise.
40679         * math/e_logl.c: Likewise.
40680         * math/e_powl.c: Likewise.
40681         * math/e_rem_pio2l.c: Likewise.
40682         * math/e_sinhl.c: Likewise.
40683         * math/e_sqrtl.c: Likewise.
40684         * math/fclrexcpt.c: Likewise.
40685         * math/fedisblxcpt.c: Likewise.
40686         * math/feenablxcpt.c: Likewise.
40687         * math/fegetenv.c: Likewise.
40688         * math/fegetexcept.c: Likewise.
40689         * math/fegetround.c: Likewise.
40690         * math/feholdexcpt.c: Likewise.
40691         * math/fesetenv.c: Likewise.
40692         * math/fesetround.c: Likewise.
40693         * math/feupdateenv.c: Likewise.
40694         * math/fgetexcptflg.c: Likewise.
40695         * math/fraiseexcpt.c: Likewise.
40696         * math/fsetexcptflg.c: Likewise.
40697         * math/ftestexcept.c: Likewise.
40698         * math/k_cosl.c: Likewise.
40699         * math/k_rem_pio2l.c: Likewise.
40700         * math/k_sinl.c: Likewise.
40701         * math/k_tanl.c: Likewise.
40702         * math/s_asinhl.c: Likewise.
40703         * math/s_atanl.c: Likewise.
40704         * math/s_cbrtl.c: Likewise.
40705         * math/s_erfl.c: Likewise.
40706         * math/s_expm1l.c: Likewise.
40707         * math/s_log1pl.c: Likewise.
40708         * math/s_tanhl.c: Likewise.
40709         * misc/acct.c: Likewise.
40710         * misc/brk.c: Likewise.
40711         * misc/chflags.c: Likewise.
40712         * misc/chroot.c: Likewise.
40713         * misc/fchflags.c: Likewise.
40714         * misc/fgetxattr.c: Likewise.
40715         * misc/flistxattr.c: Likewise.
40716         * misc/fremovexattr.c: Likewise.
40717         * misc/fsetxattr.c: Likewise.
40718         * misc/fsync.c: Likewise.
40719         * misc/ftruncate.c: Likewise.
40720         * misc/futimes.c: Likewise.
40721         * misc/futimesat.c: Likewise.
40722         * misc/getdomain.c: Likewise.
40723         * misc/getdtsz.c: Likewise.
40724         * misc/gethostid.c: Likewise.
40725         * misc/gethostname.c: Likewise.
40726         * misc/getloadavg.c: Likewise.
40727         * misc/getpagesize.c: Likewise.
40728         * misc/getsysstats.c: Likewise.
40729         * misc/getxattr.c: Likewise.
40730         * misc/gtty.c: Likewise.
40731         * misc/ioctl.c: Likewise.
40732         * misc/lgetxattr.c: Likewise.
40733         * misc/listxattr.c: Likewise.
40734         * misc/llistxattr.c: Likewise.
40735         * misc/lremovexattr.c: Likewise.
40736         * misc/lsetxattr.c: Likewise.
40737         * misc/lutimes.c: Likewise.
40738         * misc/madvise.c: Likewise.
40739         * misc/mincore.c: Likewise.
40740         * misc/mlock.c: Likewise.
40741         * misc/mlockall.c: Likewise.
40742         * misc/mmap.c: Likewise.
40743         * misc/mprotect.c: Likewise.
40744         * misc/msync.c: Likewise.
40745         * misc/munlock.c: Likewise.
40746         * misc/munlockall.c: Likewise.
40747         * misc/munmap.c: Likewise.
40748         * misc/preadv.c: Likewise.
40749         * misc/preadv64.c: Likewise.
40750         * misc/ptrace.c: Likewise.
40751         * misc/pwritev.c: Likewise.
40752         * misc/pwritev64.c: Likewise.
40753         * misc/readv.c: Likewise.
40754         * misc/reboot.c: Likewise.
40755         * misc/remap_file_pages.c: Likewise.
40756         * misc/removexattr.c: Likewise.
40757         * misc/revoke.c: Likewise.
40758         * misc/select.c: Likewise.
40759         * misc/setdomain.c: Likewise.
40760         * misc/setegid.c: Likewise.
40761         * misc/seteuid.c: Likewise.
40762         * misc/sethostid.c: Likewise.
40763         * misc/sethostname.c: Likewise.
40764         * misc/setregid.c: Likewise.
40765         * misc/setreuid.c: Likewise.
40766         * misc/setxattr.c: Likewise.
40767         * misc/sstk.c: Likewise.
40768         * misc/stty.c: Likewise.
40769         * misc/swapoff.c: Likewise.
40770         * misc/swapon.c: Likewise.
40771         * misc/sync.c: Likewise.
40772         * misc/syncfs.c: Likewise.
40773         * misc/syscall.c: Likewise.
40774         * misc/truncate.c: Likewise.
40775         * misc/ualarm.c: Likewise.
40776         * misc/usleep.c: Likewise.
40777         * misc/ustat.c: Likewise.
40778         * misc/utimes.c: Likewise.
40779         * misc/vhangup.c: Likewise.
40780         * misc/writev.c: Likewise.
40781         * posix/_exit.c: Likewise.
40782         * posix/alarm.c: Likewise.
40783         * posix/execve.c: Likewise.
40784         * posix/fexecve.c: Likewise.
40785         * posix/fork.c: Likewise.
40786         * posix/fpathconf.c: Likewise.
40787         * posix/getaddrinfo.c: Likewise.
40788         * posix/getegid.c: Likewise.
40789         * posix/geteuid.c: Likewise.
40790         * posix/getgid.c: Likewise.
40791         * posix/getgroups.c: Likewise.
40792         * posix/getlogin.c: Likewise.
40793         * posix/getlogin_r.c: Likewise.
40794         * posix/getpgid.c: Likewise.
40795         * posix/getpid.c: Likewise.
40796         * posix/getppid.c: Likewise.
40797         * posix/getresgid.c: Likewise.
40798         * posix/getresuid.c: Likewise.
40799         * posix/getsid.c: Likewise.
40800         * posix/getuid.c: Likewise.
40801         * posix/glob64.c: Likewise.
40802         * posix/nanosleep.c: Likewise.
40803         * posix/pathconf.c: Likewise.
40804         * posix/pause.c: Likewise.
40805         * posix/posix_madvise.c: Likewise.
40806         * posix/pread.c: Likewise.
40807         * posix/pread64.c: Likewise.
40808         * posix/pwrite.c: Likewise.
40809         * posix/pwrite64.c: Likewise.
40810         * posix/sched_getaffinity.c: Likewise.
40811         * posix/sched_getp.c: Likewise.
40812         * posix/sched_gets.c: Likewise.
40813         * posix/sched_primax.c: Likewise.
40814         * posix/sched_primin.c: Likewise.
40815         * posix/sched_rr_gi.c: Likewise.
40816         * posix/sched_setaffinity.c: Likewise.
40817         * posix/sched_setp.c: Likewise.
40818         * posix/sched_sets.c: Likewise.
40819         * posix/sched_yield.c: Likewise.
40820         * posix/setgid.c: Likewise.
40821         * posix/setlogin.c: Likewise.
40822         * posix/setpgid.c: Likewise.
40823         * posix/setresgid.c: Likewise.
40824         * posix/setresuid.c: Likewise.
40825         * posix/setsid.c: Likewise.
40826         * posix/setuid.c: Likewise.
40827         * posix/sleep.c: Likewise.
40828         * posix/spawni.c: Likewise.
40829         * posix/sysconf.c: Likewise.
40830         * posix/times.c: Likewise.
40831         * posix/wait.c: Likewise.
40832         * posix/wait3.c: Likewise.
40833         * posix/wait4.c: Likewise.
40834         * posix/waitpid.c: Likewise.
40835         * resolv/gai_sigqueue.c: Likewise.
40836         * resource/getpriority.c: Likewise.
40837         * resource/getrlimit.c: Likewise.
40838         * resource/getrusage.c: Likewise.
40839         * resource/nice.c: Likewise.
40840         * resource/setpriority.c: Likewise.
40841         * resource/setrlimit.c: Likewise.
40842         * resource/ulimit.c: Likewise.
40843         * rt/aio_cancel.c: Likewise.
40844         * rt/aio_fsync.c: Likewise.
40845         * rt/aio_read.c: Likewise.
40846         * rt/aio_sigqueue.c: Likewise.
40847         * rt/aio_suspend.c: Likewise.
40848         * rt/aio_write.c: Likewise.
40849         * rt/clock_getres.c: Likewise.
40850         * rt/clock_gettime.c: Likewise.
40851         * rt/clock_nanosleep.c: Likewise.
40852         * rt/clock_settime.c: Likewise.
40853         * rt/lio_listio.c: Likewise.
40854         * rt/mq_close.c: Likewise.
40855         * rt/mq_getattr.c: Likewise.
40856         * rt/mq_notify.c: Likewise.
40857         * rt/mq_open.c: Likewise.
40858         * rt/mq_receive.c: Likewise.
40859         * rt/mq_send.c: Likewise.
40860         * rt/mq_setattr.c: Likewise.
40861         * rt/mq_timedreceive.c: Likewise.
40862         * rt/mq_timedsend.c: Likewise.
40863         * rt/mq_unlink.c: Likewise.
40864         * rt/shm_open.c: Likewise.
40865         * rt/shm_unlink.c: Likewise.
40866         * rt/timer_create.c: Likewise.
40867         * rt/timer_delete.c: Likewise.
40868         * rt/timer_getoverr.c: Likewise.
40869         * rt/timer_gettime.c: Likewise.
40870         * rt/timer_settime.c: Likewise.
40871         * setjmp/__longjmp.c: Likewise.
40872         * setjmp/setjmp.c: Likewise.
40873         * signal/kill.c: Likewise.
40874         * signal/killpg.c: Likewise.
40875         * signal/raise.c: Likewise.
40876         * signal/sigaction.c: Likewise.
40877         * signal/sigaltstack.c: Likewise.
40878         * signal/sigblock.c: Likewise.
40879         * signal/sigignore.c: Likewise.
40880         * signal/sigintr.c: Likewise.
40881         * signal/signal.c: Likewise.
40882         * signal/sigpause.c: Likewise.
40883         * signal/sigpending.c: Likewise.
40884         * signal/sigqueue.c: Likewise.
40885         * signal/sigreturn.c: Likewise.
40886         * signal/sigset.c: Likewise.
40887         * signal/sigsetmask.c: Likewise.
40888         * signal/sigstack.c: Likewise.
40889         * signal/sigsuspend.c: Likewise.
40890         * signal/sigtimedwait.c: Likewise.
40891         * signal/sigvec.c: Likewise.
40892         * signal/sigwait.c: Likewise.
40893         * signal/sigwaitinfo.c: Likewise.
40894         * signal/sysv_signal.c: Likewise.
40895         * socket/accept.c: Likewise.
40896         * socket/accept4.c: Likewise.
40897         * socket/bind.c: Likewise.
40898         * socket/connect.c: Likewise.
40899         * socket/getpeername.c: Likewise.
40900         * socket/getsockname.c: Likewise.
40901         * socket/getsockopt.c: Likewise.
40902         * socket/isfdtype.c: Likewise.
40903         * socket/listen.c: Likewise.
40904         * socket/recv.c: Likewise.
40905         * socket/recvfrom.c: Likewise.
40906         * socket/recvmsg.c: Likewise.
40907         * socket/send.c: Likewise.
40908         * socket/sendmsg.c: Likewise.
40909         * socket/sendto.c: Likewise.
40910         * socket/setsockopt.c: Likewise.
40911         * socket/shutdown.c: Likewise.
40912         * socket/sockatmark.c: Likewise.
40913         * socket/socket.c: Likewise.
40914         * socket/socketpair.c: Likewise.
40915         * stdio-common/ctermid.c: Likewise.
40916         * stdio-common/cuserid.c: Likewise.
40917         * stdio-common/remove.c: Likewise.
40918         * stdio-common/rename.c: Likewise.
40919         * stdio-common/renameat.c: Likewise.
40920         * stdio-common/tempname.c: Likewise.
40921         * stdlib/getcontext.c: Likewise.
40922         * stdlib/makecontext.c: Likewise.
40923         * stdlib/setcontext.c: Likewise.
40924         * stdlib/swapcontext.c: Likewise.
40925         * stdlib/system.c: Likewise.
40926         * streams/fattach.c: Likewise.
40927         * streams/fdetach.c: Likewise.
40928         * streams/getmsg.c: Likewise.
40929         * streams/getpmsg.c: Likewise.
40930         * streams/putmsg.c: Likewise.
40931         * streams/putpmsg.c: Likewise.
40932         * sysdeps/unix/bsd/getpt.c: Likewise.
40933         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40934         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40935         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40937         Likewise.
40938         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40939         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40940         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40941         * sysvipc/msgctl.c: Likewise.
40942         * sysvipc/msgget.c: Likewise.
40943         * sysvipc/msgrcv.c: Likewise.
40944         * sysvipc/msgsnd.c: Likewise.
40945         * sysvipc/semctl.c: Likewise.
40946         * sysvipc/semget.c: Likewise.
40947         * sysvipc/semop.c: Likewise.
40948         * sysvipc/semtimedop.c: Likewise.
40949         * sysvipc/shmat.c: Likewise.
40950         * sysvipc/shmctl.c: Likewise.
40951         * sysvipc/shmdt.c: Likewise.
40952         * sysvipc/shmget.c: Likewise.
40953         * termios/tcdrain.c: Likewise.
40954         * termios/tcflow.c: Likewise.
40955         * termios/tcflush.c: Likewise.
40956         * termios/tcgetattr.c: Likewise.
40957         * termios/tcgetpgrp.c: Likewise.
40958         * termios/tcsendbrk.c: Likewise.
40959         * termios/tcsetattr.c: Likewise.
40960         * termios/tcsetpgrp.c: Likewise.
40961         * time/adjtime.c: Likewise.
40962         * time/clock.c: Likewise.
40963         * time/getitimer.c: Likewise.
40964         * time/gettimeofday.c: Likewise.
40965         * time/setitimer.c: Likewise.
40966         * time/settimeofday.c: Likewise.
40967         * time/stime.c: Likewise.
40968         * time/time.c: Likewise.
40970 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40972         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40973         /usr/old/bin.
40975         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40976         instead of spaces.
40977         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40979 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40981         [BZ #14796]
40982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40983         FE_TONEAREST before applying Dekker multiplication and Knuth
40984         addition.  Clear inexact exceptions and check for exact zero
40985         results afterwards.
40986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40987         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40989         * math/libm-test.inc (fma_test): Add more tests.
40990         (fma_test_towardzero): Likewise.
40991         (fma_test_downward): Likewise.
40992         (fma_test_upward): Likewise.
40993         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40994         function.
40995         (libc_fesetround): New macro.
40996         (libc_fesetroundf): Likewise.
40997         (libc_fesetroundl): Likewise.
40998         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40999         function.
41000         (libc_fesetround_387): Likewise.
41001         (libc_fesetroundf): New macro.
41002         (libc_fesetround): Likewise.
41003         (libc_fesetroundl): Likewise.
41004         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41005         function.
41006         (libc_fesetroundf): New macro.
41007         (libc_fesetround): Likewise.
41008         (libc_fesetroundl): Likewise.
41009         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41010         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41011         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41012         libm_hidden_ver.
41013         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41014         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41015         libm_hidden_def.
41016         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41017         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41018         libm_hidden_ver.
41019         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41020         libm_hidden_def.
41022         [BZ #3439]
41023         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41024         integer constant usable in #if and use that to give value to enum
41025         constant.
41026         (FE_DIVBYZERO): Likewise.
41027         (FE_UNDERFLOW): Likewise.
41028         (FE_OVERFLOW): Likewise.
41029         (FE_INVALID): Likewise.
41030         (FE_INVALID_SNAN): Likewise.
41031         (FE_INVALID_ISI): Likewise.
41032         (FE_INVALID_IDI): Likewise.
41033         (FE_INVALID_ZDZ): Likewise.
41034         (FE_INVALID_IMZ): Likewise.
41035         (FE_INVALID_COMPARE): Likewise.
41036         (FE_INVALID_SOFTWARE): Likewise.
41037         (FE_INVALID_SQRT): Likewise.
41038         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41039         (FE_TONEAREST): Likewise.
41040         (FE_TOWARDZERO): Likewise.
41041         (FE_UPWARD): Likewise.
41042         (FE_DOWNWARD): Likewise.
41043         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41044         (FE_DIVBYZERO): Likewise.
41045         (FE_OVERFLOW): Likewise.
41046         (FE_UNDERFLOW): Likewise.
41047         (FE_INEXACT): Likewise.
41048         (FE_TONEAREST): Likewise.
41049         (FE_DOWNWARD): Likewise.
41050         (FE_UPWARD): Likewise.
41051         (FE_TOWARDZERO): Likewise.
41052         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41053         (FE_UNDERFLOW): Likewise.
41054         (FE_OVERFLOW): Likewise.
41055         (FE_DIVBYZERO): Likewise.
41056         (FE_INVALID): Likewise.
41057         (FE_TONEAREST): Likewise.
41058         (FE_TOWARDZERO): Likewise.
41059         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41060         (FE_OVERFLOW): Likewise.
41061         (FE_UNDERFLOW): Likewise.
41062         (FE_DIVBYZERO): Likewise.
41063         (FE_INEXACT): Likewise.
41064         (FE_TONEAREST): Likewise.
41065         (FE_TOWARDZERO): Likewise.
41066         (FE_UPWARD): Likewise.
41067         (FE_DOWNWARD): Likewise.
41068         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41069         (FE_DIVBYZERO): Likewise.
41070         (FE_OVERFLOW): Likewise.
41071         (FE_UNDERFLOW): Likewise.
41072         (FE_INEXACT): Likewise.
41073         (FE_TONEAREST): Likewise.
41074         (FE_DOWNWARD): Likewise.
41075         (FE_UPWARD): Likewise.
41076         (FE_TOWARDZERO): Likewise.
41078 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41080         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41082 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41084         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41085         commands.  Quote $PWD.
41086         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41087         -x" by "export".
41088         (remove_newlines): Remove.
41090 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41092         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41093         * stdlib/stdlib.h (atof): Moved to ...
41094         * include/bits/stdlib-float.h: Here.  New file.
41095         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41096         * stdlib/bits/stdlib-float.h: New file.
41097         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41098         -mno-sse -mno-mmx.
41099         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41100         <xmmintrin.h>.
41102 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41104         * conform/conformtest.pl (@headers): Add fenv.h.
41105         * conform/data/fenv.h-data: New file.
41106         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41107         include of <math/fenv.h>.
41109         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41110         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41111         && !UNIX98].  Enables tests for XOPEN2K8.
41112         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41113         POSIX2008]: Likewise.
41115         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41116         (struct rusage): Do not expect type or its members.
41118         [BZ #3439]
41119         * math/math.h (FP_NAN): Define macro to integer constant usable in
41120         #if and use that to give value to enum constant.
41121         (FP_INFINITE): Likewise.
41122         (FP_ZERO): Likewise.
41123         (FP_SUBNORMAL): Likewise.
41124         (FP_NORMAL): Likewise.
41126 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41128         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41129         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41130         arguments.
41132 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41134         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41135         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41136         autoconf-time if not.
41137         * configure.in: Remove AC_PREREQ.
41139 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41141         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41142         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41143         of the internal implementation.
41145 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41147         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41148         except include of <misc/sys/syslog.h>.
41150 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41153         function returns with a NULL context exit with zero.
41155 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41157         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41159 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41161         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41162         (run_program_cmd): This.
41163         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41164         (tst_langinfo): New variable.  Use it.
41166 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41168         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41169         floating point opcodes.
41171 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41173         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41174         variable.
41176         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41178         * sysdeps/mach/hurd/powerpc: Remove directory.
41179         * sysdeps/mach/powerpc: Likewise.
41181 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41183         * scripts/check-local-headers.sh: Ignore c++ headers.
41185 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41187         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41188         __libc_cleanup_region_start argument.
41190 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41192         [BZ #14784]
41193         [BZ #14785]
41194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41195         x * y using scaling, not as x * y + z.
41196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41198         * math/libm-test.inc (fma_test): Add more tests.
41199         (fma_test_towardzero): Likewise.
41200         (fma_test_downward): Likewise.
41201         (fma_test_upward): Likewise.
41203 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41205         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41207 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41209         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41210         New variable.
41212 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41214         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41216 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41219         Fix sort order.
41220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41221         Likewise.
41223 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41226         Fix the order of the list for glibc 2.17.
41227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41228         Likewise.
41230 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41234 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41236         [BZ #14610]
41237         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41238         for low part of x being zero before using __atanl (y).
41239         * math/libm-test.inc (atan2_test): Add another test.
41241         * manual/install.texi (Configuring and compiling): Document
41242         general use of test-wrapper and test-wrapper-env.
41243         * INSTALL: Regenerated.
41245         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41246         (__fma): Do not extract and scale down low bits on after-rounding
41247         systems when result rounded to normal precision would have normal
41248         exponent.
41249         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41250         (__fmal): Do not extract and scale down low bits on after-rounding
41251         systems when result rounded to normal precision would have normal
41252         exponent.
41253         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41254         (__fmal): Do not extract and scale down low bits on after-rounding
41255         systems when result rounded to normal precision would have normal
41256         exponent.
41257         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41258         macro.
41259         (fma_test): Add more tests.
41260         (fma_test_towardzero): Likewise.
41261         (fma_test_downward): Likewise.
41262         (fma_test_upward): Likewise.
41264 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41266         * sysdeps/i386/tininess.h: Renamed to ...
41267         * sysdeps/x86/tininess.h: This.
41268         * sysdeps/x86_64/tininess.h: Removed.
41270 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41272         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41273         input.  Use $(build-program-cmd).
41274         ($(objpfx)tst-array1-static.out): Likewise.
41275         ($(objpfx)tst-array2.out): Likewise.
41276         ($(objpfx)tst-array3.out): Likewise.
41277         ($(objpfx)tst-array4.out): Likewise.
41278         ($(objpfx)tst-array5.out): Likewise.
41279         ($(objpfx)tst-array5-static.out): Likewise.
41281 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41283         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41284         if defined.
41286         * nss/nsswitch.h (nss_interface_function): Provide new
41287         macro for use with NSS functions.
41288         * grp/initgroups.c: Use new macro.
41289         * nss/getXXbyYY.c: Likewise.
41290         * nss/getXXbyYY_r.c: Likewise.
41291         * nss/getXXent.c: Likewise.
41292         * nss/getXXent_r.c: Likewise.
41293         * sysdeps/posix/getaddrinfo.c: Likewise.
41295 2012-10-30  Andreas Jaeger  <aj@suse.de>
41297         * po/ru.po: Update Russion translation from translation project.
41299 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41301         [BZ #14152]
41302         [BZ #14783]
41303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41304         result and shift together with sticky bit instead of replicating
41305         round-to-nearest rounding.
41306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41308         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41309         missing underflow exceptions.
41310         (fma_test_towardzero): Add more tests.
41311         (fma_test_downward): Likewise.
41312         (fma_test_upward): Likewise.
41314         [BZ #14047]
41315         * sysdeps/generic/tininess.h: New file.
41316         * sysdeps/i386/tininess.h: Likewise.
41317         * sysdeps/sh/tininess.h: Likewise.
41318         * sysdeps/x86_64/tininess.h: Likewise.
41319         * stdlib/tst-strtod-underflow.c: Likewise.
41320         * stdlib/tst-tininess.c: Likewise.
41321         * stdlib/strtod_l.c: Include <tininess.h>.
41322         (round_and_return): Do not set errno for exact underflow cases.
41323         Force an underflow exception when setting errno for underflow.
41324         Determine underflow based on rounding to normal precision if
41325         TININESS_AFTER_ROUNDING.
41326         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41327         ERANGE for exact underflow cases.
41328         * stdlib/Makefile (tests): Add tst-tininess and
41329         tst-strtod-underflow.
41330         ($(objpfx)tst-tininess): Use $(link-libm).
41331         ($(objpfx)tst-strtod-underflow): Likewise.
41333 2012-10-30  Andreas Jaeger  <aj@suse.de>
41335         [BZ#14767]
41336         * elf/Makefile (tests): Remove conditional for have-initfini-array
41337         since this is now always required and the variable does not exist
41338         anymore.
41339         (tests-static): Likewise.
41340         (modules-names): Likewise.
41342         * po/eo.po: Add Esperanto translation from translation project.
41344         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41345         merged with constructor/destructor.
41346         (init_array): Likewise.
41347         * elf/tst-array2dep.c (fini_array): Likewise.
41348         (init_array): Likewise.
41350 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41352         * manual/message.texi: Delete @cartouche tags.
41354 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41356         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41357         EOPNOTSUPP.
41358         * sysdeps/mach/hurd/fsync.c: Likewise.
41360         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41361         [_POSIX_REALTIME_SIGNALS]: Change condition to
41362         [_POSIX_REALTIME_SIGNALS > 0].
41364 2012-10-27  Andreas Jaeger  <aj@suse.de>
41366         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41367         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41368         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41369         [__WORDSIZE != 64]: Likewise.
41371 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41373         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41374         *  iconvdata/tst-tables.sh: Likewise.
41376 2012-10-25  David S. Miller  <davem@davemloft.net>
41378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41379         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41380         of strtoull.
41382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41383         ifunc-impl-list.c
41384         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41385         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41386         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41387         file.
41389 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41391         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41392         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41393         __getdirentries.
41395 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41396             Jim Blandy  <jimb@codesourcery.com>
41398         * scripts/cross-test-ssh.sh: New file.
41399         * manual/install.texi (Configuring and compiling): Document use of
41400         cross-test-ssh.sh.
41401         * INSTALL: Regenerated.
41403 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41405         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41406         EOPNOTSUPP.
41408 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41410         * Makeconfig (run-program-prefix): Fix comment.
41412 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41413             Jim Blandy  <jimb@codesourcery.com>
41415         * Makeconfig (test-wrapper): New variable,
41416         (test-wrapper-env): Likewise.
41417         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41418         (run-built-tests): Define to yes.
41419         (run-program-prefix): Use $(test-wrapper).
41420         (built-program-cmd): Likewise.
41421         * Rules (make-test-out): Use $(test-wrapper-env) and
41422         $(host-built-program-cmd).
41423         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41424         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41425         tst-pathopt.sh.
41426         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41427         $(test-wrapper-env) to tst-rtld-load-self.sh.
41428         ($(objpfx)order2.out): Use $(test-wrapper).
41429         ($(objpfx)tst-initorder.out): Likewise.
41430         ($(objpfx)tst-initorder2.out): Likewise.
41431         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41432         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41433         (test_wrapper_env): New variable.  Use it to run ld.so.
41434         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41435         Use it to run ld.so.
41436         (test_wrapper_env): Likewise.
41437         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41438         $(test-wrapper) to run-iconv-test.sh.
41439         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41440         (ICONV): Use $test_wrapper.
41441         * posix/Makefile ($(objpfx)globtest.out): Pass
41442         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41443         globtest.sh, not $(run-program-prefix).
41444         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41445         (test_wrapper): Likewise.
41446         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41447         set together with run_via_rtld_prefix.
41448         (run_program_prefix): Define in terms of test_wrapper and
41449         run_via_rtld_prefix.
41451 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41453         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41454         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41455         Targets removed.
41457         [BZ #14743]
41458         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41459         Declare __clock_getres, __clock_gettime, __clock_settime,
41460         __clock_nanosleep, and __clock_getcpuclockid.
41461         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41462         Remove librt_hidden_def (clock_gettime).
41463         * sysdeps/unix/clock_gettime.c: Likewise.
41464         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41465         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41466         * rt/clock_getres.c: Define __clock_getres as an alias.
41467         * sysdeps/posix/clock_getres.c: Likewise.
41468         * rt/clock_settime.c: Define __clock_settime as an alias.
41469         * sysdeps/unix/clock_settime.c: Likewise.
41470         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41471         * sysdeps/unix/clock_nanosleep.c: Likewise.
41472         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41473         * rt/clock-compat.c: New file.
41474         * rt/Makefile (librt-routines): Add clock-compat and move
41475         $(clock-routines) to ...
41476         (routines): ... here, new variable.
41477         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41478         Don't add get_clockfreq here.
41479         * rt/Versions (libc: GLIBC_2.17): New version set.
41480         Add clock_* symbols here.
41481         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41482         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41483         (GLIBC_2.17): Add clock_* symbols.
41484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41488         Likewise.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41490         Likewise.
41491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41495         * NEWS: Mention the move.
41497         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41498         Use __open, __read, __close rather than their public counterparts.
41499         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41500         (__get_clockfreq_via_cpuinfo): Likewise.
41501         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41502         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41504         * config.h.in (HAVE_IFUNC): New #undef.
41505         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41506         was successful.
41507         * configure: Regenerated.
41509 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41511         * configure.in: Move READELF check to start of file.
41512         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41513         libc_cv_asm_gnu_indirect_function in the process.
41514         * configure: Regenerated.
41516 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41518         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41519         send the output to /dev/null.
41520         (libc_cv_cc_with_libunwind): Likewise.
41521         (libc_cv_as_noexecstack): Likewise.
41522         * configure: Regenerate.
41524 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41526         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41528         * posix/globtest.sh (TMPDIR): Do not set.
41529         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41530         (testout): Likewise.
41532 2012-10-24  Andreas Jaeger  <aj@suse.de>
41534         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41535         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41536         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41537         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41538         posix_fadvise64, posix_fallocate64.
41540         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41541         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41542         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41543         Likewise.
41544         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41545         Likewise.
41546         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41549         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41550         <bits/fcntl-linux.h>.
41551         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41553         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41554         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41555         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41556         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41557         [__WORDSIZE != 64]: Likewise.
41559 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41561         * Makeconfig (run-built-tests): New variable.
41562         * Rules [$(cross-compiling) = yes]: Change condition to
41563         [$(run-built-tests) = no].
41564         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41565         to [$(run-built-tests) = yes].
41566         * elf/Makefile [$(cross-compiling) = no]: Likewise
41567         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41568         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41569         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41570         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41571         * io/Makefile [$(cross-compiling) = no]: Likewise.
41572         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41573         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41574         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41575         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41576         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41577         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41578         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41579         * string/Makefile [$(cross-compiling) = no]: Likewise.
41581         * posix/Makefile ($(objpfx)globtest.out): Pass
41582         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41583         $(rtld-installed-name).
41584         * posix/globtest.sh (elf_objpfx): Remove variable.
41585         (rtld_installed_name): Likewise.
41586         (library_path): Likewise.
41587         (run_program_prefix): New variable.  Use for running globtest
41588         binary.
41590 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41591             Joseph Myers  <joseph@codesourcery.com>
41593         * Makeconfig (host-built-program-cmd): New variable.
41594         * elf/Makefile (tst-stackguard1-ARGS): Use
41595         $(host-built-program-cmd).
41596         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41597         (tst-spawn-ARGS): Likewise.
41598         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41600 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41601             Jim Blandy  <jimb@codesourcery.com>
41603         * Makeconfig (run-via-rtld-prefix): New variable.
41604         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41605         (built-program-cmd): Likewise.
41607 2012-10-22  Andreas Jaeger  <aj@suse.de>
41609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41610         __O_RSYNC if it exists, otherwise to O_SYNC.
41612 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41613             Joseph Myers  <joseph@codesourcery.com>
41615         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41616         /dev/null.
41617         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41618         from /dev/null
41619         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41620         /dev/null.
41622 2012-10-22  Andreas Jaeger  <aj@suse.de>
41624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41625         Define always.
41626         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41629         bits/fcntl-linux.h.
41631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41632         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41635         to __O_LARGEFILE.
41636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41637         to __O_LARGEFILE.
41639 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41640             Joseph Myers  <joseph@codesourcery.com>
41642         * config.make.in (NM): New variable.
41644 2012-10-21  Andreas Jaeger  <aj@suse.de>
41646         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41647         definitions and declarations that are provided by
41648         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41650 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41652         [BZ #14683]
41653         * elf/Makefile (tests-static): Add tst-leaks1-static.
41654         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41655         ($(objpfx)tst-leaks1-static): New rule.
41656         ($(objpfx)tst-leaks1-static-mem): Likewise.
41657         (tst-leaks1-static-ENV): New macro.
41658         * elf/dl-open.c (dl_open_worker): Check the main application
41659         only if SHARED is defined.
41660         * elf/tst-leaks1-static.c: New file.
41662 2012-10-20  Andreas Jaeger  <aj@suse.de>
41664         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41665         generic values for Linux.
41666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41667         and declarations that are provided by <bits/fcntl-linux.h> and
41668         include <bits/fcntl-linux.h>.
41669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41670         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41672 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41674         * io/fcntl.h: Move include of <bits/types.h> to the top and
41675         include it unconditionally.
41677 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41679         * wcsmbs/Makefile (tests-ifunc): New variable.
41680         (tests): Add $(tests-ifunc).
41681         * wcsmbs/test-wcschr-ifunc.c: New file.
41682         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41683         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41684         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41685         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41686         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41688         * string/Makefile (tests-ifunc): New variable.
41689         (tests): Add $(tests-ifunc).
41690         * string/test-memccpy.c (TEST_NAME): New macro.
41691         * string/test-memchr.c (TEST_NAME): Likewise.
41692         * string/test-memcmp.c (TEST_NAME): Likewise.
41693         * string/test-memcpy.c (TEST_NAME): Likewise.
41694         * string/test-memmem.c (TEST_NAME): Likewise.
41695         * string/test-memmove.c (TEST_NAME): Likewise.
41696         * string/test-memset.c (TEST_NAME): Likewise.
41697         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41698         * string/test-stpcpy.c (TEST_NAME): Likewise.
41699         * string/test-stpncpy.c (TEST_NAME): Likewise.
41700         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41701         * string/test-strcasestr.c (TEST_NAME): Likewise.
41702         * string/test-strcat.c (TEST_NAME): Likewise.
41703         * string/test-strchr.c (TEST_NAME): Likewise.
41704         * string/test-strcmp.c(TEST_NAME): Likewise.
41705         * string/test-strcpy.c (TEST_NAME): Likewise.
41706         * string/test-strcspn.c (TEST_NAME): Likewise.
41707         * string/test-strlen.c (TEST_NAME): Likewise.
41708         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41709         * string/test-strncmp.c (TEST_NAME): Likewise.
41710         * string/test-strncpy.c (TEST_NAME): Likewise.
41711         * string/test-strnlen.c (TEST_NAME): Likewise.
41712         * string/test-strpbrk.c (TEST_NAME): Likewise.
41713         * string/test-strrchr.c (TEST_NAME): Likewise.
41714         * string/test-strspn.c (TEST_NAME): Likewise.
41715         * string/test-strstr.c (TEST_NAME): Likewise.
41716         * string/test-bcopy-ifunc.c: New file.
41717         * string/test-bzero-ifunc.c: Likewise.
41718         * string/test-memccpy-ifunc.c: Likewise.
41719         * string/test-memchr-ifunc.c: Likewise.
41720         * string/test-memcmp-ifunc.c: Likewise.
41721         * string/test-memcpy-ifunc.c: Likewise.
41722         * string/test-memmem-ifunc.c: Likewise.
41723         * string/test-memmove-ifunc.c: Likewise.
41724         * string/test-mempcpy-ifunc.c: Likewise.
41725         * string/test-memset-ifunc.c: Likewise.
41726         * string/test-rawmemchr-ifunc.c: Likewise.
41727         * string/test-stpcpy-ifunc.c: Likewise.
41728         * string/test-stpncpy-ifunc.c: Likewise.
41729         * string/test-strcasecmp-ifunc.c: Likewise.
41730         * string/test-strcasestr-ifunc.c: Likewise.
41731         * string/test-strcat-ifunc.c: Likewise.
41732         * string/test-strchr-ifunc.c: Likewise.
41733         * string/test-strchrnul-ifunc.c: Likewise.
41734         * string/test-strcmp-ifunc.c: Likewise.
41735         * string/test-strcpy-ifunc.c: Likewise.
41736         * string/test-strcspn-ifunc.c: Likewise.
41737         * string/test-strlen-ifunc.c: Likewise.
41738         * string/test-strncasecmp-ifunc.c: Likewise.
41739         * string/test-strncat-ifunc.c: Likewise.
41740         * string/test-strncmp-ifunc.c: Likewise.
41741         * string/test-strncpy-ifunc.c: Likewise.
41742         * string/test-strnlen-ifunc.c: Likewise.
41743         * string/test-strpbrk-ifunc.c: Likewise.
41744         * string/test-strrchr-ifunc.c: Likewise.
41745         * string/test-strspn-ifunc.c: Likewise.
41746         * string/test-strstr-ifunc.c: Likewise.
41748         * debug/Makefile (tests-ifunc): New variable.
41749         (tests): Add $(tests-ifunc).
41750         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41751         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41752         * debug/test-stpcpy_chk-ifunc.c: New file.
41753         * debug/test-strcpy_chk-ifunc.c: Likewise.
41755 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41757         [BZ #13601]
41758         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41759         header is not read in.
41761 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41763         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41764         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41765         directly.  Pass built executable to script as
41766         $(built-program-cmd).
41767         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41768         $testprogram without using LD_LIBRARY_PATH and $ldso.
41770         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41771         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41772         $(rtld-installed-name).
41773         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41774         (rtld_installed_name): Likewise.
41775         (library_path): Likewise.
41776         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41777         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41778         $(run-program-prefix) to tst-tables.sh.
41779         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41780         it to run tst-table-from and tst-table-to.
41781         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41782         Pass it to tst-table.sh.
41783         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41784         $(run-program-prefix) to tst-gettext.sh.
41785         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41786         tst-translit.sh.
41787         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41788         tst-gettext2.sh.
41789         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41790         to run tst-gettext.
41791         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41792         to run tst-gettext2.
41793         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41794         to run tst-translit.
41795         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41796         $(run-program-prefix) to tst-mtrace.sh.
41797         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41798         to run tst-mtrace.
41799         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41800         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41801         $(rtld-installed-name).
41802         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41803         (rtld_installed_name): Likewise.
41804         (run_program_prefix): New variable.  Use it to run wordexp-test.
41806         * Makeconfig (ARCH): Remove all definitions.
41807         (machine): Likewise.
41808         [ARCH]: Remove conditional code.
41809         [!objdir]: Give error.
41810         [!objdir] (objpfx): Remove.
41811         [!objdir] (common-objpfx): Likewise.
41812         [!objdir] (common-objdir): Likewise.
41813         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41814         AC_CONFIG_FILES call.
41815         * configure: Regenerated.
41817         [BZ #13888]
41818         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41819         or TMPDIR.
41820         (testout): Likewise.
41822         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41823         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41824         $(rtld-installed-name).
41825         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41826         (rtld_installed_name): Likwise.
41827         (runit): Remove function.
41828         (run_getconf): New variable,  Use it for running getconf binary.
41830 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41832         [BZ #14716]
41833         * string/test-memmem.c (check_result): New function.
41834         (do_one_test): Use it.
41835         (check1): New function.
41836         (test_main): Use it.
41838 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41840         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41842 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41844         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41845         (_G_LSEEK64): Likewise.
41846         (_G_MMAP64): Likewise.
41847         (_G_FSTAT64): Likewise.
41848         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41849         (_G_LSEEK64): Likewise.
41850         (_G_MMAP64): Likewise.
41851         (_G_FSTAT64): Likewise.
41852         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41853         unconditional.  Call __mmap64 directly.
41854         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41855         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41856         __lseek64 directly.
41857         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41858         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41859         __mmap64 directly.
41860         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41861         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41862         __lseek64 directly.
41863         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41864         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41865         __lseek64 directly.
41866         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41867         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41868         __lseek64 directly.
41869         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41870         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41871         __fxstat64 directly.
41872         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41873         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41874         unconditional.
41875         (freopen64) [!_G_OPEN64]: Remove conditional code.
41876         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41877         unconditional.
41878         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41879         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41880         unconditional.
41881         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41882         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41883         unconditional.
41884         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41885         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41886         unconditional.
41887         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41888         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41889         unconditional.
41890         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41891         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41892         unconditional.
41893         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41894         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41895         unconditional.
41896         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41898 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41900         [BZ #12140]
41901         * manual/memory.texi (Malloc Tunable Parameters): Add note
41902         about free list pointers overwriting some perturb bytes.
41903         Wording suggested by Roland McGrath.
41905 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41907         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41908         (lgamma_test): Likewise.
41909         (tgamma_test): Likewise.
41911 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41913         [BZ #14700]
41914         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41915         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41917 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41919         * NEWS: Mention BZ #14716.
41920         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41921         when removing AVAILABLE1_USES_J macro.
41923 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41925         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41926         (__bswap_64): __uint64_t for unsigned 64-bit int.
41928 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41930         * include/string.h (memmem): Declare libc hidden alias.
41931         * string/memmem.c (memmem): Define libc hidden alias.
41932         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41933         __read, __close instead of open, read, close.
41935 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41938         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41939         global and hidden.
41940         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41941         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41942         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41943         Likewise.
41944         (__rawmemchr_sse2): Likewise.
41945         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41946         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41947         (__strchr_sse2): Likewise.
41948         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41949         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41950         (__strcasecmp_sse2): Likewise.
41951         (__strncasecmp_sse2): Likewise.
41952         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41953         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41954         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41955         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41956         (__strrchr_sse2): Likewise.
41957         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41958         ifunc-impl-list.c.
41959         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41960         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41961         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41962         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41963         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41964         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41965         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41966         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41967         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41968         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41969         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41970         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41971         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41972         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41973         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41974         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41975         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41976         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41977         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41978         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41979         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41980         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41981         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41982         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41983         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41984         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41985         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41986         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41987         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41988         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41990         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41991         global and hidden.
41992         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41993         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41994         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41995         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41996         Likewise.
41997         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41998         Likewise.
41999         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42000         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42001         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42002         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42003         ifunc-impl-list.c.
42004         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42005         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42007         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42008         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42009         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42010         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42011         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42012         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42013         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42017         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42018         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42019         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42020         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42021         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42022         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42023         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42024         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42029         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42030         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42031         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42032         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42034         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42035         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42036         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42037         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42039         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42041         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42042         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42043         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42044         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42046         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42047         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42048         * include/ifunc-impl-list.h: New file.
42049         * misc/ifunc-impl-list.c: Likewise.
42050         * misc/Makefile (routines): Add ifunc-impl-list.
42051         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42052         * string/test-string.h: Include <ifunc-impl-list.h>.
42053         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42054         TEST_NAME]: New variables.
42055         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42056         are defined.
42057         (test_init): Call __libc_ifunc_impl_list to initialize
42058         func_list if TEST_IFUNC and TEST_NAME are defined.
42060         * string/Makefile (strop-tests): Add bcopy and bzero.
42061         * string/test-bcopy.c: New file.
42062         * string/test-bzero.c: Likewise.
42063         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42064         defined.
42065         * string/test-memset.c: Support bzero test if TEST_BZERO is
42066         defined.
42067         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42068         __libc_memmove.
42069         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42070         __libc_memset.
42071         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42072         of memset.
42074 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42076         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42077         * configure: Regenerated.
42079         * Makeconfig (+link-static-before-libc): Don't include
42080         $(link-static-libc).
42082         * libio/libio.h (_IO_pos_t): Remove.
42084 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42086         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42087         McGrath.
42089 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42091         * crypt/crypt-entry.c: Include fips-private.h.
42092         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42093         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42094         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42095         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42097 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42099         * crypt/crypt-private.h: Include stdbool.h.
42100         (_ufc_setup_salt_r): Return bool.
42101         * crypt/crypt-entry.c: Include errno.h.
42102         (__crypt_r): Return NULL with EINVAL for bad salt.
42103         * crypt/crypt_util.c (bad_for_salt): New.
42104         (_ufc_setup_salt_r): Check that salt is long enough and within
42105         the specified alphabet.
42106         * crypt/badsalttest.c: New file.
42107         * crypt/Makefile (tests): Add it.
42108         ($(objpfx)badsalttest): New.
42110 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42112         * NEWS: Add entry for BZ #14602.
42114 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42116         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42117         type-generic.
42118         * math/libm-test.inc: Update comment listing what functions and
42119         macros are tested.
42120         (isgreater_test): New function.
42121         (isgreaterequal_test): Likewise.
42122         (isless_test): Likewise.
42123         (islessequal_test): Likewise.
42124         (islessgreater_test): Likewise.
42125         (isunordered_test): Likewise.
42126         (main): Call the new functions.
42128 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42130         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42131         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42132         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42133         * sysdeps/i386/configure: Regenerated.
42134         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42135         * sysdeps/mach/configure: Regenerated.
42136         * sysdeps/mach/hurd/configure: Regenerated.
42137         * sysdeps/powerpc/configure: Regenerated.
42138         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42139         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42140         * sysdeps/s390/s390-32/configure: Regenerated.
42141         * sysdeps/s390/s390-64/configure: Regenerated.
42142         * sysdeps/sh/configure: Regenerated.
42143         * sysdeps/sparc/configure: Regenerated.
42144         * sysdeps/unix/sysv/linux/configure: Regenerated.
42145         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42146         * sysdeps/x86_64/configure: Regenerated.
42148         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42149         defined.  Don't check if MAP is NULL.
42151 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42153         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42154         (_G_stat64): Likewise.
42155         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42156         (_G_stat64): Likewise.
42157         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42158         instead of struct _G_stat64.
42159         * libio/fileops.c (mmap_remap_check): Likewise.
42160         (decide_maybe_mmap): Likewise.
42161         (_IO_new_file_seekoff): Likewise.
42162         (_IO_file_stat): Likewise.
42163         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42164         _G_off64_t.
42165         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42166         instead of struct _G_stat64.
42167         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42169 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42171         [BZ #14602]
42172         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42173         Replace with ...
42174         (CHECK_EOL): New macro.
42175         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42176         CHECK_EOL.
42177         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42178         Replace with CHECK_EOL.
42179         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42180         Replace with CHECK_EOL.
42182 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42184         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42185         type-generic.
42186         * math/libm-test.inc: Update comment listing what functions and
42187         macros are tested.
42188         (finite_test): New function.
42189         (isinf_test): Likewise.
42190         (isnan_test): Likewise.
42191         (fpclassify_test): Test subnormal input.
42192         (isfinite_test): Likewise.
42193         (isnormal_test): Likewise.
42194         (main): Call the new functions.
42196 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42198         [BZ #14660]
42199         * Makerules (%.dynsym): Force C locale when running
42200         $(OBJDUMP) --dynamic-syms.
42202 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42204         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42205         <stdint.h>.
42207 2012-10-06  David S. Miller  <davem@davemloft.net>
42209         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42210         upper 32-bits of the length value in %o2 since we use branch-on-register
42211         tests which consider the entire 64-bit register.
42213 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42215         * string/test-strstr.c (check2): Add a test for page boundary.
42217 2012-10-05  David S. Miller  <davem@davemloft.net>
42219         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42220         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42221         file.
42222         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42223         sysdep_routines.
42224         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42225         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42226         and bzero when HWCAP_SPARC_CRYPTO is present.
42228 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42230         [BZ #14602]
42231         * string/test-strstr.c (check2): New function.
42232         (test_main): Call check2.
42234         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42235         and bug-strchr1.
42236         * string/bug-strcasestr1.c (do_test): Moved to ...
42237         * string/test-strcasestr.c (check1): Here.  New function.
42238         (do_one_test): Break out result checking code into ...
42239         (check_result): This.  New function.
42240         (do_one_test): Call check_result.
42241         (test_main): Call check1.
42242         * string/bug-strchr1.c (do_test): Moved to ...
42243         * string/test-strchr.c (check1): Here.  New function.
42244         (do_one_test): Break out result checking code into ...
42245         (check_result): This.  New function.
42246         (do_one_test): Call check_result.
42247         (test_main): Call check1.
42248         * string/bug-strstr1.c (main): Moved to ...
42249         * string/test-strstr.c (check1): Here.  New function.
42250         (do_one_test): Break out result checking code into ...
42251         (check_result): This.  New function.
42252         (do_one_test): Call check_result.
42253         (test_main): Call check1.
42254         * string/bug-strcasestr1.c: Removed.
42255         * string/bug-strchr1.c: Likewise.
42256         * string/bug-strstr1.c: Likewise.
42258         * elf/Makefile (dl-routines): Add hwcaps.
42259         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42260         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42261         (_dl_important_hwcaps): Moved to ...
42262         * elf/dl-hwcaps.c: Here.  New file.
42263         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42265         [BZ #14557]
42266         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42267         if IS_IN_rtld isn't defined.
42269         * elf/dl-support.c (_dl_sysinfo_map): New.
42270         Include "get-dynamic-info.h" and "setup-vdso.h".
42271         (_dl_non_dynamic_init): Call setup_vdso.
42272         * elf/dynamic-link.h: Don't include <assert.h>.
42273         (elf_get_dynamic_info): Moved to ...
42274         * elf/get-dynamic-info.h: Here.  New file.
42275         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42276         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42277         * elf/setup-vdso.h: Here.  New file.
42278         * elf/rtld.c: Include "setup-vdso.h".
42279         (dl_main): Call setup_vdso.
42281 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42283         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42284         creal in comment listing functions tested.  List finite, isinf,
42285         isnan, isless, islessequal, isgreater, isgreaterequal,
42286         islessgreater, isunordered, lgamma_r and pow10 as functions and
42287         macros not tested.  Mention which functions not tested are aliases
42288         for other functions.  Fix typo.  Note that signs of NaNs are not
42289         tested.
42291         * scripts/config.guess: Update from config.git.
42292         * scripts/config.sub: Likewise.
42294 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42296         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42297         * misc/madvise.c (madvise): Renamed to __madvise.
42298         Make madvise a weak alias.
42299         * include/sys/mman.h: Declare __madvise.
42300         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42301         * sysdeps/unix/syscalls.list
42302         (madvise): Make __madvise the strong name, and madvise a weak alias.
42303         * sysdeps/unix/sysv/linux/syscalls.list
42304         (madvise, mmap): Remove redundant entries.
42305         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42306         * malloc/malloc.c (mtrim): Likewise.
42307         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42309 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42311         * sysdeps/mach/hurd/dl-cache.c: File removed.
42312         * config.h.in (USE_LDCONFIG): New #undef.
42313         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42314         * configure: Regenerated.
42315         * elf/Makefile (dl-routines): Add dl-cache only under
42316         [$(use-ldconfig) = yes].
42317         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42318         cache on [USE_LDCONFIG].
42319         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42320         [USE_LDCONFIG].
42321         * elf/rtld.c (dl_main): Likewise.
42323 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42325         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42326         _SC_LEVEL4_CACHE_LINESIZE.
42328 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42330         * sysdeps/unix/bsd/confstr.h: File removed.
42332 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42334         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42335         sys/sdt-config.h.
42337 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42339         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42340         Make 'mapoff' field ElfW(Off) rather than off_t.
42342 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42344         * nscd/Makefile: Remove nscd-cflags and all its users.
42345         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42346         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42348         [BZ #10631]
42349         * malloc.c (malloc_printerr): Clarify error message.
42351 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42353         [BZ #14648]
42354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42355         Set bit_FMA_Usable if FMA is supported.
42356         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42357         macro.
42358         (bit_FMA4_Usable): Updated.
42359         (index_FMA_Usable): New macro.
42360         (CPUID_FMA): Likewise
42361         (HAS_FMA): Defined with bit_FMA_Usable.
42363 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42365         * bits/types.h (__swblk_t): Type removed.
42366         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42367         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42368         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42369         (__SWBLK_T_TYPE): Likewise.
42370         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42371         (__SWBLK_T_TYPE): Likewise.
42372         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42373         (__SWBLK_T_TYPE): Likewise.
42374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42375         (__SWBLK_T_TYPE): Likewise.
42377 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42378             Honza Horak <hhorak@redhat.com>
42380         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42381         (xdr_mapname): Use YPMAXMAP as maxsize.
42382         (xdr_peername): Use YPMAXPEER as maxsize.
42383         (xdr_keydat): Use YPAXRECORD as maxsize.
42384         (xdr_valdat): Use YPMAXRECORD as maxsize.
42386 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42388         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42390         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42391         * csu/init-first.c: ... here.
42392         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42393         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42394         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42395         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42396         * sysdeps/i386/init-first.c: File removed.
42397         * sysdeps/sh/init-first.c: File removed.
42399 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42401         [BZ #14645]
42402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42403         if x * y might underflow to zero and z is zero.
42404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42406         * math/libm-test.inc (min_subnorm_value): New variable.
42407         (fma_test): Add more tests.
42408         (fma_test_towardzero): Likewise.
42409         (fma_test_downward): Likewise
42410         (fma_test_upward): Likewise.
42411         (initialize): Set min_subnorm_value.
42413 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42415         [BZ #14638]
42416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42417         0 + 0.
42418         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42419         mode for addition resulting in exact zero.
42420         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42421         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42422         exact 0 + 0.
42423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42425         * math/libm-test.inc (fma_test): Add more tests.
42426         (fma_test_towardzero): New function.
42427         (fma_test_downward): Likewise.
42428         (fma_test_upward): Likewise.
42429         (main): Call the new functions.
42431 2012-09-28  David S. Miller  <davem@davemloft.net>
42433         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42435 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42437         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42438         instead of SIGALRM.
42440         * sysdeps/gnu/_G_config.h: Moved to ...
42441         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42442         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42443         * sysdeps/generic/_G_config.h: ... here.
42445         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42447         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42449         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42450         Conditionalize target on [libnss_test1.so-version].
42452         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42454         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42455         (elfobjdir): Move out of conditionals.
42457         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42458         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42459         (__nss_lookup_function): Conditionalize label remove_from_tree on
42460         [!DO_STATIC_NSS || SHARED], matching its only use.
42462 2012-09-28  David S. Miller  <davem@davemloft.net>
42464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42465         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42466         file.
42467         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42468         sysdep_routines.
42469         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42471         when HWCAP_SPARC_CRYPTO is present.
42473 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42475         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42477 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42479         [BZ #6530]
42480         * stdio-common/vfprintf.c (process_string_arg): Revert
42481         2000-07-22 change.
42483 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42485         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42486         for testcase.
42487         * stdio-common/tst-sprintf.c: Include <locale.h>
42488         (main): Test sprintf's handling of incomplete multibyte
42489         characters.
42491 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42493         * elf/dl-runtime.c (VERSYMIDX): Removed.
42494         * elf/dl-version.c (VERSYMIDX): Likewise.
42495         * elf/do-rel.h (VERSYMIDX): Likewise.
42496         (VALIDX): Likewise.
42497         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42498         * elf/rtld.c (VALIDX): Likewise.
42499         (ADDRIDX): Likewise.
42500         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42501         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42502         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42503         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42504         (VALIDX): Likewise.
42505         (ADDRIDX): Likewise.
42507 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42509         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42511 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42513         [BZ #11438]
42514         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42515         to global scope.
42516         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42517         addresses are in the same scope as 192.0.2/24.
42518         * posix/gai.conf: Document new scope table defaults.
42520 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42522         [BZ #5298]
42523         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42524         for ftell.  Compute offsets from write pointers instead.
42525         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42527 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42529         [BZ #14543]
42530         * libio/Makefile (tests): New test case tst-fseek.
42531         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42532         combination works in wide mode.
42533         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42534         state when the external buffer state changes.
42536 2012-09-27  David S. Miller  <davem@davemloft.net>
42538         [BZ #14376]
42539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42540         pass reloc->r_addend in as the 'high' argument to
42541         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42545 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42547         * rt/tst-aio2.c: Include <pthread.h>.
42548         * rt/tst-aio3.c: Likewise.
42550 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42552         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42554 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42556         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42557         contents on [SHARED].
42559 2012-09-26  Marek Polacek  <polacek@redhat.com>
42561         [BZ #14530]
42562         [BZ #13741]
42563         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42564         for C++ and GCC <4.3 as well as for non GCC compilers.
42566 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42570 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42572         * Makefile.in (all, install): Declare with .PHONY.
42573         Reported by Michael Hope <michael.hope@linaro.org>.
42575 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42577         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42578         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42579         system header.
42580         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42581         Likewise.
42582         (sydep_routines): Add the new and the internal functions.
42583         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42584         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42586         (GLIBC_2.17): Add the new function.
42587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42588         (GLIBC_2.17): Likewise.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42590         (GLIBC_2.17): Likewise.
42591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42592         (GLIBC_2.17): Likewise.
42593         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42595 2012-09-25  Alan Modra  <amodra@gmail.com>
42597         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42598         Add release barrier before setting once_control to say
42599         initialisation is done.  Add hints on lwarx.  Use macro in
42600         place of isync.
42601         (clear_once_control): Add release barrier.
42603 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42605         [BZ #13629]
42606         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42607         specially.
42608         * math/s_clog10.c (__clog10): Likewise.
42609         * math/s_clog10f.c (__clog10f): Likewise.
42610         * math/s_clog10l.c (__clog10l): Likewise.
42611         * math/s_clogf.c (__clogf): Likewise.
42612         * math/s_clogl.c (__clogl): Likewise.
42613         * math/Makefile (libm-calls): Add x2y2m1.
42614         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42615         (__x2y2m1): Likewise.
42616         (__x2y2m1l): Likewise.
42617         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42618         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42619         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42620         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42621         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42622         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42623         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42624         * sysdeps/i386/fpu/libm-test-ulps: Update.
42625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42627         [BZ #14621]
42628         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42629         int as type of variable DEPTH.
42630         (glob): Use size_t instead of int as type of variables NEWCOUNT
42631         and OLD_PATHC.
42633 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42635         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42636         Add s_sincosf-sse2.
42637         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42638         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42639         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42640         macros for using routine as __sincosf_ia32.
42641         Use macro for function declaration and weak_alias.
42642         * sysdeps/i386/fpu/libm-test-ulps: Update.
42644         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42647         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42648         subnormal argument.
42649         * math/s_cexpf.c (__cexpf): Likewise.
42650         * math/s_csinf.c (__csinf): Likewise.
42651         * math/s_csinhf.c (__csinhf): Likewise.
42652         * math/s_ctanf.c (__ctanf): Likewise.
42653         * math/s_ctanhf.c (__ctanhf): Likewise.
42654         * math/s_ccosh.c (__ccoshf): Likewise.
42655         * math/s_cexp.c (__cexpl): Likewise.
42656         * math/s_csin.c (__csin): Likewise.
42657         * math/s_csinh.c (__csinh): Likewise.
42658         * math/s_ctan.c (__ctan): Likewise.
42659         * math/s_ctanh.c (ctanh): Likewise.
42660         * math/s_ccoshl.c (__ccoshl): Likewise.
42661         * math/s_cexpl.c (__cexpl): Likewise.
42662         * math/s_csinl.c (__csinl): Likewise.
42663         * math/s_csinhl.c (__csinhl): Likewise.
42664         * math/s_ctanl.c (__ctanl): Likewise.
42665         * math/s_ctanhl.c (__ctanhl): Likewise.
42667 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42669         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42670         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42671         (_IO_off_t): Define to __off_t, not _G_off_t.
42672         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42673         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42674         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42675         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42676         type of __dummy and __dummy2 fields.
42677         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42678         (_G_ssize_t): Likewise.
42679         (_G_off_t): Likewise.
42680         (_G_pid_t): Likewise.
42681         (_G_uid_t): Likewise.
42682         (_G_wchar_t): Likewise.
42683         (_G_wint_t): Likewise.
42684         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42685         (_G_ssize_t): Likewise.
42686         (_G_off_t): Likewise.
42687         (_G_pid_t): Likewise.
42688         (_G_uid_t): Likewise.
42689         (_G_wchar_t): Likewise.
42690         (_G_wint_t): Likewise.
42691         * sysdeps/mach/hurd/_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.
42699 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42701         * malloc/arena.c: Include malloc-sysdep.h.
42702         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42703         is sufficient to shrink the heap or an unmap is needed.
42704         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42705         new function check_may_shrink_heap.
42706         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42707         new function check_may_shrink_heap.
42709 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42711         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42712         comments.
42714 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42716         * catgets/test-gencat.sh: Add "set -e".
42717         * elf/tst-pathopt.sh: Likewise.
42718         * grp/tst_fgetgrent.sh: Likewise.
42719         * iconvdata/run-iconv-test.sh: Likewise.
42720         * intl/tst-gettext.sh: Likewise.
42721         * intl/tst-gettext2.sh: Likewise.
42722         * intl/tst-gettext4.sh: Likewise.
42723         * intl/tst-gettext6.sh: Likewise.
42724         * intl/tst-translit.sh: Likewise.
42725         * io/ftwtest-sh: Likewise.
42726         * libio/test-freopen.sh: Likewise.
42727         * malloc/tst-mtrace.sh: Likewise.
42728         * posix/globtest.sh: Likewise.
42729         * posix/tst-getconf.sh: Likewise.
42730         * posix/wordexp-tst.sh: Likewise.
42731         * stdio-common/tst-printf.sh: Likewise.
42732         * stdio-common/tst-unbputc.sh: Likewise.
42733         * stdlib/tst-fmtmsg.sh: Likewise.
42734         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42735         * catgets/Makefile: Do not specify -e option when running
42736         testsuite shell scripts.
42737         * elf/Makefile: Likewise.
42738         * grp/Makefile: Likewise.
42739         * iconvdata/Makefile: Likewise.
42740         * intl/Makefile: Likewise.
42741         * io/Makefile: Likewise.
42742         * libio/Makefile: Likewise.
42743         * malloc/Makefile: Likewise.
42744         * posix/Makefile: Likewise.
42745         * stdio-common/Makefile: Likewise.
42746         * stdlib/Makefile: Likewise.
42747         * sysdeps/x86_64/Makefile: Likewise.
42749         * io/ftwtest-sh: Add copyright header.
42750         * posix/globtest.sh: Likewise.
42751         * posix/tst-getconf.sh: Likewise.
42752         * posix/wordexp-tst.sh: Likewise.
42753         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42755 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42757         [BZ #13679]
42758         * Makeconfig (+link): Defined as $(+link-static) if
42759         $(build-shared) isn't yes.
42760         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42761         isn't yes.
42762         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42764         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42766         [BZ #14562]
42767         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42768         new chunk size with MALLOC_ALIGN_MASK.
42770 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42772         [BZ #5044]
42773         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42774         <rounding-mode.h>.
42775         (__printf_fphex): Determine rounding using get_rounding_mode and
42776         round_away.
42777         * stdio-common/tst-printf-round.c (struct hex_test): New
42778         structure.
42779         (hex_tests): New variable.
42780         (test_hex_in_one_mode): New function.
42781         (do_test): Also run tests for hex float output.
42783 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42785         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42786         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42787         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42788         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42789         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42790         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42791         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42792         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42794 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42796         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42797         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42798         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42799         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42801 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42803         [BZ #14579]
42804         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42805         mode only.
42806         * elf/tst-rtld-load-self.sh: New test.
42807         * elf/Makefile: Run it.
42809 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42811         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42812         (tst-writev-ENV): Remove.
42813         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42815 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42817         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42819 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42821         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42822         unconditional.
42823         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42824         Likewise.
42825         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42826         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42827         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42828         Likewise.
42830 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42832         [BZ #14587]
42833         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42834         * config.make.in (have-cpp-asm-debuginfo): Removed.
42835         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42836         * configure: Regenerated.
42838 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42840         [BZ #5044]
42841         * stdio-common/printf_fp.c: Include <stdbool.h> and
42842         <rounding-mode.h>.
42843         (___printf_fp): Determine rounding using get_rounding_mode and
42844         round_away.
42845         * stdio-common/tst-printf-round.c: New file.
42846         * stdio-common/Makefile (tests): Add tst-printf-round.
42847         (link-libm): New variable.
42848         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42850 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42852         [BZ #14576]
42853         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42854         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42855         Likewise.
42856         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42857         Likewise.
42859 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42861         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42862         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42863         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42864         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42866 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42868         [BZ #14518]
42869         * include/rounding-mode.h: New file.
42870         * sysdeps/generic/get-rounding-mode.h: Likewise.
42871         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42872         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42873         (MAX_VALUE): New macro.
42874         (MIN_VALUE): Likewise.
42875         (overflow_value): New function.
42876         (underflow_value): Likewise.
42877         (round_and_return): Use overflow_value and underflow_value to
42878         determine return values in overflow and underflow cases.  Use
42879         round_away to determine rounding depending on rounding mode.
42880         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42881         determine return values in overflow and underflow cases.
42882         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42883         (struct test_results): New structure.
42884         (struct test): Use struct test_results to store expected results
42885         for all rounding modes.
42886         (TEST): Include expected results for all rounding modes.
42887         (test_in_one_mode): New function.
42888         (do_test): Use test_in_one_mode to compute and check results.
42889         Check results for all rounding modes.
42890         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42891         $(link-libm).
42893 2012-12-09  Allan McRae  <allan@archlinux.org>
42895         * sysdeps/i386/fpu/libm-test-ulps: Update
42897 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42899         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42900         (_G_int32_t): Likewise.
42901         (_G_uint16_t): Likewise.
42902         (_G_uint32_t): Likewise.
42903         (_G_HAVE_BOOL): Likewise.
42904         (_G_HAVE_ATEXIT): Likewise.
42905         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42906         (_G_HAVE_IO_FILE_OPEN): Likewise.
42907         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42908         (_G_int32_t): Likewise.
42909         (_G_uint16_t): Likewise.
42910         (_G_uint32_t): Likewise.
42911         (_G_HAVE_BOOL): Likewise.
42912         (_G_HAVE_ATEXIT): Likewise.
42913         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42914         (_G_HAVE_IO_FILE_OPEN): Likewise.
42915         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42916         (_G_int32_t): Likewise.
42917         (_G_uint16_t): Likewise.
42918         (_G_uint32_t): Likewise.
42919         (_G_HAVE_BOOL): Likewise.
42920         (_G_HAVE_ATEXIT): Likewise.
42921         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42922         (_G_HAVE_IO_FILE_OPEN): Likewise.
42924 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42926         * csu/libc-tls.c: Update copyright years.
42928 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42930         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42931         [!_G_USING_THUNKS]: Remove conditional code.
42932         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42933         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42935         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42936         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42937         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42938         (_G_VTABLE_LABEL_PREFIX): Likewise.
42939         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42940         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42941         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42942         (_G_VTABLE_LABEL_PREFIX): Likewise.
42943         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42944         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42945         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42946         (_G_VTABLE_LABEL_PREFIX): Likewise.
42947         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42949 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42951         * libio/Makefile: Include ../Makeconfig before tests.
42952         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42953         only if $(build-shared) is yes.
42955         * iconv/gconv_db.c: Update copyright years.
42957 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42959         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42960         unwind info if defined PIC. Fix special cases description.
42961         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42963         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42964         DP_HI_MASK entry.
42965         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42967 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42969         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42971         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42972         is NULL.
42974         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42975         (LDLIBS-tst-chk4): This.
42976         (LDFLAGS-tst-chk5): Renamed to ...
42977         (LDLIBS-tst-chk5): This.
42978         (LDFLAGS-tst-chk6): Renamed to ...
42979         (LDLIBS-tst-chk6): This.
42980         (LDFLAGS-tst-lfschk4): Renamed to ...
42981         (LDLIBS-tst-lfschk4): This.
42982         (LDFLAGS-tst-lfschk5): Renamed to ...
42983         (LDLIBS-tst-lfschk5): This.
42984         (LDFLAGS-tst-lfschk6): Renamed to ...
42985         (LDLIBS-tst-lfschk6): This.
42987         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42988         on $(common-objpfx)soversions.mk.
42990 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42992         [BZ #10014]
42993         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42994         example host name.
42996 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42998         * malloc/arena.c (arena_get_retry): New function that gets
42999         another arena for the caller to try its request on.
43000         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43001         current arena cannot fulfill the request.
43002         (__libc_memalign): Likewise.
43003         (__libc_memalign): Likewise.
43004         (__libc_pvalloc): Likewise.
43005         (__libc_calloc): Likewise.
43007 2012-09-05  John Tobey  <john.tobey@gmail.com>
43009         [BZ #13542]
43010         * manual/arith.texi (Operations on Complex): Fix description
43011         of carg branch cut.
43013 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43015         [BZ #10014]
43016         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43017         host name.
43019         [BZ #10038]
43020         * manual/memory.texi (Memory): Make order of menu items match
43021         order of sections.
43023 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43025         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43026         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43027         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43029 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43031         * csu/libc-tls.c (static_dtv): Renamed to ...
43032         (_dl_static_dtv): This.  Make it global.
43033         (_dl_initial_dtv): Removed.
43034         (__libc_setup_tls): Updated.
43035         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43036         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43037         DL_INITIAL_DTV.
43039 2012-09-06  Petr Machata  <pmachata@redhat.com>
43041         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43042         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43043         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43044         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43046 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43048         [BZ #14545]
43049         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43050         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43051         freeing dtv[-1].
43053 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43055         [BZ #14544]
43056         * Makeconfig (link-static-before-libc): Replace $(+prector)
43057         with $(+prectorT).
43058         (link-static-after-libc): Replace $(+postctor) with
43059         $(+postctorT).
43060         (link-bounded): Replace $(+prector)/$(+postctor) with
43061         $(+prectorT)/$(+postctorT).
43062         (+prectorT): New macro.
43063         (+postctorT): Likewise.
43065 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43067         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43068         (round_str): Handle values above the maximum for IBM long double
43069         as inexact.
43070         * stdlib/tst-strtod-round.c (tests): Regenerated.
43072 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43074         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43075         assembler flag.
43076         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43077         zarch_nohighgprs around the zarch optimized routines.
43078         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43079         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43080         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43081         for zarch.
43083 2012-09-05  David S. Miller  <davem@davemloft.net>
43085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43087         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43088         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43089         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43090         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43091         entries.
43093 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43095         * malloc/arena.c: Fold copyright years.
43096         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43098 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43100         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43102 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43104         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43106 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43108         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43109         change internal state upon failure.
43111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43113         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43114         * malloc/memusage.c (mmap): Likewise.
43115         (mmap64, mremap): Likewise.  Adjust name in comment.
43117 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43119         * libio/fileops.c: Fix typos in comments.
43120         * libio/oldfileops.c: Likewise.
43121         * libio/wfileops.c: Likewise.
43123 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43125         [BZ #1349]
43126         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43127         (tst-malloc-usable-ENV): Set environment for test case.
43128         * malloc/hooks.c (malloc_check_get_size): New function to get
43129         requested size.
43130         * malloc/malloc.c (musable): Use malloc_check_get_size.
43131         * malloc/tst-malloc-usable.c: New test case.
43133 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43135         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43137 2012-09-05  Allan McRae  <allan@archlinux.org>
43139         [BZ #13966]
43140         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43141         determine header location.
43142         * configure: Regenerated.
43144 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43146         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43147         float format.
43148         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43149         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43150         format.
43151         (test): Regenerate.
43153 2012-09-04  David S. Miller  <davem@davemloft.net>
43155         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43156         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43159 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43161         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43162         failures.
43164         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43166 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43168         [BZ #9914]
43169         * libio/iogetdelim.c: Include <limits.h>.
43170         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43171         + len + 1 would overflow.
43173 2012-09-03  Andreas Jaeger  <aj@suse.de>
43175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43176         * sysdeps/i386/fpu/libm-test-ulps: Update.
43178 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43180         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43181         Add s_sinf-sse2, s_conf-sse2.
43183         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43184         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43185         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43186         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43188         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43189         for using routine as __sinf_ia32.
43190         Use macro for function declaration and weak_alias.
43191         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43192         for using routine as __cosf_ia32.
43193         Use macro for function declaration and weak_alias.
43195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43196         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43198         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43199         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43202         * math/libm-test.inc (cos_test): Add more test cases.
43203         (sin_test): Likewise.
43204         (sincos_test): Likewise.
43206 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43209         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43210         hidden.
43211         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43213 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43215         [BZ #14538]
43216         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43217         first element of the GOT.
43218         (elf_machine_load_address): Return the difference between
43219         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43221 2012-09-01  Allan McRae  <allan@archlinux.org>
43223         [BZ #13412]
43224         * configure.in (AWK): Require gawk version 3.0 or later.
43225         * configure: Regenerated.
43227 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43229         * sysdeps/unix/sysv/linux/kernel-features.h
43230         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43231         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43232         [__NR_clock_getres]: Make code unconditional.
43233         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43234         (clock_getcpuclockid): Remove code left unreachable by removal of
43235         conditionals.
43236         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43237         code unconditional.
43238         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43239         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43240         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43241         Make code unconditional.
43242         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43243         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43244         * sysdeps/unix/sysv/linux/clock_settime.c
43245         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43246         conditional code.
43247         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43248         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43250 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43252         [BZ #14476]
43253         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43254         scripts/test-installation.pl.
43256         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43257         and $ld_so_version if it is set.
43259 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43261         [BZ #14516]
43262         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43263         failure if reading from procfs failed.
43264         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43266 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43268         * sysdeps/unix/sysv/linux/kernel-features.h
43269         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43270         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43271         Remove conditional code.
43272         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43273         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43274         Remove conditional code.
43275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43276         * sysdeps/unix/sysv/linux/i386/fxstat.c
43277         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43278         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43279         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43280         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43282         * sysdeps/unix/sysv/linux/i386/lxstat.c
43283         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43284         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43285         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43286         Remove conditional code.
43287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43288         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43289         Remove conditional code.
43290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43291         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43292         <kernel-features.h>.
43293         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43294         Remove.
43295         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43296         Remove conditional code.
43297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43298         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43299         Remove conditional.
43301 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43303         [BZ #5400]
43304         * NEWS: Add fixed bug number.
43306 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43308         [BZ #14519]
43309         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43310         underflowing exponent in case of negative sign.
43311         * stdlib/tst-strtod-round-data: Add more tests.
43312         * stdlib/tst-strtod-round.c (tests): Regenerated.
43314         [BZ #3479]
43315         * stdlib/strtod_l.c (NDIG): Remove.
43316         (HEXNDIG): Likewise.
43317         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43318         smallest representable value.
43319         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43320         lie within an exact representation of 1/2 ulp of the result.
43321         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43322         unconditionally.
43323         (TENS_P9_IDX): Define unconditionally.
43324         (TENS_P9_SIZE): Likewise.
43325         (TENS_P10_IDX): Likewise.
43326         (TENS_P10_SIZE): Likewise.
43327         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43328         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43329         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43330         entries for 10^2^13 and 10^2^14.
43331         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43332         (TENS_P13_IDX): Define.
43333         (TENS_P13_SIZE): Likewise.
43334         (TENS_P14_IDX): Likewise.
43335         (TENS_P14_SIZE): Likewise.
43336         (_fpioconst_pow10): Change array size to
43337         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43338         unconditional.
43339         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43340         1024]: Add entries for 10^2^13 and 10^2^14.
43341         [LAST_POW10 > _LAST_POW10]: Remove #error.
43342         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43343         (_fpioconst_pow10): Change array size to
43344         FPIOCONST_POW10_ARRAY_SIZE.
43345         * stdlib/gen-fpioconst.c: New file.
43346         * stdlib/gen-tst-strtod-round.c: Likewise.
43347         * stdlib/tst-strtod-round-data: Likewise.
43348         * stdlib/tst-strtod-round.c: Likewise.
43349         * stdlib/Makefile (tests): Add tst-strtod-round.
43351         [BZ #14459]
43352         * stdlib/strtod_l.c: Include <stdint.h>.
43353         (NDEBUG): Do not define.
43354         (round_and_return): Change EXPONENT parameter to type intmax_t.
43355         Rearrange calculations to avoid internal overflow possibilities.
43356         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43357         Rearrange calculations to avoid internal overflow possibilities.
43358         Assert that number fits inside MPNSIZE limbs.
43359         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43360         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43361         calculations and add assertions to avoid internal overflow
43362         possibilities.  Add casts to avoid signed/unsigned operations.
43363         * stdlib/tst-strtod-overflow.c: New file.
43364         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43366 2012-08-25  Marek Polacek  <polacek@redhat.com>
43368         * time/time.h: Fix some typos in comments.
43370 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43372         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43373         * posix/tst-rfc3484-2.c: Likewise.
43374         * posix/tst-rfc3484-3.c: Likewise.
43376 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43378         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43379         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43381 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43383         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43384         #include of fxstatat64.c.
43386 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43388         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43389         * shadow/getspent_r.c: Likewise.
43390         * shadow/getspnam.c: Likewise.
43391         * shadow/getspnam_r.c: Likewise.
43392         * gshadow/getsgent.c: Likewise.
43393         * gshadow/getsgent_r.c: Likewise.
43394         * gshadow/getsgnam.c: Likewise.
43395         * gshadow/getsgnam_r.c: Likewise.
43396         * inet/getnetbyad.c: Likewise.
43397         * inet/getnetbyad_r.c: Likewise.
43398         * inet/getnetbynm.c: Likewise.
43399         * inet/getnetbynm_r.c: Likewise.
43400         * inet/getnetent.c: Likewise.
43401         * inet/getnetent_r.c: Likewise.
43402         * inet/getproto.c: Likewise.
43403         * inet/getproto_r.c: Likewise.
43404         * inet/getprtent.c: Likewise.
43405         * inet/getprtent_r.c: Likewise.
43406         * inet/getprtname.c: Likewise.
43407         * inet/getprtname_r.c: Likewise.
43408         * inet/getrpcbyname.c: Likewise.
43409         * inet/getrpcbyname_r.c: Likewise.
43410         * inet/getrpcbynumber.c: Likewise.
43411         * inet/getrpcbynumber_r.c: Likewise.
43412         * inet/getrpcent.c: Likewise.
43413         * inet/getrpcent_r.c: Likewise.
43414         * inet/getaliasent.c: Likewise.
43415         * inet/getaliasent_r.c: Likewise.
43416         * inet/getaliasname.c: Likewise.
43417         * inet/getaliasname_r.c: Likewise.
43418         * nscd/getgrgid_r.c: Likewise.
43419         * nscd/getgrnam_r.c: Likewise.
43420         * nscd/gethstbyad_r.c: Likewise.
43421         * nscd/gethstbynm3_r.c: Likewise.
43422         * nscd/getpwnam_r.c: Likewise.
43423         * nscd/getpwuid_r.c: Likewise.
43424         * nscd/getsrvbynm_r.c: Likewise.
43425         * nscd/getsrvbypt_r.c: Likewise.
43426         * nscd/gai.c: Likewise.
43428         * configure.in (build_nscd): New substituted variable, set
43429         by --disable-build-nscd and defaults to $use_nscd.
43430         * configure: Regenerated.
43431         * config.make.in (build-nscd): New substituted variable.
43432         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43433         Change conditional to require [$(build-nscd) = yes] as well.
43434         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43436         [BZ# 13696]
43437         * configure.in (use_nscd): New substituted variable, set by
43438         --disable-nscd.  If enabled, define USE_NSCD.
43439         * configure: Regenerated.
43440         * config.h.in: Add USE_NSCD.
43441         * config.make.in (use-nscd): New substituted variable.
43442         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43443         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43444         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43445         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43446         (CFLAGS-getgrnam_r.c): Likewise.
43447         (CFLAGS-initgroups.c): Likewise.
43448         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43449         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43450         Variables removed.
43451         * inet/getnetgrent_r.c
43452         (nscd_setnetgrent): New function, broken out of ...
43453         (setnetgrent): ... here.  Call it.
43454         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43455         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43456         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43457         * nscd/Makefile (routines, aux): Move definitions after include of
43458         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43459         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43460         Conditionalize on [USE_NSCD].
43461         (is_nscd, nscd_init_cb): Likewise.
43462         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43463         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43464         * nss/nss_db/db-init.c: Likewise.
43465         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43466         [USE_NSCD].
43467         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43468         (make_request): Use it.
43469         (cache_valid_p): New function.
43470         (__check_pf): Use it.
43471         * NEWS: Add item for --disable-nscd.
43473 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43475         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43476         to support sed >= 4.2.1-20-ga9bf076.
43477         * configure: Regenerated.
43479 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43481         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43482         Conditionalize whole body on [IREL].
43484 2012-08-22  Jeff Law <law@redhat.com>
43486         [BZ #14505]
43487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43488         if the family is PF_UNSPEC.
43490 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43492         * Makerules (lib-version): Rename from V.
43493         (install-lib-nosubdir): Change V to lib-version.
43495 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43497         [BZ #14252]
43498         * powerpc32/power6/wcschr.c: New file.
43499         * powerpc32/power6/wcscpy.c: New file.
43500         * powerpc32/power6/wcsrchr.c: New file.
43501         * powerpc64/power6/wcschr.c: New file.
43502         * powerpc64/power6/wcscpy.c: New file.
43503         * powerpc64/power6/wcsrchr.c: New file.
43505 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43507         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43508         (two_way_short_needle): Use it.
43509         * string/strstr.c (AVAILABLE1_USES_J): Define.
43510         * string/strcasestr.c: Likewise.
43512         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43513         array references.
43514         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43516         [BZ #11607]
43517         * NEWS: Add an entry.
43518         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43519         define their defaults.
43520         (two_way_short_needle): Detect end-of-string on-the-fly.
43521         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43522         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43523         * string/bug-strcasestr1.c: New test.
43524         * string/Makefile: Run it.
43526 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43528         [BZ #11607]
43529         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43530         the first character.
43532 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43534         * csu/elf-init.c (__libc_csu_irel): Function removed.
43535         * csu/libc-start.c (apply_irel): New function.
43536         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43538 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43540         * sysdeps/unix/sysv/linux/kernel-features.h
43541         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43542         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43543         <kernel-features.h>.
43544         [__NR_fadvise64_64]: Make code unconditional.
43545         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43546         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43547         !__NR_fadvise64_64)]: Likewise.
43548         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43549         !__NR_fadvise64_64))]: Likewise.
43550         [__NR_fadvise64]: Make code unconditional.
43551         [!__NR_fadvise64]: Remove conditional code.
43552         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43553         <kernel-features.h>.
43554         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43555         unconditional.
43556         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43557         conditional code.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43559         not include <kernel-features.h>.
43560         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43561         unconditional.
43562         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43563         conditional code.
43564         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43565         include <kernel-features.h>.
43566         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43567         unconditional.
43568         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43569         conditional code.
43571 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43573         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43574         slight instruction rearrangements per scrollpipe analysis.
43575         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43577 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43579         * manual/syslog.texi (syslog; vsyslog, closelog):
43580         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43581         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43583         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43584         DSOCAPS to match condition on defining it.
43586 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43588         * sysdeps/unix/sysv/linux/kernel-features.h
43589         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43591         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43592         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43594         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43595         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43597         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43598         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43600         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43601         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43603         * sysdeps/unix/sysv/linux/kernel-features.h
43604         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43605         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43606         unconditional.
43607         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43608         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43609         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43610         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43611         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43612         Make code unconditional.
43613         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43614         (__mmap64) [!__NR_mmap2]: Likewise.
43615         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43616         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43617         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43618         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43619         [__NR_mmap2]: Make code unconditional.
43620         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43621         (__mmap64) [!__NR_mmap2]: Likewise.
43623 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43625         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43627 2012-08-18  Andreas Jaeger  <aj@suse.de>
43629         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43631 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43633         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43634         * include/unistd.h (__have_sock_cloexec): Likewise.
43635         (__have_pipe2): Likewise.
43636         (__have_dup3): Likewise.
43638 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43640         [BZ #9685]
43641         * include/unistd.h (__have_pipe2): Change define into an extern int.
43642         (__have_dup3): Likewise.
43643         * socket/have_sock_cloexec.c: Include fcntl.h.
43644         (__have_pipe2): New variable.
43645         (__have_dup3): Likewise.
43647 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43649         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43651 2012-08-17  Marek Polacek  <polacek@redhat.com>
43653         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43654         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43656 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43658         * configure.in: Add AC_SUBST for sysheaders.
43659         * configure: Regenerated.
43660         * config.make.in (sysheaders): New substituted variable.
43662         * sysdeps/unix/mkfifo.c: Moved ...
43663         * sysdeps/posix/mkfifo.c: ... here.
43664         * sysdeps/unix/mkfifoat.c: Moved ...
43665         * sysdeps/posix/mkfifoat.c: ... here.
43667         * sysdeps/unix/utime.c: Moved ...
43668         * sysdeps/posix/utime.c: ... here.
43670         * sysdeps/unix/time.c: Moved ...
43671         * sysdeps/posix/time.c: ... here.
43672         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43673         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43675         * sysdeps/unix/nice.c: Moved ...
43676         * sysdeps/posix/nice.c: ... here.
43678         * sysdeps/unix/alarm.c: Moved ...
43679         * sysdeps/posix/alarm.c: ... here.
43681         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43683 2012-08-17  Jeff Law <law@redhat.com>
43685         * intl/Makefile (codeset_mo): New variable.
43686         ($(codeset_mo)): New target.
43687         (tst-codeset.out): Depend on that.  Remove explicit rule.
43688         (tst-gettext3.out, tst-gettext5.out): Likewise.
43689         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43690         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43691         * intl/tst-codeset.sh: Remove.
43692         * intl/tst-gettext3.sh: Likewise.
43693         * intl/tst-gettext5.sh: Likewise.
43695 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43697         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43698         * sysdeps/unix/syscalls.list: ... here.
43700         * sysdeps/posix/getaddrinfo.c
43701         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43702         (gaiconf_init, gaiconf_reload): Use them.
43703         [!_STATBUF_ST_NSEC]
43704         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43705         Define using time_t rather than struct timespec.
43707         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43708         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43709         Macros removed.
43710         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43711         [!NO_THREADS].
43712         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43713         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43714         Likewise.
43716         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43717         __libc_cleanup_push argument.
43719         * bits/param.h: New file.
43720         * misc/sys/param.h: New file.
43721         * include/sys/param.h: New file.
43722         * misc/Makefile (headers): Add bits/param.h.
43723         * sysdeps/generic/sys/param.h: File removed.
43724         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43725         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43726         * sysdeps/mach/hurd/bits/param.h: New file.
43727         * sysdeps/mach/hurd/sys/param.h: File removed.
43729         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43730         last change.
43732         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43733         [_IO_MTSAFE_IO].
43734         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43735         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43736         New macros.
43738         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43739         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43740         rather than -D_IO_MTSAFE_IO conditionally.
43741         * stdio-common/Makefile (CPPFLAGS): Likewise.
43742         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43743         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43744         Use $(libio-mtsafe).
43745         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43746         of -D_IO_MTSAFE_IO.
43747         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43748         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43749         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43750         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43751         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43752         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43753         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43754         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43755         (CFLAGS-fread_u_chk.c): Likewise.
43756         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43757         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43758         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43759         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43760         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43761         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43762         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43763         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43764         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43766         * libio/Makefile: Test [$(libc-reentrant) = yes]
43767         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43769         * Makeconfig
43770         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43771         * sysdeps/pthread/configure: File removed.
43772         * sysdeps/pthread/Makeconfig: New file.
43773         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43774         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43776 2012-08-16  Gary Benson  <gbenson@redhat.com>
43778         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43779         unmapping the first object in a namespace.
43781 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43783         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43784         (__internal_setnetgrent): ... this.  Add internal_function to
43785         definition.  Add libc_hidden_def.
43786         (setnetgrent): Update caller.
43787         (internal_endnetgrent): Renamed to ...
43788         (__internal_endnetgrent): ... this.  Add internal_function to
43789         definition.  Add libc_hidden_def.
43790         (endnetgrent): Update caller.
43791         (internal_getnetgrent_r): Renamed to ...
43792         (__internal_getnetgrent_r): ... this.  Add internal_function to
43793         definition.  Add libc_hidden_def.
43794         (__getnetgrent_r): Update caller.
43795         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43797 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43799         * stdlib/longlong.h: Update from GCC.
43801 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43803         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43804         on _QL, which is set by umul_ppmm but never used.
43805         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43806         variables, which are set by GMP macros but never used.
43807         * stdio-common/_itowa.c (_itowa): Likewise.
43808         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43809         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43811 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43813         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43814         struct La_sh_regs is not constant.
43815         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43816         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43817         and struct La_sparc64_regs are not constant.
43819 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43821         * sysdeps/unix/sysv/linux/kernel-features.h
43822         (__ASSUME_POSIX_TIMERS): Remove.
43823         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43824         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43825         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43826         Make code unconditional.
43827         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43828         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43829         Make code unconditional.
43830         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43831         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43832         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43833         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43834         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43835         Make code unconditional.
43836         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43837         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43838         (__libc_missing_posix_timers): Remove.
43840 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43842         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43843         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43845         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43847         * elf/dl-sym.c: Include <stdlib.h>.
43849         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43850         constants, which avoids warnings in 32-bit builds.
43852         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43853         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43855         * misc/lseek.c: File moved to ...
43856         * io/lseek.c: ... here.
43858         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43860         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43861         shifting LEN more than 31 bits at once.
43863 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43865         [BZ #14195]
43866         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43867         segmentation fault for a case of two empty input strings.
43868         * string/test-strncasecmp.c (check1): Renamed to...
43869         (bz12205): ...this.
43870         (bz14195): Add new testcase for two empty input strings and N > 0.
43871         (test_main): Call new testcase, adapt for renamed function.
43873 2012-08-15  Andreas Jaeger  <aj@suse.de>
43875         [BZ #14090]
43876         * crypt/md5test2.c: New test, based on test supplied by Serge
43877         Belyshev <belyshev@depni.sinp.msu.ru>.
43878         * crypt/Makefile (xtests): Add md5test-giant..
43879         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43881 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43883         [BZ #14090]
43884         * crypt/md5.c (md5_process_block): Don't assume the buffer
43885         length is less than 2**32.
43886         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43887         length is less than 2**64.
43889 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43891         * string/str-two-way.h: Include <sys/param.h>.
43892         (MAX): Macro removed.
43894         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43895         Move #define and #undef of memmove to just before and after
43896         including <string.h>.
43898         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43899         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43900         and after including <string.h>.  Move declarations of
43901         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43902         to before #include "string/memmove.c".
43904         * include/dirent.h: Declare __getdirentries.
43906         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43907         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43909 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43911         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43912         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43913         * sysdeps/i386/configure: Regenerated.
43914         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43915         STABS_CURRENT_FILE, and STABS_FUN.
43916         (END): Remove call to STABS_FUN_END.
43917         (STABS_CURRENT_FILE1): Delete.
43918         (STABS_CURRENT_FILE): Likewise.
43919         (STABS_FUN): Likewise.
43920         (STABS_FUN_END): Likewise.
43921         (STABS_FUN2): Likewise.
43922         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43923         * sysdeps/x86_64/configure: Regenerated.
43925 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43927         * elf/dl-open.c: Include <atomic.h>.
43928         * elf/dl-lookup.c: Likewise.
43930 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43932         * sysdeps/unix/sysv/linux/kernel-features.h
43933         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43934         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43935         unconditionally.
43936         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43937         unconditionally.
43938         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43939         condition on __ASSUME_CLONE_THREAD_FLAGS.
43941 2012-08-14  Andreas Jaeger  <aj@suse.de>
43943         * sysdeps/i386/fpu/libm-test-ulps: Update.
43945 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43947         * include/atomic.h (atomic_exchange_and_add): Split into ...
43948         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43949         New atomic macros.
43951 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43955 2012-08-13  Jeff Law <law@redhat.com>
43957         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43958         null byte in the output string.
43960 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43962         * sysdeps/unix/sysv/linux/kernel-features.h
43963         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43964         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43965         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43966         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43967         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43968         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43969         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43971 2012-08-09  Jeff Law <law@redhat.com>
43973         [BZ #13939]
43974         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43975         When avoid_arena is set, don't retry in the that arena.  Pick the
43976         next one, whatever it might be.
43977         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43978         (arena_lock): Pass in new parameter to arena_get2.
43979         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43980         arena_get2.
43981         (__libc_malloc): Unify retrying after main arena failure with
43982         __libc_memalign version.
43983         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43985 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43987         [BZ #14166]
43988         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43989         to __redirect_strstr.
43990         (__strstr_sse42): Use typeof __redirect_strstr.
43991         (__strstr_ia32): Likewise.
43992         (__libc_strstr): New prototype.
43993         (strstr): Renamed to ...
43994         (__libc_strstr): This.
43995         (strstr): New strong alias of __libc_strstr.
43996         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43997         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43998         __redirect_time.
43999         Include <time.h>.
44000         (__libc_time): New prototype.
44001         (time_ifunc): Replace time with __libc_time.
44002         (time): New strong alias and hidden definition of __libc_time.
44003         (__GI_time): Remove strong alias.
44004         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44005         Include <stddef.h>.
44006         (memmove): Redefined to __redirect_memmove.
44007         (__memmove_sse2): Use typeof __redirect_memmove.
44008         (__memmove_ssse3): Likewise.
44009         (__memmove_ssse3_back): Likewise.
44010         (__libc_memmove): New prototype.
44011         (memmove): Renamed to ...
44012         (__libc_memmove): This.
44013         (memmove): New strong alias of __libc_memmove.
44015 2012-08-08  Mark Salter  <msalter@redhat.com>
44017         * elf/elf.h
44018         (R_MN10300_TLS_GD): Define.
44019         (R_MN10300_TLS_LD): Likewise.
44020         (R_MN10300_TLS_LDO): Likewise.
44021         (R_MN10300_TLS_GOTIE): Likewise.
44022         (R_MN10300_TLS_IE): Likewise.
44023         (R_MN10300_TLS_LE): Likewise.
44024         (R_MN10300_TLS_DTPMOD): Likewise.
44025         (R_MN10300_TLS_DTPOFF): Likewise.
44026         (R_MN10300_TLS_TPOFF): Likewise.
44027         (R_MN10300_SYM_DIFF): Likewise.
44028         (R_MN10300_ALIGN): Likewise.
44029         (R_MN10300_NUM): Update.
44031 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44034         Remove.
44036 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44038         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44040         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44041         sysdeps/unix -> sysdeps/posix move.
44042         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44044 2012-08-07      Allan McRae     <allan@archlinux.org>
44046         [BZ #14303]
44047         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44048         (SUNOS_CPP): Likewise.
44049         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44050         not found.
44051         (open_input): Call CPP using execvp.
44053 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44055         * sysdeps/unix/sysv/linux/kernel-features.h
44056         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44057         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44058         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44059         (__ASSUME_WAITID_SYSCALL): Likewise.
44060         * sysdeps/unix/sysv/linux/dl-execstack.c
44061         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44062         code unconditional.
44063         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44064         conditional code.
44065         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44066         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44067         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44068         code.
44069         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44070         unconditional.
44071         [__ASSUME_WAITID_SYSCALL]: Likewise.
44072         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44074 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44076         * sysdeps/unix/closedir.c: Renamed to ...
44077         * sysdeps/posix/closedir.c: ... here.
44078         * sysdeps/unix/dirfd.c: Renamed to ...
44079         * sysdeps/posix/dirfd.c: ... here.
44080         * sysdeps/unix/dirstream.h: Renamed to ...
44081         * sysdeps/posix/dirstream.h: ... here.
44082         * sysdeps/unix/fdopendir.c: Renamed to ...
44083         * sysdeps/posix/fdopendir.c: ... here.
44084         * sysdeps/unix/opendir.c: Renamed to ...
44085         * sysdeps/posix/opendir.c: ... here.
44086         * sysdeps/unix/readdir.c: Renamed to ...
44087         * sysdeps/posix/readdir.c: ... here.
44088         * sysdeps/unix/readdir_r.c: Renamed to ...
44089         * sysdeps/posix/readdir_r.c: ... here.
44090         * sysdeps/unix/rewinddir.c: Renamed to ...
44091         * sysdeps/posix/rewinddir.c: ... here.
44092         * sysdeps/unix/seekdir.c: Renamed to ...
44093         * sysdeps/posix/seekdir.c: ... here.
44094         * sysdeps/unix/telldir.c: Renamed to ...
44095         * sysdeps/posix/telldir.c: ... here.
44096         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44097         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44098         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44099         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44101         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44102         * bits/fcntl.h: ... here.
44104         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44105         not 0.
44106         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44107         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44108         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44109         (struct flock): Move l_start, l_len to the beginning.
44110         Use __pid_t for l_pid.
44111         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44112         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44113         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44114         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44115         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44116         [__USE_LARGEFILE64] (struct flock64): New type.
44117         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44119         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44120         * bits/dirent.h: ... here.
44122         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44123         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44125 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44127         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44128         Change from 2.6.0 to 2.6.16.
44129         * sysdeps/unix/sysv/linux/configure: Regenerated.
44130         * sysdeps/unix/sysv/linux/kernel-features.h
44131         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44132         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44133         version.
44134         (__ASSUME_UTIMES): Likewise.
44135         (__ASSUME_CLONE_STOPPED): Remove.
44136         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44137         architectures, not kernel version.
44138         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44139         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44140         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44141         (__ASSUME_WAITID_SYSCALL): Likewise.
44142         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44143         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44144         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44145         refer to older versions.
44147 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44149         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44150         Define alphasort64 as an alias.
44151         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44152         Define versionsort64 as an alias.
44153         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44154         Define scandir64 as an alias.
44155         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44156         Define scandirat64 as an alias.
44157         * dirent/alphasort64.c (alphasort64):
44158         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44159         * dirent/versionsort64.c: Likewise.
44160         * dirent/scandir64.c: Likewise.
44161         * dirent/scandirat64.c: Likewise.
44162         * sysdeps/wordsize-64/alphasort.c: File removed.
44163         * sysdeps/wordsize-64/alphasort64.c: File removed.
44164         * sysdeps/wordsize-64/scandir.c: File removed.
44165         * sysdeps/wordsize-64/scandir64.c: File removed.
44166         * sysdeps/wordsize-64/scandirat.c: File removed.
44167         * sysdeps/wordsize-64/scandirat64.c: File removed.
44168         * sysdeps/wordsize-64/versionsort.c: File removed.
44169         * sysdeps/wordsize-64/versionsort64.c: File removed.
44170         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44171         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44172         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44173         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44174         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44175         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44176         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44177         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44179         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44181         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44183         [defined __arch64__ || defined __sparcv9]
44184         (__INO_T_MATCHES_INO64_T): New macro.
44185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44186         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44187         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44188         * sysdeps/unix/sysv/linux/bits/dirent.h
44189         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44190         (_DIRENT_MATCHES_DIRENT64): New macro.
44192         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44193         Define lockf64 as an alias.
44194         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44195         Define fseeko64 as an alias.
44196         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44197         Define ftello64 as an alias.
44198         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44199         Define _IO_fgetpos64 and fgetpos64 as aliases.
44200         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44201         Define _IO_fsetpos64 and fsetpos64 as aliases.
44202         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44203         Conditionalize body on this.
44204         * libio/fseeko64.c: Likewise.
44205         * libio/ftello64.c: Likewise.
44206         * libio/iofgetpos64.c: Likewise.
44207         * libio/iofsetpos64.c: Likewise.
44208         * sysdeps/wordsize-64/lockf.c: File removed.
44209         * sysdeps/wordsize-64/lockf64.c: File removed.
44210         * sysdeps/wordsize-64/fseeko.c: File removed.
44211         * sysdeps/wordsize-64/fseeko64.c: File removed.
44212         * sysdeps/wordsize-64/ftello.c: File removed.
44213         * sysdeps/wordsize-64/ftello64.c: File removed.
44214         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44215         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44216         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44217         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44218         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44219         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44220         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44221         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44222         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44223         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44225         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44226         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44227         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44229         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44231         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44233         [defined __arch64__ || defined __sparcv9]
44234         (__OFF_T_MATCHES_OFF64_T): New macro.
44235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44236         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44238         (__OFF_T_MATCHES_OFF64_T): New macro.
44240 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44242         * stdlib/secure-getenv.c (__secure_getenv): Replace
44243         GLIBC_2_16 with GLIBC_2_17.
44245 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44250 2012-08-03  David S. Miller  <davem@davemloft.net>
44252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44254 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44257         Remove.
44258         (__ASSUME_CORRECT_SI_PID): Likewise.
44259         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44260         (__ASSUME_TMPFS_NAME): Likewise.
44261         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44262         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44263         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44264         (HAVE_AUX_SECURE): Make definition unconditional.
44265         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44266         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44268 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44270         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44271         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44272         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44273         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44274         __eloop_threshold instead of SYMLOOP_MAX.
44276         * sysdeps/generic/eloop-threshold.h: New file.
44277         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44278         of MAXSYMLINKS.
44279         * elf/chroot_canon.c (chroot_canon): Likewise.
44281 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44283         [BZ #13717]
44284         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44285         Change to 2.6.0 everywhere.
44286         * sysdeps/unix/sysv/linux/configure: Regenerated.
44287         * sysdeps/unix/sysv/linux/kernel-features.h
44288         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44289         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44290         kernel versions.
44291         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44292         (__ASSUME_FUTEX_REQUEUE): Remove.
44293         (__ASSUME_STATFS64): Define unconditionally.
44294         (__ASSUME_AT_SECURE): Likewise.
44295         (__ASSUME_CORRECT_SI_PID): Likewise.
44296         (__ASSUME_TGKILL): Define without depending on kernel version for
44297         i386.
44298         (__ASSUME_UTIMES): Likewise.
44299         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44300         kernel version.
44301         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44302         (__ASSUME_TMPFS_NAME): Likewise.
44303         * README: Update reference to Linux kernel versions.
44305 2012-08-02  Marek Polacek  <polacek@redhat.com>
44307         [BZ# 14150]
44308         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44309         libc_cv_asm_type_prefix with %.
44310         * configure: Regenerated.
44311         * include/libc-symbols.h: Remove comment about
44312         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44313         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44314         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44315         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44316         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44317         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44318         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44319         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44320         * elf/tst-unique2mod1.c: Likewise.
44321         * elf/tst-unique1mod2.c: Likewise.
44322         * elf/tst-unique1mod1.c: Likewise.
44323         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44324         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44325         Replace ASM_TYPE_DIRECTIVE with .type.
44326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44327         * sysdeps/i386/sysdep.h: Likewise.
44328         * sysdeps/x86_64/sysdep.h: Likewise.
44329         * sysdeps/sh/sysdep.h: Likewise.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44331         Do not define ASM_TYPE_DIRECTIVE.
44332         * sysdeps/powerpc/sysdep.h: Likewise.
44333         * sysdeps/powerpc/powerpc32/sysdep.h:
44334         Replace ASM_TYPE_DIRECTIVE with .type.
44335         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44336         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44337         * sysdeps/i386/fpu/e_powf.S: Likewise.
44338         * sysdeps/i386/fpu/e_expl.S: Likewise.
44339         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44340         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44341         * sysdeps/i386/fpu/e_pow.S: Likewise.
44342         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44343         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44344         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44345         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44346         * sysdeps/i386/fpu/e_log2.S: Likewise.
44347         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44348         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44349         * sysdeps/i386/fpu/e_powl.S: Likewise.
44350         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44351         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44352         * sysdeps/i386/fpu/e_logl.S: Likewise.
44353         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44354         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44355         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44356         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44357         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44358         * sysdeps/i386/fpu/e_log.S: Likewise.
44359         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44360         * sysdeps/i386/fpu/e_logf.S: Likewise.
44361         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44362         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44363         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44364         * sysdeps/i386/fpu/e_log10.S: Likewise.
44365         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44366         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44367         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44368         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44369         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44370         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44371         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44372         * sysdeps/i386/i686/strtok.S: Likewise.
44373         * sysdeps/i386/i386-mcount.S: Likewise.
44374         * sysdeps/i386/strtok.S: Likewise.
44375         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44376         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44378         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44379         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44380         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44381         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44382         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44383         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44384         * sysdeps/x86_64/_mcount.S: Likewise.
44385         * sysdeps/x86_64/strtok.S: Likewise.
44386         * sysdeps/sh/_mcount.S: Likewise.
44388 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44390         * libio/iofopen.c: Include <fcntl.h>.
44391         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44392         (_IO_fopen64, fopen64): Define as aliases.
44393         * libio/iofopen64.c: Include <fcntl.h>.
44394         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44395         Conditionalize body on this.
44396         * sysdeps/wordsize-64/iofopen.c: File removed.
44397         * sysdeps/wordsize-64/iofopen64.c: File removed.
44399 2012-08-01  Marek Polacek  <polacek@redhat.com>
44401         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44402         Use dlfcn directly instead of a variable.
44403         (binfmt-subdir): Do not define.
44404         (dlfcn): Likewise.
44406 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44408         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44409         Remove all definitions.
44410         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44411         <kernel-features.h>.
44412         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44413         (miss_F_GETOWN_EX): Remove all definitions.
44414         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44415         macro definition.
44416         [!__ASSUME_FCNTL64]: Remove conditional code.
44417         [__ASSUME_FCNTL64]: Make code unconditional.
44418         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44419         <kernel-features.h>.
44420         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44421         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44422         (lockf64) [__NR_fcntl64]: Make code unconditional.
44423         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44425         * sysdeps/unix/sysv/linux/kernel-features.h
44426         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44427         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44428         Make code unconditional.
44429         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44430         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44432         [__NR_vfork]: Make code unconditional.
44433         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44434         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44436         [__NR_vfork]: Make code unconditional.
44437         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44438         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44440 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44442         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44443         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44445         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44446         Define mkstemp64 as an alias.
44447         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44448         Define mkstemps64 as an alias.
44449         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44450         Define mkostemp64 as an alias.
44451         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44452         Define mkostemps64 as an alias.
44453         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44454         Conditionalize body on this.
44455         * misc/mkostemp64.c: Likewise.
44456         * misc/mkostemps64.c: Likewise.
44457         * misc/mkstemps64.c: Likewise.
44458         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44459         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44460         * sysdeps/wordsize-64/mkostemp.c: File removed.
44461         * sysdeps/wordsize-64/mkstemp.c: File removed.
44462         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44463         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44464         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44465         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44467         [BZ #14138]
44468         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44469         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44470         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44471         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44473         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44474         compat_symbol macros from <shlib-compat.h> rather than the underlying
44475         default_symbol_version and symbol_version macros, so that DEFAULT
44476         lines in shlib-versions are respected.
44477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44479 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44481         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44482         Declare with warn_unused_result.
44483         (setgid, setregid, setegid, setresgid): Likewise.
44484         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44485         Likewise.
44486         * WUR-REPORT: Remove set*id functions.
44488 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44490         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44492 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44494         [BZ #10191]
44495         * include/sys/socket.h (__libc_accept, __libc_accept4):
44496         Add attribute_hidden.
44497         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44499         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44500         use of PTR_MANGLE.
44501         * inet/getnetgrent_r.c (setup): Likewise.
44503         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44505 2012-07-31  David S. Miller  <davem@davemloft.net>
44507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44509 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44511         [BZ #13629]
44512         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44513         value between 1.0 and 2.0 and smaller part has absolute value less
44514         than 1.0.
44515         * math/s_clog10.c (__clog10): Likewise.
44516         * math/s_clog10f.c (__clog10f): Likewise.
44517         * math/s_clog10l.c (__clog10l): Likewise.
44518         * math/s_clogf.c (__clogf): Likewise.
44519         * math/s_clogl.c (__clogl): Likewise.
44520         * math/libm-test.inc (clog_test): Add more tests.
44521         (clog10_test): Likewise.
44522         * sysdeps/i386/fpu/libm-test-ulps: Update.
44523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44525 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44527         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44528         Exit with zero in case no suitable GID is found, and write a
44529         message to standard error.
44531 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44533         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44534         rather than to 1.
44535         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44536         (MAXPATHLEN): Removed.
44537         (NOGROUP, NODEV): New macros.
44538         (setbit, clrbit, isset, isclr): New macros.
44539         (howmany, roundup, powerof2): New macros.
44540         (DEV_BSIZE): New macro.
44542         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44543         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44545         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44546         definition on [!__NO_LONG_DOUBLE_MATH].
44548         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44549         PTR_MANGLE and PTR_DEMANGLE.
44551         * socket/accept4.c (accept4): Rename to __libc_accept4.
44552         Define accept4 as a weak alias.
44554         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44555         on [_DIRENT_HAVE_D_TYPE].
44556         * io/ftw.c (ftw_dir): Likewise.
44558         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44560         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44562         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44563         Use the BSD numbers rather than the arbitrary ones we had.
44564         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44565         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44566         (SIGXCPU, SIGXFSZ): New macros.
44567         (_NSIG): Now 32.
44569         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44570         initializer on [_LIBC_REENTRANT].
44572         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44573         definitions inside [_POSIX_MAPPED_FILES].
44575         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44577         * dirent/opendir.c: Include <fcntl.h>.
44579         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44580         (__libc_getspecific): Likewise.
44581         (__libc_key_create): Likewise.
44583         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44584         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44585         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44586         (tmpfile64): Define as alias.
44587         * sysdeps/wordsize-64/tmpfile.c: File removed.
44588         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44589         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44590         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44592         * stdio-common/vfscanf.c: Include <stdbool.h>.
44593         * nss/makedb.c: Likewise.
44594         * stdio-common/_i18n_number.h: Likewise.
44595         * argp/argp-help.c: Likewise.
44596         * posix/wordexp.c: Likewise.
44597         * sysdeps/posix/spawni.c: Likewise.
44598         * nss/nss_files/files-initgroups.c: Likewise.
44599         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44600         * nss/nss_files/files-initgroups.c: Likewise.
44601         * nss/nss_db/db-netgrp.c: Likewise.
44602         * nss/nss_db/db-initgroups.c: Likewise.
44603         * io/fchmodat.c: Include <sys/stat.h>.
44605         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44606         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44608         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44609         [HAVE_MMAP].
44611         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44612         Add multiple inclusion protection.
44614 2012-07-27  David S. Miller  <davem@davemloft.net>
44616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44618 2012-07-27  Gary Benson  <gbenson@redhat.com>
44620         [BZ #14298]
44621         * elf/rtld.c: Include <stap-probe.h>.
44622         (dl_main): Added static probes "init_start" and "init_complete".
44623         * elf/dl-load.c: Include <stap-probe.h>.
44624         (lose): Take new parameter "nsid".
44625         Added static probe "map_failed".
44626         (_dl_map_object_from_fd): Pass namespace id to lose.
44627         Added static probe "map_start".
44628         (open_verify): Pass namespace id to lose.
44629         * elf/dl-open.c: Include <stap-probe.h>.
44630         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44631         and "reloc_complete".
44632         * elf/dl-close.c: Include <stap-probe.h>.
44633         (_dl_close_worker): Added static probes "unmap_start" and
44634         "unmap_complete".
44635         * elf/rtld-debugger-interface.txt: New file documenting the above.
44637 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44639         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44640         rather than a string variable.
44641         * sunrpc/rpc_main.c (h_output): Likewise.
44642         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44644 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44646         * inet/check_native.c: New file.
44648 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44650         [BZ #13629]
44651         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44652         if larger part has absolute value 1.0.
44653         * math/s_clog10.c (__clog10): Likewise.
44654         * math/s_clog10f.c (__clog10f): Likewise.
44655         * math/s_clog10l.c (__clog10l): Likewise.
44656         * math/s_clogf.c (__clogf): Likewise.
44657         * math/s_clogl.c (__clogl): Likewise.
44658         * math/libm-test.inc (clog_test): Add more tests.
44659         (clog10_test): Likewise.
44660         * sysdeps/i386/fpu/libm-test-ulps: Update.
44661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44663         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44664         (pltexit): Likewise.
44665         (La_regs): Likewise.
44666         (La_retval): Likewise.
44667         (int_retval): Likewise.
44668         Update #error for removed macros to refer only to definitions in
44669         tst-audit.h.
44670         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44671         macro.
44672         (pltexit): Likewise.
44673         (La_regs): Likewise.
44674         (La_retval): Likewise.
44675         (int_retval): Likewise.
44676         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44677         macro.
44678         (pltexit): Likewise.
44679         (La_regs): Likewise.
44680         (La_retval): Likewise.
44681         (int_retval): Likewise.
44682         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44683         macro.
44684         (pltexit): Likewise.
44685         (La_regs): Likewise.
44686         (La_retval): Likewise.
44687         (int_retval): Likewise.
44688         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44689         macro.
44690         (pltexit): Likewise.
44691         (La_regs): Likewise.
44692         (La_retval): Likewise.
44693         (int_retval): Likewise.
44694         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44695         macro.
44696         (pltexit): Likewise.
44697         (La_regs): Likewise.
44698         (La_retval): Likewise.
44699         (int_retval): Likewise.
44700         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44701         macro.
44702         (pltexit): Likewise.
44703         (La_regs): Likewise.
44704         (La_retval): Likewise.
44705         (int_retval): Likewise.
44706         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44707         macro definitions in tst-audit.h.
44708         * sysdeps/i386/tst-audit.h: New file.
44709         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44710         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44711         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44712         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44713         * sysdeps/sh/tst-audit.h: Likewise.
44714         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44715         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44716         * sysdeps/x86_64/tst-audit.h: Likewise.
44718 2012-07-26  Andreas Jaeger  <aj@suse.de>
44720         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44721         ptrace.
44723         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44724         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44725         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44726         PTRACE_O_MASK.
44727         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44728         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44729         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44731         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44732         value.
44734         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44735         _sigsys.
44736         (si_call_addr, si_syscall, si_arch): Define new macro.
44737         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44738         _sigsys.
44739         (si_call_addr, si_syscall, si_arch): Define new marcro.
44740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44741         _sigsys.
44742         (si_call_addr, si_syscall, si_arch): Define new macro.
44743         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44744         _sigsys.
44745         (si_call_addr, si_syscall, si_arch): Define new macro.
44747 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44749         [BZ #13717]
44750         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44751         Change to 2.4.21 where previously 2.4.1.
44752         * sysdeps/unix/sysv/linux/configure: Regenerated.
44753         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44754         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44755         Linux kernel version.
44756         (__ASSUME_STD_AUXV): Remove.
44757         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44758         kernel version.
44759         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44760         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44761         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44762         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44763         (__ASSUME_NETLINK_SUPPORT): Likewise.
44764         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44765         (__no_netlink_support): Remove conditional definition.
44766         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44767         Remove.
44768         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44769         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44770         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44771         (if_nameindex_ioctl): Remove.
44772         (if_nameindex_netlink): Do not handle __no_netlink_support.
44773         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44774         code.
44775         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44776         Remove conditional code.
44777         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44778         code.
44779         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44780         unconditional.
44781         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44782         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44783         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44784         Remove.
44785         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44786         [!__ASSUME_STD_AUXV]: Remove conditional code.
44787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44788         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44789         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44791         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44792         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44793         code.
44794         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44796         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44797         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44798         conditional code.
44799         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44801         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44802         code.
44803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44804         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44805         conditional code.
44806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44807         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44808         code unconditional.
44809         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44810         conditional code.
44811         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44812         unconditional.
44813         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44814         conditional code.
44815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44816         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44817         unconditional.
44818         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44819         conditional code.
44820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44821         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44822         code unconditional.
44823         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44824         conditional code.
44825         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44826         unconditional.
44827         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44828         conditional code.
44829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44830         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44831         code unconditional.
44832         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44833         conditional code.
44834         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44835         unconditional.
44836         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44837         conditional code.
44839 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44841         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44842         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44843         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44844         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44845         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44846         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44847         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44848         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44849         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44850         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44851         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44852         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44853         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44854         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44855         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44856         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44857         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44859         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44861         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44862         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44863         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44865 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44867         * Versions.def: Add GLIBC_2.17.
44868         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44869         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44870         Introduce __libc_secure_getenv.
44871         * stdlib/Versions (2.17): Add secure_getenv
44872         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44873         * stdlib/secure-getenv.c: Rename __secure_getenv to
44874         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44875         symbol __secure_getenv for GLIBC_2.0.
44876         * stdlib/tst-secure-getenv.c: New.
44877         * stdlib/Makefile (tests): Add testcase.
44878         * manual/startup.texi (Environment Access): Document
44879         secure_getenv.
44880         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44881         __libc_secure_getenv.
44882         * inet/ruserpass.c (ruserpass): Likewise.
44883         * malloc/mtrace.c (mtrace): Likewise.
44884         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44885         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44886         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44887         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44888         HAVE_SECURE_GETENV.
44889         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44890         __secure_getenv to __libc_secure_getenv.
44891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44893         Likewise.
44894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44895         Likewise.
44896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44898         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44904 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44906         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44907         (struct La_i86_retval): Likewise.
44908         (struct La_x86_64_regs): Likewise.
44909         (struct La_x86_64_retval): Likewise.
44910         (struct La_x32_regs): Likewise.
44911         (struct La_x32_retval): Likewise.
44912         (struct La_ppc32_regs): Likewise.
44913         (struct La_ppc32_retval): Likewise.
44914         (struct La_ppc64_regs): Likewise.
44915         (struct La_ppc64_retval): Likewise.
44916         (struct La_sh_regs): Likewise.
44917         (struct La_sh_retval): Likewise.
44918         (struct La_s390_32_regs): Likewise.
44919         (struct La_s390_32_retval): Likewise.
44920         (struct La_s390_64_regs): Likewise.
44921         (struct La_s390_64_retval): Likewise.
44922         (struct La_sparc32_regs): Likewise.
44923         (struct La_sparc32_retval): Likewise.
44924         (struct La_sparc64_regs): Likewise.
44925         (struct La_sparc64_retval): Likewise.
44926         (struct audit_ifaces): Remove architecture-specific pltenter and
44927         pltexit members.
44928         * sysdeps/i386/ldsodefs.h: New file.
44929         * sysdeps/powerpc/ldsodefs.h: Likewise.
44930         * sysdeps/s390/ldsodefs.h: Likewise.
44931         * sysdeps/sh/ldsodefs.h: Likewise.
44932         * sysdeps/sparc/ldsodefs.h: Likewise.
44933         * sysdeps/x86_64/ldsodefs.h: Likewise.
44935 2012-07-25  Marek Polacek  <polacek@redhat.com>
44937         [BZ #6808]
44938         * math/libm-test.inc (yn_test): Add another test.
44939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44940         to ERANGE when the result is +-Inf.
44941         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44942         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44943         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44944         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44946 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44948         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44949         equal to 0.
44950         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44951         clock_t.
44952         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44954 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44956         * configure.in <sysdeps resolving>: Correct printing
44957         Implies_before.
44958         * configure: Regenerate.
44960 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44962         * math/w_ilogb.c: Include <limits.h>.
44963         * math/w_ilogbl.c: Likewise.
44965 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44967         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44968         va_copy.  Document allowing for unavailable va_copy only as
44969         pre-C99 compatibility.
44970         * manual/string.texi (Copying and Concatenation): Use va_copy
44971         instead of __va_copy in concat example.
44973 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44975         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44976         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44977         it if not null.
44979         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44980         with O_NOLINK passed to __file_name_lookup.
44982         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44983         with O_NOLINK passed to __file_name_lookup.
44985         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44986         negative N or less than NGIDS.
44988         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44989         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44990         enough.  Use memcpy instead of strncpy.
44992 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44994         * elf/Makefile (check-data): Remove.
44995         (localplt.data): New vpath directive.
44996         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44997         instead of $(check-data).
44998         * scripts/data/localplt-generic.data: Move to ...
44999         * sysdeps/generic/localplt.data: ... here.
45000         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45001         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45002         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45004         ... here.
45005         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45007         ... here.
45008         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45010         ... here.
45011         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45013         ... here.
45014         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45016         ... here.
45017         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45019         ... here.
45021 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45023         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45024         PPC32 and PPC64 files.
45025         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45026         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45028 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45030         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45031         __makecontext_ret to ...
45032         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45033         ... here and call exit if uc_link is NULL.  New file.
45034         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45035         __makecontext_ret.S.
45036         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45037         __makecontext_ret to ...
45038         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45039         ... here and call exit if uc_link is NULL.  New file.
45040         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45041         __makecontext_ret.S.
45043 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45045         * elf/elf.h (R_390_IRELATIVE): New definition.
45046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45047         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45048         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45050         (elf_machine_lazy_rel): Likewise.
45051         * sysdeps/s390/dl-irel.h: New file.
45052         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45053         * sysdeps/s390/s390-64/memset.S: New asm code.
45054         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45055         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45056         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45057         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45058         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45059         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45060         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45061         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45062         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45063         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45064         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45065         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45066         * sysdeps/s390/s390-32/memset.S: New asm code.
45067         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45069 2012-07-17  Marek Polacek  <polacek@redhat.com>
45071         [BZ #14349]
45072         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45073         * sysdeps/s390/s390-64/configure.in: Likewise.
45074         * sysdeps/sparc/configure.in: Likewise.
45075         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45076         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45077         * sysdeps/i386/configure.in: Likewise.
45078         * sysdeps/x86_64/configure.in: Likewise.
45079         * sysdeps/sh/configure.in: Likewise.
45080         * sysdeps/s390/s390-32/configure: Regenerated.
45081         * sysdeps/s390/s390-64/configure: Likewise.
45082         * sysdeps/x86_64/configure: Likewise.
45083         * sysdeps/sh/configure: Likewise.
45084         * sysdeps/powerpc/powerpc64/configure: Likewise.
45085         * sysdeps/powerpc/powerpc32/configure: Likewise.
45086         * sysdeps/sparc/configure: Likwise.
45087         * sysdeps/i386/configure: Likewise.
45089         * elf/dl-open.c: Comment fixes.
45091 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45093         * Makefile [CXX] (check-data): Remove.
45094         [CXX] (c++-types.data): New vpath directive.
45095         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45096         vpath.  Do not allow for C++ type data being missing.
45097         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45098         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45099         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45100         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45101         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45102         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45103         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45105         ... here.
45106         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45108         ... here.
45109         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45111         ... here.
45112         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45114         ... here.
45115         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45117         ... here.
45118         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45120         ... here.
45121         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45123         ... here.
45124         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45127         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45128         definitions to architecture-specific files.
45129         (TLS_IE): Likewise.
45130         (TLS_LD): Likewise.
45131         (TLS_GD): Likewise.
45132         * sysdeps/i386/tls-macros.h: New file.
45133         * sysdeps/powerpc/tls-macros.h: Likewise.
45134         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45135         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45136         * sysdeps/sh/tls-macros.h: Likewise.
45137         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45138         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45139         * sysdeps/x86_64/tls-macros.h: Likewise.
45141 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45143         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45144         zero value for regular exit case.
45146         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45147         (__start_context): Preserve zero value for regular exit case.
45149 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45150             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45152         * manual/setjmp.texi (setcontext): Clarify normal process
45153         termination when uc_link is the null pointer.
45154         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45155         exit call.
45157 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45159         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45160         preprocessor.  Test for each exception mask separately.
45162 2012-07-16  Andreas Jaeger  <aj@suse.de>
45164         * po/ru.po: Update from translation team.
45166 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45168         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45169         equal to 0.
45170         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45171         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45172         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45173         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45174         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45176 2012-07-13  Andreas Jaeger  <aj@suse.de>
45178         * po/fr.po: Update from translation team.
45180 2012-07-12  Marek Polacek  <polacek@redhat.com>
45182         [BZ #14173]
45183         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45184         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45185         loop condition.
45187 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45189         [BZ #13717]
45190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45191         Change to 2.4.1 where previously 2.4.0.
45192         * sysdeps/unix/sysv/linux/configure: Regenerated.
45193         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45194         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45195         version.
45196         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45197         (__ASSUME_AT_CLKTCK): Remove.
45198         (__ASSUME_AT_PAGESIZE): Likewise.
45199         (__ASSUME_AT_XID): Likewise.
45200         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45201         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45202         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45203         unconditionally.
45204         (HAVE_AUX_PAGESIZE): Likewise.
45205         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45206         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45207         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45209 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45211         [BZ #14307]
45212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45213         the temporary buffer used to invoke __gethostbyname2_r,
45214         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45215         host_data / struct gaih_addrtuple.
45216         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45217         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45218         header file nss/nsswitch.h.
45219         * nss/nsswitch.h (global scope): Add definition of implementation
45220         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45221         resolv/nss_dns/dns-host.c).
45223 2012-07-11  Andreas Jaeger  <aj@suse.de>
45225         * po/fr.po: Update from translation team.
45227         * po/sv.po: Update from translation team
45228         * po/fr.po: Another update from translation team.
45230 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45232         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45233         for subnormals or multiply small sinh result by itself.
45234         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45237 2012-07-11  David S. Miller  <davem@davemloft.net>
45239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45241 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45243         [BZ #14347]
45244         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45245         (INTERNAL_MARK): Shift it here.
45247 2012-07-10  Marek Polacek  <polacek@redhat.com>
45249         [BZ #14151]
45250         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45251         libc_cv_asm_global_directive with .globl.
45252         * configure: Regenerated.
45253         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45254         with .globl.
45255         * sysdeps/i386/configure: Regenerated.
45256         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45257         with .globl.
45258         * sysdeps/x86_64/configure: Regenerated.
45259         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45260         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45261         * elf/tst-unique2mod2.c: Likewise.
45262         * elf/tst-unique2mod1.c: Likewise.
45263         * elf/tst-unique1mod2.c: Likewise.
45264         * elf/tst-unique1mod1.c: Likewise.
45265         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45266         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45267         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45268         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45269         * sysdeps/mach/sysdep.h: Likewise.
45270         * sysdeps/i386/sysdep.h: Likewise.
45271         * sysdeps/i386/i386-mcount.S: Likewise.
45272         * sysdeps/x86_64/_mcount.S: Likewise.
45273         * sysdeps/x86_64/sysdep.h: Likewise.
45274         * sysdeps/sh/_mcount.S: Likewise.
45275         * sysdeps/sh/sysdep.h: Likewise.
45276         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45277         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45278         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45279         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45280         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45281         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45282         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45283         * locale/localeinfo.h: Likewise.
45284         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45285         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45287 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45289         [BZ #14336]
45290         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45291         system".
45292         * manual/message.texi (The Uniforum approach): Likewise.
45293         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45294         (glibc iconv Implementation): Likewise.
45296 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45298         [BZ #14337]
45299         * math/s_clog.c (__clog): Avoid scaling a value down where that
45300         could result in underflow.
45301         * math/s_clog10.c (__clog10): Likewise.
45302         * math/s_clog10f.c (__clog10f): Likewise.
45303         * math/s_clog10l.c (__clog10l): Likewise.
45304         * math/s_clogf.c (__clogf): Likewise.
45305         * math/s_clogl.c (__clogl): Likewise.
45306         * math/libm-test.inc (clog_test): Add more tests.
45307         (clog10_test): Likewise.
45308         * sysdeps/i386/fpu/libm-test-ulps: Update.
45309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45311 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45313         [BZ #14283]
45314         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45315         by 7 not 8 to examine high bit of fractional part.
45317         [BZ #14042]
45318         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45319         for call to __mcount_internal.
45320         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45321         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45322         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45324 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45326         [BZ #14154]
45327         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45328         approximation for values within 0x1p-13f of an odd multiple of
45329         pi/4.
45330         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45331         exception.  Add more tests.
45332         * sysdeps/i386/fpu/libm-test-ulps: Update.
45334         [BZ #6778]
45335         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45336         inputs and return -1 for them.  Do not check for +Inf in case not
45337         reachable for +Inf.
45338         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45339         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45340         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45341         and return -1 for them.  Do not check for +Inf in case not
45342         reachable for +Inf.
45343         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45344         define.
45345         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45346         and return -1 for them.  Do not check for +Inf in case not
45347         reachable for +Inf.
45348         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45349         spurious underflow.
45350         * sysdeps/i386/fpu/libm-test-ulps: Update.
45351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45353 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45355         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45357 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45359         [BZ #14157]
45360         [BZ #14331]
45361         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45362         could result in spurious underflow.  Scale down values above
45363         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45364         * math/s_csqrtf.c (__csqrtf): Likewise.
45365         * math/s_csqrtl.c (__csqrtl): Likewise.
45366         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45367         spurious underflow.
45368         * sysdeps/i386/fpu/libm-test-ulps: Update.
45369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45371 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45373         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45374         xopen-msg.sed.
45375         * catgets/xopen-msg.awk: New file.
45376         * catgets/xopen-msg.sed: Removed.
45378         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45379         po2text.sed.
45380         * intl/po2test.awk: New file.
45381         * intl/po2test.sed: Removed.
45383 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45385         [BZ #14328]
45386         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45387         or multiply small sinh result by itself.
45388         * math/s_ctanf.c (__ctanf): Likewise.
45389         * math/s_ctanh.c (__ctanh): Likewise.
45390         * math/s_ctanhf.c (__ctanhf): Likewise.
45391         * math/s_ctanhl.c (__ctanhl): Likewise.
45392         * math/s_ctanl.c (__ctanl): Likewise.
45393         * math/libm-test.inc (ctan_test_tonearest): New function.
45394         (ctan_test_towardzero): Likewise.
45395         (ctan_test_downward): Likewise.
45396         (ctan_test_upward): Likewise.
45397         (ctanh_test_tonearest): Likewise.
45398         (ctanh_test_towardzero): Likewise.
45399         (ctanh_test_downward): Likewise.
45400         (ctanh_test_upward): Likewise.
45401         (main): Call these new functions.
45402         * sysdeps/i386/fpu/libm-test-ulps: Update.
45403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45405 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45407         * .gitignore: Delete /ports entry.
45409 2012-07-03  Andreas Jaeger  <aj@suse.de>
45411         * po/bg.po: Update from translation team.
45412         * po/cs.po: Likewise.
45413         * po/de.po: Likewise.
45414         * po/hr.po: Likewise.
45415         * po/nl.pl: Likewise.
45416         * po/pl.po: Likewise.
45417         * po/vi.po: Likewise.
45419 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45421         * Makeconfig [!+link] (+link-before-libc): New variable.
45422         [!+link] (+link-after-libc): Likewise.
45423         [!+link] (+link-tests): Likewise.
45424         [!+link] (+link): Define in terms of $(+link-before-libc) and
45425         $(+link-after-libc).
45426         [!+link-static] (+link-static-before-libc): New variable.
45427         [!+link-static] (+link-static-after-libc): Likewise.
45428         [!+link-static] (+link-static-tests): Likewise.
45429         [!+link-static] (+link-static): Define in terms of
45430         $(+link-static-before-libc) and $(+link-static-after-libc).
45431         [build-shared] (link-libc-before-gnulib): New variable.
45432         [build-shared] (link-libc-tests): Likewise.
45433         [build-shared] (link-libc): Define in terms of
45434         $(link-libc-before-gnulib).
45435         [!build-shared] (link-libc-tests): New variable.
45436         (link-libc-static-tests): New variable.
45437         [!gnulib] (gnulib-arch): New variable.
45438         [!gnulib] (gnulib-tests): Likewise.
45439         [!gnulib] (static-gnulib-arch): Likewise.
45440         [!gnulib] (static-gnulib-tests): Likewise.
45441         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45442         Define with "=" instead of ":=".
45443         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45444         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45445         * Rules (binaries-all-notests): New variable.
45446         (binaries-all-tests): Likewise.
45447         (binaries-static-notests): Likewise.
45448         (binaries-static-tests): Likewise.
45449         (binaries-all): Define using $(binaries-all-notests) and
45450         $(binaries-all-tests).
45451         (binaries-static): Define using $(binaries-static-notests) and
45452         $(binaries-static-tests).
45453         (binaries-shared-tests): New variable.
45454         (binaries-shared-notests): Likewise.
45455         (binaries-shared): Remove variable.
45456         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45457         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45458         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45459         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45460         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45461         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45462         * elf/Makefile (sln-modules): New variable.
45463         (extra-objs): Add $(sln-modules:=.o).
45464         (ldconfig-modules): Add static-stubs.
45465         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45466         * elf/static-stubs.c: New file.
45468         [BZ #14283]
45469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45470         by 7 not 8 to examine high bit of fractional part.  Use volatile
45471         variables when splitting into final array of floats if
45472         __FLT_EVAL_METHOD__ != 0.
45473         * math/libm-test.inc (cos_test): Add another test.
45474         (sin_test): Likewise.
45475         * sysdeps/i386/fpu/libm-test-ulps: Update.
45477         [BZ #14273]
45478         * math/libm-test.inc (cosh_test): Add more tests.
45480         * version.h (RELEASE): Set to "development".
45481         (VERSION): Set to "2.16.90".
45483 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45485         * NEWS: Update copyright. Remove last-updated date.
45486         Mention math library bug fixes and timezone data changes.
45487         * README: Mention GNU/Hurd, x32, and HPPA support status.
45489 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45491         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45493 2012-06-27  Andreas Jaeger  <aj@suse.de>
45495         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45497 2012-06-25  Andreas Jaeger  <aj@suse.de>
45499         * sysdeps/s390/fpu/libm-test-ulps: Update.
45501 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45502             Thomas Schwinge  <thomas@codesourcery.com>
45504         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45505         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45507         fanotify_mark.
45509 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45511         * sysdeps/mach/start.c: Remove file.
45512         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45513         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45514         * sysdeps/sh/init-first.c: Likewise.
45516         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45517         registers for frame unwinding purposes, add CFI directives.
45518         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45519         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45520         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45521         Likewise.
45523         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45524         __fortify_fail returning.
45525         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45527         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45528         sysdeps/sh/____longjmp_chk.S.
45529         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45530         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45531         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45532         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45534         * sysdeps/sh/abort-instr.h: New file.
45535         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45536         process in case exit returns.
45538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45539         initialize the GOT register before use.
45541         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45542         calculation of ARGC > 4.
45544         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45545         meaningful names to some local labels.
45547 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45548             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45550         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45551         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45552         (__arch_compare_and_exchange_val_16_acq): Likewise.
45553         (__arch_compare_and_exchange_val_32_acq): Likewise.
45554         (atomic_exchange_and_add): Fix gUSA sequence.
45555         (atomic_add): Likewise.
45556         (atomic_add_negative): Likewise.
45557         (atomic_add_zero): Likewise.
45558         (atomic_bit_test_set): Likewise.
45560 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45562         [BZ #13579]
45563         * include/link.h (struct link_map): Add l_free_initfini.
45564         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45565         l_initfini.
45566         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45567         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45568         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45569         set.
45571 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45573         * configure.in: Use AC_LANG_SOURCE.
45574         * configure: Regenerate.
45576 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45578         * configure.in (libc_cv_localstatedir): New substituted variable.
45579         * configure: Regenerated.
45580         * config.make.in (localstatedir): New variable, substituted from
45581         libc_cv_localstatedir.
45582         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45583         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45584         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45585         * sysdeps/gnu/configure: Regenerated.
45587 2012-06-21  Jeff Law  <law@redhat.com>
45589         [BZ #14277]
45590         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45591         free.  Simplify list management for _LIBC case.
45593 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45595         [BZ #14273]
45596         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45597         Clear sign bit of 64-bit integer value before comparing against
45598         overflow value.
45600         * sysdeps/mach/configure: Regenerated.
45602 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45604         [BZ #14278]
45605         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45607 2012-06-21  Jeff Law  <law@redhat.com>
45609         [BZ #13882]
45610         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45611         uint16_t for elements in the "seen" array to avoid char overflows.
45612         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45613         * elf/dl-open.c (dl_open_worker): Likewise.
45615 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45617         * scripts/list-sources.sh: Scan PORTS for translations.
45618         * po/libc.pot: Regenerated.
45620 2012-06-21  Andreas Jaeger  <aj@suse.de>
45622         [BZ #12194]
45623         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45624         warning.
45625         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45626         * bits/byteswap-16.h (__bswap_16): Likewise.
45627         * bits/byteswap.h (__bswap_constant_16): Likewise.
45629 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45631         [BZ #14117]
45632         * sysdeps/i386/fpu_control.h: Removed.
45633         * sysdeps/x86_64/fpu_control.h: Moved to ...
45634         * sysdeps/x86/fpu_control.h: Here.
45636         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45637         (_FPU_SETCW): Likewise.
45639 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45641         [BZ #14117]
45642         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45643         * sysdeps/x86/fpu/bits/mathinline.h: This.
45644         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45646         [BZ #14050]
45647         [BZ #14117]
45648         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45649         functions if __x86_64__ is defined.
45651 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45653         * string/endian.h: Add !__ASSEMBLER__ condition for including
45654         conversion interfaces.
45656 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45658         [BZ #14241]
45659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45660         of ABS(x) in calculating zero to negative powers other than odd
45661         integers.
45662         * math/libm-test.inc (pow_test): Add more tests.
45664 2012-06-15  Andreas Jaeger  <aj@suse.de>
45666         * manual/contrib.texi (Contributors): Update entry of Liubov
45667         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45668         Machado Filho.
45670 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45672         * string/string.h: Add __wur to GNU version of strerror_r.
45674 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45676         [BZ #14229]
45677         * string/Makefile (tests): Add tst-strtok_r.
45678         * string/tst-strtok_r.c: New file.
45679         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45680         RAX_LP/RDX_LP on SAVE_PTR.
45682 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45684         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45686 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45688         * libm_test.inc (csqrt_test): Allow more spurious underflow
45689         exceptions.
45690         (j0_test): Likewise.
45691         (j1_test): Likewise.
45692         (y0_test): Likewise.
45693         (y1_test): Likewise.
45695 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45697         * po/Makefile (libc.pot): Use UTF-8 charset.
45699 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45701         [BZ #14210]
45702         Suppress sign-conversion warning from FD_SET.
45703         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45704         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45705         not unsigned long int.
45706         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45708 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45710         [BZ #14050]
45711         [BZ #14117]
45712         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45713         __extern_always_inline instead of __extern_inline.
45714         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45715         (__signbit): Likewise.
45716         (__signbitl): Support C++ namespace.
45717         (lrintf): New inline function.
45718         (lrint): Likewise.
45719         (llrintf): Likewise.
45720         (llrint): Likewise.
45721         (fmaxf): Likewise.
45722         (fmax): Likewise.
45723         (fminf): Likewise.
45724         (fmin): Likewise.
45725         (rint): Likewise.
45726         (rintf): Likewise.
45727         (ceil): Likewise.
45728         (ceilf): Likewise.
45729         (floor): Likewise.
45730         (floorf): Likewise.
45731         (nearbyint): Likewise.
45732         (nearbyintf): Likewise.
45734 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45736         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45737         non-default versions.
45739 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45741         [BZ #14218]
45742         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45744 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45746         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45747         (FE_UPWARD, FE_DOWNWARD): Don't define.
45748         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45749         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45751         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45752         reading it.
45753         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45754         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45756 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45758         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45759         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45760         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45761         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45763 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45765         [BZ #14117]
45766         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45767         * sysdeps/i386/fpu/Implies: New file.
45768         * sysdeps/x86_64/fpu/Implies: Likewise.
45769         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45770         * sysdeps/x86/fpu/bits/fenv.h: This.
45772         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45773         __SSE_MATH__.
45775 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45777         [BZ #14134]
45778         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45779         character 0xffff that matches the last element of the
45780         conversion table.
45782 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45785         fmodl commit.
45787 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45789         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45790         values higher than 25.6283.
45792 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45795         subnormal exponent extraction and add some __builtin_expect.
45796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45797         Fix for subnormal mantissa calculation.
45799 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45801         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45802         cpu2 is -1 and errno is not ENOSYS.
45804 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45806         [BZ #14117]
45807         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45808         * sysdeps/x86/bits/string.h: This.
45809         * sysdeps/x86_64/bits/string.h: Removed.
45811         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45812         if not compiling for x86-64, but compiling for >= i486.
45814         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45815         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45817         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45818         New macro from Linux kernel 3.4.0.
45819         (FP_XSTATE_MAGIC2): Likewise.
45820         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45821         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45822         (struct _fpx_sw_bytes): New struct.
45823         (struct _xsave_hdr): Likewise.
45824         (struct _ymmh_state): Likewise.
45825         (struct _xstate): Likewise.
45827         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45828         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45830         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45831         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45832         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45834         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45835         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45836         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45837         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45838         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45839         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45841 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45843         [BZ #13743]
45844         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45845         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45846         (sysdep_headers): Include sys/platform/ppc.h.
45847         * sysdeps/powerpc/test-gettimebase.c: Test for
45848         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45849         * manual/Makefile (appendices): Include platform.texi.
45850         * manual/contrib.texi (Contributors): Update @node pointers.
45851         * manual/maint.texi (Maintenance): Likewise.
45852         (Platform): New node.
45853         * manual/platform.texi: New file.  Document the new features.
45855 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45856             Jakub Jelinek  <jakub@redhat.com>
45858         [BZ #14188]
45859         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45860         where __builtin_expect is unavailable.
45862 2012-06-03  David S. Miller  <davem@davemloft.net>
45864         * stdlib/longlong.h: Updated from GCC.
45866 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45868         [BZ #14042]
45869         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45870         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45871         __mcount_internal.
45872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45873         (GLIBC_2.16): Likewise.
45875 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45877         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45879 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45882         (default-abi): New variable.
45883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45884         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45885         variable.
45886         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45887         Likewise.
45888         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45889         Likewise.
45890         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45891         Likewise.
45893         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45894         definition.  Document in comment.
45896 2012-06-01  David S. Miller  <davem@davemloft.net>
45898         * stdlib/longlong.h: Updated from GCC.
45900 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45902         [BZ #14117]
45903         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45904         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45905         sys/debugreg.h sys/io.h here.
45906         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45907         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45908         sys/io.h.
45909         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45910         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45911         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45912         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45913         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45914         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45916         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45917         Define only if __x86_64__ is defined.
45919 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45921         [BZ #14048]
45922         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45923         Use int64_t for variable i.
45924         * math/libm-test.inc (fmod_test): Add more tests.
45926         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45927         z computation is not scheduled after fetestexcept.
45928         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45929         Use math_force_eval instead of asm to ensure calculation scheduled
45930         before exception test.
45931         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45932         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45934 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45937         computation is not scheduled after fetestexcept.
45939 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45941         [BZ #14117]
45942         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45943         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45945 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45947         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45948         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45950 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45952         [BZ #14117]
45953         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45954         <bits/wordsize.h>.
45955         (__WCHAR_MIN): Support __WORDSIZE == 64.
45956         (__WCHAR_MAX): Likewise.
45958         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45959         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45961         [BZ #14183]
45962         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45963         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45965         [BZ #14117]
45966         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45967         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45969         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45970         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45972         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45973         Defined to 1 if __x86_64__ isn't defined.
45974         (_STAT_VER_LINUX_OLD): New.
45975         (st_atime): Remove duplicate.
45976         (st_mtime): Likewise.
45977         (st_ctime): Likewise.
45979 2012-05-31  David S. Miller  <davem@davemloft.net>
45981         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45982         entries.
45984 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45986         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45987         gen-libm-test.pl.
45989         [BZ #14132]
45990         * elf/dl-reloc.c: Include <_itoa.h>.
45991         (_dl_reloc_bad_type): Remove use of INTUSE.
45992         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45993         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45994         * stdio-common/psiginfo.c (psiginfo): Likewise.
45995         * stdio-common/psignal.c (psignal): Likewise.
45996         * string/strsignal.c (strsignal): Likewise.
45997         * include/signal.h (_sys_siglist): Declare hidden proto.
45998         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45999         INTVARDEF with libc_hidden_data_def.
46000         * stdio-common/itoa-udigits.c: Likewise.
46001         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46002         (_itoa_lower_digits_internal): Remove declaration.
46003         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46004         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46005         (_sys_sigabbrev_internal): Remove aliases.
46006         (_sys_siglist): Define hidden alias.
46008 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46011         bits/sysctl.h.
46013 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46015         [BZ #14117]
46016         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46017         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46019         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46020         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46021         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46022         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46023         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46024         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46026         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46027         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46028         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46030         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46031         with __addr.
46032         (insw): Likewise.
46033         (insl): Likewise.
46034         (outsb): Likewise.
46035         (outsw): Likewise.
46036         (outsl): Likewise.
46038         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46040         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46042         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46043         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46044         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46045         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46046         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46047         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46049         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46050         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46052         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46053         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46055         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46056         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46057         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46059         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46060         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46061         to ...
46062         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46064         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46065         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46066         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46068         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46069         for x86-64.
46070         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46072 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46074         * math/math.h (M_El): Use two more decimal places.
46075         (M_LOG2El): Likewise.
46076         (M_LOG10El): Likewise.
46077         (M_LN2l): Likewise.
46078         (M_LN10l): Likewise.
46079         (M_PIl): Likewise.
46080         (M_PI_2l): Likewise.
46081         (M_PI_4l): Likewise.
46082         (M_1_PIl): Likewise.
46083         (M_2_PIl): Likewise.
46084         (M_2_SQRTPIl): Likewise.
46085         (M_SQRT2l): Likewise.
46086         (M_SQRT1_2l): Likewise.
46088 2012-05-31  David S. Miller  <davem@davemloft.net>
46090         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46091         values between float registers.
46092         * sysdeps/sparc/sparc64/memset.S: Likewise.
46093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46095 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46097         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46098         -D_FORTIFY_SOURCE=1.
46099         (CPPFLAGS-tst-longjmp_chk.c): Define.
46100         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46101         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46102         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46103         CFLAGS-tst-wchar-h.c.
46105 2012-05-31  Marek Polacek  <polacek@redhat.com>
46107         [BZ #14132]
46108         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46109         __endmntent_internal): Remove declaration.
46110         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46111         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46112         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46114 2012-05-30  David S. Miller  <davem@davemloft.net>
46116         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46117         (___Q_simulate_exceptions): Use real FP ops rather than writing
46118         into the %fsr.
46119         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46120         Likewise.
46122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46124         [BZ #14117]
46125         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46126         * sysdeps/x86/bits/xtitypes.h: This.
46128         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46129         * sysdeps/x86/bits/wordsize.h: This.
46131         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46132         * sysdeps/x86/bits/huge_vall.h: This.
46134         * sysdeps/i386/bits/select.h: Removed.
46135         * sysdeps/x86_64/bits/select.h: Renamed to ...
46136         * sysdeps/x86/bits/select.h: This.
46138         * sysdeps/i386/bits/setjmp.h: Removed.
46139         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46140         * sysdeps/x86/bits/setjmp.h: This.
46142         * sysdeps/i386/bits/mathdef.h: Removed.
46143         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46144         * sysdeps/x86/bits/mathdef.h: This.
46146 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46148         [BZ #14132]
46149         * include/sys/socket.h (__connect_internal)
46150         (__libc_sa_len_internal): Remove declaration.
46151         (__connect, __libc_sa_len): Declare hidden_proto.
46152         (SA_LEN): Remove use of INTUSE.
46153         * socket/connect.c: Add libc_hidden_def.
46154         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46155         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46156         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46157         alias.
46158         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46159         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46160         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46161         of adding _internal alias.
46163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46165         [BZ #14117]
46166         * sysdeps/i386/bits/link.h: Removed.
46167         * sysdeps/i386/bits/linkmap.h: Likewise.
46168         * sysdeps/x86_64/bits/link.h: Renamed to ...
46169         * sysdeps/x86/bits/link.h: This.
46170         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46171         * sysdeps/x86/bits/linkmap.h: This.
46173         * sysdeps/i386/bits/endian.h: Removed.
46174         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46175         * sysdeps/x86/bits/endian.h: This.
46177         * sysdeps/i386/bits/byteswap.h: Removed.
46178         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46179         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46180         * sysdeps/x86/bits/byteswap.h: This.
46181         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46182         * sysdeps/x86/bits/byteswap-16.h: This.
46183         * sysdeps/i386/Implies: Add x86.
46184         * sysdeps/x86_64/Implies: Likewise.
46186 2012-05-30  David S. Miller  <davem@davemloft.net>
46188         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46189         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46191         (FP_TRAPPING_EXCEPTIONS): Define.
46192         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46193         (FP_TRAPPING_EXCEPTIONS): Define.
46194         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46195         subnormals only when inexact has been signalled or underflow
46196         exceptions are enabled.
46197         (_FP_PACK_CANONICAL): Likewise.
46199 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46201         [BZ #14183]
46202         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46203         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46205 2012-05-30  Richard Henderson  <rth@twiddle.net>
46207         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46208         with #ifndef NOT_IN_libc.
46210         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46211         marked to avoid plt entry.
46213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46215         [BZ #14112]
46216         * Makeconfig (default-abi): New macro.
46217         (abi-includes): Likewise.
46218         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46219         $(abi-$(default-abi)-lib-soname) for soname if defined.
46220         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46221         abi-variants.
46222         * Makefile (installed-stubs): Likewise.
46223         * include/stubs-biarch.h: Removed.
46224         * scripts/lib-names.awk: Only handle one library at a time.
46225         * scripts/soversions.awk: Remove WORDSIZE support.
46226         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46227         entries.
46228         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46229         Removed.
46230         (syscall-list-default-condition): Likewise.
46231         (syscall-list-default-condition): Likewise.
46232         (syscall-list-includes): Likewise.
46233         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46234         syscall-list-* with abi-*.  Handle undefined abi-variants.
46235         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46236         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46237         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46238         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46239         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46240         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46241         Removed.
46242         (syscall-list-32-options): Likewise.
46243         (syscall-list-32-condition): Likewise.
46244         (syscall-list-64-options): Likewise.
46245         (syscall-list-64-condition): Likewise.
46246         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46247         macro.
46248         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46249         Renamed to ...
46250         (abi-*): This.
46251         (abi-64-ld-soname): New macro.
46252         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46253         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46254         Renamed to ...
46255         (abi-*): This.
46256         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46257         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46259 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46261         * sysdeps/unix/sysv/linux/kernel-features.h
46262         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46263         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46264         include <kernel-features.h>.
46265         [!__NR_ftruncate64]: Remove conditional code.
46266         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46267         [__NR_ftruncate64]: Make code unconditional.
46268         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46269         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46270         include <kernel-features.h>.
46271         [!__NR_ftruncate64]: Remove conditional code.
46272         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46273         [__NR_ftruncate64]: Make code unconditional.
46274         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46276         include <kernel-features.h>.
46277         [!__NR_ftruncate64]: Remove conditional code.
46278         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46279         [__NR_ftruncate64]: Make code unconditional.
46280         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46282         include <kernel-features.h>.
46283         [!__NR_ftruncate64]: Remove conditional code.
46284         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46285         [__NR_ftruncate64]: Make code unconditional.
46286         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46288         * configure.in (libc_cv_fpie): Weaken to a compile test using
46289         LIBC_TRY_CC_OPTION.
46290         * configure: Regenerated.
46292 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46298         Refreshed.
46299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46305         Refreshed.
46307 2012-05-27  David S. Miller  <davem@davemloft.net>
46309         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46310         (___Q_zero): New.
46311         (__Q_simulate_exceptions): Return void.  Change to simulate
46312         exceptions by writing into the %fsr.
46313         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46314         (__Qp_handle_exceptions): Likewise.
46315         (numbers): Delete.
46316         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46317         __Qp_handle_exceptions.
46318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46319         __Qp_handle_exceptions.
46320         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46321         as unused and give dummy FP_RND_NEAREST initializer.
46322         (FP_INHIBIT_RESULTS): Define.
46323         (___Q_simulate_exceptions): Update declaration.
46324         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46325         formatting.
46326         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46327         as unused and give dummy FP_RND_NEAREST initializer.
46328         (__Qp_handle_exceptions): Update declaration.
46329         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46330         formatting.
46332 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46334         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46335         the temporary FPU control word.
46336         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46337         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46339         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46340         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46341         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46342         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46344         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46345         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46346         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46348 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46350         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46351         fields.
46353 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46355         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46356         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46357         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46358         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46359         Likewise.
46360         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46361         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46362         Likewise.
46364 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46366         * po/h.po: Update from translation team.
46368 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46370         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46372         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46373         handling of denormals.
46374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46375         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46376         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46377         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46380         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46381         Likewise.
46383 2012-05-26  Marek Polacek  <polacek@redhat.com>
46385         [BZ #14152]
46386         * math/libm-test.inc (fma_test): Don't always expect underflow
46387         exception.
46389 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46391         [BZ #12416]
46392         * elf/tst-execstack.c: Include stackinfo.h.
46393         (do_test): Adjust test case to ensure that pthread_getattr_np
46394         behaviour remains the same after marking stack executable.
46396 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46398         * sysdeps/unix/sysv/linux/kernel-features.h
46399         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46400         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46401         kernel-features.h.
46402         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46403         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46404         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46405         kernel-features.h.
46406         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46407         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46409 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46411         * configure.in: Define the default includes to being none.
46412         * configure: Regenerated.
46414 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46416         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46417         * sysdeps/x86_64/setjmp.S: Likewise.
46418         * sysdeps/i386/bsd-setjmp.S: Likewise.
46419         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46420         * sysdeps/i386/setjmp.S: Likewise.
46421         * sysdeps/i386/__longjmp.S: Likewise.
46422         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46423         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46425         * include/stap-probe.h: New file.
46426         * configure.in: Handle --enable-systemtap.
46427         * configure: Regenerated.
46428         * config.h.in (USE_STAP_PROBE): New #undef.
46429         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46430         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46431         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46433 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46435         [BZ #13717]
46436         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46437         to 2.4.0 where earlier.
46438         * sysdeps/unix/sysv/linux/configure: Regenerated.
46439         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46440         <kernel-features.h>.
46441         [__ASSUME_32BITUIDS]: Make code unconditional.
46442         [!__ASSUME_32BITUIDS]: Remove conditional code.
46443         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46444         <kernel-features.h>.
46445         [__ASSUME_32BITUIDS]: Make code unconditional.
46446         [!__ASSUME_32BITUIDS]: Remove conditional code.
46447         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46448         [__ASSUME_32BITUIDS]: Make code unconditional.
46449         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46450         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46451         <kernel-features.h>.
46452         [__ASSUME_32BITUIDS]: Make code unconditional.
46453         [!__ASSUME_32BITUIDS]: Remove conditional code.
46454         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46455         <kernel-features.h>.
46456         [__ASSUME_32BITUIDS]: Make code unconditional.
46457         [!__ASSUME_32BITUIDS]: Remove conditional code.
46458         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46459         <kernel-features.h>.
46460         [__ASSUME_32BITUIDS]: Make code unconditional.
46461         [!__ASSUME_32BITUIDS]: Remove conditional code.
46462         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46463         <kernel-features.h>.
46464         [__ASSUME_32BITUIDS]: Make code unconditional.
46465         [!__ASSUME_32BITUIDS]: Remove conditional code.
46466         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46467         <kernel-features.h>.
46468         [__ASSUME_32BITUIDS]: Make code unconditional.
46469         [!__ASSUME_32BITUIDS]: Remove conditional code.
46470         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46471         <kernel-features.h>.
46472         [__ASSUME_32BITUIDS]: Make code unconditional.
46473         [!__ASSUME_32BITUIDS]: Remove conditional code.
46474         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46475         <kernel-features.h>.
46476         [__ASSUME_32BITUIDS]: Make code unconditional.
46477         [!__ASSUME_32BITUIDS]: Remove conditional code.
46478         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46479         <kernel-features.h>.
46480         [__ASSUME_32BITUIDS]: Make code unconditional.
46481         [!__ASSUME_32BITUIDS]: Remove conditional code.
46482         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46483         <kernel-features.h>.
46484         [__ASSUME_32BITUIDS]: Make code unconditional.
46485         [!__ASSUME_32BITUIDS]: Remove conditional code.
46486         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46487         <kernel-features.h>.
46488         [__ASSUME_32BITUIDS]: Make code unconditional.
46489         [!__ASSUME_32BITUIDS]: Remove conditional code.
46490         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46491         <kernel-features.h>.
46492         [__NR_setresgid] (__setresgid): Do not declare.
46493         [__ASSUME_32BITUIDS]: Make code unconditional.
46494         [!__ASSUME_32BITUIDS]: Remove conditional code.
46495         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46496         <kernel-features.h>.
46497         [__NR_setresuid] (__setresuid): Do not declare.
46498         [__ASSUME_32BITUIDS]: Make code unconditional.
46499         [!__ASSUME_32BITUIDS]: Remove conditional code.
46500         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
46505         <kernel-features.h>.
46506         [__ASSUME_32BITUIDS]: Make code unconditional.
46507         [!__ASSUME_32BITUIDS]: Remove conditional code.
46508         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46509         <kernel-features.h>.
46510         [__ASSUME_32BITUIDS]: Make code unconditional.
46511         [!__ASSUME_32BITUIDS]: Remove conditional code.
46512         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46513         <kernel-features.h>.
46514         [__ASSUME_32BITUIDS]: Make code unconditional.
46515         [!__ASSUME_32BITUIDS]: Remove conditional code.
46516         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46517         <kernel-features.h>.
46518         [__ASSUME_32BITUIDS]: Make code unconditional.
46519         [!__ASSUME_32BITUIDS]: Remove conditional code.
46520         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46521         <kernel-features.h>.
46522         [__ASSUME_32BITUIDS]: Make code unconditional.
46523         [!__ASSUME_32BITUIDS]: Remove conditional code.
46524         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46525         <kernel-features.h>.
46526         [__ASSUME_32BITUIDS]: Make code unconditional.
46527         [!__ASSUME_32BITUIDS]: Remove conditional code.
46528         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46529         <kernel-features.h>.
46530         [__ASSUME_32BITUIDS]: Make code unconditional.
46531         [!__ASSUME_32BITUIDS]: Remove conditional code.
46532         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46533         <kernel-features.h>.
46534         [__ASSUME_32BITUIDS]: Make code unconditional.
46535         [!__ASSUME_32BITUIDS]: Remove conditional code.
46536         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46537         <kernel-features.h>.
46538         [__ASSUME_32BITUIDS]: Make code unconditional.
46539         [!__ASSUME_32BITUIDS]: Remove conditional code.
46540         * sysdeps/unix/sysv/linux/kernel-features.h
46541         (__ASSUME_SETRESUID_SYSCALL): Remove.
46542         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46543         (__ASSUME_32BITUIDS): Likewise.
46544         (__ASSUME_LDT_WORKS): Likewise.
46545         (__ASSUME_O_DIRECTORY): Likewise.
46546         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46547         architecture but not kernel version.
46548         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46549         (__ASSUME_MMAP2_SYSCALL): Likewise.
46550         (__ASSUME_STAT64_SYSCALL): Likewise.
46551         (__ASSUME_IPC64): Likewise.
46552         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46553         <kernel-features.h>.
46554         [__ASSUME_32BITUIDS]: Make code unconditional.
46555         [!__ASSUME_32BITUIDS]: Remove conditional code.
46556         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46557         <kernel-features.h>.
46558         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46559         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46560         132096]: Remove conditional code.
46561         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46562         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46563         <kernel-features.h>.
46564         [__ASSUME_32BITUIDS]: Make code unconditional.
46565         [!__ASSUME_32BITUIDS]: Remove conditional code.
46566         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46567         <kernel-features.h>.
46568         [__ASSUME_32BITUIDS]: Make code unconditional.
46569         [!__ASSUME_32BITUIDS]: Remove conditional code.
46570         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46571         <kernel-features.h>.
46572         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46573         unconditional.
46574         (__setresgid): Do not declare.
46575         [__ASSUME_32BITUIDS]: Make code unconditional.
46576         [!__ASSUME_32BITUIDS]: Remove conditional code.
46577         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46578         <kernel-features.h>.
46579         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46580         unconditional.
46581         (__setresuid): Do not declare.
46582         [__ASSUME_32BITUIDS]: Make code unconditional.
46583         [!__ASSUME_32BITUIDS]: Remove conditional code.
46584         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46585         <kernel-features.h>.
46586         [__ASSUME_32BITUIDS]: Make code unconditional.
46587         [!__ASSUME_32BITUIDS]: Remove conditional code.
46588         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46589         <kernel-features.h>.
46590         [__ASSUME_32BITUIDS]: Make code unconditional.
46591         [!__ASSUME_32BITUIDS]: Remove conditional code.
46593 2012-05-25  Richard Henderson  <rth@twiddle.net>
46595         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46596         dl_hwcap to ifunc resolver.
46597         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46598         elf_ifunc_invoke.
46599         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46600         dl_hwcap to ifunc resolver.
46601         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46603 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46605         [BZ #14153]
46606         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46607         for |x| <= 2**-26, not 2**-57.
46608         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46609         exception.
46611 2012-05-24  Jeff Law  <law@redhat.com>
46613         * stdio-common/Makefile (tests): Add bug25.
46614         * stdio-common/bug25.c: New test.
46616 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46618         [BZ #13576]
46619         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46620         multiple of MALLOC_ALIGNMENT in size.
46621         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46623 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46625         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46626         Require >= 256.
46627         (FILENAME_MAX): Use macro-int-constant.
46628         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46629         (_IOFBF): Use macro-int-constant.
46630         (_IOLBF): Likewise.
46631         (_IONBF): Likewise.
46632         (SEEK_CUR): Likewise.
46633         (SEEK_END): Likewise.
46634         (SEEK_SET): Likewise.
46635         (TMP_MAX): Likewise.
46636         (EOF): Use macro-int-constant.  Require < 0.
46637         (NULL): Use macro-constant.  Require == 0.
46638         (stdin): Require type to be FILE *.
46639         (stdout): Likewise.
46640         (stderr): Likewise.
46641         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46642         macro-int-constant.
46643         (EXIT_SUCCESS): Likewise.
46644         (NULL): Use macro-constant.  Require == 0.
46645         (RAND_MAX): Use macro-int-constant.
46646         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46647         [C99-based standards] (strtof): Require function.
46648         [C99-based standards] (strtold): Likewise.
46649         [C99-based standards] (strtoll): Likewise.
46650         [C99-based standards] (strtoull): Likewise.
46651         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46652         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46653         [ISO || ISO99 || ISO11] (math.h): Likewise.
46654         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46655         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46656         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46658 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46660         [BZ #14132]
46661         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46662         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46663         * intl/dgettext.c (DCGETTEXT): Likewise.
46664         * intl/gettext.c (DCGETTEXT): Likewise.
46665         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46666         * posix/regex_internal.h (gettext): Likewise.
46667         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46668         Remove declaration.
46669         * include/argz.h (__argz_count_internal)
46670         (__argz_stringify_internal): Remove declaration.
46671         (__argz_count, __argz_stringify): Declare hidden proto.
46672         * intl/dcgettext.c: Remove use of INTDEF.
46673         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46674         * string/argz-stringify.c: Likewise.
46675         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46676         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46677         Declare hidden proto.
46678         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46679         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46680         Declare hidden proto.
46681         * include/stdio.h (__asprintf_internal): Don't declare.
46682         (__asprintf): Don't define as macro.  Declare hidden proto.
46683         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46684         (__fsetlocking): Declare hidden proto.
46685         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46686         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46687         hidden proto.
46688         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46689         (_IO_setlinebuf): Remove use of INTUSE.
46690         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46691         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46692         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46693         Remove declaration.
46694         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46695         (_IO_do_flush): Remove use of INTUSE.
46696         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46697         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46698         (_IO_adjust_column, _IO_least_wmarker)
46699         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46700         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46701         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46702         (_IO_default_doallocate, _IO_wdefault_doallocate)
46703         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46704         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46705         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46706         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46707         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46708         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46709         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46710         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46711         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46712         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46713         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46714         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46715         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46716         proto.
46717         (_IO_flush_all_internal, _IO_adjust_column_internal)
46718         (_IO_default_uflow_internal, _IO_default_finish_internal)
46719         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46720         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46721         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46722         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46723         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46724         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46725         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46726         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46727         (_IO_file_close_internal, _IO_file_close_it_internal)
46728         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46729         (_IO_file_init_internal, _IO_file_attach_internal)
46730         (_IO_file_fopen_internal, _IO_file_read_internal)
46731         (_IO_file_sync_internal, _IO_file_seek_internal)
46732         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46733         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46734         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46735         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46736         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46737         (_IO_list_all_internal, _IO_link_in_internal)
46738         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46739         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46740         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46741         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46742         (_IO_do_write_internal, _IO_padn_internal)
46743         (_IO_getline_info_internal, _IO_getline_internal)
46744         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46745         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46746         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46747         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46748         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46749         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46750         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46751         with libc_hidden_ver, remove use of INTUSE.
46752         * libio/genops.c: Likewise.
46753         * libio/freopen.c: Likewise.
46754         * libio/freopen64.c: Likewise.
46755         * libio/iofclose.c: Likewise.
46756         * libio/iofdopen.c: Likewise.
46757         * libio/iofflush.c: Likewise.
46758         * libio/iofflush_u.c: Likewise.
46759         * libio/iofgets.c: Likewise.
46760         * libio/iofgets_u.c: Likewise.
46761         * libio/iofopen.c: Likewise.
46762         * libio/iofopncook.c: Likewise.
46763         * libio/iofread.c: Likewise.
46764         * libio/iofread_u.c: Likewise.
46765         * libio/ioftell.c: Likewise.
46766         * libio/iofwrite.c: Likewise.
46767         * libio/iogetline.c: Likewise.
46768         * libio/iogets.c: Likewise.
46769         * libio/iogetwline.c: Likewise.
46770         * libio/iopadn.c: Likewise.
46771         * libio/iopopen.c: Likewise.
46772         * libio/ioseekoff.c: Likewise.
46773         * libio/ioseekpos.c: Likewise.
46774         * libio/iosetbuffer.c: Likewise.
46775         * libio/iosetvbuf.c: Likewise.
46776         * libio/ioungetc.c: Likewise.
46777         * libio/ioungetwc.c: Likewise.
46778         * libio/iovdprintf.c: Likewise.
46779         * libio/iovsprintf.c: Likewise.
46780         * libio/iovsscanf.c: Likewise.
46781         * libio/memstream.c: Likewise.
46782         * libio/obprintf.c: Likewise.
46783         * libio/oldfileops.c: Likewise.
46784         * libio/oldiofclose.c: Likewise.
46785         * libio/oldiofdopen.c: Likewise.
46786         * libio/oldiofopen.c: Likewise.
46787         * libio/oldiopopen.c: Likewise.
46788         * libio/oldstdfiles.c: Likewise.
46789         * libio/putc.c: Likewise.
46790         * libio/setbuf.c: Likewise.
46791         * libio/setlinebuf.c: Likewise.
46792         * libio/stdfiles.c: Likewise.
46793         * libio/strops.c: Likewise.
46794         * libio/vasprintf.c: Likewise.
46795         * libio/vscanf.c: Likewise.
46796         * libio/vsnprintf.c: Likewise.
46797         * libio/vswprintf.c: Likewise.
46798         * libio/wfiledoalloc.c: Likewise.
46799         * libio/wfileops.c: Likewise.
46800         * libio/wgenops.c: Likewise.
46801         * libio/wmemstream.c: Likewise.
46802         * libio/wstrops.c: Likewise.
46803         * libio/__fpurge.c: Likewise.
46804         * libio/__fsetlocking.c: Likewise.
46805         * assert/assert.c: Likewise.
46806         * debug/fgets_chk.c: Likewise.
46807         * debug/fgets_u_chk.c: Likewise.
46808         * debug/fread_chk.c: Likewise.
46809         * debug/fread_u_chk.c: Likewise.
46810         * debug/gets_chk.c: Likewise.
46811         * debug/obprintf_chk.c: Likewise.
46812         * debug/vasprintf_chk.c: Likewise.
46813         * debug/vdprintf_chk.c: Likewise.
46814         * debug/vsnprintf_chk.c: Likewise.
46815         * debug/vsprintf_chk.c: Likewise.
46816         * malloc/mtrace.c: Likewise.
46817         * misc/error.c: Likewise.
46818         * misc/syslog.c: Likewise.
46819         * stdio-common/asprintf.c: Likewise.
46820         * stdio-common/fxprintf.c: Likewise.
46821         * stdio-common/getw.c: Likewise.
46822         * stdio-common/isoc99_fscanf.c: Likewise.
46823         * stdio-common/isoc99_scanf.c: Likewise.
46824         * stdio-common/isoc99_vfscanf.c: Likewise.
46825         * stdio-common/isoc99_vscanf.c: Likewise.
46826         * stdio-common/isoc99_vsscanf.c: Likewise.
46827         * stdio-common/printf-prs.c: Likewise.
46828         * stdio-common/printf_fp.c: Likewise.
46829         * stdio-common/printf_fphex.c: Likewise.
46830         * stdio-common/printf_size.c: Likewise.
46831         * stdio-common/putw.c: Likewise.
46832         * stdio-common/scanf.c: Likewise.
46833         * stdio-common/sprintf.c: Likewise.
46834         * stdio-common/tmpfile.c: Likewise.
46835         * stdio-common/vfprintf.c: Likewise.
46836         * stdio-common/vfscanf.c: Likewise.
46837         * stdlib/strfmon_l.c: Likewise.
46838         * sunrpc/openchild.c: Likewise.
46839         * sunrpc/xdr_stdio.c: Likewise.
46840         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46841         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46843 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46845         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46847         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46848         in the third column, to generate for the shared library an IFUNC
46849         that uses _dl_vdso_vsym.
46850         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46851         * Makeconfig (object-suffixes-noshared): New variable.
46853         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46854         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46855         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46856         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46858         [BZ #14132]
46859         * include/sys/time.h (__gettimeofday): Remove macro.
46860         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46861         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46862         Remove INTDEF.
46863         (__gettimeofday): Add libc_hidden_def.
46864         (gettimeofday): Add libc_hidden_weak.
46865         * sysdeps/mach/gettimeofday.c: Likewise.
46866         * sysdeps/posix/gettimeofday.c: Likewise.
46867         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46868         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46869         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46870         (__gettimeofday_internal): Remove strong_alias.
46871         (__gettimeofday): Add libc_hidden_def.
46872         (gettimeofday): Add libc_hidden_weak.
46873         * sysdeps/unix/syscalls.list (gettimeofday):
46874         Remove __gettimeofday_internal alias.
46876 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46877             H.J. Lu  <hongjiu.lu@intel.com>
46879         [BZ #12495]
46880         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46881         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46882         (largebin_index_32_big): New.
46883         (largebin_index): Use it for 16-byte alignment.
46884         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46885         correction with front_misalign.
46887 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46891         Likewise.
46892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46893         Likewise.
46894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46895         Likewise.
46896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46897         Likewise.
46898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46899         Likewise.
46900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46901         Likewise.
46902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46903         Likewise.
46904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46905         Likewise.
46906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46907         Likewise.
46908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46909         Likewise.
46910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46911         Likewise.
46912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46913         Likewise.
46915         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46916         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46918 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46920         [BZ #10846]
46921         [BZ #14036]
46922         * math/libm-test.inc (exp_test): Add test from bug 14036.
46923         (pow_test): Add test from bug 10846.
46925         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46926         and other flags.
46927         (special_function): Do not include flags in test name.
46928         (parse_args): Likewise.
46929         * sysdeps/i386/fpu/libm-test-ulps: Update.
46930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46931         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46932         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46935         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46936         exceptions.
46937         * math/libm-test.inc ("Philosophy"): Update comment about
46938         exception testing.
46939         (UNDERFLOW_EXCEPTION): New macro.
46940         (UNDERFLOW_EXCEPTION_OK): Likewise.
46941         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46942         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46943         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46944         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46945         (INVALID_EXCEPTION_OK): Update value.
46946         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46947         (OVERFLOW_EXCEPTION_OK): Likewise.
46948         (IGNORE_ZERO_INF_SIGN): Likewise.
46949         (test_exceptions): Handle underflow exceptions.
46950         (acos_test): Update for underflow exception expectations.
46951         (cexp_test): Likewise.
46952         (clog_test): Likewise.
46953         (clog10_test): Likewise.
46954         (csqrt_test): Likewise.
46955         (ctan_test): Likewise.
46956         (ctanh_test): Likewise.
46957         (exp_test): Likewise.
46958         (exp10_test): Likewise.
46959         (exp2_test): Likewise.
46960         (expm1_test): Likewise.
46961         (fma_test): Likewise.
46962         (j0_test): Likewise.
46963         (jn_test): Likewise.
46964         (nexttoward_test): Likewise.
46965         (pow_test): Likewise.
46966         (scalbn_test): Likewise.
46967         (scalbln_test): Likewise.
46968         (tan_test): Likewise.
46969         (y1_test): Likewise.
46970         * sysdeps/i386/fpu/libm-test-ulps: Update.
46971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46973 2012-05-23  David S. Miller  <davem@davemloft.net>
46975         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46976         (__libc_sigaction): Remove unused local variables.
46978 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46980         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46982 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46984         mktime: avoid signed integer overflow
46985         * time/mktime.c (__mktime_internal): Do not mishandle the case
46986         where diff == INT_MIN.
46988         mktime: simplify computation of average
46989         * time/mktime.c (ranged_convert): Use new time_t_avg function
46990         instead of rolling our own (probably-slower) code.
46992         mktime: do not assume signed right shift propagates sign bit
46993         * time/mktime.c (isdst_differ): New static function.
46994         (__mktime_internal): No need to normalize tm_isdst now.
46995         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46996         tm_isdst values.
46998         mktime: merge another wrapv change from gnulib
46999         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47000         from some compilers.
47002         mktime: remove incorrect attempt at unusual arithmetics
47003         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47004         The code didn't really work on such machines anyway.
47005         (TYPE_MINIMUM): Assume two's complement.
47006         (twos_complement_arithmetic): Verify that long_int and time_t
47007         are two's complement (or unsigned, in the latter case).
47009         mktime: check signed shifts on long_int and time_t, too
47010         * time/mktime.c (SHR): Check that shifts work as desired
47011         on the types long_int and time_t too, as SHR is used on
47012         such types.
47014         mktime: do not assume 'long' is wide enough
47015         * time/mktime.c (verify): Move decl up.
47016         (long_int): New type.
47017         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47018         to remove assumption in the code that 'long' is wide enough to
47019         store year values.  This assumption is not true on x32 and on
47020         some non-glibc platforms.
47022         mktime: merge wrapv change from gnulib
47023         * time/mktime.c (WRAPV): New macro.
47024         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47025         (guess_time_tm, __mktime_internal): Do not assume that signed
47026         integer overflow wraps around; modern compilers generate code
47027         where this assumption is no longer valid.
47029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47031         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47032         Replace "jmp L(pseudo_end)" with "ret".
47033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47034         Likewise.
47036 2012-05-23  Andreas Jaeger  <aj@suse.de>
47038         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47039         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47041 2012-05-23  Andreas Jaeger  <aj@suse.de>
47042             Maximilian Attems  <max@stro.at>
47044         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47045         New macros.
47047 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47049         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47050         code so that pseudo_end is just ret and the stack pointer is
47051         correct also for static library in error case.
47053 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47055         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47056         move to syscalls.list.
47057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47062         * manual/install.texi (Running make install): Do not mention Linux
47063         kernel version for which pt_chown is not needed.
47064         (Linux): Do not mention problems with nscd with 2.0 kernels.
47065         * INSTALL: Regenerated.
47067 2012-05-23  Andreas Jaeger  <aj@suse.de>
47069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47070         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47071         macro.
47072         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47073         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47074         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47075         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47076         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47077         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47078         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47079         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47080         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47081         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47082         * sysdeps/unix/sysv/linux/bits/in.h
47083         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47085 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47087         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47088         (PREPARE_VERSION): Just use assert instead, it will be elided
47089         under [NDEBUG] anyway.
47091 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47093         * sysdeps/unix/sysv/linux/Makefile: Include
47094         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47095         (sysdep_routines): Remove sysctl.
47096         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47097         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47098         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47099         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47100         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47102 2012-05-22  Andreas Jaeger  <aj@suse.de>
47104         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47105         that pseudo_end is just ret and the stack pointer is correct also
47106         for static library in error case.
47108 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47110         [BZ #14122]
47111         * nss/nsswitch.c (defconfig_entries): New variable.
47112         (__nss_database_lookup): Don't leak defconfig entries.
47113         (nss_parse_service_list): Don't leak on error paths.
47114         (free_database_entries): New function.
47115         (free_defconfig): New function.
47116         (free_mem): Move common code to free_database_entries.
47118 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47120         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47121         Add arch_prctl.
47122         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47124         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47125         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47127         New macro.
47128         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47129         (INTERNAL_SYSCALL_TYPES): Likewise.
47130         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47131         (LOAD_REGS_TYPES_[1-6]): Likewise.
47132         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47133         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47135 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47138         copysignl for GLIBC_2_0.
47139         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47140         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47141         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47142         logbl for GLIBC_2_0.
47143         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47144         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47146 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47149         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47151         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47152         Use "neg %eax".
47154         * time/mktime.c: Update copyright years.
47156 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47158         mktime: merge comment-quoting-style change from gnulib
47159         * time/mktime.c: Quote 'like this' in comments.
47160         The GNU coding standards suggest that we no longer quote `like this',
47161         as "`" and "'" are typically rendered asymmetrically nowadays.
47162         The typical gnulib style is to quote 'like this' when quoting
47163         code, and "like this" when quoting English.
47165         * time/mktime.c (compile-command): Add "-I.".
47167         mktime: merge mktime-internal.h change from gnulib
47168         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47170         mktime: merge time_r change from gnulib
47171         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47173         mktime: merge DEBUG change from gnulib
47174         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47175         case system <time.h> has a #define.
47177         mktime: merge <sys/types.h> change from gnulib
47178         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47179         since <time.t> is now guaranteed to define time_t.
47181         mktime: merge HAVE_CONFIG_H change from gnulib
47182         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47184 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47187         Use "neg %eax".
47189         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47190         __rlim_t cast.
47191         (struct rusage): Use anonymous union to pad each field to
47192         __syscall_slong_t.
47194 2012-05-21  David S. Miller  <davem@davemloft.net>
47196         * Makefules (o-iterator): Remove .s cases.
47197         (compile-command.s): Delete.
47198         (COMPILE.s): Delete.
47199         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47201 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47203         * configure.in (libc_cv_predef_stack_protector): Only consider
47204         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47205         * configure: Regenerated.
47207 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47210         New macro.  Use R*LP on int and pointer.
47211         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47212         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47213         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47214         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47216         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47217         [__WORDSIZE_TIME64_COMPAT32] instead of
47218         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47219         (struct utmp): Likewise.
47220         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47221         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47222         Renamed to ...
47223         (__WORDSIZE_TIME64_COMPAT32): This.
47224         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47225         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47226         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47227         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47228         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47229         (__WORDSIZE_TIME64_COMPAT32): New macro.
47231 2012-05-21  Andreas Jaeger  <aj@suse.de>
47233         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47234         only if [SHARED]. Add prototype for __wcschr_ia32.
47236 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47238         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47239         of %rbp unmolested in the jmp_buf while mangling the low bits.
47240         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47241         unmolested high bits of %rbp while demangling the low bits.
47242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47244 2012-05-21  Andreas Jaeger  <aj@suse.de>
47246         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47247         * sunrpc/svc_simple.c: Use it for registerrpc.
47248         * sunrpc/xcrypt.c: Use it for passwd2des.
47250         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47252 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47254         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47255         Don't define if [__SYSCALL_WORDSIZE != 32].
47256         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47257         New macro.
47259 2012-05-21  Bruno Haible  <bruno@clisp.org>
47260             Andreas Jaeger  <aj@suse.de>
47262         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47263         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47264         inptr and inend for must_buffer_ch.
47265         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47266         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47267         * stdio-common/Makefile (tests): Remove bug15.
47268         (bug15-ENV): Remove macro.
47269         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47270         anymore.
47272 2012-05-19  Andreas Jaeger  <aj@suse.de>
47273             Roland McGrath  <roland@hack.frob.com>
47275         * manual/contrib.texi: Completely rewritten. It contains now an
47276         alphabetical list of contributors and their contributions.
47278 2012-05-21  Richard Henderson  <rth@twiddle.net>
47280         * misc/getauxval.c (__getauxval): Use unsigned long int.
47281         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47282         (getauxval): Use unsigned long int.
47284 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47286         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47288 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47290         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47291         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47292         __alignof__ (long double).
47294 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47298 2012-05-20  Richard Henderson  <rth@twiddle.net>
47300         * misc/getauxval.c: New file.
47301         * misc/sys/auxv.h: New file.
47302         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47303         (routines): Add getauxval.
47304         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47305         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47306         * elf/dl-sysdep.c (_dl_auxv): Remove.
47307         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47308         * elf/dl-support.c (_dl_auxv): New variable.
47309         (_dl_aux_init): Initialize it.
47310         * manual/startup.texi (Auxiliary Vector): New node.
47311         * sysdeps/generic/bits/hwcap.h: New file.
47312         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47313         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47314         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47315         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47316         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47319         Update.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47329 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47333 2012-05-19  David S. Miller  <davem@davemloft.net>
47335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47337 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47339         [BZ #14123]
47340         * math/s_ccosh.c: Include <float.h>
47341         (__ccosh): Avoid internal overflow calculating sinh and cosh
47342         values before multiplying by sin and cos values.
47343         * math/s_ccoshf.c: Likewise.
47344         * math/s_ccoshl.c: Likewise.
47345         * math/s_csin.c: Likewise.
47346         * math/s_csinf.c: Likewise.
47347         * math/s_csinl.c: Likewise.
47348         * math/s_csinh.c: Likewise.
47349         * math/s_csinhf.c: Likewise.
47350         * math/s_csinhl.c: Likewise.
47351         * math/libm-test.inc (ccos_test): Add more tests.
47352         (ccosh_test): Likewise.
47353         (csin_test): Likewise.
47354         (csinh_test): Likewise.
47355         * sysdeps/i386/fpu/libm-test-ulps: Update.
47356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47358 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47360         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47361         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47363         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47365 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47367         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47368         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47369         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47370         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47371         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47372         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47373         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47374         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47375         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47376         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47377         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47378         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47379         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47380         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47381         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47382         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47383         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47384         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47385         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47386         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47387         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47388         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47389         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47390         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47391         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47392         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47393         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47394         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47395         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47396         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47397         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47399 2012-05-18  Andreas Jaeger  <aj@suse.de>
47401         * csu/.gitignore: Delete.
47403 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47405         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47406         (timex): Use __syscall_slong_t.
47408 2012-05-18  Andreas Jaeger  <aj@suse.de>
47409             Carlos O'Donell  <carlos_odonell@mentor.com>
47411         * manual/install.texi (Configuring and compiling): Update
47412         description about files modified in the source directory.
47413         * INSTALL: Regenerated.
47415 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47417         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47418         value.  Use "or" to set return value to -1.
47419         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47420         negate return value.
47422 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47424         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47425         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47426         failure if the compiler has Graphite support disabled.
47427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47428         Likewise.
47429         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47430         (CFLAGS-memmove.c): Likewise.
47431         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47432         Likewise.
47434 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47436         * sysdeps/x86_64/x32/_itoa.h: New file.
47438         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47439         getdents system call only if kernel and user dirents have the
47440         same d_ino and d_off.
47442         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47443         LLONG_MAX != LONG_MAX.
47444         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47445         (_fitoa_word): Likewise.
47447         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47448         years.
47449         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47450         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47451         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47453         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47454         include <bits/wordsize.h>.  Check __x86_64__ instead of
47455         __WORDSIZE.
47456         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47457         if __x86_64__ is defined.  Use anonymous union on fpstate.
47459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47460         anonymous union.
47462 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47464         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47465         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47466         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47467         Refer to _rtld_local_ro instead of _rtld_global_ro.
47468         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47469         Likewise.
47470         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47471         Likewise.
47472         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47473         Likewise.
47474         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47475         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47476         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47478         * sysdeps/powerpc/powerpc32/dl-machine.c
47479         (__elf_machine_runtime_setup) [PROF]: Don't reference
47480         _dl_prof_resolve.
47482 2012-05-18  Andreas Jaeger  <aj@suse.de>
47484         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47485         function only available for GCCs before 3.4 since GCC 3.4
47486         introduced a builtin.
47487         (lrint): Likewise.
47488         (llrintf): Likewise.
47489         (llrint): Likewise.
47490         (fmaxf): Likewise.
47491         (fmax): Likewise.
47492         (fminf): Likewise.
47493         (fmin): Likewise.
47494         (rint): Likewise.
47495         (rintf): Likewise.
47496         (nearbyint): Likewise.
47497         (nearbyintf): Likewise.
47498         (ceil): Likewise.
47499         (ceilf): Likewise.
47500         (floor): Likewise.
47501         (floorf): Likewise.
47503 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47505         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47506         on both fields and cast pointer to __syscall_ulong_t.
47508         * bits/types.h (__fsword_t): New type.
47509         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47510         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47511         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47512         (__FSWORD_T_TYPE): Likewise.
47513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47514         (__FSWORD_T_TYPE): Likewise.
47515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47516         (__FSWORD_T_TYPE): Likewise.
47517         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47518         (__FSWORD_T_TYPE): Likewise.
47519         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47520         __SWORD_TYPE with __fsword_t.
47521         (statfs64): Likewise.
47523 2012-05-17  David S. Miller  <davem@davemloft.net>
47525         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47527 2012-05-17  Andreas Jaeger  <aj@suse.de>
47529         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47530         warning.
47532 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47534         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47536 2012-05-17  Andreas Jaeger  <aj@suse.de>
47538         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47539         when it is used.
47541 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47543         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47545 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47547         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47548         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47550 2012-05-17  Andreas Jaeger  <aj@suse.de>
47551             Carlos O'Donell  <carlos_odonell@mentor.com>
47553         [BZ #14059]
47554         * sysdeps/x86_64/multiarch/init-arch.h
47555         (bit_YMM_Usable): Rename to...
47556         (bit_AVX_Usable): ... this.
47557         (bit_FMA4_Usable): New macro.
47558         (bit_XMM_state): New macro.
47559         (bit_YMM_state): New macro.
47560         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47561         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47562         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47563         (CPUID_OSXSAVE): New macro.
47564         (CPUID_AVX): New macro.
47565         (CPUID_FMA4): New macro.
47566         (index_YMM_Usable): Rename to...
47567         (index_AVX_Usable): ... this.
47568         (HAS_AVX): Use HAS_ARCH_FEATURE.
47569         (HAS_FMA4): Likewise.
47570         (HAS_YMM_USABLE): Remove.
47571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47572         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47573         are present.
47574         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47575         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47576         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47577         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47578         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47580 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47582         * math/libm-test.c: Support platforms without multiple rounding modes.
47583         * math/bug-nextafter.c: Support platforms without FP exceptions.
47584         * math/bug-nexttoward.c: Likewise.
47585         * math/test-fenv.c: Likewise.
47586         * math/test-misc.c: Likewise.
47587         * stdlib/bug-getcontext.c: Likewise.
47589 2012-05-17  Andreas Jaeger  <aj@suse.de>
47591         * manual/examples/search.c (critter_cmp): Change signature to
47592         avoid warnings.
47593         * manual/string.texi (Collation Functions): Likewise.
47595 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47597         * bits/types.h: Fold copyright years.
47598         * bits/typesizes.h: Likewise.
47599         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47602         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47603         * time/time.h: Likewise.
47605 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47607         [BZ #208]
47608         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47609         in instead of returning them.  Return void.
47610         (__libc_mallinfo): Accumulate over all arenas.
47611         (__malloc_stats): Adjust for change in int_mallinfo interface.
47613 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47615         [BZ #10375]
47616         * configure.in (NM): Add AC_CHECK_TOOL for it.
47617         (libc_extra_cflags): New substituted variable.
47618         Check for -fstack-protector being used implicitly.
47619         * configure: Regenerated.
47620         * config.make.in (config-extra-cflags): New variable,
47621         gets @libc_extra_cflags@.
47622         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47624         [BZ #10375]
47625         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47626         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47627         * configure: Regenerated.
47628         * config.make.in (CPPUNDEFS): New substituted variable.
47629         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47630         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47631         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47633 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47635         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47636         (mq_attr): Use __syscall_slong_t.
47638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47640         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47641         Check __x86_64__ instead of __WORDSIZE.
47642         (_STAT_VER_LINUX): Likewise.
47643         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47644         __syscall_ulong_t and __syscall_slong_t.
47645         (stat64): Likewise.
47647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47649         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47653         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47657         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47658         __syscall_ulong_t.
47660         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47661         include <bits/wordsize.h>.  Check __x86_64__ instead of
47662         __WORDSIZE.
47663         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47664         defined.
47665         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47667         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47668         include <bits/wordsize.h>.  Check __x86_64__ instead of
47669         __WORDSIZE.
47670         (user_regs_struct): Use "__extension__ unsigned long long"
47671         instead of "unsigned long" if __x86_64__ is defined.
47672         (user): Likewise.  Pad after pointer field if __ILP32__ is
47673         defined.
47675 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47677         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47678         versions 5 to 9.
47679         * configure: Regenerated.
47680         * manual/install.texi (texinfo): Increase version requirement to
47681         4.5 or later.
47682         * INSTALL: Regenerated.
47684         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47688         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47690         * sysdeps/x86_64/x32/ffs.c: New file.
47692         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47693         __syscall_ulong_t.
47694         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47695         defined.  Use __syscall_ulong_t.
47696         (shminfo): Use __syscall_ulong_t.
47697         (shm_info): Likewise.
47699         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47700         __syscall_ulong_t.
47702         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47703         <bits/wordsize.h>.
47704         (msgqnum_t): Use __syscall_ulong_t.
47705         (msglen_t): Likewise.
47706         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47707         __syscall_ulong_t.
47709         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47710         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47712         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47714         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47715         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47717         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47718         __syscall_slong_t.
47720         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47721         include <bits/wordsize.h>.  Check __x86_64__ instead of
47722         __WORDSIZE.
47724         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47725         "unsigned long long int" if __x86_64__ is defined.
47726         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47729         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47730         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47732         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47733         <stdint.h>.
47734         (GET_PC): Cast to uintptr_t first.
47735         (GET_FRAME): Likewise.
47736         (GET_STACK): Likewise.
47738         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47739         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47740         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47741         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47742         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47743         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47744         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47745         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47746         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47747         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47748         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47749         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47750         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47751         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47752         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47753         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47754         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47755         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47756         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47757         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47758         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47759         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47760         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47761         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47762         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47763         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47764         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47765         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47766         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47768 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47770         * Makerules (+depfiles): Also collect depfiles from .oS in
47771         $(extra-objs).
47772         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47773         .oS, $(libnldbl-routines)).
47775         * Makerules (native-compile-mkdep-flags): Define.
47776         * sunrpc/Makefile (extra-objs): Add $(addprefix
47777         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47778         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47779         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47780         calling $(make-target-directory).
47782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47784         * bits/types.h (__snseconds_t): Removed.
47785         * time/time.h (struct timespec): Replace __snseconds_t with
47786         __syscall_slong_t.
47787         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47788         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47789         Likewise.
47790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47791         (__SNSECONDS_T_TYPE): Likewise.
47792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47793         (__SNSECONDS_T_TYPE): Likewise.
47794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47795         (__SNSECONDS_T_TYPE): Likewise.
47797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47799         * sysdeps/mach/hurd/bits/typesizes.h
47800         (__SYSCALL_SLONG_TYPE): New macro.
47801         (__SYSCALL_ULONG_TYPE): Likewise.
47803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47805         * bits/types.h (__syscall_slong_t): New type.
47806         (__syscall_ulong_t): Likewise.
47808         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47809         (__SYSCALL_ULONG_TYPE): Likewise.
47810         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47811         (__SYSCALL_SLONG_TYPE): Likewise.
47812         (__SYSCALL_ULONG_TYPE): Likewise.
47813         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47814         (__SYSCALL_SLONG_TYPE): Likewise.
47815         (__SYSCALL_ULONG_TYPE): Likewise.
47816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47817         (__SYSCALL_SLONG_TYPE): Likewise.
47818         (__SYSCALL_ULONG_TYPE): Likewise.
47820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47822         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47823         Add sigaltstack-offsets.sym.
47824         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47825         <sigaltstack-offsets.h>.
47826         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47827         longjmp_msg pointer.
47828         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47829         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47830         signal stack.
47831         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47833 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47835         * elf/stackguard-macros.h: Remove file.
47836         * sysdeps/generic/stackguard-macros.h: New file.
47837         * sysdeps/i386/stackguard-macros.h: Likewise.
47838         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47839         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47840         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47841         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47842         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47843         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47844         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47845         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47846         <elf/stackguard-macros.h>.
47848         [BZ #14109]
47849         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47850         __aligned__ in attribute.
47851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47852         (gregset_t): Likewise.
47854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47856         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47857         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47858         * sysdeps/x86_64/x32/Implies-after: New file.
47860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47862         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47863         and access return value for _dl_profile_fixup.  Use R10_LP to
47864         load frame size.
47866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47868         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47872         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47873         * sysdeps/x86_64/x32/sysdep.h: New file.
47875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47877         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47878         * sysdeps/x86_64/setjmp.S: Likewise.
47880 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47882         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47883         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47884         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47886         remove unused global constant.
47888 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47890         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47891         include of <not-cancel.h>.
47893 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47895         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47897 2012-05-15  Jeff Law  <law@redhat.com>
47898             Andreas Jaeger  <aj@suse.de>
47900         [BZ #13594]
47901         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47902         out from...
47903         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47904         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47905         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47906         code changing __hst_map_handle.map.
47908 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47910         * configure.in (sysnames): Look for Implies-before and Implies-after
47911         files.
47912         * configure: Regenerated.
47914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47916         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47917         8-byte data alignment with LP_SIZE alignment.
47919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47921         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47922         into R10_LP.
47924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47926         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47930         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47931         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47932         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47933         Likewise.
47934         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47938         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47939         (stackinfo_sub_sp): Likewise.
47941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47943         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47944         RAX_LP.
47946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47948         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47949         into R*_LP.
47951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47954         sizes into R*_LP.
47956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47958         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47962         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47963         into R11_LP and load __x86_64_shared_cache_size_half into
47964         R8_LP.
47966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47968         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47969         R8_LP.
47971 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47974         logb for POWER7.
47975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47976         logbf for POWER7.
47977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47978         logbl for POWER7.
47979         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47980         powerpc32/power7/fpu/s_logb.c via #include.
47981         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47982         powerpc32/power7/fpu/s_logbf.c via #include.
47983         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47984         powerpc32/power7/fpu/s_logbl.c via #include.
47986 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47988         * README.libm: Remove file.
47990 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47992         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47993         count for x32.  Use R*_LP and omit operand-size suffix.
47995 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47997         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47998         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47999         * sysdeps/x86_64/x32/shlib-versions: New file.
48001 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48003         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48004         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48005         Use _dl_fatal_printf instead.
48007 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48009         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48010         set if not set by the user.  Do not allow for being unset.
48011         * sysdeps/unix/sysv/linux/configure: Regenerated.
48013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48015         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48016         the `q' suffix from lea and replace .quad with ASM_ADDR.
48018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48021         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48022         instead of $17.
48023         (PTR_DEMANGLE): Likewise.
48025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48027         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48028         (LP_OP): Likewise.
48029         (ASM_ADDR): Likewise.
48030         (RAX_LP): Likewise.
48031         (RBP_LP): Likewise.
48032         (RBX_LP): Likewise.
48033         (RCX_LP): Likewise.
48034         (RDI_LP): Likewise.
48035         (RSI_LP): Likewise.
48036         (RSP_LP): Likewise.
48037         (R8_LP): Likewise.
48038         (R9_LP): Likewise.
48039         (R10_LP): Likewise.
48040         (R10_LP): Likewise.
48041         (R11_LP): Likewise.
48042         (R12_LP): Likewise.
48043         (R13_LP): Likewise.
48044         (R14_LP): Likewise.
48045         (R15_LP): Likewise.
48047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48049         * sysdeps/x86_64/x32/dl-machine.h: New file.
48051 2012-05-14  Andreas Jaeger  <aj@suse.de>
48053         * manual/Makefile (subdir): Remove export of subdir.
48054         (all): Remove target.
48055         (.PHONY): Remove all from list.
48056         (mkinstalldirs): Remove.
48057         (.PHONY): Remove installdirs from list.
48058         ($(inst_infodir)/libc.info): Use make-target-directory.
48059         (installdirs): Remove.
48060         (subdir_%): Remove.
48061         (glibc-targets): Remove.
48062         (lib): Remove.
48063         (stubs): Remove.
48064         ($(objpfx)stubs ../po/manual.pot): Remove.
48065         ($(objpfx)stamp%): Remove.
48066         (make-target-directory): Remove.
48067         (subdir_install): Remove.
48068         (routines): Remove.
48069         (aux): Remove.
48070         (sources): Remove.
48071         (objects): Remove.
48072         (headers): Remove.
48074         [BZ #13750]
48075         * manual/.gitignore: Remove, it's not needed anymore.
48076         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48077         all files in it.
48078         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48079         directory.
48080         (texis): Renamed to $(objpfx)texis.
48081         (texis-path): New, contains path to generated files.
48082         (chapters.%): Use texis-path for complete path, add extra argument
48083         libc-texinfo.sh.
48084         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48085         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48086         (summary,texi, stamp-summary): Use complete path of
48087         files. Generate files in build dir.
48088         (dir-add.texi): Build in build dir.
48089         (libm-err.texi,stamp-libm-err): Likewise.
48090         (version.texi, stamp-version): Likewise.
48091         (.%c.texi): Likewise.
48092         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48093         (mostlyclean): Remove target.
48094         (realclean): Remove target.
48095         (generated): Add new variable with contents from mostlyclean and
48096         realclean, remove entries duplicated in common-mostlyclean, add
48097         stamp-libm-err and stamp-version.
48098         (generated-dirs): Add libc directory.
48099         ($(inst_infodir)/libc.info): Install files from build dir.
48101         * manual/install.texi (Configuring and compiling): Adjust since
48102         the info files are not part of the tar ball anymore.
48104 2012-05-14  Andreas Jaeger  <aj@suse.de>
48106         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48107         variable.
48109 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48111         [BZ #13717]
48112         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48113         to 2.2.0 where earlier.
48114         * sysdeps/unix/sysv/linux/configure: Regenerated.
48115         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48116         Remove conditional code.
48117         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48118         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48119         Remove conditional code.
48120         [!__NR_lchown]: Likewise.
48121         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48122         [__NR_lchown]: Likewise.
48123         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48124         comment referencing __ASSUME_LCHOWN_SYSCALL.
48125         * sysdeps/unix/sysv/linux/i386/sigaction.c
48126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48128         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48129         Remove conditional code.
48130         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48131         (__protocol_available): Remove #if 0 code.
48132         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48133         conditional code.
48134         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48135         * sysdeps/unix/sysv/linux/kernel-features.h
48136         (__ASSUME_GETCWD_SYSCALL): Don't define.
48137         (__ASSUME_REALTIME_SIGNALS): Likewise.
48138         (__ASSUME_PREAD_SYSCALL): Likewise.
48139         (__ASSUME_PWRITE_SYSCALL): Likewise.
48140         (__ASSUME_POLL_SYSCALL): Likewise.
48141         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48142         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48143         non-SPARC.
48144         (__ASSUME_SIOCGIFNAME): Don't define.
48145         (__ASSUME_MSG_NOSIGNAL): Likewise.
48146         (__ASSUME_SENDFILE): Define unconditionally.
48147         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48148         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48149         conditional code.
48150         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48151         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48152         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48153         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48154         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48155         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48156         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48158         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48159         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48161         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48164         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48165         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48167         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48170         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48171         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48173         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48176         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48177         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48179         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48180         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48181         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48182         Remove conditional code.
48183         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48184         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48185         Remove conditional code.
48186         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48187         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48188         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48189         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48190         Remove conditional code.
48191         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48192         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48193         Remove conditional code.
48194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48195         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48196         Remove conditional code.
48197         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48198         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48199         Remove conditional code.
48200         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48201         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48202         Remove conditional code.
48203         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48204         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48205         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48206         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48207         * sysdeps/unix/sysv/linux/sigaction.c
48208         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48209         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48210         * sysdeps/unix/sysv/linux/sigpending.c
48211         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48212         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48213         * sysdeps/unix/sysv/linux/sigprocmask.c
48214         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48215         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48216         * sysdeps/unix/sysv/linux/sigsuspend.c
48217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48219         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48220         (__libc_missing_rt_sigs): Remove.
48221         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48222         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48223         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48224         Remove conditional code.
48225         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48226         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48227         return 1.
48228         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48229         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48231         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48233 2012-05-14  Andreas Jaeger  <aj@suse.de>
48235         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48236         it's not used in glibc.
48237         (__coshm1): Likewise.
48238         (__acosh1p): Likewise.
48239         (__sgn): Likewise.
48241         * manual/string.texi (Copying and Concatenation): Add missing
48242         variable in concat example.
48243         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48247         [BZ #14103]
48248         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48249         __builtin_clzl with __builtin_clzll.
48251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48253         [BZ #14104]
48254         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48255         libc_freeres_ptr.
48257 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48259         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48260         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48261         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48262         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48264 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48266         * NEWS: Update ia64 info.
48268 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48270         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48271         used as bcopy.
48273 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48275         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48276         * sysdeps/unix/syscalls.list (dup3): Likewise.
48277         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48278         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48280 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48282         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48283         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48285 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48287         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48288         thread pointer.
48289         (TLS_IE): Use mov/add instead of movq/addq to load thread
48290         pointer.
48291         (TLS_GD_PREFIX): New.
48292         (TLS_GD): Use it.
48294 2012-05-11  David S. Miller  <davem@davemloft.net>
48296         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48297         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48298         (_FPU_SETCW): Likewise.
48300 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48302         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48303         is 32-byte aligned.
48305 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48307         [BZ #11837]
48308         * iconvdata/gb18030.c: Update tables.
48309         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48310         characters specially.
48311         (BODY for TO_LOOP): Add encoding of missing ranges.
48313 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48315         [BZ #13673]
48316         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48317         * sysdeps/mach/hurd/dup3.c: Likewise.
48318         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48319         * sysdeps/powerpc/memmove.c:: Likewise.
48321 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48324         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48326 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48328         * elf/elf.h (R_X86_64_RELATIVE64): New.
48329         (R_X86_64_NUM): Updated.
48330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48331         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48332         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48333         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48334         tst-quad1pie tst-quad2pie
48335         (modules-names): Add tst-quadmod1 tst-quadmod2.
48336         ($(objpfx)tst-quad1): New dependency.
48337         ($(objpfx)tst-quad2): Likewise.
48338         ($(objpfx)tst-quad1pie): Likewise.
48339         ($(objpfx)tst-quad2pie): Likewise.
48340         * sysdeps/x86_64/tst-quad1.c: New file.
48341         * sysdeps/x86_64/tst-quad1pie.c: New file.
48342         * sysdeps/x86_64/tst-quad2.c: Likewise.
48343         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48344         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48345         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48346         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48347         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48351         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48352         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48353         * streams/stropts.h (t_scalar_t): Define type.
48355         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48356         (_PATH_PRESERVE): Set to "/var/lib".
48357         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48359         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48360         instead of int.
48362         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48363         if __dir_mkfile succeeded.
48365         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48366         checking for _hurd_dtablesize.  Unlock it right after having
48367         finished _hurd_dtable allocation.
48369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48371         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48372         * sysdeps/mach/hurd/configure: Regenerated.
48373         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48374         special-casing to...
48375         * sysdeps/gnu/configure.in: ... this new file.
48376         * sysdeps/unix/sysv/linux/configure: Regenerated.
48377         * sysdeps/gnu/configure: New generated file.
48379         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48380         for Linux: use nsec instead of usec, as well as:
48381         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48382         members of type struct timespec.
48383         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48384         New macros.
48385         (struct stat64): Likewise.
48386         (_STATBUF_ST_NSEC): New macro.
48387         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48389         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48390         __strtoul_internal rather than strtoul.
48392 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48394         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48395         and reject them.
48397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48399         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48400         which preserves existing values.
48401         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48403 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48405         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48406         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48407         greater than FD_SETSIZE.
48409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48411         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48412         allocated, call __vm_protect to finish enabling the existing space, and
48413         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48414         allocate the remainder.
48416 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48418         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48419         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48423         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48424         sysdeps/mach/hurd/readlink.c.
48426         * posix/tst-sysconf.c (posix_options): Only use
48427         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48428         _POSIX_SYNCHRONIZED_IO when they are defined
48429         * sysdeps/mach/hurd/bits/posix_opt.h:
48430         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48431         (_XOPEN_REALTIME): Undefine macro.
48432         (_XOPEN_REALTIME_THREADS): Undefine macro.
48433         (_XOPEN_SHM): Undefine macro.
48434         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48435         macro to -1.
48436         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48437         macro to -1.
48438         (_POSIX_ASYNC_IO): Undefine macro.
48439         (_POSIX_PRIORITIZED_IO): Undefine macro.
48440         (_POSIX_SPIN_LOCKS): Define macro to -1.
48442         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48443         SA_NODEFER, SA_RESETHAND.
48444         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48445         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48446         F_DUPFD_CLOEXEC.
48448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48450         * elf/Makefile (pldd-modules): Define unconditionally.
48452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48454         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48458         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48459         Return ENOENT when name is empty.
48460         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48464         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48466         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48470         Fix mlock in all cases except non-readable pages.
48471         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48472         instead of VM_PROT_ALL as parameter to __vm_wire function.
48474         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48475         (__mkdir): When path is `/', just fail with EEXIST.
48476         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48478 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48480         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48481         <sys/uio.h> (for writev).
48482         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48483         and <sys/param.h> (for MIN).
48485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48487         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48488         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48489         if interrupted.
48491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48493         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48494         Depend on against $(link-rpcuserlibs).
48496 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48498         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48499         (__libc_stack_end): Do not use attribute_relro.
48500         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48501         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48502         to libthread-provided value.
48503         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48504         attribute_relro.
48506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48508         [BZ #3748]
48509         * bits/libc-lock.h (__libc_once_get): New macro.
48510         * sysdeps/mach/bits/libc-lock.h: Likewise.
48511         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48512         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48513         instead of using implementation details.
48515         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48516         * libio/freopen.c: Likewise.
48517         * libio/freopen64.c: Likewise.
48518         * misc/syslog.c: Likewise.
48519         * nscd/connections.c: Likewise.
48520         * nscd/netgroupcache.c: Likewise.
48521         * sysdeps/posix/getcwd.c: Likewise.
48523 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48525         * math/w_ilogbf.c: Add #include <limits.h>.
48527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48529         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48530         path instead of returning without unlocking.
48532         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48533         immediate-write ioctls.
48534         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48538         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48539         __builtin_frame_address instead of making assumptions about the
48540         location of the return address relative to DATA.  Force early load of
48541         the return address.
48542         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48543         __builtin_frame_address.
48545         dup3 for GNU Hurd.
48546         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48547         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48548         implement dup3 and do some further code clean-ups.
48549         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48550         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48554         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48556         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48557         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48558         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48559         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48560         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48561         d->port.lock.
48563         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48564         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48565         when handler == SIG_ERR, not when handler != SIG_ERR.
48567 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48569         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48570         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48571         definitions.
48573         accept4 for GNU Hurd.
48574         * include/sys/socket.h (__libc_accept4): New prototype.
48575         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48576         to implement __libc_accept4.
48577         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48578         __libc_accept4.
48579         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48581         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48582         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48583         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48584         signal-defines.sym.
48586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48588         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48592         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48593         assertion on O_CLOEXEC flag.
48594         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48595         * hurd/intern-fd.c: Likewise.
48596         * hurd/port2fd.c: Likewise.
48598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48600         [BZ #3906]
48601         * bits/in.h (IPV6_PKTINFO): Define new macro.
48602         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48604 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48606         [BZ #13954]
48607         [BZ #13955]
48608         [BZ #13956]
48609         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48611         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48614         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48615         * math/libm-test.inc (logb_test) : Additional logb tests.
48617 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48618             Andreas Jaeger  <aj@suse.de>
48620         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48621         * configure: Regenerated.
48622         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48623         * config.make.in (link-obsolete-rpc): New substituted variable.
48624         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48625         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48626         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48627         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48628         so that libc.a contains the symbols.
48629         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48630         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48631         * sunrpc/auth_none.c: Likewise.
48632         * sunrpc/auth_unix.c: Likewise.
48633         * sunrpc/authdes_prot.c: Likewise.
48634         * sunrpc/authuxprot.c: Likewise.
48635         * sunrpc/clnt_gen.c: Likewise.
48636         * sunrpc/clnt_perr.c: Likewise.
48637         * sunrpc/clnt_raw.c: Likewise.
48638         * sunrpc/clnt_simp.c: Likewise.
48639         * sunrpc/clnt_tcp.c: Likewise.
48640         * sunrpc/clnt_udp.c: Likewise.
48641         * sunrpc/clnt_unix.c: Likewise.
48642         * sunrpc/des_crypt.c: Likewise.
48643         * sunrpc/des_soft.c: Likewise.
48644         * sunrpc/get_myaddr.c: Likewise.
48645         * sunrpc/key_call.c: Likewise.
48646         * sunrpc/key_prot.c: Likewise.
48647         * sunrpc/netname.c: Likewise.
48648         * sunrpc/pm_getmaps.c: Likewise.
48649         * sunrpc/pm_getport.c: Likewise.
48650         * sunrpc/pmap_clnt.c: Likewise.
48651         * sunrpc/pmap_prot.c: Likewise.
48652         * sunrpc/pmap_prot2.c: Likewise.
48653         * sunrpc/pmap_rmt.c: Likewise.
48654         * sunrpc/publickey.c: Likewise.
48655         * sunrpc/rpc_cmsg.c: Likewise.
48656         * sunrpc/rpc_common.c: Likewise.
48657         * sunrpc/rpc_dtable.c: Likewise.
48658         * sunrpc/rpc_prot.c: Likewise.
48659         * sunrpc/rpc_thread.c: Likewise.
48660         * sunrpc/rtime.c: Likewise.
48661         * sunrpc/svc.c: Likewise.
48662         * sunrpc/svc_auth.c: Likewise.
48663         * sunrpc/svc_raw.c: Likewise.
48664         * sunrpc/svc_run.c: Likewise.
48665         * sunrpc/svc_tcp.c: Likewise.
48666         * sunrpc/svc_udp.c: Likewise.
48667         * sunrpc/svc_unix.c: Likewise.
48668         * sunrpc/svcauth_des.c: Likewise.
48669         * sunrpc/xcrypt.c: Likewise.
48670         * sunrpc/xdr.c: Likewise.
48671         * sunrpc/xdr_array.c: Likewise.
48672         * sunrpc/xdr_float.c: Likewise.
48673         * sunrpc/xdr_intXX_t.c: Likewise.
48674         * sunrpc/xdr_mem.c: Likewise.
48675         * sunrpc/xdr_rec.c: Likewise.
48676         * sunrpc/xdr_ref.c: Likewise.
48677         * sunrpc/xdr_sizeof.c: Likewise.
48678         * sunrpc/xdr_stdio.c: Likewise.
48680 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48682         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48683         change.  Update copyright years.
48685 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48687         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48689 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48690             Joseph Myers  <joseph@codesourcery.com>
48691             Paul Pluzhnikov  <ppluzhnikov@google.com>
48693         [BZ #14012]
48694         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48695         requiring rpcgen.
48696         [cross-compiling] (extra-libs): Likewise.
48697         [cross-compiling] (extra-libs-others): Likewise.
48698         [cross-compiling] (librpcsvc-routines): Likewise.
48699         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48700         [cross-compiling] (omit-deps): Likewise.
48701         (sunrpc-CPPFLAGS): New variable.
48702         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48703         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48704         (cross-rpcgen-objs): New variable.
48705         (extra-objs): Append $(cross-rpcgen-objs).
48706         ($(cross-rpcgen-objs)): New rule.
48707         ($(objpfx)cross-rpcgen): Likewise.
48708         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48709         comment.
48710         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48711         ($(objpfx)x%.stmp): Likewise.
48712         * sunrpc/proto.h [IS_IN_build] (_): Define.
48713         [IS_IN_build] (_libc_intl_domainname): Likewise.
48715 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48718         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48719         and R_X86_64_TPOFF64.
48721 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48723         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48724         sysdeps/unix/sysv/syscalls.list.
48725         (stime): Likewise.
48726         (utime): Likewise.
48727         * sysdeps/unix/sysv/syscalls.list: Remove file.
48729 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48731         [BZ #3440]
48732         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48733         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48734         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48735         (__LC_IDENTIFICATION): Make these macros useful in #if
48736         expressions, as required by C99.
48738 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48740         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48741         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48742         after this.
48744 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48746         * stdlib/longlong.h: Updated from GCC.
48748 2012-05-09  Andreas Jaeger  <aj@suse.de>
48750         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48751         default is first entry.
48752         (run_mode): Set type.
48753         (main): Remove informal message about syslog.
48754         (options): Fix typo.
48756         [BZ #14053]
48757         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48758         to asm.
48759         (lrint): Likewise.
48760         (llrintf): Likewise.
48761         (llrint): Likewise.
48762         (rint): Likewise.
48763         (rintf): Likewise.
48764         (nearbyint): Likewise.
48765         (nearbyintf): Likewise.
48767 2012-05-09  Andreas Jaeger  <aj@suse.de>
48768             Pedro Alves  <palves@redhat.com>
48770         * nscd/nscd.c (run_mode): Use enum.
48771         (main): Cleanup coding style issue.
48773 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48774             Andreas Jaeger  <aj@suse.de>
48776         * nscd/nscd.c (go_background): Replaced with...
48777         (run_mode): ... this.
48778         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48779         (options): Add -F --foreground.
48780         (main): Implement it.
48781         (parse_opt): Parse it.
48783 2012-05-09  Andreas Jaeger  <aj@suse.de>
48785         [BZ #14083]
48786         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48787         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48788         -Wconversion warning.
48789         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48790         Likewise.
48792 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48794         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48795         == 0.
48796         (LC_ALL): Use macro-int-constant.
48797         (LC_COLLATE): Likewise.
48798         (LC_CTYPE): Likewise.
48799         (LC_MESSAGES): Likewise.
48800         (LC_MONETARY): Likewise.
48801         (LC_NUMERIC): Likewise.
48802         (LC_TIME): Likewise.
48803         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48804         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48805         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48806         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48807         Specify type.
48808         [C99-based standards] (float_t): Expect type.
48809         [C99-based standards] (double_t): Expect type.
48810         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48811         type.
48812         [C99-based standards] (HUGE_VALL): Likewise.
48813         [C99-based standards] (INFINITY): Likewise.
48814         [C99-based standards] (NAN): Likewise.
48815         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48816         [C99-based standards] (FP_NAN): Likewise.
48817         [C99-based standards] (FP_NORMAL): Likewise.
48818         [C99-based standards] (FP_SUBNORMAL): Likewise.
48819         [C99-based standards] (FP_ZERO): Likewise.
48820         [C99-based standards] (FP_FAST_FMA): Use
48821         optional-macro-int-constant.  Specify type.  Require == 1.
48822         [C99-based standards] (FP_FAST_FMAF): Likewise.
48823         [C99-based standards] (FP_FAST_FMAL): Likewise.
48824         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48825         [C99-based standards] (FP_ILOGBNAN): Likewise.
48826         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48827         Specify type.
48828         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48829         [C99-based standards] (math_errhandling): Specify type.
48830         [ISO99 || ISO11] (signgam): Do not allow.
48831         [non-C99-based standards] (copysignf): Do not allow.
48832         [non-C99-based standards] (exp2f): Likewise.
48833         [non-C99-based standards] (log2f): Likewise.
48834         [non-C99-based standards] (modff): Allow.
48835         [non-C99-based standards] (erff): Do not allow.
48836         [non-C99-based standards] (erfcf): Likewise.
48837         [non-C99-based standards] (gammaf): Likewise.
48838         [non-C99-based standards] (hypotf): Likewise.
48839         [non-C99-based standards] (j0f): Likewise.
48840         [non-C99-based standards] (j1f): Likewise.
48841         [non-C99-based standards] (jnf): Likewise.
48842         [non-C99-based standards] (lgammaf): Likewise.
48843         [non-C99-based standards] (tgammaf): Likewise.
48844         [non-C99-based standards] (y0f): Likewise.
48845         [non-C99-based standards] (y1f): Likewise.
48846         [non-C99-based standards] (ynf): Likewise.
48847         [non-C99-based standards] (isnanf): Likewise.
48848         [non-C99-based standards] (acoshf): Likewise.
48849         [non-C99-based standards] (asinhf): Likewise.
48850         [non-C99-based standards] (atanhf): Likewise.
48851         [non-C99-based standards] (cbrtf): Likewise.
48852         [non-C99-based standards] (expm1f): Likewise.
48853         [non-C99-based standards] (ilogbf): Likewise.
48854         [non-C99-based standards] (log1pf): Likewise.
48855         [non-C99-based standards] (logbf): Likewise.
48856         [non-C99-based standards] (nextafterf): Likewise.
48857         [non-C99-based standards] (remainderf): Likewise.
48858         [non-C99-based standards] (rintf): Likewise.
48859         [non-C99-based standards] (scalbf): Likewise.
48860         [non-C99-based standards] (copysignl): Likewise.
48861         [non-C99-based standards] (exp2l): Likewise.
48862         [non-C99-based standards] (log2l): Likewise.
48863         [non-C99-based standards] (modfl): Allow.
48864         [non-C99-based standards] (erfl): Do not allow.
48865         [non-C99-based standards] (erfcl): Likewise.
48866         [non-C99-based standards] (gammal): Likewise.
48867         [non-C99-based standards] (hypotl): Likewise.
48868         [non-C99-based standards] (j0l): Likewise.
48869         [non-C99-based standards] (j1l): Likewise.
48870         [non-C99-based standards] (jnl): Likewise.
48871         [non-C99-based standards] (lgammal): Likewise.
48872         [non-C99-based standards] (tgammal): Likewise.
48873         [non-C99-based standards] (y0l): Likewise.
48874         [non-C99-based standards] (y1l): Likewise.
48875         [non-C99-based standards] (ynl): Likewise.
48876         [non-C99-based standards] (isnanl): Likewise.
48877         [non-C99-based standards] (acoshl): Likewise.
48878         [non-C99-based standards] (asinhl): Likewise.
48879         [non-C99-based standards] (atanhl): Likewise.
48880         [non-C99-based standards] (cbrtl): Likewise.
48881         [non-C99-based standards] (expm1l): Likewise.
48882         [non-C99-based standards] (ilogbl): Likewise.
48883         [non-C99-based standards] (log1pl): Likewise.
48884         [non-C99-based standards] (logbl): Likewise.
48885         [non-C99-based standards] (nextafterl): Likewise.
48886         [non-C99-based standards] (remainderl): Likewise.
48887         [non-C99-based standards] (rintl): Likewise.
48888         [non-C99-based standards] (scalbl): Likewise.
48889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48890         [non-C99-based standards] (FP_*): Do not allow.
48891         [C99-based standards] (FP_*): Change to
48892         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48893         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48894         allow.
48895         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48896         (SIG_ERR): Likewise.
48897         [X/Open-based standards] (SIG_HOLD): Likewise.
48898         (SIG_IGN): Likewise.
48899         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48900         positive value.
48901         (SIGFPE): Likewise.
48902         (SIGILL): Likewise.
48903         (SIGINT): Likewise.
48904         (SIGSEGV): Likewise.
48905         (SIGTER): Likewise.
48906         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48907         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48908         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48909         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48910         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48911         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48912         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48913         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48914         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48915         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48916         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48917         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48918         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48919         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48920         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48921         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48922         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48923         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48924         [X/Open-based standards] (SIGTRAP): Likewise.
48925         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48926         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48927         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48928         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48929         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48930         allow.
48932 2012-05-08  Ian Wienand  <ianw@vmware.com>
48934         [BZ #14080]
48935         * time/tzset.c (__tzset_parse_tz): Update default rules for
48936         daylight time changes in the Energy Policy Act of 2005.
48938 2012-05-09  Andreas Jaeger  <aj@suse.de>
48940         [BZ #13983]
48941         * elf/ldconfig.c (parse_conf): Change string to make clear that
48942         ldconfig only issued a warning if ld.so.conf does not exist.
48944 2012-05-08  David S. Miller  <davem@davemloft.net>
48946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48947         movxtod instead of popping the value on the stack.
48949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48951 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48953         * config.h.in: Add HAVE_ARM_PCS_VFP.
48955 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48957         [BZ #13979]
48958         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48959         checking but the checks are disabled for any reason.
48961 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48963         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48964         and ELF64_R_TYPE with ELFW(R_TYPE).
48966 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48968         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48969         (ulimit): Likewise.
48971         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48972         (settimeofday): Likewise.
48974 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48976         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48977         a struct th_u2 inside the union, and move tu_block/tu_code into
48978         a new th_u3 union of tu_block/tu_code inside of that.  Move
48979         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48980         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48981         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48982         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48983         (th_stuff): Change to th_u1.tu_stuff.
48984         (th_data): Define.
48985         (th_msg): Change to th_u1.th_u2.tu_data.
48987 2012-05-07  David S. Miller  <davem@davemloft.net>
48989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48991         [BZ #14074]
48992         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48993         (SETUP_PIC_REG): Use it.
48994         (SETUP_PIC_REG_LEAF): Use it.
48996 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48998         [BZ #13885]
48999         [BZ #13923]
49000         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49001         USE_AS_EXPM1L.
49002         (EXPL_FINITE): Likewise.
49003         (FLDLOG): Likewise.
49004         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49005         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49006         e_expl.S.
49007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49008         USE_AS_EXPM1L.
49009         (EXPL_FINITE): Likewise.
49010         (FLDLOG): Likewise.
49011         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49012         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49013         e_expl.S.
49014         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49015         test of -max_value argument for long double.
49016         * sysdeps/i386/fpu/libm-test-ulps: Update.
49017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49019 2012-05-06  David S. Miller  <davem@davemloft.net>
49021         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49022         quad soft-float symbols whose references which are compiler
49023         generated.
49024         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49026 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49028         [BZ #13884]
49029         [BZ #13914]
49030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49031         USE_AS_EXP10L.
49032         (EXPL_FINITE): Likewise.
49033         (FLDLOG): Likewise.
49034         (c0): Likewise.
49035         (c1): Likewise.
49036         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49037         Adjust comments for base varying.
49038         (__expl_finite): Change alias to EXPL_FINITE.
49039         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49040         e_expl.S.
49041         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49042         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49043         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49044         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49045         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49046         USE_AS_EXP10L.
49047         (EXPL_FINITE): Likewise.
49048         (FLDLOG): Likewise.
49049         (c0): Likewise.
49050         (c1): Likewise.
49051         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49052         Adjust comments for base varying.
49053         (__expl_finite): Change alias to EXPL_FINITE.
49054         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49055         tests for bugs.
49056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49058         [BZ #14064]
49059         * math/libm-test.inc (check_float_internal): Correct ulp
49060         calculation for subnormal expected results.
49062 2012-05-06  Andreas Jaeger  <aj@suse.de>
49064         * Makeconfig (+math-flags): New, set to -frounding-math.
49065         (+cflags): Add +math-flags so that all of glibc gets compiled with
49066         it.
49068         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49070 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49072         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49073         Disable one test.
49075         [BZ #13787]
49076         [BZ #13922]
49077         [BZ #14036]
49078         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49079         (__ieee754_expl): Allow for and saturate large arguments.
49080         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49081         (u_threshold): Likewise.
49082         (__exp): Call __ieee754_exp before checking for overflow and
49083         underflow.
49084         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49085         (u_threshold): Likewise.
49086         (__expf): Call __ieee754_expf before checking for overflow and
49087         underflow.
49088         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49089         (u_threshold): Likewise.
49090         (__expl): Call __ieee754_expl before checking for overflow and
49091         underflow.
49092         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49093         (__ieee754_expl): Allow for and saturate large arguments.
49094         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49095         missing overflow exception on overflow.
49096         (expm1_test): Do not allow missing overflow exception on overflow.
49098         * sysdeps/i386/fpu/e_expl.c: Move to ...
49099         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49100         rather than using inline asm.
49101         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49102         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49103         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49105         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49106         (nice): Likewise.
49107         (poll): Likewise.
49108         (signal): Likewise.
49109         (time): Likewise.
49110         (times): Likewise.
49112 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49114         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49115         sysdeps/unix/common/syscalls.list.
49116         (fchmod): Likewise.
49117         (fchown): Likewise.
49118         (ftruncate): Likewise.
49119         (getrusage): Likewise.
49120         (gettimeofday): Likewise.
49121         (setpgid): Likewise.
49122         (setregid): Likewise.
49123         (setreuid): Likewise.
49124         (sigaction): Likewise.
49125         (truncate): Likewise.
49126         (vhangup): Likewise.
49127         * sysdeps/unix/common/syscalls.list: Remove file.
49128         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49129         * sysdeps/unix/sysv/linux/Implies: Likewise.
49131 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49133         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49135         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49136         Moved to ...
49137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49138         Here.
49139         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49140         to ...
49141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49142         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49143         to ...
49144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49145         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49146         to ...
49147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49148         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49149         to ...
49150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49151         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49152         to ...
49153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49154         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49155         to ...
49156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49157         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49158         to ...
49159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49160         Here.
49161         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49162         to ...
49163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49164         Here.
49165         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49166         to ...
49167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49168         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49169         Moved to ...
49170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49171         Here.
49172         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49173         to ...
49174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49176 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49178         * sysdeps/unix/common/bits/dirent.h: Remove file.
49179         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49181         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49182         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49183         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49184         * sysdeps/unix/bsd/isatty.c: Likewise.
49185         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49186         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49187         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49189 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49191         [BZ #13563]
49192         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49193         long double comparison inaccuracies.
49194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49197 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49199         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49202 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49204         [BZ #14049]
49205         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49206         nonzero digits before rounding a hex value.
49207         * stdlib/tst-strtod.c (tests): Add another test.
49209 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49211         * sysdeps/s390/fpu/libm-test-ulps: Update.
49213 2012-05-03  Andreas Jaeger  <aj@suse.de>
49215         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49216         does not get optimized out.
49217         (malloc_opt_barrier): New.
49219 2012-05-03  Andreas Jaeger  <aj@suse.de>
49220             Roland McGrath  <roland@hack.frob.com>
49222         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49223         intermediate file deletion.
49224         (generated): Add .symlist files.
49226 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49228         [BZ #13775]
49229         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49230         Redirect under this condition.
49231         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49232         [__USE_GNU] (__dprintf_chk): Not under this condition.
49233         [__USE_GNU] (__vdprintf_chk): Likewise.
49234         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49235         under this condition.
49236         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49237         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49238         [__USE_XOPEN2K8] (vdprintf): Likewise.
49239         [__USE_GNU] (__dprintf_chk): Not under this condition.
49240         [__USE_GNU] (__vdprintf_chk): Likewise.
49241         [__USE_GNU] (dprintf): Likewise.
49242         [__USE_GNU] (vdprintf): Likewise.
49244 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49246         * elf/Makefile (common-generated): Set this instead of generated for
49247         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49248         $(all-built-dso)-derived lists.
49250 2012-05-03  Andreas Jaeger  <aj@suse.de>
49252         * sysdeps/i386/fpu/libm-test-ulps: Update.
49254         * FAQ: Removed.
49255         * FAQ.in: Likewise.
49256         * scripts/gen-FAQ.pl: Likewise.
49257         * manual/install.texi (Installation): Point to online location of
49258         FAQ.
49259         * Makefile (files-for-dist): Remove FAQ.
49260         (FAQ): Remove.
49262 2012-05-02  Allan McRae  <allan@archlinux.org>
49264         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49265         (LDFLAGS-reldepmod5.so): Likewise.
49266         (LDFLAGS-reldep6mod1.so): Likewise.
49267         (LDFLAGS-reldep6mod4.so): Likewise.
49268         (LDFLAGS-reldep8mod3.so): Likewise.
49269         (LDFLAGS-unload4mod1.so): Likewise.
49270         (LDFLAGS-unload4mod2.so): Likewise.
49271         (LDFLAGS-tst-initorder): Likewise.
49272         (LDFLAGS-tst-initordera2.so): Likewise.
49273         (LDFLAGS-tst-initordera3.so): Likewise.
49274         (LDFLAGS-tst-initordera4.so): Likewise.
49275         (LDFLAGS-tst-initorderb2.so): Likewise.
49276         (LDFLAGS-noload): Likewise.
49277         (LDFLAGS-next): Likewise.
49278         (LDFLAGS-order2mod1.so): Likewise.
49279         (LDFLAGS-order2mod2.so): Likewise.
49280         (LDFLAGS-tst-initorder2): Likewise.
49281         (LDFLAGS-tst-initorder2a.so): Likewise.
49282         (LDFLAGS-tst-initorder2b.so): Likewise.
49283         (LDFLAGS-tst-initorder2c.so): Likewise.
49284         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49286 2012-05-02  David S. Miller  <davem@davemloft.net>
49288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49290 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49292         [BZ #14055]
49293         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49295 2012-05-02  Andreas Jaeger  <aj@suse.de>
49297         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49298         since we manipulate rounding mode.
49299         (CPPFLAGS-test-idouble.c): Likewise.
49300         (CPPFLAGS-test-ifloat.c): Likewise.
49301         (CFLAGS-test-ldouble.c): Likewise.
49302         (CFLAGS-test-double.c): Likewise.
49303         (CFLAGS-test-float.c): Likewise.
49304         (CFLAGS-test-misc.c): Likewise.
49305         (CFLAGS-test-test-fenv.c): Likewise.
49307 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49309         [BZ #2550]
49310         [BZ #2570]
49311         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49312         comparisons to determine direction to adjust input.
49314 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49316         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49317         output to the target.
49319         * scripts/localplt.awk: New file.
49320         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49321         (check-localplt-CFLAGS): Variable removed.
49322         ($(all-built-dso:=.jmprel)): New static pattern rule.
49323         (generated): Add those targets.
49324         (localplt-built-dso): New variable.
49325         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49327         * elf/check-localplt.c: File removed.
49329         * scripts/check-execstack.awk: New file.
49330         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49331         (check-execstack-CFLAGS): Variable removed.
49332         ($(objpfx)check-execstack.h): Target removed.
49333         ($(objpfx)execstack-default): New target.
49334         (generated): Add that instead of check-execstack.h.
49335         ($(all-built-dso:=.phdr)): New static pattern rule.
49336         (generated): Add those targets.
49337         * elf/check-execstack.c: File removed.
49339         * scripts/check-textrel.awk: New file.
49340         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49341         (check-textrel-CFLAGS): Variable removed.
49342         (all-built-dso): Use := to define.o
49343         ($(all-built-dso:=.dyn)): New static pattern rule.
49344         (generated): Add those targets.
49345         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49346         * config.make.in (READELF): New substituted variable.
49347         * elf/check-textrel.c: File removed.
49349 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49351         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49352         allow.
49353         * conform/data/ctype.h-data [C99-based standards] (isblank):
49354         Expect function.
49355         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49356         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49357         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49358         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49359         Specify type.  Require positive value.
49360         (EILSEQ): Likewise.
49361         (ERANGE): Likewise.
49362         [ISO || POSIX] (EILSEQ): Do not expect.
49363         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49364         Specify type.  Require positive value.
49365         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49366         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49367         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49368         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49369         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49370         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49371         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49372         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49373         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49374         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49375         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49376         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49377         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49378         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49379         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49380         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49381         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49382         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49383         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49384         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49385         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49386         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49387         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49388         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49389         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49390         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49391         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49392         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49393         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49394         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49395         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49396         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49397         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49398         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49399         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49400         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49401         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49402         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49403         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49404         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49405         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49406         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49407         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49408         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49409         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49410         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49411         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49412         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49413         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49414         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49415         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49416         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49417         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49418         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49419         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49420         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49421         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49422         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49423         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49424         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49425         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49426         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49427         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49428         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49429         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49430         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49431         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49432         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49433         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49434         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49435         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49436         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49437         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49438         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49439         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49440         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49441         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49442         Require >= 2.
49443         (FLT_ROUNDS): Expect as macro, not constant.
49444         (FLT_MANT_DIG): Use macro-int-constant.
49445         (DBL_MANT_DIG): Likewise.
49446         (LDBL_MANT_DIG): Likewise.
49447         (FLT_DIG): Likewise.
49448         (DBL_DIG): Likewise.
49449         (LDBL_DIG): Likewise.
49450         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49451         (DBL_MIN_EXP): Likewise.
49452         (LDBL_MIN_EXP): Likewise.
49453         (FLT_MAX_EXP): Use macro-int-constant.
49454         (DBL_MAX_EXP): Likewise.
49455         (LDBL_MAX_EXP): Likewise.
49456         (FLT_MAX_10_EXP): Likewise.
49457         (DBL_MAX_10_EXP): Likewise.
49458         (LDBL_MAX_10_EXP): Likewise.
49459         (FLT_MAX): Use macro-constant.
49460         (DBL_MAX): Likewise.
49461         (LDBL_MAX): Likewise.
49462         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49463         (DBL_EPSILON): Likewise.
49464         (LDBL_EPSILON): Likewise.
49465         (FLT_MIN): Likewise.
49466         (DBL_MIN): Likewise.
49467         (LDBL_MIN): Likewise.
49468         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49469         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49470         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49471         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49472         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49473         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49474         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49475         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49476         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49477         [ISO11] (FLT_TRUE_MIN): Likewise.
49478         [ISO11] (LDBL_TRUE_MIN): Likewise.
49479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49480         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49481         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49482         (SCHAR_MAX): Likewise.
49483         (UCHAR_MAX): Likewise.
49484         (CHAR_MIN): Likewise.
49485         (CHAR_MAX): Likewise.
49486         (MB_LEN_MAX): Use macro-int-constant.
49487         (SHRT_MIN): Use macro-int-constant.  Specify type.
49488         (SHRT_MAX): Likewise.
49489         (USHRT_MAX): Likewise.
49490         (INT_MAX): Likewise.
49491         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49492         bound negative.
49493         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49494         bound with "U".
49495         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49496         bound with "L".
49497         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49498         bound negative.  Suffix upper bound with "L".
49499         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49500         bound with "UL".
49501         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49502         Specify type.
49503         [C99-based standards] (LLONG_MAX): Likewise.
49504         [C99-based standards] (ULLONG_MAX): Likewise.
49505         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49506         == 0.
49507         [ISO11] (max_align_t): Require type.
49508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49510         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49511         from $CFLAGS, without defining away __attribute__ calls.
49512         (checknamespace): Use $CFLAGS_namespace.
49514         * conform/conformtest.pl (@keywords): Only include C99 keywords
49515         for standards based on C99 or C11.
49517         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49518         Disable tests.
49519         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49520         UNIX98]: Likewise.
49522         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49523         usability of symbols in #if.
49525         * conform/conformtest.pl: If macro or constant types start
49526         "promoted:", expect the symbol to be of the following type
49527         promoted by the integer promotions.
49529         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49530         in one place.  Also handle "macro-constant".
49532         * conform/conformtest.pl: Only accept expected macro values with
49533         "==".  Parse all "macro" lines in one place.
49534         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49536         * conform/conformtest.pl: Handle braced types on "constant" lines
49537         instead of handling "typed-constant".
49538         * conform/data/signal.h-data: Use "constant" instead of
49539         "typed-constant".
49541         * conform/conformtest.pl: Handle "optional-" at start of lines in
49542         one place rather than duplicating several cases.  Handle each
49543         format of "macro" line with initial "optional-".
49545         * conform/conformtest.pl: Only accept expected constant or
49546         optional-constant values with "==".  Parse all "constant" lines in
49547         one place.  Parse all "optional-constant" lines in one place.
49548         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49549         * conform/data/fmtmsg.h-data: Likewise.
49550         * conform/data/netinet/in.h-data: Likewise.
49551         * conform/data/tar.h-data: Likewise.
49552         * conform/data/limits.h-data: Use "==" form on "constant" and
49553         "optional-constant" lines.
49555         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49556         Use -std=c99 for XOPEN2K.
49557         (@knownproblems): Remove.
49558         (newtoken): Don't check %isknown.
49560         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49561         Do not expect macro.
49562         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49563         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49564         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49565         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49567         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49568         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49569         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49570         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49571         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49572         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49573         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49574         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49575         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49576         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49578         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49579         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49580         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49581         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49582         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49583         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49584         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49585         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49586         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49587         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49588         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49589         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49590         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49591         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49592         [XPG3] (acosh): Likewise.
49593         [XPG3] (asinh): Likewise.
49594         [XPG3] (atanh): Likewise.
49595         [XPG3] (cbrt): Likewise.
49596         [XPG3] (expm1): Likewise.
49597         [XPG3] (ilogb): Likewise.
49598         [XPG3] (log1p): Likewise.
49599         [XPG3] (logb): Likewise.
49600         [XPG3] (nextafter): Likewise.
49601         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49602         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49603         [XPG3] (remainder): Likewise.
49604         [XPG3] (rint): Likewise.
49605         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49606         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49607         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49608         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49609         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49610         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49611         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49612         [UNIX98 || XOPEN2K] (scalb): Expect.
49613         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49614         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49615         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49616         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49617         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49618         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49619         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49620         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49621         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49622         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49623         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49624         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49625         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49626         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49627         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49628         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49629         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49630         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49631         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49632         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49633         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49634         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49635         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49636         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49637         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49638         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49639         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49640         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49641         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49642         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49643         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49644         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49645         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49646         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49647         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49648         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49649         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49650         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49651         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49652         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49653         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49654         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49655         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49656         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49657         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49658         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49659         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49660         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49661         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49662         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49663         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49664         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49665         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49666         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49667         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49668         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49669         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49670         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49671         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49672         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49673         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49674         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49675         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49676         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49677         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49678         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49679         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49680         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49681         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49682         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49683         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49684         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49685         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49686         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49687         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49688         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49689         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49690         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49691         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49692         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49693         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49694         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49695         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49696         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49697         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49698         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49699         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49700         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49701         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49702         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49703         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49704         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49705         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49706         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49707         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49708         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49709         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49710         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49711         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49712         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49713         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49714         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49715         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49716         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49717         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49718         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49719         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49720         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49721         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49722         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49723         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49724         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49725         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49726         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49727         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49728         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49729         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49730         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49731         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49732         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49733         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49734         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49735         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49736         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49737         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49738         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49739         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49740         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49741         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49742         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49743         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49744         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49745         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49746         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49747         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49748         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49749         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49751         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49752         _XOPEN_SOURCE_EXTENDED for XPG4.
49754         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49756         * Makeconfig (localtime): Remove variable.
49757         (inst_localtime-file): Likewise.
49759 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49762         Update.
49763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49764         Update.
49765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49766         Update.
49767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49768         Update.
49769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49770         Update.
49771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49772         Update.
49773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49774         Update.
49775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49776         Update.
49777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49778         Update.
49780 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49782         [BZ #2550]
49783         [BZ #2570]
49784         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49785         comparisons to determine direction to adjust input.
49786         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49787         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49788         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49789         Likewise.
49790         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49791         Likewise.
49792         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49793         Likewise.
49794         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49795         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49796         Likewise.
49797         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49798         Likewise.
49799         * math/libm-test.inc (nexttoward_test): Add more tests.
49801 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49803         [BZ #14040]
49804         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49805         in version GLIBC_2.1, not GLIBC_2.0.
49806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49807         Likewise.
49809 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49811         [BZ #13942]
49812         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49813         (1 - x) * (1 + x).
49814         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49815         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49816         * math/libm-test.inc (acos_test): Add more tests.
49817         (asin_test): Likewise.
49818         * sysdeps/i386/fpu/libm-test-ulps: Update.
49819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49821         [BZ #14034]
49822         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49823         of square root.
49824         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49825         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49826         * math/libm-test.inc (acos_test_tonearest): New function.
49827         (acos_test_towardzero): Likewise.
49828         (acos_test_downward): Likewise.
49829         (acos_test_upward): Likewise.
49830         (asin_test_tonearest): Likewise.
49831         (asin_test_towardzero): Likewise.
49832         (asin_test_downward): Likewise.
49833         (asin_test_upward): Likewise.
49834         (main): Call the new functions.
49835         * sysdeps/i386/fpu/libm-test-ulps: Update.
49836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49838         [BZ #13884]
49839         [BZ #13924]
49840         * math/e_exp10.c: Include <float.h>.
49841         (__ieee754_exp10): Handle underflow here rather than multiplying
49842         large negative argument by M_LN10.
49843         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49844         of __ieee754_expf.
49845         * math/e_exp10l.c: Include <float.h>.
49846         (__ieee754_exp10l): Handle underflow here rather than multiplying
49847         large negative argument by M_LN10l.
49848         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49849         spurious overflow exception on underflow.
49851 2012-04-29  Marek Polacek  <polacek@redhat.com>
49853         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49854         (__fortify_function): New macro.
49855         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49856         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49857         __extern_always_inline.
49858         * libio/bits/stdio2.h: Likewise.
49859         * libio/bits/stdio.h: Likewise.
49860         * string/string.h: Likewise.
49861         * string/bits/string3.h: Likewise.
49862         * include/stdio.h: Likewise.
49863         * stdlib/bits/stdlib.h: Likewise.
49864         * stdlib/stdlib.h: Likewise.
49865         * rt/bits/mqueue2.h: Likewise.
49866         * rt/mqueue.h: Likewise.
49867         * posix/bits/unistd.h: Likewise.
49868         * posix/unistd.h: Likewise.
49869         * io/bits/poll2.h: Likewise.
49870         * io/bits/fcntl2.h: Likewise.
49871         * io/fcntl.h: Likewise.
49872         * io/sys/poll.h: Likewise.
49873         * misc/bits/syslog.h: Likewise.
49874         * misc/bits/syslog-ldbl.h: Likewise.
49875         * misc/sys/syslog.h: Likewise.
49876         * socket/bits/socket2.h: Likewise.
49877         * socket/sys/socket.h: Likewise.
49878         * debug/tst-chk1.c: Likewise.
49879         * wcsmbs/bits/wchar2.h: Likewise.
49880         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49881         * wcsmbs/wchar.h: Likewise.
49883 2012-04-29  Andreas Jaeger  <aj@suse.de>
49885         * Makerules (tests): Remove enable-check-abi protection.
49886         (check-abi-warn): Remove.
49887         (check-abi-%): Remove check-abi-warn usage.
49889         * configure.in: Remove check-abi configure option.
49890         * configure: Regenerated.
49891         * config.make.in (enable-check-abi): Remove.
49893 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49895         [BZ #14033]
49896         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49897         double functions to double *_finite functions.
49899         [BZ #13941]
49900         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49901         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49902         LDBL_MIN_EXP.
49903         * stdio-common/Makefile (tests): Add tst-sprintf3.
49904         * stdio-common/tst-sprintf3.c: New file.
49906         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49907         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49909 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49911         * conform/conformtest.pl: Remove duplicate typed-constant
49912         handling.
49914 2012-04-28  David S. Miller  <davem@davemloft.net>
49916         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49917         (check-abi-%): Remove AWK script prerequisite and explicit
49918         abilist directory.
49919         (check-abi): Rewrite to just diff the symlist with the abilist.
49920         (config-tls, config-abi-config): Delete, no longer used.
49921         (update-abi-%): Remove AWK script and explicit abilist directory.
49922         (update-abi): Rewrite to simply compare and conditionally copy the
49923         symlist and the sysdep abilist file.  Remove update-abi-config
49924         checks.
49925         * abilist/ld.abilist: Remove.
49926         * abilist/libBrokenLocale.abilist: Remove.
49927         * abilist/libanl.abilist: Remove.
49928         * abilist/libcrypt.abilist: Remove.
49929         * abilist/libdl.abilist: Remove.
49930         * abilist/librt.abilist: Remove.
49931         * abilist/libthread_db.abilist: Remove.
49932         * abilist/libutil.abilist: Remove.
49933         * scripts/extract-abilist.awk: Remove.
49934         * scripts/merge-abilist.awk: Remove.
49935         * sysdeps/generic/libcidn.abilist: New file.
49936         * sysdeps/generic/libnss_compat.abilist: New file.
49937         * sysdeps/generic/libnss_db.abilist: New file.
49938         * sysdeps/generic/libnss_dns.abilist: New file.
49939         * sysdeps/generic/libnss_files.abilist: New file.
49940         * sysdeps/generic/libnss_hesiod.abilist: New file.
49941         * sysdeps/generic/libnss_nis.abilist: New file.
49942         * sysdeps/generic/libnss_nisplus.abilist: New file.
49943         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49944         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49945         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49946         file.
49947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49948         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49949         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49950         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49951         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49952         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49953         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49954         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49955         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49956         file.
49957         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49958         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49959         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49960         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49961         file.
49962         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49963         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49964         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49965         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49967         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49968         file.
49969         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49970         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49971         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49972         file.
49973         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49975         New file.
49976         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49977         New file.
49978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49979         New file.
49980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49981         New file.
49982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49983         New file.
49984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49985         New file.
49986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49987         New file.
49988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49989         New file.
49990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49991         New file.
49992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49993         New file.
49994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49995         New file.
49996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49997         New file.
49998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49999         New file.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50001         file.
50002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50003         New file.
50004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50005         New file.
50006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50007         file.
50008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50009         New file.
50010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50011         New file.
50012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50013         file.
50014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50015         New file.
50016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50017         New file.
50018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50019         New file.
50020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50021         New file.
50022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50023         New file.
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50025         New file.
50026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50028         file.
50029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50030         New file.
50031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50032         file.
50033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50034         file.
50035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50036         file.
50037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50038         file.
50039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50040         file.
50041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50042         New file.
50043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50044         file.
50045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50046         file.
50047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50048         New file.
50049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50050         file.
50051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50053         file.
50054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50055         New file.
50056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50057         file.
50058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50059         file.
50060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50061         file.
50062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50063         file.
50064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50065         file.
50066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50067         New file.
50068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50069         file.
50070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50071         file.
50072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50073         New file.
50074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50075         file.
50076         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50077         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50078         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50079         file.
50080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50081         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50082         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50083         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50084         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50085         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50086         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50087         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50088         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50089         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50092         file.
50093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50094         New file.
50095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50096         file.
50097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50098         file.
50099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50100         file.
50101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50102         file.
50103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50104         file.
50105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50106         New file.
50107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50108         New file.
50109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50110         file.
50111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50112         New file.
50113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50114         file.
50115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50117         file.
50118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50119         New file.
50120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50121         file.
50122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50123         file.
50124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50125         file.
50126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50127         file.
50128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50129         file.
50130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50131         New file.
50132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50133         New file.
50134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50135         file.
50136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50137         New file.
50138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50139         file.
50141 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50143         * conform/conformtest.pl: Fix typo in handling typed-constant from
50144         allow-header.
50146 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50148         * README: Cut down references to pre-2.6 Linux kernels and
50149         Linuxthreads.  Update lists of configurations in libc and ports
50150         and sort alphabetically.  Say "or newer" with Linux kernel version
50151         requirements.
50153         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50155 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50157         [BZ #887]
50158         * math/libm-test.inc (logb_test_downward): New test to expose
50159         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50160         rounding mode.
50162 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50164         [BZ #14027]
50165         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50166         to be done.
50167         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50168         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50170 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50172         * sysdeps/unix/i386/brk.S: Remove file.
50173         * sysdeps/unix/i386/dl-brk.S: Likewise.
50174         * sysdeps/unix/i386/pipe.S: Likewise.
50175         * sysdeps/unix/i386/sigreturn.S: Likewise.
50176         * sysdeps/unix/i386/syscall.S: Likewise.
50177         * sysdeps/unix/i386/vfork.S: Likewise.
50178         * sysdeps/unix/i386/wait.S: Likewise.
50180         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50181         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50183         * configure.in (arm*-none*): Do not allow without
50184         --enable-hacker-mode.
50185         (netbsd*): Remove case setting base_os.
50186         (386bsd*): Likewise.
50187         (freebsd*): Likewise.
50188         (bsdi*): Likewise.
50189         (osf*): Likewise.
50190         (sunos*): Likewise.
50191         (ultrix*): Likewise.
50192         (newsos*): Likewise.
50193         (dynix*): Likewise.
50194         (*bsd*): Likewise.
50195         (sysv*): Likewise.
50196         (isc*): Likewise.
50197         (esix*): Likewise.
50198         (sco*): Likewise.
50199         (minix*): Likewise.
50200         (irix4*): Likewise.
50201         (irix6*): Likewise.
50202         (solaris[2-9]*): Likewise.
50203         (none): Likewise.
50204         * configure: Regenerated.
50206 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50208         [BZ #11521]
50209         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50210         overflow or cancellation in calculating denominator.
50211         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50212         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50213         down expression to avoid unexpected rounding in newer GCCs.
50214         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50216 2012-04-26  David S. Miller  <davem@davemloft.net>
50218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50219         long-double compat symbols.
50220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50234 2012-04-25  David S. Miller  <davem@davemloft.net>
50236         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50237         HWCAP_* values only after the memory barriers have been defined.
50238         (atomic_full_barrier): Define.
50239         (atomic_read_barrier): Define.
50240         (atomic_write_barrier): Define.
50242 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50244         * shlib-versions: Add libgcc_s version information.
50245         * sysdeps/generic/libgcc_s.h: Remove.
50246         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50247         libgcc_s.h.
50248         * sysdeps/gnu/unwind-resume.c: Likewise.
50249         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50251 2012-04-25  David S. Miller  <davem@davemloft.net>
50253         * sysdeps/unix/sparc/brk.S: Delete.
50254         * sysdeps/unix/sparc/dl-brk.S: Delete.
50255         * sysdeps/unix/sparc/pipe.S: Delete.
50256         * sysdeps/unix/sparc/sysdep.S: Delete.
50257         * sysdeps/unix/sparc/sysdep.h: Delete.
50258         * sysdeps/unix/sparc/vfork.S: Delete.
50259         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50260         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50262         (ret_ERRVAL, r0, r1, MOVE): Define.
50263         (JUMPTARGET): Remove.
50264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50265         sysdeps/unix/sparc/sysdep.h
50266         (ENTRY, END): Remove.
50267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50269 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50271         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50272         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50273         -DIS_IN_build.
50275         * timezone/README: Update upstream location and email address for
50276         tzcode and tzdata.
50277         * timezone/zdump.c: Update from tzcode 2012b.
50278         * timezone/zic.c: Likewise.
50280         * configure.in (libc_cv_as_needed): Remove test.
50281         * configure: Regenerated.
50282         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50283         conditional definition.
50284         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50285         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50286         * config.make.in (have-as-needed): Remove variable.
50288 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50289             Paul Pluzhnikov  <ppluzhnikov@google.com>
50291         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50292         strings correctly.
50294 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50296         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50297         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50298         * sysdeps/sh/strlen.S: Likewise.
50300 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50302         * sysdeps/unix/fork.S: Remove file.
50303         * sysdeps/unix/i386/fork.S: Likewise.
50304         * sysdeps/unix/sparc/fork.S: Likewise.
50306         * sysdeps/unix/system.c: Remove file.
50307         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50309         * sysdeps/unix/getegid.S: Remove file.
50310         * sysdeps/unix/geteuid.S: Likewise.
50312 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50314         * scripts/check-localplt.awk: New file.
50315         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50316         of diff.
50317         * scripts/data/localplt-generic.data: Add a comment.
50319         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50320         NODE when __dir_mkfile failed.
50321         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50322         Reported by Ludovic Courtès <ludo@gnu.org>.
50324 2012-04-24  Andreas Jaeger  <aj@suse.de>
50326         * Makerules (common-clean): Also remove gen-as-const-headers
50327         files.
50329 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50331         * Makerules (native-compile): Do not change working directory for
50332         build.  Use $(OUTPUT_OPTION) in command.
50333         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50335 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50337         [BZ #13886]
50338         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50339         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50340         * math/libm-test.inc (floor_test): Add more tests.
50341         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50343 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50345         * sysdeps/unix/getdents.c: Remove file.
50346         * sysdeps/unix/sysv/getdents.c: Likewise.
50347         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50349         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50350         sysdeps/unix/mman/syscalls.list.
50351         (mmap): Likewise.
50352         (mprotect): Likewise.
50353         (msync): Likewise.
50354         (munmap): Likewise.
50355         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50356         * sysdeps/unix/mman/syscalls.list: Remove.
50357         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50359         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50360         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50361         * configure: Regenerated.
50362         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50363         $(libgcc_s_suffix).
50364         * config.make.in (libgcc_s_suffix): Remove variable.
50366 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50368         * sysdeps/unix/sysv/gethostname.c: Move to ...
50369         * sysdeps/posix/gethostname.c: ... here.
50371         * sysdeps/unix/execve.S: Remove file.
50373         * sysdeps/unix/_exit.S: Remove file.
50375 2012-04-23  Andreas Jaeger  <aj@suse.de>
50377         [BZ #13739]
50378         * manual/Makefile: Remove make dist support, there's no
50379         need for a stand-alone documentation tar ball.
50380         (TEXI2DVI): Define always, it's not in Makeconfig.
50381         (dist): Removed.
50382         (tar-it): Removed.
50383         (edition): Removed.
50384         (glibc-doc-$(edition).tar): Removed
50385         (%.Z): Removed.
50386         (%.gz): Removed.
50387         (%.uu): Removed.
50388         (ETAGS): Remove, it's in Makeconfig.
50389         (move-if-change): Remove, it's in Makeconfig.
50391 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50393         [BZ #13970]
50394         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50395         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50396         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50397         (strtod_l, strtof_l, strtold_l): Remove __wur.
50398         It is not necessarily an error to ignore strtol's return value.
50399         One can reliably look at the stored endptr to decide whether
50400         the number had valid syntax.
50402 2012-04-21  Andreas Jaeger  <aj@suse.de>
50404         [BZ #13739]
50405         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50407 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50409         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50410         * sysdeps/unix/sysv/Versions: Remove file.
50412 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50414         [BZ #13927]
50415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50417 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50419         [BZ #7064]
50420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50421         version from __vm86.
50423 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50425         * sysdeps/unix/common/lxstat.c: Remove file.
50426         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50428         * sysdeps/unix/sysv/Makefile: Remove file.
50430         * sysdeps/unix/sysv/direct.h: Remove file.
50432         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50433         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50434         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50435         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50436         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50437         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50438         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50440         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50442         * sysdeps/unix/xmknod.c: Remove file.
50443         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50445         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50447         * sysdeps/unix/sysv/i386/time.S: Remove file.
50449         * sysdeps/unix/fxstat.c: Remove file.
50450         * sysdeps/unix/xstat.c: Likewise.
50451         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50453         * sysdeps/unix/sysv/sigaction.c: Remove file.
50455         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50456         (sysdep_headers): Remove variable.
50457         [termio.h not in sysdep_headers] (generated): Likewise.
50458         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50459         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50460         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50461         * sysdeps/unix/sysv/tcflow.c: Likewise.
50462         * sysdeps/unix/sysv/tcflush.c: Likewise.
50463         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50464         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50465         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50466         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50467         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50469         * sysdeps/unix/siglist.c: Remove file.
50471         * sysdeps/unix/getppid.S: Remove file.
50473         * sysdeps/unix/mkdir.c: Remove file.
50474         * sysdeps/unix/rmdir.c: Likewise.
50476 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50478         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50479         ERR_MAX value.
50480         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50481         errlist-compat value.
50483 2012-04-18  David S. Miller  <davem@davemloft.net>
50485         * sysdeps/generic/memcopy.h (reg_char): Delete.
50486         * debug/strcat_chk.c: Use char, not reg_char.
50487         * debug/strcpy_chk.c: Likewise.
50488         * debug/strncat_chk.c: Likewise.
50489         * debug/strncpy_chk.c: Likewise.
50490         * string/memchr.c: Likewise.
50491         * string/memrchr.c: Likewise.
50492         * string/rawmemchr.c: Likewise.
50493         * string/strcat.c: Likewise.
50494         * string/strchr.c: Likewise.
50495         * string/strchrnul.c: Likewise.
50496         * string/strcmp.c: Likewise.
50497         * string/strcpy.c: Likewise.
50498         * string/strncat.c: Likewise.
50499         * string/strncmp.c: Likewise.
50500         * string/strncpy.c: Likewise.
50502 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50504         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50505         __builtin_memcopy is called when src and dest ranges are known to not
50506         overlap.
50508 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50511         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50512         fwd_align_merge macro call.
50513         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50514         bwd_align_merge macro call.
50515         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50517 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50519         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50520         bwd_align_merge macros.
50521         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50522         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50523         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50525 2012-04-18  David S. Miller  <davem@davemloft.net>
50527         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50529 2012-04-18  Andreas Jaeger  <aj@suse.de>
50531         [BZ# 6794]
50532         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50533         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50534         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50536         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50537         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50538         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50540         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50541         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50542         Adjust for changed ldbl-128 files.
50544         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50545         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50546         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50548 2012-04-17  David S. Miller  <davem@davemloft.net>
50550         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50552 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50554         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50555         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50556         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50557         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50558         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50559         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50561 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50563         [BZ #6794]
50564         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50565         * math/libm-test.inc: Add ilogb errno and exception tests.
50566         * math/w_ilogb.c: New file: ilogb wrapper.
50567         * math/w_ilogbf.c: New file: ilogbf wrapper.
50568         * math/w_ilogbl.c: New file: ilogbl wrapper.
50569         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50570         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50571         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50572         exception being thrown with 0.0 as argument.
50573         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50574         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50575         exception being thrown with 0.0 as argument.
50576         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50577         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50578         exception being thrown with 0.0 as argument.
50579         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50580         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50581         exception being thrown with 0.0 as argument.
50582         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50583         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50584         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50585         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50586         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50587         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50588         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50589         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50590         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50592 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50594         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50595         with altivec.
50597 2012-04-16  Marek Polacek  <polacek@redhat.com>
50599         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50601 2012-04-16  Marek Polacek  <polacek@redhat.com>
50603         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50604         operands of fdivp instruction.
50606 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50608         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50609         * elf/tst-auditmod3b.c: Likewise.
50610         * elf/tst-auditmod4b.c: Likewise.
50611         * elf/tst-auditmod5b.c: Likewise.
50612         * elf/tst-auditmod6b.c: Likewise.
50613         * elf/tst-auditmod6c.c: Likewise.
50614         * elf/tst-auditmod7b.c: Likewise.
50615         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50616         * sysdeps/x86_64/preconfigure.in: Likewise.
50617         * sysdeps/x86_64/preconfigure: Regenerated.
50619 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50621         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50622         __ILP32__.
50624 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50626         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50627         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50629 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50631         [BZ #13973]
50632         * locale/iso-639.def: Fix gl language name. Spotted by
50633         Yaron Shahrabani.
50635 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50637         [BZ #2074]
50638         * libio/libio.h (__io_write_fn): Update comment.
50640 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50642         [BZ #2074]
50643         * stdio.texi (Hook Functions): The user provided writer function
50644         is not allowed to return -1.
50646 2012-04-11  David S. Miller  <davem@davemloft.net>
50648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50650 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50652         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50653         Add a leading slash to rtkaio.
50655 2012-04-11  Jim Meyering  <meyering@redhat.com>
50657         [BZ #11959]
50658         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50659         It is not necessarily an error to ignore fwrite's return
50660         value.  One can reliably use ferror to test for errors after
50661         the fact.
50663 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50665         * bits/types.h (__snseconds_t): New type.
50666         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50668         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50670         (__SNSECONDS_T_TYPE): Likewise.
50671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50672         (__SNSECONDS_T_TYPE): Likewise.
50673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50674         (__SNSECONDS_T_TYPE): Likewise.
50676 2012-04-10  Andreas Jaeger  <aj@suse.de>
50678         [BZ #2636]
50679         * manual/time.texi (Processor Time): Return type of times is
50680         elapsed real time since an arbitrary point in the past.
50681         (CPU Time): Move CLK_TCK from here...
50682         (Processor Time): ...to here.  Correct description.
50683         * manual/conf.texi (Constants for Sysconf): Correct description of
50684         _SC_CLK_TCK.
50686 2012-04-10  David S. Miller  <davem@davemloft.net>
50688         [BZ #13967]
50689         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50690         where the is a gap between DT_REL(A) and DT_JMPREL.
50692 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50694         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50695         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50696         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50698 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50700         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50701         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50702         (dl_main): Handle --inhibit-cache.
50703         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50704         _dl_inhibit_cache.
50705         * elf/dl-load.c (_dl_map_object): Use it.
50706         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50708 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50710         [BZ #13872]
50711         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50712         (__ieee754_powl): Saturate large exponents rather than testing for
50713         overflow of y*log2(x).
50714         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50715         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50716         exceptions.
50718         [BZ #11521]
50719         * math/s_ctan.c: Include <float.h>.
50720         (__ctan): Avoid internal overflow or cancellation in calculating
50721         denominator.
50722         * math/s_ctanf.c: Likewise.
50723         * math/s_ctanl.c: Likewise.
50724         * math/s_ctanh.c: Likewise.
50725         * math/s_ctanhf.c: Likewise.
50726         * math/s_ctanhl.c: Likewise.
50727         * math/libm-test.inc (ctan_test): Add more tests.
50728         (ctanh_test): Likewise.
50729         * sysdeps/i386/fpu/libm-test-ulps: Update.
50730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50732 2012-04-09  Andreas Jaeger  <aj@suse.de>
50734         [BZ #6894]
50735         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50736         is an optional BSD extension.
50738         [BZ #10254]
50739         * manual/stdio.texi (Opening Streams): Document additional fopen
50740         parameters.
50742 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50744         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50745         %eax without telling the compiler.
50747 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50749         [BZ # 13963]
50750         * manual/install.texi: Use sourceware.org.
50752 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50754         [BZ #13873]
50755         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50756         (__ieee754_pow): Generate overflow and underflow using huge*huge
50757         and tiny*tiny rather than just returning constant infinity or zero
50758         for large exponents.
50759         * math/libm-test.inc (pow_test): Require overflow exceptions for
50760         applicable cases of large exponents.
50762         [BZ #706]
50763         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50764         (__ieee754_pow): Use iterative multiplication algorithm only for
50765         integer exponents with absolute value below 1024.  Check for odd
50766         integer exponents when using algorithm for real exponents.
50767         * math/libm-test.inc (pow_test): Add more tests.
50768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50770 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50772         [BZ #13705]
50773         * math/libm-test.inc (exp_test): Do not allow overflow exception
50774         on underflow test.
50776 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50778         [BZ #13705]
50779         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50780         instead of __kernel_standard_f.
50782 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50784         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50785         * sysdeps/x86_64/memset_chk.S: Likewise.
50787 2012-04-08  Andreas Jaeger  <aj@suse.de>
50789         [BZ #10153]
50790         * manual/startup.texi (Environment Access): Describe return value
50791         for putenv and setenv.
50793         [BZ #6895]
50794         * manual/filesys.texi (Directory Entries): Add description for
50795         DT_LNK.
50797         [BZ #6890]
50798         * manual/filesys.texi (Directory Entries): Clarify that it's file
50799         system not operating system in the description of DT_UNKNOWN.
50801         [BZ #6578]
50802         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50804 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50806         [BZ #6649]
50807         * manual/llio.texi (Opening and Closing Files): Add cross
50808         reference to explain mode argument.
50810 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50812         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50813         * sysdeps/x86_64/memset_chk.S: Likewise.
50815 2012-04-07  David S. Miller  <davem@davemloft.net>
50817         * elf/elf.h (R_SPARC_WDISP10): Define.
50818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50819         R_SPARC_SIZE32.
50820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50821         R_SPARC_SIZE64 and R_SPARC_H34.
50823 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50825         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50826         conditions and remove no longer applicable assertion.
50828 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50830         * bits/byteswap.h: Include <features.h>.
50831         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50832         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50834 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50836         * bits/byteswap.h (__bswap_16): Removed.
50837         Include <bits/byteswap-16.h> to get __bswap_16.
50838         * sysdeps/i386/bits/byteswap.h: Likewise.
50839         * sysdeps/s390/bits/byteswap.h: Likewise.
50840         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50841         * bits/byteswap-16.h: New file.
50842         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50843         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50844         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50845         * string/Makefile (headers): Add bits/byteswap-16.h.
50847 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50849         [BZ #13895]
50850         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50851         extra indirection.
50852         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50853         * nss/tst-nss-static.c: New.
50855 2012-04-06  Robert Millan  <rmh@gnu.org>
50857         [BZ #6486]
50858         * manual/llio.texi (File Position Primitive): lseek
50859         refers to WHENCE when it really means OFFSET.
50861 2012-04-06  Andreas Jaeger  <aj@suse.de>
50863         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50864         strncmp declarations.
50866         * abilist/libc.abilist: Add __poll and __ppoll.
50868 2012-04-05  David S. Miller  <davem@davemloft.net>
50870         * scripts/check-local-headers.sh: Accept a host triplet in the
50871         path matched by the exclude regexp.
50873         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50874         definition.
50875         * sysdeps/powerpc/powerpc32/dl-machine.h
50876         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50877         * sysdeps/s390/s390-32/dl-machine.h
50878         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50879         * sysdeps/sparc/sparc32/dl-machine.h
50880         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50881         * sysdeps/sparc/sparc64/dl-machine.h
50882         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50884         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50885         lazy binding.
50886         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50887         undefined symbol errors.
50889         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50890         DT_NEEDED entries.
50892 2012-04-05  Michael Matz  <matz@suse.de>
50894         [BZ #13592]
50895         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50897 2012-04-05  Andreas Jaeger  <aj@suse.de>
50899         [BZ #13908]
50900         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50901         comment.
50903 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50905         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50906         which ROUND is no valid rounding mode.
50908 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50910         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50911         read again.
50912         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50914 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50916         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50917         an exception using FPU order intentionally.
50919 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50921         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50922         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50923         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50924         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50926 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50928         [BZ #12340]
50929         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50930         EINVAL when BUFLEN is too smal.
50932 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50934         [BZ #13553]
50935         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50936         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50938 2012-04-03  Andreas Jaeger  <aj@suse.de>
50940         [BZ #13938]
50941         * manual/setjmp.texi (System V contexts): Fix sentence.
50943         [BZ #13926]
50944         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50945         New macro for this case.
50946         [!__GNUC__] (__bswap_64): New inline function for this case.
50947         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50948         * bits/byteswap.h: Likewise.
50949         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50950         ull, guard with __GLIBC_HAVE_LONG_LONG.
50952         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50953         __GLIBC_HAVE_LONG_LONG.
50955         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50956         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50958 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50960         [BZ #13691]
50961         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50962         inptr and inend, rather than using last_ch.
50964 2012-04-02  David S. Miller  <davem@davemloft.net>
50966         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50967         * stdio-common/printf-parse.h (read_int): Change return type to
50968         'int', return -1 on INT_MAX overflow.
50969         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50970         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50971         overflows INT_MAX.  Check for overflow of in-format-string precision
50972         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50973         SIZE_MAX not INT_MAX for integer overflow test.
50974         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50975         skip the construct in the format string but do not record anything.
50976         * stdio-common/bug22.c: Adjust to test both width/prevision
50977         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50978         explicitly for proper errno values.
50980 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50982         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50983         CHAR_MAX.
50984         * string/test-strcmp.c [! WIDE]: Likewise.
50985         * time/tst-mktime2.c: Likewise for INT_MAX.
50986         * string/test-string.h: #include <sys/param.h> for MIN.
50988         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50989         * sysdeps/i386/init-first.c (init): Likewise.
50990         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50991         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50992         * sysdeps/sh/init-first.c (init): Likewise.
50994 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50996         * po/ru.po: Update from translation team.
50997         * po/vi.po: Likewise.
50999 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51001         * resolv/nss_dns/dns-host.c: Merge copyright years.
51003 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51006         Optimize memcpy with prefetch if
51007         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51008         src, dst pointers have unequal 16 byte alignments.
51010 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51012         [BZ #13928]
51013         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51014         from a CNAME entry and return the minimum ttl for the query.
51015         (gaih_getanswer_slice): Likewise.
51017 2012-03-30  Jeff Law  <law@redhat.com>
51019         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51020         due to long keys.
51021         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51022         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51024         * resolv/nss_dns/dns-host.c: Update copyright year.
51026 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51028         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51029         requests to save a system call.  Fix check that all bytes are sent.
51031         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51032         comments for sendmmsg.
51034 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51036         [BZ #13691]
51037         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51038         with only 1 character between 0x0041 and 0x01b0.
51039         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51040         * wcsmbs/tst-mbsnrtowcs.c: New file.
51042 2012-03-29  David S. Miller  <davem@davemloft.net>
51044         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51045         small copies by hand.
51047 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51049         [BZ #13761]
51050         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51051         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51052         group memberships.
51054 2012-03-28  David S. Miller  <davem@davemloft.net>
51056         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51057         that branches into memcpy.
51058         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51059         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51060         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51061         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51062         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51063         bits.
51064         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51065         implementation too.
51066         * sysdeps/sparc/mempcpy.S: New file.
51068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51069         the IFUNC routine in the libc case.
51070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51072         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51073         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51074         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51075         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51076         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51077         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51078         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51079         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51081         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51082         loop to 256 bytes instead of 64 bytes and fix test signedness.
51084         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51085         * sysdeps/sparc/sparc32/Makefile: rather than here...
51086         * sysdeps/sparc/sparc64/Makefile: and here.
51088 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51090         * malloc/mallocbug.c: Avoid warnings about unused variables.
51092 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51094         [BZ #13760]
51095         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51096         in the right place. Discard and retry query if response is
51097         larger than input buffer size.
51099 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51101         [BZ #369]
51102         [BZ #2678]
51103         [BZ #3866]
51104         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51105         x for large integer exponent.
51106         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51107         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51108         sign of result as needed afterwards.
51109         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51110         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51111         result for underflowing pow the same as for overflow.
51112         (__kernel_standard_l): Handle powl overflow and underflow here
51113         rather than calling __kernel_standard.
51114         * math/libm-test.inc (pow_test): Add more tests.
51116         [BZ #3868]
51117         [BZ #13879]
51118         [BZ #13910]
51119         [BZ #13911]
51120         [BZ #13912]
51121         [BZ #13913]
51122         [BZ #13915]
51123         [BZ #13916]
51124         [BZ #13917]
51125         [BZ #13918]
51126         [BZ #13919]
51127         [BZ #13920]
51128         [BZ #13921]
51129         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51130         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51131         (__kernel_standard_l): New function.
51132         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51133         __kernel_standard.
51134         * math/w_acosl.c (__acosl): Likewise.
51135         * math/w_asinl.c (__asinl): Likewise.
51136         * math/w_atan2l.c (__atan2l): Likewise.
51137         * math/w_atanhl.c (__atanhl): Likewise.
51138         * math/w_coshl.c (__coshl): Likewise.
51139         * math/w_exp10l.c (__exp10l): Likewise.
51140         * math/w_exp2l.c (__exp2l): Likewise.
51141         * math/w_fmodl.c (__fmodl): Likewise.
51142         * math/w_hypotl.c (__hypotl): Likewise.
51143         * math/w_j0l.c (__j0l, __y0l): Likewise.
51144         * math/w_j1l.c (__j1l, __y1l): Likewise.
51145         * math/w_jnl.c (__jnl, __ynl): Likewise.
51146         * math/w_lgammal.c (__lgammal): Likewise.
51147         * math/w_log10l.c (__log10l): Likewise.
51148         * math/w_log2l.c (__log2l): Likewise.
51149         * math/w_logl.c (__logl): Likewise.
51150         * math/w_powl.c (__powl): Likewise.
51151         * math/w_remainderl.c (__remainderl): Likewise.
51152         * math/w_scalbl.c (sysv_scalbl): Likewise.
51153         * math/w_sinhl.c (__sinhl): Likewise.
51154         * math/w_sqrtl.c (__sqrtl): Likewise.
51155         * math/w_tgammal.c (__tgammal): Likewise.
51156         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51157         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51158         * math/libm-test.inc (acos_test): Add more tests.
51159         (acosh_test): Likewise.
51160         (asin_test): Likewise.
51161         (atanh_test): Likewise.
51162         (exp_test): Likewise.
51163         (exp10_test): Likewise.
51164         (exp2_test): Likewise.
51165         (expm1_test): Likewise.
51166         (lgamma_test): Likewise.
51167         (log_test): Likewise.
51168         (log10_test): Likewise.
51169         (log1p_test): Likewise.
51170         (log2_test): Likewise.
51171         (pow_test): Do not allow some spurious overflow exceptions.
51172         (sqrt_test): Add more tests.
51173         (tgamma_test): Likewise.
51174         (y0_test): Likewise.
51175         (y1_test): Likewise.
51176         (yn_test): Likewise.
51178 2012-03-27  Anton Blanchard  <anton@samba.org>
51180         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51181         MAP_HUGETLB.
51182         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51186 2012-03-27  David S. Miller  <davem@davemloft.net>
51188         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51190         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51191         have-as-vis3 check.
51193 2012-03-27  Andreas Jaeger  <aj@suse.de>
51195         * sysdeps/x86_64/elf/configure.in: Moved to ...
51196         * sysdeps/x86_64/configure.in: ... here.
51197         * sysdeps/x86_64/elf/start.S: Moved to ...
51198         * sysdeps/x86_64/start.S: ... here.
51199         * sysdeps/x86_64/elf/configure: Delete.
51201         * sysdeps/x86_64/configure.in: Merge contents from
51202         sysdeps/i386/configure.in (without i686 check).
51204         * sysdeps/i386/elf/Versions: Merge into ...
51205         * sysdeps/i386/Versions: ... this.
51206         * sysdeps/i386/elf/Versions: Delete file.
51207         * sysdeps/i386/elf/start.S: Moved to ...
51208         * sysdeps/i386/start.S: ...here.
51209         * sysdeps/i386/elf/configure.in: Merge into...
51210         * sysdeps/i386/configure.in: ...here.
51211         * sysdeps/i386/elf/configure.in: Delete file.
51212         * sysdeps/i386/elf/configure: Delete file.
51214         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51215         * debug/backtracesyms.c: ... here.
51216         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51217         * debug/backtracesymsfd.c: ... here.
51218         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51219         * sysdeps/generic/ifunc-sel.h: ... here.
51221         * sysdeps/unix/i386/start.c: Delete file.
51222         * sysdeps/unix/sparc/start.c: Delete file.
51223         * sysdeps/unix/start.c: Delete file.
51225         * sysdeps/sh/elf/configure.in: Moved to ...
51226         * sysdeps/sh/configure.in: ... here.
51227         * sysdeps/sh/elf/start.S: Moved to ...
51228         * sysdeps/sh/start.S: ... here.
51229         * sysdeps/sh/elf/configure: Delete file.
51231         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51232         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51233         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51234         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51235         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51236         * sysdeps/powerpc/powerpc64/start.S: here.
51237         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51238         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51239         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51240         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51241         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51243         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51244         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51245         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51246         * sysdeps/powerpc/powerpc32/start.S: ... here.
51247         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51248         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51249         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51251         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51252         * sysdeps/powerpc/ifunc-sel.h: ... here.
51253         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51254         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51256         * sysdeps/sparc/elf/configure.in: Moved to ...
51257         * sysdeps/sparc/configure.in: ... here.
51258         * sysdeps/sparc/elf/configure: Delete file.
51259         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51260         * sysdeps/sparc/sparc32/start.S: ... here.
51261         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51262         * sysdeps/sparc/sparc64/start.S: ... here.
51263         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51264         * sysdeps/sparc/sparc32/Makefile: ... this.
51265         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51266         * sysdeps/sparc/sparc64/Makefile: ... this.
51268         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51269         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51270         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51271         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51272         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51273         * sysdeps/s390/s390-32/setjmp.S: ... here.
51274         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51275         * sysdeps/s390/s390-32/configure.in: ... here.
51276         * sysdeps/s390/s390-32/elf/configure: Delete file.
51277         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51278         * sysdeps/s390/s390-32/start.S: ... here.
51280         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51281         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51282         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51283         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51284         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51285         * sysdeps/s390/s390-64/setjmp.S: ... here.
51286         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51287         * sysdeps/s390/s390-64/configure.in: ... here
51288         * sysdeps/s390/s390-64/elf/configure: Delete file.
51289         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51290         * sysdeps/s390/s390-64/start.S: ... here.
51291         * sysdeps/s390/s390-64/elf/configure: Delete.
51293         * configure.in: Remove support for elf directories in sysdeps.
51295         * configure: Regenerated.
51296         * sysdeps/i386/configure: Regenerated.
51297         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51298         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51299         * sysdeps/s390/s390-32/configure: Regenerated.
51300         * sysdeps/s390/s390-64/configure: Regenerated.
51301         * sysdeps/sh/configure: Regenerated.
51302         * sysdeps/sparc/configure: Regenerated.
51303         * sysdeps/x86_64/configure: Regenerated.
51305 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51309         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51310         denormal result into account.
51312 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51314         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51315         Reported by Allan McRae <allan@archlinux.org>.
51317 2012-03-23  Jeff Law  <law@redhat.com>
51319         * nss/getnssent.c (__nss_getent): Fix typo.
51321 2012-03-23  David S. Miller  <davem@davemloft.net>
51323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51325 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51327         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51328         to pad to uint64_t for each field.
51329         (dl_tls_index): Replace unsigned long with uint64_t.
51331 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51332         Paul Pluzhnikov  <ppluzhnikov@google.com>
51334         [BZ #6528]
51335         * grp/Makefile (otherlibs): Don't set it.
51336         * inet/Makefile (otherlibs): Likewise.
51337         * login/Makefile (otherlibs): Likewise.
51338         * nscd/Makefile (otherlibs): Likewise.
51339         * posix/Makefile (otherlibs): Likewise.
51340         * pwd/Makefile (otherlibs): Likewise.
51341         * rt/Makefile (otherlibs): Likewise.
51342         * sunrpc/Makefile (otherlibs): Likewise.
51343         * nss/Makefile (otherlibs): Likewise.
51344         Add libnss_files to routines and static-only-routines.
51345         ($(objpfx)getent): Remove rule.
51346         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51347         static-only-routines.
51349 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51351         [BZ #13892]
51352         * math/s_cexp.c: Include <float.h>.
51353         (__cexp): Handle exp result overflowing not necessarily
51354         overflowing both real and imaginary parts of result.
51355         * math/s_cexpf.c: Likewise.
51356         * math/s_cexpl.c: Likewise.
51357         * math/libm-test.inc (cexp_test): Add more tests.
51358         * sysdeps/i386/fpu/libm-test-ulps: Update.
51359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51361 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51363         * include/link.h (ELFW): New macro.
51364         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51365         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51367 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51369         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51370         with uint64_t.
51372 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51374         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51375         declaration.
51376         (struct La_x32_retval): Likewise.
51378 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51380         * sysdeps/x86_64/preconfigure.in: New file.
51381         * sysdeps/x86_64/preconfigure: New generated file.
51383 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51385         [BZ #13824]
51386         * math/e_exp2l.c: Include <float.h>.
51387         (__ieee754_exp2l): Handle overflow and underflow cases
51388         separately.  Only pass fractional part of argument to
51389         __ieee754_expl.
51390         * math/libm-test.inc (exp2_test): Add more tests.
51392         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51393         negating x to take absolute value.
51394         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51395         Likewise.
51396         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51397         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51398         Likewise.
51399         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51400         computing low part if x was negated.
51401         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51403 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51405         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51406         la_x32_gnu_pltexit.
51407         (pltexit): Cast int_retval to ptrdiff_t.
51408         * elf/tst-auditmod3b.c: Likewise.
51409         * elf/tst-auditmod4b.c: Likewise.
51410         * elf/tst-auditmod5b.c: Likewise.
51411         * elf/tst-auditmod6b.c: Likewise.
51412         * elf/tst-auditmod6c.c: Likewise.
51413         * elf/tst-auditmod7b.c: Likewise.
51415         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51416         and x32_gnu_pltexit.
51418         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51419         __ELF_NATIVE_CLASS.
51420         (La_x32_regs): New macro.
51421         (La_x32_retval): Likewise.
51422         (la_x32_gnu_pltenter): New function prototype.
51423         (la_x32_gnu_pltexit): Likewise.
51425 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51427         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51428         exponent.
51430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51432         * configure.in (libc_cv_cc_nofma): Check for option to disable
51433         generation of FMA instructions.
51434         * configure: Regenerate.
51435         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51436         * sysdeps/ieee754/dbl-64/Makefile: New file.
51437         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51438         Remove brandred-fma4.
51439         (CFLAGS-brandred-fma4.c): Remove.
51440         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51441         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51442         define.
51443         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51444         define.
51446 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51448         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51449         LLONG_MAX != LONG_MAX.
51450         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51451         (_fitoa_word): Likewise.
51452         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51453         LLONG_MAX != LONG_MAX.
51454         * stdio-common/_itowa.h: Include <_itoa.h>.
51455         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51456         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51457         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51458         only if not defined.
51459         (_ITOA_WORD_TYPE): Likewise.
51460         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51461         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51463 2012-03-21  David S. Miller  <davem@davemloft.net>
51465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51467 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51469         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51470         of x86_64 when setting libc_cv_slibdir, libdir and
51471         libc_cv_localedir.
51472         * sysdeps/unix/sysv/linux/configure: Regenerated.
51474 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51476         * manual/lang.texi (Old Varargs): Remove section.
51477         (How Variadic): Update menu.
51478         (va_start): Do not mention varargs.h.
51480 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51481             Joseph Myers  <joseph@codesourcery.com>
51483         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51484         link test.
51485         * configure: Regenerated.
51487 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51489         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51490         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51491         conformtest.pl
51493 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51495         * NOTES: Remove.
51496         * Makefile (files-for-dist): Remove NOTES.
51497         (NOTES): Remove rule.
51498         * README: Don't refer to NOTES.
51499         * manual/creature.texi: Don't include macros.texi.
51500         * manual/intro.texi (creature.texi): Remove comment referring to
51501         NOTES.
51503         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51504         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51505         * configure: Regenerated.
51506         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51507         LIBC_TRY_CC_OPTION.
51508         (libc_cv_as_i686): Likewise.
51509         (libc_cv_cc_avx): Likewise.
51510         (libc_cv_cc_sse2avx): Likewise.
51511         (libc_cv_cc_fma4): Likewise.
51512         (libc_cv_cc_novzeroupper): Likewise.
51513         * sysdeps/i386/configure: Regenerated.
51515         [BZ #13883]
51516         * sysdeps/i386/fpu/s_cexp.S: Remove.
51517         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51518         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51519         * math/libm-test.inc (cexp_test): Add more tests.
51520         * sysdeps/i386/fpu/libm-test-ulps: Update.
51521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51523 2012-03-21  Allan McRae  <allan@archlinux.org>
51525         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51527 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51529         [BZ #13871]
51530         * math/w_exp2.c: Do not include <float.h>.
51531         (o_threshold, u_threshold): Remove.
51532         (__exp2): Calculate result before checking finiteness and calling
51533         __kernel_standard.
51534         * math/w_exp2f.c: Likewise.
51535         * math/w_exp2l.c: Likewise.
51536         * math/libm-test.inc (exp2_test): Require overflow exception for
51537         1e6 input.
51539         [BZ #3866]
51540         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51541         range of signed 64-bit integers before using fistpll.  Remove
51542         checks for whether integers fit in mantissa bits.
51543         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51544         the range of signed 32-bit integers before using fistpl.  Remove
51545         checks for whether integers fit in mantissa bits.
51546         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51547         (__ieee754_powl): Test for y outside the range of signed 64-bit
51548         integers before using fistpll.  Reduce 64-bit values to 63-bit
51549         ones as needed.
51550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51551         divide-by-zero is raised for zero to large negative powers.
51552         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51553         (__ieee754_powl): Test for y outside the range of signed 64-bit
51554         integers before using fistpll.  Reduce 64-bit values to 63-bit
51555         ones as needed.
51556         * math/libm-test.inc (pow_test): Add more tests.
51558 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51560         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51561         <stdio-common/_itoa.h>.
51562         * debug/segfault.c: Likewise.
51563         * elf/dl-cache.c: Likewise.
51564         * elf/dl-minimal.c: Likewise.
51565         * elf/dl-misc.c: Likewise.
51566         * elf/dl-sysdep.c: Likewise.
51567         * elf/dl-version.c: Likewise.
51568         * elf/rtld.c: Likewise.
51569         * hurd/hurdsock.c: Likewise.
51570         * hurd/lookup-retry.c: Likewise.
51571         * malloc/malloc.c: Likewise.
51572         * malloc/mtrace.c: Likewise.
51573         * nscd/nscd_getgr_r.c: Likewise.
51574         * nscd/nscd_getpw_r.c: Likewise.
51575         * nscd/nscd_getserv_r.c: Likewise.
51576         * posix/getopt_init.c: Likewise.
51577         * posix/wordexp.c: Likewise.
51578         * stdio-common/_itoa.c: Likewise.
51579         * stdio-common/printf_fphex.c: Likewise.
51580         * stdio-common/vfprintf.c: Likewise.
51581         * string/_strerror.c: Likewise.
51582         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51583         * sysdeps/i386/i686/hp-timing.h: Likewise.
51584         * sysdeps/mach/_strerror.c: Likewise.
51585         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51586         * sysdeps/mach/hurd/sethostid.c: Likewise.
51587         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51588         * sysdeps/mach/xpg-strerror.c: Likewise.
51589         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51590         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51591         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51592         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51593         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51594         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51596         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51597         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51598         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51599         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51600         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51601         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51602         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51603         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51604         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51605         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51606         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51607         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51608         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51609         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51611         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51613         * stdio-common/_itoa.h: Moved to ...
51614         * sysdeps/generic/_itoa.h: Here.
51616         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51618         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51619         instead of "_itoa.h" and "_itowa.h".
51620         * stdio-common/vfprintf.: Likewise.
51622 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51624         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51625         <bits/wordsize.h>.
51626         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51627         (__signbit): Likwise.
51628         (llrintf): Likwise.
51629         (llrint): Likwise.
51631 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51633         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51634         __WORDSIZE != 64.
51636 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51638         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51639         OVERFLOW_EXCEPTION_OK.
51640         * math/libm-test.inc ("Philosophy"): Update comment about
51641         exception testing.
51642         (OVERFLOW_EXCEPTION): Define.
51643         (OVERFLOW_EXCEPTION_OK): Likewise.
51644         (INVALID_EXCEPTION_OK): Renumber.
51645         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51646         (IGNORE_ZERO_INF_SIGN): Likewise.
51647         (test_exceptions): Handle FE_OVERFLOW.
51648         (exp10_test): Expect overflow exceptions.
51649         (exp2_test): Likewise.
51650         (expm1_test): Likewise.
51651         (nextafter_test): Likewise.
51652         (pow_test): Likewise.
51653         (scalbn_test): Likewise.
51654         (scalbln_test): Likewise.
51656 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51658         * sysdeps/x86_64/bits/atomic.h
51659         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51660         64bit integer.
51661         (atomic_exchange_acq): Likewise.
51662         (__arch_exchange_and_add_body): Likewise.
51663         (__arch_add_body): Likewise.
51664         (atomic_add_negative): Likewise.
51665         (atomic_add_zero): Likewise.
51667 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51669         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51670         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51672 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51674         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51675         Check __x86_64__ instead of __WORDSIZE.
51677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51679         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51681 2012-03-19  David S. Miller  <davem@davemloft.net>
51683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51685         * sysdeps/sparc/fpu/fenv_private.h: New file.
51686         * sysdeps/sparc/fpu/math_private.h: Use it.
51687         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51688         Remove.
51689         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51690         (libc_feholdexcept_setroundl): Remove.
51691         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51692         Remove.
51693         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51694         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51696 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51698         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51699         int64_t instead of long int.
51700         (INSERT_WORDS64): Likwise.
51702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51704         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51705         _Unwind_GetCFA return to _Unwind_Ptr first.
51707 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51709         [BZ #13629]
51710         * math/s_clog.c: Include <float.h>.
51711         (__clog): Scale large or subnormal inputs.
51712         * math/s_clogf.c: Likewise.
51713         * math/s_clogl.c: Likewise.
51714         * math/s_clog10.c: Include <float.h>.
51715         (M_LOG10_2): Define.
51716         (__clog10): Scale large or subnormal inputs.
51717         * math/s_clog10f.c: Likewise.
51718         * math/s_clog10l.c: Likewise.
51719         * math/libm-test.inc (clog_test): Add more tests.
51720         (clog10_test): Likewise.
51721         * sysdeps/i386/fpu/libm-test-ulps: Update.
51722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51724         [BZ #11451]
51725         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51726         x and y.
51727         * math/libm-test.inc (atan2_test): Add another test.
51729         * Makerules (common-objdir-compile): Remove.
51730         * sysdeps/unix/Makefile (config-generated): Do not add
51731         $(unix-generated) to variable.
51732         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51733         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51734         Remove rule.
51735         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51736         Likewise.
51737         [generic bits/local_lim.h] (before-compile): Do not append to
51738         variable.
51739         [generic bits/local_lim.h] (common-generated): Likewise.
51740         [generic sys/param.h] (before-compile): Do not append to variable.
51741         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51742         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51743         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51744         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51745         include.
51746         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51747         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51748         [generic sys/param.h] ($(addprefix
51749         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51750         [generic sys/param.h] (common-generated): Do not append to
51751         variable.
51752         [generic sys/param.h] (sysdep_headers): Likewise.
51753         [generic bits/errno.h] (before-compile): Do not append to
51754         variable.
51755         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51756         rule.
51757         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51758         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51759         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51760         [generic bits/errno.h] (common-generated): Do not append to
51761         variable.
51762         [generic bits/ioctls.h] (before-compile): Do not append to
51763         variable.
51764         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51765         rule.
51766         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51767         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51768         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51769         rule.
51770         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51771         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51772         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51773         [generic bits/ioctls.h] (common-generated): Do not append to
51774         variable.
51775         [generic sys/syscall.h] (syscall.h): Remove variable.
51776         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51777         rule.
51778         [generic sys/syscall.h] (before-compile): Do not append to
51779         variable.
51780         [generic sys/syscall.h] (common-generated): Likewise.
51781         * sysdeps/unix/errnos-tmpl.c: Remove file.
51782         * sysdeps/unix/errnos.awk: Likewise.
51783         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51784         * sysdeps/unix/ioctls.awk: Likewise.
51785         * sysdeps/unix/mk-local_lim.c: Likewise.
51786         * sysdeps/unix/snarf-ioctls: Likewise.
51788 2012-03-19  Richard Henderson  <rth@twiddle.net>
51790         * sysdeps/i386/fpu/fenv_private.h: New file.
51791         * sysdeps/i386/fpu/math_private.h: Use it.
51792         (math_opt_barrier, math_force_eval): Remove.
51793         (libc_feholdexcept_setround_53bit): Remove.
51794         (libc_feupdateenv_53bit): Remove.
51795         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51796         (math_opt_barrier, math_force_eval): Remove.
51797         (libc_feholdexcept): Remove.
51798         (libc_feholdexcept_setround): Remove.
51799         (libc_fetestexcept, libc_fesetenv): Remove.
51800         (libc_feupdateenv_test): Remove.
51801         (libc_feupdateenv, libc_feholdsetround): Remove.
51802         (libc_feresetround): Remove.
51804         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51805         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51807         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51808         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51809         (libc_feupdateenv_testl): New.
51810         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51811         (libc_feupdateenv_testf): New.
51812         (libc_feupdateenv): Use libc_feupdateenv_test.
51813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51814         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51816         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51817         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51818         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51819         (libc_feresetround_noex): New.
51820         (libc_feresetround_noexf): New.
51821         (libc_feresetround_noexl): New.
51822         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51823         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51824         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51825         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51826         SET_RESTORE_ROUND.
51827         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51829         (__cos): Likewise.
51830         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51831         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51832         SET_RESTORE_ROUND_NOEX.
51833         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51834         SET_RESTORE_ROUND_NOEXF.
51835         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51836         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51837         (libc_feholdsetroundf): New.
51838         (libc_feresetround, libc_feresetroundf): New.
51840         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51841         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51842         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51844         * sysdeps/generic/math_private.h: Include <fenv.h>.
51845         (default_libc_feholdexcept): New.
51846         (default_libc_feholdexcept_setround): New.
51847         (default_libc_fesetenv, default_libc_feupdateenv): New.
51848         (libc_feholdexcept): Only define if undefined.
51849         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51850         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51851         (libc_feholdexcept_setroundl): Likewise.
51852         (libc_feholdexcept_setround_53bit): Likewise.
51853         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51854         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51855         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51856         (libc_feupdateenv_53bit): Likewise.
51857         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51858         (libc_feholdexcept): Convert from macro to inline function.
51859         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51860         (libc_fesetenv, libc_feupdateenv): Likewise.
51862         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51863         not previously defined.
51864         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51865         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51866         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51867         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51868         * sysdeps/ieee754/flt-32/math_private.h: New file.
51869         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51870         math_private.h below SET_FLOAT_WORD.
51871         (__isnan, __isinf_ns, __finite): Remove.
51872         (__isnanf, __isinf_nsf, __finitef): Remove.
51874 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51878 2012-03-17  David S. Miller  <davem@davemloft.net>
51880         [BZ #6471]
51881         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51882         for 2.16.
51884 2012-03-16  David S. Miller  <davem@davemloft.net>
51886         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51887         warnings.
51889         [BZ #6471]
51890         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51891         properly.
51892         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51893         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51894         sysdep_routines when subdir is sysvipc.
51895         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51896         __getshmlba helper.
51898         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51900 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51902         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51903         [__LP64__].
51905 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51907         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51908         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51909         (__lround): Renamed to ...
51910         (__llround): This.  Replace long int with long long int.
51911         Define lround functions as aliases of llround functions.
51912         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51914 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51916         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51917         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51918         adresses to uintptr_t.  Replace "long int" and "unsigned long
51919         int" with "greg_t" on va_arg.
51921 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51923         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51924         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51926         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51927         Move e_machine check before EI_CLASS check.  Handle x32
51928         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51929         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51930         SKIP_EM_IA_64 and include
51931         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51933         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51934         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51935         (add_system_dir): New macro.
51937         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51938         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51940 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51942         [BZ #2551]
51943         [BZ #2552]
51944         [BZ #2553]
51945         [BZ #2554]
51946         [BZ #2562]
51947         [BZ #2563]
51948         [BZ #2565]
51949         [BZ #2566]
51950         [BZ #2576]
51951         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51952         (y0): Likewise.
51953         * math/w_j0f.c (j0f): Likewise.
51954         (y0f): Likewise.
51955         * math/w_j0l.c (__j0l): Likewise.
51956         (__y0l): Likewise.
51957         * math/w_j1.c (j1): Likewise.
51958         (y1): Likewise.
51959         * math/w_j1f.c (j1f): Likewise.
51960         (y1f): Likewise.
51961         * math/w_j1l.c (__j1l): Likewise.
51962         (__y1l): Likewise.
51963         * math/w_jn.c (jn): Likewise.
51964         (yn): Likewise.
51965         * math/w_jnf.c (jnf): Likewise.
51966         (ynf): Likewise.
51967         * math/w_jnl.c (__jnl): Likewise.
51968         (__ynl): Likewise.
51969         * math/libm-test.inc (j0_test): Add more tests.
51970         (j1_test): Likewise.
51971         (jn_test): Likewise.  Add trailing semicolon to existing test.
51972         (y0_test): Likewise.
51973         (y1_test): Likewise.
51974         * sysdeps/i386/fpu/libm-test-ulps: Update.
51975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51977         [BZ #13851]
51978         [BZ #13854]
51979         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51980         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51981         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51982         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51983         (__tanl): Set errno for infinite argument.
51984         * sysdeps/i386/fpu/mptan.c: Remove.
51985         * sysdeps/i386/fpu/s_tan.S: Likewise.
51986         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51987         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51988         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51989         * math/libm-test.inc (tan_test): Add more tests and enable more
51990         tests for double and long double.
51991         * sysdeps/i386/fpu/libm-test-ulps: Update.
51992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51994 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51996         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51997         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51999 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52001         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52002         * configure.in: Use it for both main tree and add-ons.
52003         * configure: Regenerated.
52005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52007         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52009 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52011         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52012         in comment.
52014         [BZ #13851]
52015         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52016         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52017         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52018         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52019         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52020         infinite argument.
52021         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52022         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52023         != 0 for prec == 2.
52024         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52025         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52026         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52027         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52028         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52029         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52030         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52031         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52032         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52033         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52034         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52035         * math/libm-test.inc (cos_test): Add more tests and enable more
52036         tests for long double.
52037         (sin_test): Likewise.
52038         (sincos_test): Likewise.
52039         * sysdeps/i386/fpu/libm-test-ulps: Update.
52040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52042 2012-03-16  David S. Miller  <davem@davemloft.net>
52044         * sysdeps/sparc/fpu/math_private.h: New file.
52046 2012-03-15  David S. Miller  <davem@davemloft.net>
52048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52049         file.
52050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52052         file.
52053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52059         sysdep routines.
52060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52062         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52063         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52065         * sysdeps/sparc/sparc-ifunc.h: New file.
52066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52067         sparc-ifunc.h
52068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52070         Likewise.
52071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52072         Likewise.
52073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52077         Likewise.
52078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52083         Likewise.
52084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52085         Likewise.
52086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52092         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52093         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52104         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52106         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52107         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52108         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52109         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52111 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52113         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52114         scaling.
52115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52117 2012-03-15  Andreas Jaeger  <aj@suse.de>
52119         [BZ #13852]
52120         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52121         ieee754/flt-32 implementation for sin, cos and sincos.
52122         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52123         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52124         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52125         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52126         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52127         ieee754/flt-32 implementation for tan.
52129         * math/libm-test.inc (cos_test): Enable some large input tests for
52130         float as well
52131         (sin_test): Likewise.
52132         (sincos_test): Likewise.
52133         (tan_test): Add tests for large input.
52135         * sysdeps/i386/fpu/libm-test-ulps: Update.
52137 2012-03-15  Andreas Jaeger  <aj@suse.de>
52139         [BZ #13658]
52140         * math/libm-test.inc (cos_test): Add more test cases.
52141         (sin_test): Likewise.
52142         (sincos_test): Likewise.
52144 2012-03-15  Andreas Jaeger  <aj@suse.de>
52146         [BZ #13837]
52147         * math/libm-test.inc (cos_test): Add a test case for large input
52148         value.
52149         (sin_test): Likewise.
52150         (sincos_test): Likewise.
52152 2012-03-15  Andreas Jaeger  <aj@suse.de>
52153             Joseph Myers  <joseph@codesourcery.com>
52155         [BZ #13658]
52156         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52157         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52158         * sysdeps/i386/fpu/branred.c: Likewise.
52159         * sysdeps/i386/fpu/dosincos.c: Likewise.
52160         * sysdeps/i386/fpu/mpa.c: Likewise.
52161         * sysdeps/i386/fpu/s_cos.S: Likewise.
52162         * sysdeps/i386/fpu/s_sin.S: Likewise.
52163         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52164         * sysdeps/i386/fpu/sincos32.c: Likewise.
52166         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52167         Define.
52168         (libc_feupdateenv_53bit): Define.
52169         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52170         Define.
52171         (libc_feupdateenv_53bit): Define.
52173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52174         53 bit (without extend i386 double precision).
52176         * math/libm-test.inc (sincos_test): Add tests for large input.
52177         (sin): Likewise.
52178         (cos): Likewise.
52180         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52182 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52186 2012-03-15  David S. Miller  <davem@davemloft.net>
52188         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52189         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52190         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52191         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52204         file.
52205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52207         file.
52208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52210         file.
52211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52213         file.
52214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52215         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52216         fmin/fmax sysdep routines.
52217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52219 2012-03-14  David S. Miller  <davem@davemloft.net>
52221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52225         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52226         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52227         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52234         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52241         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52242         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52243         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52244         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52245         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52246         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52247         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52248         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52250         routines.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52252         file.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52255         file.
52256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52258         file.
52259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52261         file.
52262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52264         file.
52265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52267         file.
52268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52269         file.
52270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52271         file.
52272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52273         file.
52274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52275         New file.
52276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52277         file.
52278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52279         file.
52280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52282         file.
52283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52285         file.
52286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52288         file.
52289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52291         VIS3 routines.
52293         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52294         New file.
52296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52298         * sysdeps/sparc/configure.in: New file.
52299         * sysdeps/sparc/configure: Generate.
52300         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52301         * configure: Regenerate.
52302         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52303         * config.make.in (have-as-vis3): New.
52304         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52305         available use -Av9d instead of -Av9a.
52306         * sysdeps/sparc/sparc64/Makefile: Likewise.
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52309         New file.
52310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52311         file.
52312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52313         New file.
52314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52315         file.
52316         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52317         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52318         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52319         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52320         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52322         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52323         fzeros/fnegs to load 0x80000000 into a float register instead of
52324         using the stack.
52325         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52327 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52330         bits/syscall.h.
52331         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52332         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52333         ($(inst_includedir)/bits/syscall.h): Remove rule.
52334         ($(objpfx)bits/syscall.d): Include instead of
52335         $(objpfx)syscall-list.d.
52336         (generated): Change syscall-list.h and syscall-list.d to
52337         bits/syscall.h and bits/syscall.d.
52339 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52341         [BZ #13846]
52342         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52344 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52346         [BZ #13841]
52347         * math/s_csqrt.c: Include <float.h>.
52348         (__csqrt): Scale large or subnormal inputs.
52349         * math/s_csqrtf.c: Likewise.
52350         * math/s_csqrtl.c: Likewise.
52351         * math/libm-test.inc (csqrt_test): Add more tests.
52352         * sysdeps/i386/fpu/libm-test-ulps: Update.
52353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52355         [BZ #13840]
52356         * math/libm-test.inc (hypot_test): Add more tests.
52358 2012-03-13  David S. Miller  <davem@davemloft.net>
52360         [BZ #13840]
52361         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52362         double-precision for the calculation instead of scaling.
52364 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52366         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52367         manipulate bits before adding and subtracting TWO52[sx].
52368         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52369         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52370         Likewise.
52371         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52373 2012-03-13  David S. Miller  <davem@davemloft.net>
52375         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52376         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52378         rtld-global-offsets.h
52379         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52381         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52382         large parameters.
52384         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52386         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52387         'err' in the ifdef scope in which it is actually used.
52389         * nss/nss_db/db-init.c: Include string.h
52391 2012-03-12  David S. Miller  <davem@davemloft.net>
52393         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52394         masking out of the most significant byte of random value used.
52395         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52396         Fix coding style in previous change.
52398         * sysdeps/unix/sysv/linux/kernel-features.h
52399         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52400         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52401         expression.
52402         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52403         later.
52405 2012-03-11  David S. Miller  <davem@davemloft.net>
52407         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52408         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52409         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52410         for 'resultvar' otherwise things get truncated on 64-bit.
52412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52413         Fix masking out of the most significant byte of random value used.
52415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52417 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52421 2012-03-09  David S. Miller  <davem@davemloft.net>
52423         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52424         variables with appropriate CPP guards.
52425         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52426         from the frame pointer, not the stack pointer.  Correct layout
52427         comments.  Fix test on resulting framesize and the management of
52428         the outregs buffer for pltexit.  Preserve floating point return
52429         values across _dl_call_pltexit call.
52430         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52431         framesize and the management of the outregs buffer for pltexit.
52432         Preserve floating point return values across _dl_call_pltexit
52433         call.
52434         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52435         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52436         (la_sparc64_gnu_pltexit): New functions.
52437         (print_exit): Fix format string for return register value.
52439 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52441         * sunrpc/Makefile (others): Add rpcgen.
52442         ($(objpfx)rpcgen): Remove special build rule and dependency on
52443         libc.
52444         * sunrpc/rpcgen.c: New file.
52446 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52448         [BZ #13673]
52449         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52450         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52451         * sysdeps/i386/crti.S: Likewise.
52452         * sysdeps/i386/crtn.S: Likewise.
52453         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52454         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52455         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52456         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52457         * sysdeps/sh/crti.S: Likewise.
52458         * sysdeps/sh/crtn.S: Likewise.
52459         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52461         [BZ #13673]
52462         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52463         with URL.
52464         * locale/programs/locfile-kw.gperf: Likewise.
52465         * locale/programs/charmap-kw.h: Regenerated.
52466         * locale/programs/locfile-kw.h: Likewise.
52468         [BZ #13673]
52469         * intl/plural.y: Replace FSF snail mail address with URL.
52470         * intl/plural.c: Regenerated.
52472 2012-03-09  Richard Henderson  <rth@twiddle.net>
52474         * include/math_private.h: Remove file.
52475         * math/math_private.h: Move file ...
52476         * sysdeps/generic/math_private.h: ... here.
52478         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52479         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52480         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52482         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52483         and <math_private.h>.
52484         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52485         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52486         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52487         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52488         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52489         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52490         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52492         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52493         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52495         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52496         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52497         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52498         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52499         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52500         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52501         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52502         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52503         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52505         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52506         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52508         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52509         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52510         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52511         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52512         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52513         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52514         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52515         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52516         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52517         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52518         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52519         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52520         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52521         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52522         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52523         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52524         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52525         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52526         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52527         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52528         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52529         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52530         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52531         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52533         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52534         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52535         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52536         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52537         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52538         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52539         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52540         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52541         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52542         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52543         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52545         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52546         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52547         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52548         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52549         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52550         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52551         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52552         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52553         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52554         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52555         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52557         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52558         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52559         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52562         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52563         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52564         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52565         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52566         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52567         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52568         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52570         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52571         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52572         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52573         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52574         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52575         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52576         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52577         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52578         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52579         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52580         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52581         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52582         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52583         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52584         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52585         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52586         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52587         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52588         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52589         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52590         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52591         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52592         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52593         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52594         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52595         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52596         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52597         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52598         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52599         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52600         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52601         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52602         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52603         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52604         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52605         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52606         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52607         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52608         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52609         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52610         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52611         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52612         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52613         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52614         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52615         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52616         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52617         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52618         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52619         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52620         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52621         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52622         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52623         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52624         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52625         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52626         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52627         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52628         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52629         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52630         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52631         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52632         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52633         * sysdeps/ieee754/k_standard.c: Likewise.
52634         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52635         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52636         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52637         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52638         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52639         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52640         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52641         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52642         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52643         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52644         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52646         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52647         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52648         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52649         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52650         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52651         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52652         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52653         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52654         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52655         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52656         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52657         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52658         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52659         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52660         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52661         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52662         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52664         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52665         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52666         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52667         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52668         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52669         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52670         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52671         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52672         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52673         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52674         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52675         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52676         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52677         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52678         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52679         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52680         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52681         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52682         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52683         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52684         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52685         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52686         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52687         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52688         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52689         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52690         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52691         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52692         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52693         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52694         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52695         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52696         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52697         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52699         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52706         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52707         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52710         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52711         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52712         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52713         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52714         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52715         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52716         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52717         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52718         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52719         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52720         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52721         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52722         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52723         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52724         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52725         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52726         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52727         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52728         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52729         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52730         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52731         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52732         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52733         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52737         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52738         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52739         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52740         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52741         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52742         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52743         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52744         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52745         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52746         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52747         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52748         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52749         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52750         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52751         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52752         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52753         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52754         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52755         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52756         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52757         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52758         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52759         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52760         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52761         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52762         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52763         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52764         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52765         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52766         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52767         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52768         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52769         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52770         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52771         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52772         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52773         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52774         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52775         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52776         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52777         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52778         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52779         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52780         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52781         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52782         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52783         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52784         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52785         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52786         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52787         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52788         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52789         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52790         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52791         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52792         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52793         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52794         * sysdeps/ieee754/s_lib_version.c: Likewise.
52795         * sysdeps/ieee754/s_matherr.c: Likewise.
52796         * sysdeps/ieee754/s_signgam.c: Likewise.
52797         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52798         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52799         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52800         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52801         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52802         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52803         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52804         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52805         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52806         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52807         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52808         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52809         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52810         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52811         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52812         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52813         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52814         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52815         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52816         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52819 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52821         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52822         * sunrpc/rpc_main.c: Likewise.
52823         * sunrpc/rpc_svcout.c: Likewise.
52825 2012-03-09  David S. Miller  <davem@davemloft.net>
52827         * include/math_private.h: New file.
52829 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52831         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52832         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52833         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52834         from <bits/socket_type.h>.
52835         (enum __socket_type): Don't define here.
52836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52838         bits/socket_type.h.
52840         [BZ #13566]
52841         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52842         checking __USE_GNU.
52844         * Makerules ($(inst_includedir)/%.h): New rule.
52845         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52846         (install-others): Remove variable setting.
52847         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52849 2012-03-08  Richard Henderson  <rth@twiddle.net>
52851         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52852         from macro to inline function; merge with the
52853         !__LIBC_INTERNAL_MATH_INLINES version.
52854         (__ieee754_sqrtf): Likewise.
52856         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52857         to inline function.
52858         (__rintf, __floor, __floorf): Likewise.
52860         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52861         macro to inline function.
52862         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52864         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52865         not <math/math_private.h>.
52867 2012-03-08  David S. Miller  <davem@davemloft.net>
52869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52870         copyright year.
52871         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52873 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52875         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52876         normalization.
52877         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52878         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52880 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52882         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52883         be defined individually, they must be defined as a block.  Define
52884         S for printing a string instead of hidint the different by using a
52885         macro for adding the 'l'.
52886         * stdio-common/tst-fphex-wide.c: Adjust.
52888 2012-03-07  Marek Polacek  <polacek@redhat.com>
52890         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52892 2012-03-08  Marek Polacek  <polacek@redhat.com>
52894         [BZ #13806]
52895         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52896         * stdio-common/tst-fphex.c: Define a few macros to make the
52897         test reusable.  Use them.
52898         * stdio-common/tst-fphex-wide.c: New file.
52900 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #6911]
52903         * manual/macros.texi (gnusystems): New macro.
52904         (nongnusystems): Likewise.
52905         (gnulinuxhurdsystems): Likewise.
52906         (gnuhurdsystems): Likewise..
52907         (gnulinuxsystems): Likewise.
52908         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52909         variants of the GNU system, not "GNU system".
52910         * manual/conf.texi: Likewise.
52911         * manual/errno.texi: Likewise.  Update example of errno macro
52912         expansion.
52913         * manual/filesys.texi: Likewise.
52914         (getumask): Document as specific to GNU/Hurd.
52915         * manual/install.texi: Likewise.  Reword some references to
52916         GNU/Linux.
52917         * manual/intro.texi: Likewise.
52918         * manual/io.texi: Likewise.
52919         (File Name Portability): Detail which constraints are inapplicable
52920         to all GNU systems and which are only inapplicable to GNU/Hurd.
52921         * manual/job.texi: Likewise.
52922         * manual/llio.texi: Likewise.
52923         (O_NOCTTY): Document as present on GNU/Linux.
52924         * manual/maint.texi: Likewise.
52925         * manual/memory.texi: Likewise.
52926         * manual/pattern.texi: Likewise.
52927         * manual/pipe.texi: Likewise.
52928         * manual/process.texi: Likewise.
52929         * manual/resource.texi: Likewise.
52930         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52931         child on GNU/Hurd.
52932         * manual/setjmp.texi: Likewise.
52933         * manual/signal.texi: Likewise.
52934         * manual/startup.texi: Likewise.
52935         * manual/stdio.texi: Likewise.
52936         * manual/terminal.texi: Likewise.
52937         (ONLCR): Document as POSIX.
52938         (OXTABS): Document availability on GNU/Linux as XTABS.
52939         (ONOEOT): Document availability separately from other bits.
52940         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52941         * manual/time.texi: Likewise.
52942         * manual/users.texi: Likewise.
52943         * INSTALL: Regenerated.
52944         * sysdeps/gnu/errlist.c: Regenerated.
52946         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52947         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52948         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52949         puts.
52950         * configure: Regenerated.
52952 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52954         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52955         default includes instead of AC_HEADER_CHECK.
52956         * sysdeps/i386/configure: Regenerated.
52958         [BZ #10716]
52959         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52960         * math/s_cacoshf.c (__cacoshf): Likewise.
52961         * math/s_cacoshl.c (__cacoshl): Likewise.
52962         * math/s_casinh.c (__casinh): Set signs of result from argument.
52963         * math/s_casinhf.c (__casinhf): Likewise.
52964         * math/s_casinhl.c (__casinhl): Likewise.
52965         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52966         (casinh_test): Add more tests.
52967         * sysdeps/i386/fpu/libm-test-ulps: Update.
52968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52970 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52972         * po/zh_TW.po: Update from translation team.
52974         * login/Makefile (distribute): Remove variable.
52975         * catgets/Makefile: Likewise.
52976         * mach/Makefile: Likewise.
52977         * malloc/Makefile: Likewise.
52978         * misc/Makefile: Likewise.
52979         * iconv/Makefile: Likewise.
52980         * nscd/Makefile: Likewise.
52981         * hurd/Makefile: Likewise.
52982         * manual/Makefile: Likewise.
52983         * locale/Makefile: Likewise.
52984         * intl/Makefile: Likewise.
52985         * conform/Makefile: Likewise.
52986         * nss/Makefile: Likewise.
52987         * time/Makefile: Likewise.
52988         * soft-fp/Makefile: Likewise.
52989         * dirent/Makefile: Likewise.
52990         * gmon/Makefile: Likewise.
52991         * po/Makefile: Likewise.
52992         * rt/Makefile: Likewise.
52993         * socket/Makefile: Likewise.
52994         * math/Makefile: Likewise.
52995         * signal/Makefile: Likewise.
52996         * debug/Makefile: Likewise.
52997         * elf/Makefile: Likewise.
52998         * timezone/Makefile: Likewise.
52999         * stdlib/Makefile: Likewise.
53000         * iconvdata/Makefile: Likewise.
53001         * sunrpc/Makefile: Likewise.
53002         * io/Makefile: Likewise.
53003         * argp/Makefile: Likewise.
53004         * inet/Makefile: Likewise.
53005         * hesiod/Makefile: Likewise.
53006         * grp/Makefile: Likewise.
53007         * csu/Makefile: Likewise.
53008         * wctype/Makefile: Likewise.
53009         * crypt/Makefile: Likewise.
53010         * libio/Makefile: Likewise.
53011         * string/Makefile: Likewise.
53012         * nis/Makefile: Likewise.
53013         * resolv/Makefile: Likewise.
53014         * stdio-common/Makefile: Likewise.
53015         * wcsmbs/Makefile: Likewise.
53016         * dlfcn/Makefile: Likewise.
53017         * posix/Makefile: Likewise.
53019         [BZ #6959]
53020         * timezone/Makefile: Don't install timezone files, just the programs
53021         and scripts.
53023 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53025         * nss/databases.def: Add missing gshadow entry.
53027         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53029 2012-03-06  Marek Polacek  <polacek@redhat.com>
53031         [BZ #13726]
53032         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53033         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53034         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53035         * stdio-common/tst-long-dbl-fphex.c: New file.
53037 2012-03-06  David S. Miller  <davem@davemloft.net>
53039         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53040         (set_obp_int): New function.
53041         (get_obp_int): New function.
53042         (__get_clockfreq_via_dev_openprom): Likewise.
53043         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53044         Avoid unused variable warnings on 'val' and use builtin_expect.
53045         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53046         __builtin_expect.
53047         (INLINE_CLONE_SYSCALL): Likewise.
53049 2012-03-05  David S. Miller  <davem@davemloft.net>
53051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53053 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53058         only for |x| >= 40.
53059         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53061 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53063         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53064         Replace gettimeofday with __vdso_gettimeofday.
53066         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53067         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53068         __vdso_clock_gettime and __vdso_getcpu.
53070         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53071         time with __vdso_time.
53073 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53075         * manual/lang.texi (size_t): Note types to which size_t may be
53076         equivalent with the GNU C Library, but do not describe when
53077         differences between them are significant.
53079 2012-03-05  Andreas Jaeger  <aj@suse.de>
53081         * sysdeps/i386/fpu/libm-test-ulps: Update.
53083 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53085         [BZ #3976]
53086         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53087         (__ieee754_pow): Save and restore rounding mode and use
53088         round-to-nearest for main computations.
53089         * math/libm-test.inc (pow_test_tonearest): New function.
53090         (pow_test_towardzero): Likewise.
53091         (pow_test_downward): Likewise.
53092         (pow_test_upward): Likewise.
53093         (main): Call the new functions.
53094         * sysdeps/i386/fpu/libm-test-ulps: Update.
53095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53097         [BZ #3976]
53098         * math/libm-test.inc (cosh_test_tonearest): New function.
53099         (cosh_test_towardzero): Likewise.
53100         (cosh_test_downward): Likewise.
53101         (cosh_test_upward): Likewise.
53102         (sinh_test_tonearest): Likewise.
53103         (sinh_test_towardzero): Likewise.
53104         (sinh_test_downward): Likewise.
53105         (sinh_test_upward): Likewise.
53106         (main): Call the new functions.
53107         * sysdeps/i386/fpu/libm-test-ulps: Update.
53108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53110 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53112         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53113         default stack guard is set in last bytes.
53114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53116 2012-03-05  Kees Cook  <keescook@chromium.org>
53118         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53120         [BZ #13656]
53121         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53122         possibly allocate from heap instead of stack.
53123         * stdio-common/bug-vfprintf-nargs.c: New file.
53124         * stdio-common/Makefile (tests): Add nargs overflow test.
53126 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53130 2012-03-03  Marek Polacek  <polacek@redhat.com>
53132         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53133         * math/math_private.h: Likewise.
53134         * stdlib/tst-strtod.c: Likewise.
53135         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53136         * sysdeps/x86_64/bits/atomic.h: Likewise.
53138 2012-03-02  David S. Miller  <davem@davemloft.net>
53140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53144         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53145         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53146         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53147         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53149 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53151         [BZ #13792]
53152         * manual/examples/README: New file, says the example source files
53153         can be used under GPL>=2.
53154         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53155         line containing just "*/".
53156         * manual/examples/add.c: Add copyright header (GPL>=2).
53157         * manual/examples/argp-ex1.c: Likewise.
53158         * manual/examples/argp-ex2.c: Likewise.
53159         * manual/examples/argp-ex3.c: Likewise.
53160         * manual/examples/argp-ex4.c: Likewise.
53161         * manual/examples/atexit.c: Likewise.
53162         * manual/examples/db.c: Likewise.
53163         * manual/examples/dir.c: Likewise.
53164         * manual/examples/dir2.c: Likewise.
53165         * manual/examples/execinfo.c: Likewise.
53166         * manual/examples/filecli.c: Likewise.
53167         * manual/examples/filesrv.c: Likewise.
53168         * manual/examples/fmtmsgexpl.c: Likewise.
53169         * manual/examples/genpass.c: Likewise.
53170         * manual/examples/inetcli.c: Likewise.
53171         * manual/examples/inetsrv.c: Likewise.
53172         * manual/examples/isockad.c: Likewise.
53173         * manual/examples/longopt.c: Likewise.
53174         * manual/examples/memopen.c: Likewise.
53175         * manual/examples/memstrm.c: Likewise.
53176         * manual/examples/mkfsock.c: Likewise.
53177         * manual/examples/mkisock.c: Likewise.
53178         * manual/examples/mygetpass.c: Likewise.
53179         * manual/examples/pipe.c: Likewise.
53180         * manual/examples/popen.c: Likewise.
53181         * manual/examples/rprintf.c: Likewise.
53182         * manual/examples/search.c: Likewise.
53183         * manual/examples/select.c: Likewise.
53184         * manual/examples/setjmp.c: Likewise.
53185         * manual/examples/sigh1.c: Likewise.
53186         * manual/examples/sigusr.c: Likewise.
53187         * manual/examples/stpcpy.c: Likewise.
53188         * manual/examples/strdupa.c: Likewise.
53189         * manual/examples/strftim.c: Likewise.
53190         * manual/examples/strncat.c: Likewise.
53191         * manual/examples/subopt.c: Likewise.
53192         * manual/examples/swapcontext.c: Likewise.
53193         * manual/examples/termios.c: Likewise.
53194         * manual/examples/testopt.c: Likewise.
53195         * manual/examples/testpass.c: Likewise.
53196         * manual/examples/timeval_subtract.c: Likewise.
53198         [BZ #13792]
53199         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53200         function to ...
53201         * manual/timeval_subtract.c.texi: ... here, new file.
53203 2012-03-02  David S. Miller  <davem@davemloft.net>
53205         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53207 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53209         [BZ #3976]
53210         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53211         (__sin): Save and restore rounding mode and use round-to-nearest
53212         for all computations.
53213         (__cos): Save and restore rounding mode and use round-to-nearest
53214         for all computations.
53215         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53216         <fenv.h>.
53217         (tan): Save and restore rounding mode and use round-to-nearest for
53218         all computations.
53219         * math/libm-test.inc (cos_test_tonearest): New function.
53220         (cos_test_towardzero): Likewise.
53221         (cos_test_downward): Likewise.
53222         (cos_test_upward): Likewise.
53223         (sin_test_tonearest): Likewise.
53224         (sin_test_towardzero): Likewise.
53225         (sin_test_downward): Likewise.
53226         (sin_test_upward): Likewise.
53227         (tan_test_tonearest): Likewise.
53228         (tan_test_towardzero): Likewise.
53229         (tan_test_downward): Likewise.
53230         (tan_test_upward): Likewise.
53231         (main): Call the new functions.
53232         * sysdeps/i386/fpu/libm-test-ulps: Update.
53233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53235         [BZ #10135]
53236         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53237         small n, then large n, before computing and testing k+n.
53238         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53240         Likewise.
53241         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53242         Likewise.
53243         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53244         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53245         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53247         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53248         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53249         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53250         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53251         * math/libm-test.inc (scalbn_test): Add more tests.
53252         (scalbln_test): Likewise.
53254         * manual/filesys.texi (mode_t): Describe constraints on size and
53255         signedness, not exact equivalence to a particular type.
53256         (ino_t): Likewise.
53257         (ino64_t): Likewise.
53258         (dev_t): Likewise.
53259         (nlink_t): Likewise.
53260         (blkcnt_t): Likewise.
53261         (blkcnt64_t): Likewise.
53262         * manual/llio.texi (off_t): Likewise.
53264         [BZ #3976]
53265         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53266         (__ieee754_exp): Save and restore rounding mode and use
53267         round-to-nearest for all computations.
53268         * math/libm-test.inc (exp_test_tonearest): New function.
53269         (exp_test_towardzero): Likewise.
53270         (exp_test_downward): Likewise.
53271         (exp_test_upward): Likewise.
53272         (main): Call the new functions.
53273         * sysdeps/i386/fpu/libm-test-ulps: Update.
53274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53276 2012-03-01  Chris Demetriou  <cgd@google.com>
53278         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53279         have predictable order.
53281 2012-03-01  David S. Miller  <davem@davemloft.net>
53283         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53285         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53286         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53287         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53288         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53290         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53291         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53292         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53294         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53295         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53296         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53297         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53298         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53302         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53303         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53304         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53306         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53307         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53308         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53309         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53310         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53311         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53312         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53313         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53314         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53315         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53316         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53317         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53318         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53319         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53320         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53322         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53323         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53324         * sysdeps/sparc/elf/configure: Regenerated.
53326 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53328         * configure.in (AS, LD): Require binutils 2.20 or later.
53329         * configure: Regenerated.
53330         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53331         as required minimum version.
53332         * INSTALL: Regenerated.
53334         [BZ #2541]
53335         [BZ #4108]
53336         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53337         before squaring exponent.
53338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53339         bottom long double and 27 bits of top long double before squaring
53340         exponent.
53341         * math/libm-test.inc (erfc_test): Add more tests.
53342         * sysdeps/i386/fpu/libm-test-ulps: Update.
53343         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53346 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53348         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53349         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53350         containing bit-fields.
53351         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53352         * soft-fp/single.h (_FP_UNION_S): Likewise.
53353         * soft-fp/double.h (_FP_UNION_D): Likewise.
53355 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53357         [BZ #13786]
53358         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53359         not include ../strcmp.S.
53360         [USE_AS_STRNCASECMP_L]: Likewise.
53361         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53362         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53363         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53364         (__strncasecmp_l_ia32): Define as alias to
53365         __strncasecmp_l_nonascii.
53367         [BZ #5794]
53368         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53369         * sysdeps/i386/fpu/libm-test-ulps: Update.
53370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53372         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53375 2012-02-29  Jeff Law  <law@redhat.com>
53377         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53378         out of bounds read.
53380 2012-02-29  Marek Polacek  <polacek@redhat.com>
53382         [BZ #13706]
53383         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53384         * elf/Makefile: Add rules to run tst-unused-dep.out.
53386 2012-02-28  David S. Miller  <davem@davemloft.net>
53388         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53389         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53390         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53391         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53392         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53393         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53395 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53397         * math/libm-test.inc (llround_test): Move one test from
53398         lround_test.  Use TEST_f_L in moved test.
53399         (lround_test): Move misplaced test to llround_test.  Add testcase
53400         from bug 2561.
53402 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53404         * sysdeps/x86_64/fpu/e_expf.S: New file.
53405         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53407 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53409         [BZ #13637]
53410         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53411         of remain_len that may cause incomplete multi-byte character and
53412         false match.
53413         * posix/bug-regex33.c: New file.
53414         * posix/Makefile (tests): Add bug-regex33.
53416 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53418         * manual/macros.texi: New file.
53419         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53420         * manual/libc.texinfo: Include macros.texi.
53421         * manual/creatute.texi: Likewise.
53422         * manual/install.texi: Likewise.
53423         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53424         @glibcadj{} in references to the GNU C Library.
53425         * manual/charset.texi: Likewise.
53426         * manual/conf.texi: Likewise.
53427         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53428         when not using those macros.
53429         * manual/creature.texi: Likewise.
53430         * manual/crypt.texi: Likewise.
53431         * manual/errno.texi: Likewise.
53432         * manual/filesys.texi: Likewise.
53433         * manual/header.texi: Likewise.
53434         * manual/install.texi: Likewise.
53435         * manual/intro.texi: Likewise.
53436         * manual/io.texi: Likewise.
53437         * manual/job.texi: Likewise.
53438         * manual/lang.texi: Likewise.
53439         * manual/libc.texiinfo: Likewise.
53440         * manual/llio.texi: Likewise.
53441         * manual/locale.texi: Likewise.
53442         * manual/maint.texi: Likewise.
53443         * manual/math.texi: Likewise.
53444         * manual/memory.texi: Likewise.
53445         * manual/message.texi: Likewise.
53446         * manual/nss.texi: Likewise.
53447         * manual/pattern.texi: Likewise.
53448         * manual/process.texi: Likewise.
53449         * manual/resource.texi: Likewise.
53450         * manual/search.texi: Likewise.
53451         * manual/setjmp.texi: Likewise.
53452         * manual/signal.texi: Likewise.
53453         * manual/socket.texi: Likewise.
53454         * manual/startup.texi: Likewise.
53455         * manual/stdio.texi: Likewise.
53456         * manual/string.texi: Likewise.
53457         * manual/sysinfo.texi: Likewise.
53458         * manual/syslog.texi: Likewise.
53459         * manual/terminal.texi: Likewise.
53460         * manual/time.texi: Likewise.
53461         * manual/users.texi: Likewise.
53462         * INSTALL: Regenerated.
53463         * NOTES: Regenerated.
53464         * sysdeps/gnu/errlist.c: Regenerated.
53466 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53468         * include/dirent.h: Include <dirstream.h> before
53469         <dirent/dirent.h>.
53471 2012-02-28  David S. Miller  <davem@davemloft.net>
53473         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53474         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53475         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53476         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53478 2012-02-27  David S. Miller  <davem@davemloft.net>
53480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53482         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53483         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53486         frame pointer instead of stack pointer relative arg slot.
53487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53488         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53489         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53491 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53493         [BZ #3992]
53494         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53496 2012-02-27  David S. Miller  <davem@davemloft.net>
53498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53502         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53503         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53504         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53505         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53507 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53509         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53510         later.  Allow versions 5-9.
53511         * configure: Regenerated.
53512         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53513         required minimum version and 4.6 as recommended version.  Do not
53514         mention bugs in GCC 2.7 and 2.8.
53515         * INSTALL: Regenerated.
53517 2012-02-27  David S. Miller  <davem@davemloft.net>
53519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53523         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53524         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53525         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53526         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53529         manipulate bits before adding and subtracting TWO112[sx].
53530         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53532 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53534         [BZ #13775]
53535         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53536         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53537         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53538         being in POSIX, because they are in 1003.1-2008.
53540         * rt/tst-aio.c: Include <fcntl.h>.
53541         * rt/tst-aio7.c: Likewise.
53542         * rt/tst-aio64.c: Likewise.
53544         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53546 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53548         * manual/install.texi (--with-headers): Describe headers as
53549         interface headers, not private headers.
53550         (Specific advice for GNU/Linux systems): Describe use of headers
53551         from "make headers_install", not private headers from older
53552         kernels.
53553         * INSTALL: Regenerated.
53554         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53555         Change to 2.6.19.
53556         * sysdeps/unix/sysv/linux/configure: Regenerated.
53558         * manual/llio.texi (fclean): Remove documentation.
53560         * manual/Makefile (libc-texi-generated): New variable.  Include
53561         version.texi.
53562         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53563         $(libc-texi-generated), not duplicated list of files.
53564         (version.texi, stamp-version): New rules.
53565         (realclean): Remove $(libc-texi-generated), not individual files
53566         from that list.  Do not remove dir-add.texinfo.
53567         * manual/libc.texinfo: Comment out uses of edition numbers and
53568         references to printed manual.  Remove last-updated dates.
53569         (EDITION): Comment out.
53570         (ISBN): Likewise.
53571         (VERSION, UPDATED): Remove.
53572         (version.texi): Include.
53574 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53576         * sysdeps/posix/spawni.c: Include <signal.h>.
53577         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53578         * sysdeps/pthread/aio_fsync.c: Likewise.
53580 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53582         * conform/Makefile (tests): Run only when not cross-compiling and
53583         when fast-check is not defined.
53585         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53586         * conform/data/limits.h-data: Fixes for POSIX2008.
53587         * conform/run-conformtest.sh: Run all tests.
53588         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53589         headers.
53590         * include/bits/dlfcn.h: Likewise.
53591         * include/langinfo.h: Likewise.
53592         * include/monetary.h: Likewise.
53593         * include/sys/poll.h: Likewise.
53595         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53596         for __USE_GNU.
53597         * posix/spawn.h: Define __need_sigset_t.
53598         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53599         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53600         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53601         to get sigevent_t only.
53602         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53603         only for __USE_GNU.
53604         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53605         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53606         process_vm_writev only for __USE_GNU.
53607         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53609         * conform/Makefile: For now ignore errors from run-conformtest.
53610         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53611         POSIX to avoid namespace pollution.  Don't prepend headers.
53612         * conform/data/aio.h-data: Fixes for POSIX testing.
53613         * conform/data/fcntl.h-data: Likewise.
53614         * conform/data/glob.h-data: Likewise.
53615         * conform/data/grp.h-data: Likewise.
53616         * conform/data/pthread.h-data: Likewise.
53617         * conform/data/pwd.h-data: Likewise.
53618         * conform/data/signal.h-data: Likewise.
53619         * conform/data/spawn.h-data: Likewise.
53620         * conform/data/stdio.h-data: Likewise.
53621         * conform/data/stdlib.h-data: Likewise.
53622         * conform/data/stropts.h-data: Likewise.
53623         * conform/data/sys/mman.h-data: Likewise.
53624         * conform/data/sys/stat.h-data: Likewise.
53625         * conform/data/sys/types.h-data: Likewise.
53626         * conform/data/sys/wait.h-data: Likewise.
53627         * conform/data/time.h-data: Likewise.
53628         * conform/data/unistd.h-data: Likewise.
53629         * conform/data/utime.h-data: Likewise.
53631         * io/sys/stat.h: fchmod was always in POSIX.
53632         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53633         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53634         * rt/aio.h: Define __need_timespec before including <time.h>.
53635         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53636         struct.  Add forward declaration of pthread_attr_t and use it in
53637         sigevent.
53638         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53639         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53640         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53641         always remove CLK_TCK definition.
53643 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53645         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53647 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53649         * conform/run-conformtest.sh: New file.
53650         * conform/Makefile: Run run-conformtest for tests.
53651         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53652         support.
53654         * conform/data/uchar.h-data: New file.
53655         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53656         * conform/data/arpa/inet.h-data: Likewise.
53657         * conform/data/assert.h-data: Likewise.
53658         * conform/data/complex.h-data: Likewise.
53659         * conform/data/cpio.h-data: Likewise.
53660         * conform/data/ctype.h-data: Likewise.
53661         * conform/data/dirent.h-data: Likewise.
53662         * conform/data/dlfcn.h-data: Likewise.
53663         * conform/data/errno.h-data: Likewise.
53664         * conform/data/fcntl.h-data: Likewise.
53665         * conform/data/float.h-data: Likewise.
53666         * conform/data/fmtmsg.h-data: Likewise.
53667         * conform/data/fnmatch.h-data: Likewise.
53668         * conform/data/ftw.h-data: Likewise.
53669         * conform/data/glob.h-data: Likewise.
53670         * conform/data/grp.h-data: Likewise.
53671         * conform/data/iconv.h-data: Likewise.
53672         * conform/data/inttypes.h-data: Likewise.
53673         * conform/data/langinfo.h-data: Likewise.
53674         * conform/data/libgen.h-data: Likewise.
53675         * conform/data/limits.h-data: Likewise.
53676         * conform/data/locale.h-data: Likewise.
53677         * conform/data/math.h-data: Likewise.
53678         * conform/data/monetary.h-data: Likewise.
53679         * conform/data/mqueue.h-data: Likewise.
53680         * conform/data/ndbm.h-data: Likewise.
53681         * conform/data/net/if.h-data: Likewise.
53682         * conform/data/netdb.h-data: Likewise.
53683         * conform/data/netinet/in.h-data: Likewise.
53684         * conform/data/nl_types.h-data: Likewise.
53685         * conform/data/poll.h-data: Likewise.
53686         * conform/data/pthread.h-data: Likewise.
53687         * conform/data/pwd.h-data: Likewise.
53688         * conform/data/regex.h-data: Likewise.
53689         * conform/data/sched.h-data: Likewise.
53690         * conform/data/search.h-data: Likewise.
53691         * conform/data/semaphore.h-data: Likewise.
53692         * conform/data/setjmp.h-data: Likewise.
53693         * conform/data/signal.h-data: Likewise.
53694         * conform/data/spawn.h-data: Likewise.
53695         * conform/data/stdarg.h-data: Likewise.
53696         * conform/data/stdio.h-data: Likewise.
53697         * conform/data/stdlib.h-data: Likewise.
53698         * conform/data/string.h-data: Likewise.
53699         * conform/data/strings.h-data: Likewise.
53700         * conform/data/stropts.h-data: Likewise.
53701         * conform/data/sys/ipc.h-data: Likewise.
53702         * conform/data/sys/mman.h-data: Likewise.
53703         * conform/data/sys/msg.h-data: Likewise.
53704         * conform/data/sys/resource.h-data: Likewise.
53705         * conform/data/sys/select.h-data: Likewise.
53706         * conform/data/sys/sem.h-data: Likewise.
53707         * conform/data/sys/shm.h-data: Likewise.
53708         * conform/data/sys/socket.h-data: Likewise.
53709         * conform/data/sys/stat.h-data: Likewise.
53710         * conform/data/sys/statvfs.h-data: Likewise.
53711         * conform/data/sys/time.h-data: Likewise.
53712         * conform/data/sys/timeb.h-data: Likewise.
53713         * conform/data/sys/times.h-data: Likewise.
53714         * conform/data/sys/types.h-data: Likewise.
53715         * conform/data/sys/uio.h-data: Likewise.
53716         * conform/data/sys/un.h-data: Likewise.
53717         * conform/data/sys/utsname.h-data: Likewise.
53718         * conform/data/sys/wait.h-data: Likewise.
53719         * conform/data/syslog.h-data: Likewise.
53720         * conform/data/tar.h-data: Likewise.
53721         * conform/data/termios.h-data: Likewise.
53722         * conform/data/utime.h-data: Likewise.
53723         * conform/data/utmpx.h-data: Likewise.
53724         * conform/data/varargs.h-data: Likewise.
53725         * conform/data/wchar.h-data: Likewise.
53726         * conform/data/wctype.h-data: Likewise.
53727         * conform/data/wordexp.h-data: Likewise.
53729         * include/stropts.h: New file.
53730         * include/uchar.h: New file.
53731         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53732         * include/assert.h: Likewise.
53733         * include/ctype.h: Likewise.
53734         * include/dirent.h: Likewise.
53735         * include/dlfcn.h: Likewise.
53736         * include/fcntl.h: Likewise.
53737         * include/fnmatch.h: Likewise.
53738         * include/glob.h: Likewise.
53739         * include/grp.h: Likewise.
53740         * include/libio.h: Likewise.
53741         * include/locale.h: Likewise.
53742         * include/math.h: Likewise.
53743         * include/net/if.h: Likewise.
53744         * include/netdb.h: Likewise.
53745         * include/netinet/in.h: Likewise.
53746         * include/pthread.h: Likewise.
53747         * include/pwd.h: Likewise.
53748         * include/regex.h: Likewise.
53749         * include/sched.h: Likewise.
53750         * include/search.h: Likewise.
53751         * include/setjmp.h: Likewise.
53752         * include/signal.h: Likewise.
53753         * include/stdio.h: Likewise.
53754         * include/stdlib.h: Likewise.
53755         * include/string.h: Likewise.
53756         * include/sys/cdefs.h: Likewise.
53757         * include/sys/mman.h: Likewise.
53758         * include/sys/msg.h: Likewise.
53759         * include/sys/resource.h: Likewise.
53760         * include/sys/select.h: Likewise.
53761         * include/sys/socket.h: Likewise.
53762         * include/sys/stat.h: Likewise.
53763         * include/sys/statvfs.h: Likewise.
53764         * include/sys/time.h: Likewise.
53765         * include/sys/times.h: Likewise.
53766         * include/sys/uio.h: Likewise.
53767         * include/sys/utsname.h: Likewise.
53768         * include/sys/wait.h: Likewise.
53769         * include/termios.h: Likewise.
53770         * include/time.h: Likewise.
53771         * include/ulimit.h: Likewise.
53772         * include/unistd.h: Likewise.
53773         * include/utime.h: Likewise.
53774         * include/wchar.h: Likewise.
53775         * include/wctype.h: Likewise.
53776         * include/wordexp.h: Likewise.
53778         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53780         * time/time.h: TIME_UTC must be a macro.
53781         Make timespec_get available for ISO C11 only as well.
53783 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53785         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53786         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53788 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53790         * configure.in: Use -o not -a in test for unsupported multi-arch.
53792 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53794         * manual/texinfo.tex: Update to version 2012-01-19.16.
53796 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53798         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53800 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53802         [BZ #13738]
53803         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53804         * manual/fdl-1.3.texi: New file.
53805         * manual/fdl-1.1.texi: File removed.
53807         [BZ #13738]
53808         * manual/libc.texinfo (FDL_VERSION): New @set.
53809         Use it for mention of FDL in cover text.
53810         (Documentation License): Use it in @include file name.
53812 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53813             Roland McGrath  <roland@hack.frob.com>
53815         [BZ #5461]
53816         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53817         (not LONG_LONG_MAX and LONG_LONG_MIN.
53818         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53819         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53820         name.
53821         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53823 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53825         [BZ #2547]
53826         [BZ #11365]
53827         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53828         manipulate bits before adding and subtracting TWO23[sx].
53829         * math/libm-test.inc (nearbyint_test): Add more tests.
53831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53833         [BZ #2548]
53834         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53835         bits before adding and subtracting TWO23[sx].
53836         * math/libm-test.inc (rint_test): Add more tests.
53837         (rint_test_tonearest): Likewise.
53838         (rint_test_towardzero): Likewise.
53839         (rint_test_downward): Likewise.
53840         (rint_test_upward: Likewise.
53842 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53844         [BZ #10110]
53845         * include/stdc-predef.h: New file.  Extracted from features.h.
53846         * include/features.h: Include stdc-predef.h.
53847         * Makefile (headers): Add stdc-predef.h.
53848         * CONFORMANCE (Compiler limitations): Update.
53850 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53852         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53854 2012-02-21  David S. Miller  <davem@davemloft.net>
53856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53857         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53859 2012-02-20  David S. Miller  <davem@davemloft.net>
53861         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53862         using a normal save/restore sequence, rather than allocating a
53863         dummy stack frame just to store a frame pointer and restore.
53864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53866 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53868         * manual/install.texi: Fix stray word in line-wrapped comment.
53870 2012-02-20  David S. Miller  <davem@davemloft.net>
53872         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53873         both binutils and gcc support GOTDATA.
53875         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53876         "rd %pc" in the PIC register setup sequences.
53878         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53879         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53880         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53881         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53882         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53884         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53885         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53887         (SYSCALL_ERROR_HANDLER): Likewise.
53888         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53889         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53891         (SYSCALL_ERROR_HANDLER): Likewise.
53893         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53894         (HAVE_GCC_GOTDATA): New.
53895         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53896         relocation support in both binutils and gcc.
53897         * sysdeps/sparc/elf/configure: Regenerate.
53899         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53900         * sysdeps/sparc/sparc32/elf/configure: Delete.
53901         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53902         * sysdeps/sparc/sparc64/elf/configure: Delete.
53903         * sysdeps/sparc/elf/configure.in: New file.
53904         * sysdeps/sparc/elf/configure: Generate.
53906         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53907         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53908         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53909         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53910         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53912 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53914         * manual/install.texi: Do not mention specific glibc version
53915         numbers.
53916         * manual/libc.texinfo (VERSION, UPDATED): Update.
53917         (@copying): Use @copyright{} and range of years.
53919 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53921         [BZ #13695]
53922         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53923         [crti.S not in sysdirs] (generated): Do not append.
53924         [crti.S not in sysdirs] (omit-deps): Likewise.
53925         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53926         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53927         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53928         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53929         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53930         Likewise.
53931         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53932         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53933         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53934         * csu/defs.awk: Remove file.
53935         * sysdeps/generic/initfini.c: Likewise.
53936         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53937         variable.
53938         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53939         Likewise.
53941 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53943         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53944         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53945         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53946         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53947         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53948         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53949         <bits/epoll.h>.
53950         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53951         (__EPOLL_PACKED): Define to empty if not defined by
53952         <bits/epoll.h>.
53953         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53955         bits/epoll.h.
53957 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53959         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53960         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53961         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53962         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53963         <bits/timerfd.h>.
53964         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53966         bits/timerfd.h.
53968 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53970         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53971         in C locale.
53972         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53973         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53974         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53977 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53979         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53980         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53982 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53984         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53985         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53986         defined.
53987         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53988         Likewise.
53989         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53990         entry for 2.16.
53992 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53994         * math/w_acos.c: Use non-signaling floating-point comparisons.
53995         * math/w_acosf.c: Likewise.
53996         * math/w_acosh.c: Likewise.
53997         * math/w_acoshf.c: Likewise.
53998         * math/w_acoshl.c: Likewise.
53999         * math/w_acosl.c: Likewise.
54000         * math/w_asin.c: Likewise.
54001         * math/w_asinf.c: Likewise.
54002         * math/w_asinl.c: Likewise.
54003         * math/w_atanh.c: Likewise.
54004         * math/w_atanhf.c: Likewise.
54005         * math/w_atanhl.c: Likewise.
54006         * math/w_exp2.c: Likewise.
54007         * math/w_exp2f.c: Likewise.
54008         * math/w_exp2l.c: Likewise.
54009         * math/w_j0.c: Likewise.
54010         * math/w_j0f.c: Likewise.
54011         * math/w_j0l.c: Likewise.
54012         * math/w_j1.c: Likewise.
54013         * math/w_j1f.c: Likewise.
54014         * math/w_j1l.c: Likewise.
54015         * math/w_jn.c: Likewise.
54016         * math/w_jnf.c: Likewise.
54017         * math/w_log.c: Likewise.
54018         * math/w_log10.c: Likewise.
54019         * math/w_log10f.c: Likewise.
54020         * math/w_log10l.c: Likewise.
54021         * math/w_log2.c: Likewise.
54022         * math/w_log2f.c: Likewise.
54023         * math/w_log2l.c: Likewise.
54024         * math/w_logf.c: Likewise.
54025         * math/w_logl.c: Likewise.
54026         * math/w_sqrt.c: Likewise.
54027         * math/w_sqrtf.c: Likewise.
54028         * math/w_sqrtl.c: Likewise.
54029         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54030         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54031         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54032         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54033         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54035 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54037         [BZ #9739]
54038         * manual/string.texi (strnlen): Use correct parameter name in
54039         equivalent expression.
54041 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54043         [BZ #11174]
54044         * manual/users.texi (seteuid): Consistently use neweuid for
54045         argument name.
54047 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54049         [BZ #13704]
54050         * manual/nss.texi (Services in the NSS configuration): Correct
54051         list of services in example configuration file.
54053 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54055         [BZ #11322]
54056         * manual/arith.texi: Remove statements about negative zero
54057         behaving identically to zero.
54059 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54061         [BZ #5993]
54062         * manual/install.texi: Do not document upgrading from libc5.
54064 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54066         [BZ #4596]
54067         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54069 2012-02-18  David S. Miller  <davem@davemloft.net>
54071         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54072         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54073         %o7 across the call.
54074         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54075         instead.
54076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54077         SETUP_PIC_REG_LEAF.
54078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54079         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54080         * sysdeps/sparc/crtn.S: Likewise.
54082 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54084         * aout/Makefile: Remove.
54086 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54088         [BZ #13058]
54089         * manual/examples/argp-ex1.c (main): Format definition in GNU
54090         style.
54091         * manual/examples/argp-ex2.c (main): Likewise.
54092         * manual/examples/argp-ex3.c (main): Likewise.
54093         * manual/examples/argp-ex4.c (main): Likewise.
54094         * manual/examples/longopt.c (main): Use new-style prototype
54095         definition.
54096         * manual/examples/strncat.c (main): Specify return type and use
54097         (void) for arguments.
54098         * manual/examples/subopt.c (main): Use char **argv argument.
54100 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54102         [BZ #5077]
54103         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54104         rounding modes.
54106 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54108         [BZ #6907]
54109         * manual/string.texi (strchr): Change when strchrnul is
54110         recommended.
54112 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54114         [BZ #174]
54115         * manual/locale.texi (setlocale): Document LOCPATH.
54117 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54119         [BZ #10210]
54120         * manual/process.texi (execle): Move @dots{} before last argument.
54122 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54124         [BZ #12047]
54125         * manual/charset.texi (Generic Charset Conversion): Fix typo
54126         (LC_TYPE -> LC_CTYPE).
54128 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54130         [BZ #5805]
54131         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54132         (scalbnf): Likewise.
54133         (scalbnl): Likewise.
54134         (scalbln): Likewise.
54135         (scalblnf): Likewise.
54136         (scalblnl): Likewise.
54137         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54138         (vwarnx): Likewise.
54139         (verr): Likewise.
54140         (verrx): Likewise.
54141         * manual/filesys.texi (telldir): Use braces around return type.
54142         * manual/llio.texi (mmap): Add space after comma.
54143         (mmap64): Likewise.
54144         * manual/math.texi (jn): Use @var{} on parameter names.
54145         (jnf): Likewise.
54146         (jnl): Likewise.
54147         (yn): Likewise.
54148         (ynf): Likewise.
54149         (ynl): Likewise.
54150         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54151         line.
54152         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54153         "...".
54154         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54155         (sched_get_priority_max): Likewise.
54156         * manual/signal.texi (sigvec): Add space after comma.
54157         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54158         names.
54159         (if_indextoname): Likewise.
54160         (if_freenameindex): Likewise.
54161         (sendto): Use ',' instead of '.' in prototype.
54162         * manual/startup.texi (syscall): Use @dots{} instead of literal
54163         "...".
54164         * manual/stdio.texi (__fpending): Separate initial words of
54165         paragraph from @deftypefun line.
54166         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54167         "...".
54168         (vsyslog): Use @var{} on parameter names.
54169         * manual/terminal.texi (stty): Use @var{} on parameter names.
54170         * manual/users.texi (getutmp): Use @var{} on parameter names.
54171         (getutmpx): Likewise.
54173 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54175         [BZ #6884]
54176         * manual/stdio.texi (fopen): Fix typos in description of
54177         ",ccs=STRING".
54179 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54181         [BZ #4026]
54182         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54183         get clock_id definition.
54185 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54187         [BZ #4822]
54188         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54189         (madvise): Cast every argument to void on its own.
54191 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54193         [BZ #9902]
54194         * manual/startup.texi (Exit Status): Fix typo.
54196 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54198         [BZ #10140]
54199         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54200         * manual/examples/argp-ex2.c: Likewise.
54201         * manual/examples/argp-ex3.c: Likewise.
54203 2012-02-16  Richard Henderson  <rth@redhat.com>
54205         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54206         * sysdeps/s390/s390-32/initfini.c: Remove.
54207         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54208         * sysdeps/s390/s390-64/initfini.c: Remove.
54210 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54212         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54213         compiler output for sysdeps/generic/initfini.c.
54214         * sysdeps/sh/elf/initfini.c: Remove file.
54216 2012-02-16  David S. Miller  <davem@davemloft.net>
54218         [BZ #11494]
54219         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54221         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54222         * sysdeps/sparc/crti.S: New file.
54223         * sysdeps/sparc/crtn.S: New file.
54224         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54225         * sysdeps/sparc/sparc64/Makefile: Likewise.
54227 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54229         [BZ #3335]
54230         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54232 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54234         [BZ #4822]
54235         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54237         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54238         (write, read, close): Likewise.
54239         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54241 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54243         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54244         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54245         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54246         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54247         <bits/signalfd.h>.
54248         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54250         bits/signalfd.h.
54252 2012-02-14  Marek Polacek  <polacek@redhat.com>
54254         * sysdeps/x86_64/crti.S: New file.
54255         * sysdeps/x86_64/crtn.S: New file.
54256         * sysdeps/x86_64/elf/initfini.c: Remove file.
54258 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54260         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54261         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54262         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54263         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54264         <bits/inotify.h>.
54265         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54267         bits/inotify.h.
54269 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54271         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54272         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54273         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54274         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54275         <bits/eventfd.h>.
54276         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54278         bits/eventfd.h.
54280 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54282         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54283         __feraiseexcept instead of feraiseexcept.
54285         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54286         nanosleep invocations.
54287         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54288         strings, and add error checking for a nanosleep invocations.
54290 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54292         Replace FSF snail mail address with URLs, as per GNU coding standards.
54293         Most of the snail mail addresses were wrong anyway, and omitting
54294         them makes the source code easier to maintain.  Almost all of the
54295         changes are to license notices and to locale LC_IDENTIFICATION
54296         addresses, except for this one:
54297         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54298         not its snail mail address.
54300 2012-02-09  Richard Henderson  <rth@twiddle.net>
54302         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54303         of kernel-features.h.
54305         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54307 2012-02-08  Marek Polacek  <polacek@redhat.com>
54309         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54310         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54311         * sysdeps/gnu/_G_config.h: Likewise.
54312         * sysdeps/generic/_G_config.h: Likewise.
54314 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54316         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54317         tests.
54318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54320         * sysdeps/powerpc/powerpc32/crti.S: New file.
54321         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54322         * sysdeps/powerpc/powerpc64/crti.S: New file.
54323         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54325         * Makeconfig (have-initfini): Don't set.
54326         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54327         * configure.in (nopic_initfini): Don't substitute.
54328         * config.h.in (HAVE_INITFINI): Don't #undef.
54329         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54330         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54332 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54334         Support crti.S and crtn.S provided directly by architectures.
54335         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54336         [crti.S in sysdirs] (omit-deps): Likewise.
54337         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54338         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54339         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54340         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54341         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54342         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54343         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54344         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54345         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54346         compiler output for sysdeps/generic/initfini.c.
54347         * sysdeps/i386/elf/Makefile: Remove file.
54348         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54350 2012-02-07  Marek Polacek  <polacek@redhat.com>
54352         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54353         * sysdeps/gnu/_G_config.h: Likewise.
54354         * sysdeps/mach/hurd/_G_config.h: Likewise.
54356 2012-02-07  Marek Polacek  <polacek@redhat.com>
54358         * math/Makefile (tests): Add tst-CMPLX2.
54359         * math/tst-CMPLX2.c: New file.
54361 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54363         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54365         * math/libm-test.inc (jn_test): Add missing L suffix.
54367 2012-02-06  Marek Polacek  <polacek@redhat.com>
54369         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54370         * sysdeps/i386/fpu/e_powf.S: Likewise.
54371         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54372         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54373         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54374         * sysdeps/i386/fpu/e_pow.S: Likewise.
54375         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54376         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54377         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54378         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54379         * sysdeps/i386/fpu/e_log2.S: Likewise.
54380         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54381         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54382         * sysdeps/i386/fpu/e_powl.S: Likewise.
54383         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54384         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54385         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54386         * sysdeps/i386/fpu/e_logl.S: Likewise.
54387         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54388         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54389         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54390         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54391         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54392         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54393         * sysdeps/i386/fpu/e_log.S: Likewise.
54394         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54395         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54396         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54397         * sysdeps/i386/fpu/e_logf.S: Likewise.
54398         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54399         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54400         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54401         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54402         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54403         * sysdeps/i386/fpu/e_log10.S: Likewise.
54404         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54405         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54406         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54407         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54408         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54409         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54410         * sysdeps/i386/asm-syntax.h: Likewise.
54411         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54412         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54413         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54414         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54415         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54416         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54417         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54418         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54420         * sysdeps/powerpc/sysdep.h: Likewise.
54421         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54422         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54424 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54426         [BZ #411]
54427         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54429 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54431         * sysdeps/i386/sysdep.h: Include <features.h>.
54432         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54433         version.
54435 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54437         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54438         Define.
54439         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54440         LOAD_PIC_REG_STR.
54442 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54444         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54445         (SETUP_PIC_REG): Use GET_PC_THUNK.
54446         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54447         macro.
54449 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54451         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54452         for non-PIC compilation.
54453         (SETUP_PIC_REG): Add .p2align directive.
54454         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54455         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54456         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54457         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54458         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54459         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54460         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54461         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54462         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54463         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54464         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54465         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54466         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54467         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54468         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54469         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54470         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54471         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54472         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54473         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54474         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54475         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54476         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54477         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54478         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54479         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54480         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54481         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54482         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54483         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54484         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54486         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54487         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54488         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54489         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54490         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54491         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54492         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54493         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54494         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54496 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54498         * math/tst-CMPLX.c: Include <stdio.h>.
54500 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54502         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54503         float.
54504         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54505         * sysdeps/sparc/bits/mathdef.h: Likewise.
54507 2012-01-31  Marek Polacek  <polacek@redhat.com>
54509         * libio/libio.h: Don't define _PARAMS.
54510         * locale/programs/config.h: Don't define PARAMS.
54511         * stdlib/strtol_l.c: Likewise.
54512         (__strtol_l): Remove PARAMS from the prototype.
54514 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54516         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54517         names.  Just use the correct names.  Remove unnecessary wrapper
54518         functions.
54519         * malloc/arena.c: Likewise.
54520         * malloc/hooks.c: Likewise.
54522         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54523         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54524         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54526 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54528         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54529         into tail calls.
54530         (update_get_addr): New function.
54531         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54532         GET_ADDR_MODULE parameter.
54534 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54536         * crypt/cert.c: Remove __STDC__ conditionals.
54537         * crypt/crypt-entry.c: Likewise.
54538         * crypt/crypt_util.c: Likewise.
54539         * libio/filedoalloc.c: Likewise.
54540         * libio/fileops.c: Likewise.
54541         * libio/genops.c: Likewise.
54542         * libio/iofclose.c: Likewise.
54543         * libio/iofdopen.c: Likewise.
54544         * libio/iofopen.c: Likewise.
54545         * libio/iofopen64.c: Likewise.
54546         * libio/iogetdelim.c: Likewise.
54547         * libio/iopopen.c: Likewise.
54548         * libio/obprintf.c: Likewise.
54549         * libio/oldfileops.c: Likewise.
54550         * libio/oldiofclose.c: Likewise.
54551         * libio/oldiofdopen.c: Likewise.
54552         * libio/oldiofopen.c: Likewise.
54553         * libio/oldiopopen.c: Likewise.
54554         * libio/wfiledoalloc.c: Likewise.
54555         * libio/wgenops.c: Likewise.
54556         * locale/programs/xmalloc.c: Likewise.
54557         * misc/syslog.c: Likewise.
54558         * stdio-common/xbug.c: Likewise.
54559         * string/memchr.c: Likewise.
54560         * string/memcmp.c: Likewise.
54561         * string/memrchr.c: Likewise.
54562         * string/rawmemchr.c: Likewise.
54563         * sysdeps/posix/getcwd.c: Likewise.
54564         * time/strftime_l.c: Likewise.
54566 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54568         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54569         * config.make.in (config-cflags-sse2avx): Define.
54570         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54571         Fix typo.
54573 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54575         * scripts/config.guess: Update from upstream config git repository.
54576         * scripts/config.sub: Likewise.
54578 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54580         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54581         (EM_NUM): Update.
54582         (R_TILEPRO_*, R_TILEGX_*): New macros.
54584         * scripts/firstversions.awk: Fix bug in version range handling.
54586         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54588         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54590         * include/sys/epoll.h: New file.
54591         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54592         libc_hidden_def.
54594 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54596         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54597         Avoid unnecessary __WORDSIZE == 64 test.
54598         (fmaxf): Use VEX format if possible.
54599         (fmax): Likewise.
54600         (fminf): Likewise.
54601         (fmin): Likewise.
54603         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54604         * math/math_private.h: Remove libc_fegetround* and
54605         libc_fesetround*.
54606         * sysdeps/i386/configure.in: Check for -msse2avx.
54607         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54608         also if SSE2AVX is defined.
54609         Remove libc_fegetround* and libc_fesetround*.
54610         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54611         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54613         of HAS_YMM_USABLE.
54614         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54615         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54617         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54618         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54620         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54622 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54624         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54625         size is not set.
54626         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54628 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54630         [BZ #13618]
54631         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54632         relocation.
54633         * Makeconfig (libm): Define.
54634         * elf/Makefile: Add rules to build and run tst-relsort1.
54635         * elf/tst-relsort1.c: New file.
54636         * elf/tst-relsort1mod1.c: New file.
54637         * elf/tst-relsort1mod2.c: New file.
54639 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54641         * math/s_ldexp.c: Remove __STDC__ conditionals.
54642         * math/s_ldexpf.c: Likewise.
54643         * math/s_ldexpl.c: Likewise.
54644         * math/s_nextafter.c: Likewise.
54645         * math/s_nexttowardf.c: Likewise.
54646         * math/s_significand.c: Likewise.
54647         * math/s_significandf.c: Likewise.
54648         * math/s_significandl.c: Likewise.
54649         * math/w_jnl.c: Likewise.
54650         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54651         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54652         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54653         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54654         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54655         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54656         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54657         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54659         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54660         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54662         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54663         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54664         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54665         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54666         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54667         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54669         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54670         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54671         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54672         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54673         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54674         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54675         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54676         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54677         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54678         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54679         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54680         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54681         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54682         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54683         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54684         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54685         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54686         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54687         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54688         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54689         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54690         * sysdeps/ieee754/k_standard.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54692         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54693         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54694         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54695         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54696         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54698         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54699         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54700         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54701         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54702         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54703         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54704         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54705         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54707         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54708         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54709         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54710         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54711         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54712         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54713         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54714         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54715         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54716         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54718         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54720         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54721         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54722         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54723         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54724         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54726         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54727         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54728         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54729         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54730         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54731         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54732         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54733         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54734         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54735         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54736         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54737         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54739         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54740         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54741         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54744         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54745         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54746         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54747         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54748         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54749         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54750         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54751         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54752         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54753         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54755         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54756         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54757         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54758         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54759         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54760         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54761         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54762         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54763         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54764         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54765         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54766         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54767         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54768         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54769         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54770         * sysdeps/ieee754/s_matherr.c: Likewise.
54771         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54772         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54776 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54778         * crypt/md5.h: Remove __STDC__ conditionals.
54779         * libio/libioP.h: Likewise.
54780         * locale/programs/config.h: Likewise.
54781         * sysdeps/generic/sysdep.h: Likewise.
54782         * sysdeps/i386/asm-syntax.h: Likewise.
54783         * sysdeps/s390/asm-syntax.h: Likewise.
54784         * sysdeps/unix/sysdep.h: Likewise.
54785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54788 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54790         * libio/libio.h: Remove __STDC__ conditionals.
54791         * malloc/obstack.h: Likewise.
54792         * math/complex.h: Likewise.
54793         * math/math.h: Likewise.
54794         * sysdeps/generic/_G_config.h: Likewise.
54795         * sysdeps/gnu/_G_config.h: Likewise.
54796         * sysdeps/mach/hurd/_G_config.h: Likewise.
54797         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54798         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54799         * sysdeps/sparc/bits/mathdef.h: Likewise.
54801 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54803         [BZ #13583]
54804         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54805         Clean up HAS_* macros.
54806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54807         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54808         possible.
54809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54810         HAS_AVX.
54811         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54812         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54813         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54814         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54815         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54817 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54819         * elf/tst-unique3.cc (gets): Remove declaration.
54820         * elf/tst-unique3lib.cc (gets): Likewise.
54821         * elf/tst-unique3lib2.cc (gets): Likewise.
54822         * elf/tst-unique4.cc (gets): Likewise.
54824 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54826         * include/stdio.h: Add C++ protection.  Add gets declarations and
54827         definitions.
54828         * debug/tst-chk1.c: Don't declare gets here.
54829         * stdio-common/tst-gets.c: Likewise.
54831 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54833         * posix/glob: Remove directory.
54835 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54837         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54839 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54841         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54842         of the non-standard EPFNOSUPPORT.
54844 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54846         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54847         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54848         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54850 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54852         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54854 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54856         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54857         transient errors.
54858         * nscd/grpcache.c (cache_addgr): Likewise.
54859         * nscd/hstcache.c (cache_addhst): Likewise.
54860         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54861         * nscd/pwdcache.c (cache_addpw): Likewise.
54862         * nscd/servicescache.c (cache_addserv): Likewise.
54864 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54866         * malloc/malloc.c: Various cleanups.
54867         * malloc/hooks.c: Likewise.
54869         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54870         * stdlib/bug-fmtmsg1.c: New file.
54872         * stdlib/fmtmsg.c (init): Add missing unlock.
54873         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54875 2012-01-12  Marek Polacek  <polacek@redhat.com>
54877         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54878         and _GNU_SOURCE.
54880 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54882         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54883         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54884         macro to ensure uniqueness of label name.
54885         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54886         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54888 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54890         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54892         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54893         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54894         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54895         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54897 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54899         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54901         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54902         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54903         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54905         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54907         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54908         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54909         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54912         * math/bits/math-finite.h: Add ldexp support.
54914 2012-01-10  Marek Polacek  <polacek@redhat.com>
54916         * locale/programs/localedef.h (show_archive_content): Add noreturn
54917         attribute.
54919 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54921         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54923 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54925         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54927         * io/Makefile (headers): Add bits/poll2.h.
54929 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54932         typo #include statement.
54934 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54936         * include/sys/cdefs.h: Define __attribute_alloc_size.
54937         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54938         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54939         * elf/pldd.c: Likewise.
54940         * iconv/iconv_charmap.c: Likewise.
54941         * iconv/iconvconfig.c: Likewise.
54942         * iconv/strtab.c: Likewise.
54943         * locale/programs/locale.c: Likewise.
54944         * locale/programs/localedef.h: Likewise.
54945         * locale/programs/simple-hash.c: Likewise.
54946         * nscd/nscd.h: Likewise.
54947         * nss/makedb.c: Likewise.
54948         * sysdeps/generic/ldconfig.h: Likewise.
54949         * locale/programs/localedef.c: Remove xmalloc prototype.
54950         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54952 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54954         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54955         appropriate.
54957 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54959         * math/Makefile (tests): Add tst-CMPLX.
54960         * math/tst-CMPLX.c: New file.
54962         * math/complex.h (CMPLXL): Fix typo.
54964         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54965         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54966         GLIBC_2.16.
54967         * debug/tst-chk1.c: Add poll and ppoll tests.
54968         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54969         * include/sys/poll.h: Add hidden proto for ppoll.
54970         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54971         * sysdeps/mach/hurd/ppoll.c: Likewise.
54972         * io/ppoll.c: Likewise.
54973         * debug/poll_chk.c: New file.
54974         * debug/ppoll_chk.c: New file.
54975         * include/bits/poll2.h: New file.
54976         * io/bits/poll2.h: New file.
54978         [BZ #1350]
54979         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54981         * configure.in: static is always set to yes.  Remove.
54982         * config.make.in: Don't set build-static.
54983         * Makeconfig: Remove use of build-static.
54984         * dlfcn/Makefile: Likewise.
54985         * elf/Makefile: Likewise.
54986         * math/Makefile: Likewise.
54987         * misc/Makefile: Likewise.
54988         * nptl/Makefile: Likewise.
54989         * sysdeps/mach/hurd/Makefile: Likewise.
54991         * configure.in: PWD_P is not used anymore.
54992         * config.make.in: Remove PWD_P entry.
54994         * configure.in: Remove last remnants of RANLIB.
54995         No need to check for signed size_t anymore.
54996         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54997         and IA-64.
54998         Remove __builtin_expect test because we require at least gcc 3.4.
54999         * aclocal.m4: Likewise.
55001         * wcsmbs/mbrtoc16.c: Implement using towc function.
55002         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55003         * wcsmbs/wcsmbsload.c: Likewise.
55004         * iconv/gconv_simple.c: Likewise.
55005         * iconv/gconv_int.h: Likewise.
55006         * iconv/gconv_builtin.h: Likewise.
55007         * iconv/iconv_prog.c: Remove CHAR16 handling.
55009         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55011         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55013         * configure.in: Remove --with-elf and --enable-bounded options.
55014         Dont set base_machine for ia64.  More non-ELF conditions removed.
55015         Remove testing and setting of leading underscore information.
55016         * config.make.in (build-bounded): Set to no.
55017         * config.h.in: Remove NO_UNDERSCORES entry.
55018         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55019         them.
55020         * csu/start.c: Remove !NO_UNDERSCORE code.
55021         * locale/localeinfo.h: Likewise.
55022         * sysdeps/generic/machine-gmon.h: Likewise.
55023         * sysdeps/generic/sysdep.h: Likewise.
55024         * sysdeps/i386/sysdep.h: Likewise.
55025         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55026         * sysdeps/mach/sysdep.h: Likewise.
55027         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55028         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55029         * sysdeps/sh/sysdep.h: Likewise.
55030         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55031         * sysdeps/unix/i386/sysdep.S: Likewise.
55032         * sysdeps/unix/sparc/start.c: Likewise.
55033         * sysdeps/unix/sparc/sysdep.S: Likewise.
55034         * sysdeps/unix/sparc/sysdep.h: Likewise.
55035         * sysdeps/unix/start.c: Likewise.
55036         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55037         * sysdeps/x86_64/sysdep.h: Likewise.
55039 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55041         [BZ #13553]
55042         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55043         for non-gcc.
55044         * argp/argp-fmtstream.h: Use const instead __const.
55045         * argp/argp.h: Likewise.
55046         * assert/assert.h: Likewise.
55047         * bits/fenv.h: Likewise.
55048         * bits/sched.h: Likewise.
55049         * bits/sigset.h: Likewise.
55050         * bits/sigthread.h: Likewise.
55051         * catgets/nl_types.h: Likewise.
55052         * conform/data/pthread.h-data: Likewise.
55053         * crypt/crypt-private.h: Likewise.
55054         * crypt/crypt.h: Likewise.
55055         * crypt/crypt_util.c: Likewise.
55056         * ctype/ctype.h: Likewise.
55057         * debug/execinfo.h: Likewise.
55058         * debug/mbsnrtowcs_chk.c: Likewise.
55059         * debug/mbsrtowcs_chk.c: Likewise.
55060         * debug/wcsnrtombs_chk.c: Likewise.
55061         * debug/wcsrtombs_chk.c: Likewise.
55062         * debug/wcstombs_chk.c: Likewise.
55063         * dirent/dirent.h: Likewise.
55064         * dlfcn/dlfcn.h: Likewise.
55065         * elf/neededtest4.c: Likewise.
55066         * grp/grp.h: Likewise.
55067         * gshadow/gshadow.h: Likewise.
55068         * iconv/gconv.h: Likewise.
55069         * iconv/gconv_int.h: Likewise.
55070         * iconv/gconv_simple.c: Likewise.
55071         * iconv/iconv.h: Likewise.
55072         * iconv/loop.c: Likewise.
55073         * iconv/skeleton.c: Likewise.
55074         * include/aio.h: Likewise.
55075         * include/aliases.h: Likewise.
55076         * include/argz.h: Likewise.
55077         * include/arpa/inet.h: Likewise.
55078         * include/assert.h: Likewise.
55079         * include/dirent.h: Likewise.
55080         * include/dlfcn.h: Likewise.
55081         * include/execinfo.h: Likewise.
55082         * include/fcntl.h: Likewise.
55083         * include/fenv.h: Likewise.
55084         * include/glob.h: Likewise.
55085         * include/grp.h: Likewise.
55086         * include/libintl.h: Likewise.
55087         * include/mntent.h: Likewise.
55088         * include/netdb.h: Likewise.
55089         * include/pwd.h: Likewise.
55090         * include/rpc/netdb.h: Likewise.
55091         * include/sched.h: Likewise.
55092         * include/search.h: Likewise.
55093         * include/shadow.h: Likewise.
55094         * include/signal.h: Likewise.
55095         * include/stdio.h: Likewise.
55096         * include/stdlib.h: Likewise.
55097         * include/string.h: Likewise.
55098         * include/sys/socket.h: Likewise.
55099         * include/sys/stat.h: Likewise.
55100         * include/sys/statfs.h: Likewise.
55101         * include/sys/statvfs.h: Likewise.
55102         * include/sys/syslog.h: Likewise.
55103         * include/sys/time.h: Likewise.
55104         * include/sys/uio.h: Likewise.
55105         * include/time.h: Likewise.
55106         * include/unistd.h: Likewise.
55107         * include/utmp.h: Likewise.
55108         * include/wchar.h: Likewise.
55109         * include/wctype.h: Likewise.
55110         * inet/aliases.h: Likewise.
55111         * inet/arpa/inet.h: Likewise.
55112         * inet/netinet/ether.h: Likewise.
55113         * inet/netinet/in.h: Likewise.
55114         * intl/libintl.h: Likewise.
55115         * io/bits/fcntl2.h: Likewise.
55116         * io/fcntl.h: Likewise.
55117         * io/ftw.h: Likewise.
55118         * io/sys/poll.h: Likewise.
55119         * io/sys/stat.h: Likewise.
55120         * io/sys/statfs.h: Likewise.
55121         * io/sys/statvfs.h: Likewise.
55122         * io/utime.h: Likewise.
55123         * libio/bits/stdio.h: Likewise.
55124         * libio/bits/stdio2.h: Likewise.
55125         * libio/libio.h: Likewise.
55126         * libio/libioP.h: Likewise.
55127         * libio/stdio.h: Likewise.
55128         * locale/lc-ctype.c: Likewise.
55129         * locale/locale.h: Likewise.
55130         * login/utmp.h: Likewise.
55131         * malloc/arena.c: Likewise.
55132         * malloc/malloc.c: Likewise.
55133         * malloc/malloc.h: Likewise.
55134         * malloc/mcheck.c: Likewise.
55135         * malloc/mtrace.c: Likewise.
55136         * math/bits/mathcalls.h: Likewise.
55137         * math/fenv.h: Likewise.
55138         * math/math_private.h: Likewise.
55139         * misc/bits/error.h: Likewise.
55140         * misc/bits/syslog.h: Likewise.
55141         * misc/err.h: Likewise.
55142         * misc/error.h: Likewise.
55143         * misc/fstab.h: Likewise.
55144         * misc/mntent.h: Likewise.
55145         * misc/regexp.h: Likewise.
55146         * misc/search.h: Likewise.
55147         * misc/sgtty.h: Likewise.
55148         * misc/sys/mman.h: Likewise.
55149         * misc/sys/syslog.h: Likewise.
55150         * misc/sys/uio.h: Likewise.
55151         * misc/sys/xattr.h: Likewise.
55152         * misc/ttyent.h: Likewise.
55153         * nis/rpcsvc/ypclnt.h: Likewise.
55154         * nss/nss.h: Likewise.
55155         * posix/bits/unistd.h: Likewise.
55156         * posix/fnmatch.h: Likewise.
55157         * posix/glob.h: Likewise.
55158         * posix/sched.h: Likewise.
55159         * posix/spawn.h: Likewise.
55160         * posix/sys/wait.h: Likewise.
55161         * posix/unistd.h: Likewise.
55162         * posix/wordexp.h: Likewise.
55163         * pwd/pwd.h: Likewise.
55164         * resolv/netdb.h: Likewise.
55165         * resource/sys/resource.h: Likewise.
55166         * rt/aio.h: Likewise.
55167         * rt/bits/mqueue2.h: Likewise.
55168         * rt/mqueue.h: Likewise.
55169         * shadow/shadow.h: Likewise.
55170         * signal/signal.h: Likewise.
55171         * socket/send.c: Likewise.
55172         * socket/sendto.c: Likewise.
55173         * socket/sys/socket.h: Likewise.
55174         * stdio-common/printf.h: Likewise.
55175         * stdlib/bits/stdlib.h: Likewise.
55176         * stdlib/fmtmsg.h: Likewise.
55177         * stdlib/monetary.h: Likewise.
55178         * stdlib/stdlib.h: Likewise.
55179         * stdlib/ucontext.h: Likewise.
55180         * streams/stropts.h: Likewise.
55181         * string/argz.h: Likewise.
55182         * string/bits/string2.h: Likewise.
55183         * string/string.h: Likewise.
55184         * string/strings.h: Likewise.
55185         * sunrpc/rpc/auth.h: Likewise.
55186         * sunrpc/rpc/auth_des.h: Likewise.
55187         * sunrpc/rpc/clnt.h: Likewise.
55188         * sunrpc/rpc/netdb.h: Likewise.
55189         * sunrpc/rpc/pmap_clnt.h: Likewise.
55190         * sunrpc/rpc/xdr.h: Likewise.
55191         * sysdeps/generic/inttypes.h: Likewise.
55192         * sysdeps/generic/net/if.h: Likewise.
55193         * sysdeps/generic/sys/swap.h: Likewise.
55194         * sysdeps/gnu/net/if.h: Likewise.
55195         * sysdeps/gnu/utmpx.h: Likewise.
55196         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55197         * sysdeps/i386/i486/bits/string.h: Likewise.
55198         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55199         * sysdeps/s390/bits/string.h: Likewise.
55200         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55201         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55202         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55203         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55204         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55205         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55206         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55207         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55208         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55209         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55210         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55211         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55212         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55213         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55214         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55215         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55216         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55218         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55219         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55220         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55221         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55222         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55223         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55224         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55225         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55226         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55227         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55228         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55229         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55230         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55231         * sysvipc/sys/ipc.h: Likewise.
55232         * sysvipc/sys/msg.h: Likewise.
55233         * sysvipc/sys/sem.h: Likewise.
55234         * sysvipc/sys/shm.h: Likewise.
55235         * termios/termios.h: Likewise.
55236         * time/sys/time.h: Likewise.
55237         * time/time.h: Likewise.
55238         * wcsmbs/bits/wchar2.h: Likewise.
55239         * wcsmbs/uchar.h: Likewise.
55240         * wcsmbs/wchar.h: Likewise.
55241         * wctype/wctype.h: Likewise.
55243         [BZ #13551]
55244         * Makeconfig: Remove all but ELF support including AIX support.
55245         * Makerules: Likewise.
55246         * config.h.in: Likewise.
55247         * config.make.in: Likewise.
55248         * configure: Likewise.
55249         * configure.in: Likewise.
55250         * csu/Makefile: Likewise.
55251         * csu/version.c: Likewise.
55252         * debug/Makefile: Likewise.
55253         * dlfcn/Makefile: Likewise.
55254         * elf/Makefile: Likewise.
55255         * extra-lib.mk: Likewise.
55256         * iconv/Makefile: Likewise.
55257         * include/libc-symbols.h: Likewise.
55258         * include/shlib-compat.h: Likewise.
55259         * resolv/Makefile: Likewise.
55260         * resolv/res_libc.c: Likewise.
55261         * rt/Makefile: Likewise.
55262         * sysdeps/i386/asm-syntax.h: Likewise.
55263         * sysdeps/i386/sysdep.h: Likewise.
55264         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55265         * sysdeps/mach/sysdep.h: Likewise.
55266         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55267         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55268         * sysdeps/s390/asm-syntax.h: Likewise.
55269         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55271         * sysdeps/sh/sysdep.h: Likewise.
55272         * sysdeps/unix/sparc/sysdep.h: Likewise.
55273         * sysdeps/wordsize-32/divdi3.c: Likewise.
55274         * sysdeps/x86_64/sysdep.h: Likewise.
55276         * argp/Versions: Remove _argp_unlock_xxx.
55278         [BZ #13559]
55279         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55280         * abilist/libBrokenLocale.abilist: Likewise.
55281         * abilist/libanl.abilist: Likewise.
55282         * abilist/libc.abilist: Likewise.
55283         * abilist/libcrypt.abilist: Likewise.
55284         * abilist/libdl.abilist: Likewise.
55285         * abilist/libm.abilist: Likewise.
55286         * abilist/libnsl.abilist: Likewise.
55287         * abilist/libpthread.abilist: Likewise.
55288         * abilist/libresolv.abilist: Likewise.
55289         * abilist/librt.abilist: Likewise.
55290         * abilist/libthread_db.abilist: Likewise.
55291         * abilist/libutil.abilist: Likewise.
55292         * abilist/libnss_db.abilist: New file.
55294         * scripts/abilist.awk: Add support for indirect functions.
55296         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55298         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55300         * shlib-versions: Remove entries for ports architectures.
55302         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55303         files in ports.
55304         * elf/stackguard-macros.h: Remove support for IA-64.
55305         * elf/tst-auditmod1.c: Likewise.
55306         * sysdeps/generic/ldsodefs.h: Likewise.
55308         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55309         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55310         configure files.
55312         [BZ #13552]
55313         * configure.in: Remove --enable-omitfp support.
55314         * FAQ.in: Adjust.
55315         * config.make.in: Likewise.
55316         * Makeconfig: Likewise.
55317         * manual/install.texi: Likewise.
55319         In case anyone cares, the IA-64 architecture could move to ports.
55320         * sysdeps/ia64/*: Removed.
55321         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55322         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55324         [BZ #13555]
55325         * configure.in: Remove entries for unsupported architectures.
55327         [BZ #13533]
55328         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55329         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55330         routines.
55331         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55332         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55333         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55334         fall back to using wcrtomb.
55335         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55336         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55337         renaming.
55338         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55339         * wcsmbs/tst-c16c32-1.c: New file.
55341         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55342         local variable.
55344         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55346         * elf/tst-unique3.cc: Add explicit declaration of gets.
55347         * elf/tst-unique3lib.cc: Likewise.
55348         * elf/tst-unique3lib2.cc: Likewise.
55349         * elf/tst-unique4.cc: Likewise.
55351         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55353 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55355         [BZ #13566]
55356         * assert/assert.h (static_assert): Don't define for C++.
55357         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55358         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55360 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55362         * iconv/loop.c (single loop): Fix assertion in storing of
55363         remaining bytes.
55365         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55367 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55369         * posix/getconf.c: Update copyright year.
55370         * nss/getent.c: Likewise.
55371         * nss/makedb.c: Likewise.
55372         * iconv/iconvconfig.c: Likewise.
55373         * iconv/iconv_prog.c: Likewise.
55374         * elf/ldconfig.c: Likewise.
55375         * elf/pldd.c: Likewise.
55376         * elf/sotruss.ksh: Likewise.
55377         * catgets/gencat.c: Likewise.
55378         * csu/version.c: Likewise.
55379         * elf/ldd.bash.in: Likewise.
55380         * elf/sprof.c (print_version): Likewise.
55381         * locale/programs/locale.c: Likewise.
55382         * locale/programs/localedef.c: Likewise.
55383         * login/programs/pt_chown.c: Likewise.
55384         * nscd/nscd.c (print_version): Likewise.
55385         * debug/xtrace.sh: Likewise.
55386         * malloc/memusage.sh: Likewise.
55387         * malloc/mtrace.pl: Likewise.
55388         * debug/catchsegv.sh: Likewise.
55390 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55392         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55393         pure attribute.
55395 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55397         [BZ #13533]
55398         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55399         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55400         transformations.
55401         * iconv/gconv_int.h: Likewise.
55402         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55403         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55404         from libc for GLIBC_2.16.
55405         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55406         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55407         * wcsmbs/uchar.h: Really define mbstate_t.
55408         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55409         * wcsmbs/c16rtomb.c: New file.
55410         * wcsmbs/mbrtoc16.c: New file.
55411         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55412         for C/POSIX locale.
55413         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55414         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55416         * wcsmbs/wchar.h: Add missing __restrict.
55418 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55420         [BZ #13532]
55421         * time/Makefile (routines): Add timespec_get.
55422         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55423         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55424         timespec for ISO C11.
55425         * time/timespec_get.c: New file.
55426         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55427         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55429         [BZ #13531]
55430         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55431         * stdlib/stdlib.h: Declare aligned_alloc.
55432         * Versions.def: Add GLIBC_2.16 for libc.
55433         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55435         [BZ 13527]
55436         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55437         ISO C11.
55439         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55440         code.
55442         [BZ #13528]
55443         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55445         [BZ #13529]
55446         * assert/assert.h (static_assert): Define.
55448         * version.h: Update for 2.16 development version.
55450         [BZ #13526]
55451         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55452         _ISOC11_SOURCE.
55454         * version.h (RELEASE): Bump for 2.15 release.
55455         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55457         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55458         Patch by Marek Polacek <mpolacek@redhat.com>.
55460         * bits/byteswap.h: Protect long long constants with __extension__.
55461         * sysdeps/i386/bits/byteswap.h: Likewise.
55462         * sysdeps/ia64/bits/byteswap.h: Likewise.
55463         * sysdeps/s390/bits/byteswap.h: Likewise.
55464         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55466 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55468         [BZ #13540]
55469         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55470         destination buffer.
55471         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55473 2011-12-23  Marek Polacek  <polacek@redhat.com>
55475         * elf/dl-addr.c (determine_info): Add inline keyword.
55476         * elf/tst-auditmod4b.c (check_avx): Likewise.
55477         * elf/tst-auditmod6b.c (check_avx): Likewise.
55478         * elf/tst-auditmod6c.c (check_avx): Likewise.
55479         * elf/tst-auditmod7b.c (check_avx): Likewise.
55481 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55483         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55484         !__SSE_MATH__.
55486 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55488         [BZ #13540]
55489         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55490         processing for last bytes.
55492 2011-08-06  Bruno Haible  <bruno@clisp.org>
55494         [BZ #13061]
55495         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55496         U+0385, not to U+1FEE.
55498         [BZ #13062]
55499         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55500         entry for U+00A5 U+0301.
55502 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55504         [BZ #13166]
55505         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55506         buffer for the output is too small.
55508         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55509         optimization.
55511         [BZ #13185]
55512         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55513         SSE flags if possible.
55515 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55517         [BZ #13540]
55518         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55519         processing for last bytes.
55521 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55523         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55524         (syscall-list-default-options, syscall-list-default-condition)
55525         (syscall-list-includes): Define.
55526         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55527         list of ABIs and options and #if conditions for each ABI.  Do not
55528         handle common syscalls between ABIs specially.
55529         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55530         Remove.
55531         (syscall-list-variants, syscall-list-32bit-options)
55532         (syscall-list-32bit-condition, syscall-list-64bit-options)
55533         (syscall-list-64bit-condition): Define.
55534         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55535         (syscall-list-variants, syscall-list-32bit-options)
55536         (syscall-list-32bit-condition, syscall-list-64bit-options)
55537         (syscall-list-64bit-condition): Define.
55538         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55539         Remove.
55540         (syscall-list-variants, syscall-list-32bit-options)
55541         (syscall-list-32bit-condition, syscall-list-64bit-options)
55542         (syscall-list-64bit-condition): Define.
55543         * sysdeps/unix/sysv/linux/x86_64/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.
55549 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55551         * locale/iso-639.def: Add brx entry.
55553         [BZ #13328]
55554         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55555         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55557         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55558         __feraiseexcept_renamed.
55560 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55562         [BZ #13538]
55563         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55564         EPOLLET with unsigned values.
55565         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55566         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55568         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55569         to large cancellation.
55570         * math/s_cacoshf.c: Likewise.
55571         * math/s_cacoshl.c: Likewise.
55573 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55575         [BZ #13305]
55576         [BZ #12786]
55577         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55578         * math/s_cacoshf.c: Likewise.
55579         * math/s_cacoshl.c: Likewise.
55581 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55583         [BZ #13439]
55584         * iconv/gconv.h: Define __GCONV_SWAP.
55585         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55586         * iconvdata/utf-16.c: Likewise.
55587         * iconvdata/utf-32.c: Likewise.
55589 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55591         [BZ #13524]
55592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55593         numerator after shifting it by one limb.
55595 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55597         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55598         under [__USE_EXTERN_INLINES].
55600 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55602         [BZ #13446]
55603         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55605 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55607         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55608         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55609         optimized code.
55610         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55611         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55612         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55613         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55614         for strncasecmp/strncasecmp_l compilation.
55615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55616         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55618 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55620         [BZ #13484]
55621         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55622         of __asm__.
55624 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55626         [BZ #13506]
55627         * time/tzfile.c (__tzfile_read): Check values from file header.
55629 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55631         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55632         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55633         * powerpc/powerpc32/dl-start.S: Likewise.
55634         * powerpc/powerpc32/elf/start.S: Likewise.
55635         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55636         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55637         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55638         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55639         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55640         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55641         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55642         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55643         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55644         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55645         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55646         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55647         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55648         * powerpc/powerpc32/memset.S: Likewise.
55649         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55650         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55651         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55652         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55653         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55654         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55655         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55656         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55657         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55658         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55659         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55660         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55661         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55663 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55665         * math/libm-test.inc: Added more nearbyint tests.
55666         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55668         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55671 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55673         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55674         FD_CLOEXEC.
55676 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55678         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55679         Add wcscpy-ssse3 wcscpy-c.
55680         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55681         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55682         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55683         * sysdeps/x86_64/wcschr.S: New file.
55684         * sysdeps/x86_64/wcsrchr.S: New file.
55685         * string/test-strcmp.c: Remove checking of wcscmp function for
55686         wrong alignments.
55687         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55688         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55689         wcsrchr-sse2 wcsrchr-c.
55690         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55691         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55692         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55693         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55694         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55695         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55696         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55697         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55698         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55699         * wcsmbc/wcschr.c (WCSCHR): New macro.
55701 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55703         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55704         * wcsmbs/test-wcsrchr.c: New file.
55705         * string/test-strrchr.c: Add wcsrchr support.
55706         (WIDE): New macro.
55707         * wcsmbs/test-wcscpy.c: New file.
55708         * string/test-strcpy.c: Add wcscpy support.
55709         (WIDE): New macro.
55711 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55713         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55714         the inner loop.
55716 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55718         [BZ #13472]
55719         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55721 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55723         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55724         Minor optimizations.
55726         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55727         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55728         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55730 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55732         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55733         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55734         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55735         for gcc to avoid warnings.
55736         * inet/Makefile (tests): Add tst-checks.
55737         * inet/tst-checks.c: New file.
55739         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55740         warning.
55742         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55743         __wmemcmp_sse2.
55745         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55746         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55748         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55750 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55752         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55753         problem.
55755         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55757 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55759         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55760         conditional on GCC version.
55761         (__arch_compare_and_exchange_val_8_acq)
55762         (__arch_compare_and_exchange_val_16_acq)
55763         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55764         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55765         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55767 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55769         * sysdeps/sh/backtrace.c: New file.
55771 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55773         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55774         parenthesis.
55776 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55778         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55779         falling back to utime.
55781 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55783         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55784         expectations for float.
55786 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55788         * locale/weight.h (findidx): Add parameter len.
55789         * locale/weightwc.h (findidx): Likewise.
55790         * posix/fnmatch_loop.c (FCT): Adjust caller.
55791         * posix/regcomp.c (build_equiv_class): Likewise.
55792         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55793         * posix/regexec.c (check_node_accept_bytes): Likewise.
55794         * string/strcoll_l.c (STRCOLL): Likewise.
55795         * string/strxfrm_l.c (STRXFRM): Likewise.
55797 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55799         * Makefile.in: Remove CVSOPT handling.
55800         * configure.in: Remove use of AC_REVISION.
55801         * iconvdata/Makefile (distribute): No need to filter out CVS.
55802         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55803         handling.
55805 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55808         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55809         [USE_AS_STRNCASECMP_L]: Likewise.
55810         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55811         NO_TLS_DIRECT_SEG_REFS.
55812         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55813         Fix argument offsets for non-PIC.
55814         [USE_AS_STRNCASECMP_L]: Likewise.
55815         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55816         NO_TLS_DIRECT_SEG_REFS.
55818 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55820         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55821         O_CLOEXEC.
55822         * locale/loadlocale.c (_nl_load_locale): Likewise.
55824 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55826         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55827         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55828         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55829         (SYSCALL_GETTIME): Set errno on error.
55831         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55832         count references to noai6ai_cached.
55834 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55836         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55838         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55839         FD_CLOEXEC for /proc/self/maps.
55841         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55842         FD_CLOEXEC for /proc/meminfo.
55844         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55845         gai.conf.
55847         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55848         FD_CLOEXEC for given file.
55850         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55852         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55853         FD_CLOEXEC for /etc/hosts.
55854         (_gethtent): Likewise.
55856         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55858         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55859         cancellation and set FD_CLOEXEC for /etc/netgroup.
55861         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55862         reading /etc/publickey.
55864         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55865         allow cancellation when reading /etc/group.
55867         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55868         cancellation.
55869         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55871         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55872         when using data file.
55874         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55876         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55877         (write_nis_obj): Use "c" and "e" in fopen.
55879         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55881         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55883         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55885         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55887         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55888         locale.alias.
55890         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55892         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55894         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55896         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55897         file parsing and set FD_CLOEXEC.
55899 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55901         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55903 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55905         * malloc/arena.c (arena_get2): Don't call reused_arena when
55906         _int_new_arena failed.
55908 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55910         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55911         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55912         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55913         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55914         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55916         to compile strcasecmp and strncasecmp.
55917         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55918         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55922 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55924         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55925         locale-defines.sym to gen-as-const-headers.
55926         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55927         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55929         to compile strcasecmp and strncasecmp.
55930         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55931         strcasecmp_l and strncasecmp_l.
55932         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55933         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55934         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55935         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55936         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55937         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55938         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55939         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55940         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55941         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55942         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55944 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55946         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55947         result of SYSDEP_GETTIME_CPU to retval.
55948         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55949         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55951         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55952         variable.
55954         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55955         mantissa words.
55956         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55958         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55959         from unused variable.
55961         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55962         DWARF definitions.
55963         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55964         for assembling.
55966         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55967         over namespaces.
55969         * sunrpc/rpc_prot.c (rejected): Fix case value.
55971         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55972         unsigned long long int to avoid warnings in shift.
55974         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55975         of use of trans.
55976         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55977         variable tmp.
55979         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55980         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55981         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55983         * nis/nis_table.c (nis_list): Use variable of correct type for
55984         result of __follow_path call.
55986 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55988         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55989         of math functions ceil, trunc, floor, round, and sqrt, when
55990         avaliable on the platform.
55991         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55992         name clash.
55993         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55994         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55995         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55997 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55999         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56002 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56004         * include/unistd.h: Fix __readlink return type.
56005         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56007 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56009         * stdlib/ucontext.h: Undo last change for makecontext.
56011 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56013         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56015         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56016         * setjmp/setjmp.h: Mark functions as non-leaf.
56017         * setjmp/bits/setjmp2.h: Likewise.
56018         * stdlib/ucontext.h: Likewise.
56020 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56022         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56023         (reused_arena): Don't check arena limit.
56024         (arena_get2): Atomically check arena limit.
56026 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56028         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56029         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56031         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56032         instructions.
56034 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56036         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56037         handler when locking.
56039         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56040         Fix size of allocated buffer.
56042 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56044         [BZ #10103]
56045         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56046         declarations for long double functions.
56047         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56049         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56051 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56053         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56054         installed.
56056         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56057         is disabled.
56059 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56061         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56063 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56065         * include/alloca.h (stackinfo_alloca_round): Define.
56066         (extend_alloca): Use it.
56067         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56068         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56069         here.
56071         * scripts/check-local-headers.sh: Ignore libaudit.h.
56073         * nscd/Makefile (extra-objs): Make recursively expanded.
56075 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56077         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56078         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56080         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56081         * posix/tst-rfc3484-2.c: Likewise.
56082         * posix/tst-rfc3484-3.c: Likewise.
56084         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56085         process_vm_writev.
56086         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56087         process_vm_writev.
56088         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56089         process_vm_writev from libc using GLIBC_2.15 version.
56091         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56093 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56095         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56096         stack usage.
56098 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56100         [BZ #13367]
56101         * nss/getent.c (initgroups_keys): Show error message in case no group
56102         names are given.
56104         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56105         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56106         __bump_nl_timestamp.
56107         * nscd/connections (nscd_init): When host database is served open
56108         netlink socket and request notification about configuration changes.
56109         (main_loop_poll): Track netlink file descriptor and bump timestamp
56110         in case data becomes available.
56111         (main_loop_epoll): Likewise.
56112         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56113         (database_pers_head): Add extra_data fileds.
56114         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56115         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56116         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56117         Adjust caller.
56118         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56119         in6ai data, call __free_in6ai.
56120         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56121         Add -DHAVE_NETLINK.
56122         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56123         interface information.  Reuse previous data if netlink timestamp
56124         is not changed.
56125         (__bump_nl_timestamp): New function.
56126         (__free_in6ai): New function.
56128 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56130         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56131         close_not_cancel_no_status here.
56132         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56134 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56136         [BZ #13276]
56137         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56138         return value.
56140         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56141         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56142         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56144 2011-07-03  Andreas Jaeger  <aj@suse.de>
56146         [BZ #10709]
56147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56148         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56149         * math/libm-test.inc (sin_test): Add test case.
56151 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56153         [BZ #13337]
56154         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56155         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56157         * elf/chroot_canon.c (chroot_canon): Cleanups.
56159         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56161         [BZ #13335]
56162         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56163         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56165         * string/test-strchr.c: Make usable for strchrnul testing.
56166         * string/test-strchrnul.c: New file.
56167         * string/Makefile (strop-tests): Add strchrnul.
56169         * po/it.po: Update from translation team.
56170         * po/es.po: Likewise.
56172 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56174         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56175         the three constants needed as parameters.  Drop the others.
56176         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56177         __m128i_strloadu_tolower.
56178         Create and initialize variable zero and use it in all the places
56179         where _mm_setzero_si128 was used.
56181         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56182         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56183         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56184         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56185         anymore.
56186         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56187         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56188         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56189         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56190         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56191         __mpranred, __mptan.
56192         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56193         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56194         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56195         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56196         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56197         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56198         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56199         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56200         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56202 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56204         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56205         redefine if SHARED.
56206         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56208         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56209         wide char related routines to wcsmbs subdir.
56211 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56213         [BZ #13344]
56214         * misc/sys/cdefs.h (__THROWNL): Define.
56215         * posix/unistd.h: Use __THREADNL instead of __THREAD
56216         for memory synchronization functions.
56218 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56220         [BZ #13349]
56221         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56222         doesn't exist.
56223         * manual/stdio.texi (Obstack Streams): Node removed.
56225 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56227         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56228         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56229         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56231         * math/math_private.h (math_force_eval): Allow non-addressable
56232         arguments.
56233         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56235 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56237         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56238         file is not needed.
56240         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56241         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56242         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56243         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56244         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56245         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56246         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56247         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56248         Add AVX variants.
56249         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56250         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56251         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56252         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56253         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56254         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56255         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56256         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56257         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56258         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56259         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56260         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56261         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56262         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56263         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56264         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56265         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56266         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56267         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56269         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56270         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56272         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56273         place.  Use VEX encoding when compiling for AVX.
56275 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56277         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56278         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56280         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56282 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56284         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56285         useless if() expression.
56286         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56287         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56289         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56290         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56291         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56294         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56295         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56296         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56297         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56298         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56299         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56300         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56301         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56302         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56303         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56304         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56306         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56308 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56310         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56311         condition.
56312         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56314 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56316         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56317         .text section.  Avoid duplicate constants.
56318         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56328         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56329         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56330         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56332         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56333         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56335         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56337         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56338         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56341         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56342         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56343         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56344         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56345         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56346         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56347         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56348         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56349         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56350         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56351         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56352         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56353         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56354         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56355         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56356         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56357         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56358         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56359         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56360         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56361         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56362         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56364 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56366         * sysdeps/x86_64/dla.h: Move to ...
56367         * sysdeps/x86_64/fpu/dla.h: ...here.
56368         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56369         situations.  Use __builtin_fma only for gcc 4.6 and up.
56371         * config.make.in: Add have-mfma4 entry.
56372         * configure.in: Substitute libc_cv_cc_fma4.
56373         * math/Makefile (dbl-only-routines): Add sincostab.
56374         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56375         Use __sincostab not sincos.
56376         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56377         name is a macro.
56378         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56381         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56382         using __copysign.
56383         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56384         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56385         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56386         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56387         and __inv.
56388         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56389         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56390         __copysign.
56391         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56392         define aliases when function name is a macro.
56393         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56394         sysdeps/ieee754/dbl-64/sincos.tbl.
56395         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56396         fma4-enabled routines.
56397         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56398         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56399         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56400         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56401         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56402         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56403         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56404         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56405         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56406         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56407         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56408         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56409         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56410         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56411         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56412         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56413         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56414         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56415         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56416         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56417         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56418         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56419         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56420         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56421         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56422         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56423         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56424         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56425         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56426         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56428         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56429         rename.
56430         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56431         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56435         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56436         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56437         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56439 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56441         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56443 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56447         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56448         prediction.
56449         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56451         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56452         Remove unused variable magic_bits.
56453         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56455         * string/strnlen.c: Define and use STRNLEN macro.
56456         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56457         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56458         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56459         * wcsmbs/wcslen.c: Define and use WCSLEN.
56460         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56461         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56462         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56463         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56464         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56465         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56466         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56468 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56471         strnlen-sse2-no-bsf.
56472         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56473         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56474         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56475         Add strnlen support.
56476         (USE_AS_STRNLEN): New macro.
56477         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56478         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56479         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56480         * sysdeps/x86_64/wcslen.S: New file.
56482 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56484         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56485         XMM-moves are used for copying on small sizes.
56487 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56489         * wcsmbs/Makefile (strop-tests): Add wcschr.
56490         * wcsmbs/test-wcschr.c: New file.
56491         * string/test-strchr.c: Update.
56492         Add wcschr support.
56493         (WIDE): New macro.
56495 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56497         * wcsmbs/Makefile (strop-tests): Add wcslen.
56498         * wcsmbs/test-wcslen.c: New file.
56499         * string/test-strlen.c: Update.
56500         Add wcslen support.
56501         (WIDE): New macro.
56503 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56505         * po/it.po: Update from translation team.
56507 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56509         * sysdeps/x86_64/wcscmp.S: Update.
56510         Fix wrong comparison semantics.
56511         wcscmp shall use signed comparison not unsigned.
56512         Don't use substraction to avoid overflow bug.
56513         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56514         * wcsmbc/wcscmp.c: Likewise.
56515         * string/test-strcmp.c: Likewise.
56516         Add new tests to check cases with negative values.
56518 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56520         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56521         * sysdeps/x86_64/dla.h: ...here.  New file.
56522         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56527         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56532 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56534         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56535         __ynl_finite aliases.
56537 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56541         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56542         define DLA_FMA.
56543         [DLA_FMA] (EMULV): Use DLA_FMA.
56544         [DLA_FMA] (MUL12): Use EMULV.
56545         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56546         that are not needed.
56547         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56551         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56552         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56555 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56557         * math/s_nan.c: Undef __nan.
56558         * math/s_nanf.c: Undef __nanf.
56559         * math/s_nanl.c: Undef __nanl.
56560         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56561         "math_private.h".
56563 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56565         * math/s_catan.c: Add branch predictions.
56566         * math/s_catanf.c: Likewise.
56567         * math/s_catanh.c: Likewise.
56568         * math/s_catanhf.c: Likewise.
56569         * math/s_catanhl.c: Likewise.
56570         * math/s_catanl.c: Likewise.
56571         * math/s_cexp.c: Likewise.
56572         * math/s_cexpf.c: Likewise.
56573         * math/s_cexpl.c: Likewise.
56574         * math/s_clog.c: Likewise.
56575         * math/s_clog10.c: Likewise.
56576         * math/s_clog10f.c: Likewise.
56577         * math/s_clog10l.c: Likewise.
56578         * math/s_clogf.c: Likewise.
56579         * math/s_clogl.c: Likewise.
56580         * math/s_csqrt.c: Likewise.
56581         * math/s_csqrtf.c: Likewise.
56582         * math/s_csqrtl.c: Likewise.
56583         * math/s_ctanf.c: Likewise.
56584         * math/s_ctanh.c: Likewise.
56585         * math/s_ctanhf.c: Likewise.
56586         * math/s_ctanhl.c: Likewise.
56587         * math/s_ctanl.c: Likewise.
56589         * math/math_private.h: Define __nan, __nanf, __nanl.
56590         * math/s_cacosh.c: Include <math_private.h>.
56591         * math/s_cacoshl.c: Likewise.
56592         * math/s_casinh.c: Likewise.
56593         * math/s_casinhf.c: Likewise.
56594         * math/s_casinhl.c: Likewise.
56595         * math/s_ccos.c: Rely entire on ccosh.
56596         * math/s_ccosf.c: Rely entire on ccoshf.
56597         * math/s_ccosl.c: Rely entirely on ccoshl.
56598         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56599         Remove tests for FE_INVALID.
56600         * math/s_ccoshf.c: Likewise.
56601         * math/s_ccoshl.c: Likewise.
56602         * math/s_csin.c: Likewise.
56603         * math/s_csinf.c: Likewise.
56604         * math/s_csinh.c Likewise.
56605         * math/s_csinhf.c: Likewise.
56606         * math/s_csinhl.c: Likewise.
56607         * math/s_csinl.c: Likewise.
56608         * math/s_ctan.c: Likewise.
56609         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56610         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56611         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56613 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56616         compilation problems.
56618         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56619         __builtin_expect.
56621 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56623         * sysdeps/i386/configure.in: Test for -mfma4 option.
56624         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56625         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56626         COMMON_CPUID_INDEX_80000001.
56627         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56628         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56629         use it if FMA3 is not supported.
56630         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56632         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56633         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56635 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56637         [BZ #12892]
56638         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56639         it would create a cycle with a link time dependency.
56641 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56643         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56644         instruction.
56645         * string/Makefile (strop-tests): Add rawmemchr.
56646         * string/test-rawmemchr.c: New file.
56648         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56649         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56650         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56651         when compiling str{,n}casecmp and when AVX is available.  Hook up
56652         new optimized code in initializers.
56654 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56656         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56657         __feraiseexcept instead of feraiseexcept.
56659 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56661         * math/math_private.h: Define defaults for libc_fetestexcept and
56662         libc_feupdateenv.
56663         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56664         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56665         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56666         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56667         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56668         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56669         libc_fetestexcept and libc_feupdateenv.
56671         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56672         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56673         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56674         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56675         libc_feholdexcept_setround.
56677         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56678         Add s_nearbyint-c and s_nearbyintf-c.
56679         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56680         nearbyintf inlines.
56681         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56682         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56683         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56684         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56686         * math/math_private.h: Define defaults for libc_fegetround,
56687         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56688         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56689         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56690         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56691         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56692         standard functions.
56693         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56694         Remove comments and hacks for old compiler versions.
56695         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56696         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56697         libc_feholdexceptl.
56699 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56701         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56702         (__feraiseexcept_renamed): Add __NTH.
56703         (feraiseexcept): Add __NTH.  Rename local variables to fix
56704         namespace violations.
56706 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56708         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56710         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56712         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56713         recently added interfaces.
56714         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56716         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56717         about macro parameter expansion.
56719         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56720         __NO_MATH_INLINES is defined.  Cleanups.
56722         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56723         and __floorf is target has SSE4.1.
56724         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56725         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56726         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56727         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56729         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56730         name.
56731         (floorf): Likewise.
56733         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56735 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56737         * misc/sys/cdefs.h: Fix last change.
56739         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56740         database lookup.
56742 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56744         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56746         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56747         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56748         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56749         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56750         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56751         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56752         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56753         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56754         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56755         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56756         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56757         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56758         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56759         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56760         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56761         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56762         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56763         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56764         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56765         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56766         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56767         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56769         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56770         ceil, ceilf, floor, floorf.
56772         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56773         Perform IRELATIVE relocations last.
56775         * elf/do-rel.h: Add another parameter nrelative, replacing the
56776         local variable with the same name.  Change name of the function
56777         to end in Rel or Rela (uppercase).
56778         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56779         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56780         elf_dynamic_do_##reloc function.
56782 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56784         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56785         is sufficient, at least on modern CPUs.
56787         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56789         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56790         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56792         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56793         __expl_finite.
56794         * math/bits/math-finite.h: Add entries for exp.
56795         * math/e_expl.c: Add __*_finite alias.
56796         * sysdeps/i386/fpu/e_exp.S: Likewise.
56797         * sysdeps/i386/fpu/e_expf.S: Likewise.
56798         * sysdeps/i386/fpu/e_expl.c: Likewise.
56799         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56800         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56801         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56802         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56803         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56804         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56805         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56807         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56808         is sufficient, at least on modern CPUs.
56810         * ctype/ctype-info.c (__ctype_init): Define.
56811         * include/ctype.h (__ctype_init): Declare.
56812         (__ctype_b_loc): The variable is always initialized.
56813         (__ctype_toupper_loc): Likewise.
56814         (__ctype_tolower_loc): Likewise.
56815         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56816         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56818 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56820         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56822         * configure.in: Also look in $cxxmachine/include for C++ system
56823         headers.
56825 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56827         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56828         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56829         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56830         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56831         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56832         (USE_AS_WMEMCMP): New macro.
56833         Fixing indents.
56834         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56835         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56836         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56837         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56838         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56839         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56840         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56841         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56842         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56843         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56844         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56845         (USE_AS_WMEMCMP): New macro.
56846         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56847         * sysdeps/string/test-memcmp.c: Update.
56848         Fix simple_wmemcmp.
56849         Add new tests.
56850         * wcsmbs/wmemcmp.c: Update.
56851         (WMEMCMP): New macro.
56852         Fix overflow bug.
56854 2011-10-12  Andreas Jaeger  <aj@suse.de>
56856         [BZ #13268]
56857         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56859 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56861         * libio/iofwide.c (do_length): Avoid warning.
56863         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56865 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56867         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56869         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56870         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56871         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56872         * sysdeps/i386/i686/fpu/e_log.S: New file.
56873         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56874         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56876         * ctype/ctype.h: Add support for inlined isXXX functions when
56877         compiling C++ code.
56879 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56881         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56883         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56885 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56887         [BZ #13291]
56888         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56890 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56892         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56893         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56894         feraiseexcept.
56896         * sysdeps/x86_64/memrchr.S: Check for zero size.
56898         * string/stratcliff.c: Add memrchr tests.
56900 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56903         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56904         rawmemchr-sse2 rawmemchr-sse2-bsf.
56905         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56906         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56907         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56908         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56909         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56910         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56911         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56912         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56913         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56914         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56915         * string/memrchr.c (MEMRCHR): New macro.
56917 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56919         Add integration with gcc's -ffinite-math-only and optimize wrapper
56920         functions in libm.
56921         * Versions.def: Define GLIBC_2.15 version for libm.
56922         * math/Makefile (headers): Add bits/math-finite.h.
56923         * math/bits/math-finite.h: New file.
56924         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56925         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56926         * math/e_acoshl.c: Add __*_finite alias.
56927         * math/e_acosl.c: Likewise.
56928         * math/e_asinl.c: Likewise.
56929         * math/e_atan2l.c: Likewise.
56930         * math/e_atanhl.c: Likewise.
56931         * math/e_coshl.c: Likewise.
56932         * math/e_exp10.c: Likewise.
56933         * math/e_exp10f.c: Likewise.
56934         * math/e_exp10l.c: Likewise.
56935         * math/e_exp2l.c: Likewise.
56936         * math/e_fmodl.c: Likewise.
56937         * math/e_gammal_r.c: Likewise.
56938         * math/e_hypotl.c: Likewise.
56939         * math/e_j0l.c: Likewise.
56940         * math/e_j1l.c: Likewise.
56941         * math/e_jnl.c: Likewise.
56942         * math/e_lgammal_r.c: Likewise.
56943         * math/e_log10l.c: Likewise.
56944         * math/e_log2l.c: Likewise.
56945         * math/e_logl.c: Likewise.
56946         * math/e_powl.c: Likewise.
56947         * math/e_sinhl.c: Likewise.
56948         * math/e_sqrtl.c: Likewise.
56949         * math/e_scalb.c: Completely rewritten and optimized.
56950         * math/e_scalbf.c: Likewise.
56951         * math/e_scalbl.c: Likewise.
56952         * math/w_acos.c: Likewise.
56953         * math/w_acosf.c: Likewise.
56954         * math/w_acosl.c: Likewise.
56955         * math/w_acosh.c: Likewise.
56956         * math/w_acoshf.c: Likewise.
56957         * math/w_acoshl.c: Likewise.
56958         * math/w_asin.c: Likewise.
56959         * math/w_asinf.c: Likewise.
56960         * math/w_asinl.c: Likewise.
56961         * math/w_atan2.c: Likewise.
56962         * math/w_atan2f.c: Likewise.
56963         * math/w_atan2l.c: Likewise.
56964         * math/w_atanh.c: Likewise.
56965         * math/w_atanhf.c: Likewise.
56966         * math/w_atanhl.c: Likewise.
56967         * math/w_exp10.c: Likewise.
56968         * math/w_exp10f.c: Likewise.
56969         * math/w_exp10l.c: Likewise.
56970         * math/w_fmod.c: Likewise.
56971         * math/w_fmodf.c: Likewise.
56972         * math/w_fmodl.c: Likewise.
56973         * math/w_j0.c: Likewise.
56974         * math/w_j0f.c: Likewise.
56975         * math/w_j0l.c: Likewise.
56976         * math/w_j1.c: Likewise.
56977         * math/w_j1f.c: Likewise.
56978         * math/w_j1l.c: Likewise.
56979         * math/w_jn.c: Likewise.
56980         * math/w_jnf.c: Likewise.
56981         * math/w_log.c: Likewise.
56982         * math/w_logf.c: Likewise.
56983         * math/w_logl.c: Likewise.
56984         * math/w_log10.c: Likewise.
56985         * math/w_log10f.c: Likewise.
56986         * math/w_log10l.c: Likewise.
56987         * math/w_log2.c: Likewise.
56988         * math/w_log2f.c: Likewise.
56989         * math/w_log2l.c: Likewise.
56990         * math/w_pow.c: Likewise.
56991         * math/w_powf.c: Likewise.
56992         * math/w_powl.c: Likewise.
56993         * math/w_remainder.c: Likewise.
56994         * math/w_remainderf.c: Likewise.
56995         * math/w_remainderl.c: Likewise.
56996         * math/w_scalb.c: Likewise.
56997         * math/w_scalbf.c: Likewise.
56998         * math/w_scalbl.c: Likewise.
56999         * math/w_sqrt.c: Likewise.
57000         * math/w_sqrtf.c: Likewise.
57001         * math/w_sqrtl.c: Likewise.
57002         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57003         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57004         used.
57005         * math/math_private.h: Declare __kernel_standard_f.
57006         * math/w_cosh.c: Remove cruft and optimize a bit.
57007         * math/w_coshf.c: Likewise.
57008         * math/w_coshl.c: Likewise.
57009         * math/w_exp2.c: Likewise.
57010         * math/w_exp2f.c: Likewise.
57011         * math/w_exp2l.c: Likewise.
57012         * math/w_hypot.c: Likewise.
57013         * math/w_hypotf.c: Likewise.
57014         * math/w_hypotl.c: Likewise.
57015         * math/w_lgamma.c: Likewise.
57016         * math/w_lgamma_r.c: Likewise.
57017         * math/w_lgammaf.c: Likewise.
57018         * math/w_lgammaf_r.c: Likewise.
57019         * math/w_lgammal.c: Likewise.
57020         * math/w_lgammal_r.c: Likewise.
57021         * math/w_sinh.c: Likewise.
57022         * math/w_sinhf.c: Likewise.
57023         * math/w_sinhl.c: Likewise.
57024         * math/w_tgamma.c: Likewise.
57025         * math/w_tgammaf.c: Likewise.
57026         * math/w_tgammal.c: Likewise.
57027         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57028         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57029         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57030         Minor optimizations.  Pretty printing.  Remove cruft.
57031         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57032         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57033         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57034         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57035         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57036         * sysdeps/i386/fpu/e_asin.S: Likewise.
57037         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57038         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57039         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57040         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57041         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57042         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57043         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57044         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57045         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57046         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57047         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57048         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57049         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57050         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57051         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57052         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57053         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57054         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57055         * sysdeps/i386/fpu/e_log.S: Likewise.
57056         * sysdeps/i386/fpu/e_log10.S: Likewise.
57057         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57058         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57059         * sysdeps/i386/fpu/e_log2.S: Likewise.
57060         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57061         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57062         * sysdeps/i386/fpu/e_logf.S: Likewise.
57063         * sysdeps/i386/fpu/e_logl.S: Likewise.
57064         * sysdeps/i386/fpu/e_pow.S: Likewise.
57065         * sysdeps/i386/fpu/e_powf.S: Likewise.
57066         * sysdeps/i386/fpu/e_powl.S: Likewise.
57067         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57068         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57069         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57070         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57071         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57072         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57073         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57074         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57075         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57076         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57077         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57078         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57079         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57080         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57081         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57082         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57083         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57084         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57085         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57086         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57087         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57088         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57089         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57091         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57092         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57094         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57096         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57097         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57098         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57099         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57100         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57101         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57102         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57103         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57104         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57105         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57106         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57107         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57108         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57109         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57110         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57111         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57112         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57113         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57114         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57115         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57116         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57117         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57118         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57119         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57120         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57121         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57122         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57123         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57124         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57125         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57126         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57127         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57128         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57129         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57133         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57134         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57135         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57136         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57137         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57142         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57143         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57144         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57145         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57146         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57147         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57148         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57150         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57151         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57152         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57153         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57154         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57155         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57156         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57157         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57158         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57159         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57160         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57161         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57162         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57163         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57164         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57165         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57166         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57167         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57168         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57169         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57170         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57171         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57172         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57173         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57174         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57175         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57176         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57177         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57178         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57179         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57180         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57181         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57183         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57184         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57185         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57186         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57187         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57188         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57189         (__isnanf): Likewise.
57190         (__isinf_ns): Likewise.
57191         (__isinf_nsf): Likewise.
57192         (__finite): Likewise.
57193         (__finitef): Likewise.
57194         (__ieee754_sqrt): Define as macro.
57195         (__ieee754_sqrtf): Define as macro.
57196         (__ieee754_sqrtl): Define as macro.
57197         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57198         inlined copy.
57199         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57200         __FINITE_MATH_ONLY__ consistent.
57201         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57203 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57205         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57206         of rawmemchr.
57208         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57210 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57212         * po/ja.po: Update from translation team.
57214 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57216         * locale/programs/locarchive.c (prepare_address_space): New function.
57217         (create_archive, enlarge_archive, open_archive): Use it.
57219         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57220         inside [SHARED], where it is used.
57222         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57224         * nss/getent.c (netgroup_keys): Remove unused variable.
57225         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57227 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57229         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57230         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57232         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57233         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57234         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57235         * math/Makefile (libm-calls): Add s_isinf_ns.
57236         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57237         * math/multc3.c: Likewise.
57238         * math/s_casin.c: Likewise.
57239         * math/s_casinf.c: Likewise.
57240         * math/s_casinl.c: Likewise.
57241         * math/s_ccos.c: Likewise.
57242         * math/s_ccosf.c: Likewise.
57243         * math/s_ccosl.c: Likewise.
57244         * math/s_ctan.c: Likewise.
57245         * math/s_ctanf.c: Likewise.
57246         * math/s_ctanh.c: Likewise.
57247         * math/s_ctanhf.c: Likewise.
57248         * math/s_ctanhl.c: Likewise.
57249         * math/s_ctanl.c: Likewise.
57250         * math/w_fmod.c: Likewise.
57251         * math/w_fmodf.c: Likewise.
57252         * math/w_fmodl.c: Likewise.
57253         * math/w_remainder.c: Likewise.
57254         * math/w_remainderf.c: Likewise.
57255         * math/w_remainderl.c: Likewise.
57256         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57257         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57258         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57259         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57260         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57261         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57262         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57263         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57265         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57266         of the number.
57267         * stdio-common/printf_fphex.c: Likewise.
57268         * stdio-common/printf_size.c: Likewise.
57270         * math/e_exp10.c: Include math_private.h using <...> not "...".
57271         * math/e_exp10f.c: Likewise.
57272         * math/e_exp10l.c: Likewise.
57273         * math/e_exp2l.c: Likewise.
57274         * math/e_j0l.c: Likewise.
57275         * math/e_j1l.c: Likewise.
57276         * math/e_jnl.c: Likewise.
57277         * math/e_lgammal_r.c: Likewise.
57278         * math/e_rem_pio2l.c: Likewise.
57279         * math/e_scalb.c: Likewise.
57280         * math/e_scalbf.c: Likewise.
57281         * math/e_scalbl.c: Likewise.
57282         * math/k_cosl.c: Likewise.
57283         * math/k_sinl.c: Likewise.
57284         * math/k_tanl.c: Likewise.
57285         * math/s_cacoshf.c: Likewise.
57286         * math/s_catan.c: Likewise.
57287         * math/s_catanf.c: Likewise.
57288         * math/s_catanh.c: Likewise.
57289         * math/s_catanhf.c: Likewise.
57290         * math/s_catanhl.c: Likewise.
57291         * math/s_catanl.c: Likewise.
57292         * math/s_ccosh.c: Likewise.
57293         * math/s_ccoshf.c: Likewise.
57294         * math/s_ccoshl.c: Likewise.
57295         * math/s_cexp.c: Likewise.
57296         * math/s_cexpf.c: Likewise.
57297         * math/s_cexpl.c: Likewise.
57298         * math/s_clog.c: Likewise.
57299         * math/s_clog10.c: Likewise.
57300         * math/s_clog10f.c: Likewise.
57301         * math/s_clog10l.c: Likewise.
57302         * math/s_clogf.c: Likewise.
57303         * math/s_clogl.c: Likewise.
57304         * math/s_csin.c: Likewise.
57305         * math/s_csinf.c: Likewise.
57306         * math/s_csinh.c: Likewise.
57307         * math/s_csinhf.c: Likewise.
57308         * math/s_csinhl.c: Likewise.
57309         * math/s_csinl.c: Likewise.
57310         * math/s_csqrt.c: Likewise.
57311         * math/s_csqrtf.c: Likewise.
57312         * math/s_csqrtl.c: Likewise.
57313         * math/s_ctan.c: Likewise.
57314         * math/s_ctanf.c: Likewise.
57315         * math/s_ctanh.c: Likewise.
57316         * math/s_ctanhf.c: Likewise.
57317         * math/s_ctanhl.c: Likewise.
57318         * math/s_ctanl.c: Likewise.
57319         * math/s_ldexp.c: Likewise.
57320         * math/s_ldexpf.c: Likewise.
57321         * math/s_ldexpl.c: Likewise.
57322         * math/s_significand.c: Likewise.
57323         * math/s_significandf.c: Likewise.
57324         * math/s_significandl.c: Likewise.
57325         * math/w_acos.c: Likewise.
57326         * math/w_acosf.c: Likewise.
57327         * math/w_acosh.c: Likewise.
57328         * math/w_acoshf.c: Likewise.
57329         * math/w_acoshl.c: Likewise.
57330         * math/w_acosl.c: Likewise.
57331         * math/w_asin.c: Likewise.
57332         * math/w_asinf.c: Likewise.
57333         * math/w_asinl.c: Likewise.
57334         * math/w_atan2.c: Likewise.
57335         * math/w_atan2f.c: Likewise.
57336         * math/w_atan2l.c: Likewise.
57337         * math/w_atanh.c: Likewise.
57338         * math/w_atanhf.c: Likewise.
57339         * math/w_atanhl.c: Likewise.
57340         * math/w_cosh.c: Likewise.
57341         * math/w_coshf.c: Likewise.
57342         * math/w_coshl.c: Likewise.
57343         * math/w_dremf.c: Likewise.
57344         * math/w_exp10.c: Likewise.
57345         * math/w_exp10f.c: Likewise.
57346         * math/w_exp10l.c: Likewise.
57347         * math/w_exp2.c: Likewise.
57348         * math/w_exp2f.c: Likewise.
57349         * math/w_fmod.c: Likewise.
57350         * math/w_fmodf.c: Likewise.
57351         * math/w_fmodl.c: Likewise.
57352         * math/w_hypot.c: Likewise.
57353         * math/w_hypotf.c: Likewise.
57354         * math/w_hypotl.c: Likewise.
57355         * math/w_j0.c: Likewise.
57356         * math/w_j0f.c: Likewise.
57357         * math/w_j0l.c: Likewise.
57358         * math/w_j1.c: Likewise.
57359         * math/w_j1f.c: Likewise.
57360         * math/w_j1l.c: Likewise.
57361         * math/w_jn.c: Likewise.
57362         * math/w_jnf.c: Likewise.
57363         * math/w_jnl.c: Likewise.
57364         * math/w_lgamma.c: Likewise.
57365         * math/w_lgamma_r.c: Likewise.
57366         * math/w_lgammaf.c: Likewise.
57367         * math/w_lgammaf_r.c: Likewise.
57368         * math/w_lgammal.c: Likewise.
57369         * math/w_lgammal_r.c: Likewise.
57370         * math/w_log.c: Likewise.
57371         * math/w_log10.c: Likewise.
57372         * math/w_log10f.c: Likewise.
57373         * math/w_log10l.c: Likewise.
57374         * math/w_log2.c: Likewise.
57375         * math/w_log2f.c: Likewise.
57376         * math/w_log2l.c: Likewise.
57377         * math/w_logf.c: Likewise.
57378         * math/w_logl.c: Likewise.
57379         * math/w_pow.c: Likewise.
57380         * math/w_powf.c: Likewise.
57381         * math/w_powl.c: Likewise.
57382         * math/w_remainder.c: Likewise.
57383         * math/w_remainderf.c: Likewise.
57384         * math/w_remainderl.c: Likewise.
57385         * math/w_scalb.c: Likewise.
57386         * math/w_scalbf.c: Likewise.
57387         * math/w_scalbl.c: Likewise.
57388         * math/w_sinh.c: Likewise.
57389         * math/w_sinhf.c: Likewise.
57390         * math/w_sinhl.c: Likewise.
57391         * math/w_sqrt.c: Likewise.
57392         * math/w_sqrtf.c: Likewise.
57393         * math/w_sqrtl.c: Likewise.
57394         * math/w_tgamma.c: Likewise.
57395         * math/w_tgammaf.c: Likewise.
57396         * math/w_tgammal.c: Likewise.
57398         * po/ja.po: Update from translation team.
57400 2011-09-29  Andreas Jaeger  <aj@suse.de>
57402         [BZ #13179]
57403         * sunrpc/netname.c (netname2host): Fix logic.
57405         [BZ #6779]
57406         [BZ #6783]
57407         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57408         correctly.
57409         * math/w_remainder.c (__remainder): Likewise.
57410         * math/w_remainderf.c (__remainderf): Likewise.
57411         * math/libm-test.inc (remainder_test): Add test cases.
57413 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57415         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57416         sdiv_qrnnd.
57418 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57420         * string/test-memcmp.c: Avoid unncessary #defines.
57421         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57423 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57425         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57426         Use new sse2 version for core i3 - i7 as it's faster
57427         than sse42 version.
57428         (bit_Prefer_PMINUB_for_stringop): New.
57429         * sysdeps/x86_64/rawmemchr.S: Update.
57430         Replace with faster SSE2 version.
57431         * sysdeps/x86_64/memrchr.S: New file.
57432         * sysdeps/x86_64/memchr.S: Update.
57433         Replace with faster SSE2 version.
57435 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57437         * elf/dl-load.c (lose): Add cast to avoid warning.
57439 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57441         * po/ca.po: Update from translation team.
57443         * inet/getnetgrent_r.c: Hook up nscd.
57444         * nscd/Makefile (routines): Add nscd_netgroup.
57445         (nscd-modules): Add netgroupcache.
57446         (CFLAGS-netgroupcache.c): Define.
57447         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57448         (cache_search): Add const to second parameter.
57449         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57450         INNETGR.
57451         (dbs): Add netgrdb entry.
57452         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57453         (verify_persistent_db): Handle netgrdb.
57454         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57455         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57456         GETFDNETGR.
57457         (netgroup_response_header): Define.
57458         (innetgroup_response_header): Define.
57459         (datahead): Add netgroup_response_header and innetgroup_response_header
57460         elements.
57461         * nscd/nscd.conf: Add entries for netgroup cache.
57462         * nscd/nscd.h (dbtype): Add netgrdb.
57463         (_PATH_NSCD_NETGROUP_DB): Define.
57464         (netgroup_iov_disabled): Declare.
57465         (xmalloc, xcalloc, xrealloc): Move declarations here.
57466         (cache_search): Adjust prototype.
57467         Add netgroup-related prototypes.
57468         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57469         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57470         (__nscd_innetgr): Declare.
57471         * nscd/selinux.c (perms): Use access_vector_t as element type and
57472         add netgroup-related initializers.
57473         * nscd/netgroupcache.c: New file.
57474         * nscd/nscd_netgroup.c: New file.
57475         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57476         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57477         For four parameters use innetgr.
57478         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57479         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57480         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57481         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57483         * nscd/connections.c (register_traced_file): Don't register file
57484         for disabled databases.
57486 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57488         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57490         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57491         from tree and freeing node.
57493 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57495         * nss/nsswitch.c (__nss_database_lookup): Handle
57496         nss_parse_service_list out of memory case.
57498 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57500         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57501         out of memory case.
57503 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57505         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57506         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57507         pass it down.
57508         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57509         elf_machine_rela, elf_machine_lazy_rel.
57510         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57511         (ELF_DYNAMIC_DO_REL): Likewise.
57512         (ELF_DYNAMIC_DO_RELA): Likewise.
57513         (ELF_DYNAMIC_RELOCATE): Likewise.
57514         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57515         to ELF_DYNAMIC_DO_REL.
57516         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57517         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57518         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57519         elf_machine_rela.
57520         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57521         skip_ifunc, don't call ifunc function if non-zero.
57522         (elf_machine_rela): Likewise.
57523         (elf_machine_lazy_rel): Likewise.
57524         (elf_machine_lazy_rela): Likewise.
57525         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57526         (elf_machine_lazy_rel): Likewise.
57527         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57528         Likewise.
57529         (elf_machine_lazy_rel): Likewise.
57530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57531         Likewise.
57532         (elf_machine_lazy_rel): Likewise.
57533         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57534         (elf_machine_lazy_rel): Likewise.
57535         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57536         (elf_machine_lazy_rel): Likewise.
57537         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57538         (elf_machine_lazy_rel): Likewise.
57539         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57540         (elf_machine_lazy_rel): Likewise.
57541         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57542         (elf_machine_lazy_rel): Likewise.
57543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57544         (elf_machine_lazy_rel): Likewise.
57546 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57548         * nss/nss_files/files-init.c (_nss_files_init): Use static
57549         initialization for all the *_traced_file variables.
57551 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57553         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57555 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57557         [BZ #13226]
57558         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57560 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57562         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57563         Reread the line before reparsing it.
57565 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57567         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57569 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57570             Maxim Kuvyrkov  <maxim@codesourcery.com>
57571             Joseph Myers  <joseph@codesourcery.com>
57573         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57574         if needed for __stack_chk_guard.
57576 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57578         * sysdeps/posix/spawni.c (script_execute): Always define it.
57579         It will be optimized away if unused.
57580         (maybe_script_execute): New function.
57581         (__spawni): Call it.
57583         * Makerules: Don't include tls.make.
57584         (config-tls): Always set to thread.
57585         * tls.make.c: File removed.
57587 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57589         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57590         * config.make.in (CPPFLAGS-config): New substituted variable.
57592 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57594         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57596         [BZ #13192]
57597         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57598         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57600 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57602         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57603         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57604         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57605         (CALL_FAIL): Likewise.
57606         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57607         (CALL_FAIL): Macro removed.
57608         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57610 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57612         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57613         for __FINITE_MATH_ONLY__ == 1.
57615 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57617         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57618         __ieee754_sqrt instead of sqrt.
57619         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57620         __ieee754_sqrtf instead of sqrtf.
57621         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57622         __floorf instead of floorf.
57623         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57624         __floorf, __truncf instead of floorf, truncf.
57626 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57628         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57630         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57631         __extern_always_inline.
57632         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57633         32-bit.
57635 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57637         * elf/rtld.c (dl_main): Also relocate in dependency order when
57638         doing symbol dependency testing.
57640 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57642         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57643         Always define `refsym'.
57645 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57647         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57648         (__FD_ELT): Renamed from __FDELT.
57649         * misc/bits/select2.h (__FD_ELT): Likewise.
57650         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57651         __FD_MASK instead of __FDELT, __FDMASK.
57652         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57653         Likewise.
57654         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57655         Likewise.
57657         * elf/Makefile (gen-ldd): Fix pattern.
57659         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57660         (init_tls): Likewise.
57662 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57664         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57666 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57668         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57669         `struct cmsghdr *' instead of `void *'.
57670         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57671         Likewise.
57673 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57675         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57676         if non-absolute.
57677         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57678         ldd_rewrite_script.
57680 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57682         * configure.in: Remove --with-tls option.
57683         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57684         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57685         out in case it is missing.
57686         * sysdeps/ia64/elf/configure.in: Likewise.
57687         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57688         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57689         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57690         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57691         * sysdeps/sh/elf/configure.in: Likewise.
57692         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57693         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57694         * sysdeps/x86_64/elf/configure.in: Likewise.
57695         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57696         * sysdeps/mach/hurd/tls.h: Likewise.
57698         [BZ #13067]
57699         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57701         [BZ #13090]
57702         * configure.in: Fix use of AC_INIT.
57704         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57706 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57708         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57709         __set_errno.
57710         * malloc/hooks.c: Likewise.
57712         [BZ #11929]
57713         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57714         variables statically.
57715         (narenas): Initialize.
57716         (list_lock): Initialize.
57717         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57718         initializtion of main_arena and list_lock.  Small cleanups.
57719         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57720         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57721         Add initializers to main_arena and mp_.
57722         (malloc_state): Remove pagesize member.  Change all users to use
57723         GLRO(dl_pagesize).
57725         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57726         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57727         is always initialized.
57729         * malloc/malloc.c: Removed unused configurations and dead code.
57730         * malloc/arena.c: Likewise.
57731         * malloc/hooks.c: Likewise.
57732         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57734         * include/tls.h: Removed.  USE___THREAD must always be defined.
57735         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57736         * elf/dl-libc.c: Likewise.
57737         * elf/dl-tsd.c: Likewise.
57738         * include/errno.h: Likewise.
57739         * include/netdb.h: Likewise.
57740         * include/resolv.h: Likewise.
57741         * inet/herrno-loc.c: Likewise.
57742         * inet/herrno.c: Likewise.
57743         * malloc/arena.c: Likewise.
57744         * malloc/hooks.c: Likewise.
57745         * malloc/malloc.c: Likewise.
57746         * resolv/res-state.c: Likewise.
57747         * resolv/res_libc.c: Likewise.
57748         * sysdeps/i386/dl-machine.h: Likewise.
57749         * sysdeps/ia64/dl-machine.h: Likewise.
57750         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57751         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57752         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57753         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57754         * sysdeps/sh/dl-machine.h: Likewise.
57755         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57756         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57757         * sysdeps/unix/i386/sysdep.S: Likewise.
57758         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57759         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57764         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57768         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57769         * sysdeps/x86_64/dl-machine.h: Likewise.
57770         * tls.make.c: Likewise.
57772         * configure.in: Remove --with-__thread option.  Make tests for
57773         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57774         tls_model attribute fail if no support is available.  Remove
57775         USE_IN_LIBIO.
57776         * Makeconfig: Adjust for dropped configure option.  All features are
57777         now mandatory.
57778         * Makerules: Likewise.
57779         * Versions.def: Likewise.
57780         * argp/argp-fmtstream.c: Likewise.
57781         * argp/argp-fmtstream.h: Likewise.
57782         * argp/argp-help.c: Likewise.
57783         * assert/assert.c: Likewise.
57784         * config.h.in: Likewise.
57785         * config.make.in: Likewise.
57786         * configure: Likewise.
57787         * configure.in: Likewise.
57788         * csu/Versions: Likewise.
57789         * csu/init.c: Likewise.
57790         * elf/tst-audit2.c: Likewise.
57791         * elf/tst-tls10.c: Likewise.
57792         * elf/tst-tls10.h: Likewise.
57793         * elf/tst-tls11.c: Likewise.
57794         * elf/tst-tls12.c: Likewise.
57795         * elf/tst-tls14.c: Likewise.
57796         * elf/tst-tlsmod11.c: Likewise.
57797         * elf/tst-tlsmod12.c: Likewise.
57798         * elf/tst-tlsmod13.c: Likewise.
57799         * elf/tst-tlsmod13a.c: Likewise.
57800         * elf/tst-tlsmod14a.c: Likewise.
57801         * elf/tst-tlsmod15b.c: Likewise.
57802         * elf/tst-tlsmod16a.c: Likewise.
57803         * elf/tst-tlsmod16b.c: Likewise.
57804         * elf/tst-tlsmod7.c: Likewise.
57805         * elf/tst-tlsmod8.c: Likewise.
57806         * elf/tst-tlsmod9.c: Likewise.
57807         * gmon/gmon.c: Likewise.
57808         * grp/fgetgrent_r.c: Likewise.
57809         * grp/putgrent.c: Likewise.
57810         * hurd/fopenport.c: Likewise.
57811         * include/libc-symbols.h: Likewise.
57812         * include/tls.h: Likewise.
57813         * intl/gettextP.h: Likewise.
57814         * intl/loadinfo.h: Likewise.
57815         * locale/global-locale.c: Likewise.
57816         * locale/localeinfo.h: Likewise.
57817         * mach/devstream.c: Likewise.
57818         * malloc/arena.c: Likewise.
57819         * malloc/set-freeres.c: Likewise.
57820         * misc/err.c: Likewise.
57821         * misc/getttyent.c: Likewise.
57822         * misc/mntent_r.c: Likewise.
57823         * posix/getopt.c: Likewise.
57824         * posix/wordexp.c: Likewise.
57825         * pwd/fgetpwent_r.c: Likewise.
57826         * resolv/Versions: Likewise.
57827         * resolv/res_hconf.c: Likewise.
57828         * shadow/fgetspent_r.c: Likewise.
57829         * shadow/putspent.c: Likewise.
57830         * stdio-common/printf_fphex.c: Likewise.
57831         * stdio-common/tmpfile.c: Likewise.
57832         * stdlib/abort.c: Likewise.
57833         * stdlib/fmtmsg.c: Likewise.
57834         * sunrpc/auth_unix.c: Likewise.
57835         * sunrpc/clnt_perr.c: Likewise.
57836         * sunrpc/clnt_tcp.c: Likewise.
57837         * sunrpc/clnt_udp.c: Likewise.
57838         * sunrpc/clnt_unix.c: Likewise.
57839         * sunrpc/openchild.c: Likewise.
57840         * sunrpc/svc_simple.c: Likewise.
57841         * sunrpc/svc_tcp.c: Likewise.
57842         * sunrpc/svc_udp.c: Likewise.
57843         * sunrpc/svc_unix.c: Likewise.
57844         * sunrpc/xdr.c: Likewise.
57845         * sunrpc/xdr_array.c: Likewise.
57846         * sunrpc/xdr_rec.c: Likewise.
57847         * sunrpc/xdr_ref.c: Likewise.
57848         * sunrpc/xdr_stdio.c: Likewise.
57850 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57852         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57854 2011-07-03  Andreas Jaeger  <aj@suse.de>
57856         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57857         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57858         regenerate with gen-libm-tests.pl.
57860 2010-05-12  Petr Baudis  <pasky@suse.cz>
57862         [BZ #11589]
57863         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57864         around j0() zero points by switching to j1().
57865         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57866         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57868         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57870 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57872         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57873         instead of 0.
57874         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57875         instead of 0.
57876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57877         Patch in part by Pavel Roskin <proski@gnu.org>.
57879         [BZ #13138]
57880         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57881         realloc.
57882         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57883         Free memory block if necessary.
57885         [BZ #12847]
57886         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57887         be NULL.  Don't lock in this case.
57889 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57891         * elf/elf.h (ELFOSABI_GNU): New macro.
57892         (ELFOSABI_LINUX): Define to that.
57894 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57896         * string/strncat.c (strncat): Undef the symbol in case it has been
57897         defined in bits/string.h.
57899 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57901         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57903         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57904         link map.
57906 2011-08-17  Andreas Jaeger  <aj@suse.de>
57908         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57910 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57911             Ian Lance Taylor  <iant@google.com>
57913         * math/libm-test.inc (lround_test): New testcase.
57914         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57916 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57918         * Makefile: Remove support for automatic cvs check-ins.
57919         * Makerules: Likewise.
57920         * config.make.in: Likewise.
57921         * configure.in: Likewise.
57922         * intl/Makefile: Likewise.
57923         * locale/Makefile: Likewise.
57924         * po/Makefile: Likewise.
57925         * posix/Makefile: Likewise.
57926         * sysdeps/gnu/Makefile: Likewise.
57927         * sysdeps/mach/hurd/Makefile: Likewise.
57928         * sysdeps/sparc/sparc32/Makefile: Likewise.
57930         [BZ #13118]
57931         * posix/Makefile (bug-regex32-ENV): Define.
57932         Patch by John Stanley <jpsinthemix@verizon.net>.
57934         * misc/Makefile (headers): Add bits/select2.h.
57935         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57936         * misc/bits/select2.h: New file.
57937         * include/bits/select2.h: New file.
57938         * debug/Makefile (routines): Add fdelt_chk.
57939         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57940         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57941         FD_ISSET.
57942         * debug/fdelt_chk.c: New file.
57944         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57945         * wcsmbs/test-wmemcmp.c: Likewise.
57946         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57947         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57949 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57951         * string/Makefile (strop-tests): Add memcmp.
57952         * string/test-wmemcmp.c: New file.
57953         * string/test-memcmp.c: Add wmemcmp support.
57955 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57957         [BZ #13153]
57958         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57959         2011-07-19 change.
57961         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57962         garbage value in a __mach_port_mod_refs call in the cases of the
57963         task-self and thread-self ports.
57965 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57967         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57969 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57971         * elf/dl-load.c (lose): Check for non-null L.
57973 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57975         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57977         * elf/dl-libc.c (dlerror_run): Pass back error code from
57978         dl_catch_error.
57980         [BZ #13123]
57981         * elf/dl-load.c (lose): Free l_origin if it is valid.
57983         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57984         names.
57985         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57986         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57987         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57988         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57989         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57990         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57992 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57994         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57995         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57996         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57997         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57998         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57999         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58000         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58001         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58002         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58003         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58005 2011-08-15  Alan Modra  <amodra@gmail.com>
58007         [BZ #13092]
58008         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58009         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58010         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58011         ppc_mcount to static-only-routines.
58012         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58013         __mcount_internal.
58014         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58015         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58017 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58019         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58020         for finite and infinity parameters.
58022 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58024         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58025         and add nop instructions for throughput optimization.
58026         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58028 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58030         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58031         aligned copy for power7 with vector-scalar instructions.
58032         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58034 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58036         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58037         AVX check.
58039 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58041         [BZ #13144]
58042         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58043         last change.
58045 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58047         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58048         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58049         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58051         clock_gettime.
58053 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58055         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58056         Forgot to demangle the pointer.
58058         * sysdeps/i386/sysdep.h: Define atom_text_section.
58059         * sysdeps/x86_64/sysdep.h: Likewise.
58060         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58061         section with atom_text_section.
58062         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58063         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58064         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58066         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58068         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58069         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58070         already be defined.  Change to take two parameters and don't assign
58071         result to variable.  Adjust all users.
58072         Define INTERNAL_GETTIME if not already defined.
58073         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58074         call.
58075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58076         HAVE_CLOCK_GETTIME_VSYSCALL.
58077         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58079         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58080         gettimeofday vsyscall, just use time.
58082 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58084         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58085         <errno.h>.
58087 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58089         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58090         syscall on x86-64.
58091         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58092         syscall.
58093         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58094         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58095         syscall if possible.
58097 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58099         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58100         e_ident.  Don't pass to find_mapsXX.
58101         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58103 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58106         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58107         * sysdeps/x86_64/multiarch/strchr.S: Update.
58108         Check bit_slow_BSF bit.
58109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58110         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58111         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58113 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58115         [BZ #13134]
58116         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58117         before glibc 2.15.
58118         (tryshell): Define.
58119         (__spawni): Change last parameter to be flag.  Test
58120         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58121         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58122         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58123         * posix/spawni.c: Likewise.
58124         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58125         * posix/spawnp.c: Likewise.  Change normal version to use
58126         SPAWN_XFLAGS_USE_PATH.
58127         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58128         SPAWN_XFLAGS_TRY_SHELL.
58130         [BZ #13150]
58131         * posix/glob.h: Remove gcc 1.x support.
58133         [BZ #13068]
58134         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58136 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58139         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58140         strrchr-sse2-bsf
58141         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58142         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58143         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58144         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58145         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58146         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58148 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58150         * sysdeps/x86_64/wcscmp.S: New file.
58152         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58153         wcscmp-c wcscmp-sse2
58154         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58155         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58156         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58157         * wcsmbs/wcscmp.c: Allow renaming.
58159 2011-09-05  David S. Miller  <davem@davemloft.net>
58161         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58162         stack slot, rather than the struct return pointer slot.
58163         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58164         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58166         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58168 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58170         * po/ja.po: Update from translation team.
58172         [BZ #13144]
58173         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58174         kernel in 64-bit binaries.
58176 2011-09-01  David S. Miller  <davem@davemloft.net>
58178         * elf/elf.h (HWCAP_SPARC_*): Move to..
58179         * sysdeps/sparc/sysdep.h: this new file and add new values.
58180         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58181         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58182         _DL_HWCAP_COUNT to 24.
58183         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58184         entries.
58185         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58186         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58187         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58188         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58189         instead of magic constants.
58190         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58192 2011-08-31  David S. Miller  <davem@davemloft.net>
58194         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58196         Reimplement to do errno handling inline.
58197         (SYSCALL_ERROR_HANDLER): New macro.
58198         (__SYSCALL_STRING): Do not do errno handling in asm.
58199         (__CLONE_SYSCALL_STRING): Delete.
58200         (__INTERNAL_SYSCALL_STRING): Delete.
58201         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58202         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58203         (PSEUDO): Reimplement to do errno handling inline.
58204         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58205         (SYSCALL_ERROR_HANDLER): New macro.
58206         (__SYSCALL_STRING): Do not do errno handling in asm.
58207         (__CLONE_SYSCALL_STRING): Delete.
58208         (__INTERNAL_SYSCALL_STRING): Delete.
58209         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58210         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58211         i386.
58212         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58213         (inline_syscall*): Add 'err' argument.
58214         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58215         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58216         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58217         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58219         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58220         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58222 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58224         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58226 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58228         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58229         directive.
58231 2011-08-24  David S. Miller  <davem@davemloft.net>
58233         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58235 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58237         * elf/Makefile: Add rules to build and run unload8 test.
58238         * elf/unload8.c: New file.
58239         * elf/unload8mod1.c: New file.
58240         * elf/unload8mod1x.c: New file.
58241         * elf/unload8mod2.c: New file.
58242         * elf/unload8mod3.c: New file.
58244         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58245         it wasn't used.
58247 2011-08-23  David S. Miller  <davem@davemloft.net>
58249         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58250         subtract stack bias.
58251         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58252         %sp not %fp in calculations.
58253         (_JMPBUF_UNWINDS_ADJ): Likewise.
58255         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58256         (aio_suspend): Call it to force an exception region around the
58257         AIO_MISC_WAIT() invocation.
58259 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58261         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58262         backslash.
58264 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58266         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58267         protection macro.
58268         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58269         and <dl-machine.h>.
58270         (Elf64_FuncDesc): Remove.
58272 2011-08-22  David S. Miller  <davem@davemloft.net>
58274         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58275         sigaltstack check, add missing cfi directives.
58276         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58277         missing cfi directives, and sigaltstack handling.
58279 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58281         [BZ #11724]
58282         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58283         object is seen twice.
58284         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58286         * elf/Makefile (distribute): Add tst-initorder2.c.
58287         (tests): Add tst-initorder2.
58288         (modules-names): Add tst-initorder2a tst-initorder2b
58289         tst-initorder2c tst-initorder2d.  Add rules to build them.
58290         ($(objpfx)tst-initorder2.out): New rule.
58291         * elf/tst-initorder2.c: New file.
58292         * elf/tst-initorder2.exp: New file.
58294 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58296         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58298         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58299         dependencies back to end of function.
58301         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58302         $(elfobjdir)/ld.so.
58304 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58306         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58307         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58308         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58309         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58310         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58311         of __vdso_gettimeofday.
58312         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58313         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58314         attribute_hidden.
58315         (_libc_vdso_platform_setup): Remove initialization of
58316         __vdso_gettimeofday and __vdso_time.
58318 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58320         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58321         and fgetc_unlocked.
58322         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58323         getc_unlocked.
58325         * elf/dl-open.c (add_to_global): Report additions to the global scope
58326         for LD_DEBUG=scopes.
58327         (dl_open_worker): Also print scope of newly loaded dependencies.
58328         (_dl_show_scope): Indicate if there is no scope.
58330         [BZ #13114]
58331         * stdio-common/Makefile (tests): Add bug24.
58332         * stdio-common/bug24.c: New file.
58334 2011-08-19  Andreas Jaeger  <aj@suse.de>
58336         [BZ #13114]
58337         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58338         non-existant file when using close-on-exec mode.
58340 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58342         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58343         the very first instruction.
58345         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58346         the CFI state in the end.
58347         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58348         inclusion of dl-trampoline.h.
58349         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58351 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58353         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58354         expectations for long double.
58356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58357         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58359 2011-08-14  David S. Miller  <davem@davemloft.net>
58361         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58362         artificual limit depends upon the system page size.
58364 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58366         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58367         * resolv/Makefile: Define CFLAGS-libresolv.
58369 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58371         * nss/makedb.c (compute_tables): Make variables used in nested
58372         function static.
58374 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58376         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58377         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58378         if buffer was too small.
58380         * elf/pldd.c (main): Attach to all threads in the process.
58381         Rewrite /proc handling to use *at functions.
58383 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58385         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58386         specifies first scope to show.
58387         (dl_open_worker): Update callers.  Move printing scope of new
58388         object to before the relocation.
58389         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58390         * sysdeps/generic/ldsodefs.h: Update declaration.
58392         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58393         string for the scope number.
58395 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58397         * nscd/servicescache.c (cache_addserv): Make sure written is always
58398         initialized.
58400 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58402         * sysdeps/i386/i486/bits/atomic.h
58403         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58404         statement expression, so as to suppress "set but not used" warning.
58405         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58407         * string/strncat.c (STRNCAT): Use prototype definition.
58409         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58410         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58411         -Iprograms here.
58412         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58413         (localedef-modules): Add localedef.
58414         (locale-modules): Add locale.
58416         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58417         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58418         to avoid a warning.
58420 2011-08-14  David S. Miller  <davem@davemloft.net>
58422         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58423         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58425 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58427         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58428         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58429         * elf/rtld.c (dl_main): Set l_name of vDSO.
58430         Call _dl_show_scope when DL_DEBUG_SCOPES.
58431         (process_dl_debug): Recognize scopes flag and also set it for all.
58432         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58433         Declare _dl_show_scope.
58435         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58436         (do_dlopen): Pass caller_dlopen to dl_open.
58437         (__libc_dlopen_mode): Initialize caller_dlopen.
58439         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58440         of libc.  Make tolower call locale-independent.  Optimize a bit by
58441         using isdigit instead of isalnum.
58442         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58444 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58446         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58447         was a dependency or dynamically loaded.
58449 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58451         * intl/l10nflist.c: Allow architecture-specific pop function.
58452         * sysdeps/x86_64/l10nflist.c: New file.
58454         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58455         classification.
58457 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58459         * include/dirent.h: Add libc_hidden_proto for scandirat and
58460         scandirat64.  Don't declare __scandirat64.
58461         * dirent/scandirat.c: Add libc_hidden_def.
58462         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58463         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58465 2011-08-10  David S. Miller  <davem@davemloft.net>
58467         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58468         enum.
58469         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58470         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58471         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58473 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58475         * Versions.def [libc]: Add GLIBC_2.15.
58476         * dirent/Makefile (routines): Add scandirat and scandirat64.
58477         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58478         GLIBC_2.15.
58479         * dirent/dirent.h: Declare scandirat and scandirat64.
58480         * dirent/scandirat.c: New file.
58481         * dirent/scandirat64.c: New file.
58482         * sysdeps/wordsize-64/scandirat.c: New file.
58483         * sysdeps/wordsize-64/scandirat64.c: New file.
58484         * dirent/opendir.c: Define opendirat.
58485         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58486         using scandirat.
58487         * dirent/scandir64.c: Adjust for scandir.c change.
58488         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58489         __scandirat64, and __scandir_cancel_handler.
58490         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58491         additional parameter and use openat instead of open (outside of ld.so).
58492         Add new __opendir as wrapper around __opendirat.
58493         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58494         here without requiring old scandirat implementation.
58496 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58498         * dirent/scandir.c (cancel_handler): Renamed to
58499         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58500         defined.  Adjust users.
58501         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58502         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58504 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58506         * string/test-string.h (IMPL): Use __STRING to expand name and then
58507         stringify it.
58509         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58510         of cleanups.
58512 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58514         * string/Makefile: Update.
58515         (strop-tests): Append strncat.
58516         * string/test-wcscmp.c: New file.
58517         New comprehensive test for wcscmp.
58518         * string/test-strcmp.c: Update.
58519         (WIDE): New define.
58521 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58523         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58524         line.
58526 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58529         encoding to ACE if AI_IDN.
58531 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58534         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58536 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58538         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58539         Fix overflow bug in strncat.
58540         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58542         * string/test-strncat.c: Update.
58543         Add new tests for checking overflow bugs.
58545 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58547         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58548         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58549         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58550         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58551         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58552         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58553         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58554         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58555         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58557         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58558         (USE_AS_STRCAT): Define.
58559         Add strcat and strncat support.
58560         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58562 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58564         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58565         __n bigger than INT_MAX+1.
58566         (__strncmp_g): Likewise.
58568 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58570         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58571         * libio/stido.h: Likewise.
58573         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58574         (AF_NFC): Define.
58575         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58576         (AF_NFC): Define.
58578         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58580         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58581         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58582         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58584         [BZ #13021]
58585         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58586         installed.
58588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58589         typo.
58590         (_dl_x86_64_save_sse): Likewise.
58592 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58594         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58595         OSXSAVE.
58596         (_dl_x86_64_save_sse): Likewise.
58598         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58600         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58602 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58605         change.
58606         (_dl_x86_64_save_sse): Use correct AVX check.
58608 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58610         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58611         bug in strncpy/strncat.
58612         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58614 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58616         * string/tester.c (test_strcat): Add tests for different alignments
58617         of source and destination.
58618         (test_strncat): Likewise.
58620 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58622         [BZ #12852]
58623         * posix/glob.c (glob): Check passed in values before using them in
58624         expressions to avoid some overflows.
58625         (glob_in_dir): Likewise.
58627         [BZ #13007]
58628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58629         check for AVX enablement so that we don't crash with old kernels and
58630         new hardware.
58631         * elf/tst-audit4.c: Add same checks here.
58632         * elf/tst-audit6.c: Likewise.
58634         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58636 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58638         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58640 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58642         * po/cs.po: Update from translation team.
58643         * po/bg.po: Likewise.
58645 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58647         * misc/sys/cdefs.h: Add support for const attribute.
58648         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58649         to gnu_dev_{major,minor,makedev} functions.
58651 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58653         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58655 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58657         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58658         strlen results.
58660 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58663         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58664         register in order to avoid conflicts with the soft frame pointer
58665         being held in r11 when necessary.
58666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58667         (INTERNAL_VSYSCALL_NCS): Likewise.
58669 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58671         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58672         * elf/dl-fini.c (_dl_fini): Adjust caller.
58673         * elf/dl-close.c (_dl_close_worker): Likewise.
58674         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58676 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58678         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58679         "aux_cache->nlibs < 0".
58681         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58682         in the reload-count case.
58684 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58687         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58688         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58689         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58690         * sysdeps/x86_64/multiarch/strcat.S: New file.
58691         * sysdeps/x86_64/multiarch/strncat.S: New file.
58692         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58693         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58694         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58695         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58697         (USE_AS_STRCAT): Define.
58698         Add strcat and strncat support.
58699         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58700         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58701         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58702         * string/strncat.c: Update.
58703         (USE_AS_STRNCAT): Define.
58704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58705         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58706         and i7.
58707         * sysdeps/x86_64/multiarch/init-arch.h
58708         (bit_Prefer_PMINUB_for_stringop): New.
58709         (index_Prefer_PMINUB_for_stringop): Likewise.
58710         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58711         bit_Prefer_PMINUB_for_stringop.
58713 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58715         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58716         buffer64.
58717         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58718         of casting of buffer.
58719         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58720         buffer32 and buffer64.
58721         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58722         writes instead of casting of buffer.
58723         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58724         buffer32.
58725         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58726         casting of buffer.
58728 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58730         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58732 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58734         * nscd/nscd.c (termination_handler): Don't do anything for a database
58735         if it has not yet been initialized.
58737 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58739         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58741 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58743         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58745 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58747         * po/nl.po: Update from translation team.
58748         * po/sv.po: Likewise.
58750 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58752         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58753         now disallowed by GCC.
58755         * configure.in (use-default-link): Default to yes if a test -shared
58756         link meets our qualifications.
58757         * configure: Regenerated.
58759         * config.make.in (output-format): New variable.
58760         * configure.in: Check for ld --print-output-format support.
58761         * configure: Regenerated.
58762         * Makerules ($(common-objpfx)format.lds)
58763         [$(output-format) != unknown]: Just use $(output-format),
58764         instead of the linker-script munging.
58766 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58768         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58769         of $(common-objpfx)shlib.lds.
58770         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58772         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58773         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58775         * configure.in (-z relro check): Adjust test code to add a large
58776         writable data section after it.
58777         * configure: Regenerated.
58779 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58781         * configure.in (-z relro check): Fix test code to make the variable
58782         truly const.
58783         * configure: Regenerated.
58785 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58787         * nscd/nscd.h (struct traced_file): Define.
58788         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58789         elements.  Add traced_files.
58790         (inotify_fd): Declare.
58791         (register_traced_file): Declare.
58792         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58793         (inotify_fd): Export.
58794         (resolv_conf_descr): Remove.
58795         (nscd_init): Move inotify descriptor creation to main.
58796         Don't register files for notification here.
58797         (register_traced_file): New function.
58798         (invalidate_cache): Don't use reset_res to determine whether to call
58799         res_init, go through the list of registered files.
58800         (main_loop_poll): The inotify descriptors are now stored in the
58801         structures for the traced files.
58802         (main_loop_epoll): Likewise
58803         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58804         to __nss_disable_nscd.
58805         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58806         for a database anymore.  Check the records for all the registered
58807         files instead.
58808         * nss/Makefile (libnss_files-routines): Add files-init.
58809         (libnss_db-routines): Add db-init.
58810         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58811         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58812         * nss/nss_db/db-init.c: New file.
58813         * nss/nss_files/files-init.c: New file.
58814         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58815         __nss_lookup_function.
58816         (__nss_lookup_function): Call nss_load_library.
58817         (nss_load_all_libraries): New function.
58818         (__nss_disable_nscd): Take parameter with callback function for files
58819         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58820         used for the cached services.
58821         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58822         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58823         options for features to all the files in nscd.
58825         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58827 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58829         * csu/elf-init.c (__libc_csu_init): Comment typo.
58831 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58833         * po/pl.po: Update from translation team.
58834         * po/ja.po: Likewise.
58835         * po/ru.po: Likewise.
58836         * po/ko.po: Likewise.
58837         * po/fr.po: Likewise.
58839 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58841         * configure.in (.ctors/.dtors header and trailer check):
58842         Use an empirical test on a built program.
58843         * configure: Regenerated.
58845         * configure.in (-z relro check): Use an empirical test on a built DSO.
58846         Detect, but do not require, on ia64.
58847         * configure: Regenerated.
58849         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58850         Update tests that use readelf to use $READELF instead.
58851         * configure: Regenerated.
58853 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58855         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58856         if the result is not used.
58858 2011-07-05  Andreas Jaeger  <aj@suse.de>
58860         [BZ#9696]
58861         * stdlib/tst-strtod.c: Add testcase.
58863 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58865         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58866         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58867         The latter has a higher limit.  Take additional parameter to pass to
58868         the new function.
58869         (__pathconf): Pass file to __statfs_link_max.
58870         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58871         __statfs_link_max.
58872         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58873         __statfs_link_max.
58875         [BZ #12868]
58876         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58877         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58878         Handle Lustre.
58879         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58880         (__statfs_filesize_max): Likewise.
58881         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58883 2011-07-05  Andreas Jaeger  <aj@suse.de>
58885         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58887 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58889         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58890         `status' variable.
58891         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58892         Likewise.
58894 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58896         * Makefile (strop-tests): Add strncat.
58897         * string/test-strncat.c: New file.
58899 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58901         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58903 2011-06-21  Andreas Jaeger  <aj@suse.de>
58905         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58906         Copy rule from iconvdata/Makefile.
58908 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58910         [BZ #12922]
58911         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58912         but no long options are defined, just return 'W'.
58914 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58916         [BZ #9696]
58917         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58919 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58921         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58922         netgroups to read.
58923         (innetgr): Likewise.
58925 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58927         * config.make.in (install_root): Default to $(DESTDIR).
58929 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58933 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58935         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58937         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58938         containing directory rather than embedding absolute directory names.
58940         * scripts/check-local-headers.sh: Rewritten using awk.
58941         Match by word, not by line.  Print error messages for matches.
58942         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58944         * Makerules [shlib-lds-flags empty]:
58945         ($(common-objpfx)libc_pic.opts): New target.
58946         ($(common-objpfx)libc_pic.os.clean): New target.
58947         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58949         * config.make.in (OBJCOPY): New variable.
58950         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58951         * configure: Regenerated.
58953         * config.make.in (use-default-link): New variable.
58954         * configure.in (use_default_link): Grok --with-default-link to set it.
58955         * configure: Regenerated.
58956         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58957         (shlib-lds, shlib-lds-flags): Define to empty.
58959         * Makerules (shlib-lds): New variable.
58960         (shlib-lds-flags): New variable.
58961         (build-shlib, build-moduile, build-module-asneeded): Use it.
58962         ($(common-objpfx)libc.so): Use $(shlib-lds).
58963         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58964         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58966         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58967         DT_FLAGS/DT_FLAGS_1 with zero flags.
58969         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58970         linker script munging.
58972 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58974         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58975         as 128-bit value.
58976         * crypt/sha512.c (sha512_process_block): Perform total addition using
58977         128-bit if possible.
58978         (__sha512_finish_ctx): Likewise.
58979         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58980         as 64-bit value.
58981         * crypt/sha256.c (SWAP64): Define.
58982         (sha256_process_block): Perform total addition using 64-bit if
58983         possible.
58984         (__sha256_finish_ctx): Likewise.
58986 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58988         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58989         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58990         * nscd/hstcache.c (cache_addhst): Likewise.
58991         * nscd/grpcache.c (cache_addgr): Likewise.
58992         * nscd/aicache.c (addhstaiX): Likewise
58993         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58995 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58997         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58999         * nscd/hstcache.c (cache_addhst): Likewise.
59000         * nscd/grpcache.c (cache_addgr): Likewise.
59001         * nscd/aicache.c (addhstaiX): Likewise
59003 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59005         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59006         domain only when needed.
59008 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59011         is always restored.
59013 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59015         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59016         are re-adding the entry.
59017         * nscd/servicescache.c (cache_addserv): Likewise.
59019 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59021         * sysdeps/generic/dl-irel.h: fix protection against multiple
59022         inclusions.
59023         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59025 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59027         [BZ #12935]
59028         * malloc/memusage.sh: Fix quoting in message.
59029         * debug/xtrace.sh: Likewise.
59031         * configure.in: Remove support for --experimental-malloc option, make
59032         it the default.
59033         * config.make.in: Likewise.
59034         * malloc/Makefile: Likewise.
59036 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59038         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59039         two-byte characters.
59041 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59043         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59044         AC_CACHE_CHECK invocation.
59045         * configure: Regenerated.
59047         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59049 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59051         [BZ #12350]
59052         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59053         bit from old_res_options.
59055         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59057         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59058         value type for setfct.
59060 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59062         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59063         __gettimeofday instead of gettimeofday.
59065 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59067         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59069 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59071         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59073         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59074         info.
59076 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59079         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59080         strcpy-sse2-unaligned strncpy-sse2-unaligned
59081         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59082         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59083         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59084         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59085         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59086         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59087         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59088         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59089         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59090         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59091         (STRCPY): Support SSE2 and SSSE3 versions.
59093 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59095         [BZ #12874]
59096         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59097         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59098         kernels which artificially limit size of requests.
59100 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59102         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59103         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59104         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59105         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59106         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59107         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59108         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59109         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59110         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59111         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59112         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59113         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59114         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59115         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59116         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59118         Enable unaligned load optimization for Intel Core i3, i5 and i7
59119         processors.
59120         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59121         Define.
59122         (index_Fast_Unaligned_Load): Define.
59123         (HAS_FAST_UNALIGNED_LOAD): Define.
59125 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59127         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59129 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59131         [BZ #12907]
59132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59133         until it is clear that the information is realy needed.
59134         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59136 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59140 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59143         /sys/devices/system/cpu/online if it is usable.
59145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59146         reading the information from the /proc filesystem to once a second.
59148 2011-06-21  Andreas Jaeger  <aj@suse.de>
59150         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59151         NULL after inclusion of kernel headers.
59153 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59155         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59156         calls to internal_setent.
59158         [BZ #12885]
59159         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59160         addresses using gethostbyname4_r ignore IPv4 addresses.
59162         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59163         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59165         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59167 2011-06-20  David S. Miller  <davem@davemloft.net>
59169         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59170         inclusions.
59171         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59173         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59174         (elf_irel): Use it.
59175         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59176         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59177         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59178         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59179         * sysdeps/x86_64/dl-irel.h: Likewise.
59181         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59182         * elf/dl-sym.c: Likewise.
59184 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59186         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59187         need to dereference resplen2.
59189 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59191         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59193 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59195         * Makeconfig: Define vardbdir and inst_vardbdir.
59196         * nss/Makefile: Add rules to install db-Makefile.
59198         * nss/nss_db/db-XXX.c: Cleanup.
59200         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59201         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59202         GLIBC_PRIVATE.
59203         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59204         * nss/makedb.c: Implement -g option to specify that value strings
59205         are generated and should not be added to table iterated over for
59206         get*ent calls.
59207         * nss/nss_db/db-initgroups.c: New file.
59209         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59210         interface.
59212         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59213         (internal_getgrouplist): Adjust to name change.
59214         Update use_initgroups_entry if this is not the first call.
59215         * nss/databases.def: Add initgroups entry.
59217         * nss/makedb.c (compute_tables): Check result of multiple hash table
59218         sizes to minimize maximum chain length.
59220 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59222         * Versions.def: Add entry for libnss_db.
59223         * shlib-versions: Likewise.
59224         * nss/Makefile: Add rules to build libnss_db.
59225         * nss/Versions: Add libnss_db information.  Organize libnss_files
59226         entries better.
59227         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59228         makedb progra.  Some minor improvements to generate smaller files.
59229         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59230         here from...
59231         * nss/makedb.c: ...here.
59232         Improve database format to be smaller and require less memory at
59233         runtime.
59234         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59235         db anymore.
59236         * nss/nss_db/db-netgrp.c: Likewise.
59237         * nss/nss_db/db-open.c: Likewise.
59238         * nss/nss_files/flies-XXX.x: Adjust comments.
59239         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59240         * nss/nss_files/files-grp.c: Likewise.
59241         * nss/nss_files/files-hosts.c: Likewise.
59242         * nss/nss_files/files-network.c: Likewise.
59243         * nss/nss_files/files-proto.c: Likewise.
59244         * nss/nss_files/files-pwd.c: Likewise.
59245         * nss/nss_files/files-rpc.c: Likewise.
59246         * nss/nss_files/files-service.c: Likewise.
59247         * nss/nss_files/files-sgrp.c: Likewise.
59248         * nss/nss_files/files-spwd.c: Likewise.
59249         * nss/nss_db/db-alias.c: Removed.
59250         * nss/nss_db/dummy-db.h: Removed.
59252 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59254         * nss/makedb.c: Rewritten to not use database library.
59255         * nss/Makefile: Update to build new makedb program.
59257 2011-06-14  Andreas Jaeger  <aj@suse.de>
59259         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59260         memset declaration.
59262 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59265         tmpbuf.
59267 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59269         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59270         * elf/Makefile ($(objpfx)ld.so): Likewise.
59272         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59273         Don't list ld.so twice in dependencies.
59275         * posix/bug-regex31.c: Include <stdlib.h>.
59277         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59279         * nis/nss_compat/compat-spwd.c
59280         (getspent_next_nss_netgr): Remove unused variable.
59281         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59283         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59284         nonmembers" output to use the right array.
59286         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59288         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59290         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59291         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59292         * catgets/gencat.c (read_input_file): Likewise.
59293         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59295         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59296         variable definition inside #if's controlling its use.
59298         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59300         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59302         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59304         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59305         unreachable code.
59307         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59309         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59310         * configure: Regenerated.
59312         * Makerules: Revert last change.
59313         * elf/Makefile: Likewise.
59315 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59317         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59318         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59319         (reloc-link): Likewise.
59321 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59323         * elf/Makefile: Add rules to build pldd.
59324         * elf/pldd.c: New file.
59325         * elf/pldd-xx.c: New file.
59327 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59329         * version.h: Update for 2.15 development version.
59331 2011-06-07  David S. Miller  <davem@davemloft.net>
59333         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59334         ifuncs.
59335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59336         elf_machine_lazy_rel): Likewise.
59337         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59338         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59339         elf_machine_lazy_rel): Likewise.
59340         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59341         dl_hwcap via passed in argument.
59342         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59343         Likewise.
59345 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59347         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59349 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59351         [BZ #12849]
59352         * manual/fdl-1.1.texi: New file, verbatim from:
59353         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59354         * manual/lgpl-2.1.texi: New file, verbatim from:
59355         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59356         * manual/Makefile (licenses): New variable, list those new file names.
59357         (texis): Use it.
59358         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59360         * manual/fdl.texi: File removed.
59361         * manual/lesser.texi: File removed.
59362         * manual/libc.texinfo (Copying, Documentation License):
59363         Use new @include file names, put @appendix directive before @include.
59365 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59367         [BZ #12841]
59368         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59369         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59370         (mq_open): Add __NTH.
59372 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59375         Assume Intel Core i3/i5/i7 processor if AVX is available.
59377 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59379         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59380         typo.
59382 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59384         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59385         memory.  Use alloca_account.  Fix memory leak when retrying.
59387 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59389         * version.h (RELEASE): Bump for 2.14 release.
59390         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59392         * config.make.in (RANLIB): Remove entry.
59394 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59396         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59397         (libc.pot): Work around missing support for .ksh extension in xgettext.
59399         [BZ #12684]
59400         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59401         if both request failed.
59402         (send_dg): In case of server errors clear resplen or *resplen2.
59404         [BZ #12454]
59405         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59406         when there are multiple maps.
59407         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59408         (_dl_fini): Remove test here.
59410         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59412 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59414         [BZ #12350]
59415         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59416         bit from old_res_options.
59417         (gaih_inet): Likewise.
59419         [BZ #11099]
59420         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59421         as signed.
59423         * resolv/res_init.c (res_setoptions): Make the code more compact.
59425         [BZ #11558]
59426         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59427         set RES_USEVC.
59429         [BZ #11634]
59430         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59432         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59434         [BZ #11781]
59435         * malloc/malloc.h: Declare malloc hook variables as volatile.
59437         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59438         in last patch.
59440         [BZ #11799]
59441         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59442         raise in the comment.
59443         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59445         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59447 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59449         [BZ #12811]
59450         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59451         grow the buffers more if it already has to be sufficient.
59452         (build_wcs_upper_buffer): Likewise.
59453         * posix/regexec.c (check_matching): Likewise.
59454         (clean_state_log_if_needed): Likewise.
59455         (extend_buffers): Don't enlarge buffers beyond size of the input
59456         buffer.
59457         Patches mostly by Emil Wojak <emil@wojak.eu>.
59458         * posix/bug-regex32.c: New file.
59459         * posix/Makefile (tests): Add bug-regex32.
59461         * locale/findlocale.c (_nl_find_locale): Return right away if
59462         _nl_explode_name failed.
59463         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59465         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59467         * debug/xtrace.sh: Unify messages.
59468         * malloc/memusage.sh: Likewise.
59470         [BZ #12813]
59471         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59472         time symbol from vDSO.  Substitute with vsyscall if not available.
59473         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59474         __vdso_time.
59476         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59477         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59478         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59479         Add sendmmsg and internal_sendmmsg.
59480         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59481         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59482         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59484         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59485         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59486         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59488 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59490         [BZ #12813]
59491         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59492         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59493         available.
59494         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59495         __vdso_getcpu.
59497         [BZ #12814]
59498         * iconvdata/Makefile (tests): Add bug-iconv9.
59499         * iconvdata/bug-iconv9.c: New file.
59501 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59503         [BZ #12814]
59504         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59506 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59509         (struct user_regs_struct): Change intcs field back to cs.
59511 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59513         * po/ja.po: Update from translation team.
59515 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59517         [BZ #12795]
59518         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59519         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59521 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59523         * stdlib/longlong.h: Update from GCC.
59525 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59527         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59528         parameter name.
59529         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59530         Add parameter name.
59531         (__sysconf): Pass it down.
59533 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59535         [BZ #12671]
59536         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59537         some situations.
59538         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59539         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59540         add in in __libc_use_alloca calls.  Adjust callers.
59541         (glob): Use malloc in some situations.
59543         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59544         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59545         pltexit.
59547 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59549         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59550         and CLOCK_BOOTTIME_ALARM.
59552         [BZ #12782]
59553         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59554         is returned.
59556         * string/_strerror.c (__strerror_r): Print negative errors as signed
59557         numbers.
59559         [BZ #12777]
59560         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59561         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59562         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59564         * configure.in: Fix typo in redirection and correct removal of test
59565         files in two cases.
59567         [BZ #12788]
59568         * locale/setlocale.c (new_composite_name): Fix test to check for
59569         identical name of all categories.
59571         [BZ #12792]
59572         * libio/filedoalloc.c (local_isatty): New function.
59573         (_IO_file_doallocate): Use local_isatty.
59574         * stdio-common/perror.c (perror): In case a new stream is used
59575         forward the stream error.
59576         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59577         error flag.
59579 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59581         [BZ #11869]
59582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59583         alloca.
59584         * include/alloca.h (extend_alloca_account): Define.
59586         [BZ #11857]
59587         * posix/regex.h: Fix comments with documentation of user-accessible
59588         fields after compilation and describe correct free'ing of pattern
59589         after re_compile_pattern.
59590         Patch by Reuben Thomas <rrt@sc3d.org>.
59592 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59594         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59595         and -mno-altivec to prevent the compiler from using Altivec and/or
59596         VSX instructions when the corresponding registers are not available.
59598 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59600         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59602 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59604         * libio/freopen.c (freopen): Use __dup2, not dup2.
59605         * libio/freopen64.c (freopen64): Likewise.
59607 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59609         [BZ #12775]
59610         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59611         * math/Makefile (tests): Add test-powl.
59612         (CFLAGS-test-powl.c): Define.
59613         * math/test-powl.c: New file.
59615 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59617         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59619 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59621         [BZ #11837]
59622         * iconvdata/gb18030.c: Update to GB18020-2005.
59624 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59626         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59627         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59628         Patch by Aharon Robbins <arnold@skeeve.com>.
59630         [BZ #11892]
59631         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59632         on the stack.
59634         [BZ #11895]
59635         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59636         through underflows.
59638         [BZ #12766]
59639         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59640         point to strings before performing equality test for error_one_per_line
59641         mode.
59643         [BZ #11697]
59644         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59646         [BZ #11820]
59647         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59648         (struct user_fpregs_struct): Avoid __uint*_t types.
59650         [BZ #6420]
59651         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59652         symbol info.  Use it instead of calling _dl_addr locally.
59653         (lock_and_info): New function.
59654         (tr_freehook): Call lock_and_info and pass symbol info as additional
59655         parameter to tr_where.
59656         (tr_mallochook): Likewise.
59657         (tr_reallochook): Likewise.
59658         (tr_memalignhook): Likewise.
59660         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59661         used and couldn't be at all thread-safe.
59663 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59665         * libio/freopen.c (freopen): Don't close old file descriptor
59666         before the new one is opened.  Instead dup the new file descriptor
59667         to the old one after the new stream is created.
59668         * libio/freopen64.c (freopen64): Likewise.
59669         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59670         * libio/fileops.c (_IO_new_file_close_it): Handle new
59671         _IO_FLAGS2_NOCLOSE flag.
59672         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59673         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59674         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59675         _IO_FLAGS2_NOCLOSE flag.
59676         * include/unistd.h: Add hidden_proto for dup3.
59677         Define __have_dup3.
59678         * io/dup3.c: Define hidden symbol.
59679         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59681         [BZ #7101]
59682         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59683         when an incomplete long option is used.
59684         * posix/tst-getopt_long1.c: New file.
59685         * posix/Makefile (tests): Add tst-getopt_long1.
59687         [BZ #10138]
59688         * scripts/config.guess: Update from autoconf-2.68.
59689         * scripts/config.sub: Likewise.
59691         [BZ #10157]
59692         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59693         tests into ...
59694         (has_cpuclock): ...this.  New function.
59695         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59696         macro here based on has_cpuclock code.
59698         [BZ #10149]
59699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59700         First byte (not low byte) is now always NUL.
59701         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59703         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59704         Use non-cancelable interfaces.
59706         [BZ #9809]
59707         * locale/iso-639.def: Add entry for Sorani.
59709         [BZ #11901]
59710         * include/stdlib.h: Move include protection to the right place.
59711         Define abort_msg_s.  Declare __abort_msg with it.
59712         * stdlib/abort.c (__abort_msg): Adjust type.
59713         * assert/assert.c (__assert_fail_base): New function.  Majority
59714         of code from __assert_fail.  Allocate memory for __abort_msg with
59715         mmap.
59716         (__assert_fail): Now call __assert_fail_base.
59717         * assert/assert-perr.c: Remove bulk of implementation.  Use
59718         __assert_fail_base.
59719         * include/assert.hL Declare __assert_fail_base.
59720         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59721         mmap.
59722         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59724 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59726         [BZ #11952]
59727         [BZ #12453]
59728         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59729         until all modules are registered in the DTV.
59730         * elf/Makefile: Add rules to build and run tst-tls19.
59731         * elf/tst-tls19.c: New file.
59732         * elf/tst-tls19mod1.c: New file.
59733         * elf/tst-tls19mod2.c: New file.
59734         * elf/tst-tls19mod3.c: New file.
59735         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59737         [BZ #12083]
59738         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59739         correctly.
59741         [BZ #12601]
59742         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59743         two-byte sequence errors.
59744         * iconvdata/Makefile (tests): Add bug-iconv8.
59745         * iconvdata/bug-iconv8.c: New file.
59747         [BZ #12626]
59748         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59749         buf2 definition.
59751         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59753         [BZ #12432]
59754         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59755         (dummy_getcfa): New function.
59756         (init): Get _Unwind_GetCFA address, use dummy if not found.
59757         (backtrace_helper): In recursion check, also check whether CFA changes.
59758         (__backtrace): Completely initialize arg.
59760         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59761         storing incomplete byte sequence in state object.  Avoid testing for
59762         guaranteed too small input if we know there is enough data available.
59764 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59766         * Makeconfig (+link-pie): Indent.
59767         * Rules (binaries-pie): Define if $(have-fpie) and
59768         $(build-shared).
59769         (binaries-shared): Also filter out $(binaries-pie).
59770         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59771         * nscd/Makefile (others-pie): Add nscd.
59772         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59773         ($(objpfx)nscd): Remove command override.
59774         * login/Makefile (others-pie): Add pt_chown.
59775         ($(objpfx)pt_chown): Remove command override.
59776         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59777         remove command overrides.
59779 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59781         * libio/tst_putwc.c: Fix error messages.
59783         [BZ #12724]
59784         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59785         currently writing and seek to current position when not.
59786         * libio/Makefile (tests): Add bug-fclose1.
59787         * libio/bug-fclose1.c: New file.
59789 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59791         [BZ #12511]
59792         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59793         don't set DF_1_NODELETE here.
59794         (do_lookup_x): When entering new entry test for copy relocation
59795         and if necessary set DF_1_NODELETE flag.
59796         * elf/tst-unique4.cc: New file.
59797         * elf/tst-unique4.h: New file.
59798         * elf/tst-unique4lib.cc: New file.
59799         * elf/Makefile: Add rules to build and run tst-unique4.
59800         Patch by Piotr Bury <pbury@goahead.com>.
59802 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59804         [BZ #12052]
59805         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59807         [BZ #12625]
59808         * misc/mntent_r.c (addmntent): Flush the stream after the output
59810         [BZ #12393]
59811         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59812         (is_trusted_path_normalize): Skip initial colon.  Append slash
59813         to empty buffer.  Duplicate is_trusted_path code but allow
59814         constructed patch to be prefix.
59815         (is_dst): Allow $ORIGIN followed by /.
59816         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59817         Correct testing of result of is_trusted_path_normalize
59818         (decompose_rpath): Fix warning.
59820 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59822         [BZ #11257]
59823         * grp/initgroups.c (internal_getgrouplist): When we found the service
59824         list through the initgroups entry in nsswitch.conf do not always
59825         continue on a successful lookup.  Don't always use the
59826         __nss_group_database value if it is set.
59827         * nss/nsswitch.conf (initgroups): Change action for successful db
59828         lookup to continue for compatibility.
59830 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59832         [BZ #11532]
59833         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59834         and CP774 modules.
59835         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59836         and CP774 modules.
59837         * iconvdata/tst-tables.sh: Likewise.
59838         * iconvdata/cp770.c: New file.
59839         * iconvdata/cp771.c: New file.
59840         * iconvdata/cp772.c: New file.
59841         * iconvdata/cp773.c: New file.
59842         * iconvdata/cp774.c: New file.
59843         * iconvdata/testdata/CP770: New file.
59844         * iconvdata/testdata/CP770..UTF8: New file.
59845         * iconvdata/testdata/CP771: New file.
59846         * iconvdata/testdata/CP771..UTF8: New file.
59847         * iconvdata/testdata/CP772: New file.
59848         * iconvdata/testdata/CP772..UTF8: New file.
59849         * iconvdata/testdata/CP773: New file.
59850         * iconvdata/testdata/CP773..UTF8: New file.
59851         * iconvdata/testdata/CP774: New file.
59852         * iconvdata/testdata/CP774..UTF8: New file.
59854         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59855         END CHARMAP line.
59856         * iconvdata/gen-8bit-gap.sh: Likewise.
59857         * iconvdata/gen-8bit.sh: Likewise.
59859         * locale/iso-639.def: Add ary entry.
59861         [BZ #11258]
59862         * locale/C-translit.h.in: Add U20A1 transliteration.
59864         [BZ #12178]
59865         * locale/iso-639.def: Add wae entry.
59866         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59868         [BZ #12545]
59869         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59870         for n.
59872         [BZ #12711]
59873         * locale/C-translit.h.in: Add entry for U20B9.
59874         Patch by pravin.d.s@gmail.com.
59876 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59878         [BZ #12713]
59879         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59880         ENAMETOOLONG use generic getcwd.
59881         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59882         in rtld.  Use *stat64.
59883         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59884         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59885         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59886         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59887         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59888         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59889         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59890         __fstatat64 macros.
59891         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59892         * dirent/rewinddir.c: Add libc_hidden_def.
59893         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59894         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59896         * include/dirent.h (__alloc_dir): Add flags parameter.
59897         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59898         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59899         __alloc_dir.
59900         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59901         from fdopendir if O_CLOEXEC is already set.
59903 2011-03-15  Alan Modra  <amodra@gmail.com>
59905         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59906         l_tls_firstbyte_offset non-zero.  Save padding offset in
59907         l_tls_firstbyte_offset for later use.
59908         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59909         freeing static tls block.
59911 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59913         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59914         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59915         being defined by the kernel headers.
59917 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59919         [BZ #12734]
59920         * resolv/resolv.h: Define RES_NOTLDQUERY.
59921         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59922         no-tld-query and set RES_NOTLDQUERY.
59923         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59924         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59925         modern BIND to search name as TLD unless forbidden.
59927 2011-05-07  Petr Baudis  <pasky@suse.cz>
59928             Ulrich Drepper  <drepper@gmail.com>
59930         [BZ #12393]
59931         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59932         (is_trusted_path): ...to here.
59933         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59934         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59935         using is_trusted_path_normalize() in setuid scripts.
59937 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59939         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59940         __BEGIN/__END_DECLS.
59942 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59944         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59945         NSS_STATUS_NOTFOUND if no record was found.
59947 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59949         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59950         (headers-not-in-tirpc): Remove rpc/netdb.h
59951         * resolv/netdb.h: Revert last change.
59953 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59955         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59956         circular dependency between libgcc.a and libc.a.
59958 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59960         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59961         * nis/Makefile: Don't install rpcsvc/*.
59962         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59963         instead of <rpc/types.h>.
59964         (MAXHOSTNAMELEN): Define.
59966 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59968         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59970 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59972         [BZ #12714]
59973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59974         gethostbyname4_r when IPv6 results are possible.
59976 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59978         [BZ #12723]
59979         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59980         _PC_PIPE_BUF handling.
59982 2011-04-30  Bruno Haible  <bruno@clisp.org>
59984         [BZ #12717]
59985         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59986         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59987         to 'int'.
59988         * inet/getnameinfo.c (getnameinfo): Likewise.
59990 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59992         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59993         to groups setting in database lookup.
59994         * nss/nsswitch.conf: Add initgroups entry.
59996 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59998         [BZ #12685]
59999         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60000         mode string.
60001         Patch by Eric Blake <eblake@redhat.com>.
60003 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60005         * sunrpc/Makefile (need-export-routines): Add svc_run.
60006         (routines): Remove svc_run.
60007         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60008         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60009         * sunrpc/svc_run.c (svc_run): Likewise.
60010         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60012 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60014         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60015         problem in reallocation in last patch.
60017 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60019         * sunrpc/Makefile: Move inclusion of Rules.
60021 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60023         * nss/nss_files/files-initgroups.c: New file.
60024         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60025         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60026         _nss_files_initgroups_dyn.
60028 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60030         * elf/elf.h (R_ARM_IRELATIVE): Define.
60032 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60034         * po/ru.po: Update from translation team.
60036 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60038         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60039         dependencies.
60041 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60043         [BZ #12653]
60044         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60045         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60046         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60047         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60048         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60050 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60053         differing bytes.
60054         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60056         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60058 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60060         [BZ #12420]
60061         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60062         storing it.
60063         * stdlib/bug-getcontext.c: New file.
60064         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60066 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60068         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60069         instructions into .machine "z9-109".
60070         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60071         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60073 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60075         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60076         between environment variables and auxiliary vector.
60078 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60080         * Makefile: Add rules to build linkobj/libc.so.
60081         * include/libc-symbols.h: Define libc_hidden_nolink.
60082         * include/rpc/auth.h: Mark functions which are to be hidden.
60083         * include/rpc/auth_des.h: Likewise.
60084         * include/rpc/auth_unix.h: Likewise.
60085         * include/rpc/clnt.h: Likewise.
60086         * include/rpc/des_crypt.h: Likewise.
60087         * include/rpc/key_prot.h: Likewise.
60088         * include/rpc/pmap_clnt.h: Likewise.
60089         * include/rpc/pmap_prot.h: Likewise.
60090         * include/rpc/pmap_rmt.h: Likewise.
60091         * include/rpc/rpc_msg.h: Likewise.
60092         * include/rpc/svc.h: Likewise.
60093         * include/rpc/svc_auth.h: Likewise.
60094         * include/rpc/xdr.h: Likewise.
60095         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60096         * nss/Makefile: Likewise.
60097         * sunrpc/Makefile: Don't install headers.  Build library with normal
60098         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60099         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60100         for the compat linking library.  Remove use of INTDEF/INTUSE.
60101         * sunrpc/auth_none.c: Likewise.
60102         * sunrpc/auth_unix.c: Likewise.
60103         * sunrpc/authdes_prot.c: Likewise.
60104         * sunrpc/authuxprot.c: Likewise.
60105         * sunrpc/clnt_gen.c: Likewise.
60106         * sunrpc/clnt_perr.c: Likewise.
60107         * sunrpc/clnt_raw.c: Likewise.
60108         * sunrpc/clnt_simp.c: Likewise.
60109         * sunrpc/clnt_tcp.c: Likewise.
60110         * sunrpc/clnt_udp.c: Likewise.
60111         * sunrpc/clnt_unix.c: Likewise.
60112         * sunrpc/des_crypt.c: Likewise.
60113         * sunrpc/des_soft.c: Likewise.
60114         * sunrpc/get_myaddr.c: Likewise.
60115         * sunrpc/key_call.c: Likewise.
60116         * sunrpc/key_prot.c: Likewise.
60117         * sunrpc/netname.c: Likewise.
60118         * sunrpc/pm_getmaps.c: Likewise.
60119         * sunrpc/pm_getport.c: Likewise.
60120         * sunrpc/pmap_clnt.c: Likewise.
60121         * sunrpc/pmap_prot.c: Likewise.
60122         * sunrpc/pmap_prot2.c: Likewise.
60123         * sunrpc/pmap_rmt.c: Likewise.
60124         * sunrpc/publickey.c: Likewise.
60125         * sunrpc/rpc_cmsg.c: Likewise.
60126         * sunrpc/rpc_common.c: Likewise.
60127         * sunrpc/rpc_dtable.c: Likewise.
60128         * sunrpc/rpc_prot.c: Likewise.
60129         * sunrpc/rpc_thread.c: Likewise.
60130         * sunrpc/rtime.c: Likewise.
60131         * sunrpc/svc.c: Likewise.
60132         * sunrpc/svc_auth.c: Likewise.
60133         * sunrpc/svc_authux.c: Likewise.
60134         * sunrpc/svc_raw.c: Likewise.
60135         * sunrpc/svc_run.c: Likewise.
60136         * sunrpc/svc_simple.c: Likewise.
60137         * sunrpc/svc_tcp.c: Likewise.
60138         * sunrpc/svc_udp.c: Likewise.
60139         * sunrpc/svc_unix.c: Likewise.
60140         * sunrpc/svcauth_des.c: Likewise.
60141         * sunrpc/xcrypt.c: Likewise.
60142         * sunrpc/xdr.c: Likewise.
60143         * sunrpc/xdr_array.c: Likewise.
60144         * sunrpc/xdr_float.c: Likewise.
60145         * sunrpc/xdr_intXX_t.c: Likewise.
60146         * sunrpc/xdr_mem.c: Likewise.
60147         * sunrpc/xdr_rec.c: Likewise.
60148         * sunrpc/xdr_ref.c: Likewise.
60149         * sunrpc/xdr_sizeof.c: Likewise.
60150         * sunrpc/xdr_stdio.c: Likewise.
60152 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60154         [BZ #12650]
60155         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60156         * sysdeps/ia64/dl-tls.h: Likewise.
60157         * sysdeps/powerpc/dl-tls.h: Likewise.
60158         * sysdeps/s390/dl-tls.h: Likewise.
60159         * sysdeps/sh/dl-tls.h: Likewise.
60160         * sysdeps/sparc/dl-tls.h: Likewise.
60161         * sysdeps/x86_64/dl-tls.h: Likewise.
60162         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60164 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60166         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60167         rpath element also skip the following colon.
60168         (expand_dynamic_string_token): Add is_path parameter and pass
60169         down to DL_DST_REQUIRED and _dl_dst_substitute.
60170         (decompose_rpath): Call expand_dynamic_string_token with
60171         non-zero is_path.  Ignore empty rpaths.
60172         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60173         with zero is_path.
60175 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60178         Make cancelable.
60180 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60182         [BZ #12655]
60183         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60184         Patch by Filipe David Manana <fdmanana@apache.org>.
60186 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60188         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60189         Maintain aligned stack.
60190         (CHECK_RSP): Remove unused macro.
60192 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60194         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60195         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60197 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60199         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60201         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60203 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60205         [BZ #12518]
60206         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60207         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60208         * sysdeps/x86_64/memmove.c: New file.
60209         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60210         (memcpy): Renamed to ...
60211         (__new_memcpy): This.
60212         (memcpy): Provide GLIBC_2_14 memcpy.
60213         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60214         (memcpy): Provide GLIBC_2_2_5 memcpy.
60216 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60218         [BZ #12631]
60219         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60221 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60223         * misc/syncfs.c: New file.
60224         * misc/Makefile (routines): Add syncfs.
60225         * posix/unistd.h: Declare syncfs.
60226         * sysdeps/unix/syscalls.list: Add syncfs.
60228 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60230         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60231         open_by_handle_at.
60232         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60233         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60234         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60235         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60237         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60238         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60240 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60242         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60244         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60245         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60246         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60250         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60251         sync_file_range.c with -fexceptions.
60252         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60253         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60254         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60255         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60256         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60257         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60258         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60259         sync_file_range as cancellation point
60260         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60261         now a wrapper around __call_sync_file_range with cancellation handling.
60262         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60263         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60264         function name to __call_sync_file_range.
60265         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60266         Add call_sync_file_range.
60268 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60271         bits/timex.h.
60273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60275         * iconv/iconv.h: Fix typo in comment.
60276         * io/fcntl.h: Likewise.
60277         * libio/stdio.h: Likewise.
60278         * posix/spawn.h: Likewise.
60279         * posix/unistd.h: Likewise.
60280         * stdlib/stdlib.h: Likewise.
60281         * time/time.h: Likewise.
60282         * wcsmbs/wchar.h: Likewise.
60284         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60285         open_by_handle): Add.
60286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60287         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60288         Augment a few comments.
60289         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60290         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60291         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60293         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60294         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60295         open_by_handle.
60297         * io/fcntl.h (AT_EMPTY_PATH): Define.
60299 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60301         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60302         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60303         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60304         to...
60305         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60306         * Versions.def: Add GLIBC_2.14.
60307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60308         Export.
60310 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60312         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60313         round counter.
60314         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60316 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60318         [BZ #12597]
60319         * string/test-strncmp.c (do_page_test): New function.
60320         (check2): Likewise.
60321         (test_main): Call check2.
60322         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60324 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60326         [BZ #12587]
60327         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60328         Handle cache information in CPU leaf 4.
60329         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60331 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60333         [BZ #12583]
60334         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60335         character representation.
60336         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60338 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60340         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60341         END(__isnan) to END(__isnanf) to match function entry point/label
60342         EALIGN(__isnanf,...).
60344 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60346         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60348 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60350         [BZ #12510]
60351         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60352         copy from the symbol referenced in the relocation to initialize the
60353         used variable.
60354         Patch by Piotr Bury <pbury@goahead.com>.
60355         * elf/Makefile: Add rules to build and tst-unique3.
60356         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60357         * elf/tst-unique3.cc: New file.
60358         * elf/tst-unique3.h: New file.
60359         * elf/tst-unique3lib.cc: New file.
60360         * elf/tst-unique3lib2.cc: New file.
60362         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60364 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60366         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60367         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60368         to _start.
60370 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60372         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60373         to-be-loaded object along a path to loader is ld.so.
60375 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60376             Ulrich Drepper  <drepper@gmail.com>
60378         * sysdeps/x86_64/memset.S: After aligning destination, code
60379         branches to different locations depending on the value of
60380         misalignment, when multiarch is enabled. Fix this.
60382 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60384         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60385         Set _x86_64_preferred_memory_instruction for AMD processsors.
60386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60387         Set bit_Prefer_SSE_for_memop for AMD processors.
60389 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60391         * libio/fmemopen.c (fmemopen): Optimize a bit.
60393 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60395         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60397 2011-03-03  Roland McGrath  <roland@redhat.com>
60399         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60401 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60403         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60404         __bzero_ultra1 instead of __memset_ultra1.
60406 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60407             Ulrich Drepper  <drepper@gmail.com>
60409         [BZ #12509]
60410         * include/link.h (struct link_map): Add l_orig_initfini.
60411         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60412         returning unsuccessfully.
60413         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60414         close of a file loaded at startup, restore the original l_initfini
60415         list.
60416         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60417         list, store the pointer.
60418         * elf/Makefile ($(objpfx)noload-mem): New rule.
60419         (noload-ENV): Define.
60420         (tests): Add $(objpfx)noload-mem.
60421         * elf/noload.c: Include <memcheck.h>.
60422         (main): Call mtrace.  Close all opened handles.
60424 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60426         [BZ #12454]
60427         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60428         dependencies are missing.
60430 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60432         Fix __if_freereq crash: Unlike the generic version which uses free,
60433         Hurd needs munmap.
60434         * sysdeps/mach/hurd/ifreq.h: New file.
60436 2011-01-27  Petr Baudis  <pasky@suse.cz>
60437             Ulrich Drepper  <drepper@gmail.com>
60439         [BZ 12445]#
60440         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60441         to extend_alloca().
60442         * stdio-common/bug23.c: New file.
60443         * stdio-common/Makefile (tests): Add bug23.
60445 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60446             Ulrich Drepper  <drepper@gmail.com>
60448         [BZ #12489]
60449         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60450         before performing relro protection.  At old place add assertion
60451         to make sure nothing changed.
60453 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60454             Glauber de Oliveira Costa  <glommer@gmail.com>
60456         * elf/elf.h: Add new ARM TLS relocs.
60458 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60461         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60462         cast from r3.
60463         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60464         'tests' variable.
60465         * sysdeps/wordsize-64/tst-writev.c: New file.
60467 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60469         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60470         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60471         insns in _dl_start to prevent a TOC reference before relocs are
60472         resolved.
60474 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60476         [BZ #12469]
60477         * Makeconfig: Remove RANLIB definition.
60478         * Makerules: Don't use RANLIB.
60479         * aclocal.m4: Remove ranlib test.
60480         * configure.in: No need to check for ranlib.
60481         * elf/rtld-Rules: Don't use RANLIB.
60483 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60485         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60486         protection macro.
60487         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60488         inclusion protection macro.
60490         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60491         SIGRTMIN and SIGRTMAX and print information in that case only when
60492         SIGRTMIN is defined.
60494 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60496         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60497         arginfo fn returning -1.
60499         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60500         and thousands string is zero terminated.
60502 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60504         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60505         sysdeps/unix/sysv/linux/bits/socket.h.
60507 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60509         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60510         (__CPU_COUNT): Remove old macros.
60511         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60512         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60513         (__CPU_ALLOC, __CPU_FREE): Add macros.
60514         (__sched_cpualloc, __sched_cpufree): Add declarations.
60516 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60518         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60519         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60520         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60521         (readdhstai): Return value of addhstaiX call.
60522         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60523         (addgrbyX): Return value returned by cache_addgr.
60524         (readdgrbyname): Return value returned by addgrbyX.
60525         (readdgrbygid): Likewise.
60526         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60527         (addpwbyX): Return value returned by cache_addpw.
60528         (readdpwbyname): Return value returned by addhstbyX.
60529         (readdpwbyuid): Likewise.
60530         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60531         (addservbyX): Return value returned by cache_addserv.
60532         (readdservbyname): Return value returned by addservbyX:
60533         (readdservbyport): Likewise.
60534         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60535         (addhstbyX): Return value returned by cache_addhst.
60536         (readdhstbyname): Return value returned by addhstbyX.
60537         (readdhstbyaddr): Likewise.
60538         (readdhstbynamev6): Likewise.
60539         (readdhstbyaddrv6): Likewise.
60540         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60541         (readdinitgroups): Return value returned by addinitgroupsX.
60542         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60543         (prune_cache): Keep track of timeout value of re-added entries.
60544         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60545         * nscd/nscd.h: Adjust prototypes of readd* functions.
60547 2011-02-04  Roland McGrath  <roland@redhat.com>
60549         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60550         (nis_stats): Likewise.
60551         * nis/nis_modify.c (nis_modify): Likewise.
60552         * nis/nis_remove.c (nis_remove): Likewise.
60553         * nis/nis_add.c (nis_add): Likewise.
60555         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60557         * posix/fnmatch_loop.c: Add some consts.
60559         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60561 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60563         [BZ #12460]
60564         * config.make.in (config-cflags-novzeroupper): Define.
60565         * configure.in: Substitute libc_cv_cc_novzeroupper.
60566         * elf/Makefile (AVX-CFLAGS): Define.
60567         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60568         (CFLAGS-tst-auditmod4a.c): Likewise.
60569         (CFLAGS-tst-auditmod4b.c): Likewise.
60570         (CFLAGS-tst-auditmod6b.c): Likewise.
60571         (CFLAGS-tst-auditmod6c.c): Likewise.
60572         (CFLAGS-tst-auditmod7b.c): Likewise.
60573         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60575 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60577         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60578         function to the callback.
60579         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60581 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60583         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60584         of errno.
60586 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60588         [BZ #11724]
60589         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60590         of constructors.
60591         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60592         of destructors.
60593         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60595         [BZ #11724]
60596         * elf/Makefile: Add rules to build and run new test.
60597         * elf/tst-initorder.c: New file.
60598         * elf/tst-initorder.exp: New file.
60599         * elf/tst-initordera1.c: New file.
60600         * elf/tst-initordera2.c: New file.
60601         * elf/tst-initordera3.c: New file.
60602         * elf/tst-initordera4.c: New file.
60603         * elf/tst-initorderb1.c: New file.
60604         * elf/tst-initorderb2.c: New file.
60605         * elf/tst-order-a1.c: New file.
60606         * elf/tst-order-a2.c: New file.
60607         * elf/tst-order-a3.c: New file.
60608         * elf/tst-order-a4.c: New file.
60609         * elf/tst-order-b1.c: New file.
60610         * elf/tst-order-b2.c: New file.
60611         * elf/tst-order-main.c: New file.
60612         New test case by George Gensure <werkt0@gmail.com>.
60614 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60616         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60617         decoding ACE if AI_CANONIDN.
60619 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60621         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60623 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60625         * version.h (RELEASE): Bump for 2.13 release.
60626         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60628         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60630         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60631         MADV_NOHUGEPAGE.
60632         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60633         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60634         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60635         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60636         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60637         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60639         * posix/getconf.c: Update copyright year.
60640         * catgets/gencat.c: Likewise.
60641         * csu/version.c: Likewise.
60642         * debug/catchsegv.sh: Likewise.
60643         * debug/xtrace.sh: Likewise.
60644         * elf/ldconfig.c: Likewise.
60645         * elf/ldd.bash.in: Likewise.
60646         * elf/sprof.c (print_version): Likewise.
60647         * iconv/iconv_prog.c: Likewise.
60648         * iconv/iconvconfig.c: Likewise.
60649         * locale/programs/locale.c: Likewise.
60650         * locale/programs/localedef.c: Likewise.
60651         * malloc/memusage.sh: Likewise.
60652         * malloc/mtrace.pl: Likewise.
60653         * nscd/nscd.c (print_version): Likewise.
60654         * nss/getent.c: Likewise.
60656         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60657         PF_CAIF, and PF_ALG.
60658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60660 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60662         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60663         (modules-names): Use them.
60664         (ifunc-test-modules, ifunc-pie-tests): Define.
60665         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60666         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60667         (test-extras): Likewise.
60668         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60669         $(compile-command.c).
60670         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60671         (all-built-dso): Define.
60672         (check-textrel.out, check-execstack.out): Depend on it.
60674         * configure.in: Don't override --enable-multi-arch.
60676 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60678         [BZ #6812]
60679         * nscd/hstcache.c (tryagain): Define.
60680         (cache_addhst): Return tryagain not notfound for temporary errors.
60681         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60682         failed.
60684 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60686         [BZ #10563]
60687         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60688         to make the syscall.
60689         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60691         [BZ #12378]
60692         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60693         and fall back to matching as normal character if the string ends before
60694         the matching ']' is found.  This is what POSIX requires.
60695         * posix/testfnm.c: Adjust test result.
60696         * posix/globtest.sh: Adjust test result.  Add new test.
60697         * posix/tst-fnmatch.input: Likewise.
60698         * posix/tst-fnmatch2.c: Add new test.
60700 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60702         * elf/Makefile (check-execstack): Revert last change.  Depend on
60703         check-execstack.h.
60704         (check-execstack.h): New target.
60705         (generated): Add check-execstack.h.
60706         * elf/check-execstack.c: Include "check-execstack.h".
60707         (main): Revert last change.
60708         (handle_file): Return zero if GNU_STACK is absent and
60709         DEFAULT_STACK_PERMS doesn't include PF_X.
60711 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60713         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60714         in child fails because the descriptor is already closed.
60715         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60716         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60717         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60719         [BZ #12397]
60720         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60721         syscall.
60723         [BZ #10484]
60724         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60725         temporary buffer used to handle multi lookups locally.
60726         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60728 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60730         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60731         loader is ld.so.
60733 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60735         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60736         alignment for SSE2.
60738 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60740         [BZ #12394]
60741         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60742         characters.  When rounding increased number of integer digits recompute
60743         number of groups.
60744         * stdio-common/tst-grouping.c: New file.
60745         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60747 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60749         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60750         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60752         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60753         void.
60754         * bits/select.h: Likewise.
60756 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60758         * po/ja.po: Update from translation team.
60760 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60762         [BZ #11155]
60763         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60764         implementation just like for lxstat, fxstatat, et al.
60766 2010-12-27  Jim Meyering  <meyering@redhat.com>
60768         [BZ #12348]
60769         * posix/regexec.c (build_trtable): Return failure indication upon
60770         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60772 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60774         [BZ #12201]
60775         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60776         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60777         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60778         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60780         [BZ #12207]
60781         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60783         [BZ #12204]
60784         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60785         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60787 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60789         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60790         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60791         script has SORT_BY_INIT_PRIORITY.
60792         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60793         NO_CTORS_DTORS_SECTIONS is defined.
60794         * elf/soinit.c: Likewise.
60795         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60796         NO_CTORS_DTORS_SECTIONS is defined.
60797         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60798         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60799         * sysdeps/sh/init-first.c: Likewise.
60800         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60802 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60804         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60805         always use the slow path.
60807 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60809         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60810         similar rule which adds the sysdep directories to the header search in
60811         order to pick up the correct platform stackinfo.h.
60812         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60813         perform test if it is, otherwise return successfully without testing.
60814         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60815         DEFAULT_STACK_PERMS define in stackinfo.h.
60816         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60817         defined in stackinfo.h.
60818         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60819         DEFAULT_STACK_PERMS defined in stackinfo.h.
60820         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60821         * sysdeps/ia64/stackinfo.h: Likewise.
60822         * sysdeps/s390/stackinfo.h: Likewise.
60823         * sysdeps/sh/stackinfo.h: Likewise.
60824         * sysdeps/sparc/stackinfo.h: Likewise.
60825         * sysdeps/x86_64/stackinfo.h: Likewise.
60826         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60827         PF_X for powerpc64.  Retain PF_X for powerpc32.
60829 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60831         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60832         accurately.
60833         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60834         GETDENTS_64BIT_ALIGNED.
60836 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60838         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60840 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60842         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60843         _GNU_SOURCE.
60845         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60846         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60847         Remove __restrict.
60848         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60849         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60851 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60853         [BZ #11655]
60854         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60855         are initialized.
60857 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60859         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60861 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60863         * po/it.po: Update from translation team.
60865 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60868         unused codes.
60870 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60872         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60874 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60876         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60877         specially.
60878         (gaih_getanswer_slice): Likewise.
60880 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60884 2010-05-31  Petr Baudis  <pasky@suse.cz>
60886         [BZ #11149]
60887         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60888         silently even in the chroot mode.
60890 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60892         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60893         last patch a bit.  Pretty printing
60895 2010-05-31  Petr Baudis <pasky@suse.cz>
60897         [BZ #10085]
60898         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60899         initialization of skip_initgroups_dyn.
60901 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60903         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60904         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60906 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60908         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60910 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60912         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60913         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60914         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60915         ($(objpfx)tst-fnmatch-mem): New rule.
60916         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60917         * posix/tst-fnmatch.c (main): Call mtrace.
60919 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60922         Support Intel processor model 6 and model 0x2c.
60924 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60927           signed comparison.
60929 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60931         [BZ #12205]
60932         * string/test-strncasecmp.c (check_result): New function.
60933         (do_one_test): Use it.
60934         (check1): New function.
60935         (test_main): Use it.
60936         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60937         Support strcasecmp and strncasecmp.
60939 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60941         [BZ #12194]
60942         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60943         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60945 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60947         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60948         IFUNC support.
60949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60950         memset-x86-64.
60951         * sysdeps/x86_64/multiarch/bzero.S: New file.
60952         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60953         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60954         * sysdeps/x86_64/multiarch/memset.S: New file.
60955         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60957         Set bit_Prefer_SSE_for_memop for Intel processors.
60958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60959         Define.
60960         (index_Prefer_SSE_for_memop): Define.
60961         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60963 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60965         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60966         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60968 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60970         [BZ #12191]
60971         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60972         (__x86_64_raw_data_cache_size_half): Likewise.
60973         (__x86_64_raw_shared_cache_size): Likewise.
60974         (__x86_64_raw_shared_cache_size_half): Likewise.
60976         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60977         (__x86_64_raw_data_cache_size_half): Likewise.
60978         (__x86_64_raw_shared_cache_size): Likewise.
60979         (__x86_64_raw_shared_cache_size_half): Likewise.
60980         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60981         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60982         and __x86_64_raw_shared_cache_size_half.  Round
60983         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60984         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60985         to multiple of 256 bytes.
60987 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60989         [BZ #12167]
60990         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60991         of inacessible symlinks.  Verify result of symlink before returning it.
60992         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60993         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60995 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60997         * math/math.h (isinf): Fix typo in comment.
60999 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61001         * po/da.po: Update from translation team.
61003 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61005         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61006         is added to the list.
61008 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61009             Ulrich Drepper  <drepper@gmail.com>
61011         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61012         the global list here.  Move code to...
61013         (_dl_add_to_namespace_list): ...here.  New function.
61014         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61015         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61016         * elf/dl-load.c (lose): Don't remove the element from the list.
61017         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61018         (_dl_map_object): Likewise.
61020 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61022         [BZ #12159]
61023         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61024         into all bytes of SSE register.
61025         Patch by Richard Li <richardpku@gmail.com>.
61027 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61029         [BZ #12140]
61030         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61031         perturbing.
61033 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61035         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61036         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61037         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61038         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61040         submachine.
61041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61043 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61045         * include/dlfcn.h (__RTLD_SECURE): Define.
61046         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61047         mode & __RTLD_SECURE instead.
61048         (open_path): Rename preloaded parameter to secure.
61049         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61050         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61051         * elf/dl-deps.c (openaux): Likewise.
61052         * elf/rtld.c (struct map_args): Remove is_preloaded.
61053         (map_doit): Don't use it.
61054         (dl_main): Likewise.
61055         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61056         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61058 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61060         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61061         (sysd-rules-targets): Remove duplicates.
61062         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61063         rtld-%.$o dependency.
61065 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61067         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61068         _dl_map_object do it.
61070 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61072         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61073         fast fma builtins, define the macros in the C99 standard.
61074         (FP_FAST_FMAF): Likewise.
61075         (FP_FAST_FMAL): Likewise.
61076         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61078         * bits/mathdef.h: Update copyright year.
61079         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61081 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61083         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61084         builtins, define the macros in the C99 standard.
61085         (FP_FAST_FMAF): Likewise.
61086         (FP_FAST_FMAL): Likewise.
61087         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61088         multiply/add.
61089         (FP_FAST_FMAF): Likewise.
61091 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61093         [BZ #3268]
61094         * math/libm-test.inc (fma_test): Some new testcases.
61095         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61097         y and infinite z.  Do multiplication by C already in long double.
61098         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61100         y and infinite z.  Do bitwise or of inexact bit into u.d.
61101         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61102         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61103         * sysdeps/i386/fpu/s_fma.S: Removed.
61104         * sysdeps/i386/fpu/s_fmal.S: Removed.
61106 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61108         [BZ #3268]
61109         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61111         computation is not scheduled after fetestexcept.  Fix value
61112         of minimum denormal long double.
61114 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61116         [BZ #3268]
61117         * math/libm-test.inc (fma_test): Add some more tests.
61118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61119         correctly.
61121 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61123         * scripts/data/localplt-s390-linux-gnu.data: New file.
61124         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61126 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61128         [BZ #3268]
61129         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61130         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61131         instead of dbl-64.
61132         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61133         inlines.
61134         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61136         if one of x and y is very large and the other is subnormal.
61137         * sysdeps/s390/fpu/s_fmaf.c: New file.
61138         * sysdeps/s390/fpu/s_fma.c: New file.
61139         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61140         * sysdeps/powerpc/fpu/s_fma.S: New file.
61141         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61142         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61143         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61145 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61147         [BZ #3268]
61148         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61149         fma tests.
61150         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61151         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61152         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61153         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61154         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61155         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61156         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61158 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61160         [BZ #12078]
61161         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61162         * posix/bug-regex31.input: Add test case.
61164 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61166         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61167         * posix/bug-regex31.input: New file.
61169         [BZ #12078]
61170         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61171         (parse_sub_exp): Fix last change, use postorder.
61173         * posix/bug-regex31.c: New file.
61174         * posix/Makefile: Add rules to build and run bug-regex31.
61176         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61178         [BZ #12078]
61179         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61181         [BZ #12108]
61182         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61183         to have entries in sys_siglist.
61185         [BZ #12093]
61186         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61187         be NULL.
61189 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61191         [BZ #3268]
61192         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61193         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61194         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61195         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61196         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61197         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61198         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61199         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61200         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61201         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61202         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61203         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61204         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61205         * math/ftestexcept.c (fetestexcept): Likewise.
61206         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61207         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61208         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61209         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61210         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61211         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61212         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61214 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61216         [BZ #12107]
61217         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61218         newline.
61220 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61222         * string/bug-strstr1.c: New file.
61223         * string/Makefile: Add rules to build and run bug-strstr1.
61225 2010-10-05  Eric Blake  <eblake@redhat.com>
61227         [BZ #12092]
61228         * string/str-two-way.h (two_way_long_needle): Always clear memory
61229         when skipping input due to the shift table.
61231 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61233         [BZ #12005]
61234         * malloc/mcheck.c: Handle large requests.
61236         [BZ #12077]
61237         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61238         for strncmp and strncasecmp.
61239         * string/stratcliff.c: Add tests for strcmp and strncmp.
61240         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61242 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61244         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61245         __set_fpscr.
61247 2010-09-30  Andreas Jaeger  <aj@suse.de>
61249         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61250         (CGROUP_SUPER_MAGIC): Define.
61251         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61252         Handle btrfs and cgroup file systems.
61253         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61254         Likewise.
61256 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61258         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61259         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61261 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61263         [BZ #12067]
61264         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61265         trying to locate the ELF header.
61267 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61269         [BZ #11611]
61270         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61271         Mask out sign-bit copies when constructing f_fsid.
61273 2010-09-24  Petr Baudis <pasky@suse.cz>
61275         * debug/stack_chk_fail_local.c: Add missing licence exception.
61276         * debug/warning-nop.c: Likewise.
61278 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61280         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61281         implementing getdents64 using getdents syscall, set d_type if
61282         __ASSUME_GETDENTS32_D_TYPE.
61284 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61286         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61287         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61289 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61291         [BZ #12037]
61292         * posix/unistd.h: Undo change of feature selection for ftruncate from
61293         2010-01-11.
61295 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61297         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61298         detection.
61300 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61302         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61303         fanotify_mark.
61304         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61306 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61308         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61309         variables after CHECK_SP call.
61310         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61312 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61313             Ulrich Drepper  <drepper@redhat.com>
61315         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61316         re-relocationg ld.so.
61317         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61318         _dl_init_paths call.
61319         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61320         here anymore.
61322 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61324         * resolv/res_init.c (__res_vinit): Count the default server we added.
61326 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61327             Ulrich Drepper  <drepper@redhat.com>
61329         [BZ #11968]
61330         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61331         (____longjmp_chk): Use %ebx for saving value across system call.
61332         Add unwind info.
61334 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61336         * manual/Makefile: Don't mix pattern rules with normal rules.
61338 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61340         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61341         operation.
61342         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61343         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61344         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61345         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61347         Likewise.
61349 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61351         [BZ #11979]
61352         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61353         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61355 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61357         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61358         * sysdeps/x86_64/addmul_1.S: Likewise.
61359         * sysdeps/x86_64/lshift.S: Likewise.
61360         * sysdeps/x86_64/mul_1.S: Likewise.
61361         * sysdeps/x86_64/rshift.S: Likewise.
61362         * sysdeps/x86_64/sub_n.S: Likewise.
61363         * sysdeps/x86_64/submul_1.S: Likewise.
61365 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61367         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61368         Define __sched_param instead of SCHED_* and sched_param when
61369         <bits/sched.h> is included with __need_schedparam defined.
61370         * bits/sched.h [__need_schedparam]
61371         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61372         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61373         (__defined_schedparam): Define to 1.
61374         (__sched_param): New structure, identical to sched_param.
61375         (__need_schedparam): Undefine.
61377 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61379         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61380         (epoll_create1): Declare.
61382         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61384 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61386         [BZ #7066]
61387         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61388         shifting retval into place.
61390 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61392         * nis/rpcsvc/nis.h: Update copyright notice.
61393         * nis/rpcsvc/nis.x: Likewise.
61394         * nis/rpcsvc/nis_callback.h: Likewise.
61395         * nis/rpcsvc/nis_callback.x: Likewise.
61396         * nis/rpcsvc/nis_object.x: Likewise.
61397         * nis/rpcsvc/nis_tags.h: Likewise.
61398         * nis/rpcsvc/yp.h: Likewise.
61399         * nis/rpcsvc/yp.x: Likewise.
61400         * nis/rpcsvc/ypupd.h: Likewise.
61401         * nis/yp_xdr.c: Likewise.
61402         * nis/ypupdate_xdr.c: Likewise.
61404         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61405         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61406         (pmap_getport): Use __libc_rpc_getport.
61407         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61408         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61409         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61411 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61414         fanotify_mark.
61416 2010-08-27  Roland McGrath  <roland@redhat.com>
61418         * sysdeps/i386/i686/multiarch/Makefile
61419         (CFLAGS-varshift.c): New variable.
61421 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61423         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61424         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61426         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61428         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61430 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61432         * sysdeps/x86_64/strlen.S: Unroll the loop.
61433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61434         strlen-sse2 strlen-sse2-bsf.
61435         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61436         __strlen_no_bsf if bit_Slow_BSF is set.
61437         (__strlen_sse42): Removed.
61438         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61439         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61441 2010-08-25  Roland McGrath  <roland@redhat.com>
61443         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61444         * sysdeps/x86_64/multiarch/varshift.c: New file.
61445         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61446         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61447         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61448         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61450 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61452         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61453         strlen-sse2 strlen-sse2-bsf.
61454         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61455         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61456         (__strlen_sse2): Removed.
61457         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61458         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61460         bit_Slow_BSF for Atom.
61461         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61462         (index_Slow_BSF): Define.
61463         (HAS_SLOW_BSF): Define.
61465 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61467         [BZ #10851]
61468         * resolv/res_init.c (__res_vinit): When no server address at all
61469         is given default to loopback.
61471 2010-08-24  Roland McGrath  <roland@redhat.com>
61473         * configure.in: Remove config-name.h generation.
61474         * configure: Regenerated.
61475         * config-name.in: File removed.
61476         * scripts/config-uname.sh: New file.
61477         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61478         ($(objdir)config-name.h): New target.
61480         * sunrpc/rpc_parse.h: Avoid nested comment.
61482 2010-08-24  Richard Henderson  <rth@redhat.com>
61483             Ulrich Drepper  <drepper@redhat.com>
61484             H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61488         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61489         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61490         _mm_alignr_epi8 with _mm_loadu_si128.
61491         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61492         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61493         (__m128i_shift_right): Removed.
61494         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61495         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61496         * sysdeps/x86_64/multiarch/varshift.h: New file.
61497         * sysdeps/x86_64/multiarch/varshift.S: New file.
61499 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61501         * configure.in: Move assembler checks to before sysdep dir checking.
61503 2010-08-20  Petr Baudis  <pasky@suse.cz>
61505         * LICENSES: Sync the sunrpc license.
61507 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61509         * sunrpc/auth_des.c: Update copyright notice once again.
61510         * sunrpc/auth_none.c: Likewise.
61511         * sunrpc/auth_unix.c: Likewise.
61512         * sunrpc/authdes_prot.c: Likewise.
61513         * sunrpc/authuxprot.c: Likewise.
61514         * sunrpc/bindrsvprt.c: Likewise.
61515         * sunrpc/clnt_gen.c: Likewise.
61516         * sunrpc/clnt_perr.c: Likewise.
61517         * sunrpc/clnt_raw.c: Likewise.
61518         * sunrpc/clnt_simp.c: Likewise.
61519         * sunrpc/clnt_tcp.c: Likewise.
61520         * sunrpc/clnt_udp.c: Likewise.
61521         * sunrpc/clnt_unix.c: Likewise.
61522         * sunrpc/des_crypt.c: Likewise.
61523         * sunrpc/des_soft.c: Likewise.
61524         * sunrpc/get_myaddr.c: Likewise.
61525         * sunrpc/getrpcport.c: Likewise.
61526         * sunrpc/key_call.c: Likewise.
61527         * sunrpc/key_prot.c: Likewise.
61528         * sunrpc/openchild.c: Likewise.
61529         * sunrpc/pm_getmaps.c: Likewise.
61530         * sunrpc/pm_getport.c: Likewise.
61531         * sunrpc/pmap_clnt.c: Likewise.
61532         * sunrpc/pmap_prot.c: Likewise.
61533         * sunrpc/pmap_prot2.c: Likewise.
61534         * sunrpc/pmap_rmt.c: Likewise.
61535         * sunrpc/rpc/auth.h: Likewise.
61536         * sunrpc/rpc/auth_unix.h: Likewise.
61537         * sunrpc/rpc/clnt.h: Likewise.
61538         * sunrpc/rpc/des_crypt.h: Likewise.
61539         * sunrpc/rpc/key_prot.h: Likewise.
61540         * sunrpc/rpc/netdb.h: Likewise.
61541         * sunrpc/rpc/pmap_clnt.h: Likewise.
61542         * sunrpc/rpc/pmap_prot.h: Likewise.
61543         * sunrpc/rpc/pmap_rmt.h: Likewise.
61544         * sunrpc/rpc/rpc.h: Likewise.
61545         * sunrpc/rpc/rpc_des.h: Likewise.
61546         * sunrpc/rpc/rpc_msg.h: Likewise.
61547         * sunrpc/rpc/svc.h: Likewise.
61548         * sunrpc/rpc/svc_auth.h: Likewise.
61549         * sunrpc/rpc/types.h: Likewise.
61550         * sunrpc/rpc/xdr.h: Likewise.
61551         * sunrpc/rpc_clntout.c: Likewise.
61552         * sunrpc/rpc_cmsg.c: Likewise.
61553         * sunrpc/rpc_common.c: Likewise.
61554         * sunrpc/rpc_cout.c: Likewise.
61555         * sunrpc/rpc_dtable.c: Likewise.
61556         * sunrpc/rpc_hout.c: Likewise.
61557         * sunrpc/rpc_main.c: Likewise.
61558         * sunrpc/rpc_parse.c: Likewise.
61559         * sunrpc/rpc_parse.h: Likewise.
61560         * sunrpc/rpc_prot.c: Likewise.
61561         * sunrpc/rpc_sample.c: Likewise.
61562         * sunrpc/rpc_scan.c: Likewise.
61563         * sunrpc/rpc_scan.h: Likewise.
61564         * sunrpc/rpc_svcout.c: Likewise.
61565         * sunrpc/rpc_tblout.c: Likewise.
61566         * sunrpc/rpc_util.c: Likewise.
61567         * sunrpc/rpc_util.h: Likewise.
61568         * sunrpc/rpcinfo.c: Likewise.
61569         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61570         * sunrpc/rpcsvc/key_prot.x: Likewise.
61571         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61572         * sunrpc/rpcsvc/mount.x: Likewise.
61573         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61574         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61575         * sunrpc/rpcsvc/rex.x: Likewise.
61576         * sunrpc/rpcsvc/rstat.x: Likewise.
61577         * sunrpc/rpcsvc/rusers.x: Likewise.
61578         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61579         * sunrpc/rpcsvc/spray.x: Likewise.
61580         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61581         * sunrpc/rtime.c: Likewise.
61582         * sunrpc/svc.c: Likewise.
61583         * sunrpc/svc_auth.c: Likewise.
61584         * sunrpc/svc_authux.c: Likewise.
61585         * sunrpc/svc_raw.c: Likewise.
61586         * sunrpc/svc_run.c: Likewise.
61587         * sunrpc/svc_simple.c: Likewise.
61588         * sunrpc/svc_tcp.c: Likewise.
61589         * sunrpc/svc_udp.c: Likewise.
61590         * sunrpc/svc_unix.c: Likewise.
61591         * sunrpc/svcauth_des.c: Likewise.
61592         * sunrpc/xcrypt.c: Likewise.
61593         * sunrpc/xdr.c: Likewise.
61594         * sunrpc/xdr_array.c: Likewise.
61595         * sunrpc/xdr_float.c: Likewise.
61596         * sunrpc/xdr_mem.c: Likewise.
61597         * sunrpc/xdr_rec.c: Likewise.
61598         * sunrpc/xdr_ref.c: Likewise.
61599         * sunrpc/xdr_sizeof.c: Likewise.
61600         * sunrpc/xdr_stdio.c: Likewise.
61602         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61603         handling.
61605 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61607         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61609 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61611         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61612         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61613         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61614         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61615         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61616         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61617         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61618         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61620         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61621         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61622         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61623         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61624         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61626 2010-07-26  Anton Blanchard  <anton@samba.org>
61628         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61629         * malloc/arena.c (heap_trim): Likewise.
61631 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61633         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61634         here.  Not...
61635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61636         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61638 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61640         * sysdeps/i386/elf/Makefile: New file.
61642 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61644         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61645         from fanotify_init.
61646         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61649 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61651         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61652         of strncasecmp_l.
61653         * sysdeps/multiarch/strcmp.S: Likewise.
61655 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61657         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61658         strncase_l-nonascii.
61659         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61660         Add strncase_l-ssse3.
61661         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61662         * sysdeps/x86_64/strcmp.S: Likewise.
61663         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61664         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61665         * sysdeps/x86_64/strncase.S: New file.
61666         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61667         * sysdeps/x86_64/strncase_l.S: New file.
61668         * string/Makefile (strop-tests): Add strncasecmp.
61669         * string/test-strncasecmp.c: New file.
61671         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61672         warning.
61674         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61675         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61677 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61679         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61681 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61683         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61684         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61685         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61687 2010-05-01  Alan Modra  <amodra@gmail.com>
61689         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61690         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61691         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61692         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61693         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61694         tidying.  Don't tail-call __sigjmp_save for static lib.
61695         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61696         save location.
61697         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61698         (CALL_MCOUNT): Add eh info, and nop after bl.
61699         (TAIL_CALL_SYSCALL_ERROR): New macro.
61700         (PSEUDO_RET): Use it.
61701         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61702         Correct save location of integer regs and cr.
61703         (_dl_profile_resolve): Correct cr save location.  Delete nops
61704         after bl when SHARED.  Reduce cfi size a little by better
61705         placement of cfi directives.
61706         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61707         make a stack frame.  Instead use parm save area as a temp.
61708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61709         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61711         Don't make a stack frame for parent, use parm save area.
61712         Increase child stack frame to 112 bytes.  Don't save unused reg,
61713         and adjust reg usage.  Set up cfi on error recovery and
61714         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61716         (__makecontext): Add dummy nop after jump to exit.
61717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61718         Use correct parm save area and cr save, reduce stack frame.
61719         Correct cfi for possible PSEUDO_RET frame setup.
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61721         Branch to local label emitted by PSEUDO_RET rather than
61722         __syscall_error.
61724 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61726         [BZ #11904]
61727         * locale/programs/locale.c (print_assignment): New function.
61728         (show_locale_vars): Use it.
61730 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61732         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61733         field.
61734         (struct statfs64): Likewise.
61735         (_STATFS_F_FLAGS): Define.
61736         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61737         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61738         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61739         (ST_VALID): Define locally.
61740         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61741         __statvfs_getflags, use the provided value.
61742         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61743         __ASSUME_STATFS_F_FLAGS.
61745         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61747         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61748         Add sys/fanotify.h.
61749         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61750         fanotify_mask for GLIBC_2.13.
61751         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61752         fanotify_init and fanotify_mark.
61753         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61754         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61756         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61757         Add prlimit.
61758         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61759         prlimit64 for GLIBC_2.13.
61760         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61761         prlimit64.
61762         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61763         syscall.
61764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61765         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61766         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61767         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61768         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61769         add prlimit alias.
61770         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61772         [BZ #11903]
61773         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61774         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61776         * nss/Makefile: Add rules to build and run tst-nss-test1.
61777         * shlib-versions: Add entry for libnss_test1.
61778         * nss/nss_test1.c: New file.
61779         * nss/tst-nss-test1.c: New file.
61781         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61782         (__nss_configure_lookup): Set appropriate entry in
61783         __nss_configure_lookup to true.
61784         * nss/nsswitch.h: Define enum with indeces of databases in
61785         databases and __nss_database_custom arrays.  Declare
61786         __nss_database_custom.
61787         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61788         to avoid using nscd when custom rules are installed.
61789         * nss/getXXbyYY_r.c: Likewise.
61790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61792         * nss/nss_files/files-parse.c: Whitespace fixes.
61794 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61796         [BZ #11883]
61797         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61798         * posix/fnmatch_loop.c: Likewise.
61800 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61802         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61803         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61804         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61805         * Versions.def [GLIBC_2.13]: Add.
61807 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61809         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61810         Also fail if tpwd after pwuid call is NULL.
61812 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61814         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61815         when converting to ms.
61817 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61819         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61820         EOPNOTSUPP errors with ENOTTY.
61821         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61822         EOPNOTSUPP errors with ENOTTY.
61824 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61826         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61827         Add strcasecmp_l-ssse3.
61828         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61829         strcasecmp.
61830         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61831         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61832         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61834 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61836         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61838         * string/Makefile (strop-tests): Add strcasecmp.
61839         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61840         strcasecmp_l-nonascii.
61841         (gen-as-const-headers): Add locale-defines.sym.
61842         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61843         * sysdeps/x86_64/strcasecmp.S: New file.
61844         * sysdeps/x86_64/strcasecmp_l.S: New file.
61845         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61846         * sysdeps/x86_64/locale-defines.sym: New file.
61847         * string/test-strcasecmp.c: New file.
61849         * string/test-strcasestr.c: Test both ends of the range of characters.
61850         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61852 2010-07-29  Roland McGrath  <roland@redhat.com>
61854         [BZ #11856]
61855         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61857 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61859         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61860         for ld.so.
61862 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61864         * manual/memory.texi (Malloc Tunable Parameters): Document
61865         M_PERTURB.
61867 2010-07-26  Roland McGrath  <roland@redhat.com>
61869         [BZ #11840]
61870         * configure.in (-fgnu89-inline check): Set and substitute
61871         gnu89_inline, not libc_cv_gnu89_inline.
61872         * configure: Regenerated.
61873         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61875 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61877         * string/test-strnlen.c: New file.
61878         * string/Makefile (strop-tests): Add strnlen.
61879         * string/tester.c (test_strnlen): Add a few more test cases.
61880         * string/tst-strlen.c: Better error reporting.
61882         * sysdeps/x86_64/strnlen.S: New file.
61884 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61886         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61887         lower-latency instructions.
61889 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61891         * string/test-strcasestr.c: New file.
61892         * string/test-strstr.c: New file.
61893         * string/Makefile (strop-tests): Add strstr and strcasestr.
61894         * string/str-two-way.h: Don't undefine MAX.
61895         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61897 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61899         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61900         strcasestr-nonascii.
61901         (CFLAGS-strcasestr-nonascii.c): Define.
61902         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61904         Remove unused attribute.
61906 2010-07-20  Roland McGrath  <roland@redhat.com>
61908         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61909         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61910         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61911         like LD_HWCAP_MASK can disable hwcaps.
61913 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61915         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61917 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61919         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61920         call in strcasestr.
61921         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61922         __strcasestr_sse42_nonascii.
61923         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61924         strcasestr-nonascii.c.
61925         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61927 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61929         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61930         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61931         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61932         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61934 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61936         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61937         fcntl.
61939 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61941         [BZ #11577]
61942         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61943         dl_signal_cerror.
61945 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61947         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61948         _PC_PIPE_BUF using F_GETPIPE_SZ.
61950 2010-07-05  Roland McGrath  <roland@redhat.com>
61952         * manual/arith.texi (Rounding Functions): Fix rint description
61953         implicit in round description.
61955 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61957         * elf/Makefile: Fix linking for a few tests to make recent linker
61958         happy.
61960 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61962         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61963         $(common-objpfx)libc_nonshared.a.
61965 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61967         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61968         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61969         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61970         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61971         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61972         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61973         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61974         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61989         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61990         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61991         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61992         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61993         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61994         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61995         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61996         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61997         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61998         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61999         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62000         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62016 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62018         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62019         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62020         * string/memmove.c (memmove): Renamed to ...
62021         (MEMMOVE): ...this.  Default to memmove.
62022         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62023         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62024         (END_CHK): Define.
62025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62026         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62027         mempcpy-ssse3-back memmove-ssse3-back.
62028         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62029         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62030         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62031         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62032         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62033         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62034         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62035         * sysdeps/x86_64/multiarch/memmove.c: New file.
62036         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62037         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62038         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62039         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62040         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62042         Define.
62043         (index_Fast_Copy_Backward): Define.
62044         (HAS_ARCH_FEATURE): Define.
62045         (HAS_FAST_REP_STRING): Define.
62046         (HAS_FAST_COPY_BACKWARD): Define.
62048 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62050         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62051         Restore proper fallback handling.
62053 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62055         [BZ #11701]
62056         * posix/group_member.c (__group_member): Correct checking loop.
62058         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62059         OOM in getpwuid_r correctly.  Return error number when the caller
62060         should return, otherwise -1.
62061         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62062         call returning > 0 value.
62063         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62065 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62067         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62068         libc_nonshared.a from targets in modules-names.
62070 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62072         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62073         requires it.
62075 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62077         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62078         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62079         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62080         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62082 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62084         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62086 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62088         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62089         and F_GETPIPE_SZ.
62090         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62091         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62092         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62095         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62097 2010-06-14  Roland McGrath  <roland@redhat.com>
62099         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62101 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62103         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62104         __REDIRECT followed by __THROW.
62105         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62106         * posix/getopt.h (getopt): Likewise.
62108 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62110         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62111         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62112         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62113         in AT_FLAGS.
62114         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62115         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62117 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62119         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62121 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62123         [BZ #11640]
62124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62125         Properly check family and model.
62127 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62129         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62131 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62133         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62135 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62137         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62138         symbol reference.
62140 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62142         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62143         symbol reference.
62145 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62147         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62148         and internal_recvmmsg.
62149         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62150         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62151         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62152         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62154         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62155         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62156         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62158 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62160         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62162 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62164         POWER7 optimizations.
62165         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62166         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62168 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62170         * version.h: Update for 2.13 development version.
62172 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62174         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62175         exceptions.  Return 0.
62177 2010-05-07  Roland McGrath  <roland@redhat.com>
62179         * elf/ldconfig.c (main): Add a const.
62181 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62183         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62184         (args_options): Add no-idn option.
62185         (ahosts_keys_int): Add idn_flags to ai_flags.
62186         (parse_option): Handle 'i' option to clear idn_flags.
62188         * malloc/malloc.c (_int_free): Possible race in the most recently
62189         added check.  Only act on the data if no current modification
62190         happened.
62192 See ChangeLog.17 for earlier changes.