hppa/ia64: _dl_unmap: make it hidden
[glibc.git] / ChangeLog
blob1630c1d582794f147aa67fc93850a60a2c233bac
1 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
5         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12         rtld_hidden_proto.
13         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18         the test can fail.
20         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22         [BZ #18676]
23         * elf/tst-nodelete-opened.c: New test case.
24         * elf/tst-nodelete-opened-lib.c: New test case module.
25         * elf/Makefile (tests, modules-names): Use them.
26         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27         early.
29 2015-07-15  David S. Miller  <davem@davemloft.net>
31         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32         futex-intenal.h
33         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34         * sysdeps/sparc/sparc64/Makefile: Likewise.
35         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
36         Remove space from macro define.
37         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
39 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
41         [BZ #17475]
42         * locale/iso-639.def: Update Bhili and Tulu language codes as
43         per iso639-3.
45 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
47         * elf/tst-leaks1.c (main): Converted to ...
48         (do_test): ... this.
49         (TEST_FUNCTION): New macro.
50         Include test-skeleton.c.
51         * localedata/tst-langinfo.c (main): Converted to ...
52         (do_test): ... this.
53         (TEST_FUNCTION): New macro.
54         Include test-skeleton.c.
55         * math/test-fpucw.c (main): Converted to ...
56         (do_test): ... this.
57         (TEST_FUNCTION): New macro.
58         Include test-skeleton.c.
59         * math/test-tgmath.c (main): Converted to ...
60         (do_test): ... this.
61         (TEST_FUNCTION): New macro.
62         Include test-skeleton.c.
63         * math/test-tgmath2.c (main): Converted to ...
64         (do_test): ... this.
65         (TEST_FUNCTION): New macro.
66         Include test-skeleton.c.
67         * setjmp/tst-setjmp.c (main): Converted to ...
68         (do_test): ... this.
69         (TEST_FUNCTION): New macro.
70         Include test-skeleton.c.
71         * stdio-common/tst-sscanf.c (main): Converted to ...
72         (do_test): ... this.
73         (TEST_FUNCTION): New macro.
74         Include test-skeleton.c.
75         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
76         (do_test): ... this.
77         (TEST_FUNCTION): New macro.
78         Include test-skeleton.c.
80         * elf/tst-audit9.c (main): Converted to ...
81         (do_test): ... this.
82         (TEST_FUNCTION): New macro.
83         Include test-skeleton.c.
85 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
87         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
89 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
91         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
92         New variable.
94 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
96         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
98 2015-07-14  Roland McGrath  <roland@hack.frob.com>
100         * sysdeps/generic/dl-fileid.h: New file.
101         * sysdeps/posix/dl-fileid.h: New file.
102         * sysdeps/nacl/dl-fileid.h: New file.
103         * include/link.h: Include <dl-fileid.h>.
104         (struct link_map): Replace l_dev and l_ino with l_file_id.
105         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
106         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
107         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
109 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
111         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
113 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
115         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
116         Add iff $CXX is set.
117         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
118         Likewise.
119         (tst-nodelete-zmodiff): Likewise.
120         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
122 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
124         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
126 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
128         * sysdeps/aarch64/fpu/math_private.h
129         (define math_opt_barrier): Add AArch64 version.
130         (math_force_eval): Likewise.
132 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
134         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
136 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
138         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
139         %ld with %jd and cast to intmax_t.
140         (do_test_length_zero): Likewise.
142 2015-07-10  Roland McGrath  <roland@hack.frob.com>
144         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
146 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
148         * sysdeps/tile/libm-test-ulps: Regenerated.
150         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
151         Comment out the whole function, not just its body.
153 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
155         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
156         locks.
158         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
160 2015-07-10  Torvald Riegel  <triegel@redhat.com>
162         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
163         (sem_assume_only_signals_cause_futex_EINTR): Remove.
165 2015-07-10  Torvald Riegel  <triegel@redhat.com>
167         * sysdeps/nptl/futex-internal.h: New file.
168         * sysdeps/nacl/futex-internal.h: New file.
169         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
170         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
171         error checking.
172         (setxid_unmark_thread): Likewise.
173         (__nptl_setxid): Likewise.
174         (__wait_lookup_done): Likewise.
175         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
176         * nptl/nptl-init.c (sighandler_setxid): Likewise.
177         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
178         * nptl/pthread_once.c (clear_once_control): Likewise.
179         (__pthread_once_slow): Likewise.
180         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
181         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
182         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
183         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
184         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
185         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
186         Likewise.
187         (__pthread_rwlock_rdlock): Likewise.
188         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
189         Likewise.
190         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
191         Likewise.
192         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
193         Likewise.
194         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
195         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
196         Likewise.
197         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
198         __ASSUME_PRIVATE_FUTEX check.
199         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
200         Check that shared futexes are supported.
201         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
202         wrappers with error checking.
203         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
204         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
205         * nptl/pthread_barrierattr_setpshared.c
206         (pthread_barrierattr_setpshared): Check that shared futexes are
207         supported.
208         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
209         Likewise.
210         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
211         Likewise.
212         * nptl/sem_init.c (futex_private_if_supported): Remove.
213         (__new_sem_init): Adapt and check that shared futexes are supported.
214         * nptl/sem_open.c (sem_open): Likewise.
215         * nptl/sem_post.c (futex_wake): Remove.
216         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
217         (do_futex_wait): Use futex wrappers with error checking.
218         * nptl/sem_wait.c: Include lowlevellock.h.
219         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
220         Use futex_supports_pshared.
221         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
222         Use futex wrappers with error checking.
223         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
224         Likewise.
225         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
226         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
227         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
228         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
229         (futex_wake): Likewise.
230         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
231         (do_futex_wait): Use futex wrappers with error checking.
232         (__new_sem_wait_slow): Update EINTR handling.
233         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
235 2015-07-09  Martin Sebor  <msebor@redhat.com>
237         [BZ #18435]
238         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
239         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
240         * nptl/Makefile (test-xfail-tst-once5): Define.
242 2015-07-09  Roland McGrath  <roland@hack.frob.com>
244         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
245         * elf/dl-minimal.c: For readability, reorder some definitions and
246         introduce more page breaks.  Include <stdio.h>.
247         (__libc_fatal): New function.
249         * include/unistd.h: Add rtld_hidden_proto for _exit.
250         * posix/_exit.c: Add rtld_hidden_def.
251         * sysdeps/mach/hurd/_exit.c: Likewise.
252         * sysdeps/nacl/_exit.c: Likewise.
253         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
254         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
256 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
258         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
259         bndmov encoding with zero displacement.
261 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
262             H.J. Lu  <hongjiu.lu@intel.com>
264         [BZ #18134]
265         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
266         * sysdeps/i386/configure: Regenerated.
267         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
268         (_dl_runtime_profile): Save and restore Intel MPX return bound
269         registers when calling _dl_call_pltexit.  Add
270         PRESERVE_BND_REGS_PREFIX before return.
271         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
272         (LRV_BND1_OFFSET): Likewise.
273         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
274         lrv_bnd1.
275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
276         typo in bndmov encoding.
277         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
278         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
279         branch instructions to preserve bounds.
281 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
284         [GLIBC_2.22]: Add fmemopen.
286 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
288         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
289         returns an error, also try to use host port from __mach_host_self for
290         the __vm_wire call.
291         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
293 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
295         [BZ #18400]
296         [BZ #18648]
297         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
298         Fix pr_uid and pr_gid members.
299         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
300         definition to elf_greg_t.
302 2015-07-08  Roland McGrath  <roland@hack.frob.com>
304         [BZ #18383]
305         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
306         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
307         * sysdeps/arm/configure: Regenerated.
308         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
309         (test-xfail-tst-tlsalign-static): Variable removed.
311         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
312         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
313         rather than explicit 'ln -s'.
315         * resolv/rpc/netdb.h: New file.
316         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
318 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
320         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
321         length buffers.
322         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
323         test-skeleton.c.
325         [BZ #6544]
326         [BZ #11216]
327         [BZ #12836]
328         [BZ #13151]
329         [BZ #13152]
330         [BZ #14292]
331         * include/stdio.h (fmemopen): Remove hidden prototype.
332         (__fmemopen): Add new hidden prototype.
333         * libio/Makefile: Add oldfmemopen object.
334         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
335         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
336         compliance.
337         * libio/oldfmemopen.c: New file: old fmemopen implementation for
338         symbol compatibility.
339         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
340         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
341         fmemopen.
342         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
343         on append and read mode.
344         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
345         fmemopen.
346         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
347         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
348         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
349         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
350         Likewise.
351         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
352         [GLIBC_2.22]: Likewise.
353         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
354         Likewise.
355         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
356         Likewise.
357         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
358         [GLIBC_2.22]: Likewise.
359         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
360         [GLIBC_2.22]: Likewise.
361         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
362         [GLIBC_2.22]: Likewise.
363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
364         [GLIBC_2.22]: Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
366         [GLIBC_2.22]: Likewise.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
368         [GLIBC_2.22]: Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
370         [GLIBC_2.22]: Likewise.
371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
372         Likewise.
373         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
374         Likewise.
375         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
377         [GLIBC_2.22]: Likewise.
378         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
379         [GLIBC_2.22]: Likewise.
380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
381         [GLIBC_2.22]: Likewise.
382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
383         [GLIBC_2.22]: Likewise.
384         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
385         Likewise.
386         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
387         Likewise.
388         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
389         Likewise.
390         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
391         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
393 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
395         [BZ #18643]
396         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
397         IPV6_PATHMTU, and IPV6_DONTFRAG.
399 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
401         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
402         and _IO_UNBUFFERED.
403         * libio/oldfileops.c: Likewise.
404         * libio/wfileops.c: Likewise.
406 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
408         * nscd/selinux.c: Delete selinux/flask.h include.
410 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
412         [BZ #18641]
413         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
414         (putpwent): Likewise.
415         (getpwnam): Likewise.
416         (getpwent_r): Likewise.
417         (getpwuid_r): Likewise.
418         (getpwnam_r): Likewise.
419         (fgetpwent_r): Likewise.
421 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
423         [BZ #18557]
424         * inet/rcmd.c (__validuser2_sa): Check user first to
425         short-circuit host check.
427 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
428             Mikhail Ilin  <m.ilin@samsung.com>
430         [BZ #17833]
431         * elf/Makefile (tests): Add tst-nodelete.
432         (modules-names): Add tst-nodelete-uniquemod.
433         (tst-nodelete-uniquemod.so-no-z-defs): New.
434         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
435         (tst-nodelete-zmod.so-no-z-defs): Likewise.
436         ($(objpfx)tst-nodelete): Likewise.
437         ($(objpfx)tst-nodelete.out): Likewise.
438         (LDFLAGS-tst-nodelete): Likewise.
439         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
440         * elf/dl-close.c (_dl_close_worker): Add a parameter to
441         implement forced object deletion.
442         (_dl_close): Pass false to _dl_close_worker.
443         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
444         * elf/tst-nodelete.cc: New file.
445         * elf/tst-nodeletelib.cc: Likewise.
446         * elf/tst-znodeletelib.cc: Likewise.
447         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
449 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
451         [BZ #18508]
452         * stdlib/Makefile ($(objpfx)tst-makecontext3):
453         Depend on $(libdl).
454         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
455         is not called infinitely times.
456         (backtrace_helper): New function.
457         (trace_arg): New struct.
458         (st1): Enlarge stack size.
459         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
460         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
461         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
462         Likewise.
464 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
466         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
468 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
470         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
471         Include sys/types.h instead of bits/types.h.
472         Remove inclusion of bits/wordsize.h.
474 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
476         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
477         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
478         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
479         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
480         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
481         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
483 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
485         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
486         link-defines.sym.
487         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
488         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
489         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
490         and LR_SIZE.
491         * sysdeps/i386/link-defines.sym: New file.
493 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
495         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
496         (modules-names): Add tst-auditmod3a tst-auditmod3b.
497         ($(objpfx)tst-audit3): New rule.
498         ($(objpfx)tst-audit3.out): Likewise.
499         * sysdeps/i386/tst-audit3.c: New file.
500         * sysdeps/i386/tst-audit3.h: Likewise.
501         * sysdeps/i386/tst-auditmod3a.c: Likewise.
502         * sysdeps/i386/tst-auditmod3b.c: Likewise.
504 2015-07-07  Torvald Riegel  <triegel@redhat.com>
506         [BZ #18633]
507         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
508         pointer in C code.
509         (__strcat_c): Likewise.
510         (__strcat_g): Likewise.
512 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
514         [BZ #18592]
515         * misc/sbrk.c: Set errno to ENOMEM on overflow.
517 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
519         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
520         New function.  (__ieee754_sqrtf): New function.
521         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
522         New function.
523         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
524         New function.
526 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
528         * sysdeps/ieee754/support.c: Remove unused file.
530 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
532         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
533         registers instead of d ones so the layout is kernel abi compatible.
534         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
535         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
536         Likewise.
538 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
540         * sysdeps/aarch64/libm-test-ulps: Regenerated.
542 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #18619]
545         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
546         and return argument in case of subnormal argument.
548 2015-07-01  Martin Sebor  <msebor@redhat.com>
550         [BZ #18435]
551         * nptl/Makefile: Add tst-once5.cc.
552         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
553         Remove macro redefinitions.
554         * nptl/tst-once5.cc: New test.
556 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
558         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
560         * sysdeps/arm/libm-test-ulps: Regenerated.
562         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
565 2015-06-30  Torvald Riegel  <triegel@redhat.com>
567         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
568         lll_lock_wait_private and lll_futex_wake probes.
570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
571         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
572         Likewise.
573         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
574         atomic_spin_nop.
575         * sysdeps/x86_64/bits/atomic.h: Likewise.
576         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
577         to atomic_spin_nop and move ...
578         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
579         ... here and ...
580         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
581         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
582         atomic_spin_nop instead of BUSY_WAIT_NOP.
583         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
584         Likewise.
585         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
586         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
587         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
588         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
589         instead of atomic_delay.
591 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
593         [BZ #18613]
594         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
595         X_ADJ not X when adjusting exponent.
596         (__ieee754_gamma_r): Do intermediate computations in
597         round-to-nearest then adjust overflowing and underflowing results
598         as needed.
599         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
600         of X_ADJ not X when adjusting exponent.
601         (__ieee754_gammaf_r): Do intermediate computations in
602         round-to-nearest then adjust overflowing and underflowing results
603         as needed.
604         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
605         log of X_ADJ not X when adjusting exponent.
606         (__ieee754_gammal_r): Do intermediate computations in
607         round-to-nearest then adjust overflowing and underflowing results
608         as needed.  Use 1.0L not 1.0f as numerator of division.
609         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
610         log of X_ADJ not X when adjusting exponent.
611         (__ieee754_gammal_r): Do intermediate computations in
612         round-to-nearest then adjust overflowing and underflowing results
613         as needed.  Use 1.0L not 1.0f as numerator of division.
614         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
615         of X_ADJ not X when adjusting exponent.
616         (__ieee754_gammal_r): Do intermediate computations in
617         round-to-nearest then adjust overflowing and underflowing results
618         as needed.  Use 1.0L not 1.0f as numerator of division.
619         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
620         to auto-libm-test-in.
621         (tgamma_test): Use ALL_RM_TEST.
622         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
623         tests of tgamma with spurious-overflow.
624         * math/auto-libm-test-out: Regenerated.
625         * math/gen-libm-have-vector-test.sh: Do not check for START.
626         * sysdeps/i386/fpu/libm-test-ulps: Update.
627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629         [BZ #18612]
630         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
631         arguments, just return 0.5 times the argument, with underflow
632         forced as needed.
633         * math/auto-libm-test-in: Add more tests of j1.
634         * math/auto-libm-test-out: Regenerated.
636         [BZ #16559]
637         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
638         (__ieee754_j1): Force underflow exception for small results.
639         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
640         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
641         (__ieee754_j1f): Force underflow exception for small results.
642         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
643         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
645         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
646         (__ieee754_j1l): Force underflow exception for small results.
647         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
648         * math/auto-libm-test-in: Add more tests of j1 and jn.
649         * math/auto-libm-test-out: Regenerated.
651         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
652         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
653         (PF_MPLS): Likewise.
654         (AF_IB): Likewise.
655         (AF_MPLS): Likewise.
656         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
657         value and macro.
658         (MS_RMT_MASK): Include MS_LAZYTIME.
660 2015-06-26  Mel Gorman  <mgorman@suse.de>
662         [BZ #18502]
663         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
664         already minimal.
666 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
668         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
669         (DT_MIPS_NUM): Update.
670         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
671         DT_MIPS_RLD_MAP_REL.
673 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
675         [BZ #16559]
676         [BZ #18602]
677         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
678         round-to-nearest internally then recompute results that
679         underflowed to zero in the original rounding mode.
680         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
681         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
683         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
684         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
685         * sysdeps/i386/fpu/libm-test-ulps: Update.
686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
688 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
690         * NEWS: Fixed description of link with vector math library.
692 2015-06-25  Andreas Schwab  <schwab@suse.de>
694         [BZ #18549]
695         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
696         * libio/test-fmemopen.c (do_test): Add test for it.
698 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
700         [BZ #17841]
701         * Makeconfig (no-pie-ldflag): New.
702         (+link): Set to $(+link-pie) if default to PIE.
703         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
704         * config.make.in (build-pie-default): New.
705         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
706         is default.  AC_SUBST.
707         * configure: Regenerated.
708         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
710 2015-06-24  Roland McGrath  <roland@hack.frob.com>
712         * nptl/descr.h (struct pthread): Change type of field setxid_futex
713         to 'unsigned int'.
715         * resolv/gai_misc.h (struct waitlist): Change type of field
716         counterp to 'volatile unsigned int *'.
717         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
718         FUTEXADDR and OLDVAL.
719         * resolv/getaddrinfo_a.c (getaddrinfo_a):
720         Give local variable TOTAL type 'volatile unsigned int'.
721         (struct async_waitlist): Change type of field counter to 'unsigned int'.
722         * resolv/gai_suspend.c (gai_suspend):
723         Give local variable CNTR type 'unsigned int'.
725         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
726         counterp to 'volatile unsigned int *'.
727         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
728         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
729         (aio_suspend): Give local variable CNTR type 'unsigned int'.
730         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
731         Give local variable TOTAL type 'volatile unsigned int'.
732         (struct async_waitlist): Change type of field counter to 'unsigned int'.
734 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
736         [BZ #18383]
737         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
738         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
739         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
740         comment for i386/x86-64.
741         (test-xfail-tst-tlsalign-extern-static): Removed.
743 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
745         * math/test-double.h: New file.
746         * math/test-float.h: Likewise.
747         * math/test-ldouble.h: Likewise.
748         * math/test-math-inline.h: Likewise.
749         * math/test-math-no-inline.h: Likewise.
750         * math/test-math-scalar.h: Likewise.
751         * math/test-math-vector.h: Likewise.
752         * math/test-vec-loop.h: Remove file.  Contents moved into
753         test-math-vector.h.
754         * math/libm-test.inc (MATHCONST): Do not document macro.
755         * math/test-double.c: Include test-double.h, test-math-no-inline.h
756         and test-math-scalar.h.
757         (FUNC): Remove macro.
758         (FUNC_TEST): Likewise.
759         (FLOAT): Likewise.
760         (MATHCONST): Likewise.
761         (PRINTF_EXPR): Likewise.
762         (PRINTF_XEXPR): Likewise.
763         (PRINTF_NEXPR): Likewise.
764         (TEST_DOUBLE): Likewise.
765         (TEST_MATHVEC): Likewise.
766         (__NO_MATH_INLINES): Likewise.
767         * math/test-float.c: Include test-float.h, test-math-no-inline.h
768         and test-math-scalar.h.
769         (FUNC): Remove macro.
770         (FUNC_TEST): Likewise.
771         (FLOAT): Likewise.
772         (MATHCONST): Likewise.
773         (PRINTF_EXPR): Likewise.
774         (PRINTF_XEXPR): Likewise.
775         (PRINTF_NEXPR): Likewise.
776         (TEST_FLOAT): Likewise.
777         (TEST_MATHVEC): Likewise.
778         (__NO_MATH_INLINES): Likewise.
779         * math/test-idouble.c: Include test-double.h, test-math-inline.h
780         and test-math-scalar.h.
781         (FUNC): Remove macro.
782         (FUNC_TEST): Likewise.
783         (FLOAT): Likewise.
784         (MATHCONST): Likewise.
785         (PRINTF_EXPR): Likewise.
786         (PRINTF_XEXPR): Likewise.
787         (PRINTF_NEXPR): Likewise.
788         (TEST_DOUBLE): Likewise.
789         (TEST_MATHVEC): Likewise.
790         (TEST_INLINE): Likewise.
791         (__NO_MATH_INLINES): Likewise.
792         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
793         test-math-scalar.h.
794         (FUNC): Remove macro.
795         (FUNC_TEST): Likewise.
796         (FLOAT): Likewise.
797         (MATHCONST): Likewise.
798         (PRINTF_EXPR): Likewise.
799         (PRINTF_XEXPR): Likewise.
800         (PRINTF_NEXPR): Likewise.
801         (TEST_FLOAT): Likewise.
802         (TEST_MATHVEC): Likewise.
803         (TEST_INLINE): Likewise.
804         (__NO_MATH_INLINES): Likewise.
805         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
806         and test-math-scalar.h.
807         (FUNC): Remove macro.
808         (FUNC_TEST): Likewise.
809         (FLOAT): Likewise.
810         (MATHCONST): Likewise.
811         (PRINTF_EXPR): Likewise.
812         (PRINTF_XEXPR): Likewise.
813         (PRINTF_NEXPR): Likewise.
814         (TEST_LDOUBLE): Likewise.
815         (TEST_MATHVEC): Likewise.
816         (TEST_INLINE): Likewise.
817         (__NO_MATH_INLINES): Likewise.
818         * math/test-ldouble.c: Include test-ldouble.h,
819         test-math-no-inline.h and test-math-scalar.h.
820         (FUNC): Remove macro.
821         (FUNC_TEST): Likewise.
822         (FLOAT): Likewise.
823         (MATHCONST): Likewise.
824         (PRINTF_EXPR): Likewise.
825         (PRINTF_XEXPR): Likewise.
826         (PRINTF_NEXPR): Likewise.
827         (TEST_LDOUBLE): Likewise.
828         (TEST_MATHVEC): Likewise.
829         (__NO_MATH_INLINES): Likewise.
830         * math/test-double-vlen2.h: Include test-double.h,
831         test-math-no-inline.h and test-math-vector.h.
832         (FLOAT): Remove macro.
833         (FUNC): Likewise.
834         (MATHCONST): Likewise.
835         (PRINTF_EXPR): Likewise.
836         (PRINTF_XEXPR): Likewise.
837         (PRINTF_NEXPR): Likewise.
838         (TEST_DOUBLE): Likewise.
839         (TEST_MATHVEC): Likewise.
840         (__NO_MATH_INLINES): Likewise.
841         (CNCT): Likewise.
842         (CONCAT): Likewise.
843         (WRAPPER_NAME): Likewise.
844         (WRAPPER_DECL): Likewise.
845         (WRAPPER_DECL_ff): Likewise.
846         (WRAPPER_DECL_fFF): Likewise.
847         (VECTOR_WRAPPER): Likewise.
848         (VECTOR_WRAPPER_ff): Likewise.
849         (VECTOR_WRAPPER_fFF): Likewise.
850         (VEC_LEN): New macro.
851         * math/test-double-vlen4.h: Include test-double.h,
852         test-math-no-inline.h and test-math-vector.h.
853         (FLOAT): Remove macro.
854         (FUNC): Likewise.
855         (MATHCONST): Likewise.
856         (PRINTF_EXPR): Likewise.
857         (PRINTF_XEXPR): Likewise.
858         (PRINTF_NEXPR): Likewise.
859         (TEST_DOUBLE): Likewise.
860         (TEST_MATHVEC): Likewise.
861         (__NO_MATH_INLINES): Likewise.
862         (CNCT): Likewise.
863         (CONCAT): Likewise.
864         (WRAPPER_NAME): Likewise.
865         (WRAPPER_DECL): Likewise.
866         (WRAPPER_DECL_ff): Likewise.
867         (WRAPPER_DECL_fFF): Likewise.
868         (VECTOR_WRAPPER): Likewise.
869         (VECTOR_WRAPPER_ff): Likewise.
870         (VECTOR_WRAPPER_fFF): Likewise.
871         (VEC_LEN): New macro.
872         * math/test-double-vlen8.h: Include test-double.h,
873         test-math-no-inline.h and test-math-vector.h.
874         (FLOAT): Remove macro.
875         (FUNC): Likewise.
876         (MATHCONST): Likewise.
877         (PRINTF_EXPR): Likewise.
878         (PRINTF_XEXPR): Likewise.
879         (PRINTF_NEXPR): Likewise.
880         (TEST_DOUBLE): Likewise.
881         (TEST_MATHVEC): Likewise.
882         (__NO_MATH_INLINES): Likewise.
883         (CNCT): Likewise.
884         (CONCAT): Likewise.
885         (WRAPPER_NAME): Likewise.
886         (WRAPPER_DECL): Likewise.
887         (WRAPPER_DECL_ff): Likewise.
888         (WRAPPER_DECL_fFF): Likewise.
889         (VECTOR_WRAPPER): Likewise.
890         (VECTOR_WRAPPER_ff): Likewise.
891         (VECTOR_WRAPPER_fFF): Likewise.
892         (VEC_LEN): New macro.
893         * math/test-float-vlen4.h: Include test-float.h,
894         test-math-no-inline.h and test-math-vector.h.
895         (FLOAT): Remove macro.
896         (FUNC): Likewise.
897         (MATHCONST): Likewise.
898         (PRINTF_EXPR): Likewise.
899         (PRINTF_XEXPR): Likewise.
900         (PRINTF_NEXPR): Likewise.
901         (TEST_FLOAT): Likewise.
902         (TEST_MATHVEC): Likewise.
903         (__NO_MATH_INLINES): Likewise.
904         (CNCT): Likewise.
905         (CONCAT): Likewise.
906         (WRAPPER_NAME): Likewise.
907         (WRAPPER_DECL): Likewise.
908         (WRAPPER_DECL_ff): Likewise.
909         (WRAPPER_DECL_fFF): Likewise.
910         (VECTOR_WRAPPER): Likewise.
911         (VECTOR_WRAPPER_ff): Likewise.
912         (VECTOR_WRAPPER_fFF): Likewise.
913         (VEC_LEN): New macro.
914         * math/test-float-vlen8.h: Include test-float.h,
915         test-math-no-inline.h and test-math-vector.h.
916         (FLOAT): Remove macro.
917         (FUNC): Likewise.
918         (MATHCONST): Likewise.
919         (PRINTF_EXPR): Likewise.
920         (PRINTF_XEXPR): Likewise.
921         (PRINTF_NEXPR): Likewise.
922         (TEST_FLOAT): Likewise.
923         (TEST_MATHVEC): Likewise.
924         (__NO_MATH_INLINES): Likewise.
925         (CNCT): Likewise.
926         (CONCAT): Likewise.
927         (WRAPPER_NAME): Likewise.
928         (WRAPPER_DECL): Likewise.
929         (WRAPPER_DECL_ff): Likewise.
930         (WRAPPER_DECL_fFF): Likewise.
931         (VECTOR_WRAPPER): Likewise.
932         (VECTOR_WRAPPER_ff): Likewise.
933         (VECTOR_WRAPPER_fFF): Likewise.
934         (VEC_LEN): New macro.
935         * math/test-float-vlen16.h: Include test-float.h,
936         test-math-no-inline.h and test-math-vector.h.
937         (FLOAT): Remove macro.
938         (FUNC): Likewise.
939         (MATHCONST): Likewise.
940         (PRINTF_EXPR): Likewise.
941         (PRINTF_XEXPR): Likewise.
942         (PRINTF_NEXPR): Likewise.
943         (TEST_FLOAT): Likewise.
944         (TEST_MATHVEC): Likewise.
945         (__NO_MATH_INLINES): Likewise.
946         (CNCT): Likewise.
947         (CONCAT): Likewise.
948         (WRAPPER_NAME): Likewise.
949         (WRAPPER_DECL): Likewise.
950         (WRAPPER_DECL_ff): Likewise.
951         (WRAPPER_DECL_fFF): Likewise.
952         (VECTOR_WRAPPER): Likewise.
953         (VECTOR_WRAPPER_ff): Likewise.
954         (VECTOR_WRAPPER_fFF): Likewise.
955         (VEC_LEN): New macro.
956         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
957         test-vec-loop.h.
958         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
960         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
962         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
964         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
966 2015-06-24  Roland McGrath  <roland@hack.frob.com>
968         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
969         (__getlogin_r): ... this.
971 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
973         [BZ #18594]
974         * math/s_ccosh.c (__ccosh): Compare with least normal value
975         instead of comparing class with FP_SUBNORMAL.
976         * math/s_ccoshf.c (__ccoshf): Likewise.
977         * math/s_ccoshl.c (__ccoshl): Likewise.
978         * math/s_cexp.c (__cexp): Likewise.
979         * math/s_cexpf.c (__cexpf): Likewise.
980         * math/s_cexpl.c (__cexpl): Likewise.
981         * math/s_csin.c (__csin): Likewise.
982         * math/s_csinf.c (__csinf): Likewise.
983         * math/s_csinh.c (__csinh): Likewise.
984         * math/s_csinhf.c (__csinhf): Likewise.
985         * math/s_csinhl.c (__csinhl): Likewise.
986         * math/s_csinl.c (__csinl): Likewise.
987         * math/s_ctan.c (__ctan): Likewise.
988         * math/s_ctanf.c (__ctanf): Likewise.
989         * math/s_ctanh.c (__ctanh): Likewise.
990         * math/s_ctanhf.c (__ctanhf): Likewise.
991         * math/s_ctanhl.c (__ctanhl): Likewise.
992         * math/s_ctanl.c (__ctanl): Likewise.
993         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
994         csin, csinh, ctan and ctanh.
995         * math/auto-libm-test-out: Regenerated.
996         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
997         * sysdeps/i386/fpu/libm-test-ulps: Update.
998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1000 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1002         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1003         return value is wrong, print the expected value too.
1005 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1007         [BZ #18585]
1008         * elf/readlib.c (is_gdb_python_file): New.
1009         (process_file): Don't issue errors on filenames with -gdb.py
1010         suffix.
1012 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1014         * math/auto-libm-test-in: Add more tests of csin and csinh.
1015         * math/auto-libm-test-out: Regenerated.
1016         * math/libm-test.inc (csin_test_data): Remove tests moved to
1017         auto-libm-test-in.
1018         (csinh_test_data): Likewise.
1020         [BZ #18593]
1021         * math/s_csin.c (__csin): Negate before rather than after possibly
1022         overflowing multiplication.
1023         * math/s_csinf.c (__csinf): Likewise.
1024         * math/s_csinh.c (__csinh): Likewise.
1025         * math/s_csinhf.c (__csinhf): Likewise.
1026         * math/s_csinhl.c (__csinhl): Likewise.
1027         * math/s_csinl.c (__csinl): Likewise.
1028         * math/auto-libm-test-in: Add some tests of csin and csinh.
1029         * math/auto-libm-test-out: Regenerated.
1030         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1031         (csinh_test_data): Likewise.
1032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1034         [BZ #18586]
1035         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1036         underflow exception for small results.
1038 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1042         variable and included header.
1043         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1044         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1045         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1046         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1047         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1051         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1052         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1053         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1054         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1055         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1056         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1057         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1058         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1060 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1062         [BZ #16526]
1063         [BZ #16538]
1064         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1065         (__sin): Force underflow exception for arguments with small
1066         absolute value.
1067         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1068         (__kernel_sinf): Force underflow exception for arguments with
1069         small absolute value.
1070         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1071         (__kernel_sincosl): Force underflow exception for arguments with
1072         small absolute value.
1073         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1074         (__kernel_sinl): Force underflow exception for arguments with
1075         small absolute value.
1076         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1077         (__kernel_sincosl): Force underflow exception for arguments with
1078         small absolute value.
1079         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1080         (__kernel_sinl): Force underflow exception for arguments with
1081         small absolute value.
1082         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1083         (__kernel_sinl): Force underflow exception for arguments with
1084         small absolute value.
1085         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1086         (__kernel_sinf): Force underflow exception for arguments with
1087         small absolute value.
1088         * math/auto-libm-test-in: Add more tests of sin and sincos.
1089         * math/auto-libm-test-out: Regenerated.
1091         [BZ #18245]
1092         [BZ #18583]
1093         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1094         (__kernel_standard_l): Use feholdexcept and fesetenv around
1095         conversion to double instead of special-casing overflow and
1096         underflow.
1097         * math/libm-test.inc (fmod_test_data): Add more tests.
1098         (remainder_test_data): Likewise.
1099         (sqrt_test_data): Likewise.
1101 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1103         [BZ #17403]
1104         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1105         atomic_read_barrier, atomic_write_barrier): Define.
1106         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1107         atomic_read_barrier, atomic_write_barrier): Define.
1109 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1111         * math/Makefile [$(PERL) != no]
1112         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1113         dependency on libm-test.stmp below the inclusion of Rules.
1115 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1117         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1118         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1119         and included header.
1120         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1121         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1122         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1123         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1124         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1126         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1128         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1129         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1130         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1131         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1132         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1133         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1134         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1135         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1136         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1137         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1138         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1140 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1142         [BZ #18371]
1143         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1144         intermediate but not final result might underflow.
1145         * math/s_csqrtf.c (__csqrtf): Likewise.
1146         * math/s_csqrtl.c (__csqrtl): Likewise.
1147         * math/auto-libm-test-in: Add more tests of csqrt.
1148         * math/auto-libm-test-out: Regenerated.
1149         * sysdeps/i386/fpu/libm-test-ulps: Update.
1151         [BZ #18219]
1152         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1153         threshold on absolute value of exponent for which scaling is used.
1154         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1155         * math/auto-libm-test-in: Add more tests of exp2.
1156         * math/auto-libm-test-out: Regenerated.
1158 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1160         [BZ #17977]
1161         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1162         when initializing interface list, based on the bug analysis
1163         and the patch proposed by Eric Newton.
1164         * resolv/tst-res_hconf_reorder.c: New test.
1165         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1166         tst-res_hconf_reorder.
1167         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1168         and $(shared-thread-library).
1169         (tst-res_hconf_reorder-ENV): New variable.
1171         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1172         in comment.
1174 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1176         [BZ #16353]
1177         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1178         (__expm1): Force underflow exception for arguments with small
1179         absolute value.
1180         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1181         (__expm1f): Force underflow exception for arguments with small
1182         absolute value.
1183         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1184         (__expm1): Force underflow exception for arguments with small
1185         absolute value.
1186         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1187         (__expm1f): Force underflow exception for arguments with small
1188         absolute value.
1189         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1190         Check for small arguments before calling __expm1.
1191         * math/auto-libm-test-in: Do not mark underflow exceptions as
1192         possibly missing for bug 16353.
1193         * math/auto-libm-test-out: Regenerated.
1195 2015-06-22  Andreas Schwab  <schwab@suse.de>
1197         [BZ #18513]
1198         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1199         PTR queries.
1201 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1203         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1205         * string/strcoll_l.c: Remove unused struct element idxnow.
1207 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1209         [BZ #18569]
1210         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1211         underflow and return argument in case of subnormal argument.
1212         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1213         Likewise.
1214         * math/auto-libm-test-in: Add more tests of expm1.
1215         * math/auto-libm-test-out: Regenerated.
1217         [BZ #16361]
1218         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1219         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1220         tiny results.
1221         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1222         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1223         tiny results.
1224         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1225         mark underflow exceptions as possibly missing for bug 16361.
1226         * math/auto-libm-test-out: Regenerated.
1228 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1230         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1231         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1232         Remove variable.
1233         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1234         (test-xfail-XOPEN2K8/utmpx.h/conform).
1236         * conform/conformtest.pl ($xerrors): New variable.
1237         (note_error): New function.
1238         (compiletest): New argument $xfail.  Use not_error.
1239         (runtest): Likewise.
1240         (top level): Handle xfail- lines.  Update calls to compiletest and
1241         runtest.  Handle xfail- and optional- in headers listed with
1242         allow-header.
1243         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1244         (O_EXEC): Likewise.
1245         (O_SEARCH): Likewise.
1246         * conform/data/stropts.h-data (ioctl): Likewise.
1247         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1248         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1249         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1250         (msghdr.msg_controllen): Likewise.
1251         (cmsghdr.cmsg_len): Likewise.
1252         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1253         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1254         variable.
1255         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1256         (test-xfail-XPG4/stropts.h/conform): Likewise.
1257         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1258         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1259         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1260         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1261         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1262         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1263         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1264         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1265         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1266         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1267         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1268         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1269         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1270         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1271         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1272         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1273         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1274         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1275         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1277 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1279         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1280         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1281         definitions for proper unfolding of __MATHDECL_VEC.
1283 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1285         * benchtests/bench-strcoll.c:
1286         Include string.h.
1287         (main): Remove unused variable res.
1289 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1291         * timezone/Makefile (%/UTC %/Universal):
1292         Generate test-result files for UTC and Universal.
1294 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1296         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1298 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1300         [BZ #16350]
1301         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1302         for arguments with small absolute value.
1303         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1304         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1305         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1306         (__asinh): Force underflow exception for arguments with small
1307         absolute value.
1308         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1309         (__asinhf): Force underflow exception for arguments with small
1310         absolute value.
1311         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1312         (__asinhl): Force underflow exception for arguments with small
1313         absolute value.
1314         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1315         (__asinhl): Force underflow exception for arguments with small
1316         absolute value.
1317         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1318         (__asinhl): Force underflow exception for arguments with small
1319         absolute value.
1320         * math/auto-libm-test-in: Do not mark underflow exceptions as
1321         possibly missing for bug 16350.
1322         * math/auto-libm-test-out: Regenerated.
1324         * include/bits/ipc.h: Remove file.
1325         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1326         variable.
1327         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1328         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1329         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1330         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1331         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1332         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1333         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1334         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1335         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1337         * math/auto-libm-test-in: Remove spurious underflow allowance for
1338         tests of cexp.
1339         * math/auto-libm-test-out: Regenerated.
1341         [BZ #18558]
1342         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1343         unconditional definition.
1344         (MCAST_BLOCK_SOURCE): Likewise.
1345         (MCAST_UNBLOCK_SOURCE): Likewise.
1346         (MCAST_LEAVE_GROUP): Likewise.
1347         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1348         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1349         (MCAST_MSFILTER): Likewise.
1350         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1351         Remove variable.
1352         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1353         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1354         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1355         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1356         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1358 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1360         * NEWS: Mention addition of x86_64 vector sincosf.
1361         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1362         * math/test-float-vlen4.h: Likewise.
1363         * math/test-float-vlen8.h: Likewise.
1364         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1365         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1366         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1367         * sysdeps/x86_64/fpu/Versions: New versions added.
1368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1369         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1370         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1374         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1375         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1377         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1378         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1379         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1380         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1381         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1382         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1383         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1384         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1385         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1386         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1387         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1388         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1390         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1391         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1393         * NEWS: Mention addition of x86_64 vector sincos.
1394         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1395         * math/math.h (__MATHDECL_VEC): New macro.
1396         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1397         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1398         declaration under condition.
1399         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1400         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1401         TEST_VEC_LOOP change.
1402         * math/test-double-vlen4.h: Likewise.
1403         * math/test-double-vlen8.h: Likewise.
1404         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1405         * math/test-float-vlen4.h: Likewise.
1406         * math/test-float-vlen8.h: Likewise.
1407         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1408         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1409         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1410         * sysdeps/x86_64/fpu/Versions: New versions added.
1411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1412         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1413         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1415         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1417         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1418         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1419         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1420         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1421         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1422         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1423         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1424         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1425         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1426         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1427         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1428         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1430         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1431         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1432         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1433         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1434         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1436         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1437         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1438         redirections for powf.
1439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1440         * sysdeps/x86_64/fpu/Versions: New versions added.
1441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1442         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1443         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1444         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1448         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1449         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1450         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1451         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1452         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1453         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1454         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1455         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1456         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1457         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1458         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1459         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1460         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1461         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1462         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1463         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1464         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1465         * math/test-float-vlen16.h: Fixed 2 argument macro.
1466         * math/test-float-vlen4.h: Likewise.
1467         * math/test-float-vlen8.h: Likewise.
1468         * NEWS: Mention addition of x86_64 vector powf.
1470 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1472         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1473         and redefine.
1474         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1475         and redefine.
1476         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1477         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1478         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1480         [BZ #18553]
1481         * resource/getpriority.c (getpriority): Rename to __getpriority
1482         and define as weak alias of __getpriority.
1483         * resource/setpriority.c (setpriority): Rename to __setpriority
1484         and define as weak alias of __setpriority.
1485         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1486         __getpriority and define as weak alias of __getpriority.
1487         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1488         __setpriority and define as weak alias of __setpriority.
1489         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1490         strong name.
1491         (setpriority): Use __setpriority as strong name.
1492         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1493         __getpriority and define as weak alias of __getpriority.
1494         * include/sys/resource.h (__getpriority): Declare.  Use
1495         libc_hidden_proto.
1496         (__setpriority): Likewise.
1497         (getpriority): Don't use libc_hidden_proto.
1498         (setpriority): Likewise.
1499         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1500         getpriority.  Call __setpriority instead of setpriority.
1501         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1502         Remove variable.
1504         [BZ #18547]
1505         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1506         as weak alias of __getttynam.  Use prototype function definition.
1507         Call __setttyent, __getttyent and __endttyent instead of
1508         setttyent, getttyent and endttyent.
1509         (getttyent): Rename to __getttyent and define as weak alias of
1510         __getttyent.  Call __setttyent instead of setttyent.  Call
1511         __fgets_unlocked instead of fgets_unlocked.
1512         (setttyent): Rename to __setttyent and define as weak alias of
1513         __setttyent.
1514         (endttyent): Rename to __endttyent and define as weak alias of
1515         __endttyent.
1516         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1517         (__setttyent): Likewise.
1518         (__endttyent): Likewise.
1519         (getttyent): Don't use libc_hidden_proto.
1520         (setttyent): Likewise.
1521         (endttyent): Likewise.
1522         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1523         __endttyent instead of setttyent, getttyent and endttyent.
1524         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1525         Remove variable.
1527         [BZ #18546]
1528         * socket/recv.c (__recv): Use libc_hidden_def.
1529         * socket/socket.c (__socket): Likewise.
1530         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1531         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1532         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1533         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1534         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1535         libc_hidden_def.
1536         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1537         libc_hidden_weak.
1538         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1539         Use libc_hidden_proto.
1540         (__recv): Likewise.
1541         * socket/Versions (libc): Export __recv and __socket at version
1542         GLIBC_PRIVATE.
1543         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1544         instead of recv.
1545         (init_mq_netlink): Call __socket instead of socket.
1546         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1547         Remove variable.
1549         [BZ #18545]
1550         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1551         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1552         hidden_weak.
1553         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1554         define as alias of __mq_timedsend.  Use hidden_weak.
1555         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1556         __mq_timedsend as strong name.
1557         (mq_timedreceive): Use __mq_timedreceive as strong name.
1558         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1559         (__mq_timedreceive): Likewise.
1560         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1561         __mq_timedreceive instead of mq_timedreceive.
1562         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1563         instead of mq_timedsend.
1564         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1565         Remove variable.
1567         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1568         hidden_def and hidden_weak instead of libc_hidden_def and
1569         libc_hidden_weak.
1570         (top level): Refer to hidden_def in comment.
1571         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1572         macro.  Use it instead of libc_hidden_def.
1573         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1574         specify __GI_* name explicitly.
1575         (mq_timedreceive): Likewise.
1576         (mq_setattr): Likewise.
1578         [BZ #18544]
1579         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1580         __pthread_barrier_init and define as weak alias of
1581         __pthread_barrier_init.
1582         * sysdeps/sparc/nptl/pthread_barrier_init.c
1583         (pthread_barrier_init): Likewise.
1584         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1585         __pthread_barrier_wait and define as weak alias of
1586         __pthread_barrier_wait.
1587         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1588         (pthread_barrier_wait): Likewise.
1589         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1590         (pthread_barrier_wait): Likewise.
1591         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1592         (pthread_barrier_wait): Likewise.
1593         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1594         (pthread_barrier_wait): Likewise.
1595         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1596         __pthread_barrier_wait at version GLIBC_PRIVATE.
1597         * include/pthread.h (__pthread_barrier_init): Declare.
1598         (__pthread_barrier_wait): Likewise.
1599         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1600         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1601         (helper_thread): Likewise.
1602         (init_mq_netlink): Call __pthread_barrier_init instead of
1603         pthread_barrier_init.
1605         [BZ #18542]
1606         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1607         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1608         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1609         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1610         vswscanf.
1611         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1612         Remove variable.
1614         [BZ #18540]
1615         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1616         strong alias of _IO_fflush.  Use libc_hidden_def.
1617         * libio/iofflush_u.c (fflush_unlocked): Rename to
1618         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1619         Use libc_hidden_weak.
1620         * include/stdio.h (__fflush_unlocked): Declare.  Use
1621         libc_hidden_proto.
1622         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1623         fflush_unlocked.
1624         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1625         Remove variable.
1627         [BZ #18539]
1628         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1629         define as weak alias of __addseverity.
1630         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1631         Remove variable.
1632         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1633         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1634         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1636         [BZ #18536]
1637         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1638         (__tfind): Likewise.
1639         (__tdelete): Likewise.
1640         (__twalk): Likewise.
1641         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1642         __twalk to GLIBC_PRIVATE.
1643         * include/search.h (__tsearch): Use libc_hidden_proto.
1644         (__tfind): Likewise.
1645         (__tdelete): Likewise.
1646         (__twalk): Likewise.
1647         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1648         Call __tdelete instead of tdelete.
1649         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1650         tfind.  Call __tsearch instead of tsearch.
1651         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1652         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1653         Remove variable.
1654         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1656         [BZ #18534]
1657         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1658         (dprintf): Define as a weak alias of __dprintf, not a strong
1659         alias.
1660         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1661         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1662         dprintf.
1663         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1664         Remove variable.
1665         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1666         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1668         [BZ #18533]
1669         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1670         not a strong alias.
1671         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1672         Remove variable.
1674         [BZ #18532]
1675         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1676         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1677         (in6addr_loopback): Rename to __in6addr_loopback and define as
1678         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1679         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1680         libc_hidden_proto.
1681         (__in6addr_any): Likewise.
1682         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1683         in6addr_any.
1684         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1685         variable.
1686         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1688 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1690         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1691         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1692         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1693         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1694         redirections for pow.
1695         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1696         * sysdeps/x86_64/fpu/Versions: New versions added.
1697         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1698         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1699         build of SSE, AVX2 and AVX512 IFUNC versions.
1700         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1702         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1704         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1706         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1707         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1708         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1709         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1710         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1711         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1712         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1713         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1714         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1715         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1717         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1718         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1719         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1720         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1721         * NEWS: Mention addition of x86_64 vector pow.
1723         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1724         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1725         redirections for expf.
1726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1727         * sysdeps/x86_64/fpu/Versions: New versions added.
1728         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1729         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1730         build of SSE, AVX2 and AVX512 IFUNC versions.
1731         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1732         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1733         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1734         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1735         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1736         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1737         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1738         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1739         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1740         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1741         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1742         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1743         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1744         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1745         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1746         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1747         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1748         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1749         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1750         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1751         * NEWS: Mention addition of x86_64 vector expf.
1753         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1754         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1755         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1756         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1757         redirections for exp.
1758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1759         * sysdeps/x86_64/fpu/Versions: New versions added.
1760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1761         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1762         build of SSE, AVX2 and AVX512 IFUNC versions.
1763         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1765         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1767         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1769         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1770         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1771         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1772         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1773         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1774         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1775         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1776         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1777         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1778         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1779         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1780         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1781         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1782         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1783         * NEWS: Mention addition of x86_64 vector exp.
1785         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1786         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1787         redirections for logf.
1788         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1789         * sysdeps/x86_64/fpu/Versions: New versions added.
1790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1791         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1792         build of SSE, AVX2 and AVX512 IFUNC versions.
1793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1794         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1796         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1797         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1798         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1799         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1800         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1801         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1802         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1803         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1804         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1805         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1806         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1807         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1808         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1809         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1811         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1812         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1813         * NEWS: Mention addition of x86_64 vector logf.
1815         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1816         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1817         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1818         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1819         redirections for log.
1820         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1821         * sysdeps/x86_64/fpu/Versions: New versions added.
1822         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1823         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1824         build of SSE, AVX2 and AVX512 IFUNC versions.
1825         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1826         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1827         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1828         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1829         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1830         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1831         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1832         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1833         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1834         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1835         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1836         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1838         test.
1839         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1841         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1842         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1843         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1844         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1845         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1846         * NEWS: Mention addition of x86_64 vector log.
1848 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1850         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1851         cfi_adjust_cfa_offset argument.
1852         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1853         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1855         [BZ #18034]
1856         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1857         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1858         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1859         ordering using ldar.
1860         (_dl_tlsdesc_dynamic): Likewise.
1861         (_dl_tlsdesc_return_lazy): Likewise.
1862         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1863         relaxed atomics instead of volatile and synchronize with release store.
1864         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1865         volatile.
1866         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1868 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1870         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1871         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1872         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1873         * sysdeps/x86_64/fpu/Versions: New versions added.
1874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1875         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1876         build of SSE, AVX2 and AVX512 IFUNC versions.
1877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1878         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1880         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1882         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1883         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1884         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1885         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1886         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1887         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1888         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1889         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1890         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1891         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1892         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1893         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1894         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1895         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1896         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1897         * NEWS: Mention addition of x86_64 vector sinf.
1899 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1901         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1902         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1903         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1904         Remove variable.
1905         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1906         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1908 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1910         [BZ #18530]
1911         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1912         strong alias of _IO_fputs.  Use libc_hidden_def.
1913         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1914         and define as weak alias of __fputs_unlocked.  Use
1915         libc_hidden_weak.
1916         * include/stdio.h (__fputs_unlocked): Declare.  Use
1917         libc_hidden_proto.
1918         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1919         fputs_unlocked.
1921         [BZ #18529]
1922         * resolv/netdb.h [__USE_POSIX]: Change condition to
1923         [__USE_XOPEN2K].
1924         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1925         not expect.
1926         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1927         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1928         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1929         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1930         [XPG4 || UNIX98] (AI_ALL): Likewise.
1931         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1932         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1933         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1934         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1935         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1936         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1937         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1938         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1939         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1940         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1941         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1942         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1943         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1944         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1945         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1946         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1947         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1948         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1949         [XPG4 || UNIX98] (gai_strerror): Likewise.
1950         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1951         [XPG4 || UNIX98] (getnameinfo): Likewise.
1953         [BZ #18528]
1954         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1955         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1956         __USE_XOPEN2K8].
1957         (getgrent): Likewise.
1958         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1959         expect.
1960         [XPG3 || POSIX2008] (endgrent): Likewise.
1961         [XPG3] (setgrent): Likewise.
1962         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1963         variable.
1964         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1966         [BZ #18527]
1967         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1968         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1969         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1970         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1971         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1972         * include/unistd.h (__getlogin_r): Declare.  Use
1973         libc_hidden_proto.
1974         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1975         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1976         variable.
1977         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1978         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1979         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1981 2015-06-12  Martin Sebor  <msebor@redhat.com>
1983         [BZ #18512]
1984         * Makerules (check-install-supported): New target.
1985         (install): Add check-install-supported as a dependency.
1986         * manual/install.texi (Installing the C Library): Document
1987         that overriding prefix and exec_prefix is not supported.
1988         Mention DESTDIR.
1989         * INSTALL: Regenerate from the above.
1991 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1993         [BZ #18519]
1994         * posix/Versions (libc): Export __libc_pread at version
1995         GLIBC_PRIVATE.
1996         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1997         instead of pread.
1998         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1999         variable.
2001         [BZ #18522]
2002         * misc/efgcvt_r.c
2003         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2004         (cvt_symbol): Use weak_alias instead of strong_alias.
2005         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2006         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2007         Remove variable.
2008         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2009         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2011         [BZ #18520]
2012         * inet/herrno.c (h_errno): Rename to __h_errno.
2013         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2014         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2015         to __h_errno instead of h_errno.
2016         * nptl/herrno.c (h_errno): Rename to __h_errno.
2017         (__h_errno_location): Refer to __h_errno not h_errno.
2018         * resolv/Versions (h_errno): Rename to __h_errno.
2019         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2020         Remove variable.
2021         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2023 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2025         * configure.ac: More strict check for AVX512 assembler support.
2026         * configure: Regenerated.
2028         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2029         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2030         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2031         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2032         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2033         * sysdeps/x86_64/fpu/Versions: New versions added.
2034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2035         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2036         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2037         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2038         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2040         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2041         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2042         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2043         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2044         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2045         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2046         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2047         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2048         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2049         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2050         test.
2051         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2053         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2054         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2055         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2056         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2057         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2058         * NEWS: Mention addition of x86_64 vector sin.
2060 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2062         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2063         comment.
2065 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2067         [BZ #18479]
2068         * nptl/pt-interp.c: New file.
2069         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2070         Add pt-interp.
2071         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2072         $(common-objpfx)runtime-linker.h.
2074 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2076         * Makeconfig (+interp): Remove unused variable.
2077         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2078         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2079         $(elf-objpfx)runtime-linker.h.
2080         ($(elf-objpfx)runtime-linker.h): Rename to
2081         $(common-objpfx)runtime-linker.h and move ...
2082         * Makerules [$(build-shared) = yes]: ... here.
2083         * elf/interp.c: Include <runtime-linker.h> instead of
2084         <elf/runtime-linker.h>.
2086 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2088         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2089         (__gettimeofday_syscall): Remove vsyscall fallback.
2090         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2091         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2092         Add syscall fallback function.
2093         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2094         if vDSO is not present.
2095         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2096         fallback function.
2097         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2098         present.
2099         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2100         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2102 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #18497]
2105         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2106         of wcscmp.
2107         (wcscmp): Define as weak alias of WCSCMP.
2108         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2109         wcscoll.
2110         (USE_HIDDEN_DEF): Define.
2111         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2112         __wcscoll.  Don't use libc_hidden_weak.
2113         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2114         wcscmp.
2115         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2116         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2117         __GI_wcscmp.
2118         (weak_alias): Undefine and redefine.
2119         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2120         __wcscmp and define as weak alias of __wcscmp.
2121         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2122         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2123         (__wcscoll): Likewise.
2124         (wcscmp): Don't use libc_hidden_proto.
2125         (wcscoll): Likewise.
2126         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2127         wcscoll.
2128         * posix/regexec.c (check_node_accept_bytes): Likewise.
2129         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2130         variable.
2131         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2132         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2134         [BZ #18507]
2135         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2136         __fstatvfs and define as weak alias of __fstatvfs.  Use
2137         libc_hidden_weak.
2138         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2139         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2140         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2141         Define as alias of __fstatvfs, not fstatvfs.
2142         (fstatvfs64): Likewise.
2143         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2144         Define as alias of __statvfs, not statvfs.
2145         (statvfs64): Likewise.
2146         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2147         Remove variable.
2149 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2152         (HAVE_GETCPU_VSYSCALL): Define.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2154         (HAVE_GETCPU_VSYSCALL): Likewise.
2155         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2156         * sysdeps/unix/sysv/linux/sched_getcpu.c
2157         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2158         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2159         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2160         prototype.
2161         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2162         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2163         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2165         Define.
2166         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2167         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2168         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2169         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2171 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2173         * sysdeps/x86_64/fpu/Makefile: New file.
2174         * sysdeps/x86_64/fpu/Versions: New file.
2175         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2176         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2177         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2178         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2179         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2180         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2181         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2183         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2184         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2185         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2186         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2187         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2189         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2190         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2191         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2192         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2193         * sysdeps/x86_64/configure: Regenerated.
2194         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2195         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2196         * manual/install.texi (Configuring and compiling): Document
2197         --disable-mathvec.
2198         * INSTALL: Regenerated.
2199         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2201         * math/Makefile: Added rules for vector tests.
2202         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2203         declaration under condition.
2204         * math/test-double-vlen2.h: New file.
2205         * math/test-double-vlen4.h: New file.
2206         * math/test-double-vlen8.h: New file.
2207         * math/test-vec-loop.h: Added initialization macro.
2208         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2209         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2210         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2211         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2212         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2213         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2214         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2215         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2216         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2217         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2218         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2221         * sysdeps/x86_64/fpu/Versions: New versions added.
2222         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2225         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2226         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2228         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2229         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2230         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2232         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2233         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2234         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2235         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2236         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2238         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2239         * NEWS: Mention addition of x86_64 vector cosf.
2241         * math/Makefile: Added CFLAGS for new tests.
2242         * math/test-float-vlen16.h: New file.
2243         * math/test-float-vlen4.h: New file.
2244         * math/test-float-vlen8.h: New file.
2245         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2246         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2247         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2248         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2249         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2250         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2251         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2252         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2253         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2254         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2255         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2257 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2259         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2260         * locale/programs/ld-ctype.c: Likewise.
2262 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2264         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2265         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2266         bit_ZMM16_31_state): New macro.
2267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2268         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2270 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2272         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2274 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2276         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2278 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2280         [BZ #18498]
2281         * libio/memstream.c (open_memstream): Rename to __open_memstream
2282         and define as weak alias of __open_memstream.
2283         * include/stdio.h (__open_memstream): Declare.  Use
2284         libc_hidden_proto.
2285         (open_memstream): Don't use libc_hidden_proto.
2286         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2287         open_memstream.
2288         * posix/getopt.c (_getopt_internal_r): Likewise.
2289         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2290         variable.
2291         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2292         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2293         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2295         [BZ #18496]
2296         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2297         instead of wcrtomb.
2299         [BZ #18483]
2300         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2301         [__USE_XOPEN2K8].  Remove redundant #endif.
2302         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2303         Remove redundant #if.
2304         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2305         Remove variable.
2306         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2307         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2309         [BZ #18495]
2310         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2311         (__iswlower): Likewise.
2312         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2313         (__iswlower): Likewise.
2314         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2315         instead of towlower.
2316         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2317         instead of iswlower.  Call __towupper instead of towupper.
2318         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2319         instead of iswalnum.
2321 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2323         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2324         errors to stderr.
2326 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2328         [BZ #15661]
2329         [BZ #17322]
2330         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2331         Check for overflow properly.  Check for O_APPEND.  Ignore large
2332         file system block sizes.  Add comments about problems.
2333         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2334         * manual/filesys.texi (Storage Allocation): New node.
2336 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2338         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2339         cancellable syscalls.
2340         (SYS_ify): Add guard to no redefine it.
2341         (INLINE_SYSCALL): Likewise.
2342         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2343         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2344         SYSCALL_CANCEL instead.
2345         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2346         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2347         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2348         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2349         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2350         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2351         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2352         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2353         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2354         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2355         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2356         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2357         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2358         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2359         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2361         Likewise.
2362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2363         (__libc_pread64): Likewise.
2364         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2365         (__libc_preadv): Likewise.
2366         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2367         (__libc_readv64): Likewise.
2368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2369         (__libc_pwrite): Likewise.
2370         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2371         (__libc_pwrite64): Likewise.
2372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2373         (__libc_pwritev): Likewise.
2374         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2375         (__libc_pwritev64): Likewise.
2376         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2377         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2378         (sync_file_range): Likewise.
2379         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2380         Likewise.
2381         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2382         Likewise.
2383         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2384         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2385         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2386         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2387         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2388         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2389         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2390         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2392         Likewise.
2393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2394         (__libc_read64): Likewise.
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2396         Likewise.
2397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2398         Likewise.
2399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2400         Likewise.
2401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2402         Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2404         (__libc_pread64): Likewise.
2405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2406         Likewise.
2407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2408         (__libc_pwrite64): Likewise.
2409         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2410         (sync_file_range): Likewise.
2411         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2412         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2413         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2414         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2415         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2416         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2417         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2418         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2419         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2420         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2421         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2422         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2423         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2424         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2425         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2426         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2427         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2428         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2429         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2430         Likewise.
2431         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2432         Likewise.
2433         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2434         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2437         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2438         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2439         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2440         Likewise.
2441         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2442         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2443         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2444         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2445         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2447 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2449         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2450         Include dl-vdso.
2451         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2452         Use VDSO routines for gettimeofday, clock_gettime if
2453         available.
2454         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2455         Declare VDSO symbols.
2456         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2457         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2458         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2459         * sysdeps/unix/sysv/linux/arm/Versions: Add
2460         __vdso_clock_gettime.
2462 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2464         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2465         be an inline implementation regardless of library is built within.
2466         (open_not_cancel_2): Likewise.
2467         (__read_nocancel): Likewise.
2468         (__write_nocancel): Likewise.
2469         (openat_not_cancel): Likewise.
2470         (openat_not_cancel_3): Likewise.
2471         (openat64_not_cancel): Likewise.
2472         (openat64_not_cancel_3): Likewise.
2473         (__close_nocancel): Likewise.
2474         (pause_not_cancel): Likewise.
2475         (nanosleep_not_cancel): Likewise.
2476         (sigsuspend_not_cancel): Likewise.
2478 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2480         [BZ #14958]
2481         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2482         wake-up.
2483         (__pthread_rwlock_rdlock_slow): Likewise.
2484         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2485         Likewise.
2486         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2487         Likewise.
2488         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2489         * nptl/tst-rwlock16.c: New file.
2490         * nptl/Makefile (tests): Add new test.
2492 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2494         [BZ #18324]
2495         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2496         missing wake-up of readers.
2497         * nptl/tst-rwlock15.c: New file.
2498         * nptl/Makefile (tests): Add new test.
2500 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2502         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2503         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2504         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2505         and __nacl_supply_interface_rtld.
2506         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2507         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2508         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2509         Add __nacl_supply_interface_rtld.
2510         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2512 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2514         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2515         isfinite.
2516         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2517         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2519 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2521         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2522         __signbit* with standard C99 macros.
2523         * math/e_exp10l.c: Likewise.
2524         * math/e_exp2l.c: Likewise.
2525         * math/e_scalb.c: Likewise.
2526         * math/e_scalbf.c: Likewise.
2527         * math/e_scalbl.c: Likewise.
2528         * math/s_ldexp.c: Likewise.
2529         * math/s_ldexpf.c: Likewise.
2530         * math/s_ldexpl.c: Likewise.
2531         * math/w_atan2.c: Likewise.
2532         * math/w_atan2f.c: Likewise.
2533         * math/w_atan2l.c: Likewise.
2534         * math/w_cosh.c: Likewise.
2535         * math/w_coshf.c: Likewise.
2536         * math/w_coshl.c: Likewise.
2537         * math/w_exp10.c: Likewise.
2538         * math/w_exp10f.c: Likewise.
2539         * math/w_exp10l.c: Likewise.
2540         * math/w_exp2.c: Likewise.
2541         * math/w_exp2f.c: Likewise.
2542         * math/w_exp2l.c: Likewise.
2543         * math/w_fmod.c: Likewise.
2544         * math/w_fmodf.c: Likewise.
2545         * math/w_fmodl.c: Likewise.
2546         * math/w_hypot.c: Likewise.
2547         * math/w_hypotf.c: Likewise.
2548         * math/w_hypotl.c: Likewise.
2549         * math/w_jnl.c: Likewise.
2550         * math/w_lgamma.c: Likewise.
2551         * math/w_lgamma_r.c: Likewise.
2552         * math/w_lgammaf.c: Likewise.
2553         * math/w_lgammaf_r.c: Likewise.
2554         * math/w_lgammal.c: Likewise.
2555         * math/w_lgammal_r.c: Likewise.
2556         * math/w_pow.c: Likewise.
2557         * math/w_powf.c: Likewise.
2558         * math/w_powl.c: Likewise.
2559         * math/w_remainder.c: Likewise.
2560         * math/w_remainderf.c: Likewise.
2561         * math/w_remainderl.c: Likewise.
2562         * math/w_scalb.c: Likewise.
2563         * math/w_scalbf.c: Likewise.
2564         * math/w_scalbl.c: Likewise.
2565         * math/w_scalbln.c: Likewise.
2566         * math/w_scalblnf.c: Likewise.
2567         * math/w_scalblnl.c: Likewise.
2568         * math/w_sinh.c: Likewise.
2569         * math/w_sinhf.c: Likewise.
2570         * math/w_sinhl.c: Likewise.
2571         * math/w_tgamma.c: Likewise.
2572         * math/w_tgammaf.c: Likewise.
2573         * math/w_tgammal.c: Likewise.
2574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2575         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2576         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2577         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2578         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2580         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2581         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2582         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2583         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2584         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2585         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2586         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2587         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2591         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2592         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2593         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2595         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2597         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2598         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2600         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2601         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2602         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2603         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2604         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2605         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2606         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2607         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2608         * stdio-common/printf_fp.c: Likewise.
2609         * stdio-common/printf_fphex.c: Likewise.
2610         * stdio-common/printf_size.c: Likewise.
2612 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2614         [BZ #18470]
2615         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2616         strnlen.
2617         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2618         Remove variable.
2619         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2620         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2621         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2622         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2623         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2624         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2625         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2626         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2627         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2628         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2630         [BZ #18468]
2631         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2632         weak alias of __wmemchr.  Use libc_hidden_weak.
2633         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2634         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2635         instead of wmemchr.
2637 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2639         [BZ #18383]
2640         * elf/tst-tlsalign-extern.c: New file.
2641         * elf/tst-tlsalign-extern-static.c: New file.
2642         * elf/tst-tlsalign-vars.c: New file.
2643         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2644         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2645         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2646         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2647         (test-xfail-tst-tlsalign-extern-static): New variable.
2649 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2651         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2652         Use variable name _sc_err instead of err.
2653         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2654         instead of ret.
2655         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2656         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2657         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2658         (INLINE_SYSCALL): Likewise.
2660         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2661         * include/string.h (__strnlen): Use libc_hidden_proto.
2662         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2663         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2664         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2665         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2666         (libc_hidden_def): Undefine and redefine.
2667         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2668         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2669         __GI_strnlen.
2670         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2671         libc_hidden_def.
2672         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2674         [BZ #18469]
2675         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2676         weak alias of __towlower.  Use libc_hidden_weak.
2677         (towupper): Rename to __towupper and define as weak alias of
2678         __towupper.  Use libc_hidden_weak.
2679         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2680         (__towupper): Likewise.
2681         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2682         __towlower instead of towlower.
2684 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2686         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2687         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2689 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2691         * sysdeps/aarch64/libm-test-ulps: Update.
2693 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2695         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2696         Define.
2697         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2699         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2700         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2701         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2702         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2703         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2705 2015-06-01  Martin Sebor  <msebor@redhat.com>
2707         [BZ #18116]
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2709         (__setcontext): Use extended four-operand version of mtsf whenever
2710         possible.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2712         (__novec_swapcontext): Likewise.
2714 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2716         * benchtests/scripts/compare_bench.py: New file.
2717         * benchtests/scripts/import_bench.py (mean): New function.
2718         (split_list): Likewise.
2719         (do_for_all_timings): Likewise.
2720         (compress_timings): Likewise.
2722         * benchtests/scripts/import_bench.py: New file.
2723         * benchtests/scripts/validate_benchout.py: Import import_bench
2724         instead of jsonschema.
2725         (validate_bench): Remove function.
2726         (main): Use import_bench.
2728 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2730         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2731         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2733 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2737 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2739         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2740         set THREAD_SELF->tid to a magic value and futex-wake it.
2741         Pass its address to the thread_exit system call.
2742         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2743         bit is clear.
2744         * sysdeps/nacl/lowlevellock.h: New file.
2745         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2747         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2748         Add TIMEOUT to current time, don't subtract it.
2750 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2752         [BZ #18422]
2753         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2754         ($(objpfx)tst-audit2.out): Also depend on
2755         $(objpfx)tst-auditmod9b.so.
2756         * elf/tst-audit2.c: Include <dlfcn.h>.
2757         (calloc_called): New.
2758         (calloc): Allow to be called more than once.
2759         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2761 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2763         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2764         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2766 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2768         * stdlib/monetary.h: Fix comment.
2770 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2772         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2773         Avoid using variables in #defines that might cause shadowing.
2774         (INTERNAL_VSYSCALL_CALL): Likewise.
2776 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2778         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2780         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2781         * nptl/lll_timedlock_wait.c: ... to this new file.
2782         * nptl/Makefile (libpthread-routines): Add it.
2783         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2784         * nptl/lll_timedwait_tid.c: ... to this new file.
2785         * nptl/Makefile (libpthread-routines): Add it.
2786         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2787         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2788         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2789         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2790         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2791         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2792         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2793         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2794         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2795         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2797 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2800         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2801         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2803         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2805         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2807         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2808         * sysdeps/unix/sysv/linux/tile/sysdep.h
2809         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2810         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2811         using vDSO syscall macro.
2813 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2815         [BZ #17293]
2816         * uk_UA: Fix sorting order for Ukrainian locale
2818 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2820         * stdlib/monetary.h: Fix comment.
2822 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2824         [BZ #18234]
2825         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2826         st_mtim and st_ctim members.
2827         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2828         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2829         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2830         (struct stat64): Likewise.
2831         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2832         (struct stat64): Likewise.
2833         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2834         (struct stat64): Likewise.
2836 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2838         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2839         Define and include sysdep-vdso.h.
2840         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2841         Likewise.
2842         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2843         Likewise.
2844         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2845         Define with VDSO_SYMBOL and use PTR_MANGLE.
2846         (__vdso_clock_gettime): Likewise.
2847         (__vdso_clock_getres): Likewise.
2848         (_libc_vdso_platform_setup): Likewise.
2849         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2850         Likewise.
2851         (_libc_vdso_platform_setup): Likewise.
2852         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2853         Likewise.
2854         (__vdso_clock_gettime): Likewise.
2855         (__vdso_clock_getres): Likewise.
2856         (__vdso_get_tbfreq): Likewise.
2857         (__vdso_getcpu): Likewise.
2858         (__vdso_time): Likewise.
2859         (__vdso_sigtramp_rt64): Likewise.
2860         (__vdso_signtramp32): Likewise.
2861         (__vdso_sigtramp_rt32): Likewise.
2862         (_libc_vdso_platform_setup): Likewise.
2863         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2864         Likewise.
2865         (__vdso_clock_gettime): Likewise.
2866         (__vdso_clock_getres): Likewise.
2867         (_libc_vdso_platform_setup): Likewise.
2868         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2869         Likewise.
2870         (__vdso_clock_gettime): Likewise.
2871         (_libc_vdso_platform_setup): Likewise.
2872         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2873         Likewise.
2874         (__vdso_getcpu): Likewise.
2875         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2876         Use VDSO_SYMBOL macro to define.
2877         (__vdso_clock_gettime): Likewise.
2878         (__vdso_clock_getres): Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2880         Likewise.
2881         (__vdso_clock_gettime): Likewise.
2882         (__vdso_clock_getres): Likewise.
2883         (__vdso_get_tbfreq): Likewise.
2884         (__vdso_getcpu): Likewise.
2885         (__vdso_time): Likewise.
2886         (__vdso_sigtramp_rt64): Likewise.
2887         (__vdso_signtramp32): Likewise.
2888         (__vdso_sigtramp_rt32): Likewise.
2889         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2890         Likewise.
2891         (__vdso_clock_gettime): Likewise.
2892         (__vdso_clock_getres): Likewise.
2893         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2894         Likewise.
2895         (__vdso_clock_gettime): Likewise.
2896         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2897         Likewise.
2898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2899         macro.
2900         (INTERNAL_VSYSCALL): Likewise.
2901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2902         Remove macro.
2903         (INTERNAL_VSYSCALL): Likewise.
2904         (INTERNAL_VSYSCALL_NCS): Likewise.
2905         (INTERNAL_VSYSCALL_CALL): New macro.
2906         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2908         Likewise.
2909         (INTERNAL_VSYSCALL): Likewise.
2910         (INTERNAL_VSYSCALL_NCS): Likewise.
2911         (INTERNAL_VSYSCALL_CALL): New macro.
2912         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2914         (INLINE_VSYSCALL): Remove macro.
2915         (INTERNAL_VSYSCALL): Remove macro.
2916         (INTERNAL_VSYSCALL_NCS): Remove macro.
2917         (INTERNAL_VSYSCALL_CALL): New macro.
2918         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2919         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2920         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2921         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2922         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2924         (INLINE_VSYSCALL): Remove macro.
2925         (INTERNAL_VSYSCALL): Likewise.
2926         (INTERNAL_VSYSCALL_NCS): Likewise.
2927         (INTERNAL_VSYSCALL_CALL): New macro.
2928         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2929         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2930         PTR_DEMANGLE on vDSO pointer.
2931         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2932         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2933         macro.
2934         (INTERNAL_SYSCALL): Likewise.
2935         (INTERNAL_VSYSCALL_NCS): Remove macro.
2936         (INTERNAL_VSYSCALL_CALL): New macro.
2937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2938         Remove macro.
2939         (INTERNAL_VSYSCALL): Likewise.
2940         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2941         sysdep-vdso.h instead of libc-vdso.h.
2942         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2943         definition.
2944         (INLINE_VSYSCALL): Likewise.
2945         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2946         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2947         definition.
2948         (INLINE_VSYSCALL): Likewise.
2949         (INTERNAL_VSYSCALL): Likewise.
2950         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2951         * sysdeps/unix/sysv/linux/timespec_get.c
2952         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2953         (timespec_get): Use ANSI prototype.
2954         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2955         and definition for Linux.
2957 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2959         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2960         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2962 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2964         [BZ #18410]
2965         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2966         for missing DT_PLTRELSZ.
2968 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2970         Remove obsolete aliases that broke 'locale -a'
2971         [BZ #18412]
2972         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2973         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2974         breaking some applications that use 'locale -a' output.
2975         Change the encoding of this file from Latin-1 to ASCII to avoid
2976         other potential problems with people grepping this file.
2978 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2980         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2981         -fasynchronous-unwind-tables.
2982         (CFLAGS-sendto.c): Likewise.
2983         (CFLAGS-sendmsg.c): Likewise.
2984         (CFLAGS-connect.c): Likewise.
2985         (CFLAGS-recvmsg.c): Likewise.
2986         (CFLAGS-recvfrom.c): Likewise.
2987         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2988         (SOCKETCALL): New macro: non-cancellable socketcall.
2989         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2990         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2991         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2992         * sysdeps/unix/sysv/linux/accept.c: New file.
2993         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2994         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2995         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2996         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2997         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2998         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2999         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3000         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3001         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3002         * sysdeps/unix/sysv/linux/send.c: Likewise.
3003         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3004         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3005         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3006         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3007         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3008         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3009         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3010         prototype.
3011         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3012         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3013         instead of __internal_xxx function.
3014         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3015         prototype.
3016         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3017         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3018         instead of __internal_xxx function.
3019         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3020         prototype.
3021         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3022         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3023         instead of __internal_xxx function.
3024         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3025         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3026         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3027         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3028         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3029         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3030         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3031         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3032         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3033         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3034         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3035         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3036         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3037         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3038         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3039         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3040         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3041         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3042         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3043         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3046         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3047         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3048         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3049         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3051         * sysdeps/unix/sysv/linux/send.S: Likewise.
3052         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3053         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3054         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3055         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3056         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3057         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3059         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3060         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3061         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3062         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3063         socketcall is implemented in GLIBC.
3065 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3067         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3068         (__fma): Ignore uninitialized warnings around packing.
3069         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3070         (__fmaf): Ignore uninitialized warnings around packing.
3071         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3072         (__fmal): Ignore uninitialized warnings around packing.
3074         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3075         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3077         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3079         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3080         switch statement into default case.
3081         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3083         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3084         a conditional in forcing "inexact".
3085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3086         Likewise.
3088 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3090         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3091         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3092         for each INTERNAL_SYSCALL use.
3094 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3096         [BZ #438]
3097         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3098         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3099         variable.
3101         [BZ #18444]
3102         * string/basename.c (basename): Rename to __basename and define as
3103         weak alias of __basename.  Use libc_hidden_weak.
3104         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3105         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3106         __basename instead of basename.
3107         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3108         Remove variable.
3109         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3111 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3113         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3114         (_IO_JUMPS_FILE_plus): New.
3115         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3116         _IO_CAST_FIELD_ACCESS.
3117         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3118         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3119         * libio/freopen.c (freopen): Likewise.
3120         * libio/freopen64.c (freopen64): Likewise.
3121         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3122         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3123         * libio/iofwide.c (_IO_fwide): Likewise.
3124         * libio/memstream.c (open_memstream): Likewise.
3125         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3126         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3127         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3129 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3132         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3133         NADJ.
3134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3135         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3136         NADJ.
3137         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3138         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3139         NADJ.
3141         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3142         (p == 4) case.
3144         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3145         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3146         Remove variable.
3147         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3148         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3149         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3151 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3153         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3154         Adjust jump table label generation macros.
3156 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3158         * stdio-common/vfprintf.c (vfprintf): Move local variables
3159         args_malloced, specs, specs_malloced, and the code after
3160         do_positional to the printf_positional function.
3161         (printf_positional): New function.
3163 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3165         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3166         function.
3167         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3168         STEP4_TABLE, process_arg): Move macro definitions
3169         out of the vfprintf function.  (Cosmetic change only.)
3171 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3173         * benchtests/Makefile (stdio-common-bench): Define.
3174         (benchset): Add stdio-common-bench.
3175         * sprintf-inputs: New file.
3176         * sprintf-source.c: New file.
3178 2015-05-21  Andreas Schwab  <schwab@suse.de>
3180         [BZ #13028]
3181         [BZ #17053]
3182         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3183         of struct __res_state.
3184         * resolv/res_send.c (__libc_res_nsend): Likewise.
3185         (get_nsaddr): New function.
3186         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3187         statp directly.
3189 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3191         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3192         -D_POSIX_C_SOURCE=199506L.
3194         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3196         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3197         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3198         Do not mention otherwise.
3199         [POSIX] (_XOPEN_VERSION): Do not expect.
3200         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3201         [POSIX] (_POSIX2_C_BIND): Likewise.
3202         [POSIX] (_POSIX2_VERSION): Likewise.
3203         [POSIX] (_XOPEN_XPG2): Likewise.
3204         [POSIX] (_XOPEN_XPG3): Likewise.
3205         [POSIX] (_XOPEN_XPG4): Likewise.
3206         [POSIX] (_XOPEN_UNIX): Likewise.
3207         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3208         [POSIX] (_POSIX_BARRIERS): Likewise.
3209         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3210         [POSIX] (_POSIX_CPUTIME): Likewise.
3211         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3212         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3213         [POSIX] (_POSIX_SHELL): Likewise.
3214         [POSIX] (_POSIX_SPAWN): Likewise.
3215         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3216         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3217         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3218         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3219         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3220         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3221         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3222         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3223         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3224         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3225         [POSIX] (_POSIX2_PBS): Likewise.
3226         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3227         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3228         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3229         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3230         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3231         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3232         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3233         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3234         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3235         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3236         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3237         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3238         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3239         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3240         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3241         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3242         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3243         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3244         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3245         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3246         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3247         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3248         [POSIX] (_SC_2_C_BIND): Likewise.
3249         [POSIX] (_SC_2_C_VERSION): Likewise.
3250         [POSIX] (_SC_2_PBS): Likewise.
3251         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3252         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3253         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3254         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3255         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3256         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3257         [POSIX] (_SC_BARRIERS): Likewise.
3258         [POSIX] (_SC_BASE): Likewise.
3259         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3260         [POSIX] (_SC_DEVICE_IO): Likewise.
3261         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3262         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3263         [POSIX] (_SC_FD_MGMT): Likewise.
3264         [POSIX] (_SC_FIFO): Likewise.
3265         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3266         [POSIX] (_SC_FILE_LOCKING): Likewise.
3267         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3268         [POSIX] (_SC_IOV_MAX): Likewise.
3269         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3270         [POSIX] (_SC_NETWORKING): Likewise.
3271         [POSIX] (_SC_PAGE_SIZE): Likewise.
3272         [POSIX] (_SC_PASS_MAX): Likewise.
3273         [POSIX] (_SC_PIPE): Likewise.
3274         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3275         [POSIX] (_SC_REGEXP): Likewise.
3276         [POSIX] (_SC_SHELL): Likewise.
3277         [POSIX] (_SC_SIGNALS): Likewise.
3278         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3279         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3280         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3281         [POSIX] (_SC_USER_GROUPS): Likewise.
3282         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3283         [POSIX] (_SC_STREAMS): Likewise.
3284         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3285         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3286         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3287         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3288         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3289         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3290         [POSIX] (_PC_FILESIZEBITS): Likewise.
3291         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3292         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3293         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3294         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3295         [POSIX] (uid_t): Likewise.
3296         [POSIX] (gid_t): Likewise.
3297         [POSIX] (off_t): Likewise.
3298         [POSIX] (pid_t): Likewise.
3299         [POSIX] (cuserid): Allow.
3300         (_SC_2_CHAR_TERM): Require constant.
3301         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3302         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3303         variable.
3305 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3307         * sysdeps/nacl/pthread-pids.h: New file.
3308         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3309         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3311         * nptl/pthread-pids.h: New file.
3312         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3313         * nptl/nptl-init.c: Include <pthread-pids.h>.
3314         (__pthread_initialize_minimal_internal):
3315         Call __pthread_initialize_pids instead of set_tid_address syscall.
3317         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3318         * sysdeps/posix/usleep.c: ... here.
3320 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3322         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3323         call_pselect6 object.
3324         [$(subdir) = io]: Remove call_sync_file_range object.
3325         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3326         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3327         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3328         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3330 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3332         * math/s_cproj.c: Add include "math_private.h".
3333         * math/s_cprojf.c: Likewise.
3334         * math/s_cprojl.c: Likewise.
3336 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3338         [BZ #18244]
3339         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3340         high mantissa bit when testing whether P is a NaN.
3341         * math/libm-test.inc (remainder_test_data): Add more tests.
3342         (remquo_test_data): Likewise.
3344         [BZ #18049]
3345         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3346         below -32, return the argument, with underflow if subnormal.
3347         * math/auto-libm-test-in: Add more tests of atanh.
3348         * math/auto-libm-test-out: Regenerated.
3350 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3352         [BZ #18434]
3353         * nptl/tst-sem15.c: New file.
3354         * nptl/Makefile (tests): Add it.
3355         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3356         s/<</>>/ to fix typo in EOVERFLOW check.
3357         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3359 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3361         * manual/strings.texi (envz_remove): Fix typo in safety
3362         annotations.
3364 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3365             Steve Ellcey  <sellcey@imgtec.com>
3367         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3368         in order to avoid strict alias warnings.
3369         (iruserok_af): Ditto for ra.
3371 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3373         [BZ #17581]
3374         * malloc/hooks.c
3375         (magicbyte): Convert to a function and avoid returning 0x01.
3376         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3377         (mem2chunk_check): Fix unsigned comparisons to zero.
3378         Hoist defs of sz and magic.
3380 2015-05-19  Richard Henderson  <rth@redhat.com>
3382         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3384         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3386 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3388         [BZ #16159]
3389         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3390         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3391         (reused_arena): Find a non-corrupt arena.
3392         (heap_trim): Pass arena to unlink.
3393         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3394         malloc_printerr.
3395         (top_check): Likewise.
3396         (free_check): Likewise.
3397         (realloc_check): Likewise.
3398         * malloc/malloc.c (malloc_printerr): Add arena argument.
3399         (unlink): Likewise.
3400         (munmap_chunk): Adjust.
3401         (ARENA_CORRUPTION_BIT): New macro.
3402         (arena_is_corrupt): Likewise.
3403         (set_arena_corrupt): Likewise.
3404         (sysmalloc): Use mmap if there are no usable arenas.
3405         (_int_malloc): Likewise.
3406         (__libc_malloc): Don't fail if arena_get returns NULL.
3407         (_mid_memalign): Likewise.
3408         (__libc_calloc): Likewise.
3409         (__libc_realloc): Adjust for additional argument to
3410         malloc_printerr.
3411         (_int_free): Likewise.
3412         (malloc_consolidate): Likewise.
3413         (_int_realloc): Likewise.
3414         (_int_memalign): Don't touch corrupt arenas.
3415         * malloc/tst-malloc-backtrace.c: New test case.
3417         * Makefile (summarize-tests): Fix return value on success.
3419         * manual/string.texi (Envz Functions): Add envz_remove.
3421 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3423         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3424         (invalid_name): New function, broken out of ...
3425         (__opendirat): ... here.  Call it.
3426         (need_isdir_precheck): New function, broken out of ...
3427         (__opendirat): ... here.  Call it.
3428         Use __fxstatat64, not __xstatat64.
3429         (opendir_oflags): New function, broken out of ...
3430         (__opendirat): ... here.  Call it.
3431         (opendir_tail): New function, broken out of ...
3432         (__opendirat): ... here.  Call it.
3433         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3434         opendir_tail, rather than punting to __opendirat.
3435         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3437 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3439         * .gitignore: Ignore generated *.pyc.
3441 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3443         * include/stdio.h: Define __need_wint_t.
3444         * test-skeleton.c: Avoid `for' loop initial declaration.
3445         * nptl/tst-initializers1.c: Use test-skeleton.c.
3447 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3449         [BZ #18418]
3450         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3452 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #16352]
3455         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3456         (__ieee754_atanh): Force underflow exception for results with
3457         small absolute value.
3458         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3459         (__ieee754_atanhf): Force underflow exception for results with
3460         small absolute value.
3461         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3462         (__ieee754_atanh): Force underflow exception for results with
3463         small absolute value.
3464         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3465         (__ieee754_atanhf): Force underflow exception for results with
3466         small absolute value.
3467         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3468         (__ieee754_atanhl): Force underflow exception for results with
3469         small absolute value.
3470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3471         (__ieee754_atanhl): Force underflow exception for results with
3472         small absolute value.
3473         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3474         (__ieee754_atanhl): Force underflow exception for results with
3475         small absolute value.
3476         * math/auto-libm-test-in: Do not allow missing underflow
3477         exceptions from atanh.
3478         * math/auto-libm-test-out: Regenerated.
3480         [BZ #18221]
3481         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3482         2**-28 as threshold for returning x or +/- 1/x.
3483         * math/auto-libm-test-in: Add more tests of tan.
3484         * math/auto-libm-test-out: Regenerated.
3486         [BZ #18220]
3487         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3488         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3489         * math/auto-libm-test-in: Add another test of lgamma.
3490         * math/auto-libm-test-out: Regenerated.
3492 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3494         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3495         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3496         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3497         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3498         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3499         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3500         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3503         (log1): Use fabs.  (my_log2): Use fabs.
3504         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3505         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3506         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3507         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3509         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3510         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3511         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3512         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3513         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3514         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3516 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3518         [BZ #18217]
3519         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3520         as threshold for returning 1 - x.
3521         * math/auto-libm-test-in: Add more tests of erfc.
3522         * math/auto-libm-test-out: Regenerated.
3524 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3526         [BZ #18196]
3527         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3528         threshold for large arguments.
3529         * math/auto-libm-test-in: Add another test of atan.
3530         * math/auto-libm-test-out: Regenerated.
3532         [BZ #16339]
3533         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3534         (__log1p): Force underflow exception for results with small
3535         absolute value.
3536         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3537         (__log1pf): Force underflow exception for results with small
3538         absolute value.
3539         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3540         (__log1p): Force underflow exception for results with small
3541         absolute value.
3542         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3543         (__log1pf): Force underflow exception for results with small
3544         absolute value.
3545         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3546         (__log1pl): Force underflow exception for results with small
3547         absolute value.
3548         * math/auto-libm-test-in: Do not allow missing underflow
3549         exceptions from log1p.
3550         * math/auto-libm-test-out: Regenerated.
3552 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3553             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3555         [BZ #16704]
3556         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3558 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3560         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3561         (libmvec): New variable.
3562         * configure.ac: Added option for mathvec build.
3563         * configure: Regenerated.
3564         * mathvec/Depend: New file.
3565         * mathvec/Makefile: New file.
3566         * shlib-versions: Added libmvec.
3567         * math/Makefile: Added rule for libm.so installation.
3569         * bits/math-vector.h: New file.
3570         * bits/libm-simd-decl-stubs.h: New header.
3571         * math/Makefile (headers): Added new header
3572         libm-simd-decl-stubs.h.
3573         * math/math.h (__MATHCALL_VEC): New macro.
3575         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3576         for conditions in testing functions.
3577         * math/Makefile: Added call of libm-have-vector-test.sh.
3578         * math/libm-test.inc (HAVE_VECTOR): New macros.
3580         * math/libm-test.inc: START refactored.
3581         * math/test-double.c (TEST_MATHVEC): Add define.
3582         * math/test-float.c: Likewise.
3583         * math/test-idouble.c: Likewise.
3584         * math/test-ifloat.c: Likewise.
3585         * math/test-ildoubl.c: Likewise.
3586         * math/test-ldouble.c: Likewise.
3587         * sysdeps/generic/math-tests-arch.h
3588         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3589         architecture check.
3591         * math/test-double.c (FUNC_TEST): New macro.
3592         * math/test-float.c: Likewise.
3593         * math/test-idouble.c: Likewise.
3594         * math/test-ifloat.c: Likewise.
3595         * math/test-ildoubl.c: Likewise.
3596         * math/test-ldouble.c: Likewise.
3597         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3599 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3601         * sysdeps/nacl/fdopendir.c: New file.
3603         * dirent/scandir-tail.c: New file.
3604         * dirent/scandir64-tail.c: New file.
3605         * dirent/Makefile (routines): Add them.
3606         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3607         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3608         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3609         [!SCANDIR] (SCANDIR_TAIL): New macro.
3610         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3611         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3612         (SCANDIRAT): Macro removed.
3613         (SCANDIR_TAIL): New macro.
3614         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3615         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3616         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3617         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3618         (READDIR): Macro removed.
3619         (SCANDIR_TAIL): New macro.
3620         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3621         (SCANDIR_TAIL): New macro.
3623         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3624         * dirent/scandir-cancel.c: ... to this new file.
3625         * dirent/Makefile (routines): Add it.
3626         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3627         * sysdeps/unix/sysv/linux/i386/scandir64.c
3628         (SKIP_SCANDIR_CANCEL): Macro removed.
3629         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3631         * dirent/tst-scandir.c: New file.
3632         * dirent/tst-scandir64.c: New file.
3633         * dirent/Makefile (tests): Add them.
3635 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3637         [BZ #18409]
3638         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3640 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3642         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3643         list.
3645 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3647         * benchtests/bench-strcoll.c: New benchmark.
3648         * benchtests/Makefile: Generate locales and run benchmark.
3649         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3650         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3651         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3652         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3653         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3654         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3655         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3656         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3657         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3658         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3659         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3660         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3661         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3662         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3663         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3664         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3665         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3666         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3667         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3668         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3669         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3670         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3671         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3672         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3674 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3676         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3677         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3679 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3681         * posix/uname-values.h: New file.
3682         * posix/uname.c: Include that instead of <config-name.h>.
3683         * sysdeps/nacl/uname-values.h: New file.
3684         * sysdeps/arm/nacl/uname-values.h: New file.
3686 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3688         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3689         splitting into fields.
3691 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3693         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3694         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3695         * locale/localeinfo.h: Add enum collation_encoding_type.
3696         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3697         * programs/ld-collate.c (collate_output): Add encoding type info.
3698         * string/strcoll_l.c (STRDIFF): New function.
3699         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3700         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3702 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3704         [BZ #18397]
3705         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3706         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3707         <fpu_control.h> instead of <math/fpu_control.c>.
3708         * sysdeps/mips/mips32/fpu/Makefile: New file.
3710 2015-05-11  Andreas Schwab  <schwab@suse.de>
3712         [BZ #18007]
3713         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3714         nss_endgrent.
3715         (_nss_compat_endgrent): Call nss_endgrent.
3716         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3717         nss_endpwent.
3718         (_nss_compat_endpwent): Call nss_endpwent.
3719         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3720         needent, call nss_setspent only if non-zero.
3721         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3722         (internal_endspent): Don't call nss_endspent.
3723         (_nss_compat_endspent): Call nss_endspent.
3724         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3725         Remove.  All uses removed.
3726         (internal_setent): Remove parameter stayopen, add parameter
3727         stream.  Use it instead of global variable.
3728         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3729         (internal_endent, internal_getent): Add parameter stream.  Use it
3730         instead of global variable.
3731         (CONCAT(_nss_files_end,ENTNAME))
3732         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3733         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3734         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3735         uses removed.
3736         (internal_setent, internal_endent): Add parameter stream.  Use it
3737         instead of global variable.
3738         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3739         stream.
3740         (get_next_alias): Add parameter stream.
3741         (_nss_files_getaliasent_r): Pass global stream.
3742         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3743         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3744         (_nss_files_gethostbyname4_r): Pass local stream to
3745         internal_setent, internal_getent and internal_endent.  Remove
3746         locking.
3748 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3750         * tst-strfmon1.c (tests): Update expected currency symbol.
3752 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3754         * sysdeps/nacl/gethostname.c: New file.
3756 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3758         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3759         and sinh.
3760         * math/auto-libm-test-out: Regenerated.
3761         * sysdeps/i386/fpu/libm-test-ulps: Update.
3762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3764 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3766         [BZ #18125]
3767         * stdlib/tst-setcontext3.c: New file.
3768         * stdlib/tst-setcontext3.sh: New file.
3769         * stdlib/Makefile (tests): Add tst-setcontext3.
3770         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3771         to verify test program created output file.
3772         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3773         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3774         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3775         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3777 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3779         [BZ #18383]
3780         * elf/tst-tlsalign.c: New file.
3781         * elf/tst-tlsalign-static.c: New file.
3782         * elf/tst-tlsalign-lib.c: New file.
3783         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3784         (tests-static): Add tst-tlsalign-static.
3785         (modules-names): Add tst-tlsalign-lib.
3786         (test-xfail-tst-tlsalign): New variable.
3787         (test-xfail-tst-tlsalign-static): New variable.
3789         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3790         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3792 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3794         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3795         csqrt, erfc, sin and sincos.
3796         * math/auto-libm-test-out: Regenerated.
3797         * sysdeps/i386/fpu/libm-test-ulps: Update.
3798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3802         * sysdeps/aarch64/libm-test-ulps: Update.
3804 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3806         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3807         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3808         * math/auto-libm-test-out: Regenerated.
3809         * sysdeps/i386/fpu/libm-test-ulps: Update.
3810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3814         [BZ #18265]
3815         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3816         (wcsncpy): Likewise.
3818 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3820         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3821         Assume __ASSUME_FALLOCATE is always true.
3822         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3823         (__posix_fallocate64_l64): Likweise.
3824         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3825         (posix_fallocate): Likewise.
3826         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3827         (__posix_fallocate64_l64): Likewise.
3828         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3829         [!__ASSUME_FALLOCATE]: Add comment.
3831 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3833         * sysdeps/unix/sysv/linux/i386/Makefile
3834         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3835         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3836         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3837         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3838         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3839         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3840         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3842 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3844         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3845         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3846         tgamma.
3847         * math/auto-libm-test-out: Regenerated.
3848         * sysdeps/i386/fpu/libm-test-ulps: Update.
3849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3851 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3853         * math/auto-libm-test-in: Add more tests of tgamma.
3854         * math/auto-libm-test-out: Regenerated.
3855         * sysdeps/i386/fpu/libm-test-ulps: Update.
3856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3858         * math/auto-libm-test-in: Add more tests of tanh.
3859         * math/auto-libm-test-out: Regenerated.
3860         * sysdeps/i386/fpu/libm-test-ulps: Update.
3861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863         * math/auto-libm-test-in: Add more tests of tan.
3864         * math/auto-libm-test-out: Regenerated.
3865         * sysdeps/i386/fpu/libm-test-ulps: Update.
3866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3868         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3869         * math/auto-libm-test-out: Regenerated.
3870         * sysdeps/i386/fpu/libm-test-ulps: Update.
3871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3873         * math/auto-libm-test-in: Add another test of pow.
3874         * math/auto-libm-test-out: Regenerated.
3875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3877         * math/auto-libm-test-in: Add more tests of lgamma.
3878         * math/auto-libm-test-out: Regenerated.
3879         * sysdeps/i386/fpu/libm-test-ulps: Update.
3880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3882         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3883         log1p.
3884         * math/auto-libm-test-out: Regenerated.
3885         * sysdeps/i386/fpu/libm-test-ulps: Update.
3886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3888 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3890         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3891         Elf64_Chdr structs and ELFCOMPRESS constants.
3893 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3895         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3896         expm1.
3897         * math/auto-libm-test-out: Regenerated.
3898         * sysdeps/i386/fpu/libm-test-ulps: Update.
3899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3901         * math/auto-libm-test-in: Add more tests of erf and erfc.
3902         * math/auto-libm-test-out: Regenerated.
3903         * sysdeps/i386/fpu/libm-test-ulps: Update.
3904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3908         * config.h.in (HAVE_AARCH64_BE): Add.
3910 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3912         * math/auto-libm-test-in: Add more tests of csqrt.
3913         * math/auto-libm-test-out: Regenerated.
3914         * sysdeps/i386/fpu/libm-test-ulps: Update.
3915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3918         * math/auto-libm-test-out: Regenerated.
3919         * sysdeps/i386/fpu/libm-test-ulps: Update.
3920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3922         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3924 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3926         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3927         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3929         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3930         (euidaccess, eaccess): Define as weak aliases.
3932         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3933         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3934         but __suseconds_t is often 'long int' so some sources assume that
3935         type is being used (e.g. they use %ld to print tv_usec).
3937 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3939         [BZ #18007]
3940         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3941         (CVE-2014-8121)
3942         * nss/tst-nss-getpwent.c: New file.
3943         * nss/Makefile (tests): Add new test.
3945 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3947         [BZ #18346]
3948         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3949         exponents less than 48 as cases where high part of mantissa needs
3950         examining to determine whether argument is integral.
3951         * math/libm-test.inc (round_test_data): Add more tests.
3953 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3955         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3957 2015-04-27  David S. Miller  <davem@davemloft.net>
3959         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3960         __tls_get_addr.
3961         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3963 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3965         [BZ#18333]
3966         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3968 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3970         [BZ#18333]
3971         * time/tzset.c (parse_tzname): Return error on memory allocation
3972         failure.
3973         * test-skeleton.c (struct temp_name_list): Change type of name
3974         member to non-const.
3975         (add_temp_file): Create a copy of the file name.
3976         (delete_temp_files): Deallocate memory.
3977         (create_temp_file): Add comment.
3979 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3981         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3982         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3984 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3986         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3987         * sysdeps/arm/configure: Regenerated.
3989 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3991         [BZ #17715]
3992         * time/tzfile.c (__tzfile_read): Check for large values of
3993         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3994         * time/tzset.c (__tzstring_len): New function, based on the old
3995         __tzstring function.
3996         (__tzstring): Call __tzstring_len.
3997         (parse_tzname): New helper function extracted from
3998         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3999         the input string.
4000         (parse_offset): New helper function extracted from
4001         __tzset_parse_tz.  Replace switch with fallthrough with
4002         initialization before sscanf.
4003         (parse_rule): Likewise.
4004         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4005         new-style function definition.
4006         * timezone/Makefile (tests): Add tst-tzset.
4007         (tst-tzset.out): Dependencies on time zone files.
4008         (tst-tzset-ENV): Set TZDIR.
4009         (testdata/XT%): Copy crafted time zone files.
4010         * timezone/README: Mention crafted time zone files.
4011         * timezone/testdata/XT1, timezone/testdata/XT2,
4012         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4013         files.
4014         * timezone/tst-tzset.c: New test.
4016 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4018         * Makeconfig (+gccwarn): Remove -Winline.
4020 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4022         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4024 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4026         * NEWS: Mention sysconf() cache information support for s390.
4027         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4029 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4031         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4032         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4033         (__nearbyint): Likewise.
4034         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4035         (copysignl): Likewise.
4037 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4039         [BZ #18287]
4040         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4041         based on padding.  (CVE-2015-1781)
4043 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4045         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4046         libc-vdso.h.
4047         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4048         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4049         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4050         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4051         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4052         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4053         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4054         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4056         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4057         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4058         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4059         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4060         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4061         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4062         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4063         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4065         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4066         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4067         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4068         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4069         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4071 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4073         * stdlib/setenv.c (__add_to_environ):
4074         Dump core quickly if setenv (..., NULL, ...) is called.
4075         This time, do it the right way, and pacify GCC with a pragma.
4077 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4079         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4080         IMAP->l_prev cannot be null, and #if out the code for the contrary
4081         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4082         believe that NS (&_dl_ns[NSID]) could point outside the array.
4084         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4085         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4086         before using NSID as an index.
4088 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4090         [BZ #17825]
4091         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4092         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4093         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4095 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4097         Add preliminary port to Google Native Client on ARM.
4098         * abi-tags (.*-.*-nacl.*): New entry.
4099         * sysdeps/arm/nacl: New directory.
4100         * sysdeps/nacl: New directory.
4102 2015-04-16  David S. Miller  <davem@davemloft.net>
4104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4105         lowlevellock-futex.h
4107 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4109         * sysdeps/tile/configure.ac: New file.
4110         * sysdeps/tile/configure: Regenerated.
4112 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4114         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4115         conditionals for weak_alias and libc_hidden_weak.
4116         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4117         libc_hidden_weak and weak_alias.
4118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4119         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4120         and weak_alias for static one.
4122 2015-04-15  David S. Miller  <davem@davemloft.net>
4124         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4126 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4128         [BZ #18206]
4129         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4130           Use signed comparision instead of substraction to avoid
4131           overflow bug.
4132         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4133           Take the sign of ret.
4134         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4135           Do not expect precise return values. Only the sign matters.
4136         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4137         * wcsmbs/test-wcsncmp.c: New File.
4138         * string/test-strncmp.c: Add wcsncmp support.
4140 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4142         [BZ #6792]
4143         * math/w_log1p.c: New file.
4144         * math/w_log1pf.c: Likewise.
4145         * math/w_log1pl.c: Likewise.
4146         * math/Makefile (libm-calls): Add w_log1p.
4147         * math/s_log1pl.c (log1pl): Remove weak_alias.
4148         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4149         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4150         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4151         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4152         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4153         [NO_LONG_DOUBLE] (log1pl): Likewise.
4154         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4155         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4156         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4157         (log1p): Remove long_double_symbol.
4158         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4159         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4160         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4161         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4162         remove weak_alias for corresponding log1p function.
4163         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4164         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4165         * sysdeps/ia64/fpu/w_log1p.c: New file.
4166         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4167         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4168         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4170 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4172         [BZ #18247]
4173         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4174         decimal exponent by 1.
4175         * stdlib/tst-strtod-round-data: Add more tests.
4176         * stdlib/tst-strtod-round.c (tests): Regenerated.
4178 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4180         * math/auto-libm-test-in: Add more tests of clog and clog10.
4181         * math/auto-libm-test-out: Regenerated.
4182         * sysdeps/i386/fpu/libm-test-ulps: Update.
4183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4185 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4187         * Makeconfig (module-cppflags): Exclude all .v.i files.
4188         (skip-module-cppflags): Variable removed.
4190         * configure.ac (libc_config_ok): Initialize before reading
4191         preconfigure scripts, not after.
4192         * configure: Regenerated.
4194         * test-skeleton.c (TIMEOUT): Move #define to top level.
4195         (main): Grok environment variable TEST_DIRECT.  If set, print
4196         test expectation details into that file and then behave as if
4197         given --direct.
4199 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4201         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4202         warning on 32-bit.
4204 2015-04-08  David S. Miller  <davem@davemloft.net>
4206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4208 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4210         * math/auto-libm-test-in: Add more tests of atanh.
4211         * math/auto-libm-test-out: Regenerated.
4212         * sysdeps/i386/fpu/libm-test-ulps: Update.
4213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4215         * math/auto-libm-test-in: Add more tests of atan.
4216         * math/auto-libm-test-out: Regenerated.
4217         * sysdeps/i386/fpu/libm-test-ulps: Update.
4218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4222         * elf/pldd.c (main): Rewrite to use struct
4223         scratch_buffer instead of extend_alloca.
4224         * elf/pldd-xx.c (find_maps): Likewise.
4225         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4226         <alloca.h>.
4227         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4228         scratch_buffer instead of extend_alloca.
4229         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4230         grp/compat-initgroups.c.
4231         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4232         Rewrite to use struct scratch_buffer instead of extend_alloca.
4233         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4234         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4236 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4238         * math/auto-libm-test-in: Add more tests of cbrt.
4239         * math/auto-libm-test-out: Regenerated.
4240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4242         * math/auto-libm-test-in: Add more tests of cabs.
4243         * math/auto-libm-test-out: Regenerated.
4244         * sysdeps/i386/fpu/libm-test-ulps: Update.
4245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247         [BZ #18210]
4248         [BZ #18211]
4249         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4250         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4251         computations.
4252         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4253         clog10.
4254         * math/auto-libm-test-out: Regenerated.
4255         * sysdeps/i386/fpu/libm-test-ulps: Update.
4256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258         [BZ #18197]
4259         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4260         (atan): Set FE_TONEAREST mode for internal computations.
4261         * math/auto-libm-test-in: Add more tests of atan.
4262         * math/auto-libm-test-out: Regenerated.
4264 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4266         [BZ #17930]
4267         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4269 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4271         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4273 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4275         * include/scratch_buffer.h: New file.
4276         * malloc/scratch_buffer_grow.c: Likewise.
4277         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4278         * malloc/scratch_buffer_set_array_size.c: Likewise.
4279         * malloc/tst-scratch_buffer.c: Likewise.
4280         * malloc/Makefile (routines): Add scratch_buffer_grow.
4281         (tests): Add test case.
4282         * malloc/Versions (GLIBC_PRIVATE): Export
4283         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4284         __libc_scratch_buffer_set_array_size.
4286 2015-04-06  Richard Henderson  <rth@redhat.com>
4288         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4291         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4292         unsigned int before printing.
4294 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4296         [BZ #17596]
4297         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4298         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4300 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4302         * include/libc-internal.h (libc_max_align_t): Define.
4304 2015-04-02  Andreas Schwab  <schwab@suse.de>
4306         [BZ #16850]
4307         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4309 2015-04-02  Mel Gorman  <mgorman@suse.de>
4311         [BZ #17195]
4312         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4313         as well as the main arena.
4315 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4317         [BZ #18185]
4318         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4319         sharing L2 cache to 2 for Silvermont/Knights Landing.
4321 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4323         [BZ #17711]
4324         * config.make.in (have-protected-data): New.
4325         * configure.ac: Check linker support for protected data symbol.
4326         * configure: Regenerated.
4327         * elf/Makefile (modules-names): Add tst-protected1moda and
4328         tst-protected1modb if $(have-protected-data) is yes.
4329         (tests): Add tst-protected1a and tst-protected1b if
4330         $(have-protected-data) is yes.
4331         ($(objpfx)tst-protected1a): New.
4332         ($(objpfx)tst-protected1b): Likewise.
4333         (tst-protected1modb.so-no-z-defs): Likewise.
4334         * elf/tst-protected1a.c: New file.
4335         * elf/tst-protected1b.c: Likewise.
4336         * elf/tst-protected1mod.h: Likewise.
4337         * elf/tst-protected1moda.c: Likewise.
4338         * elf/tst-protected1modb.c: Likewise.
4340 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4342         [BZ #17711]
4343         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4344         indicates it is called from do_lookup_x on relocation against
4345         protected data, skip the data definion in the executable from
4346         copy reloc.
4347         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4348         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4349         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4350         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4351         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4352         otherwise to 0.
4353         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4354         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4355         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4356         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4357         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4358         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4360 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4362         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4363         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4365 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4367         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4368         THREAD_SETMEM_NC.
4369         * sysdeps/x86_64/nptl/tls.h: Ditto.
4371 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4373         * dlfcn/tststatic.c (main): Converted to ...
4374         (do_test): ... this.
4375         (TEST_FUNCTION): New macro.
4376         Include test-skeleton.c.
4378 2015-03-26  Alan Modra  <amodra@gmail.com>
4380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4381         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4382         zero for undefined weak.
4383         (elf_machine_plt_conflict): Similarly.
4385 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4387         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4388         atanh.
4389         * math/auto-libm-test-out: Regenerated.
4390         * sysdeps/i386/fpu/libm-test-ulps: Update.
4391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4393         * math/auto-libm-test-in: Add another test of asin.
4394         * math/auto-libm-test-out: Regenerated.
4395         * sysdeps/i386/fpu/libm-test-ulps: Update.
4396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4398         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4399         Remove macro.
4400         (LLL_EBX_REG): Likewise.
4401         (LLL_ENTER_KERNEL): Likewise.
4403         * math/auto-libm-test-in: Add more tests of asin.
4404         * math/auto-libm-test-out: Regenerated.
4405         * sysdeps/i386/fpu/libm-test-ulps: Update.
4406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408         [BZ #18138]
4409         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4410         libc_do_syscall_args): New structure.
4411         (INTERNAL_SYSCALL_MAIN_0): New macro.
4412         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4413         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4414         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4415         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4416         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4417         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4418         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4419         Replace conditional definitions by conditional definitions of ....
4420         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4421         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4422         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4423         (libpthread-sysdep_routines): Add libc-do-syscall.
4424         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4425         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4426         to __NR_futex not 240.
4428 2015-03-25  Alan Modra  <amodra@gmail.com>
4430         * NEWS: Advertise TLS optimization.
4431         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4432         (DT_PPC_NUM): Increment.
4433         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4434         (CHECK_STATIC_TLS): Use here.
4435         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4436         TLS descriptors.
4437         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4438         * sysdeps/powerpc/dl-tls.c: New file.
4439         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4440         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4441         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4442         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4447 2015-03-25  Alan Modra  <amodra@gmail.com>
4449         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4450         for overlapping .opd entries" to "support...".
4451         * sysdeps/powerpc/powerpc64/configure: Regenerate
4453 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4455         * math/auto-libm-test-in: Add more tests of acos.
4456         * math/auto-libm-test-out: Regenerated.
4457         * sysdeps/i386/fpu/libm-test-ulps: Update.
4458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4460         * math/auto-libm-test-in: Add more tests of expm1.
4461         * math/auto-libm-test-out: Regenerated.
4462         * sysdeps/i386/fpu/libm-test-ulps: Update.
4463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4467         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4468         * math/auto-libm-test-out: Regenerated.
4469         * sysdeps/i386/fpu/libm-test-ulps: Update.
4470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4472         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475         * math/auto-libm-test-in: Add more tests of log2.
4476         * math/auto-libm-test-out: Regenerated.
4477         * sysdeps/i386/fpu/libm-test-ulps: Update.
4478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4480 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4482         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4483         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4484         _IO_IS_APPENDING bit in READ_WRITE instead.
4486 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4488         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4489         (__determine_cpumask_size): Replace extend_alloca with a
4490         variable-length array.  Do not treat res == 0 as an error.
4492 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4494         [BZ #18100]
4495         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4496         and integer overflow.
4497         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4498         (main): Add integer overflow tests.
4499         * manual/pattern.texi (Calling Wordexp): Document additional use
4500         for WRDE_SYNTAX.
4502 2015-03-23  Alan Modra  <amodra@gmail.com>
4504         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4505         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4506         and false branch of conditional.
4507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4508         Likewise.
4510 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4512         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4513         libc-modules.h
4514         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4515         unused declaration of _hurd_intr_rpc_msg_in_trap.
4516         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4517         defined instead of whether it is non-zero.
4518         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4519         input constraint instead of both input and output constraint.  Use ecx
4520         clobber instead of %ecx.
4521         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4522         mutex_unlock): Use a statement expression instead of an expression list.
4523         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4524         type to vm_size_t instead of vm_address_t.
4525         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4526         defined instead of whether it is non-zero.
4527         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4528         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4529         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4530         comparisons with mapaddr.
4531         * nscd/nscd-client.h: Include <time.h>.
4532         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4533         9th parameter to __vm_region instead of int.
4534         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4535         * scripts/check-local-headers.sh (exclude): Add device/,
4536         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4537         cthreads.h.
4539 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4541         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4542         to account for alignment padding.
4543         * sysdeps/arm/memmove.S: Likewise.
4545 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4547         * sysdeps/unix/sysv/linux/generic/README: New file.
4549 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4551         [BZ #18138]
4552         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4553         (futex_abstimed_wait)
4554         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4555         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4556         of lll_futex_timed_wait.
4558 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4560         [BZ #17542]
4561         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4563 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4565         [BZ #17090]
4566         [BZ #17620]
4567         [BZ #17621]
4568         [BZ #17628]
4569         * NEWS: Update.
4570         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4571         entries with Static TLS too.  Skip entries past the end of the
4572         allocated DTV, from Alan Modra.
4573         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4574         Static TLS DTV entry set up from...
4575         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4576         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4577         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4578         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4579         for Static TLS.
4580         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4581         that the slot we find is associated with the given map before
4582         using its generation count.
4583         * nptl_db/db_info.c: Include ldsodefs.h.
4584         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4585         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4586         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4587         (link_map::l_tls_offset): New struct field.
4588         (dtv_t::counter): Likewise.
4589         (rtld_global): New struct.
4590         (_rtld_global): New rtld variable.
4591         (dl_tls_dtv_slotinfo_list): New rtld global field.
4592         (dtv_slotinfo_list): New struct.
4593         (dtv_slotinfo): Likewise.
4594         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4595         (td_lookup): Rename to...
4596         (td_mod_lookup): ... this.  Use new mod parameter instead of
4597         LIBPTHREAD_SO.
4598         * nptl_db/td_thr_tlsbase.c: Include link.h.
4599         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4600         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4601         addresses even if the DTV is out of date or missing them.
4602         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4603         index zero-length arrays.
4604         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4605         (td_lookup): Make it a macro implemented in terms of...
4606         (td_mod_lookup): ... this declaration.
4607         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4608         (DB_MAIN_VARIABLE): Likewise.
4610 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4612         [BZ #18134]
4613         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4615 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4617         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4619 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4621         [BZ #18128]
4622         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4623         (atomic_add, atomic_increment_and_test)
4624         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4626 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4628         * stdlib/setenv.c (__add_to_environ):
4629         Dump core quickly if setenv (..., NULL, ...) is called.
4631 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4633         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4634         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4635         all the necessary asm magic in one place.
4636         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4637         using those.
4639 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4641         [BZ #14906]
4642         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4643         traced file mtime. Use consistent log message.
4644         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4645         (register_traced_file): Call install_watches. Always set mtime.
4646         (invalidate_cache): Iterate over all trace files. Call install_watches.
4647         (inotify_check_files): Don't inline. Handle watching parent
4648         directories and configuration file movement in and out.
4649         (handle_inotify_events): New function.
4650         (main_loop_poll): Call handle_inotify_events.
4651         (main_loop_epoll): Likewise.
4652         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4653         (struct traced_file): Use array of inotify fds. Add parent directory,
4654         and basename.
4655         (struct database_dyn): Remove unused file_mtime.
4656         (init_traced_file): New inline function.
4657         (define_traced_file): New macro.
4658         * nss/nss_db/db-init.c: Use define_traced_file.
4659         (_nss_db_init): Use init_traced_file.
4660         * nss/nss_files/files-init.c: Use define_traced_file.
4661         (_nss_files_init): Use init_traced_file.
4663 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4665         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4666         [_LIBC]: Do not include <stdlib.h>.
4667         [!_LIBC] (abort): Remove declaration.
4668         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4669         _FP_STATIC_ASSERT instead of conditionally calling abort.
4670         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4671         (_FP_EXTEND_CNAN): Likewise.
4672         (FP_TRUNC): Likewise.
4673         (__FP_CLZ): Likewise.
4674         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4676 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4678         * manual/string.texi (XPG basename): Fix prototype.
4680 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4682         [BZ #18080]
4683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4684         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4685         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4686         (__setcontext): Likewise.
4687         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4688         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4689         Call rt_sigprocmask syscall one time to set new signal mask
4690         and retrieve the current signal mask instead of two calls.
4691         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4692         (__swapcontext): Likewise.
4693         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4694         * stdlib/tst-setcontext2.c: New file.
4696 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4698         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4700 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4702         [BZ #18093]
4703         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4704         the wrong size.
4706 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4708         [BZ #18043]
4709         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4711 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4713         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4714         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4715         Remove define.
4716         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4717         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4718         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4719         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4720         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4721         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4722         define.
4723         * nptl_db/td_symbol_list.c (td_lookup): Remove
4724         HAVE_ASM_GLOBAL_DOT_NAME code.
4725         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4726         HAVE_ASM_GLOBAL_DOT_NAME check.
4727         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4728         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4729         (DOT_LABEL): Remove define.
4730         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4731         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4732         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4733         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4734         (__TLS_GET_ADDR): Likewise.
4735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4736         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4738 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4740         [BZ #18111]
4741         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4742         (_FPU_SETCW): Initialize cw from fpsr before storing.
4743         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4744         (fesetexceptflag): Rewrite using fpu_control.h.
4745         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4747 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4749         [BZ #18110]
4750         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4751         asms.
4752         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4754 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4756         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4757         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4758         abort.
4759         (_FP_FMA): Likewise.
4760         (_FP_DIV): Likewise.
4762 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4764         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4765         with 0 in that case.
4766         * Makefile (summarize-tests): New canned sequence, factored out of
4767         commands for targets tests and xtests.  Display summary lines that
4768         don't start with PASS: or XFAIL: rather than ones that do start with
4769         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4770         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4771         do start with ERROR: or FAIL:.
4772         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4773         (except for [$(build-shared) = yes]).
4774         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4775         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4776         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4777         * nptl/Makefile: Revert 2015-03-04 changes.
4778         [$(CXX) empty] (tests-unsupported): New variable.
4779         * debug/Makefile: Likewise.
4781         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4782         gnulib file.  Replace __attribute with __attribute__ throughout.
4784 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4786         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4788 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4790         [BZ #18104]
4791         * math/auto-libm-test-in: Add another test of pow.
4792         * math/auto-libm-test-out: Regenerated.
4794 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4796         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4797         $(config-cflags-nofma).
4799 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4801         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4802         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4803         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4804         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4805         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4806         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4807         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4808         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4809         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4810         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4811         Add comment on closing #endif.
4813 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4815         * posix/wordexp.c (CHAR_IN_SET): New macro.
4816         (parse_param): Use it.
4818 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4820         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4822 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4824         [BZ #18043]
4825         * posix/wordexp.c (parse_param): Fix buffer overflow.
4826         * posix/wordexp-test.c (test_case): Add test case.
4828 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4830         [BZ #18042]
4831         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4832         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4834 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4836         [BZ #18043]
4837         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4838         (do_bz18043): Delete.
4839         (at_page_end): New.
4840         (testit): Refactor to have words at the edge of unreadable page.
4842 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4844         [BZ #16734]
4845         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4846         Cleanup read-only streams as well.
4847         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4849 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4851         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4852         <bits/libc-lockP.h>
4854 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4856         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4857         on [__KERNEL__].
4858         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4859         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4860         * soft-fp/op-common.h (_FP_DECL): Likewise.
4862 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4864         * elf/ifuncdep2.c (global): Replace
4865         __attribute__((visibility("protected"))) with
4866         asm (".protected global").
4867         * elf/ifuncmod1.c (global): Likewise.
4868         * elf/ifuncmod5.c (global): Likewise.
4870 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4872         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4873         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4875 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4877         * manual/install.texi (Configuring and compiling):
4878         Document test-wrapper-env-only.
4879         * INSTALL: Regenerated.
4881 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4883         [BZ #18043]
4884         * posix/wordexp.c (parse_param): Fix buffer overflow.
4885         * posix/wordexp-test.c (do_bz18043): Add test case.
4887 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4889         * time/tst-strptime2.c (do_test): Ensure failing tests are
4890         reported correctly.
4891         * time/tst-strptime3.c (do_test): Likewise.
4893 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4895         Fix aio_error thread-safety.
4896         * sysdeps/pthread/aio_error.c: New file
4897         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4898         synchronization.
4900 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4902         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4903         (group_number, vfprintf): Use it.
4904         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4905         (JUMP, REF): Use it.
4906         (WORK_BUFFER_SIZE): New enum constant.
4907         (process_arg, vfprintf): Use it.
4909 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4911         * manual/errno.texi (Error Messages): Complete example function
4912         by adding missing #define.
4913         (program_invocation_name): Add statement indicating GNU
4914         extension and reference which header file declares the variable.
4915         (program_invocation_short_name): Likewise.
4917 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4919         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4920         compatibility note.
4922 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4924         * Makeconfig (test-wrapper-env-only): New variable.
4925         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4926         then use that with $(test-wrapper-env-only) rather than using
4927         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4929 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4931         [BZ #18082]
4932         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4933         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4934         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4935         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4936         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4937         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4938         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4939         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4940         Likewise.
4941         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4942         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4943         Likewise.
4944         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4945         Likewise.
4946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4947         Likewise.
4948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4949         Likewise.
4950         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4951         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4952         Likewise.
4953         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4954         Likewise.
4955         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4956         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4958 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4960         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4961         (ETH_ALEN): New macro.
4962         (struct ether_addr): Use it for length of ether_addr_octet.
4964         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4965         (setdb): Don't call __nss_configure_lookup for "rpc".
4966         (do_test): Don't call test_rpc.
4967         (output_rpcent, test_rpc): Functions moved ...
4968         * sunrpc/test-rpcent.c: ... to this new file.
4969         * sunrpc/Makefile (tests): Add it.
4971         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4972         __xpg_sigpause.
4973         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4974         * nptl/tst-signal6.c: Likewise.
4975         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4976         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4978         * configure.ac (libc_cv_cxx_link_ok): New check.
4979         Reset CXX to empty if it fails to link.
4980         * configure: Regenerated.
4981         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4982         bug-atexit3-lib only if $(CXX) is nonempty.
4983         * nptl/Makefile (tests): Likewise for tst-cancel24.
4984         (tests, tests-static): Likewise for tst-cancel24-static.
4985         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4986         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4987         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4988         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4990 2015-03-04  Andreas Schwab  <schwab@suse.de>
4992         [BZ #17631]
4993         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4994         for non-GCC compilers.
4995         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4996         Likewise.
4998 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5000         [BZ #17776]
5001         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5002         integer before bitwise and assembly operations.
5003         (feclearexcept): Likewise.
5004         * math/test-fenvinline.c: New file.
5005         * math/Makefile: Add test-fenvinline test.
5007 2015-03-03  Alan Modra  <amodra@gmail.com>
5009         [BZ #16512]
5010         * scripts/localplt.awk: Strip off symbol version.
5011         * NEWS: Mention bug fix.
5013 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5015         * sysdeps/pthread/timer_routines.c
5016         (timer_free_list, thread_free_list, thread_active_list): Make static.
5018 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #17779]
5021         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5022         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5023         Undefine.
5024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5025         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5026         Likewise.
5027         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5028         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5029         Likewise.
5031 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5033         [BZ #18036]
5034         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5035         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5037 2015-03-02  Andreas Schwab  <schwab@suse.de>
5039         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5040         variable name.
5042 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5044         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5045         Return error status.
5047 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5049         [BZ #15969]
5050         * locale/findlocale.c (_nl_find_locale): Introduce const
5051         version of loc_name and drop unsafe type casts.
5053 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5055         * dlfcn/tststatic2.c (main): Converted to ...
5056         (do_test): ... this.
5057         (TEST_FUNCTION): New macro.
5058         Include test-skeleton.c.
5060 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5062         [BZ #17711]
5063         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5064         (tests-pie): Add vismain.
5065         (CFLAGS-vismain.c): New.
5066         * elf/vismain.c: Add comments for PIE requirement.
5068 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #18046]
5071         [BZ #18047]
5072         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5073         0x1p-56L as threshold for just returning the argument.
5074         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5075         0x1p-32L as threshold for just returning the argument.
5076         * math/auto-libm-test-in: Add more tests of atanh.
5077         * math/auto-libm-test-out: Regenerated.
5078         * sysdeps/i386/fpu/libm-test-ulps: Update.
5079         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5081 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5083         * string/bcopy.c (bcopy): Call memmove for performance.
5085 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5087         * string/bzero.c (__bzero): Call memset for performance.
5089 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5091         [BZ #18068]
5092         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5093         to 00100000.
5095 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5097         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5099 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5101         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5102         (__kernel_standard): Use CSTR macro when setting exc.name.
5103         * sysdeps/ieee754/Makefile [$(subdir) = math]
5104         (CFLAGS-k_standard.c): Remove variable.
5106         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5107         setting p and q from "else if" to "else".
5108         (qzero): Likewise.
5109         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5110         (qone): Likewise.
5111         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5112         (qzerof): Likewise.
5113         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5114         (qonef): Likewise.
5115         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5116         (qzero): Likewise.
5117         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5118         (qone): Likewise.
5120         [BZ #18038]
5121         [BZ #18039]
5122         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5123         return pi/2 for arguments below 0x1p-113L.
5124         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5125         return pi/2 for arguments below 0x1p-106L.
5126         * math/auto-libm-test-in: Add more tests of acos.
5127         * math/auto-libm-test-out: Regenerated.
5129         [BZ #16351]
5130         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5131         (MO): New macro.
5132         (__ieee754_asin): Force underflow exception for results with small
5133         absolute value.
5134         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5135         (MO): New macro.
5136         (__ieee754_asinf): Force underflow exception for results with
5137         small absolute value.
5138         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5139         (__ieee754_asin): Force underflow exception for results with small
5140         absolute value.
5141         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5142         (__ieee754_asinf): Force underflow exception for results with
5143         small absolute value.
5144         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5145         (__ieee754_asinl): Force underflow exception for results with
5146         small absolute value.
5147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5148         (__ieee754_asinl): Force underflow exception for results with
5149         small absolute value.
5150         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5151         (__ieee754_asinl): Force underflow exception for results with
5152         small absolute value.
5153         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5154         Include <math.h>.
5155         * math/auto-libm-test-in: Do not mark underflow exceptions as
5156         possibly missing for bug 16351.
5157         * math/auto-libm-test-out: Regenerated.
5159         [BZ #18030]
5160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5161         of power of 2 down when low part has opposite sign.
5162         * math/libm-test.inc (logb_test_data): Add more tests.
5164 2015-02-26  Andreas Schwab  <schwab@suse.de>
5166         [BZ #18032]
5167         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5168         over collating symbol inside a bracket expression.  Minor cleanup.
5169         * posix/tst-fnmatch3.c (do_test): Add test case.
5171 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5173         [BZ #18029]
5174         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5175         Adjust exponent of power of 2 down when low part has opposite
5176         sign.
5177         * math/libm-test.inc (ilogb_test_data): Add more tests.
5179 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5181         [BZ #15969]
5182         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5183         the previous change.
5185         [BZ #15969]
5186         * locale/findlocale.c (_nl_find_locale): Retry archive search
5187         after alias expansion.
5189 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5191         * iconv/tst-iconv3.c (main): Converted to ...
5192         (do_test): ... this.
5193         (TEST_FUNCTION): New macro.
5194         Include test-skeleton.c.
5196         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5197         (convert): Make function static.
5198         (test_unalign): Likewise.  Add const to argument pointee types.
5199         (main): Replace with static function do_test.
5200         Print "Succeeded." only if RET is zero.
5201         (TEST_FUNCTION): New macro.
5202         Include test-skeleton.c.
5204         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5205         returns a null pointer.
5207 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5209         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5210         to __memcpy_ppc only for static builds.
5212 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5214         [BZ #18020]
5215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5216         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5217         * math/auto-libm-test-in: Add more tests of asinh.
5218         * math/auto-libm-test-out: Regenerated.
5219         * sysdeps/i386/fpu/libm-test-ulps: Update.
5220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5222 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5224         [BZ #15850]
5225         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5226         and ip6_mtuinfo definitions here.
5227         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5228         in this define too.  Update comment.
5230 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5232         * elf/sprof.c (load_shobj): Tweak error message to match others.
5234 2015-02-24  Kevin Easton  <kevin@guarana.org>
5236         [BZ #16145] (partial fix)
5237         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5238         to reduce lock contention.
5240 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5242         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5243         (struct timex): Update time comment.
5244         (ADJ_SETOFFSET): Define.
5246 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5248         [BZ #18019]
5249         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5250         2**56 not 2**28 as threshold for log (2x) formula.
5251         * math/auto-libm-test-in: Add more tests of acosh.
5252         * math/auto-libm-test-out: Regenerated.
5253         * sysdeps/i386/fpu/libm-test-ulps: Update.
5254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5258         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5259         parenthesis around the buf assignment.
5260         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5262 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5264         [BZ #16783]
5265         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5266         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5267         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5268         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5269         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5270         * math/libm-test.inc (scalb_test_data): Add more tests.
5272 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5274         [BZ #17916]
5275         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5276         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5278 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5280         [BZ #17523]
5281         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5282         * io/bits/fcntl2.h (open): Use it.
5283         (openat): Likewise.
5284         * io/open.c (__libc_open): Likewise.
5285         * io/open64.c (__libc_open64): Likewise.
5286         * io/open64_2.c (__open64_2): Likewise.
5287         * io/open_2.c (__open_2): Likewise.
5288         * io/openat.c (__openat): Likewise.
5289         * io/openat64.c (__openat64): Likewise.
5290         * io/openat64_2.c (__openat64_2): Likewise.
5291         * io/openat_2.c (__openat_2): Likewise.
5292         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5293         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5294         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5295         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5296         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5297         (__open_nocancel): Likewise.
5298         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5299         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5300         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5302 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304         [BZ #14841]
5305         * resolv/gethnamaddr.c (getanswer): Skip logging if
5306         RES_USE_DNSSEC is set.
5307         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5309 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5311         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5313 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5315         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5316         201304L, for Unicode 7.
5318 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5320         [BZ #17836]
5321         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5322         shared library.  Add gmon-start.os otherwise.
5323         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5324         $(objpfx)gmon-start.os if builing shared library.
5325         ($(objpfx)g$(static-start-installed-name)): Likewise.
5327 2015-02-23  Andreas Schwab  <schwab@suse.de>
5329         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5331 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5333         [BZ #17269]
5334         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5335         (enlarge_userbuf): Likewise.
5337 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5339         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5340         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5341         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5342         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5344 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5346         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5347         expression inside statement expression.
5349 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5351         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5352         <sysdeps/nptl/lowlevellock.h> and remove macros and
5353         functions that are now defined there.
5354         (SYS_futex): Remove.
5355         (lll_compare_and_swap): Remove.
5356         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5358 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5360         [BZ #17999]
5361         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5362         instead of scandirat.
5363         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5364         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5365         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5366         __scandirat.
5367         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5368         (__scandirat): Declare.  Use libc_hidden_proto.
5369         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5370         Remove variable.
5371         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5373 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5375         [BZ #15319]
5376         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5377         (MO): New macro.
5378         (__ieee754_atan2): For results with small absolute value, force
5379         underflow exception and remove excess range and precision from
5380         return value.
5381         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5382         (MO): New macro.
5383         (__ieee754_atan2f): For results with small absolute value, force
5384         underflow exception and remove excess range and precision from
5385         return value.
5386         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5387         (MO): New macro.
5388         (__atan): For results with small absolute value, force underflow
5389         exception and remove excess range and precision from return value.
5390         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5391         (MO): New macro.
5392         (__atanf): For results with small absolute value, force underflow
5393         exception and remove excess range and precision from return value.
5394         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5395         <math.h>.
5396         (__ieee754_atan2): Force underflow exception for results with
5397         small absolute value.
5398         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5399         <math_private.h>.
5400         (atan): Force underflow exception for results with small absolute
5401         value.
5402         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5403         (__atanf): Force underflow exception for results with small
5404         absolute value.
5405         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5406         <math.h>.
5407         (__atanl): Force underflow exception for results with small
5408         absolute value.
5409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5410         (__atanl): Force underflow exception for results with small
5411         absolute value.
5412         * sysdeps/x86/fpu/bits/mathinline.h
5413         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5414         (__ieee754_atan2): Only define inline for long double.
5415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5416         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5417         * math/auto-libm-test-in: Do not mark underflow exceptions as
5418         possibly missing for bug 15319.  Add more tests of atan2.
5419         * math/auto-libm-test-out: Regenerated.
5420         * math/libm-test.inc (casin_test_data): Do not mark underflow
5421         exceptions as possibly missing for bug 15319.
5422         (casinh_test_data): Likewise.
5423         * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5427         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5428         * sysdeps/mips/bits/endian.h: Fix comments.
5430 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5432         [BZ #17996]
5433         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5434         (hdestroy_r): Likewise.
5435         (hsearch_r): Likewise.
5436         (__hcreate_r): Declare and use libc_hidden_proto.
5437         (__hdestroy_r): Likewise.
5438         (__hsearch_r): Likewise.
5439         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5440         (hcreate): Call __hcreate_r instead of hcreate_r.
5441         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5442         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5443         as weak alias of __hcreate_r.
5444         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5445         __hdestroy_r.
5446         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5447         __hsearch_r.
5448         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5449         Remove variable.
5450         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5451         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5452         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5453         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5455 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5457         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5458         arena_lock into a single arena_get.
5460 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5462         * dl-reloc.c: Inlucde libc-internal.h.
5463         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5464         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5465         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5466         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5467         (grow_heap): Likewise.
5468         * malloc/malloc.c: Include libc-internal.h.
5469         (do_check_malloc): Call powerof2.
5470         (sysmalloc): Use pagesize. Call ALIGN_UP.
5471         (systrim): Use pagesize.
5472         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5473         (__libc_valloc): Use pagesize.
5474         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5476 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5478         [BZ #17991]
5479         * include/sys/resource.h (__getrlimit64): Declare.  Use
5480         libc_hidden_proto.
5481         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5482         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5483         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5484         getrlimit64.
5485         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5486         __getrlimit64.
5487         [!getrlimit64] (getrlimit64): Define as weak alias of
5488         __getrlimit64.  Use libc_hidden_weak.
5489         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5490         using __getrlimit64 not __new_getrlimit64.
5491         (__GI_getrlimit64): Likewise.
5492         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5493         Likewise.
5494         (__GI_getrlimit64): Likewise.
5495         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5497         (getrlimit): Add __getrlimit64 alias.
5498         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5499         Likewise.
5500         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5501         Remove variable.
5502         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5503         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5505 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5507         * libio/fileops.c: Add missing sys/mman.h
5508         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5510 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5512         * manual/math.texi (Errors in Math Functions): Clarify goals
5513         regarding inexact and underflow exceptions.
5515 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5517         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5518         * sysdeps/mips/memset.S: Ditto.
5520 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5522         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5524 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5526         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5527         (__v1longjmp): Remove versioned symbol.
5528         (__v1siglongjmp): Remove alias and versioned symbol.
5529         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5530         (__v2siglongjmp): Likewise.
5532 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5534         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5536 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5538         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5540 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5542         [BZ #17987]
5543         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5544         zero result does not depend on the sign resulting from
5545         subtraction.
5546         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5547         Likewise.
5548         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5549         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5551         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5552         * math/libm-test.inc (remquo_test_data): Add more tests.
5554 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5556         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5557         Problem reported by J William Piggott.
5559 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5561         [BZ #17978]
5562         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5563         products 4 * y and 2 * y where those would overflow.
5564         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5565         Likewise.
5566         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5568         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5569         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5570         * math/libm-test.inc (remquo_test_data): Add more tests.
5572         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5574         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5575         [defined _COMPILING_NEWLIB].
5576         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5577         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5579         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5580         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5582 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5584         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5585         acquired.
5587 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5589         [BZ #17792]
5590         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5591         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5592         HOST_STACK_END_ADDR): Likewise.
5594 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5596         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5597         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5598         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5600 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5602         * sysdeps/generic/c++-types.data: New file.
5603         * sysdeps/generic/ld.abilist: New file.
5604         * sysdeps/generic/libBrokenLocale.abilist: New file.
5605         * sysdeps/generic/libanl.abilist: New file.
5606         * sysdeps/generic/libc.abilist: New file.
5607         * sysdeps/generic/libcrypt.abilist: New file.
5608         * sysdeps/generic/libdl.abilist: New file.
5609         * sysdeps/generic/libm.abilist: New file.
5610         * sysdeps/generic/libpthread.abilist: New file.
5611         * sysdeps/generic/libresolv.abilist: New file.
5612         * sysdeps/generic/librt.abilist: New file.
5614 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5616         [BZ #17569]
5617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5618         Compute absolute value of x as modified by fmod, not original
5619         value of x.
5620         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5621         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5622         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5623         RUN_TEST_ffI_f1_mod8.
5624         (remquo_test_data): Add more tests.
5626 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5628         * sysdeps/init_array/pt-crti.S: New file.
5630 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #17967]
5633         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5634         __builtin_fmaf instead of relying on contraction of a * b + c.
5636 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5638         [BZ #17969]
5639         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5640         node.
5642 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5644         [BZ #17964]
5645         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5646         __builtin_fma instead of relying on contraction of a * b + c.
5648 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5650         * Makeconfig (ASFLAGS): Add -Werror=undef.
5651         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5652         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5653         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5655         * Makeconfig (after-link): New variable.
5656         (+link-pie, +link-pie-tests): Use it.
5657         (+link-static, +link-static-tests): Likewise.
5658         (+link, +link-tests): Likewise.
5659         * Makerules (build-module, build-module-asneeded): Likewise.
5660         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5661         Likewise.
5662         * elf/Makefile ($(objpfx)ld.so): Likewise.
5664 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5666         [BZ #17965]
5667         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5668         both struct timeval and struct timespec.
5670 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5672         [BZ #16560]
5673         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5674         and redefine.
5675         (__ieee754_exp2l): Do not multiply small fractional parts by
5676         M_LN2l.
5677         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5678         small argument.
5679         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5680         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5681         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5682         * math/auto-libm-test-in: Add more tests of exp2.
5683         * math/auto-libm-test-out: Regenerated.
5685 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5687         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5688         unaligned path.
5690 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5692         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5693         little endian.
5695 2015-02-12  Andreas Schwab  <schwab@suse.de>
5697         [BZ #15790]
5698         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5699         Filter out elision flags from value returned in kind.
5700         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5701         * nptl/tst-pthread-mutexattr.c: New file.
5703 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5705         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5706         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5707         into gnu-gnu, and update comment to refer to abi-tags.
5709 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5711         [BZ #15467]
5712         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5713         (__sincos): Set errno to EDOM for infinite argument.
5714         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5715         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5716         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5717         (__sincosl): Set errno to EDOM for infinite argument.
5718         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5719         (__sincosl): Set errno to EDOM for infinite argument.
5720         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5721         (__sincosl): Set errno to EDOM for infinite argument.
5722         * math/libm-test.inc (sincos_test_data): Test errno setting.
5724 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5726         * string/strxfrm_l.c: Remove #define STRCMP.
5727         * string/strcoll_l.c: Remove #define STRLEN.
5728         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5729         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5731 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5733         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5734         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5735         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5736         * sysdeps/mips/mips64/Makefile: ... here.
5737         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5738         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5739         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5740         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5741         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5742         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5743         * sysdeps/mips/mips64/n64/Implies: Likewise.
5745 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5747         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5748         <sys/time.h>, <string.h>, and <errno.h>.
5749         (dest_offset, dest_address, value, zero): Remove unused variables.
5750         (ldouble): Remove typedef.
5751         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5752         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5753         1).  Fix code style.
5754         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5755         (check): Function removed.
5756         (CHECK): New macro.
5757         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5758         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5759         Don't call set_sigaction_FP and remove_sigaction_FP here.
5760         (ldouble_test): Just use 'long double' as macro argument, no need for
5761         the 'ldouble' typedef.
5762         (do_test): Set up SIGFPE handler at start, using plain signal rather
5763         than sigaction.  Fix code style.
5765 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5767         [BZ #17949]
5768         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5769         jump label.
5771 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5773         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5774         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5776         * sysdeps/powerpc/configure.ac: Remove file.
5777         * sysdeps/powerpc/configure: Likewise.
5779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5780         [sysdep_routines]: Remove wordcopy-power6 object.
5781         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5782         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5784         (__memmove_ppc32): Likewise.
5785         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5786         file.
5787         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5789         Remove preprocessor.
5791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5792         [sysdep_routines]: Remove wide chars objects.
5793         [wcsmbs]: New rule for wide char objects.
5795         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5796         Remove wordcopy-power6 obejct.
5797         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5798         Use local call for wordcopy and memcpy symbols.
5799         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5800         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5801         implementation for loader.
5802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5805         Remove wordcopy-power7 object.
5806         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5807         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5808         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5809         (_wordcopy_fwd_dest_aligned): Likewise.
5810         (_wordcopy_bwd_aligned): Likewise.
5811         (_wordcopy_bwd_dest_aligned): Likewise.
5813         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5814         Rewrite to call __memmove_ppc instead of include default
5815         implementation.
5817         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5818         Remove wide chars objects.
5819         [wcsmbs]: New rule for wide char objects.
5821 2015-02-09  Andreas Schwab  <schwab@suse.de>
5823         [BZ #17912]
5824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5825         in terms of __O_DIRECTORY.
5827 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5829         * time/getdate.c: Include <stdbool.h>.
5830         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5831         call PTR_MANGLE.
5832         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5833         PTR_DEMANGLE.
5835 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5837         Add ersatz _Static_assert on older C hosts
5838         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5839         pre-C11 C platform that is not known to support _Static_assert.
5841 2015-02-07  Richard Braun  <rbraun@sceen.net>
5843         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5844         sigstate.
5845         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5847 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5849         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5850         priority against unexistent AIO_PRIO_DELTA_MAX.
5851         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5852         instead of int.
5853         * misc/fchflags.c (fchflags): Likewise.
5854         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5855         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5856         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5857         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5858         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5859         Declare macros.
5860         [__USE_MISC] (chflags, fchflags): Declare functions.
5861         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5862         EINVAL when nfds is greater than FD_SETSIZE.
5863         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5864         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5865         45.
5866         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5867         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5868         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5869         MACH_RCV_TIMED_OUT.
5870         * hurd/hurd/signal.h (_hurd_self_sigstate,
5871         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5872         Explicit casts from void *.
5873         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5874         * abi-tags: Rename gnu-gnu os into gnu.
5876         [BZ #4719]
5877         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5878         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5879         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5880         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5881         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5882         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5884         [BZ #17944]
5885         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5886         duplicates ADDR->sun_path with sockaddr LEN limitation.
5887         * sysdeps/mach/hurd/connect.c: Include <string.h>
5888         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5889         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5890         * sysdeps/mach/hurd/sendto.c: Likewise.
5891         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5892         implementing it by hand.
5894 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5896         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5897         Use sfi_breg on ldr.
5898         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5899         Likewise.
5901         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5902         it's defined.
5903         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5904         Test SIGSETXID only if it's defined.
5906         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5908         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5909         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5911         * nptl/tst-align2.c: Moved ...
5912         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5913         * nptl/Makefile (tests): Remove tst-align2.
5914         * sysdeps/unix/sysv/linux/Makefile
5915         [$(subdir) = nptl] (tests): Add tst-align-clone.
5916         * nptl/tst-getpid1.c: Moved ...
5917         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5918         * nptl/tst-getpid2.c: Moved ...
5919         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5920         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5921         * sysdeps/unix/sysv/linux/Makefile
5922         [$(subdir) = nptl] (tests): ... here.
5923         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5924         * sysdeps/unix/sysv/linux/Makefile
5925         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5927         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5928         Drop trailing \n from perror argument.  Use return rather than exit.
5930         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5931         on [SA_SIGINFO].
5932         * nptl/tst-cancel21.c (do_test): Likewise.
5933         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5934         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5935         [!SA_SIGINFO]: Make it a stub test.
5937         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5938         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5940         * posix/tst-getlogin.c: Move to ...
5941         * login/tst-getlogin.c: ... here.
5942         * posix/Makefile (tests): Move tst-getlogin to ...
5943         * login/Makefile (tests): ... here.
5945         * libio/tst-atime.c (do_test): Move local variables SV and E
5946         inside [ST_NOATIME] conditional.
5948         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5950         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5952         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5953         (wait_code): New function replaces macro.
5954         Call nanosleep rather than syscall.
5956         * nptl/pt-system.c: Rewritten.  Put everything under
5957         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5958         Use IFUNC to redirect when possible.
5960         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5961         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5962         Use IFUNC to redirect when possible.
5964         * nptl/pt-fork.c: Rewritten.  Put everything under
5965         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5966         Use IFUNC to redirect when possible.
5967         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5970         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5971         unconditionally nowadays.  This included the only reference to
5972         __vdso_clock_gettime that appears outside libc proper.
5973         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5974         Remove version set (containing only __vdso_clock_gettime).
5975         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5976         Add attribute_hidden.
5977         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5978         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5979         libc_hidden_data_def.
5980         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5981         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5983         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5984         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5985         setrpcent, and getrpcport to ...
5986         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5987         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5988         getrpcbynumber_r, and getrpcent_r to ...
5989         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5990         * inet/getrpcbyname.c: Moved ...
5991         * sunrpc/getrpcbyname.c: ... here.
5992         * inet/getrpcbyname_r.c: Moved ...
5993         * sunrpc/getrpcbyname_r.c: ... here.
5994         * inet/getrpcbynumber.c: Moved ...
5995         * sunrpc/getrpcbynumber.c: ... here.
5996         * inet/getrpcbynumber_r.c: Moved ...
5997         * sunrpc/getrpcbynumber_r.c: ... here.
5998         * inet/getrpcent.c: Moved ...
5999         * sunrpc/getrpcent.c: ... here.
6000         * inet/getrpcent_r.c: Moved ...
6001         * sunrpc/getrpcent_r.c: ... here.
6002         * inet/Makefile (routines): Move those to ...
6003         * sunrpc/Makefile (routines): ... here.
6004         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6005         the $(subdirs) list.
6006         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6007         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6008         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6009         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6011         * elf/Makefile (routines): Include $(all-dl-routines), not just
6012         $(dl-routines).
6013         (rtld-routines): Likewise.  Use = rather than :=.
6014         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6015         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6016         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6017         * sysdeps/arm/Makefile: Likewise.
6018         * sysdeps/i386/Makefile: Likewise.
6019         * sysdeps/x86_64/Makefile: Likewise.
6020         * sysdeps/hppa/Makefile [$(subdir) = elf]
6021         (sysdep_routines, sysdep-rtld-routines): Don't add
6022         $(sysdep-dl-routines) to these.
6023         * sysdeps/ia64/Makefile: Likewise.
6024         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6025         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6026         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6027         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6028         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6029         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6031         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6032         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6033         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6034         these; sysdep-dl-routines alone is enough.
6036 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6038         [BZ #17932]
6039         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6040         where multiplication results in zero and third argument is finite
6041         and nonzero.
6042         * math/auto-libm-test-in: Add more tests of fma.
6043         * math/auto-libm-test-out: Regenerated.
6045         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6046         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6047         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6048         (_FP_CMP_EQ): Likewise.
6049         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6051         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6052         extra argument CHECK_NAN.  Redefine as wrapper around
6053         _FP_EXTEND_CNAN.
6055 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6057         * version.h (RELEASE): Set to "stable".
6058         (VERSION): Set to "2.21"
6059         * include/features.h (__GLIBC_MINOR__): Set to 21.
6061         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6063 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6064             Paul Eggert  <eggert@cs.ucla.edu>
6066         [BZ #16618]
6067         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6068         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6069         size in bytes. Store needed elements in wpmax. Use needed size
6070         in bytes for extend_alloca.
6072 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6074         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6075         binutls 2.25, and texinfo 5.2.
6076         * INSTALL: Regenerate.
6077         * sysdeps/nios2/configure: Regenerate.
6078         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6079         * manual/contrib.texi: Update.
6080         * po/be.po: Update.
6081         * po/bg.po: Update.
6082         * po/ca.po: Update.
6083         * po/cs.po: Update.
6084         * po/da.po: Update.
6085         * po/de.po: Update.
6086         * po/el.po: Update.
6087         * po/eo.po: Update.
6088         * po/es.po: Update.
6089         * po/fi.po: Update.
6090         * po/fr.po: Update.
6091         * po/gl.po: Update.
6092         * po/hr.po: Update.
6093         * po/hu.po: Update.
6094         * po/ia.po: Update.
6095         * po/id.po: Update.
6096         * po/it.po: Update.
6097         * po/ja.po: Update.
6098         * po/ko.po: Update.
6099         * po/lt.po: Update.
6100         * po/nb.po: Update.
6101         * po/nl.po: Update.
6102         * po/pl.po: Update.
6103         * po/pt_BR.po: Update.
6104         * po/ru.po: Update.
6105         * po/rw.po: Update.
6106         * po/sk.po: Update.
6107         * po/sl.po: Update.
6108         * po/sv.po: Update.
6109         * po/tr.po: Update.
6110         * po/uk.po: Update.
6111         * po/vi.po: Update.
6112         * po/zh_CN.po: Update.
6113         * po/zh_TW.po: Update.
6115         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6116         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6117         * sysdeps/hppa/dl-irel.h: Remove #warning.
6118         * sysdeps/hppa/entry.h: Provide prototype for
6119         __canonicalize_funcptr_for_compare and cast argument.
6120         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6121         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6122         * sysdeps/hppa/sotruss-lib.c: New file.
6123         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6124         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6125         (atomic_compare_and_exchange_bool_acq): Likewise.
6126         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6127         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6129         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6130         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6131         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6133 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6135         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6136         called function in non-PIC case.
6138 2015-01-31  David S. Miller  <davem@davemloft.net>
6140         * sysdeps/sparc/sparc32/bits/atomic.h
6141         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6142         unlock not after it.
6143         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6144         volatile register usage warnings from the compiler.
6146         * sysdeps/sparc/nptl/sem_init.c: Delete.
6147         * sysdeps/sparc/nptl/sem_post.c: Delete.
6148         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6149         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6150         * sysdeps/sparc/sparc32/sem_init.c: New file.
6151         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6152         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6153         padding explicitly initialized.
6154         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6155         padding for in-semaphore spinlock.
6156         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6157         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6158         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6159         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6160         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6161         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6162         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6163         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6164         version.
6165         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6166         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6168 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6170         [BZ #17801]
6171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6172         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6173         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6174         New.
6175         (index_AVX_Fast_Unaligned_Load): Likewise.
6176         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6177         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6178         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6179         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6180         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6181         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6182         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6183         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6184         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6186 2015-01-29  Andreas Schwab  <schwab@suse.de>
6188         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6190 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6192         [BZ #17892]
6193         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6195 2015-01-28  Martin Sebor  <msebor@redhat.com>
6197         * math/README.libm-test: Clarify. Add "How to read the test output."
6199 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6201         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6202         Define to 0.
6204 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6206         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6207         (__HAVE_64B_ATOMICS): Define to 0.
6209 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6211         [BZ #17885]
6212         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6213         value to set as new flag.
6215         [BZ #16576]
6216         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6217         and use _ARCH_PPCSQ instead.
6218         (__ieee754_sqrt): Likewise.
6219         (__ieee754_sqrtf): Likewise.
6220         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6221         _ARCH_PPCSQ is defined.
6222         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6223         fsqrt instruction.
6224         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6225         _ARCH_PPCSQ is defined.
6226         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6227         fsqrts instruction.
6228         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6230 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6232         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6233         bug (GCC BZ #64739).
6235 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6237         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6238         Mark _retval as used.
6239         (lll_futex_wake_unlock): Likewise.
6240         (lll_futex_timed_wait_requeue_pi): Likewise.
6242         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6243         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6244         register variables.
6246         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6247         libm_hidden_def.
6249         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6250         (__bswap_64): Mark as __always_inline.
6252 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6254         [BZ #15378]
6255         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6256         when none of the search directories exist.
6258 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6260         [BZ #17869]
6261         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6262         power8 in .machine directive.
6264         [BZ #17868]
6265         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6266         set dependency from opd value.
6268 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6271         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6272         architecture.
6274 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6276         [BZ #17870]
6277         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6278         with uint64_t.
6279         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6280         (uint64_t) 1.
6281         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6282         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6283         Replace 1UL with (uint64_t) 1.
6284         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6285         int with uint64_t.
6287 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6289         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6290         (if_freenameindex): Likewise.
6292         * resource/getrlimit64.c: Add missing libc_hidden_def.
6294 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6296         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6297         __label__.
6298         (_FP_FMA): Likewise.
6299         (_FP_TO_INT_ROUND): Likewise.
6300         (_FP_FROM_INT): Likewise.
6302 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6304         [BZ #16418]
6305         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6306         Make code racy and cancel safe.
6308 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6310         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6311         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6312         attribution.
6314         * pwd/tst-getpw.c: Rewrite.
6316         [BZ #17702]
6317         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6318         (modules-names): Add moddummy1 and moddummy2.
6319         ($(objpfx)tst-rec-dlopen): Define.
6320         * dlfcn/moddummy1.c: New file.
6321         * dlfcn/moddummy2.c: New file.
6322         * dlfcn/tst-rec-dlopen.c: New file.
6323         * elf/dl-cache.c (_dl_load_cache_lookup):
6324         Return char*. Copy result with alloca/strcpy/strdup.
6325         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6326         returns char*. Free cached. If not saving realname
6327         free cached.
6328         * elf/dl-open.c (dl_open_worker): Do not assert that
6329         _r_debug->r_state is RT_CONSISTENT.
6330         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6331         returns char*.
6333 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6334             Carlos O'Donell  <carlos@redhat.com>
6336         [BZ #12674]
6337         * nptl/sem_waitcommon.c: New file.
6338         * nptl/sem_wait.c: Include sem_waitcommon.c.
6339         (__sem_wait_cleanup, do_futex_wait): Remove.
6340         (__new_sem_wait): Adapt.
6341         (__new_sem_trywait): New function.
6342         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6343         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6344         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6345         (sem_timedwait): Adapt.
6346         * nptl/sem_post.c (__new_sem_post): Adapt.
6347         (futex_wake): New function.
6348         (__old_sem_post): Add release MO fence.
6349         * nptl/sem_open.c (sem_open): Adapt.
6350         * nptl/sem_init.c (__new_sem_init): Adapt.
6351         (futex_private_if_supported): New function.
6352         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6353         (__old_sem_getvalue): Add using previous code.
6354         * sysdeps/nptl/internaltypes.h: Adapt.
6355         * nptl/tst-sem13.c (do_test): Adapt.
6356         * nptl/tst-sem11.c (main): Adapt.
6357         * nptl/sem_trywait.c: Remove.
6358         * nptl/DESIGN-sem.txt: Remove.
6359         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6360         (gen-as-const-headers): Remove structsem.sym.
6361         * nptl/structsem.sym: Remove.
6362         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6363         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6364         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6365         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6366         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6367         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6368         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6369         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6370         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6371         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6372         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6373         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6374         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6375         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6376         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6377         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6378         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6379         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6380         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6381         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6382         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6383         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6385 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6387         * INSTALL: Regenerated.
6389         * po/libc.pot: Regenerated.
6391 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6392             Sandra Loosemore  <sandra@codesourcery.com>
6393             Andrew Jenner  <andrew@codesourcery.com>
6394             Joseph Myers  <joseph@codesourcery.com>
6395             Nathan Sidwell  <nathan@codesourcery.com>
6397         * NEWS: Mention new Nios II port.
6398         * sysdeps/nios2/Implies: New file.
6399         * sysdeps/nios2/Makefile: New file.
6400         * sysdeps/nios2/Subdirs: New file.
6401         * sysdeps/nios2/Versions: New file.
6402         * sysdeps/nios2/__longjmp.S: New file.
6403         * sysdeps/nios2/abort-instr.h: New file.
6404         * sysdeps/nios2/backtrace.c: New file.
6405         * sysdeps/nios2/bits/endian.h: New file.
6406         * sysdeps/nios2/bits/fenv.h: New file.
6407         * sysdeps/nios2/bits/link.h: New file.
6408         * sysdeps/nios2/bits/setjmp.h: New file.
6409         * sysdeps/nios2/bsd-_setjmp.S: New file.
6410         * sysdeps/nios2/bsd-setjmp.S: New file.
6411         * sysdeps/nios2/configure: New generated file.
6412         * sysdeps/nios2/configure.ac: New file.
6413         * sysdeps/nios2/crti.S: New file.
6414         * sysdeps/nios2/crtn.S: New file.
6415         * sysdeps/nios2/dl-init.c: New file.
6416         * sysdeps/nios2/dl-machine.h: New file.
6417         * sysdeps/nios2/dl-sysdep.h: New file.
6418         * sysdeps/nios2/dl-tls.h: New file.
6419         * sysdeps/nios2/dl-trampoline.S: New file.
6420         * sysdeps/nios2/gccframe.h: New file.
6421         * sysdeps/nios2/gmp-mparam.h: New file.
6422         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6423         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6424         * sysdeps/nios2/ldsodefs.h: New file.
6425         * sysdeps/nios2/libc-tls.c: New file.
6426         * sysdeps/nios2/libm-test-ulps: New file.
6427         * sysdeps/nios2/machine-gmon.h: New file.
6428         * sysdeps/nios2/math-tests.h: New file.
6429         * sysdeps/nios2/math_private.h: New file.
6430         * sysdeps/nios2/memusage.h: New file.
6431         * sysdeps/nios2/nptl/Makefile: New file.
6432         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6433         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6434         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6435         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6436         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6437         * sysdeps/nios2/nptl/tls.h: New file.
6438         * sysdeps/nios2/preconfigure: New file.
6439         * sysdeps/nios2/s_fma.c: New file.
6440         * sysdeps/nios2/s_fmaf.c: New file.
6441         * sysdeps/nios2/setjmp.S: New file.
6442         * sysdeps/nios2/sfp-machine.h: New file.
6443         * sysdeps/nios2/sotruss-lib.c: New file.
6444         * sysdeps/nios2/stackguard-macros.h: New file.
6445         * sysdeps/nios2/stackinfo.h: New file.
6446         * sysdeps/nios2/start.S: New file.
6447         * sysdeps/nios2/sysdep.h: New file.
6448         * sysdeps/nios2/tls-macros.h: New file.
6449         * sysdeps/nios2/tst-audit.h: New file.
6450         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6451         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6452         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6453         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6454         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6455         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6456         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6457         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6458         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6459         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6460         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6461         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6462         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6463         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6464         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6465         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6466         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6467         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6468         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6469         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6470         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6471         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6472         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6473         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6474         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6475         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6476         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6477         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6478         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6479         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6480         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6481         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6482         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6483         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6484         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6485         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6486         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6487         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6488         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6489         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6490         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6491         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6492         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6493         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6495 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6497         [BZ #17844]
6498         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6499         (getutent): Use weak_alias in non SHARED case
6500         and default_symbol_version in SHARED case.
6501         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6502         (getutent_r, pututline): Likewise.
6503         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6504         (getutid): Likewise.
6505         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6506         (getutid_r): Likewise.
6507         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6508         (getutline): Likewise.
6509         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6510         (getutline_r): Likewise.
6511         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6512         (updwtmp): Likewise.
6514 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6516         [BZ #17848]
6517         * sysdeps/s390/s390-32/memcmp.S
6518         (memcmp_g5): Rename to __memcmp_g5.
6519         * sysdeps/s390/s390-32/memcpy.S
6520         (memcpy_g5): Rename to __memcpy_g5.
6521         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6522         (memcpy_mvcle) Rename to __memcpy_mvcle.
6523         * sysdeps/s390/s390-32/memset.S
6524         (memset_g5): Rename to __memset_g5.
6525         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6526         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6527         and use prefixed functions.
6528         * sysdeps/s390/s390-32/multiarch/memcmp.S
6529         (memcmp_z196): Rename to __memcmp_z196.
6530         (memcmp_z10): Rename to __memcmp_z10.
6531         (memcmp): Set alias to __memcmp_g5.
6532         (bcmp): Set alias to __memcmp_g5.
6533         * sysdeps/s390/s390-32/multiarch/memcpy.S
6534         (memcpy_z196): Rename to __memcpy_z196.
6535         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6536         (memcpy_z10): Rename to __memcpy_z10.
6537         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6538         (memcpy): Set alias to __memcpy_g5.
6539         * sysdeps/s390/s390-32/multiarch/memset.S
6540         (memset_z196): Rename to __memset_z196.
6541         Jump to __memset_mvcle instead of memset_mvcle.
6542         (memset_z10): Rename to __memset_z10.
6543         Jump to __memset_mvcle instead of memset_mvcle.
6544         (memset_mvcle) Rename to __memset_mvcle.
6545         (memset): Set alias to __memset_g5.
6546         * sysdeps/s390/s390-64/memcmp.S
6547         (memcmp_z900): Rename to __memcmp_z900.
6548         * sysdeps/s390/s390-64/memcpy.S
6549         (memcpy_z900): Rename to __memcpy_z900.
6550         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6551         (memcpy_mvcle) Rename to __memcpy_mvcle.
6552         * sysdeps/s390/s390-64/memset.S
6553         (memset_z900): Rename to __memset_z900.
6554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6555         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6556         and use prefixed functions.
6557         * sysdeps/s390/s390-64/multiarch/memcmp.S
6558         (memcmp_z196): Rename to __memcmp_z196.
6559         (memcmp_z10): Rename to __memcmp_z10.
6560         (memcmp): Set alias to __memcmp_z900.
6561         (bcmp): Set alias to __memcmp_z900.
6562         * sysdeps/s390/s390-64/multiarch/memcpy.S
6563         (memcpy_z196): Rename to __memcpy_z196.
6564         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6565         (memcpy_z10): Rename to __memcpy_z10.
6566         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6567         (memcpy): Set alias to __memcpy_z900.
6568         * sysdeps/s390/s390-64/multiarch/memset.S
6569         (memset_z196): Rename to __memset_z196.
6570         Jump to __memset_mvcle instead of memset_mvcle.
6571         (memset_z10): Rename to __memset_z10.
6572         Jump to __memset_mvcle instead of memset_mvcle.
6573         (memset_mvcle) Rename to __memset_mvcle.
6574         (memset): Set alias to __memset_z900.
6576 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6578         [BZ #17748]
6579         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6580         __fesetenv instead of fesetenv.
6582 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6584         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6585         macro.
6587 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6589         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6590         regression on LE.
6592         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6593         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6594         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6595         strncmp-power8 object.
6596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6597         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6598         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6599         * NEWS: Update.
6601 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6602             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6604         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6605         trailing byte check.
6607 2015-01-13  David S. Miller  <davem@davemloft.net>
6609         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6611 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6613         * login/logout.c (logout): Use memset rather than bzero.
6614         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6615         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6616         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6617         (_gethtbyaddr): Likewise.
6618         * locale/programs/simple-hash.c (bcopy): Macro removed.
6620 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6622         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6623         Add strcmp-power8 object.
6624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6625         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6627         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6628         __strcmp_power8 implementation.
6629         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6630         * NEWS: Update.
6632         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6633         Add strncpy-power8 and stpncpy-power8 objects.
6634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6635         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6636         implementations.
6637         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6638         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6639         __stpncpy_power8 implementation.
6640         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6641         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6642         __strncpy_power8 implementation.
6643         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6644         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6645         * NEWS: Update.
6647         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6648         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6649         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6651         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6652         strncat-power8 object.
6653         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6654         __strcat_power8 implementation.
6655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6656         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6657         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6658         optimized strcat for power8.
6660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6661         strcpy-power8 and stpcpy-power8 objects.
6662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6663         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6664         implementations.
6665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6666         multiarch stpcpy implementation for POWER8.
6667         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6668         multiarch strcpy implementation for POWER8.
6669         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6670         __strcpy_power8 function.
6671         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6672         stpcpy for POWER8.
6673         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6674         strcpy for POWER8.
6675         * NEWS: Update.
6677 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6679         [BZ #16009]
6680         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6681         weights and rules. Use do_xfrm_cached if data fits in cache,
6682         do_xfrm otherwise.  Moved former main loop to...
6683         * (do_xfrm_cached): New function.
6684         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6685         find_idx, find_position and stack_push.
6686         * (find_idx): New function.
6687         * (find_position): Likewise.
6688         * localedata/sort-test.sh: Added test run for do_xfrm.
6689         * localedata/xfrm-test.c (main): Added command line option
6690         -nocache to run the test with strings that are too large for
6691         the STRXFRM cache.
6693 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6695         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6696         variable to lll_futex_wake call, not the value itself.
6698 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6700         [BZ #17803]
6701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6702         twom64.  Adjust value to 0x1p-64L.
6703         (__scalblnl): Only return standard underflowing result for K <=
6704         -64 not K <= -63; adjust exponent for underflowing result by 64
6705         not 63.
6706         * math/libm-test.inc (scalbn_test_data): Add more tests.
6707         (scalbln_test_data): Likewise.
6709         [BZ #17834]
6710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6711         0x1p63L.
6712         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6713         not HX.
6714         * math/libm-test.inc (scalbn_test_data): Add more tests.
6715         (scalbln_test_data): Likewise.
6717 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6718             Stefani Seibold  <stefani@seibold.net>
6720         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6721         (sysdep_routines): Add dl-vdso here, ...
6722         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6723         (sysdep_routines): ... not here.
6724         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6725         fallback when vDSO is not presented.
6726         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6727         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6728         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6729         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6730         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6731         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6732         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6733         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6734         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6735         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6736         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6737         fallback configurable symbol when vDSO is not available.
6738         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6739         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6740         be able to redefine fallback symbol when vDSO is not available.
6741         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6742         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6744 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6746         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6747         (TLS_INIT_TP): Add tm_capable initialization.
6748         (TLS_DEFINE_INIT_TP): Likewise.
6749         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6750         TCB.
6751         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6752         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6753         calculation.
6754         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6755         transactoion is lock elision is built and TCB tm_capable is set.
6756         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6758         (INTERNAL_SYSCALL_NCS): Likewise.
6759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6760         (INTERNAL_SYSCALL_NCS): Likewise.
6761         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6763         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6764         for powerpc.
6765         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6766         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6767         and remove it for 32 bits case.
6768         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6769         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6770         initialization.
6771         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6772         Disable lock elision with rdlocks if elision is not available.
6774         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6775         (sysdep_routines): Add lock elision objects.
6776         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6777         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6778         [pthread_mutex_t] (__elision): Add field.
6779         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6780         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6781         elision definitions for powerpc.
6782         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6783         implementation of lock elision for powerpc.
6784         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6785         implementation of timed lock elision for powerpc.
6786         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6787         implementation of trylock with lock elision for powerpc.
6788         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6789         implementaion of unlock for lock elision for powerpc.
6790         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6791         automatic enable lock elision for mutexes.
6792         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6793         transaction execution definitions for powerpc.
6794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6795         definitions.
6796         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6797         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6798         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6799         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6800         * NEWS: Update.
6802 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6804         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6805         for #include of <shm-directory.h>.
6807 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6809         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6810         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6812 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6814         [BZ #17791]
6815         * NEWS: Mention bug fix.
6816         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6817         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6818         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6820 2015-01-09  Torvald Riegel <triegel@redhat.com>
6822         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6824 2015-01-09  Torvald Riegel <triegel@redhat.com>
6826         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6828 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6830         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6831         pointer and cast to uintptr_t.
6833 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6835         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6836         removed.
6837         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6839 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6841         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6842         of 0.
6844 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6846         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6847         <nptl/pthreadP.h> instead.
6848         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6850         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6851         already defined.
6852         [__SIGRTMIN] (init): Function removed.
6853         [__SIGRTMIN] (initialized): Variable removed.
6854         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6855         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6856         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6857         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6858         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6859         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6860         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6861         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6862         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6863         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6864         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6865         * sysdeps/nptl/allocrtsig.c: New file.
6866         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6867         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6868         * sysdeps/generic/testrtsig.h: File removed.
6870         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6871         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6873         * nptl/nptl-init.c (pthread_functions): Conditionalize
6874         .ptr__nptl_setxid initialization on [SIGSETXID].
6876         * sysdeps/nptl/sys/procfs.h: New file.
6877         * nptl_db/Makefile (headers): Add it.
6878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6880         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6881         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6882         * nptl/pthread_attr_setaffinity.c: Include it.
6883         * nptl/pthread_setattr_default_np.c: Likewise.
6884         * nptl/check-cpuset.h: New file.
6886 2015-01-08  Richard Henderson  <rth@redhat.com>
6888         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6889         (CFLAGS-tst-execstack-prog.c): Likewise.
6890         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6892 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6893             Sandra Loosemore  <sandra@codesourcery.com>
6894             Andrew Jenner  <andrew@codesourcery.com>
6895             Joseph Myers  <joseph@codesourcery.com>
6896             Nathan Sidwell  <nathan@codesourcery.com>
6898         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6899         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6900         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6901         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6902         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6903         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6904         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6905         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6906         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6907         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6908         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6909         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6910         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6911         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6912         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6913         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6914         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6916 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6918         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6919         timespec struct member in syscall macro.
6920         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6921         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6922         first timeval struct member in syscall macro.
6923         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6925 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #17748]
6928         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6929         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6930         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6931         __feupdateenv and define as weak alias of __feupdateenv.  Use
6932         libm_hidden_weak.
6933         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6934         libm_hidden_def.
6935         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6936         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6937         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6938         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6939         libm_hidden_def.
6940         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6941         __feupdateenv and define as weak alias of __feupdateenv.  Use
6942         libm_hidden_weak.
6943         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6944         libm_hidden_def.
6945         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6946         __feupdateenv and define as weak alias of __feupdateenv.  Use
6947         libm_hidden_weak.
6948         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6949         libm_hidden_def.
6950         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6951         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6952         (__feupdateenv): Likewise.
6953         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6954         __feupdateenv and define as weak alias of __feupdateenv.  Use
6955         libm_hidden_weak.
6956         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6957         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6958         libm_hidden_def.
6959         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6960         function.
6961         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6962         libm_hidden_def.
6963         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6964         __feupdateenv instead of feupdateenv.
6965         (default_libc_feupdateenv_test): Likewise.
6966         (libc_feresetround_ctx): Likewise.
6968 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6970         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6971         prototype.
6973 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6975         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6976         COLL_SYM in a couple of places to avoid uninitialized variable
6977         wanings on tilegx gcc 4.8.2.
6979 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6981         * sysdeps/aarch64/strcpy.S: New file.
6982         * sysdeps/aarch64/stpcpy.S: New file.
6983         * NEWS: Updated.
6985 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6987         * sysdeps/aarch64/strrchr.S: New file.
6988         * NEWS: Updated.
6990 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6992         [BZ #17658]
6993         * stdlib/setenv.c: Fix memory leak when setting large,
6994         duplicate string.
6996 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6998         [BZ #17273]
6999         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7000         and tabs from buffer before parsing fstab entry.
7001         * misc/tst-mntent.c (main): Add test for mount entry with
7002         trailing spaces and tabs.
7004 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7006         [BZ #17748]
7007         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7008         * math/fesetround.c (fesetround): Rename to __fesetround and
7009         define as weak alias of __fesetround.  Use libm_hidden_weak.
7010         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7011         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7012         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7013         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7014         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7015         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7016         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7017         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7018         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7019         __fesetround_inline.
7020         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7021         __fesetround_inline instead of __fesetround.
7022         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7023         __fesetround and define as weak alias of __fesetround.  Use
7024         libm_hidden_weak.  Call __fesetround_inline instead of
7025         __fesetround.
7026         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7027         __fesetround and define as weak alias of __fesetround.  Use
7028         libm_hidden_weak.
7029         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7030         Likewise.
7031         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7033         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7034         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7035         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7036         __fesetround and define as weak alias of __fesetround.  Use
7037         libm_hidden_weak.
7038         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7039         __fesetround instead of fesetround.
7040         (default_libc_feholdexcept_setround): Likewise.
7041         (libc_feholdsetround_ctx): Likewise.
7042         (libc_feholdsetround_noex_ctx): Likewise.
7044         [BZ #17748]
7045         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7046         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7047         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7048         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7049         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7050         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7051         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7052         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7053         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7054         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7055         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7056         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7057         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7058         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7059         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7060         libm_hidden_def.
7061         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7062         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7063         Likewise.
7064         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7065         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7066         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7067         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7068         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7069         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7070         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7071         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7072         __fesetenv instead of fesetenv.
7073         (libc_feresetround_noex_ctx): Likewise.
7074         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7075         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7076         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7077         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7078         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7079         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7080         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7081         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7082         (__feupdateenv): Likewise.
7083         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7084         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7085         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7086         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7088 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7090         [BZ #17806]
7091         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7092         addresses have been freed.
7094 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7096         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7097         and nservall.
7099 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7101         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7102         Clean up check_pf allocation pattern. addresses
7104 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7106         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7107         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7108         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7109         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7110         * nptl/pthread_join.c (pthread_join): Likewise.
7111         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7112         * sysdeps/posix/waitid.c (__waitid): Likewise.
7113         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7114         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7115         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7116         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7118         Likewise.
7119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7120         (__libc_pread64): Likewise.
7121         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7122         (__libc_pwrite): Likewise.
7123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7124         (__libc_pwrite64): Likewsie.
7125         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7126         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7127         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7128         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7129         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7130         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7131         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7133         Likewise.
7134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7135         (__libc_pread64): Likewise.
7136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7137         Likewise.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7139         (__libc_pwrite64): Likewise.
7140         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7141         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7142         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7143         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7144         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7145         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7146         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7147         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7148         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7149         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7150         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7151         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7152         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7153         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7154         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7155         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7156         Likewise.
7158 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7160         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7161         (CFLAGS-test-double.c): Likewise.
7162         (CFLAGS-test-ldouble.c): Likewise.
7163         (CPPFLAGS-test-ifloat.c): Likewise.
7164         (CPPFLAGS-test-idouble.c): Likewise.
7165         (CPPFLAGS-test-ildoubl.c): Likewise.
7166         (CFLAGS-test-test-fenv.c): Remove variable.
7167         (CFLAGS-test-misc.c): Likewise.
7169 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7171         [BZ #17797]
7172         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7173         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7174         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7175         CLOCKS_PER_SEC == 1000000.
7176         * time/clocktest.c (main): Replace %ld with %jd and cast to
7177         intmax_t.
7179 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7181         * sysdeps/generic/unwind-resume.h: New file.
7182         * sysdeps/gnu/unwind-resume.c: Include it.
7183         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7184         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7185         argument list.
7186         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7187         global rather than static.
7188         (_Unwind_Resume): Update user.
7189         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7190         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7191         rather than static.  Add __attribute__ ((cold)).
7192         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7193         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7194         * sysdeps/arm/arm-unwind-resume.S: New file.
7195         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7196         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7197         * sysdeps/arm/Makefile [$(subdir) = csu]
7198         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7199         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7200         Add rt-arm-unwind-resume.
7201         [$(subdir) = nptl]
7202         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7203         Add pt-arm-unwind-resume.
7204         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7205         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7207 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7209         [BZ #17748]
7210         * include/fenv.h (__feholdexcept): Declare.  Use
7211         libm_hidden_proto.
7212         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7213         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7214         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7215         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7216         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7217         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7218         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7219         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7220         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7221         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7222         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7223         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7224         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7225         (feholdexcept): Likewise.
7226         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7227         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7228         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7229         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7230         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7231         __feholdexcept instead of feholdexcept.
7232         (default_libc_feholdexcept_setround): Likewise.
7234 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7236         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7237         to avoid using stl/str to align destination.
7239 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7241         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7243 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7245         [BZ #17796]
7246         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7247         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7248         Define as weak alias not strong alias.
7250 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7252         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7253         bltzal with addiupc.
7254         (RTLD_START): Ditto.
7256 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7258         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7259         for __vdso_* functions in declarations.
7260         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7261         definitions.
7262         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7263         INTERNAL_VSYSCALL): Use struct return types to check for error.
7265         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7266         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7267         function with cast from llround().
7268         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7269         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7270         Define.
7272 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7274         [BZ #17793]
7275         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7276         Define as weak alias not strong alias.
7278         [BZ #17635]
7279         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7280         ...
7281         * ctype/ctype-extn.c: ... here.
7282         (__isblank_l): Move to ...
7283         * ctype/ctype-c99_l.c: ... here.  New file.
7284         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7285         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7286         Remove variable.
7287         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7288         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7289         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7290         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7291         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7293         [BZ #17777]
7294         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7295         (posix_fadvise64): Define as weak alias not strong alias.
7296         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7297         (posix_fallocate64): Likewise.
7298         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7299         Remove variable.
7300         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7301         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7302         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7303         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7304         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7306 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7308         [BZ #16191]
7309         * NEWS: Mention bug fix.
7310         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7311         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7312         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7313         (HOST_STACK_END_ADDR): Likewise.
7315 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7317         [BZ #17748]
7318         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7319         * math/fegetround.c (fegetround): Rename to __fegetround and
7320         define as weak alias of __fegetround.  Use libm_hidden_weak.
7321         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7322         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7323         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7324         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7325         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7326         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7327         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7328         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7329         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7330         Undefine after rather than before function definition; use
7331         parentheses around function name in definition.
7332         (__fegetround): Also undefine macro after function definition.
7333         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7334         __fegetround and define as weak alias of __fegetround.  Use
7335         libm_hidden_weak.  Do not undefine as macro.
7336         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7337         Likewise.
7338         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7339         __fegetround and define as weak alias of __fegetround.  Use
7340         libm_hidden_weak.
7341         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7342         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7343         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7344         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7345         __fegetround and define as weak alias of __fegetround.  Use
7346         libm_hidden_weak.
7347         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7348         __fegetround instead of fegetround.
7350         [BZ #17782]
7351         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7352         Condition macro definition on [__USE_MISC].
7354         [BZ #17781]
7355         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7356         (struct sigaction): Change type of sa_flags field to int.
7358         [BZ #17780]
7359         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7360         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7361         __glibc_reserved0.
7363         * nptl/version.c (banner): Use single year in copyright notice.
7365         * NEWS: Update copyright dates.
7366         * catgets/gencat.c (print_version): Likewise.
7367         * csu/version.c (banner): Likewise.
7368         * debug/catchsegv.sh: Likewise.
7369         * debug/pcprofiledump.c (print_version): Likewise.
7370         * debug/xtrace.sh (do_version): Likewise.
7371         * elf/ldconfig.c (print_version): Likewise.
7372         * elf/ldd.bash.in: Likewise.
7373         * elf/pldd.c (print_version): Likewise.
7374         * elf/sotruss.sh: Likewise.
7375         * elf/sprof.c (print_version): Likewise.
7376         * iconv/iconv_prog.c (print_version): Likewise.
7377         * iconv/iconvconfig.c (print_version): Likewise.
7378         * locale/programs/locale.c (print_version): Likewise.
7379         * locale/programs/localedef.c (print_version): Likewise.
7380         * login/programs/pt_chown.c (print_version): Likewise.
7381         * malloc/memusage.sh (do_version): Likewise.
7382         * malloc/memusagestat.c (print_version): Likewise.
7383         * malloc/mtrace.pl: Likewise.
7384         * manual/libc.texinfo: Likewise.
7385         * nptl/version.c (banner): Likewise.
7386         * nscd/nscd.c (print_version): Likewise.
7387         * nss/getent.c (print_version): Likewise.
7388         * nss/makedb.c (print_version): Likewise.
7389         * posix/getconf.c (main): Likewise.
7390         * scripts/test-installation.pl: Likewise.
7391         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7393 2015-01-02  Will Newton  <will.newton@linaro.org>
7395         * sysdeps/arm/armv7/configure: Removed.
7396         * sysdeps/arm/armv7/configure.ac: Likewise.
7398 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7400         * All files with FSF copyright notices: Update copyright dates
7401         using scripts/update-copyrights.
7402         * intl/plural.c: Regenerated.
7403         * locale/programs/charmap-kw.h: Likewise.
7404         * locale/programs/locfile-kw.h: Likewise.
7406 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7408         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7410 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #17748]
7413         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7414         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7415         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7416         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7417         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7418         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7419         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7420         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7421         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7422         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7423         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7424         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7425         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7426         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7427         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7428         libm_hidden_def.
7429         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7430         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7431         Likewise.
7432         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7433         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7434         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7435         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7436         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7437         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7438         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7439         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7440         __fegetenv instead of fegetenv.
7441         (libc_feholdsetround_noex_ctx): Likewise.
7443 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7445         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7446         (Elf_MIPS_ABIFlags_v0): New structure.
7447         (EF_MIPS_FP64): Define.
7448         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7449         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7450         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7451         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7452         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7453         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7454         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7455         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7456         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7457         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7458         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7459         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7460         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7461         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7462         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7463         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7464         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7465         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7466         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7467         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7468         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7469         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7470         field.
7471         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7472         EF_MIPS_FP64.
7473         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7474         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7475         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7476         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7477         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7478         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7479         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7480         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7481         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7482         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7483         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7484         record the current FP ABI extension.
7485         (mips-mode-switch): Define to show if kernel headers support mode
7486         switching.
7487         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7488         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7489         supported SYSV ABI version to 3.
7490         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7491         feature.
7493 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7494             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7496         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7497         path.
7498         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7500 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7502         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7503         __fegetround and redefine to call __fegetround.  Remove condition
7504         on [!__NO_MATH_INLINES].
7505         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7506         function.
7507         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7508         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7509         Remove macro.
7510         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7511         instead of <fenv_libc.h>.
7512         (__llrintl): Call fegetround instead of __fegetround.
7513         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7514         instead of <fenv_libc.h>.
7515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7516         (__lrintl): Call fegetround instead of __fegetround.
7517         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7518         instead of <fenv_libc.h>.
7519         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7520         (__rintl): Call fegetround instead of __fegetround.
7522 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7524         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7525         arrays.
7527 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7529         [BZ #17775]
7530         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7531         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7532         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7534 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7536         * sysdeps/i386/tls-macros.h: Include <features.h>.
7537         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7538         (TLS_IE): Likewise.
7539         (TLS_LD): Likewise.
7540         (TLS_GD): Likewise.
7541         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7542         define for GCC >= 5.0.
7544 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7546         * math/test-fenv.c (test_single_exception, set_single_exc,
7547         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7548         feexcp_mask_test, feenable_test, fe_single_test): Add
7549         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7550         case where they are not used.
7551         * math/libm-test.inc: Likewise.
7552         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7553         unused in the absence of FP rounding/exception support.
7554         * stdio-common/tst-printf-round.c: Likewise.
7555         * stdlib/tst-strtod-round.c: Likewise.
7556         * stdlib/tst-strtod-underflow.c: Likewise.
7558 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7560         [BZ #17723]
7561         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7562         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7563         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7564         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7565         libm_hidden_weak.
7566         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7567         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7568         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7569         libm_hidden_def.
7570         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7571         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7572         libm_hidden_weak.
7573         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7574         Likewise.
7575         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7576         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7577         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7578         libm_hidden_weak.
7579         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7580         libm_hidden_def.
7581         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7582         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7583         (__feraiseexcept): Likewise.
7584         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7585         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7586         libm_hidden_weak.
7587         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7588         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7589         libm_hidden_def.
7590         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7591         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7592         Use libm_hidden_def.
7593         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7594         libm_hidden_def.
7595         (feraiseexcept): Define as weak not strong alias.  Use
7596         libm_hidden_weak.
7597         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7598         New inline function.  Factored out of ...
7599         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7600         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7601         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7602         feraiseexcept.
7603         * math/w_acos.c (__acos): Likewise.
7604         * math/w_asin.c (__asin): Likewise.
7605         * math/w_ilogb.c (__ilogb): Likewise.
7606         * math/w_j0.c (y0): Likewise.
7607         * math/w_j1.c (y1): Likewise.
7608         * math/w_jn.c (yn): Likewise.
7609         * math/w_log.c (__log): Likewise.
7610         * math/w_log10.c (__log10): Likewise.
7611         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7612         * sysdeps/aarch64/fpu/math_private.h
7613         (libc_feupdateenv_test_aarch64): Likewise.
7614         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7615         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7616         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7617         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7618         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7619         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7620         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7621         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7622         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7623         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7625 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7627         [BZ #17732]
7628         * io/test-utime.c (main): Replace %ld with %jd and cast to
7629         intmax_t.
7630         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7631         * nptl/tst-mutex5.c: Include <stdint.h>.
7632         (do_test): Replace %ld with %jd and cast to intmax_t.
7633         * posix/tst-regex.c (run_test): Likewise.
7634         (run_test_backwards): Likewise.
7635         * rt/tst-clock.c: Include <stdint.h>.
7636         (clock_test): Replace %ld with %jd and cast to intmax_t.
7637         * rt/tst-cpuclock1.c: Include <stdint.h>.
7638         (do_test): Replace %lu with %ju and cast to uintmax_t.
7639         * rt/tst-cpuclock2.c: Include <stdint.h>.
7640         (do_test): Replace %lu with %ju and cast to uintmax_t.
7641         * rt/tst-mqueue1.c: Include <stdint.h>.
7642         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7643         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7644         intmax_t.
7645         * rt/tst-mqueue4.c (do_test): Likewise.
7646         * rt/tst-timer4.c: Include <stdint.h>.
7647         (check_ts): Replace %ld with %jd and cast to intmax_t.
7648         (do_test): Likewise.
7649         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7650         and cast to intmax_t.
7651         * sysdeps/pthread/tst-timer.c (main): Likewise.
7652         * time/clocktest.c (main): Likewise.
7653         * time/tst-posixtz.c (do_test): Likewise.
7654         * timezone/tst-timezone.c (main): Likewise.
7656 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7657             H.J. Lu  <hongjiu.lu@intel.com>
7659         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7660         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7661         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7662         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7663         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7664         version if bit_Fast_Unaligned_Load is set.
7665         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7666         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7667         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7668         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7669         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7670         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7672         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7673         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7674         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7675         to 4.
7676         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7677         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7678         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7679         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7681 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7683         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7684         instead of #if to avoid a Wundef warning.
7685         * stdlib/tst-limits.c (do_test): Likewise.
7687         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7688         parallel other exception macros.
7689         (fegetenv): Convert from macro to extern inline so that it applies
7690         retroactively to inline functions already seen by the compiler.
7691         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7693         * posix/Makefile (before-compile): Use $(objpfx) for
7694         posix-conf-vars-def.h.
7696 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7698         * posix/getconf.c (main): Use size_t for type of I.
7699         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7700         NSPEC.
7702         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7703         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7704         * posix/posix-envs.def: Likewise.
7705         * sysdeps/posix/sysconf.c: Likewise.
7706         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7707         (specs): Remove array.
7708         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7709         array.
7711         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7712         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7713         (__sysconf): Use CONF_IS_* macros.
7715         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7716         ($(objpfx)posix-conf-vars-def.h): New target.
7717         * posix/posix-conf-vars.list: New file.
7718         * posix/posix-conf-vars.h: New file.
7719         * posix/confstr.c: Include posix-conf-vars.h.
7720         (confstr): Use CONF_IS_* macros.
7721         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7722         CONF_IS_* macros.
7723         * scripts/gen-posix-conf-vars.awk: New file.
7725 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7727         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7728         fegetround): Add no-op macros to avoid linknamespace issues.
7730         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7731         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7733         * sysdeps/unix/sysv/linux/tile/sysdep.h
7734         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7735         assembly-specific section to avoid a redefinition warning.
7737         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7738         long before casting to pointer to avoid a cast warning.
7740 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7742         * sysdeps/tile/tilegx/Implies: New file.
7744 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7746         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7748 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7750         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7752 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7755         not define.
7756         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7757         <kernel-features.h>.
7758         (__utimes) [__NR_utimes]: Make code unconditional.
7759         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7760         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7761         (__ASSUME_UTIMES): Do not undefine.
7762         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7763         (__ASSUME_UTIMES): Likewise.
7764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7765         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7766         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7767         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7769 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7771         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7773 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7775         [BZ #17747]
7776         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7777         alias to weak alias for j0l, y0l.
7778         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7779         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7781         [BZ #17746]
7782         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7783         conversion.
7785 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7787         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7788         to zero if not already defined.
7790 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7792         [BZ #17724]
7793         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7794         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7795         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7796         (char *) casts added.
7797         * sysdeps/ieee754/k_standardf.c: New file.
7798         * sysdeps/ieee754/k_standardl.c: Likewise.
7799         * math/Makefile (libm-support): Remove k_standard.
7800         (libm-calls): Add k_standard.
7802 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7804         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7805         Optimize to avoid an unnecessary FPCR read.
7807 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7809         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7810         Optimize to reduce FPCR/FPSR accesses.
7812 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7814         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7815         Call libc_fetestexcept_aarch64.
7817 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7819         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7820         Call libc_fesetround_aarch64.
7822 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7824         [BZ #17733]
7825         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7826         (__bind): Do not define as weak alias.
7827         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7828         define.
7829         (__getsockname): Do not define as weak alias.
7831 2014-12-22  Will Newton  <will.newton@linaro.org>
7833         * manual/install.texi: Document that we require bison 2.7
7834         or above.
7835         * INSTALL: Regenerate.
7836         * configure.ac: Use AC_CHECK_PROG_VER instead of
7837         AC_PATH_PROG when checking for bison and check for
7838         version 2.7 or above.
7839         * configure: Regenerate.
7841 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7843         [BZ #17745]
7844         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7845         * sysdeps/tile/ffsll.c (ffsll): To here.
7847         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7849 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7851         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7852         if not defined.
7853         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7854         definition.
7855         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7856         hidden ___tls_get_addr.
7857         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7858         hidden __tls_get_addr.
7859         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7860         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7861         Likewise.
7863 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7865         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7866         _dl_init call.
7868 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7870         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7871         from "call _dl_init@PLT".
7872         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7874 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7876         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7877         guarantees.
7879 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7881         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7883 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7885         [BZ #17744]
7886         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7887         strnlen.
7889 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7891         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7892         of multu on MIPSr6.
7893         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7894         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7895         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7896         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7897         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7899 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7901         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7902         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7903         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7904         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7905         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7906         mips32r6/mips64r6.
7907         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7909 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7911         * string/strncat.c (STRNCAT): Simplify implementation.
7913 2014-12-19  David S. Miller  <davem@davemloft.net>
7915         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7916         access the quad as both a long double and as a series of 4 words.
7918         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7919         link_map->l_info array access.
7921 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7923         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7925         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7926         * math/atest-exp2.c (TIMEOUT): Likewise.
7927         * math/atest-sincos.c (TIMEOUT): Likewise.
7929 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7931         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7932         -Wno-error with -fno-builtin-lround.
7934 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7936         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7937         Contains futex constants and functions moved over from ...
7938         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7939         <lowlevellock-futex.h>.
7940         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7941         (lll_timedwait_tid): Add comments and parentheses around macro
7942         arguments.
7944 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7946         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7947         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7948         (__lll_private_flag): Remove.
7949         (lll_futex_wait): Likewise.
7950         (lll_futex_timed_wait): Likewise.
7951         (lll_futex_wake): Likewise.
7952         (lll_futex_requeue): Likewise.
7953         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7954         (__lll_timedwait_tid): Spell out argument names.
7955         (lll_timedwait_tid): Add comments and parentheses around macro
7956         arguments.
7957         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7958         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7960 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7962         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7963         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7964         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7965         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7966         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7967         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7968         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7969         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7970         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7975         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7976         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7977         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7978         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7979         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7980         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7982 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7984         * sysdeps/x86_64/x32/Makefile: New file.
7986 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7988         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7989         1L with (mp_limb_t) 1.
7991 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7993         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7994         * nptl/libc_pthread_init.c: ... here.
7995         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7996         * nptl/register-atfork.c: ... here.
7998         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7999         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8000         Use assert_perror to check its return value.
8001         (__gai_create_helper_thread): Likewise.
8003         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8005         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8007 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #17725]
8010         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8011         __profil_counter.
8012         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8013         Likewise.
8014         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8015         Likewise.
8016         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8019         (profil_counter): Likewise.
8020         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8021         (profil_counter): Likewise.
8022         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8023         Likewise.
8024         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8025         Likewise.
8026         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8027         (profil_counter): Likewise.
8028         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8029         Likewise.
8030         [!__profil_counter] (profil_counter): Define as weak alias of
8031         __profil_counter.
8032         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8033         (profil_counter): Rename to __profil_counter.
8034         [!__profil_counter] (profil_counter): Define as weak alias of
8035         __profil_counter.
8036         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8037         (profil_counter): Rename to __profil_counter.
8038         [!__profil_counter] (profil_counter): Define as weak alias of
8039         __profil_counter.
8040         * sysdeps/posix/profil.c: Update comment referring to
8041         profil_counter.
8042         (__profil): Use __profil_counter instead of profil_counter.
8043         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8044         __profil_counter.  Use __profil_counter_ushort and
8045         __profil_counter_uint in definitions.
8046         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8047         instead of profil_counter_uint and profil_counter_ushort.
8049         [BZ #17722]
8050         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8051         define as weak alias of __inet_makeaddr.
8052         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8053         as weak alias of __inet_addr.
8054         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8055         as weak alias of __inet_pton.  Use libc_hidden_weak.
8056         * include/arpa/inet.h (__inet_pton): Declare.  Use
8057         libc_hidden_proto.
8058         (inet_makeaddr): Don't use libc_hidden_proto.
8059         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8060         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8061         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8062         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8063         Remove variable.
8064         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8065         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8067 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8069         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8071 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8073         * stdio-common/bug-vfprintf-nargs.c (do_test):
8074         Cast value to intptr_t to avoid format warning
8075         for usage with PRIdPTR printing macro.
8077 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8079         * libio/tst-widetext.c (do_test):
8080         Use format type %td instead of %Zd for ptrdiff_t
8081         in order to avoid format warning.
8083 2014-12-17  Andreas Schwab  <schwab@suse.de>
8085         * nscd/mem.c (gc): Add size_t cast to match printf format.
8087 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8089         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8090         (init): Apply PTR_MANGLE to pointers before storing them.
8091         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8092         before using them.
8094 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8096         [BZ #17719]
8097         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8098         define as weak alias of __memrchr.
8099         (__memrchr): Do not define as strong alias of memrchr.
8100         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8101         Remove variable.
8102         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8103         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8104         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8106         [BZ #17717]
8107         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8108         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8109         (if_indextoname): Rename to __if_indextoname and define as weak
8110         alias of __if_indextoname.  Use libc_hidden_weak.
8111         (if_freenameindex): Rename to __if_freenameindex and define as
8112         weak alias of __if_freenameindex.
8113         (if_nameindex): Rename to __if_nameindex and define as weak alias
8114         of __if_nameindex.
8115         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8116         __if_nametoindex and define as weak alias of __if_nametoindex.
8117         Use libc_hidden_weak.
8118         (if_freenameindex): Rename to __if_freenameindex and define as
8119         weak alias of __if_freenameindex.
8120         (if_nameindex): Rename to __if_nameindex and define as weak alias
8121         of __if_nameindex.
8122         (if_indextoname): Rename to __if_indextoname and define as weak
8123         alias of __if_indextoname.  Use libc_hidden_weak.
8124         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8125         __if_nametoindex and define as weak alias of __if_nametoindex.
8126         Use libc_hidden_weak.
8127         (if_freenameindex): Rename to __if_freenameindex and define as
8128         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8129         (if_nameindex_netlink): Use __if_freenameindex instead of
8130         if_freenameindex.
8131         (if_nameindex): Rename to __if_nameindex and define as weak alias
8132         of __if_nameindex.  Use libc_hidden_weak.
8133         (if_indextoname): Rename to __if_indextoname and define as weak
8134         alias of __if_indextoname.  Use libc_hidden_weak.
8135         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8136         libc_hidden_proto.
8137         [!_ISOMAC] (__if_freenameindex): Likewise.
8138         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8139         if_nametoindex.
8140         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8141         variable.
8142         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8143         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8144         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8145         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8146         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8147         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8148         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8150         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8151         Remove variable.
8152         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8153         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8155 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8157         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8158         subscript above bounds'
8160         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8161         bounds.
8163 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8165         * libio/tst-fopenloc.c: Use test-skeleton.c.
8167         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8168         (entry): Rename to ITEM.
8169         (do_test, comp): Adjust.
8171         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8173 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8175         * string/tester.c: Include <libc-internal.h>.
8176         (test_memset): Ignore -Wmemset-transposed-args.
8178 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8180         * misc/tst-mntent2.c (do_test): Fix warning.
8182 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8184         * elf/tst-unique4lib.cc(a): Mark as used.
8186 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8188         [BZ #17630]
8189         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8190         names.
8192 2014-12-16  Allan McRae  <allan@archlinux.org>
8194         * stdio-common/Makefile (tests): Re-add bug26.
8196 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8198         [BZ #17657]
8199         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8200         static array.
8202 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8204         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8205         (__lll_lock_wait): Likewise.
8206         (__lll_timedlock_wait): Likewise.
8207         (__lll_timedwait_tid): Likewise.
8208         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8209         (__lll_robust_timedlock_wait): Likewise.
8210         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8211         (lll_cond_trylock): Likewise.
8212         (__lll_lock): Likewise.
8213         (__lll_robust_lock): Likewise.
8214         (__lll_cond_lock): Likewise.
8215         (lll_robust_cond_lock): Likewise.
8216         (__lll_timedlock): Likewise.
8217         (__lll_robust_timedlock): Likewise.
8218         (__lll_unlock): Likewise.
8219         (__lll_robust_unlock): Likewise.
8220         (lll_wait_tid): Likewise.
8221         (lll_timedwait_tid): Likewise.
8223 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8225         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8227 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8229         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8231 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8233         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8234         * stdio-common/tst-sprintf.c: Likewise.
8236 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8238         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8240 2014-12-15  Jeff Law  <law@redhat.com>
8242         [BZ #16617]
8243         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8244         on the heap.  (CVE-2012-3406)
8245         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8246         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8247         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8249 2014-12-15  Will Newton  <will.newton@linaro.org>
8251         * manual/install.texi: Bump required version of texinfo
8252         to 4.7 from 4.5.
8253         * INSTALL: Regenerated.
8254         * configure.ac: Check for makeinfo version 4.7 and above.
8255         * configure: Regenerated.
8257 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8259         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8260         PREFIX, string constant to insert between directory and name.
8261         * sysdeps/posix/shm_open.c: Update caller.
8262         * sysdeps/posix/shm_unlink.c: Likewise.
8263         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8264         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8265         (SEM_SHM_PREFIX): New macro.
8266         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8267         [$(have-thread-library) = no].
8268         * nptl/Makefile (libpthread-routines): Add shm-directory.
8269         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8270         * sysdeps/nptl/shm-directory.h: New file.
8271         * sysdeps/posix/shm-directory.c
8272         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8273         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8274         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8275         INTERNAL_SYSCALL.
8276         (__where_is_shmfs): Function removed.
8277         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8278         Variables removed.
8279         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8280         Use SHM_GET_NAME.
8281         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8283         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8284         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8285         unconditional for use inside libpthread.
8286         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8288 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8290         * nptl/pthread_getaffinity.c: New file.
8291         * nptl/pthread_setaffinity.c: New file.
8292         * nptl/pthread_getname.c: New file.
8293         * nptl/pthread_setname.c: New file.
8295         * nptl/pthread_create.c (START_THREAD_DEFN)
8296         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8298 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8299             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8301         * resolv/res_send.c (send_vc): Disable warning resplen may
8302         be used uninitialized.
8304 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8306         * nptl/tst-mutex6.c
8307         (ATTR_NULL): New define checks ATTR against NULL.
8308         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8309         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8311 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8313         [BZ #17581]
8314         * malloc/hooks.c
8315         (mem2mem_check): Revert my previous change.
8316         (malloc_check_get_size): Revert my previous change.
8317         (mem2chunk_check): Revert my previous change.
8319 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8321         * sysdeps/posix/shm-directory.c: New file.
8322         * sysdeps/posix/shm-directory.h: New file.
8323         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8324         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8325         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8326         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8327         Transmute EPERM to EACCES.
8328         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8329         from ...
8330         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8331         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8333 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8335         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8336         pointer and cast to uintptr_t.
8337         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8339         Add cast to avoid warning.
8340         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8342 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8344         * nptl/semaphore.h: Move to ...
8345         * sysdeps/pthread/semaphore.h: ... here.
8346         * Makefile (installed-headers): Change nptl/semaphore.h to
8347         sysdeps/pthread/semaphore.h.
8349 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8351         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8352         generated error format strings.
8354         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8355         -Wformat-extra-args warnings for scanf formats.
8356         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8357         test of zero-length format (duh).
8358         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8359         corner-case scanf format test.
8360         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8361         generated fprintf format string.
8362         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8363         corner-case sprintf format tests.
8364         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8365         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8366         -Wformat-extra-args warnings throughout.
8367         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8368         (CFLAGS-scanf4.c): Likewise.
8369         (CFLAGS-scanf7.c): Likewise.
8370         (CFLAGS-tst-sprintf.c): Likewise.
8371         (CFLAGS-tst-printf.c): Likewise.
8372         (CFLAGS-tst-printfsz.c): Likewise.
8374 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8376         * include/cpio.h: New file.
8377         * include/fmtmsg.h: Likewise.
8379         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8380         corresponding format argument to size_t.
8381         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8382         arguments.
8383         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8384         corresponding format argument to size_t.
8385         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8386         arguments.
8387         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8388         corresponding format argument to size_t.
8389         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8390         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8391         (CFLAGS-tst-mbswcs2.c): Likewise.
8392         (CFLAGS-tst-mbswcs3.c): Likewise.
8393         (CFLAGS-tst-mbswcs4.c): Likewise.
8394         (CFLAGS-tst-mbswcs5.c): Likewise.
8395         (CFLAGS-tst-trans.c): Likewise
8397 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8399         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8400         rather than assuming they won't contain any '%'s.
8402 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8404         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8405         inhibit_loop_to_libcall to avoid recursive calls.
8406         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8407         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8409 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8411         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8412         prototype.
8414 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8416         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8417         integer value instead of boolean.
8419 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8421         * malloc/malloc.c: Fix powerof2 check.
8423 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8425         * locale/programs/locfile.h (maybe_swap_uint32):
8426         Remove inline and add unused attribute.
8428 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8430         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8431         Truncating assembler expression to a .long expression.
8433 2014-12-11  Andreas Schwab  <schwab@suse.de>
8435         * elf/rtld.c (struct map_args): Constify str member.
8436         (do_preload): Constify fname argument.
8438 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8440         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8441         constants definition.
8443 2014-12-11  Andreas Schwab  <schwab@suse.de>
8445         [BZ #16657]
8446         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8447         FORCE_ELISION instead of DO_ELISION.
8448         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8449         Remove.
8450         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8451         Likewise.
8453         * iconvdata/gconv-modules: Remove duplicate entry.
8455 2014-12-11  Will Newton  <will.newton@linaro.org>
8457         Merge gettext 0.19.3 into intl/.
8459         This involves a number of cosmetic changes to comments
8460         and ANSI function definitions and prototypes throughout
8461         all the files. The gettext copyright header is used but
8462         with the date ranges taken from the glibc copy.
8464         * NEWS: Add gettext merge to 2.21.
8465         * intl/bindtextdom.c: Switch to gettext copyright.
8466         Use ANSI definitions and prototypes.
8467         Use gl_* locking primitives rather than __libc_* ones.
8468         Use __builtin_expect rather than __glibc_likely/unlikely.
8469         * intl/dcgettext.c: Switch to gettext copyright.
8470         Use ANSI definitions and prototypes.
8471         * intl/dcigettext.c: Switch to gettext copyright.
8472         Use ANSI definitions and prototypes.
8473         (INTDIV0_RAISES_SIGFPE): New define.
8474         Use gl_* locking primitives rather than __libc_* ones.
8475         Include eval-plural.h instead of plural-eval.c.
8476         Use __builtin_expect rather than __glibc_likely/unlikely.
8477         * intl/dcngettext.c: Switch to gettext copyright.
8478         Use ANSI definitions and prototypes.
8479         * intl/dgettext.c: Likewise.
8480         * intl/dngettext.c: Likewise.
8481         * intl/plural-eval.c: Renamed to...
8482         * intl/eval-plural.h: ...this.
8483         * intl/explodename.c: Switch to gettext copyright.
8484         Use ANSI definitions and prototypes.
8485         (_nl_explode_name): Use strchr instead of __rawmemchr.
8486         * intl/finddomain.c: Switch to gettext copyright.
8487         Use ANSI definitions and prototypes.
8488         Use gl_* locking primitives rather than __libc_* ones.
8489         (_nl_find_domain): Use malloc rather than alloca for
8490         allocation of temporary locale name.
8491         * intl/gettext.c: Switch to gettext copyright.
8492         Use ANSI definitions and prototypes.
8493         * intl/gettextP.h: Switch to gettext copyright.
8494         Use ANSI definitions and prototypes.
8495         Use gl_* locking primitives rather than __libc_* ones.
8496         * intl/gmo.h: Switch to gettext copyright.
8497         (struct sysdep_string): Move struct segment_pair outside of
8498         struct definition.
8499         * intl/hash-string.c: Use ANSI definitions and prototypes.
8500         * intl/hash-string.h: Switch to gettext copyright.
8501         Use ANSI definitions and prototypes.
8502         * intl/l10nflist.c: Switch to gettext copyright.
8503         Use ANSI definitions and prototypes.
8504         (_nl_normalize_codeset): Avoid integer overflow.
8505         * intl/loadinfo.h: Switch to gettext copyright.
8506         Use ANSI definitions and prototypes.
8507         (LIBINTL_DLL_EXPORTED): New define.
8508         (PATH_SEPARATOR): New define.
8509         * intl/loadmsgcat.c: Switch to gettext copyright.
8510         * intl/localealias.c: Switch to gettext copyright.
8511         Use ANSI definitions and prototypes.
8512         (_nl_expand_alias): Use PATH_SEPARATOR.
8513         * intl/ngettext.c: Switch to gettext copyright.
8514         Use ANSI definitions and prototypes.
8515         * intl/plural-exp.c: Likewise.
8516         * intl/plural-exp.h: Switch to gettext copyright.
8517         Use ANSI definitions and prototypes.
8518         (struct expression): Move definition of enum operator outside
8519         of struct definition.
8520         * intl/plural.c: Regenerate.
8521         * intl/plural.y: Switch to gettext copyright.
8522         Use ANSI definitions and prototypes.
8523         Port to bison 3.0.
8524         * intl/textdomain.c: Switch to gettext copyright.
8525         Use ANSI definitions and prototypes.
8526         Use gl_* locking primitives rather than __libc_* ones.
8528 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8530         * debug/warning-nop.c: Add used atrribute.
8532 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8534         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8536         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8537         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8538         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8540 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8541             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8543         [BZ #17634]
8544         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8545         Undefine after defining function.  Define as weak alias of
8546         __wcschr.  Use libc_hidden_weak.
8547         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8548         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8549         (libc_hidden_def): Also define __GI___wcschr alias.
8550         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8551         __wcschr and define as weak alias of __wcschr.
8552         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8553         __wcschr.
8554         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8555         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8556         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8557         libc_hidden_weak.  Do not use libc_hidden_def.
8558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8559         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8560         __GI___wcschr alias.
8561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8562         [IS_IN (libc)] (wcschr): Define as macro expanding to
8563         __redirect_wcschr.
8564         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8565         [IS_IN (libc)] (__wcschr_power6): Likewise.
8566         [IS_IN (libc)] (__wcschr_power7): Likewise.
8567         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8568         instead of wcschr.
8569         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8570         __libc_wcschr.
8571         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8572         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8573         __wcschr and define as weak alias of __wcschr.  Use
8574         libc_hidden_builtin_def.
8575         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8576         as weak alias of __wcschr.  Use libc_hidden_weak.
8577         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8578         wcschr.
8579         * time/era.c (_nl_init_era_entries): Likewise.
8580         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8581         variable.
8582         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8583         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8585 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8587         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8588         format for long int variable.
8590 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8592         [BZ #10672]
8593         * manual/search.texi: (Array Sort Function): Remove claim how to make
8594         qsort stable.
8596 2014-12-10  Andreas Schwab  <schwab@suse.de>
8598         [BZ #12847]
8599         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8600         user-controlled locks.
8602 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8604         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8605         register.
8607 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8609         * configure.ac (--disable-werror): New configure option.
8610         (enable_werror): New AC_SUBST.
8611         * configure: Regenerated.
8612         * config.make.in (enable-werror): New variable.
8613         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8614         -Wno-error=undef.
8615         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8616         * manual/install.texi (Configuring and compiling): Document
8617         --disable-werror.
8618         * INSTALL: Regenerated.
8619         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8620         (CFLAGS-tst-chk2.c): Likewise.
8621         (CFLAGS-tst-chk3.c): Likewise.
8622         (CFLAGS-tst-chk4.cc): Likewise.
8623         (CFLAGS-tst-chk5.cc): Likewise.
8624         (CFLAGS-tst-chk6.cc): Likewise.
8625         (CFLAGS-tst-lfschk1.c): Likewise.
8626         (CFLAGS-tst-lfschk2.c): Likewise.
8627         (CFLAGS-tst-lfschk3.c): Likewise.
8628         (CFLAGS-tst-lfschk4.cc): Likewise.
8629         (CFLAGS-tst-lfschk5.cc): Likewise.
8630         (CFLAGS-tst-lfschk6.cc): Likewise.
8632         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8633         (main): Disable -Wdeprecated-declarations around calls to
8634         register_printf_function.
8636         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8637         (do_test): Disable -Wdiv-by-zero around some calls to
8638         fwrite_unlocked and fread_unlocked.
8640         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8641         (DIAG_POP_NEEDS_COMMENT): Likewise.
8642         (_DIAG_STR1): Likewise.
8643         (_DIAG_STR): Likewise.
8644         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8645         * stdio-common/bug21.c: Include <libc-internal.h>.
8646         (do_test): Disable -Wformat around call to sscanf.
8647         * stdio-common/scanf14.c: Include <libc-internal.h>.
8648         (main): Disable -Wformat around some calls to scanf functions.
8650 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8652         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8654 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8656         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8657         stack variable alignment.
8659 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8661         [BZ #17682]
8662         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8663         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8664         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8665         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8666         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8667         __getrlimit instead of getrlimit.
8668         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8669         __gettimeofday instead of gettimeofday.
8670         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8671         Likewise.
8672         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8673         Likewise.
8674         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8675         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8676         Remove variable.
8677         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8678         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8680 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8682         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8683         for wide-character tests.
8685 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8687         * io/openat64.c: #include <libc-internal.h>
8688         (__openat64): Prototypify.  Use ignore_value on MODE.
8689         * io/openat.c: Likewise.
8690         * misc/reboot.c: #include <libc-internal.h>
8691         (reboot): Prototypify.  Use ignore_value on HOWTO.
8692         * misc/ptrace.c: #include <libc-internal.h>
8693         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8695 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8697         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8698         XPG4, UNIX98 and XOPEN2K.
8699         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8700         Remove variable.
8701         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8703 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8705         * libio/fileops.c: Use ISO C style for function definitions.
8706         * libio/iofopen.c: Likewise.
8707         * libio/wfileops.c: Likewise.
8709         [BZ #17653]
8710         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8711         offset on EOF.
8712         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8713         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8714         (fgets_func): Function pointer to fgets and fgetws.
8715         (do_ftell_test): Add test to verify ftell value after read
8716         EOF.
8717         (do_test): Set fgets_func.
8719         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8720         O_TRUNC flag for w and w+ modes.
8721         (do_rewind_test): Likewise.
8722         (do_ftell_test): Likewise.
8723         (do_write_test): Likewise.
8725         [BZ #17647]
8726         * libio/fileops.c (do_ftell): Seek only when there are
8727         unflushed writes.
8728         * libio/wfileops.c (do_ftell_wide): Likewise.
8729         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8730         test case.
8731         (do_one_test): Call it.
8733 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8735         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8736         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8737         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8738         Remove variable.
8739         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8740         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8741         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8743 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8745         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8746         Remove variable.
8747         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8749         [BZ #17668]
8750         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8751         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8752         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8753         __freeifaddrs.  Use libc_hidden_weak.
8754         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8755         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8756         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8757         __freeifaddrs.  Use libc_hidden_weak.
8758         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8759         __getifaddrs and define as weak alias of __getifaddrs.  Use
8760         libc_hidden_weak.
8761         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8762         __freeifaddrs.  Use libc_hidden_weak.
8763         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8764         Remove variable.
8765         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8766         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8768 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8770         [BZ #17601]
8771         * sysdeps/mips/start.S (__start): Use indirect jump to call
8772         __libc_start_main.
8774 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8776         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8778         * nptl/tst-mutex1.c: Include <stdbool.h>.
8779         [!ATTR] (ATTR_NULL): New macro.
8780         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8781         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8782         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8784         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8785         to char *.
8787         [BZ #17665]
8788         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8789         Change conditional to [__USE_MISC].
8791         [BZ #17664]
8792         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8793         fgets_unlocked.
8794         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8795         __fgets_unlocked.
8796         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8797         fgets_unlocked.
8798         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8799         Remove variable.
8800         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8801         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8802         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8803         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8804         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8805         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8806         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8807         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8808         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8810         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8812 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8814         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8815         Remove strpbrk objects.
8816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8817         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8818         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8819         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8820         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8821         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8823         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8824         Remove strcspn objects.
8825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8826         (__libc_ifunc_impl_list): Remove strcspn implementation.
8827         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8828         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8829         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8830         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8832         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8833         Remove strspn objetcs.
8834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8835         (__libc_ifunc_impl_list): Remove strspn implementation.
8836         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8837         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8838         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8839         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8841 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8843         [BZ #17581]
8844         * malloc/hooks.c
8845         (mem2mem_check): Add a terminator to the chain of checking blocks.
8846         (malloc_check_get_size): Use it here.
8847         (mem2chunk_check): Ditto.
8849 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8851         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8852         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8854 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8856         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8858         * nptl/nptl-init.c: Include libc-internal.h.
8859         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8861         * elf/ldconfig.c (search_dir): Expand comment.
8863 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8865         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8866         variable.
8867         (linknamespace-symlist-stdlibs-tests): Likewise.
8868         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8869         instead of $(objpfx)symlist-stdlibs.
8870         (linknamespace-libs-isoc): New variable.
8871         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8872         (linknamespace-libs-ISO): New variable.
8873         (linknamespace-libs-ISO99): Likewise.
8874         (linknamespace-libs-ISO11): Likewise.
8875         (linknamespace-libs-XPG3): Likewise.
8876         (linknamespace-libs-XPG4): Likewise.
8877         (linknamespace-libs-POSIX): Likewise.
8878         (linknamespace-libs-UNIX98): Likewise.
8879         (linknamespace-libs-XOPEN2K): Likewise.
8880         (linknamespace-libs-POSIX2008): Likewise.
8881         (linknamespace-libs-XOPEN2K8): Likewise.
8882         ($(objpfx)symlist-stdlibs): Replace by
8883         $(linknamespace-symlist-stdlibs-tests).  Use
8884         $(linknamespace-libs-$*) as set of libraries.
8885         ($(linknamespace-header-tests)): Update dependencies.  Use
8886         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8887         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8888         * conform/linknamespace.pl: Remove comment about considering
8889         definitions of symbols from irrelevant libraries.
8891 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8893         [BZ #13862]
8894         * elf/dl-tls.c: Include <atomic.h>.
8895         (oom): Remove #ifdef SHARED/#endif.
8896         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8897         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8898         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8899         big enough.
8900         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8901         * nptl/Makefile (tests): Add tst-stack4.
8902         (modules-names): Add tst-stack4mod.
8903         ($(objpfx)tst-stack4): New.
8904         (tst-stack4mod.sos): Likewise.
8905         ($(objpfx)tst-stack4.out): Likewise.
8906         ($(tst-stack4mod.sos)): Likewise.
8907         (clean): Likewise.
8908         * nptl/tst-stack4.c: New file.
8909         * nptl/tst-stack4mod.c: Likewise.
8911 2014-11-27  J. Brown  <jb999@gmx.de>
8913         * sysdeps/x86/bits/string.h: Add recent CPUs.
8915 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8917         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8918         sigblock.
8920         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8921         feof.
8923         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8924         variable.
8926 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8928         * nscd/connections.c: Include libc-internal.h because of macro
8929         usage ignore_value.
8931 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8933         * string/bits/string3.h (__warn_memset_zero_len): Don't
8934         declare for gcc newer than 5.0.
8935         (memset): Don't test for zero-length __LEN for gcc newer than
8936         5.0.
8938 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8940         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8941         size_t for %zu format.
8943         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8944         difference, not %ju.
8946 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8948         * include/libc-internal.h (ignore_value): New macro.
8949         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8950         with ignore_value.
8952         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8953         definition.
8955         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8956         pthread_cleanup_push to void *.
8958         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8959         Undefine.
8961         [BZ #16619]
8962         [BZ #16740]
8963         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8964         instead of 1L << 52.
8966         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8967         * libio/bug-rewind2.c (do_test): Likewise.
8969         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8970         * debug/test-strcpy_chk-ifunc.c: Likewise.
8971         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8972         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8973         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8974         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8975         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8976         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8977         * Rules [$(multi-arch) = no] (tests): Do not filter out
8978         $(tests-ifunc).
8979         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8980         * debug/Makefile (tests-ifunc): Remove variable.
8981         (tests): Do not add $(tests-ifunc).
8982         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8983         (tests): Do not add $(tests-ifunc).
8984         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8985         [TEST_IFUNC]: Remove conditionals.
8986         * string/test-string.h (TEST_IFUNC): Remove macro.
8987         [TEST_IFUNC]: Remove conditionals.
8989         * string/test-strchr.c [!WIDE] (L): New macro.
8990         [WIDE] (L): Likewise.
8991         (check1): Use CHAR instead of char.  Use L on string and character
8992         constants.
8994 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8996         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8997         tests.
8998         * sysdeps/powerpc/bits/atomic.h
8999         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9000         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9001         (atomic_exchange_and_add_acq): Likewise.
9002         (atomic_exchange_and_add_rel): Likewise.
9003         * sysdeps/powerpc/powerpc32/bits/atomic.h
9004         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9005         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9006         * sysdeps/powerpc/powerpc64/bits/atomic.h
9007         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9008         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9010 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9012         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9013         Change synchronization of __sched_fifo_min_prio and
9014         __sched_fifo_max_prio.
9015         * nptl/pthread_mutexattr_getprioceiling.c
9016         (pthread_mutexattr_getprioceiling): Likewise.
9017         * nptl/pthread_mutexattr_setprioceiling.c
9018         (pthread_mutexattr_setprioceiling): Likewise.
9019         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9020         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9021         Likewise.
9023 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9025         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9026         void.
9028 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9030         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9031         third argument const.
9033 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9035         fnmatch: work around GCC compiler warning bug with uninit var
9036         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9037         This works around a bug with x86-64 GCC 4.9.2 and earlier
9038         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9039         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9040         used uninitialized in this function [-Wmaybe-uninitialized]".
9042 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9044         * posix/bug-regex31.c (main): Return RES not 0.
9046 2014-11-25  Anton Blanchard <anton@samba.org>
9048         * sysdeps/powerpc/bits/atomic.h
9049         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9051 2014-11-24  Sterling Augustine  <saugustine@google.com>
9053         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9055 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9057         [BZ #17608]
9058         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9060 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9062         [BZ #17633]
9063         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9064         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9065         variable.
9066         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9067         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9069 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9071         * string/strncpy.c (strncpy): Improve performance by using memset.
9073 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9075         * string/strcpy.c (strcpy):
9076         Improve performance by using strlen and memcpy.
9078 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9080         * string/strcoll_l.c (get_next_seq): __always_inline.
9081         * string/strcoll_l.c (do_compare): __always_inline.
9083 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9085         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9086         defined.
9087         * include/mqueue.h: Likewise.
9088         * include/stdlib.h: Likewise.
9090         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9091         (get_null_defines): Adjust.
9092         * sunrpc/Makefile: Adjust comment.
9093         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9094         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9095         (CFLAGS-interp.c): Likewise.
9096         (CFLAGS-ldconfig.c): Likewise.
9097         (CPPFLAGS-.os): Likewise.
9098         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9099         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9100         * extra-modules.mk (extra-modules.mk): Likewise.
9101         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9102         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9103         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9104         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9105         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9106         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9107         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9108         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9109         * iconvdata/Makefile (CPPFLAGS): Likewise.
9110         (cpp-srcs-left): Add libof for all iconvdata routines.
9111         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9112         * include/assert.h: Likewise.
9113         * include/ctype.h: Likewise.
9114         * include/errno.h: Likewise.
9115         * include/libc-symbols.h: Likewise.
9116         * include/math.h: Likewise.
9117         * include/netdb.h: Likewise.
9118         * include/resolv.h: Likewise.
9119         * include/stdio.h: Likewise.
9120         * include/stdlib.h: Likewise.
9121         * include/string.h: Likewise.
9122         * include/sys/stat.h: Likewise.
9123         * include/wctype.h: Likewise.
9124         * intl/l10nflist.c: Likewise.
9125         * libidn/idn-stub.c: Likewise.
9126         * libio/libioP.h: Likewise.
9127         * nptl/libc_multiple_threads.c: Likewise.
9128         * nptl/pthreadP.h: Likewise.
9129         * posix/regex_internal.h: Likewise.
9130         * resolv/res_hconf.c: Likewise.
9131         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9132         * sysdeps/arm/memmove.S: Likewise.
9133         * sysdeps/arm/sysdep.h: Likewise.
9134         * sysdeps/generic/_itoa.h: Likewise.
9135         * sysdeps/generic/symbol-hacks.h: Likewise.
9136         * sysdeps/gnu/errlist.awk: Likewise.
9137         * sysdeps/gnu/errlist.c: Likewise.
9138         * sysdeps/i386/i586/memcpy.S: Likewise.
9139         * sysdeps/i386/i586/memset.S: Likewise.
9140         * sysdeps/i386/i686/memcpy.S: Likewise.
9141         * sysdeps/i386/i686/memmove.S: Likewise.
9142         * sysdeps/i386/i686/mempcpy.S: Likewise.
9143         * sysdeps/i386/i686/memset.S: Likewise.
9144         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9145         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9146         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9147         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9148         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9149         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9150         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9151         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9152         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9154         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9155         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9156         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9157         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9158         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9159         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9160         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9161         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9162         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9163         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9164         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9165         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9166         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9167         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9168         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9169         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9170         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9171         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9172         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9173         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9174         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9177         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9178         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9179         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9180         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9181         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9182         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9183         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9184         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9185         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9186         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9187         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9188         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9189         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9190         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9191         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9192         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9193         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9194         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9195         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9196         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9197         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9198         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9199         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9200         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9201         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9202         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9203         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9204         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9205         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9206         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9207         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9208         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9209         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9210         * sysdeps/posix/closedir.c: Likewise.
9211         * sysdeps/posix/opendir.c: Likewise.
9212         * sysdeps/posix/readdir.c: Likewise.
9213         * sysdeps/posix/rewinddir.c: Likewise.
9214         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9215         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9216         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9217         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9218         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9225         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9226         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9228         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9229         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9231         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9233         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9234         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9235         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9236         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9237         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9242         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9249         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9250         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9251         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9252         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9253         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9254         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9255         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9256         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9258         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9259         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9260         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9261         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9262         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9263         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9264         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9265         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9268         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9271         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9272         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9273         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9274         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9275         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9276         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9277         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9278         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9279         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9280         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9281         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9282         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9283         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9285         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9286         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9287         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9288         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9289         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9290         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9291         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9292         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9293         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9294         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9295         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9296         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9298         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9300         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9301         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9302         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9304         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9305         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9306         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9307         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9308         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9309         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9310         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9311         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9312         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9313         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9314         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9315         * sysdeps/unix/alpha/sysdep.S: Likewise.
9316         * sysdeps/unix/alpha/sysdep.h: Likewise.
9317         * sysdeps/unix/make-syscalls.sh: Likewise.
9318         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9320         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9321         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9322         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9323         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9324         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9325         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9326         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9327         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9329         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9330         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9331         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9332         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9333         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9334         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9335         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9336         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9337         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9338         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9340         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9341         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9342         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9343         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9344         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9347         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9348         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9351         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9352         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9356         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9357         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9358         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9359         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9360         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9361         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9362         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9365         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9368         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9369         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9370         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9371         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9373         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9374         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9376         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9377         * sysdeps/x86_64/memcpy.S: Likewise.
9378         * sysdeps/x86_64/memmove.c: Likewise.
9379         * sysdeps/x86_64/memset.S: Likewise.
9380         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9381         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9382         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9383         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9384         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9385         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9387         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9388         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9389         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9390         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9391         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9392         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9393         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9394         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9395         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9396         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9397         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9398         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9399         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9400         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9401         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9402         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9403         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9404         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9405         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9406         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9407         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9408         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9409         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9410         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9411         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9412         * sysdeps/x86_64/strcmp.S: Likewise.
9414         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9416         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9417         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9418         * elf/rtld-Rules: Likewise.
9419         * elf/setup-vdso.h: Likewise.
9420         * include/assert.h: Likewise.
9421         * include/bits/stdlib-float.h: Likewise.
9422         * include/errno.h: Likewise.
9423         * include/sys/stat.h: Likewise.
9424         * include/unistd.h: Likewise.
9425         * sysdeps/aarch64/setjmp.S: Likewise.
9426         * sysdeps/alpha/setjmp.S: Likewise.
9427         * sysdeps/arm/__longjmp.S: Likewise.
9428         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9429         * sysdeps/arm/setjmp.S: Likewise.
9430         * sysdeps/arm/sysdep.h: Likewise.
9431         * sysdeps/generic/_itoa.h: Likewise.
9432         * sysdeps/generic/dl-sysdep.h: Likewise.
9433         * sysdeps/generic/ldsodefs.h: Likewise.
9434         * sysdeps/i386/dl-tls.h: Likewise.
9435         * sysdeps/i386/setjmp.S: Likewise.
9436         * sysdeps/m68k/setjmp.c: Likewise.
9437         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9438         * sysdeps/mach/hurd/opendir.c: Likewise.
9439         * sysdeps/posix/getcwd.c: Likewise.
9440         * sysdeps/posix/opendir.c: Likewise.
9441         * sysdeps/posix/profil.c: Likewise.
9442         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9444         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9445         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9448         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9449         * sysdeps/s390/dl-tls.h: Likewise.
9450         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9451         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9452         * sysdeps/sh/sh3/setjmp.S: Likewise.
9453         * sysdeps/sh/sh4/setjmp.S: Likewise.
9454         * sysdeps/unix/alpha/sysdep.h: Likewise.
9455         * sysdeps/unix/arm/sysdep.S: Likewise.
9456         * sysdeps/unix/i386/sysdep.S: Likewise.
9457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9458         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9459         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9460         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9462         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9463         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9464         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9465         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9466         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9467         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9468         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9472         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9475         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9476         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9477         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9480         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9481         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9482         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9483         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9484         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9485         * sysdeps/x86_64/setjmp.S: Likewise.
9487         * include/math.h: Use IS_IN instead of IS_IN_libm.
9488         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9489         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9491         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9492         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9495         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9496         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9497         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9498         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9499         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9500         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9501         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9502         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9503         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9504         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9505         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9506         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9507         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9508         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9509         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9510         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9511         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9512         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9513         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9514         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9515         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9516         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9517         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9518         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9519         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9520         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9522         Likewise.
9523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9524         Likewise.
9525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9526         Likewise.
9527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9528         Likewise.
9529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9530         Likewise.
9531         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9532         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9533         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9534         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9535         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9536         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9542         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9543         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9544         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9545         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9546         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9547         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9549         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9550         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9551         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9552         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9553         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9554         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9555         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9557         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9559         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9560         * nptl/pthreadP.h: Likewise.
9561         * nptl_db/structs.def: Likewise.
9562         * sysdeps/arm/sysdep.h: Likewise.
9563         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9564         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9565         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9566         * sysdeps/unix/alpha/sysdep.h: Likewise.
9567         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9569         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9570         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9571         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9572         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9574         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9575         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9576         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9577         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9578         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9579         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9580         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9583         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9585         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9588         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9589         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9590         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9591         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9592         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9594         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9595         * nptl/pthreadP.h: Likewise.
9596         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9597         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9598         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9599         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9600         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9601         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9602         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9603         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9604         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9605         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9606         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9607         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9609         Likewise.
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9611         Likewise.
9612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9614         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9617         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9618         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9619         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9621         * dlfcn/dladdr.c: Use IS_IN.
9622         * dlfcn/dladdr1.c: Likewise.
9623         * dlfcn/dlclose.c: Likewise.
9624         * dlfcn/dlerror.c: Likewise.
9625         * dlfcn/dlinfo.c: Likewise.
9626         * dlfcn/dlmopen.c: Likewise.
9627         * dlfcn/dlopen.c: Likewise.
9628         * dlfcn/dlsym.c: Likewise.
9629         * dlfcn/dlvsym.c: Likewise.
9631         * include/ifaddrs.h: Use IS_IN.
9632         * inet/check_pf.c: Likewise.
9633         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9634         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9636         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9637         IS_IN_ldconfig.
9638         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9639         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9641         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9642         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9643         IS_IN (libc).
9645         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9647         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9648         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9649         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9650         * include/libc-symbols.h (IS_IN_LIB): New macro.
9651         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9652         * include/netdb.h: Likewise.
9653         * include/stap-probe.h: Remove all uses of IN_LIB.
9655         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9656         instead of IN_MODULE.
9657         * include/libc-symbols.h (IN_MODULE): Define using
9658         MODULE_NAME.
9659         (PASTE_NAME, PASTE_NAME1): New macros.
9660         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9661         of IN_LIB.
9662         (STAP_PROBE_ASM): Likewise.
9664 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9666         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9667         __mach_init in dlopened libc.
9669 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9671         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9672         * sysdeps/arm/preconfigure: Regenerate.
9674 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9676         * nptl/pthread_create.c (__pthread_create_2_1): Set
9677         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9678         when copying values from IATTR into PD.
9680 2014-11-21  Will Newton  <will.newton@linaro.org>
9681             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9683         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9684         Refactor inline-asm.  Also add comment.
9686         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9687         ElfW macro instead of hardcoded Elf64 types.
9688         (la_aarch64_gnu_pltenter): Likewise.
9689         * sysdeps/aarch64/dl-machine.h
9690         (elf_machine_runtime_setup): Use ElfW(Addr).
9692         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9693         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9694         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9695         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9696         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9697         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9698         (R_AARCH64_TLS_DTPMOD): This.
9699         (R_AARCH64_TLS_DTPREL64): Rename to ...
9700         (R_AARCH64_TLS_DTPREL): This.
9701         (R_AARCH64_TLS_TPREL64): Rename to ...
9702         (R_AARCH64_TLS_TPREL): This.
9703         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9704         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9705         R_AARCH64_TLS_TPREL64.
9706         (elf_machine_rela): Likewise.
9708 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9710         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9711         by setting it to 0.  64b atomics are not supported currently.
9713 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9715         [BZ #16469]
9716         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9717         search domain names.
9719 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9721         [BZ #16469]
9722         * NEWS: Update.
9723         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9724         trailing dot.
9725         * posix/tst-getaddrinfo5.c: New.
9726         * posix/Makefile (tests): Add it.
9728 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9730         [BZ #14498]
9731         * NEWS: Fixed.
9732         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9733         after parsing line but before break_if_match.
9734         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9735         if there is a protocol mismatch.
9737 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9739         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9740         because the potential race is on the user-supplied stream.
9742 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9744         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9745         string literal if not passed a buffer.
9746         * manual/job.texi (ctermid): Update reasoning, note deviation
9747         from posix, suggest mtasurace when not passed a buffer, for
9748         future non-preliminary safety notes.
9750 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9752         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9753         of not passing it a buffer.
9754         Reported by Peng Haitao.
9756 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9758         * manual/Makefile ($(objpfx)stamp-summary): Require
9759         check-safety.sh to pass.
9760         * manual/check-safety.sh: Wish for verification that every
9761         @deftypefn and @deftypefun is followed by a @safety remark.
9763 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9765         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9767         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9768         PTHREAD_CANCEL_ASYNCHRONOUS.
9769         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9770         send SIGCANCEL.
9772         * nptl/default-sched.h: New file.
9773         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9774         * nptl/pthread_create.c: Include it.
9775         (__pthread_create_2_1): Use collect_default_sched instead of making
9776         Linux syscalls here directly.
9778 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9780         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9781         __pthread_once): Use C11 atomics.
9783 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9785         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9787 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9789         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9790         atomic_thread_fence_acquire, atomic_thread_fence_release,
9791         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9792         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9793         atomic_compare_exchange_weak_relaxed,
9794         atomic_compare_exchange_weak_acquire,
9795         atomic_compare_exchange_weak_release,
9796         atomic_exchange_acquire, atomic_exchange_release,
9797         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9798         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9799         atomic_fetch_and_acquire,
9800         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9802 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9804         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9805         USE_ATOMIC_COMPILER_BUILTINS): Define.
9806         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9808         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9810         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9812         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9814         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9816         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9818         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9820         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9822         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9824         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9826         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9827         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9828         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9830         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9831         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9832         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9834         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9836         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9838         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9840         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9841         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9842         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9844         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9847 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9849         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9850         the sched_priority value here.  It was already checked when the user
9851         called pthread_attr_setschedparam.
9853         * nptl/tst-bad-schedattr.c: New file.
9854         * nptl/Makefile (tests): Add it.
9856 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9857             Florian Weimer  <fweimer@redhat.com>
9858             Joseph Myers  <joseph@codesourcery.com>
9859             Adam Conrad  <adconrad@0c3.net>
9860             Andreas Schwab  <schwab@suse.de>
9861             Brooks  <bmoses@google.com>
9863         [BZ #17625]
9864         * wordexp-test.c (__dso_handle): Add prototype.
9865         (__register_atfork): Likewise.
9866         (__app_register_atfork): New function.
9867         (registered_forks): New global.
9868         (register_fork): New function.
9869         (test_case): Add 3 new tests for WRDE_CMDSUB.
9870         (main): Call __app_register_atfork.
9871         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9872         fork count is non-zero fail the test.
9873         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9874         is set.
9875         (parse_dollars): Remove check for WRDE_NOCMD.
9876         (parse_dquote): Likewise.
9878 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9880         * Makeconfig (built-modules): List non-library modules to be
9881         built.
9882         (module-cppflags): Include libc-modules.h for
9883         everything except shlib-versions.v.i.
9884         (CPPFLAGS): Use it.
9885         (before-compile): Add libc-modules.h.
9886         ($(common-objpfx)libc-modules.h,
9887         $(common-objpfx)libc-modules.stmp): New targets.
9888         (common-generated): Add libc-modules.h and libc-modules.stmp.
9889         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9890         * include/libc-symbols.h: Don't include libc-modules.h.
9891         * include/libc-modules.h: Remove file.
9892         * scripts/gen-libc-modules.awk: New script to generate
9893         libc-modules.h.
9894         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9895         Depend on libc-modules.stmp.
9897         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9899         * Makeconfig (in-module): Get value of libof set for the
9900         translation unit.
9901         (CPPFLAGS): Use $(in-module).
9902         * Makerules: Don't suffix routine names for nonlib.
9903         * include/libc-modules.h: New file.
9904         * include/libc-symbols.h: Include libc-modules.h
9905         (IS_IN): New macro to replace IS_IN_* macros.
9906         * elf/Makefile: Set libof-* for each routine.
9907         * elf/rtld-Rules: Likewise.
9908         * extra-modules.mk: Likewise.
9909         * iconv/Makefile: Likewise.
9910         * iconvdata/Makefile: Likewise.
9911         * locale/Makefile: Likewise.
9912         * malloc/Makefile: Likewise.
9913         * nss/Makefile: Likewise.
9914         * sysdeps/gnu/Makefile: Likewise.
9915         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9916         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9917         * sysdeps/s390/s390-64/Makefile: Likewise.
9918         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9919         CPPFLAGS for nscd instead of nonlib.
9921 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9923         * nptl/createthread.c: New file.
9925         * nptl/createthread.c: Moved ...
9926         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9928         * nptl/createthread.c: Add proper top-line comment.
9929         (do_clone): Folded into ...
9930         (create_thread): ... here.  Take new arguments STOPPED_START and
9931         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9932         increment __nptl_threads, do event-reporting logic, do
9933         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9934         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9935         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9936         just send SIGCANCEL.
9937         * nptl/pthread_create.c: Forward-declare create_thread before
9938         including createthread.c.
9939         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9940         declaration, and new macro START_THREAD_SELF to replace argument.
9941         Remove return statement.
9942         (report_thread_creation): New function.
9943         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9944         synchronization logic, and __nptl_nthreads increment here, around
9945         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9946         PD->parent_cancelhandling here, before create_thread.  When
9947         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9948         __deallocate_stack, and ENOMEM translation here.
9950 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9952         [BZ #17616]
9953         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9954         (mptwo): Rename to __mptwo.
9955         (__inv): Use __mptwo instead of mptwo.
9956         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9957         (mptwo): Rename to __mptwo.
9958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9959         of mpone and __mptwo instead of mptwo.
9960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9961         instead of mpone.
9962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9963         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9964         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9965         of mpone and __mptwo instead of mptwo.
9966         (__mpranred): Use __mpone instead of mpone.
9967         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9968         variable.
9969         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9970         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9971         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9972         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9973         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9974         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9975         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9976         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9977         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9978         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9979         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9980         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9981         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9982         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9983         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9984         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9985         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9986         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9987         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9989 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9991         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9992         replace BSD Handler xref with BSD Signal Handling.
9994 2014-11-17  Richard Henderson  <rth@redhat.com>
9996         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9997         (_FP_PACK_RAW_2): Remove.
9998         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9999         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10000         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10001         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10002         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10003         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10004         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10005         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10006         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10007         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10008         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10009         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10010         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10011         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10012         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10013         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10015 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10017         * signal/signal.h [__USE_MISC]
10018         (struct sigvec): Remove type.
10019         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10020         (sigvec): Remove declaration.
10021         * sysdeps/posix/sigvec.c: Moved ...
10022         * signal/sigvec.c: ... here, replacing old file.
10023         (struct sigvec): New type, copied from old signal.h definition.
10024         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10025         (__sigvec): Convert definition to prototype.
10026         (sigvec): Replace weak_alias with compat_symbol.
10027         * signal/Versions (libc: GLIBC_2.21): New version set.
10028         * include/signal.h: Remove __sigvec declaration.
10029         * sysdeps/unix/bsd/sigvec.c: Remove file.
10030         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10031         * manual/signal.texi (BSD Handler): Remove subsection.
10032         Move siginterrupt up to ...
10033         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10034         (Blocking in BSD): Fold subsection into its parent.
10035         * NEWS: Mention sigvec removal.
10037 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10039         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10040         (DLA_FMS): Make definition conditional only on [__FMA4__].
10041         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10042         definition.
10044         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10045         Make definition conditional only on [PROF].
10046         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10047         definition.
10048         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10049         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10051         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10052         !__GNUC__].
10053         * include/signal.h (__sigpause): Move declaration above call to
10054         libc_hidden_proto.
10055         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10056         variable.
10057         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10058         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10060 2014-11-14  David S. Miller  <davem@davemloft.net>
10062         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10063         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10065 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10067         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10068         * configure: Regenerated.
10069         * manual/install.texi (Tools for Compilation): Document a
10070         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10071         compiler verified to work.
10072         * INSTALL: Regenerated.
10074         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10075         redeclare with asm name.
10076         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10077         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10078         including <string.h>.
10079         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10080         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10081         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10082         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10083         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10084         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10085         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10087 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10089         * stdlib/strtol.c (__strtol): Use prototype definition.
10091         [BZ #17594]
10092         * stdlib/strtol.c (SYM__): New macro.
10093         (SYM__1): Likewise.
10094         (__strtol): Likewise.
10095         (strtol): Rename to __strtol and define as weak alias of
10096         __strtol.  Use libc_hidden_weak.
10098 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10100         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10101         Use numbered labels in inline assembly.
10103 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10105         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10106         Add setjmp LIBC_PROBE.
10107         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10108         Likewise.
10109         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10110         Add longjmp, longjmp_target LIBC_PROBE.
10111         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10112         Likewise.
10114 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10116         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10117         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10118         to get rid of unused variable warning.
10120 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10122         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10123         Check for unwind_backtrace ==  NULL only in SHARED case.
10124         (__backchain_backtrace): Compile only in SHARED case.
10125         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10126         Likewise.
10127         (__backchain_backtrace): Declare as static.
10129 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10131         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10132         (__libc_multiple_threads_ptr): Variable moved ...
10133         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10135 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10137         * conform/GlibcConform.pm: New file.
10138         * conform/conformtest.pl: Use GlibcConform module.
10139         * conform/linknamespace.pl: New file.
10140         * conform/list-header-symbols.pl: Likewise.
10141         * conform/Makefile (linknamespace-symlists-base): New variable.
10142         (linknamespace-symlists-tests): Likewise.
10143         (linknamespace-header-base): Likewise.
10144         (linknamespace-header-tests): Likewise.
10145         (tests-special): Add new tests.
10146         ($(linknamespace-symlists-tests)): New rule.
10147         (linknamespace-libs): New variable.
10148         ($(objpfx)symlist-stdlibs): New rule.
10149         ($(linknamespace-header-tests)): Likewise.
10150         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10151         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10152         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10153         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10154         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10155         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10156         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10157         (test-xfail-ISO/math.h/linknamespace): Likewise.
10158         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10159         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10160         (test-xfail-ISO/time.h/linknamespace): Likewise.
10161         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10162         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10163         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10164         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10165         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10166         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10167         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10168         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10169         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10170         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10171         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10172         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10173         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10174         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10175         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10176         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10177         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10178         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10179         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10180         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10181         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10182         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10183         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10184         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10185         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10186         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10187         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10188         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10189         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10190         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10191         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10192         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10193         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10194         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10195         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10196         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10197         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10198         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10199         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10200         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10201         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10202         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10203         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10204         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10205         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10206         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10207         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10208         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10209         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10210         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10211         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10212         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10213         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10214         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10215         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10216         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10217         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10218         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10219         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10220         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10221         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10222         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10223         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10224         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10225         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10226         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10227         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10228         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10229         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10230         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10231         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10232         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10233         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10234         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10235         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10236         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10237         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10238         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10239         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10240         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10241         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10242         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10243         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10244         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10245         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10246         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10247         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10248         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10249         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10250         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10251         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10252         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10253         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10254         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10255         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10256         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10257         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10258         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10259         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10260         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10261         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10262         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10263         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10264         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10265         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10266         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10267         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10268         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10269         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10270         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10271         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10272         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10273         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10274         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10275         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10276         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10277         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10278         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10279         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10280         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10281         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10282         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10283         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10284         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10285         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10286         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10287         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10288         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10289         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10290         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10291         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10292         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10293         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10294         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10295         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10296         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10297         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10298         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10299         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10300         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10301         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10302         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10303         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10304         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10305         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10306         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10307         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10308         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10309         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10310         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10312         [BZ #17589]
10313         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10314         of fgets_unlocked.
10316         [BZ #17585]
10317         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10318         (memmem): Rename to __memmem and define as weak alias of
10319         __memmem.  Use libc_hidden_weak.
10320         (__memmem): Use libc_hidden_def.
10321         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10322         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10323         memmem.
10325         [BZ #17582]
10326         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10327         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10328         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10329         and define as weak alias of __fgets_unlocked.  Use
10330         libc_hidden_weak.
10331         (__fgets_unlocked): Use libc_hidden_def.
10332         * include/stdio.h (__fgets_unlocked): Declare.  Use
10333         libc_hidden_proto.
10334         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10335         __fgets_unlocked instead of fgets_unlocked.
10336         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10337         (GET_NPROCS_CONF_PARSER): Likewise.
10338         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10339         (GET_NPROCS_CONF_PARSER): Likewise.
10341         [BZ #17574]
10342         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10343         weak alias of __wmemset.  Use libc_hidden_weak.
10344         (__wmemset): Use libc_hidden_def.
10345         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10346         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10347         of wmemset.
10349         [BZ #17573]
10350         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10351         with asm name __mempcpy.
10352         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10354         [BZ #17572]
10355         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10356         and define as weak alias of __rawmemchr.
10357         (__rawmemchr): Do not define as strong alias of rawmemchr.
10359         [BZ #17571]
10360         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10361         alias of __qsort_r.
10362         (qsort): Call __qsort_r instead of qsort_r.
10363         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10364         (__qsort_r): Declare.  Call libc_hidden_proto.
10365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10366         instead of qsort_r.
10367         * nscd/gai.c (__qsort_r): Define to qsort_r.
10368         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10369         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10370         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10372         [BZ #17570]
10373         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10374         define as weak alias of __malloc_info.
10376         [BZ #17584]
10377         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10378         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10379         (__rewinddir): Use libc_hidden_def.
10380         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10381         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10382         (__rewinddir): Use libc_hidden_def.
10383         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10384         weak alias of __rewinddir.  Don't use libc_hidden_def.
10385         (__rewinddir): Use libc_hidden_def.
10386         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10387         (__rewinddir): Use libc_hidden_proto.
10388         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10389         rewinddir.
10390         (__getcwd): Use __rewinddir instead of rewinddir.
10392         [BZ #17583]
10393         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10394         alias of __fileno.  Use libc_hidden_weak.
10395         (__fileno): Use libc_hidden_def.
10396         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10397         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10398         alias of __ftello.
10399         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10400         __ftello.
10401         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10402         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10403         libc_hidden_def.
10404         (fread_unlocked): Don't use libc_hidden_ver.
10405         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10406         and define as weak alias of __fread_unlocked.  Don't use
10407         libc_hidden_def.
10408         (__fread_unlocked): Use libc_hidden_def.
10409         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10410         (ftello): Don't use libc_hidden_proto.
10411         (__ftello): Declare.  Use libc_hidden_proto.
10412         (fread_unlocked): Don't use libc_hidden_proto.
10413         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10414         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10415         and __ftello instead of fileno, fread_unlocked and ftello.
10417 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10419         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10420         GOT12.
10421         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10422         Likewise.
10423         (_dl_start_user): Likewise.
10424         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10426 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10427             Siddhesh Poyarekar  <siddhesh@redhat.com>
10429         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10430         Move argv and envp down instead of moving argc up.
10431         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10433 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10435         [BZ #17506]
10436         * test-skeleton.c (main): Return successful if one of
10437         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10438         * string/tst-strcoll-overflow.c: Define expected status.
10440 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10442         [BZ #17475]
10443         * locale/iso-639.def: Define Bhili and Tulu language codes.
10445 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10447         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10449 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10451         [BZ #17555]
10452         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10454 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10456         * configure.ac: Updated check of minimal required version to
10457         2.22.
10458         * manual/install.texi (Tools for Compilation): Updated version
10459         number.
10460         * configure: Regenerated.
10461         * INSTALL: Likewise.
10463 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10465         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10466         __tls_get_addr.
10468 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10470         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10471         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10472         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10473         libc_hidden_weak.
10474         (waitpid): Define as alias of __waitpid.
10475         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10476         __waitpid.
10477         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10478         libc_hidden_weak.
10479         (waitpid): Define as alias of __waitpid.
10480         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10481         __libc_waitpid alias.
10482         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10484         Likewise.
10485         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10487         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10488         alias.
10489         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10490         __waitpid.
10491         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10492         libc_hidden_weak.
10493         (waitpid): Define as alias of __waitpid.
10495 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10497         * manual/llio.texi: Add comment that write safety has been
10498         fixed in Linux.
10500         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10501         (localplt-build-dso): Add elf/ld.so.
10502         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10503         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10504         and free for ld.so.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10506         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10508         Likewise.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10510         Likewise.
10511         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10512         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10513         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10514         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10515         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10516         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10517         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10518         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10519         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10520         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10521         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10523 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #14132]
10526         * include/libc-symbols.h (INTUSE): Remove macro.
10527         (INTDEF): Likewise.
10528         (INTVARDEF): Likewise.
10529         (_INTVARDEF): Likewise.
10530         (INTDEF2): Likewise.
10531         (INTVARDEF2): Likewise.
10532         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10533         rtld_hidden_def instead of INTVARDEF.
10534         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10535         (_dl_starting_up_internal): Remove declaration.
10536         (_dl_starting_up): Use rtld_hidden_proto.
10537         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10538         declaration.
10539         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10540         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10541         _dl_starting_up.
10542         * elf/dl-writev.h (_dl_writev): Likewise.
10543         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10544         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10545         _dl_starting_up_internal.
10547 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10549         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10550         test-skeleton.c.
10552 2014-11-05  Will Newton  <will.newton@linaro.org>
10554         * benchtests/Makefile: (bench-malloc): Add malloc thread
10555         scalability benchmark.
10556         * benchtests/bench-malloc-threads.c: New file.
10558 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10560         * sysdeps/aarch64/strchrnul.S: New file.
10562 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10564         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10565         definition.
10566         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10567         Likwise.
10568         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10569         Likewise.
10570         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10571         Likewise.
10572         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10573         Likewise.
10574         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10575         Likewise.
10577 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10579         * catgets/test-gencat.c: Use test-skeleton.c.
10580         * catgets/tst-catgets.c: Likewise.
10581         * csu/tst-empty.c: Likewise.
10582         * elf/tst-audit2.c: Likewise.
10583         * elf/tst-global1.c: Likewise.
10584         * elf/tst-pathopt.c: Likewise.
10585         * elf/tst-piemod1.c: Likewise.
10586         * elf/tst-tls10.c: Likewise.
10587         * elf/tst-tls11.c: Likewise.
10588         * elf/tst-tls12.c: Likewise.
10589         * gnulib/tst-gcc.c: Likewise.
10590         * iconvdata/tst-e2big.c: Likewise.
10591         * iconvdata/tst-loading.c: Likewise.
10592         * iconv/tst-iconv1.c: Likewise.
10593         * iconv/tst-iconv2.c: Likewise.
10594         * inet/test-inet6_opt.c: Likewise.
10595         * inet/tst-gethnm.c: Likewise.
10596         * inet/tst-network.c: Likewise.
10597         * inet/tst-ntoa.c: Likewise.
10598         * intl/tst-codeset.c: Likewise.
10599         * intl/tst-gettext2.c: Likewise.
10600         * intl/tst-gettext3.c: Likewise.
10601         * intl/tst-ngettext.c: Likewise.
10602         * intl/tst-translit.c: Likewise.
10603         * io/test-stat.c: Likewise.
10604         * libio/test-fmemopen.c: Likewise.
10605         * libio/tst-freopen.c: Likewise.
10606         * libio/tst-sscanf.c: Likewise.
10607         * libio/tst-ungetwc1.c: Likewise.
10608         * libio/tst-ungetwc2.c: Likewise.
10609         * libio/tst-widetext.c: Likewise.
10610         * localedata/tst-ctype.c: Likewise.
10611         * localedata/tst-digits.c: Likewise.
10612         * localedata/tst-leaks.c: Likewise.
10613         * localedata/tst-mbswcs1.c: Likewise.
10614         * localedata/tst-mbswcs2.c: Likewise.
10615         * localedata/tst-mbswcs3.c: Likewise.
10616         * localedata/tst-mbswcs4.c: Likewise.
10617         * localedata/tst-mbswcs5.c: Likewise.
10618         * localedata/tst-setlocale.c: Likewise.
10619         * localedata/tst-trans.c: Likewise.
10620         * localedata/tst-wctype.c: Likewise.
10621         * localedata/tst-xlocale1.c: Likewise.
10622         * login/tst-grantpt.c: Likewise.
10623         * malloc/tst-calloc.c: Likewise.
10624         * malloc/tst-malloc.c: Likewise.
10625         * malloc/tst-mallocstate.c: Likewise.
10626         * malloc/tst-mcheck.c: Likewise.
10627         * malloc/tst-mtrace.c: Likewise.
10628         * malloc/tst-obstack.c: Likewise.
10629         * math/atest-exp2.c: Likewise.
10630         * math/atest-exp.c: Likewise.
10631         * math/atest-sincos.c: Likewise.
10632         * math/test-matherr.c: Likewise.
10633         * math/test-misc.c: Likewise.
10634         * math/test-powl.c: Likewise.
10635         * math/tst-definitions.c: Likewise.
10636         * misc/tst-dirname.c: Likewise.
10637         * misc/tst-efgcvt.c: Likewise.
10638         * misc/tst-fdset.c: Likewise.
10639         * misc/tst-hsearch.c: Likewise.
10640         * misc/tst-mntent2.c: Likewise.
10641         * nptl/tst-sem7.c: Likewise.
10642         * nptl/tst-sem8.c: Likewise.
10643         * nptl/tst-sem9.c: Likewise.
10644         * nss/test-netdb.c: Likewise.
10645         * posix/tst-fnmatch.c: Likewise.
10646         * posix/tst-getlogin.c: Likewise.
10647         * posix/tst-gnuglob.c: Likewise.
10648         * posix/tst-mmap.c: Likewise.
10649         * pwd/tst-getpw.c: Likewise.
10650         * resolv/tst-inet_ntop.c: Likewise.
10651         * rt/tst-timer.c: Likewise.
10652         * stdio-common/test-fseek.c: Likewise.
10653         * stdio-common/test-popen.c: Likewise.
10654         * stdio-common/test-vfprintf.c: Likewise.
10655         * stdio-common/tst-cookie.c: Likewise.
10656         * stdio-common/tst-fileno.c: Likewise.
10657         * stdio-common/tst-gets.c: Likewise.
10658         * stdio-common/tst-obprintf.c: Likewise.
10659         * stdio-common/tst-perror.c: Likewise.
10660         * stdio-common/tst-sprintf2.c: Likewise.
10661         * stdio-common/tst-sprintf3.c: Likewise.
10662         * stdio-common/tst-sprintf.c: Likewise.
10663         * stdio-common/tst-swprintf.c: Likewise.
10664         * stdio-common/tst-tmpnam.c: Likewise.
10665         * stdio-common/tst-unbputc.c: Likewise.
10666         * stdio-common/tst-wc-printf.c: Likewise.
10667         * stdlib/tst-environ.c: Likewise.
10668         * stdlib/tst-fmtmsg.c: Likewise.
10669         * stdlib/tst-limits.c: Likewise.
10670         * stdlib/tst-rand48-2.c: Likewise.
10671         * stdlib/tst-rand48.c: Likewise.
10672         * stdlib/tst-random2.c: Likewise.
10673         * stdlib/tst-random.c: Likewise.
10674         * stdlib/tst-strtol.c: Likewise.
10675         * stdlib/tst-strtoll.c: Likewise.
10676         * stdlib/tst-tls-atexit.c: Likewise.
10677         * stdlib/tst-xpg-basename.c: Likewise.
10678         * string/test-ffs.c: Likewise.
10679         * string/tst-bswap.c: Likewise.
10680         * string/tst-inlcall.c: Likewise.
10681         * string/tst-strtok.c: Likewise.
10682         * string/tst-strxfrm.c: Likewise.
10683         * sysdeps/x86_64/tst-audit10.c: Likewise.
10684         * sysdeps/x86_64/tst-audit3.c: Likewise.
10685         * sysdeps/x86_64/tst-audit4.c: Likewise.
10686         * sysdeps/x86_64/tst-audit5.c: Likewise.
10687         * time/tst-ftime_l.c: Likewise.
10688         * time/tst-getdate.c: Likewise.
10689         * time/tst-mktime3.c: Likewise.
10690         * time/tst-mktime.c: Likewise.
10691         * time/tst-posixtz.c: Likewise.
10692         * time/tst-strptime2.c: Likewise.
10693         * time/tst-strptime3.c: Likewise.
10694         * wcsmbs/tst-btowc.c: Likewise.
10695         * wcsmbs/tst-mbrtowc.c: Likewise.
10696         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10697         * wcsmbs/tst-wchar-h.c: Likewise.
10698         * wcsmbs/tst-wcpncpy.c: Likewise.
10699         * wcsmbs/tst-wcrtomb.c: Likewise.
10700         * wcsmbs/tst-wcsnlen.c: Likewise.
10701         * wcsmbs/tst-wcstof.c: Likewise.
10703 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10705         [BZ #14132]
10706         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10707         INTDEF.
10708         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10709         declaration.
10710         (_dl_mcount): Use rtld_hidden_proto.
10711         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10712         _dl_mcount.
10713         * elf/rtld.c (_rtld_global_ro): Likewise.
10715         [BZ #14132]
10716         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10717         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10718         of _dl_init_internal.
10719         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10720         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10721         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10722         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10723         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10724         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10725         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10726         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10727         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10728         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10729         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10730         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10731         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10732         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10733         * sysdeps/tile/dl-start.S (_start): Likewise.
10734         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10735         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10737         [BZ #14132]
10738         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10739         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10740         (rtld_progname): Make macro definition unconditional.
10741         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10742         INTDEF.
10743         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10744         (dl_main): Likewise.
10745         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10746         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10747         instead of _dl_argv_internal.
10748         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10749         __GI__dl_argv instead of INTUSE(_dl_argv).
10750         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10751         __GI__dl_argv instead of _dl_argv_internal.
10753         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10754         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10755         macro.
10756         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10757         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10758         New macro.
10759         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10760         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10761         macro.
10762         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10763         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10765 2014-11-04  Andreas Schwab  <schwab@suse.de>
10767         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10769 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10771         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10772         mtvsrd instruction in binary form.
10774 2014-11-03  Andreas Schwab  <schwab@suse.de>
10776         [BZ #17522]
10777         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10778         for less than MB_LEN_MAX use a local buffer of that size.
10779         * libio/tst-fputws.c: New file.
10780         * libio/Makefile (tests): Add tst-fputws.
10782 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10784         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10785         the size of the fpu_fr.fpu_dregs[] array.
10787 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10789         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10790         (__nanosleep): Do not define as alias.
10791         (nanosleep): Define as alias of __nanosleep.
10792         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10793         __libc_nanosleep name.
10795 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10797         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10798         install.texi in comment.
10800 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10802         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10803         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10804         ... add here and use lwsync or sync ...
10805         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10806         ... and add here using lwsync.
10808 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10810         * elf/dl-machine-reject-phdr.h: New file.
10811         * elf/dl-load.c: #include that.
10812         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10813         if that returned true.
10815 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10817         [BZ #17496]
10818         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10819         gen-as-const-headers chunk.  Add a big scare comment after the last
10820         safe place to touch before-compile.
10822 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10824         * manual/install.texi (Tools for Compilation): Update autoconf
10825         version requirements.
10826         * INSTALL: Regenerated.
10828         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10829         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10830         (__libc_pselect): Likewise.
10832         [BZ #14138]
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10838 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10840         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10841         correct barrier instruction.
10842         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10843         Likewise.
10844         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10845         Likewise.
10847 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10849         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10850         after defining inlines.  Instead, just use parens to defeat macro
10851         expansion of __isctype in its declaration.
10853 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10855         * include/sys/uio.h (__libc_readv): Remove declaration.
10856         (__libc_writev): Likewise.
10857         * misc/readv.c (__libc_readv): Rename to __readv.
10858         (__readv): Do not define as alias.
10859         (readv): Define as alias of __readv.
10860         * misc/writev.c (__libc_writev): Rename to __writev.
10861         (__writev): Do not define as alias.
10862         (writev): Define as alias of __writev.
10863         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10864         (__readv): Do not define as alias.
10865         (readv): Define unconditionally as alias of __readv.
10866         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10867         (__writev): Do not define as alias.
10868         (writev): Define unconditionally as alias of __writev.
10869         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10870         name.
10871         (writev): Do not define __libc_writev name.
10873 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10875         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10876         (convert_charseq): New function, broken out of ...
10877         (use_from_charmap): ... here.  Call it.
10878         (use_to_charmap): Use convert_charseq and free instead of duplicating
10879         its code with a variable-length stack struct.
10881 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10883         * include/fcntl.h (__libc_creat): Remove declaration.
10884         * io/creat.c (__libc_creat): Rename to creat.
10885         (creat): Do not define as alias.
10886         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10887         of creat instead of __libc_creat.
10888         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10889         to creat.
10890         (creat): Do not define as alias.
10891         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10892         __libc_creat.
10893         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10894         __libc_creat name.
10895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10896         Likewise.
10898 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10900         * manual/llio.texi: Add comments discussing why write() may be
10901         considered MT-unsafe on Linux.
10903 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10905         * dl-load.c (local_strdup): Remove.
10906         (expand_dynamic_string_token): Use __strdup.
10907         (decompose_rpath): Likewise.
10908         (_dl_map_object): Likewise.
10910 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10912         [BZ #14132]
10913         * sysdeps/generic/unwind-dw2-fde.c
10914         (__register_frame_info_bases_internal): Do not declare.
10915         (__register_frame_info_table_bases_internal): Likewise.
10916         (__deregister_frame_info_bases_internal): Likewise.
10917         (__register_frame_info_bases): Declare and use hidden_proto before
10918         definition.  Use hidden_def instead of INTDEF.
10919         (__register_frame_info_table_bases): Likewise.
10920         (__deregister_frame_info_bases): Likewise.
10921         (__register_frame_info): Do not use INTUSE.
10922         (__register_frame): Likewise.
10923         (__register_frame_info_table): Likewise.
10924         (__register_frame_table): Likewise.
10925         (__deregister_frame_info): Likewise.
10926         (__deregister_frame): Likewise.
10928 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10931         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10932         not undefine.
10933         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10934         Likewise.
10935         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10936         Likewise.
10938 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10940         [BZ #14138]
10941         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10942         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10943         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10944         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10945         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10946         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10947         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10948         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10949         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10950         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10951         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10952         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10953         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10954         syscall.
10955         (setfsuid): Likewise.
10956         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10957         (setfsuid): Likewise.
10958         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10959         (setfsuid): Likewise.
10960         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10961         Likewise.
10962         (setfsuid): Likewise.
10963         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10964         (setfsuid): Likewise.
10965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10966         Likewise.
10967         (setfsuid): Likewise.
10969 2014-10-27  Andreas Schwab  <schwab@suse.de>
10971         [BZ #17501]
10972         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10973         check for Slow_SSE4_2 feature bit.
10974         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10975         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10976         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10977         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10979 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10981         * configure.ac: Validate compiler version with a empirical test of
10982         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10983         $CC -v output.
10984         * configure: Regenerated.
10986         * inet/htons.c (htons): Prototypify.
10987         * inet/htonl.c (htonl): Likewise.
10989 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10991         * string/strncat.c (strncat): Improve performance by using strlen.
10993 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10995         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10997 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10999         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11000         Call libc_fetestexcept_aarch64.
11002 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11004         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11005         Call libc_feholdexcept_aarch64.
11007 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11009         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11010         Call get_rounding_mode.
11012 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11014         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11015         Simplify logic.
11017 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11019         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11020         Simplify logic.
11022 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11024         [BZ #14138]
11025         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11026         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11027         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11028         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11029         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11030         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11031         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11032         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11033         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11034         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11035         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11036         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11037         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11038         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11039         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11040         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11041         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11042         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11043         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11044         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11045         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11046         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11047         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11048         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11049         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11050         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11051         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11052         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11053         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11054         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11055         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11056         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11057         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11058         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11059         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11060         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11061         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11062         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11063         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11064         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11065         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11066         syscall.
11067         (geteuid): Likewise.
11068         (getgid): Likewise.
11069         (getuid): Likewise.
11070         (getresgid): Likewise.
11071         (getresuid): Likewise.
11072         (getgroups): Likewise.
11073         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11074         (geteuid): Likewise.
11075         (getgid): Likewise.
11076         (getuid): Likewise.
11077         (getresgid): Likewise.
11078         (getresuid): Likewise.
11079         (getgroups): Likewise.
11080         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11081         (geteuid): Likewise.
11082         (getgid): Likewise.
11083         (getuid): Likewise.
11084         (getresgid): Likewise.
11085         (getresuid): Likewise.
11086         (getgroups): Likewise.
11087         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11088         Likewise.
11089         (geteuid): Likewise.
11090         (getgid): Likewise.
11091         (getuid): Likewise.
11092         (getresgid): Likewise.
11093         (getresuid): Likewise.
11094         (getgroups): Likewise.
11095         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11096         (geteuid): Likewise.
11097         (getgid): Likewise.
11098         (getuid): Likewise.
11099         (getresgid): Likewise.
11100         (getresuid): Likewise.
11101         (getgroups): Likewise.
11102         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11103         Likewise.
11104         (geteuid): Likewise.
11105         (getgid): Likewise.
11106         (getuid): Likewise.
11107         (getgroups): Likewise.
11109         [BZ #14138]
11110         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11111         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11112         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11113         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11114         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11115         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11116         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11117         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11118         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11119         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11120         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11121         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11122         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11123         __chown.
11124         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11125         (lchown): Likewise.
11126         (fchown): Likewise.
11127         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11128         Likewise.
11129         (lchown): Likewise.
11130         (fchown): Likewise.
11131         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11132         (lchown): Likewise.
11133         (fchown): Likewise.
11134         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11135         Likewise.
11136         (lchown): Likewise.
11137         (fchown): Likewise.
11139 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11141         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11142         Simplify logic.
11144 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11146         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11147         Cleanup logic.
11149 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11151         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11152         Remove unused include.
11154 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11156         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11157         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11158         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11159         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11161 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11162             Helge Deller <deller@gmx.de>
11164         [BZ #17508]
11165         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11166         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11167         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11169 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11171         [BZ #14132]
11172         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11173         Remove macro definition.
11174         (__ashrdi3_v_glibc20): Likewise.
11175         (__lshrdi3_v_glibc20): Likewise.
11176         (__cmpdi2_v_glibc20): Likewise.
11177         (__ucmpdi2_v_glibc20): Likewise.
11178         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11179         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11180         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11181         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11182         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11183         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11185 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11187         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11188         old GNU extension [0] syntax.
11189         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11190         alloca rather than an array member with variable length.
11191         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11192         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11193         (parse_opt): ... here.  Likewise use alloca there.
11194         Validate the -i argument before checking for rootness.
11195         (send_shutdown): New function, broken out of ...
11196         (parse_opt): ... here.
11198 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11200         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11201         macro to get at the _rt_local_ro field.
11202         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11203         ([PIC] case) or _dl_hwcap ([!PIC] case).
11204         * sysdeps/arm/setjmp.S: Likewise.
11206         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11207         * sysdeps/arm/configure.ac: New check to define it.
11208         * sysdeps/arm/configure: Regenerated.
11209         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11210         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11211         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11212         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11213         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11214         Use move/movt pair instead of a load.
11215         (LDST_GLOBAL): Macro removed.
11216         (LDR_GLOBAL): New macro replaces it.
11217         (LDR_HIDDEN): New macro.
11218         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11219         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11221         * setjmp/tst-setjmp-static.c: New file.
11222         * setjmp/Makefile (tests): Add it.
11223         (tests-static): New variable.
11225 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11227         [BZ #17485]
11228         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11230 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11232         [BZ #14132]
11233         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11235 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11237         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11239 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11241         * io/fts.c (dirent_not_directory): New function.
11242         (fts_build): Call it.
11244 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11246         * nptl/version.c (__nptl_main): Use normal __write rather than
11247         INTERNAL_SYSCALL.
11248         (banner): Update copyright years.
11250         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11251         gettimeofday.
11252         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11253         * nptl/pthread_cond_timedwait.c: Likewise.
11254         * nptl/pthread_mutex_timedlock.c: Likewise.
11255         * nptl/sem_timedwait.c: Likewise.
11257         * sysdeps/nptl/bits/libc-lock.h
11258         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11259         (__libc_lock_init_recursive): Return void, not 0.
11260         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11261         (__libc_rwlock_init): Likewise.
11262         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11264 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11266         [BZ #15215]
11267         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11268         (__pthread_once_slow): ... here.
11269         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11270         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11272 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11274         [BZ #15215]
11275         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11276         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11277         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11278         * nptl/pthread_once.c (__pthread_once): Likewise.
11279         Update comments.
11281 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #14138]
11284         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11285         name.
11286         (writev): Use __libc_writev as strong name.
11287         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11288         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11290 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11292         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11294         * sysdeps/i386/nptl/tls.h
11295         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11296         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11297         New macros.
11298         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11299         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11300         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11301         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11302         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11303         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11305         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11306         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11307         on [__NR_futex].
11308         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11309         broken out of ...
11310         (__pthread_mutex_init): ... here.  Call it.
11311         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11312         Conditionalize PI cases on [__NR_futex].
11313         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11314         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11315         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11317         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11318         conditional on [SIGSETXID].
11319         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11320         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11321         is defined.  Likewise for SIGSETXID.
11322         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11323         Conditionalize definitions on [SIGSETXID].
11324         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11325         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11326         unblocking on [SIGCANCEL].
11328         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11329         [__NR_set_robust_list].
11331 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11334         (do_compare): Likewise.
11336 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11338         [BZ #15884]
11339         * string/strcoll_l.c: Don't include stdio.h.
11340         (coll_seq): Remove members idxarr and rulearr.
11341         (get_next_seq_cached): Remove function.
11342         (get_next_seq): Likewise.
11343         (get_next_seq_nocache): Rename to get_next_seq.
11344         (do_compare): Remove function.
11345         (do_compare_nocache): Rename to do_compare.
11346         (STRCOLL): Remove weight and rules cache.
11348 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11350         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11351         * sysdeps/arm/sfp-machine.h: ... to here.
11352         * sysdeps/arm/Implies: Remove arm/soft-fp.
11354 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11356         * conform/data/sys/utsname.h-data (*_t): Allow.
11357         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11358         [POSIX] (WEXITED): Do not expect constant.
11359         [POSIX] (WSTOPPED): Likewise.
11360         [POSIX] (WNOHANG): Likewise.
11361         [POSIX] (WNOWAIT): Likewise.
11362         [POSIX] (siginfo_t): Do not expect type or elements.
11363         [POSIX] (pid_t): Do not expect type.
11364         [POSIX] (signal.h): Do not allow header.
11365         [POSIX] (sys/resource.h): Likewise.
11366         [POSIX] (si_*): Do not allow pattern.
11367         [POSIX] (W*): Likewise.
11368         [POSIX] (P_*): Likewise.
11369         [POSIX] (BUS_*): Likewise.
11370         [POSIX] (CLD_*): Likewise.
11371         [POSIX] (FPE_*): Likewise.
11372         [POSIX] (ILL_*): Likewise.
11373         [POSIX] (POLL_*): Likewise.
11374         [POSIX] (SEGV_*): Likewise.
11375         [POSIX] (SI_*): Likewise.
11376         [POSIX] (TRAP_*): Likewise.
11377         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11378         variable.
11380 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11382         [BZ #12926]
11383         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11384         infinite loop when __recvmsg returns 0.
11386 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11388         * CANCEL-FCT-WAIVE: Remove file.
11389         * CANCEL-FILE-WAIVE: Likewise.
11391         [BZ #14132]
11392         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11393         instead of INTVARDEF.
11394         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11395         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11396         rtld_hidden_data_def instead of INTVARDEF.
11397         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11398         * elf/dl-deps.c (expand_dst): Likewise.
11399         * elf/dl-load.c (_dl_dst_count): Likewise.
11400         (_dl_dst_substitute): Likewise.
11401         (decompose_rpath): Likewise.
11402         (_dl_init_paths): Likewise.
11403         (open_path): Likewise.
11404         (_dl_map_object): Likewise.
11405         * elf/rtld.c (dl_main): Likewise.
11406         (process_dl_audit): Likewise.
11407         (process_envvars): Likewise.
11408         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11409         Remove declaration.
11410         (__libc_enable_secure): Use rtld_hidden_proto.
11412 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11414         * elf/dl-load.c
11415         (add_path): New function broken out of _dl_rtld_di_serinfo.
11416         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11418 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11420         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11421         parentheses around macro arguments.
11422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11433         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11434         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11435         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11437         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11438         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11451         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11452         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11453         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11455         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11456         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11457         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11458         Likewise.
11459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11466         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11467         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11468         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11469         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11470         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11471         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11475         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11479         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11480         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11483         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11484         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11485         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11486         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11487         (_FP_FRAC_SRS_1): Likewise.
11488         (_FP_FRAC_CLZ_1): Likewise.
11489         (_FP_MUL_MEAT_1_imm): Likewise.
11490         (_FP_MUL_MEAT_1_wide): Likewise.
11491         (_FP_MUL_MEAT_1_hard): Likewise.
11492         (_FP_SQRT_MEAT_1): Likewise.
11493         (_FP_FRAC_ASSEMBLE_1): Likewise.
11494         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11495         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11496         (__FP_CLZ_2): Likewise.
11497         (_FP_MUL_MEAT_2_wide): Likewise.
11498         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11499         (_FP_MUL_MEAT_2_gmp): Likewise.
11500         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11501         (_FP_SQRT_MEAT_2): Likewise.
11502         (_FP_FRAC_ASSEMBLE_2): Likewise.
11503         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11504         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11505         (_FP_FRAC_CLZ_4): Likewise.
11506         (_FP_MUL_MEAT_4_wide): Likewise.
11507         (_FP_MUL_MEAT_4_gmp): Likewise.
11508         (_FP_SQRT_MEAT_4): Likewise.
11509         (_FP_FRAC_ASSEMBLE_4): Likewise.
11510         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11511         * soft-fp/op-common.h (_FP_CMP): Likewise.
11512         (_FP_CMP_EQ): Likewise.
11513         (_FP_CMP_UNORD): Likewise.
11514         (_FP_TO_INT): Likewise.
11515         (_FP_FROM_INT): Likewise.
11516         [!__FP_CLZ] (__FP_CLZ): Likewise.
11517         (_FP_DIV_HELP_imm): Likewise.
11518         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11519         Likewise.
11520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11522         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11526         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11529         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11531         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11532         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11533         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11534         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11535         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11536         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11546         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11549         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11550         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11551         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11552         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11553         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11554         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11555         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11556         (FP_UNPACK_RAW_SP): Likewise.
11557         (FP_PACK_RAW_S): Likewise.
11558         (FP_PACK_RAW_SP): Likewise.
11559         (FP_UNPACK_S): Likewise.
11560         (FP_UNPACK_SP): Likewise.
11561         (FP_UNPACK_SEMIRAW_S): Likewise.
11562         (FP_UNPACK_SEMIRAW_SP): Likewise.
11563         (FP_PACK_S): Likewise.
11564         (FP_PACK_SP): Likewise.
11565         (FP_PACK_SEMIRAW_S): Likewise.
11566         (FP_PACK_SEMIRAW_SP): Likewise.
11567         (_FP_SQRT_MEAT_S): Likewise.
11568         (FP_CMP_S): Likewise.
11569         (FP_CMP_EQ_S): Likewise.
11570         (FP_CMP_UNORD_S): Likewise.
11571         (FP_TO_INT_S): Likewise.
11572         (FP_FROM_INT_S): Likewise.
11574         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11576         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11577         (FP_EX_INVALID_IMZ): Likewise.
11578         (FP_EX_INVALID_IMZ_FMA): Likewise.
11579         (FP_EX_INVALID_ISI): Likewise.
11580         (FP_EX_INVALID_ZDZ): Likewise.
11581         (FP_EX_INVALID_IDI): Likewise.
11582         (FP_EX_INVALID_SQRT): Likewise.
11583         (FP_EX_INVALID_CVI): Likewise.
11584         (FP_EX_INVALID_VC): Likewise.
11585         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11586         "invalid" exceptions.
11587         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11588         (_FP_ADD_INTERNAL): Likewise.
11589         (_FP_MUL): Likewise.
11590         (_FP_FMA): Likewise.
11591         (_FP_DIV): Likewise.
11592         (_FP_CMP_CHECK_NAN): Likewise.
11593         (_FP_SQRT): Likewise.
11594         (_FP_TO_INT): Likewise.
11595         (FP_EXTEND): Likewise.
11597 2014-10-09  Allan McRae  <allan@archlinux.org>
11599         * po/fr.po: Update French translation from translation project.
11601 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11603         [BZ #14132]
11604         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11605         of INTDEF.
11606         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11607         (__cxa_atexit): Use libc_hidden_proto.
11608         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11610         [BZ #14132]
11611         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11612         declaration.
11613         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11614         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11615         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11616         [!_ISOMAC] (__iswctype_internal): Likewise.
11617         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11618         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11619         alias.
11620         (fcntl): Remove __fcntl_internal alias.
11621         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11622         __connect_internal alias.
11623         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11624         Likewise.
11626         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11627         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11628         FP_DENORM_ZERO.
11629         (_FP_CHECK_FLUSH_ZERO): New macro.
11630         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11631         (_FP_CMP): Likewise.
11632         (_FP_CMP_EQ): Likewise.
11633         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11634         FP_DENORM_ZERO.
11635         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11636         (FP_TRUNC): Likewise.
11638         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11639         treated as invalid conversion, not as normal exponent.
11641         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11642         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11643         (_FP_CMP_EQ): Likewise.
11644         (_FP_CMP_UNORD): Likewise.
11645         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11646         (FP_CMP_EQ_D): Likewise.
11647         (FP_CMP_UNORD_D): Likewise.
11648         * soft-fp/extended.h (FP_CMP_E): Likewise.
11649         (FP_CMP_EQ_E): Likewise.
11650         (FP_CMP_UNORD_E): Likewise.
11651         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11652         (FP_CMP_EQ_Q): Likewise.
11653         (FP_CMP_UNORD_Q): Likewise.
11654         * soft-fp/single.h (FP_CMP_S): Likewise.
11655         (FP_CMP_EQ_S): Likewise.
11656         (FP_CMP_UNORD_S): Likewise.
11657         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11658         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11659         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11660         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11661         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11662         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11663         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11664         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11665         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11666         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11667         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11668         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11669         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11670         to FP_CMP_Q.
11671         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11672         FP_CMP_Q.
11673         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11674         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11675         FP_CMP_EQ_Q.
11676         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11677         FP_CMP_Q.
11678         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11679         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11680         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11681         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11682         FP_CMP_EQ_Q.
11683         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11684         FP_CMP_Q.
11685         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11686         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11687         FP_CMP_EQ_Q.
11688         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11689         FP_CMP_Q.
11690         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11691         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11692         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11693         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11694         FP_CMP_EQ_Q.
11696         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11697         a subnormal result, set the underflow exception if trapping on
11698         underflow is enabled.
11699         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11700         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11701         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11702         redefine to 0.
11703         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11704         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11705         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11706         * soft-fp/extendxftf2.c (__extendxftf2): Use
11707         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11709         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11710         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11711         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11712         FP_HANDLE_EXCEPTIONS.
11713         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11714         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11715         FP_HANDLE_EXCEPTIONS.
11716         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11717         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11718         FP_HANDLE_EXCEPTIONS.
11719         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11720         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11721         FP_HANDLE_EXCEPTIONS.
11723 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11725         [BZ #14132]
11726         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11727         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11728         use INTUSE.
11729         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11730         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11731         Remove alias.
11732         (__adjtimex): Define using libc_hidden_ver.
11733         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11734         Remove declaration.
11735         (ntp_gettime): Call __adjtimex directly.
11736         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11737         Remove declaration.
11738         (ntp_gettimex): Call __adjtimex directly.
11739         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11740         __adjtimex_internal alias.
11742 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11744         [BZ #17460]
11745         * nscd/nscd.c (more_help): Rewrite list of tables collection
11746         using xstrdup and asprintf.
11748         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11750 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11751             Roland McGrath  <roland@hack.frob.com>
11753         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11754         (do_lookup_unique): ... local function 'enter' here; update callers.
11756 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11758         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11759         compat_symbol calls on [SHARED].
11760         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11761         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11762         Remove.
11763         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11764         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11765         (oldsetrlimit): Remove.
11766         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11768         (lchown): New syscall entry.
11769         (oldsetrlimit): Remove.
11770         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11771         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11772         (oldsetrlimit): Remove.
11773         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11775         [BZ #14138]
11776         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11777         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11778         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11779         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11780         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11781         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11782         (fchown): Likewise.
11783         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11784         (fchown): Likewise.
11785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11786         Likewise.
11788 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11790         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11791         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11792         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11793         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11794         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11795         Likewise.
11796         (__old_sem_post): Likewise.
11798 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11800         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11801         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11802         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11803         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11804         Use INLINE_VSYSCALL macro.
11805         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11806         __vdso_clock_gettime.
11807         * sysdeps/unix/sysv/linux/tile/init-first.c
11808         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11809         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11810         __vdso_clock_gettime.
11812         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11813         to set up frame more cleanly.
11815         * sysdeps/tile/memcmp.c: New file.
11817         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11819         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11820         * sysdeps/tile/tilegx/strcasestr.c: New file.
11821         * sysdeps/tile/tilegx/strnlen.c: New file.
11822         * sysdeps/tile/tilegx/strstr.c: New file.
11824         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11826 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11828         * nptl/tst-setuid3.c: Write errors to stdout.
11830 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11832         * elf/dl-deps.c
11833         (preload): New functions broken out of _dl_map_object_deps.
11834         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11836 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11838         [BZ #14138]
11839         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11840         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11842 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11844         * sysdeps/mips/strcmp.S: New.
11846 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11848         [BZ #14138]
11849         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11850         (linkat): Likewise.
11851         (mkdirat): Likewise.
11852         (readlinkat): Likewise.
11853         (renameat): Likewise.
11854         (symlinkat): Likewise.
11855         (unlinkat): Likewise.
11856         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11857         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11858         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11859         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11860         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11861         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11862         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11864 2014-09-30  Will Newton  <will.newton@linaro.org>
11866         * math/math.h: Define long double math functions if
11867         _LIBC_TEST is defined.
11868         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11870         * localedata/Makefile: Move assignment to tests-special
11871         into an ifdef testing run-built-tests.
11872         * timezone/Makefile: Likewise.
11874 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11876         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11877         with $(BASH) not $(SHELL).
11879 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11880             Matthew LeGendre  <legendre1@llnl.gov>
11882         [BZ #17411]
11883         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11884         l_reloc_result.
11886 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11888         * stdio-common/printf_fp.c
11889         (hack_digit): New function, broken out of ...
11890         (__printf_fp): ... local function here.  Update call sites.
11891         hack_digit now takes an additional parameter that is a pointer
11892         to a struct of the referenced locals.  Those locals moved inside
11893         the struct and references updated.
11895 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11897         * aclocal.m4: Require autoconf 2.69.
11898         * configure: Regenerated.
11899         * sysdeps/aarch64/configure: Likewise.
11900         * sysdeps/alpha/configure: Likewise.
11901         * sysdeps/arm/armv7/configure: Likewise.
11902         * sysdeps/arm/configure: Likewise.
11903         * sysdeps/ia64/configure: Likewise.
11904         * sysdeps/mach/configure: Likewise.
11905         * sysdeps/mips/configure: Likewise.
11906         * sysdeps/s390/configure: Likewise.
11907         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11910         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11911         file.
11912         * sysdeps/ia64/configure.ac: Likewise.
11914 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11917         specify symbol version for ld.so.  Do not include entry for
11918         libpthread.
11919         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11920         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11921         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11923         [BZ #14171]
11924         * Makeconfig [$(build-shared) = yes]
11925         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11926         makefiles.
11927         [$(build-shared) = yes && $(soversions.mk-done) = t]
11928         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11929         [$(build-shared) = yes && $(soversions.mk-done) = t]
11930         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11931         to Makerules.
11932         [$(build-shared) = yes && $(soversions.mk-done) = t]
11933         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11934         here.
11935         [$(build-shared) = yes && $(soversions.mk-done) = t]
11936         (common-generated): Don't append gnu/lib-names.h and
11937         gnu/lib-names.stmp here.
11938         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11939         (lib-names-h-abi): New variable.
11940         [$(build-shared) = yes && $(soversions.mk-done) = t]
11941         (lib-names-stmp-abi): Likewise.
11942         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11943         abi-variants] (before-compile): Append
11944         $(common-objpfx)$(lib-names-h-abi).
11945         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11946         abi-variants] (common-generated): Append gnu/lib-names.h.
11947         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11948         abi-variants] (install-others-nosubdir): Depend on
11949         $(inst_includedir)/$(lib-names-h-abi).
11950         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11951         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11952         [$(build-shared) = yes && $(soversions.mk-done) = t]
11953         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11954         [$(build-shared) = yes && $(soversions.mk-done) = t]
11955         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11956         [$(build-shared) = yes && $(soversions.mk-done) = t]
11957         (common-generated): Append $(lib-names-h-abi) and
11958         $(lib-names-stmp-abi).
11959         * scripts/lib-names.awk: Do not handle multi being set.
11960         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11961         Remove variable.
11962         (abi-lp64_be-ld-soname): Likewise.
11963         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11964         Likewise.
11965         (abi-hard-ld-soname): Likewise.
11966         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11967         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11968         Remove variable.
11969         (abi-o32_hard-ld-soname): Likewise.
11970         (abi-o32_soft_2008-ld-soname): Likewise.
11971         (abi-o32_hard_2008-ld-soname): Likewise.
11972         (abi-n32_soft-ld-soname): Likewise.
11973         (abi-n32_hard-ld-soname): Likewise.
11974         (abi-n32_soft_2008-ld-soname): Likewise.
11975         (abi-n32_hard_2008-ld-soname): Likewise.
11976         (abi-n64_soft-ld-soname): Likewise.
11977         (abi-n64_hard-ld-soname): Likewise.
11978         (abi-n64_soft_2008-ld-soname): Likewise.
11979         (abi-n64_hard_2008-ld-soname): Likewise.
11980         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11981         Likewise.
11982         (abi-64-v2-ld-soname): Likewise.
11983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11984         ld.so entries.
11985         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11986         variable.
11987         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11988         entry.
11989         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11990         variable.
11991         (abi-64-ld-soname): Likewise.
11992         (abi-x32-ld-soname): Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11994         entry.
11995         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11997 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11999         [BZ #14138]
12000         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12001         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12002         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12003         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12004         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12005         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12006         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12007         syscall entry for GLIBC_2.2 symbol version.
12008         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12009         Likewise.
12010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12011         (setrlimit): Likewise.
12012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12013         Likewise.
12015 2014-09-23  Will Newton  <will.newton@linaro.org>
12017         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12018         _LINUX_ARM_SYSDEP_H include guard too.
12019         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12020         define.
12022 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12024         * sysdeps/unix/sysv/linux/eventfd.c:
12025         Make first argument unsigned.
12026         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12027         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12029 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12031         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12032         * socket/sys/socket.h: Likewise
12033         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12035 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12037         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12039 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12041         * time/tst-ftime.c: New test.
12042         * time/Makefile (tests): Add tst-ftime.
12044 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12046         * soft-fp/extended.h: Fix comment formatting.
12047         * soft-fp/op-1.h: Likewise.
12048         * soft-fp/op-2.h: Likewise.
12049         * soft-fp/op-4.h: Likewise.
12050         * soft-fp/op-8.h: Likewise.
12051         * soft-fp/op-common.h: Likewise.
12052         * soft-fp/soft-fp.h: Likewise.
12054         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12056 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12058         [BZ #6652]
12059         * Makeconfig (soversions-default-setname): Remove variable.
12060         ($(common-objpfx)soversions.i): Don't pass default_setname to
12061         soversions.awk.
12062         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12063         oldest_abi to abi-versions.awk.
12064         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12065         * config.make.in (oldest-abi): Remove variable.
12066         * configure.ac (--enable-oldest-abi): Remove configure option.
12067         * configure: Regenerated.
12068         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12069         text.
12070         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12071         * scripts/soversions.awk: Do not handle default_setname variable.
12072         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12073         variable.
12074         * sysdeps/mach/hurd/configure: Regenerated.
12075         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12076         variable.
12077         * sysdeps/unix/sysv/linux/configure: Regenerated.
12079 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12081         * elf/Makefile (CFLAGS-interp.c): Remove.
12082         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12083         path string.
12084         * elf/interp.c: Include generated runtime-linker.h
12086         * Makerules (lib%.so): Don't include $(+interp) in
12087         prerequisites.
12088         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12089         * dlfcn/eval.c: Remove file.
12091         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12092         macros.
12094         [BZ #17266]
12095         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12096         4.2 and newer.
12098         [BZ #17370]
12099         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12101 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102             Jakub Jelinek  <jakub@redhat.com>
12104         [BZ #17266]
12105         * libio/stdio.h: Check definition of __fortify_function
12106         instead of __extern_always_inline to include bits/stdio2.h.
12107         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12108         check if __extern_always_inline is defined.
12109         [__USE_MISC || __USE_XOPEN]: Likewise.
12110         [__USE_ISOC99] Likewise.
12111         * misc/sys/cdefs.h (__fortify_function): Define only if
12112         __extern_always_inline is defined.
12113         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12114         __extern_always_inline and __extern_inline only for g++-4.3
12115         and newer or a compatible gcc.
12117 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12119         [BZ #17371]
12120         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12121         last change to handle zero prefix length.
12123 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12125         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12126         _SC_REGEX_VERSION.
12128         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12129         _POSIX_RAW_SOCKETS.
12131 2014-09-13  Allan McRae  <allan@archlinux.org>
12133         * po/ru.po: Update Russian translation from translation project.
12135 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12137         * locale/programs/locale.c (show_locale_vars): Inline local function
12138         into its sole call site.  Clean up some style nits.
12139         (print_item): New function, broken out of ...
12140         (show_info): ... local function here.  Clean up style nits.
12142         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12143         out of ...
12144         (set_class_defaults): ... local function set_default here.
12145         Define set_default as a macro locally to pass constant parameters.
12146         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12147         rather than a shared local.
12149         * stdlib/rpmatch.c (try): New function, broken out of ...
12150         (rpmatch): ... local function here.  Also, prototypify definition.
12152 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12154         * scripts/soversions.awk: Do not handle configuration names.
12155         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12156         vendor and os variables to soversions.awk.
12157         * configure.ac: Do not modify gnu-* host_os.
12158         * configure: Regenerated
12159         * shlib-versions: Remove first column with configuration names.
12160         * nptl/shlib-versions: Likewise.
12161         * nptl_db/shlib-versions: Likewise.
12162         * sysdeps/hppa/shlib-versions: Likewise.
12163         * sysdeps/m68k/shlib-versions: Likewise.
12164         * sysdeps/mach/hurd/shlib-versions: Likewise.
12165         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12166         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12167         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12168         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12169         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12170         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12171         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12172         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12174         Likewise.
12175         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12176         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12177         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12178         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12179         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12180         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12182         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12185         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12187         Regenerated.
12188         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12190         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12192         * shlib-versions: Remove OS-specific entries.  Moved to files in
12193         sysdeps.
12194         * sysdeps/mach/hurd/shlib-versions: New file.
12195         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12197         * nptl/shlib-versions: Remove architecture-specific entries.
12198         Moved to files in sysdeps.
12199         * shlib-versions: Likewise.
12200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12201         file.
12202         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12203         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12204         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12205         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12207         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12208         (UDP_NO_CHECK6_RX): Likewise.
12210 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12212         * sysdeps/posix/sysconf.c (__sysconf): Spell
12213         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12215 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12217         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12218         loading.
12219         * iconv/Versions (__gconv_transliterate): Export for use from
12220         gconv modules.
12221         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12222         (struct __gconv_trans_data, __gconv_trans_fct,
12223         __gconv_trans_context_fct, __gconv_trans_query_fct,
12224         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12225         definitions.
12226         (struct __gconv_step_data): Remove __trans member.
12227         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12228         longer hidden.  Remove unused trans_data argument.
12229         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12230         (__gconv_translit_find): Remove declaration.
12231         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12232         prototype.
12233         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12234         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12235         trans_data argument.  Add hidden definition.
12236         (__gconv_translit_find): Remove.
12237         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12238         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12239         * iconv/skeleton.c: Remove transliteration initialization.
12240         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12241         __gconv_step_data initialization.
12242         * libio/iofwide.c (__libio_translit_): Remove.
12243         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12244         * wcsmbs/btowc.c (__btowc): Likewise.
12245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12247         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12248         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12249         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12250         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12251         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12252         * wcsmbs/wctob.c (wctob): Likewise.
12254 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12256         [BZ #16194]
12257         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12258         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12259         register usage.
12260         * sysdeps/x86/Makefile: Adjust.
12262 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12263             Roland McGrath  <roland@hack.frob.com>
12265         * locale/weight.h: Add include guard.
12266         (findidx): Make static rather than auto; take new parameters
12267         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12268         * locale/weightwc.h: Likewise.
12269         * posix/fnmatch_loop.c
12270         (FCT): Change type of EXTRA from int32_t to wint_t.
12271         Don't include either header inside the function.
12272         Call FINDIDX rather than findidx, and pass new arguments.
12273         #undef FINDIDX at the end of the file.
12274         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12275         FINDIDX before including fnmatch_loop.c for the non-wide version.
12276         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12277         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12278         for the wide version.
12279         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12280         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12281         Pass new arguments to findidx.
12282         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12283         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12284         Don't #include it inside the function.  Pass new arguments to findidx.
12285         * posix/regex_internal.h
12286         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12287         (re_string_elem_size_at): Don't #include it inside the function.
12288         Pass new arguments to findidx.
12289         * string/strcoll_l.c: #include WEIGHT_H at top level.
12290         (get_next_seq): Don't #include it inside the function.
12291         Pass new arguments to findidx.
12292         (get_next_seq_nocache): Likewise.
12293         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12294         (STRXFRM): Don't #include it inside the function.
12295         Pass new arguments to findidx.
12297 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12299         [BZ #17344]
12300         * malloc/malloc.c (unlink): Turn asserts into a call to
12301         malloc_printerr.
12303 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12305         [BZ #17370]
12306         * libio/wfileops (do_ftell_wide): Free OUT.
12308 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12310         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12312 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314         [BZ #17363]
12315         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12316         group if the current group is empty.
12318 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12320         * benchtests/bench-memset.c (test_main): Add more test from size
12321         from 32 to 512 bytes.
12322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12323         Add POWER8 memset object.
12324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12325         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12326         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12327         implementation.
12328         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12329         Likewise.
12330         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12331         multiarch POWER8 memset optimization.
12332         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12333         POWER8 memset optimization.
12335         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12336         Remove bzero multiarch objects.
12337         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12338         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12339         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12340         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12341         Remove define.
12342         [__bzero]: Redefine to specific name.
12343         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12344         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12345         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12346         define.
12347         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12348         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12350 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12352         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12353         warnings into errors.
12355         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12356         __cxa_thread_atexit_impl prototype.
12358 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12360         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12361         Fix capitalization of error message.
12363 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12365         * sysdeps/mips/preconfigure: Modify ABI tests.
12367 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12369         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12371 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12372             Carlos O'Donell  <carlos@systemhalted.org>
12374         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12375         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12376         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12377         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12378         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12379         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12380         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12381         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12382         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12383         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12384         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12385         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12386         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12387         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12389         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12390         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12391         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12392         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12393         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12394         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12395         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12396         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12397         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12398         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12399         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12400         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12401         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12402         Deconditionalize the code that was previously under [RESET_PID].
12403         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12404         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12405         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12406         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12407         include sysdep.h.
12409 2014-09-08  Allan McRae  <allan@archlinux.org>
12411         * version.h (RELEASE): Set to "development".
12412         (VERSION): Set to "2.20.90"
12414 2014-09-07  Allan McRae  <allan@archlinux.org
12416         * version.h (RELEASE): Set to "stable".
12417         (VERSION): Set to "2.20"
12418         * include/features.h (__GLIBC_MINOR__): Set to 20.
12420         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12421         Liebler.
12423         * po/ko.po: Update Korean translation from translation project.
12425 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12427         [BZ #17354]
12428         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12429         macro for handling signed relocations.
12431 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12433         [BZ #17325]
12434         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12435         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12436         assert.
12437         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12438         * iconvdata/ibm935.c (BODY): Likewise.
12439         * iconvdata/ibm937.c (BODY): Likewise.
12440         * iconvdata/ibm939.c (BODY): Likewise.
12441         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12442         assert.
12443         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12444         script.
12445         * iconvdata/run-iconv-test.sh: New test loop for checking for
12446         decoder crashers.
12448 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12450         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12451         libm_hidden_ver.
12453 2014-09-01  Allan McRae  <allan@archlinux.org>
12455         * po/eo.po: Update Esperanto translation from translation project.
12457         * po/ca.po: Update Catalan translation from translation project.
12459 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12461         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12462         __proc_dostop call.
12464 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12466         [BZ #17319]
12467         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12468         to call set_thread_area instead of hand written asm.
12469         (__NR_set_thread_area): Removed define.
12470         (TLS_FLAG_WRITABLE): Likewise.
12471         (__ASSUME_SET_THREAD_AREA): Remove check.
12472         (TLS_EBX_ARG): Remove define.
12473         (TLS_LOAD_EBX): Likewise.
12475 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12477         Simplify atomicity of socket creation in bind.
12479         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12480         looking up the name after linking the file.
12482 2014-08-27  Allan McRae  <allan@archlinux.org>
12484         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12486 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12488         [BZ #17187]
12489         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12490         trans_compare, open_translit, __gconv_translit_find):
12491         Remove module loading code.
12493 2014-08-26  Allan McRae  <allan@archlinux.org>
12495         * po/vi.po: Update Vietnamese translation from translation project.
12497         * po/uk.po: Update Ukrainian translation from translation project.
12499         * po/fr.po: Update French translation from translation project.
12501         * po/ru.po: Update Russian translation from translation project.
12503         * po/pl.po: Update Polish translation from translation project.
12505         * po/cs.po: Update Czech translation from translation project.
12507         * po/de.po: Update German translation from translation project.
12509         * po/bg.po: Update Bulgarian translation from translation project.
12511         * po/sv.po: Update Sweedish translation from translation project.
12513         * po/nl.po: Update Dutch translation from translation project.
12515         * po/es.po: Update Spanish translation from translation project.
12517 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12519         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12521         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12522         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12523         (CPPFLAGS-iconvconfig): Likewise.
12524         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12526         * include/libc-symbols.h: Remove unnecessary check for
12527         NOT_IN_libc.
12528         * nptl/pthreadP.h: Likewise.
12529         * sysdeps/aarch64/setjmp.S: Likewise.
12530         * sysdeps/alpha/setjmp.S: Likewise.
12531         * sysdeps/arm/sysdep.h: Likewise.
12532         * sysdeps/i386/setjmp.S: Likewise.
12533         * sysdeps/m68k/setjmp.c: Likewise.
12534         * sysdeps/posix/getcwd.c: Likewise.
12535         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12536         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12537         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12538         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12539         * sysdeps/sh/sh3/setjmp.S: Likewise.
12540         * sysdeps/sh/sh4/setjmp.S: Likewise.
12541         * sysdeps/unix/alpha/sysdep.h: Likewise.
12542         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12544         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12545         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12550         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12551         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12553         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12555         * sysdeps/x86_64/setjmp.S: Likewise.
12557 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12559         [BZ #17263]
12560         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12561         <stdint.h>.
12562         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12563         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12565 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12567         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12569         [BZ #17262]
12570         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12571         and __x86_64__ when disabling x87 inline functions.
12573 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12575         [BZ #17259]
12576         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12577         asm statement with __cpuid_count.
12579 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12581         * configure.ac: Change __ehdr_start code to dereference the struct.
12582         Run readelf on the output to look for relocations.
12583         * configure: Regenerated.
12585 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12587         [BZ #17261]
12588         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12589         value to 0.
12590         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12592 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12594         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12596 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12598         [BZ #16892]
12599         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12600         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12602 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12604         * malloc/malloc.c: Fix typo in comment.
12606 2014-08-09  Allan McRae  <allan@archlinux.org>
12608         * Regenerate libc.po.
12610 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12612         * intl/tst-gettext2.sh: Check every lang file for creation.
12614 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12616         * sysdeps/aarch64/fpu/math_private.h
12617         (libc_feholdsetround_noex_aarch64_ctx): New function.
12619 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12621         * sysdeps/arm/armv6/strcpy.S (strcpy):
12622         Fix performance issue in misaligned cases.
12624 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12626         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12627         Move definition from termios.h.
12628         (struct termio): Likewise.
12629         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12630         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12631         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12632         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12633         Likewise.
12634         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12635         Move definition to ioctl-types.h
12636         (struct termio): Likewise.
12637         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12638         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12639         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12640         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12641         Likewise.
12643 2014-08-05  Richard Henderson  <rth@redhat.com>
12645         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12646         exceptions.
12647         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12648         Add fraiseexcpt.
12649         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12650         Use __feraiseexcept.
12651         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12652         Protect libm symbols with IS_IN_libm.
12654         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12656 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12658         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12660 2014-08-04  Will Newton  <will.newton@linaro.org>
12662         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12663         file.
12665 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12667         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12668         variants for each function.
12670 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12672         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12673         appended ...
12674         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12675         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12676         appended ...
12677         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12678         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12679         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12680         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12681         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12682         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12683         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12684         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12685         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12686         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12687         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12688         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12689         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12690         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12691         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12692         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12693         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12694         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12695         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12696         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12697         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12698         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12699         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12700         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12701         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12702         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12703         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12704         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12705         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12706         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12707         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12708         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12709         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12710         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12711         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12712         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12713         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12714         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12715         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12716         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12717         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12719         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12721         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12723         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12724         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12725         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12726         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12727         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12728         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12729         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12730         Update #include.
12731         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12732         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12734 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12736         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12737         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12738         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12739         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12740         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12741         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12743 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12745         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12746         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12747         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12748         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12750 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12752         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12753         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12754         (__libc_vfork): Define function under this name.
12755         (__vfork): Define as an alias.
12756         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12757         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12759 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12761         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12762         that was previously under [RESET_PID].
12763         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12765 2014-08-04  Andreas Schwab  <schwab@suse.de>
12767         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12769 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12771         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12772         (main): Likewise.
12774 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12776         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12778 2014-08-01  Richard Henderon  <rth@redhat.com>
12780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12781         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12782         typo in exact zero test.
12783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12784         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12787 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12789         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12790         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12791         * sysdeps/arm/sysdep.h: ... here.
12792         [!__ASSEMBLER__]: Include <stdint.h>.
12794 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12797         (HAVE_WCTYPE_H): Likewise.
12798         (HAVE_ISWCTYPE): Likewise.
12799         (ENABLE_NLS): Likewise.
12800         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12801         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12803         * posix/regex_internal.c: Check if DEBUG is defined and is
12804         set.
12806         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12807         (HAVE_MBSRTOWCS): Likewise.
12808         * posix/fnmatch.c: Include string.h unconditionally.
12810 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12812         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12813         reversal.
12815 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12817         * sysdeps/generic/safe-fatal.h: New file.
12818         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12819         * nptl/forward.c: Include it.
12820         (__pthread_unwind): Use __safe_fatal as default action, rather
12821         than a bogus use of INTERNAL_SYSCALL that could never work.
12823         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12824         * configure.ac (libc_cv_builtin_trap): New test.
12825         * configure: Regenerated.
12826         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12827         (ABORT_INSTRUCTION): Define using __builtin_trap.
12829         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12830         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12831         * sysdeps/nptl/nptl-signals.h: New file.
12832         * nptl/pthreadP.h: Include <nptl-signals.h>.
12834 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12836         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12837         (ONE_DIRECTION): Define.
12838         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12839         (ONE_DIRECTION): Define.
12840         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12841         (ONE_DIRECTION): Define.
12843 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12845         * sysdeps/s390/Makefile: Delete file.
12846         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12847         * sysdeps/s390/__longjmp.c: Delete file.
12848         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12849         Remove fields __flags and __reserved.
12850         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12851         and add versioning.
12852         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12853         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12854         * sysdeps/s390/rtld-setjmp.S: Likewise.
12855         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12856         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12857         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12858         * sysdeps/s390/s390-32/setjmp.S: ... here.
12859         Add versioning.
12860         (__sigsetjmp): Remove setting __flags field.
12861         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12862         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12863         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12864         * sysdeps/s390/s390-64/setjmp.S: ... here.
12865         Add versioning.
12866         (__sigsetjmp): Remove setting __flags field.
12867         * sysdeps/s390/setjmp.S: Delete file.
12868         * sysdeps/s390/sigjmp.c: Likewise.
12869         * sysdeps/s390/v1-longjmp.c: Likewise.
12870         * sysdeps/s390/v1-setjmp.h: Likewise.
12871         * sysdeps/s390/v1-sigjmp.c: Likewise.
12872         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12873         Remove v1-longjmp_chk.
12874         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12875         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12876         Include debug/longjmp_chk.c and add versioning.
12877         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12878         Include nptl/pt-longjmp.c and add versioning.
12879         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12880         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12881         Include __longjmp.c.
12882         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12883         Move to ...
12884         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12885         (__getcontext): Remove setting __flags field.
12886         Add versioning.
12887         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12888         Don't restore upper high grps.
12889         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12890         Likewise.
12891         (__swapcontext): Remove setting uc_flags field.
12892         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12893         Delete file.
12894         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12895         Include __longjmp.c.
12896         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12897         Move to ...
12898         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12899         (__getcontext): Remove setting __flags field.
12900         Add versioning.
12901         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12902         (__swapcontext): Remove setting uc_flags field.
12903         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12904         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12905         Remove fields uc_high_gprs and __reserved.
12906         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12907         New file with reverted content.
12908         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12909         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12910         Regenerated.
12911         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12912         Regenerated.
12914 2014-07-31  Andreas Schwab  <schwab@suse.de>
12916         * config.h.in (HAVE_IFUNC): Define to 0.
12917         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12918         definedness.
12920 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12922         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12923         memmove-avx-unaligned, memcpy-avx-unaligned and
12924         mempcpy-avx-unaligned.
12925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12926         Add tests for AVX memcpy functions.
12927         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12928         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12929         memcpy_chk.
12930         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12931         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12932         memmove_chk.
12933         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12934         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12935         mempcpy_chk.
12936         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12937         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12940 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942         [BZ #17213]
12943         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12944         powerpc64le.
12946 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12948         [BZ #16839]
12949         * manual/llio.texi: Add section about open file description locks.
12950         * manual/examples/ofdlocks.c: Example of open file description
12951         lock usage.
12952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12953         F_OFD_SETLK, and F_OFD_SETLKW.
12955 2014-07-23  Allan McRae  <allan@archlinux.org>
12957         * po/es.po: Update Spanish translation from translation project.
12959 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12961         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12963 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12965         [BZ #17078]
12966         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12967         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12968         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12970 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12972         [BZ #17088]
12973         * math/fesetenv.c (__fesetenv)
12974         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12975         * math/feupdateenv.c (__feupdateenv)
12976         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12978         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12979         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12980         (__ASSUME_SOCKETCALL): Do not define.
12982         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12983         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12984         (__ASSUME_SOCKETCALL): Do not define.
12985         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12986         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12987         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12988         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12989         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12990         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12991         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12992         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12994         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12995         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12996         (__ASSUME_SOCKETCALL): Do not define.
12997         (__ASSUME_IPC64): Define unconditionally.
12998         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12999         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13000         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13001         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13002         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13003         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13004         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13005         Likewise.
13007         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13008         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13009         (__ASSUME_SOCKETCALL): Do not define.
13010         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13011         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13012         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13013         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13014         (__ASSUME_REQUEUE_PI): Define unconditionally.
13015         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13016         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13017         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13018         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13020         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13022         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13023         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13024         (__ASSUME_SOCKETCALL): Do not define.
13025         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13026         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13027         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13028         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13029         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13030         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13032         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13033         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13034         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13035         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13036         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13037         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13039         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13040         (__ASSUME_GETCPU_SYSCALL): Likewise.
13042         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13043         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13044         cases for individual architectures.
13045         * sysdeps/gnu/configure: Regenerated.
13046         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13047         LIBC_SLIBDIR_RTLDDIR.
13048         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13049         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13050         LIBC_SLIBDIR_RTLDDIR.
13051         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13053         LIBC_SLIBDIR_RTLDDIR.
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13055         Regenerated.
13056         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13057         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13058         file.
13059         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13060         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13061         file.
13062         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13063         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13064         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13065         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13067         * sysdeps/aarch64/shlib-versions: Move to ...
13068         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13069         * sysdeps/alpha/shlib-versions: Move to ...
13070         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13071         * sysdeps/arm/shlib-versions: Move to ...
13072         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13073         * sysdeps/hppa/shlib-versions: Move all contents except for
13074         libgcc_s entry to ...
13075         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13076         entry from ...
13077         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13078         * sysdeps/ia64/shlib-versions: Move to ...
13079         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13080         entry from ...
13081         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13082         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13083         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13084         * sysdeps/microblaze/shlib-versions: Move to ...
13085         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13086         * sysdeps/mips/shlib-versions: Move to ...
13087         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13088         entry from ...
13089         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13090         * sysdeps/tile/shlib-versions: Move to ...
13091         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13092         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13093         from ...
13094         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13095         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13096         entry from ...
13097         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13099 2014-07-17  Will Newton  <will.newton@linaro.org>
13101         * sysdeps/arm/bits/atomic.h
13102         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13103         (__arch_compare_and_exchange_bool_16_int): Likewise.
13104         (__arch_compare_and_exchange_bool_64_int): Likewise.
13106         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13107         into an #else block.
13109 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13111         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13112         just Linux configurations.  Test empirically that the compiler sets
13113         __ARM_EABI__, rather than using the tuple to decide.
13114         * sysdeps/arm/preconfigure: Regenerated.
13115         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13116         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13117         contents appended ...
13118         * sysdeps/arm/configure.ac: ... here.
13119         * sysdeps/arm/configure: Regenerated.
13121 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13123         * nptl/pthread_kill.c: New file.
13124         * nptl/pthread_sigmask.c: New file.
13125         * nptl/pthread_sigqueue.c: New file.
13127         * sysdeps/nptl/lowlevellock.h: New file.
13128         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13129         * sysdeps/nptl/lowlevellock-futex.h: New file.
13131         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13132         Remove dead declarations.
13134 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13136         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13137         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13138         config-cflags-avx2.
13139         * sysdeps/x86_64/configure.ac: Likewise.
13140         * sysdeps/i386/configure: Regenerated.
13141         * sysdeps/x86_64/configure: Likewise.
13142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13143         memset-avx2 only if config-cflags-avx2 is yes.
13144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13145         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13146         defined.
13147         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13148         only if HAVE_AVX2_SUPPORT is defined.
13149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13151 2014-07-14  Alan Modra  <amodra@gmail.com>
13153         [BZ #17153]
13154         * elf/elf.h (DT_PPC64_NUM): Correct value.
13155         * NEWS: Add to fixed bug list.
13157 2014-07-13  Jim Meyering  <meyering@fb.com>
13159         [BZ 17150]
13160         regex: don't deref NULL upon heap allocation failure
13161         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13162         failure in one more place.
13163         To trigger the segfault, configure grep -with-included-regex,
13164         build it, and run these commands:
13165         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13167 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13169         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13171 2014-07-11  Richard Henderson  <rth@redhat.com>
13173         * sysdeps/aarch64/libm-test-ulps: Update.
13175 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13177         [BZ #17135]
13178         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13179         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13180         (__nptl_setxid): Initialize error member.  Call
13181         __nptl_setxid_error.
13182         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13183         * nptl/descr.h (struct xid_command): Add error member.
13184         * nptl/tst-setuid3.c: New file.
13185         * nptl/Makefile (tests): Add it.
13187 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13190         New define.
13191         (__lll_trylock): Use __lll_base_trylock.
13192         (__lll_cond_trylock): Likewise.
13194 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13196         * nptl/pthread_create.c (start_thread): Use atomic_or and
13197         lll_futex_wake directly rather than lll_robust_dead.
13198         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13199         (lll_robust_dead): Macro removed.
13200         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13201         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13202         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13203         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13204         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13205         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13206         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13207         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13208         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13209         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13210         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13211         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13212         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13213         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13214         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13216         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13217         Use atomic_compare_and_exchange_val_acq directly rather than
13218         lll_robust_trylock.
13219         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13220         (__lll_robust_trylock, lll_robust_trylock): Removed.
13221         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13222         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13223         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13225         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13226         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13227         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13228         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13229         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13231         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13232         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13233         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13236 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13238         * manual/locale.texi (Locale Names): New section documenting
13239         locale name syntax.  Adjust menu and node chaining accordingly.
13240         (Choosing Locale): Reference Locale Names, Locale Categories.
13241         Mention setting LC_ALL=C.  Reflect that name syntax is now
13242         documented.
13243         (Locale Categories): New section title.  Reference Locale Names.
13244         LC_ALL is an environment variable, but not a category.
13245         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13246         description, now in Locale Name.  Reference that section.  Locale
13247         name syntax is now documented.
13249 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13251         [BZ #17137]
13252         * locale/findlocale.c (name_present, valid_locale_name): New
13253         functions.
13254         (_nl_find_locale): Use the loc_name variable to store name
13255         candidates.  Call name_present and valid_locale_name to check and
13256         validate locale names.  Return an error if the locale is invalid.
13258 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13260         * locale/setlocale.c (setlocale): Use strdup for allocating
13261         composite name copy.
13263 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13265         Sync up with gnulib.
13266         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13267         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13268         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13269         and _GL_ARG_NONNULL.
13270         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13271         [!_LIBC]: Include code for Windows and Cygwin.
13272         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13273         Include prototype for int strerror_r.
13274         [!_LIBC] (is_open): New function.
13275         (flush_stdout): New function.
13276         (print_errno_message): Use it.
13277         (error): Likewise.
13278         (error_at_line): Likewise.
13279         (error_tail) Add function attribute macros.  Use
13280         __builtin_expect.
13282         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13284         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13286         * io/ftw.c: Include sys/param.h unconditionally.
13288         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13290         [BZ #17125]
13291         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13292         libc_freeres_ptr.
13293         (freecache): New function to free CACHE on exit.
13295         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13296         initialization.
13298 2014-07-09  David S. Miller  <davem@davemloft.net>
13300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13302         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13303         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13304         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13305         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13306         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13307         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13308         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13309         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13310         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13311         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13312         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13313         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13314         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13316 2014-07-09  Andreas Schwab  <schwab@suse.de>
13318         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13319         output.
13320         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13321         (do_test): Likewise.
13323         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13325 2014-07-09  Will Newton  <will.newton@linaro.org>
13327         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13328         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13329         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13330         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13331         * sysdeps/hppa/start.S (_start): Likewise.
13333 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13335         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13337         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13338         defined.
13340 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13342         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13343         after checking that it is non-NULL.
13345         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13347 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13349         * sysdeps/powerpc/memmove.c: Remove file.
13350         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13351         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13352         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13353         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13354         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13355         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13356         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13357         string memmove instead of removed powerpc one.
13359         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13360         [weak_alias]: Fix compiler warning due trailing data.
13361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13362         [weak_alias]: Likewise.
13363         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13364         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13367         (__libc_ifunc_impl_list): Add memmove functions.
13369 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13371         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13372         Remove code.
13373         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13374         Likewise
13375         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13376         Likewise
13377         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13378         Likewise
13379         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13380         Likewise
13381         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13382         Likewise
13383         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13384         Likewise
13385         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13386         Likewise
13387         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13388         Likewise
13389         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13390         Likewise
13391         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13392         Likewise
13393         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13394         Likewise
13395         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13396         Likewise
13397         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13398         Likewise
13399         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13400         Likewise
13401         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13402         Likewise
13403         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13404         Likewise
13406 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13408         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13409         to avoid alignment traps in non-cacheable memory.
13410         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13413         multiarch objects.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13415         file: multiarch power7 memmove.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13417         multiarch default memmove.
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13419         multiarch memove for powerpc32/power4.
13421         * string/bcopy.c: Use full path to include memmove.c.
13422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13423         multiarch objects.
13424         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13425         bcopy for powerpc64.
13426         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13427         bcopy for powerpc64.
13428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13429         and memmove implementations.
13430         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13431         optimized multiarch memmove for POWER7/powerpc64.
13432         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13433         default multiarch memmove for powerpc64.
13434         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13435         multiarch for powerpc64.
13436         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13437         for POWER7/powerpc64.
13438         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13439         memmove for POWER7/powerpc64.
13441         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13442         glibc default one.
13444         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13445         __ELF_NATIVE_CLASS equal to 64.
13447 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13449         * sysdeps/nptl/lowlevellock.h: File removed.
13451         * NEWS: NPTL is no longer an add-on!
13452         * nptl/internaltypes.h: Moved ...
13453         * sysdeps/nptl/internaltypes.h: ... here.
13454         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13455         * sysdeps/nptl/fork.c: Likewise.
13456         * sysdeps/nptl/gai_misc.h: Likewise.
13457         * sysdeps/nptl/librt-cancellation.c: Likewise.
13458         * sysdeps/nptl/jmp-unwind.c: Likewise.
13459         * sysdeps/nptl/setxid.h: Likewise.
13460         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13461         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13462         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13463         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13464         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13465         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13466         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13467         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13468         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13469         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13470         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13471         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13472         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13473         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13474         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13475         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13476         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13477         * nptl/Makeconfig: Moved ...
13478         * sysdeps/nptl/Makeconfig: ... here.
13479         * nptl/configure: File removed.
13480         * nptl/ANNOUNCE: File removed.
13481         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13482         * sysdeps/unix/sysv/linux/configure: Regenerated.
13484         * nptl/Makefile (routines): Add libc_pthread_init,
13485         libc_multiple_threads, register-atfork and unregister-atfork.
13486         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13487         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13488         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13489         pthread-pi-defines.sym, structsem.sym.
13490         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13491         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13492         [$(subdir) = nptl] (tests): Add tst-setgetname.
13493         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13494         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13495         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13496         [!LIBC_SIGACTION]: Remove aliases.
13497         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13498         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13499         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13500         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13501         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13502         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13503         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13504         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13505         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13506         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13507         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13508         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13509         __libc_allocate_rtsig_private.
13510         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13511         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13512         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13513         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13514         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13515         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13516         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13517         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13518         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13519         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13520         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13521         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13522         * nptl/internaltypes.h: ... here.
13523         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13524         * sysdeps/nptl/jmp-unwind.c: ... here.
13525         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13526         * nptl/libc-lowlevellock.c: ... here.
13527         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13528         * nptl/libc_multiple_threads.c: ... here.
13529         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13530         * nptl/libc_pthread_init.c: ... here.
13531         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13532         * nptl/lowlevelbarrier.sym: ... here.
13533         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13534         * nptl/lowlevelcond.sym: ... here.
13535         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13536         * nptl/lowlevellock.c: ... here.
13537         * nptl/lowlevellock.h: Moved ...
13538         * sysdeps/nptl/lowlevellock.h: ... here.
13539         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13540         * nptl/lowlevelrobustlock.c: ... here.
13541         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13542         * nptl/lowlevelrobustlock.sym: ... here.
13543         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13544         * nptl/lowlevelrwlock.sym: ... here.
13545         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13546         * nptl/pt-fork.c: ... here.
13547         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13548         * nptl/pthread-pi-defines.sym: ... here.
13549         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13550         * nptl/pthread_attr_getaffinity.c: ... here.
13551         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13552         * nptl/pthread_attr_setaffinity.c: ... here.
13553         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13554         * nptl/pthread_mutex_cond_lock.c: ... here.
13555         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13556         Update #include.
13557         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13558         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13559         * nptl/pthread_once.c: ... here, replacing old file.
13560         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13561         * nptl/pthread_yield.c: ... here.
13562         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13563         * nptl/register-atfork.c: ... here.
13564         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13565         * nptl/sem_post.c: ... here.
13566         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13567         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13568         * nptl/sem_timedwait.c: ... here.
13569         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13570         * nptl/sem_trywait.c: ... here.
13571         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13572         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13573         * nptl/sem_wait.c: ... here.
13574         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13575         * nptl/structsem.sym: ... here.
13576         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13577         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13578         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13579         * nptl/unregister-atfork.c: ... here.
13580         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13581         * nptl/unwindbuf.sym: ... here.
13582         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13583         * sysdeps/nptl/fork.c: ... here.
13584         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13585         * sysdeps/nptl/fork.h: ... here.
13586         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13587         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13588         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13589         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13590         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13591         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13592         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13593         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13594         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13595         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13596         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13597         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13598         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13599         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13600         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13601         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13602         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13603         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13604         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13605         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13606         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13607         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13608         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13609         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13610         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13611         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13612         * sysdeps/unix/sysv/linux/raise.c: ... here.
13613         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13614         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13615         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13616         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13617         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13618         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13619         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13620         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13621         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13622         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13623         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13624         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13625         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13626         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13627         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13629 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13631         * sysdeps/generic/memcopy.h: Add comment for
13632         MEMCPY_OK_FOR_FWD_MEMMOVE.
13634 2014-07-04  Will Newton  <will.newton@linaro.org>
13636         * string/memchr.c: Merge from gnulib.
13637         [_LIBC]: Remove conditionals.
13638         (__ptr_t): Remove define.
13639         (LONG_MAX_32_BITS): Likewise.
13640         (LONG_MAX): Likewise.
13641         (MEMCHR): Use ANSI prototype and optimize algorithm.
13643         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13645 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13648         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13650         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13651         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13652         in a bare environment with no <stdlib.h> installed.
13653         * sysdeps/nptl/configure: Regenerated.
13655         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13657         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13658         AC_EGREP_CPP for kernel header checks, so they only succeed if
13659         including <linux/version.h> actually works right.
13660         * sysdeps/unix/sysv/linux/configure: Regenerated.
13662         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13663         value so it's not diagnosed as unused.
13665         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13666         thing) with "ifeq ($(subdir),rt)".
13668 2014-07-03  Richard Henderson  <rth@redhat.com>
13670         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13671         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13672         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13674         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13675         (math_force_eval): New.
13677         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13678         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13680         * sysdeps/alpha/fpu/s_round.c: Remove file.
13681         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13683         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13684         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13685         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13686         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13687         (_dl_start, print_statistics): Likewise.
13688         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13689         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13691         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13692         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13693         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13694         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13696         (HP_SMALL_TIMING_AVAIL): Define.
13697         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13698         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13699         (HP_SMALL_TIMING_AVAIL): Define.
13700         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13701         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13703         * sysdeps/aarch64/hp-timing.h: New file.
13705         * sysdeps/generic/hp-timing.h: Remove dead comment.
13706         * sysdeps/generic/hp-timing-common.h: New file.
13707         * sysdeps/alpha/hp-timing.h: Include it.
13708         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13709         * sysdeps/i386/i686/hp-timing.h: Likewise.
13710         * sysdeps/ia64/hp-timing.h: Likewise.
13711         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13712         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13713         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13714         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13715         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13716         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13717         (hp_timing_t): New.
13719         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13720         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13721         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13722         * elf/rtld.c (_dl_start_final): Likewise.
13723         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13724         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13725         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13726         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13727         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13728         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13729         (HP_TIMING_DIFF_INIT): Remove.
13730         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13731         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13732         (HP_TIMING_DIFF_INIT): Remove.
13733         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13734         * sysdeps/i386/i686/hp-timing.c: Remove file.
13735         * sysdeps/x86_64/hp-timing.c: Remove file.
13736         * sysdeps/ia64/hp-timing.c: Remove file.
13737         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13738         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13740         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13742         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13743         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13744         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13745         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13746         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13747         (HP_TIMING_ACCUM): Remove.
13748         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13749         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13750         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13752         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13753         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13754         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13755         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13756         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13757         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13758         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13759         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13761         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13763 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13765         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13767 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13769         Sync up with gettext.
13770         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13771         [_MSC_VER]: Include malloc.h
13772         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13773         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13774         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13775         TEMP_FAILURE_RETRY.  Cast return of alloca.
13776         [!_LIBC] Call gl_rwlock_init.
13777         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13779 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13781         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13782         before checking its value.
13784 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13786         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13788         * debug/memcpy_chk.c: Don't include pagecopy.h.
13789         * debug/mempcpy_chk.c: Likewise.
13790         * string/memcpy.c: Likewise.
13791         * string/memmove.c: Likewise.
13792         * sysdeps/powerpc/memmove.c: Likewise.
13793         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13794         definition of PAGE_COPY_FWD_MAYBE here...
13795         * sysdeps/generic/pagecopy.h: ... from here.
13796         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13798 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13801         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13803         optimizations.
13804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13805         (__libc_ifunc_impl_list): Likewise.
13806         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13807         multiarch strcat for PPC64.
13808         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13809         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13811 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13813         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13815 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13817         * intl/loadmsgcat.c: Remove declaration of
13818         get_sysdep_segment_value.
13819         (get_sysdep_segment_value): Use ISO C style.
13820         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13821         semicolon.  Fix typo and formatting in comment.
13822         (_nl_unload_domain): Use ISO C style.
13824         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13826 2014-07-02  Will Newton  <will.newton@linaro.org>
13828         * malloc/obstack.c: Merge from gnulib master.
13829         [HAVE_CONFIG_H]: Remove conditional code.
13830         [!_LIBC]: Include config.h.
13831         [!ELIDE_CODE]: Don't include inttypes.h, include
13832         stdint.h unconditionally.
13833         (print_and_abort): Mark as _Noreturn.
13834         (_obstack_allocated_p): Mark as __attribute_pure__.
13835         (obstack_free): Rename to __obstack_free.
13836         [!__attribute__]: Remove conditional code.
13837         * malloc/obstack.h: Merge from gnulib master.
13838         [__cplusplus]: Move conditional down.
13839         [!__attribute_pure__]: Define __attribute_pure__ here
13840         if it is not already defined.
13841         (_obstack_memory_used): Mark as __attribute_pure__.
13842         [!__obstack_free]: Define as obstack_free.
13843         [__GNUC__]: Remove check for ancient NeXT gcc.
13845 2014-07-02  Will Newton  <will.newton@linaro.org>
13846             Paul Eggert  <eggert@cs.ucla.edu>
13848         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13850 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13852         * resolv/gethnamaddr.c: Add comment warning that the file is
13853         not maintained.
13855 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13857         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13858         entries.
13860         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13861         entry for aio_cancel and aio_cancel64.
13862         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13863         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13864         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13865         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13866         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13867         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13868         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13869         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13870         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13871         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13872         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13873         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13874         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13876 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13878         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13879         * nptl/pthread_mutex_lock.c: Likewise.
13880         * nptl/pthread_mutex_timedlock.c: Likewise.
13881         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13883 2014-07-01  Richard henderson  <rth@redhat.com>
13885         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13886         (__isnan, __isnanl): Remove.
13887         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13889         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13891 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13893         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13895 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13897         * resolv/nss_dns/dns-host.c (getanswer_r)
13898         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13900 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13903         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13904         undefine.
13905         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13906         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13908 2014-07-01  Roland McGrath <roland@hack.frob.com>
13910         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13911         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13913         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13914         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13916         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13917         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13918         ... here.
13919         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13920         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13922         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13923         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13924         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13925         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13927         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13928         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13929         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13930         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13932         Moved ...
13933         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13934         ... here.
13935         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13936         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13937         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13938         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13939         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13940         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13941         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13942         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13943         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13944         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13945         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13946         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13947         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13948         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13949         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13950         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13951         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13952         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13953         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13954         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13955         ... here.
13956         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13957         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13959         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13960         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13961         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13962         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13963         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13965 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13967         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13968         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13969         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13970         Add sysdep.
13972 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13976 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13978         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13979         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13981         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13983         * sysdeps/arm/libm-test-ulps: Regenerated.
13985 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13986             Roland McGrath <roland@hack.frob.com>
13988         * test-skeleton.c (signal_handler): Kill the whole process group
13989         before killing the child individually.
13990         (main): Report any failure on `setpgid'.
13992 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13994         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13995         from _TLS_H to _ARM_NPTL_TLS_H.
13996         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13997         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13999 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14001         [BZ #16539]
14002         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14003         (__expm1l): Return argument unchanged when small but not
14004         subnormal.
14006         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14007         include macro name.
14008         (_FP_UNPACK_RAW_1_P): Likewise.
14009         (_FP_PACK_RAW_1): Likewise.
14010         (_FP_PACK_RAW_1_P): Likewise.
14011         (_FP_MUL_MEAT_1_wide): Likewise.
14012         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14013         (_FP_MUL_MEAT_1_hard): Likewise.
14014         (_FP_DIV_MEAT_1_imm): Likewise.
14015         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14016         (_FP_DIV_MEAT_1_udiv): Likewise.
14017         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14018         (_FP_UNPACK_RAW_2): Likewise.
14019         (_FP_UNPACK_RAW_2_P): Likewise.
14020         (_FP_PACK_RAW_2): Likewise.
14021         (_FP_PACK_RAW_2_P): Likewise.
14022         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14023         (_FP_MUL_MEAT_2_wide): Likewise.
14024         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14025         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14026         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14027         (_FP_MUL_MEAT_2_gmp): Likewise.
14028         (_FP_DIV_MEAT_2_udiv): Likewise.
14029         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14030         (_FP_FRAC_SRL_4): Likewise.
14031         (_FP_FRAC_SRST_4): Likewise.
14032         (_FP_FRAC_SRS_4): Likewise.
14033         (_FP_UNPACK_RAW_4): Likewise.
14034         (_FP_UNPACK_RAW_4_P): Likewise.
14035         (_FP_PACK_RAW_4): Likewise.
14036         (_FP_PACK_RAW_4_P): Likewise.
14037         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14038         (_FP_MUL_MEAT_4_wide): Likewise.
14039         (_FP_MUL_MEAT_4_gmp): Likewise.
14040         (umul_ppppmnnn): Likewise.
14041         (_FP_DIV_MEAT_4_udiv): Likewise.
14042         (__FP_FRAC_ADD_4): Likewise.
14043         (__FP_FRAC_SUB_3): Likewise.
14044         (__FP_FRAC_SUB_4): Likewise.
14045         (__FP_FRAC_DEC_3): Likewise.
14046         (__FP_FRAC_DEC_4): Likewise.
14047         (__FP_FRAC_ADDI_4): Likewise.
14048         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14049         (_FP_FRAC_SRL_8): Likewise.
14050         (_FP_FRAC_SRS_8): Likewise.
14052         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14053         include macro name.
14054         (FP_UNPACK_RAW_EP): Likewise.
14055         (FP_PACK_RAW_E): Likewise.
14056         (FP_PACK_RAW_EP): Likewise.
14057         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14058         (_FP_ISSIGNAN): Likewise.
14059         (_FP_ADD_INTERNAL): Likewise.
14060         (_FP_FMA): Likewise.
14061         (_FP_CMP): Likewise.
14062         (_FP_SQRT): Likewise.
14063         (_FP_TO_INT): Likewise.
14064         (_FP_FROM_INT): Likewise.
14065         (FP_EXTEND): Likewise.
14066         (_FP_DIV_MEAT_N_loop): Likewise.
14068 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14070         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14071         throughout.
14073 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14075         [BZ #17097]
14076         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14077         result with correct sign in case of exponents that produce
14078         overflow except for X very close to 1.
14080 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14082         mktime: merge #if/#ifdef usage from glibc
14083         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14084         as that works with both Glibc's and Gnulib's style.
14085         See thread starting at Siddhesh Poyarekar's bug report at:
14086         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14088 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14090         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14091         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14092         * sysdeps/tile/tilegx/memmove.c: Remove file.
14094 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14096         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14097         abi-name definition.
14098         * scripts/soversions.awk: Do not handle or generate ABI lines.
14099         * shlib-versions: Remove ABI entries.
14100         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14101         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14103 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14106         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14107         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14108         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14110         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14112         Moved ...
14113         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14114         ... here.
14115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14116         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14118         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14120         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14122         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14124         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14126         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14128         Moved ...
14129         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14131         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14133         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14135         Moved ...
14136         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14138         Moved ...
14139         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14141         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14143         Moved ...
14144         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14146         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14148         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14150         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14152         Moved ...
14153         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14155         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14156         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14157         Moved ...
14158         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14160         Moved ...
14161         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14163         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14164         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14165         Moved ...
14166         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14167         ... here.
14168         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14169         Identical file removed.
14170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14171         Moved ...
14172         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14174         Identical file removed.
14175         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14176         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14177         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14178         Moved ...
14179         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14181         Identical file removed.
14182         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14185         Identical file removed.
14186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14189         Identical file removed.
14190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14191         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14193         Identical file removed.
14194         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14195         Moved ...
14196         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14198         Identical file removed.
14199         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14200         Moved ...
14201         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14205         Identical file removed.
14206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14207         Moved ...
14208         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14209         ... here.
14210         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14211         Identical file removed.
14212         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14213         Moved ...
14214         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14215         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14216         Identical file removed.
14217         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14218         Moved ...
14219         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14223         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14225         Moved ...
14226         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14227         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14228         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14230         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14231         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14232         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14233         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14234         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14236 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14238         [BZ #17092]
14239         * nscd/nscd.c (monitor_child): Return exit status of child
14240         instead of return value from wait syscall.
14242 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14244         * configure.ac (libc_commonpagesize): Remove variable.
14245         (libc_relro_required): Likewise.
14246         (libc_cv_z_relro): Remove configure test.
14247         * configure: Regenerated.
14248         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14249         variable.
14250         (libc_relro_required): Likewise.
14251         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14252         (libc_relro_required): Likewise.
14253         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14254         (libc_relro_required): Likewise.
14255         * sysdeps/arm/preconfigure: Regenerated.
14256         * sysdeps/ia64/preconfigure: Remove file.
14257         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14258         variable.
14259         (libc_relro_required): Likewise.
14261         [BZ #16561]
14262         [BZ #16562]
14263         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14264         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14265         recompute overflowing results in original rounding mode.
14266         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14267         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14268         recompute overflowing results in original rounding mode.
14269         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14270         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14271         recompute overflowing results in original rounding mode.
14272         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14273         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14274         recompute overflowing results in original rounding mode.
14275         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14276         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14277         recompute overflowing results in original rounding mode.
14278         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14279         (libc_feholdsetround_ctx): New macro.
14280         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14281         * sysdeps/i386/fpu/libm-test-ulps: Update.
14282         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14284 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14286         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14287         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14288         corresponding .cpsetup call.
14290 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14292         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14293         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14294         * sysdeps/arm/Makefile [$(subdir) = csu]
14295         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14296         (static-only-routines): Add aeabi_read_tp here.
14297         (shared-only-routines): Add libc-aeabi_read_tp here.
14298         (CFLAGS-libc-start.c): Add -fexceptions here.
14299         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14300         (sysdep_routines, static-only-routines, shared-only-routines):
14301         Don't add to these here.
14302         (CFLAGS-libc-start.c): Likewise.
14304         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14305         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14306         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14307         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14308         * sysdeps/arm/Makefile [$(subdir) = rt]
14309         (librt-sysdep_routines, librt-shared-only-routines):
14310         Append rt-aeabi_unwind_cpp_pr1 here.
14311         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14312         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14313         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14314         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14315         Append nptl-aeabi_unwind_cpp_pr1 here.
14316         (tests): Filter out tst-cleanupx4 here.
14317         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14318         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14319         Don't do those here.
14321 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14323         * scripts/list-sources.sh: Do not handle ports specially.
14325 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14327         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14328         * sysdeps/arm/feupdateenv.c: Likewise.
14330         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14332 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14334         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14335         trailing whitespace removed.
14336         * scripts/config.guess: Update to version 2014-03-23.
14337         * scripts/config.sub: Update to version 2014-05-01
14338         * scripts/install-sh: Update to version 2013-12-25.23.
14339         * scripts/move-if-change: Update from gnulib.
14341 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14343         * debug/memmove_chk.c: Remove pagecopy.h include.
14345 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14347         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14348         identical to gnulib mktime.
14350 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14352         * configure.ac: Do not test for machine being rs6000.  Do not test
14353         for powerpc*-*soft.
14354         * configure: Regenerated.
14356         [BZ #11505]
14357         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14358         test.
14359         * configure: Regenerated.
14360         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14361         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14362         Remove configure test.
14363         * sysdeps/arm/configure: Regenerated.
14364         * sysdeps/nptl/configure.ac: Do not check
14365         libc_cv_asm_cfi_directives.
14366         * sysdeps/nptl/configure: Regenerated.
14367         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14368         * sysdeps/x86_64/nptl/configure: Remove generated file.
14369         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14370         unconditional.
14371         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14373 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14375         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14376         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14377         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14378         it is defined.
14380         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14381         instead of whether it is defined.
14382         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14383         * sysdeps/hppa/dl-machine.h: Likewise.
14384         * sysdeps/ia64/dl-machine.h: Likewise.
14385         * sysdeps/m68k/dl-machine.h: Likewise.
14386         * sysdeps/microblaze/dl-machine.h: Likewise.
14387         * sysdeps/mips/dl-machine.: Likewise.
14388         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14389         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14390         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14391         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14392         * sysdeps/sh/dl-machine.h: Likewise.
14393         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14394         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14395         * sysdeps/tile/dl-machine.h: Likewise.
14396         * sysdeps/x86_64/dl-machine.h: Likewise.
14398         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14399         code.
14400         (verify_persistent_db): Likewise.
14402 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14405         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14407         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14409         Moved ...
14410         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14411         ... here.
14412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14413         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14415         Identical file removed.
14416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14417         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14419         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14421         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14423         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14425         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14427         Moved ...
14428         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14430         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14432         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14434         Moved ...
14435         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14437         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14439         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14441         Identical file removed.
14442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14443         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14445         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14447         Moved ...
14448         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14449         ... here.
14450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14451         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14453         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14455         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14457         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14459         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14461         Moved ...
14462         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14464         Moved ...
14465         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14467         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14469         Moved ...
14470         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14472         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14474         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14475         folded into ...
14476         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14477         * sysdeps/unix/sysv/linux/s390/Versions
14478         (libpthread: GLIBC_2.19): New version set.
14479         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14480         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14481         (librt: GLIBC_2.3.3): New version set.
14482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14483         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14484         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14485         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14486         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14487         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14488         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14490         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14491         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14492         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14493         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14494         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14495         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14496         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14497         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14498         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14499         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14500         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14501         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14502         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14504         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14506         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14508         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14510         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14511         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14512         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14513         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14514         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14517         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14518         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14520         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14522         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14523         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14524         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14526         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14528         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14529         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14530         (__libc_vfork): Define the function under this name.
14531         [!NOT_IN_libc] (__vfork): Make this an alias.
14532         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14534         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14535         (__libc_vfork): Define the function under this name.
14536         [!NOT_IN_libc] (__vfork): Make this an alias.
14537         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14538         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14539         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14541         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14542         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14544         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14545         code that was previously under [RESET_PID].
14546         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14547         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14550         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14551         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14552         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14553         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14554         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14555         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14556         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14557         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14558         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14559         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14560         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14561         Moved ...
14562         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14564         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14565         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14566         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14567         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14568         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14569         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14570         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14571         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14572         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14573         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14574         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14576         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14577         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14578         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14579         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14580         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14581         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14582         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14583         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14584         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14585         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14586         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14587         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14588         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14589         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14590         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14592 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14594         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14595         that was previously under [RESET_PID].
14596         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14598 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14600         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14601         not undefine and redefine.
14602         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14603         [O_CLOEXEC]: Make code unconditional.
14604         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14605         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14606         <kernel-features.h>.
14607         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14608         conditional variable definition.
14609         (shm_open) [O_CLOEXEC]: Make code unconditional.
14610         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14611         code.
14613         * configure.ac (USE_REGPARMS): Don't define here.
14614         * configure: Regenerated.
14615         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14616         * sysdeps/i386/configure: Regenerated.
14618         * nptl/createthread.c: Don't include kernel-features.h.
14619         * nptl/pthread_cancel.c: Likewise.
14620         * nptl/pthread_condattr_setclock.c: Likewise.
14621         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14622         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14623         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14624         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14625         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14626         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14627         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14630         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14631         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14632         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14633         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14634         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14635         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14636         * nscd/gai.c: Likewise.
14637         * nss/nss_db/db-open.c: Likewise.
14638         * sysdeps/generic/ldsodefs.h: Likewise.
14639         * sysdeps/sh/nptl/tls.h: Likewise.
14640         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14641         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14642         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14643         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14644         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14645         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14646         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14647         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14648         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14649         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14650         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14651         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14652         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14653         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14654         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14655         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14656         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14657         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14658         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14659         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14662         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14663         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14668         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14669         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14670         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14671         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14672         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14673         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14674         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14675         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14676         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14677         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14678         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14679         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14680         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14681         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14682         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14683         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14684         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14685         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14686         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14687         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14688         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14689         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14690         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14691         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14692         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14693         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14694         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14695         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14696         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14697         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14720         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14721         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14722         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14723         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14724         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14725         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14726         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14727         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14728         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14729         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14730         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14731         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14732         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14733         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14734         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14735         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14736         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14737         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14738         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14739         * sysdeps/unix/sysv/linux/system.c: Likewise.
14740         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14741         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14742         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14743         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14744         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14745         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14746         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14748         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14749         * configure: Regenerated.
14750         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14752         * configure.ac (base_machine): Do not set specially for particular
14753         machines here.
14754         * configure: Regenerated.
14755         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14756         settings from configure.ac.
14757         * sysdeps/i386/preconfigure: New file.
14758         * sysdeps/s390/preconfigure: Likewise.
14759         * sysdeps/sh/preconfigure: Likewise.
14760         * sysdeps/sparc/preconfigure: Likewise.
14762 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14764         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14765         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14766         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14767         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14768         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14769         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14770         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14771         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14772         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14773         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14774         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14775         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14776         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14777         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14778         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14779         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14781         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14782         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14784         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14785         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14786         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14787         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14788         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14789         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14790         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14791         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14792         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14793         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14794         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14795         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14796         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14797         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14798         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14799         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14800         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14801         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14802         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14803         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14804         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14805         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14807         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14808         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14809         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14811         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14812         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14813         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14815         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14816         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14817         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14819         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14820         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14821         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14824         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14826         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14828         Moved ...
14829         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14830         ... here.
14831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14832         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14834         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14836         Moved ...
14837         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14839         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14843         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14845         Moved ...
14846         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14848         Moved ...
14849         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14851         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14853         Moved ...
14854         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14856         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14858         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14860         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14862         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14864         Moved ...
14865         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14866         ... here.
14867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14868         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14870         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14872         Moved ...
14873         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14875         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14877         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14879         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14881         Moved ...
14882         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14884         Moved ...
14885         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14887         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14889         Moved ...
14890         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14892         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14894         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14896 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14898         * timezone/checktab.awk: Update from tzcode 2014e.
14899         * timezone/private.h: Likewise.
14900         * timezone/tzfile.h: Likewise.
14901         * timezone/zdump.c: Likewise.
14902         * timezone/zic.c: Likewise.
14904         * sysdeps/unix/sysv/linux/kernel-features.h
14905         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14906         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14907         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14908         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14909         Remove conditional code.
14911 2014-06-25  Will Newton  <will.newton@linaro.org>
14913         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14914         (_dl_arm_cap_flags): Add HWCAP2 values.
14915         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14916         (_DL_HWCAP_COUNT): Increase to 37.
14917         (_DL_HWCAP_LAST): New define.
14918         (_DL_HWCAP2_LAST): New define.
14919         (_dl_procinfo): Add support for printing
14920         AT_HWCAP2 entries.
14921         (_dl_string_hwcap): Use _dl_hwcap_string.
14923 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14927 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14929         * README: Do not mention ports directory.
14931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14932         Remove macro.
14933         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14934         <kernel-features.h>.
14935         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14936         conditional variable definition.
14937         (__futimes): Update comment.
14938         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14939         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14941         [BZ #16560]
14942         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14943         arguments close to 0.
14944         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14945         Likewise.
14946         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14947         Likewise.
14948         * math/auto-libm-test-in: Add more tests of exp10.
14949         * math/auto-libm-test-out: Regenerated.
14950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14952         * sysdeps/unix/sysv/linux/kernel-features.h
14953         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14954         * sysdeps/unix/sysv/linux/readv.c: Do not include
14955         <kernel-features.h>.
14956         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14957         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14958         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14959         unconditional.
14960         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14961         conditional code.
14962         * sysdeps/unix/sysv/linux/writev.c: Do not include
14963         <kernel-features.h>.
14964         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14965         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14966         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14967         unconditional.
14968         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14969         conditional code.
14971 2014-06-25  Will Newton  <will.newton@linaro.org>
14973         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14974         comment changes throughout the file.  Remove checks
14975         for HAVE_*_H definitions that are not required.
14976         (__gen_tempname): Call abort if an unknown kind value is
14977         passed.
14979 2014-06-25  Andreas Schwab  <schwab@suse.de>
14981         [BZ #17086]
14982         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14983         scalbln, scalblnf, scalblnl in libc.
14985 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14987         [BZ #17086]
14988         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14989         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14990         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14992 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14994         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14995         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14996         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14997         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14998         Update #include.
14999         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15000         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15001         Update #include.
15002         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15003         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15004         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15005         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15006         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15007         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15008         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15009         * sysdeps/x86/bits/semaphore.h: ... here.
15010         * sysdeps/x86/nptl/elide.h: Moved ...
15011         * sysdeps/x86/elide.h: ... here.
15012         * sysdeps/x86_64/nptl/Implies: File removed.
15013         * sysdeps/i386/nptl/Implies: File removed.
15015 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15017         [BZ #16539]
15018         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15019         return the argument for normal arguments with exponent below -64.
15020         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15021         Likewise.
15022         * math/auto-libm-test-in: Add another test of expm1.
15023         * math/auto-libm-test-out: Regenerated.
15025         [BZ #16287]
15026         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15027         calling __erfcl for arguments at least 16.
15028         * math/auto-libm-test-in: Add more tests of erf.
15029         * math/auto-libm-test-out: Regenerated.
15031         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15032         individual architectures.
15033         * sysdeps/unix/sysv/linux/configure: Regenerated.
15034         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15035         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15036         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15037         (ldd_rewrite_script): Define variable.
15038         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15040         file.
15041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15042         generated file.
15043         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15044         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15045         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15046         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15047         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15048         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15049         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15050         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15052 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15054         [BZ #17084]
15055         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15056         Rename member __data.d to __data.__elision_data.
15058 2014-06-24  Wilco  <wdijkstr@arm.com>
15060         * NEWS: Add 16918 to fixed bug list.
15062 2014-06-24  Wilco  <wdijkstr@arm.com>
15064         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15066 2014-06-24  Wilco  <wdijkstr@arm.com>
15068         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15069         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15070         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15071         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15072         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15073         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15074         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15075         Use _FPU_MASK_RM.
15077 2014-06-24  Wilco  <wdijkstr@arm.com>
15079         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15081 2014-06-24  Wilco  <wdijkstr@arm.com>
15083         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15084         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15085         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15086         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15088 2014-06-24  Wilco  <wdijkstr@arm.com>
15090         [BZ #16918]
15091         * sysdeps/arm/feupdateenv.c (feupdateenv):
15092         Rewrite to reduce FPSCR accesses and fix return value.
15094 2014-06-24  Wilco  <wdijkstr@arm.com>
15096         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15097         Optimize to avoid unnecessary FPSCR writes.
15098         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15099         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15100         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15101         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15103 2014-06-24  Wilco  <wdijkstr@arm.com>
15105         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15106         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15107         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15108         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15109         Call libc_fetestexcept_vfp.
15110         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15111         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15112         __SOFTFP__ ifdef so that they can be built for softfp.
15114 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15116         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15117         argument type signed char.
15119         * Makerules (check-abi): Dump diff of symlist if the test
15120         fails.
15122 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15124         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15125         using abort.
15127         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15128         Remove unused variable ST.
15130 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15132         [BZ #16354]
15133         [BZ #17061]
15134         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15135         small arguments before calling __expm1.
15136         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15137         small arguments before calling __expm1f.
15138         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15139         small arguments before calling __expm1l.
15140         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15141         Likewise.
15142         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15143         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15144         spurious underflow for some cosh tests.
15145         * math/auto-libm-test-out: Regenerated.
15146         * sysdeps/i386/fpu/libm-test-ulps: Update.
15148         [BZ #17050]
15149         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15150         (__ieee754_y1): Set errno if return value overflows.
15151         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15152         (__ieee754_y1f): Set errno if return value overflows.
15153         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15154         (__ieee754_y1l): Set errno if return value overflows.
15155         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15156         (__ieee754_y1l): Set errno if return value overflows.
15157         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15158         * math/auto-libm-test-out: Regenerated.
15160         * math/gen-auto-libm-tests.c: Document use of
15161         ignore-zero-inf-sign.
15162         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15163         (input_flags): Add ignore-zero-inf-sign.
15164         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15165         * math/gen-libm-test.pl (generate_testfile): Handle
15166         ignore-zero-inf-sign.
15167         * math/auto-libm-test-in: Mark some cpow tests with
15168         ignore-zero-inf-sign and some with xfail-rounding.
15169         * math/auto-libm-test-out: Regenerated.
15170         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15171         * sysdeps/i386/fpu/libm-test-ulps: Update.
15172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15174         [BZ #16315]
15175         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15176         overflowing or underflowing operations take place with sign of
15177         result.
15178         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15179         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15180         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15181         (__ieee754_pow): Recompute overflowing and underflowing results in
15182         original rounding mode.
15183         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15184         (__powl_helper): Allow negative argument X and scale negated value
15185         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15186         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15187         overflowing or underflowing operations take place with sign of
15188         result.
15189         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15190         Include <math.h>.
15191         * math/auto-libm-test-in: Add more tests of pow.
15192         * math/auto-libm-test-out: Regenerated.
15193         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15194         (pow_tonearest_test_data): Remove.
15195         (pow_test_tonearest): Likewise.
15196         (pow_towardzero_test_data): Likewise.
15197         (pow_test_towardzero): Likewise.
15198         (pow_downward_test_data): Likewise.
15199         (pow_test_downward): Likewise.
15200         (pow_upward_test_data): Likewise.
15201         (pow_test_upward): Likewise.
15202         (main): Don't call removed functions.
15203         * sysdeps/i386/fpu/libm-test-ulps: Update.
15204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15206 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15209         Moved ...
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15212         Moved ...
15213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15215         Moved ...
15216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15218         Moved ...
15219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15221         File removed.
15222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15223         File removed.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15225         File removed.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15227         File removed.
15228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15229         File removed.
15230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15231         File removed.
15232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15233         File removed.
15234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15235         File removed.
15236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15237         File removed.
15238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15239         File removed.
15240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15241         File removed.
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15243         File removed.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15245         Moved ...
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15248         Moved ...
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15250         ... here.
15251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15252         Moved ...
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15255         Moved ...
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15258         Moved ...
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15261         Moved ...
15262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15264         Moved ...
15265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15267         Moved ...
15268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15270         Moved ...
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15274         ... here.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15276         Moved ...
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15279         Moved ...
15280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15281         ... here.
15282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15283         Moved ...
15284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15285         ... here.
15286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15287         Moved ...
15288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15289         ... here.
15290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15291         Moved ...
15292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15299         Moved ...
15300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15301         ... here.
15302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15303         Moved ...
15304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15305         ... here.
15306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15307         Moved ...
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15310         Moved ...
15311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15321         ... here.
15322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15323         Moved ...
15324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15326         Moved ...
15327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15329         Moved ...
15330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15332         Moved ...
15333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15337         Moved ...
15338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15345         ... here.
15346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15347         Moved ...
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15349         ... here.
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15351         Moved ...
15352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15353         ... here.
15354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15358         Moved ...
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15361         Moved ...
15362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15364         Moved ...
15365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15366         ... here.
15367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15368         Moved ...
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15370         ... here.
15371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15372         Moved ...
15373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15374         ... here.
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15376         Moved ...
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15379         Moved ...
15380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15382 2014-06-23  Will Newton  <will.newton@linaro.org>
15383             Wilco  <wdijkstr@arm.com>
15385         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15386         implementation.  Include get-rounding-mode.h.
15387         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15388         [!libc_feholdsetround_noex_ctx]: Define
15389         libc_feholdsetround_noex_ctx.
15390         [!libc_feholdsetround_noexf_ctx]: Define
15391         libc_feholdsetround_noexf_ctx.
15392         [!libc_feholdsetround_noexl_ctx]: Define
15393         libc_feholdsetround_noexl_ctx.
15394         (libc_feholdsetround_ctx): New function.
15395         (libc_feresetround_ctx): New function.
15396         (libc_feholdsetround_noex_ctx): New function.
15397         (libc_feresetround_noex_ctx): New function.
15399 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15401         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15402         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15403         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15404         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15405         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15406         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15408         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15409         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15410         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15411         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15412         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15413         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15415         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15417         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15418         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15419         Moved ...
15420         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15421         ... here.
15422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15423         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15425         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15426         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15427         Moved ...
15428         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15430         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15432         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15434         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15436         Moved ...
15437         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15438         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15439         Moved ...
15440         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15441         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15442         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15443         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15444         Moved ...
15445         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15447         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15448         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15449         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15450         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15451         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15453         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15455         Moved ...
15456         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15457         ... here.
15458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15459         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15461         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15462         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15463         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15464         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15465         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15466         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15467         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15468         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15469         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15470         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15471         Moved ...
15472         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15474         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15475         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15476         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15477         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15478         Moved ...
15479         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15481         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15482         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15483         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15485         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15486         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15487         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15488         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15489         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15490         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15491         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15492         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15493         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15494         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15495         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15496         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15497         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15498         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15499         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15500         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15501         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15502         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15504         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15505         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15506         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15507         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15508         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15510         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15511         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15512         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15514 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15517         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15518         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15519         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15520         (IPV6_PMTUDISC_INTERFACE): Likewise.
15521         (IPV6_PMTUDISC_OMIT): Likewise.
15523 2014-06-23  Andreas Schwab  <schwab@suse.de>
15525         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15526         Remove unused errout label.
15528 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15530         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15531         macro: hardware supports Vector Crypto instructions.
15533 2014-06-23  Will Newton  <will.newton@linaro.org>
15535         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15536         rather than __builtin_expect.
15538         * elf/dl-lookup.c (undefined_msg): Remove variable.
15539         (_dl_lookup_symbol_x): Replace undefined_msg with string
15540         literal.
15542         * elf/dl-lookup.c (do_lookup_unique): New function.
15543         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15544         to a separate function.
15546 2014-06-23  Andreas Schwab  <schwab@suse.de>
15548         [BZ #17079]
15549         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15550         before reading the next line.
15552 2014-06-23  Will Newton  <will.newton@linaro.org>
15554         * test-skeleton.c (signal_handler): Use printf and %m
15555         rather than perror.  Use printf rather than fprintf to
15556         stderr.  Use puts rather than fputs to stderr.
15557         (main): Likewise.
15559 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15561         * nscd/nscd.c (thread_info_t): Remove typedef.
15562         (thread_info): Remove variable.
15564 2014-06-21  Allan McRae  <allan@archlinux.org>
15566         * NEWS: Mention CVE-2014-4043.
15568 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15570         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15571         * nptl/smp.h: ... here.
15573         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15575         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15576         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15577         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15578         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15580         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15581         * nptl/stack-aliasing.h: New file.
15582         * sysdeps/i386/i686/stack-aliasing.h: New file.
15583         * sysdeps/i386/i686/nptl/Makefile: File removed.
15584         * sysdeps/x86_64/stack-aliasing.h: New file.
15585         * sysdeps/x86_64/nptl/Makefile
15586         (CFLAGS-pthread_create.c): Variable removed.
15588         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15589         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15590         old file.
15591         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15592         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15593         old file.
15595 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15598         (__ASSUME_SIGFRAME_V2): Remove macro.
15599         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15600         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15601         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15602         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15603         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15604         Declare as function.  Remove conditional macro definitions.
15605         (__default_rt_sa_restorer): Likewise.
15606         (__default_sa_restorer_v1): Remove declaration.
15607         (__default_sa_restorer_v2): Likewise.
15608         (__default_rt_sa_restorer_v1): Likewise.
15609         (__default_rt_sa_restorer_v2): Likewise.
15610         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15611         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15612         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15614 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15616         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15617         (libpthread-routines): Add sysdep.
15618         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15619         * sysdeps/unix/sysv/linux/sparc/Versions
15620         (libpthread: GLIBC_2.3.3): New version set.
15621         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15622         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15623         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15624         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15625         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15626         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15627         Moved ...
15628         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15629         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15630         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15631         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15632         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15633         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15634         * sysdeps/sparc/nptl/sem_init.c: ... here.
15635         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15636         * sysdeps/sparc/nptl/sem_post.c: ... here.
15637         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15638         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15639         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15640         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15641         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15642         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15643         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15644         (libpthread-routines): Add cpu_relax.
15645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15646         File removed.
15647         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15648         (librt: GLIBC_2.3.3): New version set.
15649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15650         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15651         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15652         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15655         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15657         Moved ...
15658         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15660         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15662         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15664         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15668         Moved ...
15669         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15670         Update #include.
15671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15672         Moved ...
15673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15674         Update #include.
15675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15676         Moved ...
15677         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15678         Update #include.
15679         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15680         Moved ...
15681         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15682         Update #include.
15683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15684         Moved ...
15685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15686         Update #include.
15687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15688         Moved ...
15689         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15690         Update #include.
15691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15692         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15698         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15700         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15702         Moved ...
15703         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15705         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15707         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15709 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15711         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15712         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15713         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15714         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15715         * nscd/nscd.c: Likewise.
15716         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15717         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15718         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15719         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15721         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15722         <kernel-features.h>.
15723         (init_mq_netlink): Remove conditional have_sock_cloexec
15724         definitions.  Remove code conditional on have_sock_cloexec < 0.
15725         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15726         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15727         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15728         <kernel-features.h>.
15729         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15730         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15732 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15734         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15735         Add tests for memset_chk and memset.
15737         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15738         with AVX2_Usable.
15740 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15742         [BZ #16046]
15743         * elf/tst-dl-iter-static.c: New file.
15744         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15746         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15747         error.
15749 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15751         * sysdeps/unix/sysv/linux/kernel-features.h
15752         (__ASSUME_F_GETOWN_EX): Remove macro.
15753         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15754         <kernel-features.h>.
15755         (miss_F_GETOWN_EX): Remove variable or macro.
15756         (do_fcntl): Do not check miss_F_GETOWN_EX.
15757         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15760         Remove macro.
15761         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15762         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15763         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15765         * sysdeps/unix/sysv/linux/kernel-features.h
15766         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15767         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15768         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15769         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15771 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15773         [BZ #17075]
15774         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15775         Fix calculation of the symbol's value.
15776         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15777         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15778         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15779         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15780         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15781         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15782         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15783         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15784         (modules-names): Add `tst-armtlsdescmod',
15785         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15786         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15787         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15788         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15789         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15790         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15791         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15792         ($(objpfx)tst-armtlsdescloc): New dependency.
15793         ($(objpfx)tst-armtlsdescextnow): Likewise.
15794         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15795         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15796         TLS scheme support.
15797         * sysdeps/arm/configure: Regenerate.
15799 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15801         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15802         (__atfct_seterrno_2): Likewise.
15803         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15804         <kernel-features.h>.
15805         (__ASSUME_ATFCTS): Do not undefine and redefine.
15806         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15807         (__have_atfcts): Remove conditional definition.
15808         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15809         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15810         unreachable if [__ASSUME_ATFCTS].
15811         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15812         not undefine and redefine.
15813         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15814         <kernel-features.h>.
15815         (faccessat) [__NR_faccessat]: Make code unconditional.
15816         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15817         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15818         <kernel-features.h>.
15819         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15820         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15821         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15822         <kernel-features.h>.
15823         (fchownat) [__NR_fchownat]: Make code unconditional.
15824         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15825         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15826         <kernel-features.h>.
15827         (futimesat) [__NR_futimesat]: Make code unconditional.
15828         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15829         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15830         <kernel-features.h>.
15831         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15832         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15833         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15834         <kernel-features.h>.
15835         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15836         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15837         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15838         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15839         <kernel-features.h>.
15840         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15841         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15842         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15843         <kernel-features.h>.
15844         (linkat) [__NR_linkat]: Make code unconditional.
15845         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15846         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15847         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15848         <kernel-features.h>.
15849         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15850         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15851         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15852         <kernel-features.h>.
15853         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15854         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15855         * sysdeps/unix/sysv/linux/openat.c: Do not include
15856         <kernel-features.h>.
15857         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15858         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15859         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15860         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15861         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15862         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15863         <kernel-features.h>.
15864         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15865         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15866         result of INLINE_SYSCALL directly, not via int variable.
15867         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15868         <kernel-features.h>.
15869         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15870         (renameat) [__NR_renameat]: Make code unconditional.
15871         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15872         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15873         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15874         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15875         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15876         (__ASSUME_ATFCTS): Do not undefine and redefine.
15877         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15878         <kernel-features.h>.
15879         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15880         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15881         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15882         <kernel-features.h>.
15883         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15884         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15885         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15886         (__ASSUME_ATFCTS): Do not undefine and redefine.
15887         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15888         <kernel-features.h>.
15889         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15890         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15891         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15892         <kernel-features.h>.
15893         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15894         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15896 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15898         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15900 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15902         [BZ #17069]
15903         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15904         constructed tree before returning error.
15905         * posix/bug-regexp36.c: Expand test case.
15907 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15909         [BZ #6803]
15910         * math/libm-test.inc (scalbln_test_date):
15911         Add errno expectations.
15912         * math/w_scalblnf.c: New File.
15913         Add wrapper which checks for setting errno to ERANGE.
15914         Add weak_alias for corresponding scalbln function.
15915         * math/w_scalbln.c: Likewise.
15916         * math/w_scalblnl.c: Likewise.
15917         * math/Makefile (libm-calls): Add w_scalbln.
15918         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15919         Remove weak_alias for corresponding scalbln function.
15920         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15922         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15923         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15924         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15925         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15926         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15927         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15928         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15929         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15930         Remove long_double_symbol for scalblnl function in libm, libc.
15931         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15932         Add wrapper which checks for setting errno to ERANGE.
15933         Add long_double_symbol for scalblnl function in libm, libc.
15934         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15935         Remove long_double_symbol for scalblnl in libm.
15936         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15937         Add wrapper which checks for setting errno to ERANGE.
15938         Add long_double_symbol for scalblnl function in libm.
15939         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15940         Do not use wrapper because of own implementation.
15942 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15944         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15945         3 bytes for __pad1 for x32.
15946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15948 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15949             H.J. Lu  <hongjiu.lu@intel.com>
15951         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15952         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15953         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15954         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15955         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15957 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15959         [BZ #17069]
15960         * posix/regcomp.c (parse_expression): Deallocate partially
15961         constructed tree before returning error.
15962         * posix/Makefile.c (tests): Add bug-regex36.
15963         (generated): Add bug-regex36.mtrace.
15964         (tests-special): Add $(objpfx)bug-regex36-mem.out
15965         (bug-regex36-ENV): New variable.
15966         ($(objpfx)bug-regex36-mem.out): New rule.
15967         * posix/bug-regex36.c: New file.
15969 2014-06-19  Will Newton  <will.newton@linaro.org>
15971         * malloc/malloc.c (systrim): If extra is zero then return
15972         early.
15974 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15976         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15978 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15980         * sysdeps/aarch64/strchr.S: New file.
15982 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15984         [BZ #17022]
15985         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15986         from arguments -2 or below.
15987         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15988         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15990 2014-06-18  Andreas Schwab  <schwab@suse.de>
15992         [BZ #17062]
15993         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15994         of a bracket expr not to run off the end of the string.
15995         * posix/Makefile (tests): Add tst-fnmatch3.
15996         * posix/tst-fnmatch3.c: New file.
15998 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16000         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16001         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16002         [$(cross-compiling) = no]: Likewise.
16003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16004         [$(cross-compiling) = no]: Likewise.
16006 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16008         [BZ #17031]
16009         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16010         double, adjusted for any remainder from the high double.
16011         * math/libm-test.inc (nearbyint): Add tests.
16012         (rint): Likewise.
16014 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16016         * nptl/sysdeps/powerpc/Makefile: Moved ...
16017         * sysdeps/powerpc/nptl/Makefile: ... here.
16018         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16019         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16020         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16021         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16022         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16023         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16024         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16025         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16026         * nptl/sysdeps/powerpc/tls.h: Moved ...
16027         * sysdeps/powerpc/nptl/tls.h: ... here.
16029 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16031         [BZ #16681]
16032         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16033         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16034         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16035         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16036         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16037         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16038         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16039         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16040         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16042 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16044         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16046 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16048         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16049         defined operator.
16051         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16052         $TIMEOUTFACTOR.
16054 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16056         [BZ #17058]
16057         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16058         non-executed part of the test.
16060 2014-06-16  Andreas Schwab  <schwab@suse.de>
16062         * string/bits/string2.h (strdup, strndup): Update feature guard.
16064 2014-06-14  David S. Miller  <davem@davemloft.net>
16066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16068 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16070         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16071         that was previously under [RESET_PID].
16072         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16074         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16075         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16076         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16077         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16078         (__libc_vfork): New strong alias.
16079         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16081 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16083         * sysdeps/generic/elide.h: New file.
16085 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16087         * Makefile (installed-headers): Adjust path of pthread.h header.
16089 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16091         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16092         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16093         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16094         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16096         * nptl/sysdeps/s390/Makefile: Moved ...
16097         * sysdeps/s390/nptl/Makefile: ... here.
16098         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16099         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16100         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16101         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16102         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16103         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16104         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16105         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16106         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16107         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16108         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16109         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16110         * nptl/sysdeps/s390/tls.h: Moved ...
16111         * sysdeps/s390/nptl/tls.h: ... here.
16113         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16114         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16116 2014-06-13  David S. Miller  <davem@davemloft.net>
16118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16121         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16125         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16126         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16127         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16128         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16129         Remove RESET_PID cpp guards.
16130         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16131         Remove RESET_PID cpp guards.
16132         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16134 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16136         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16137         __sp to uintptr_t.
16139 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16144         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16150         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16153         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16155         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16156         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16157         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16159         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16160         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16162         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16163         (pthread_rwlock_rdlock): Add elision.
16164         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16165         (pthread_rwlock_wrlock): Add elision.
16166         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16167         (pthread_rwlock_trywrlock): Add elision.
16168         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16169         (pthread_rwlock_tryrdlock): Add elision.
16170         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16171         (pthread_rwlock_tryrdlock): Add elision unlock.
16172         * nptl/sysdeps/pthread/pthread.h:
16173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16174         (PTHREAD_RWLOCK_INITIALIZER,
16175         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16176         Handle new elision field.
16177         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16178         * sysdeps/arm/nptl/bits/pthreadtypes.h
16179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16180         * sysdeps/sh/nptl/bits/pthreadtypes.h
16181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16182         * sysdeps/tile/nptl/bits/pthreadtypes.h
16183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16184         * sysdeps/a/nptl/bits/pthreadtypes.h
16185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16186         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16188         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16190         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16191         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16192         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16193         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16194         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16195         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16196         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16197         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16198         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16199         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16200         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16202         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16203         (elision_init): Set try_xbegin to zero when no RTM.
16204         * sysdeps/x86/nptl/bits/pthreadtypes.h
16205         (pthread_rwlock_t): Change __pad1 to __rwelision.
16206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16208 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16210         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16211         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16212         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16213         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16215 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16217         [BZ #16996]
16218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16219         that the cached result has been set before returning it.
16221 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16223         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16224         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16225         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16226         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16227         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16228         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16230         * nptl/sysdeps/sparc/Makefile: Moved ...
16231         * sysdeps/sparc/nptl/Makefile: ... here.
16232         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16233         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16234         * nptl/sysdeps/sparc/tls.h: Moved ...
16235         * sysdeps/sparc/nptl/tls.h: ... here.
16236         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16237         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16238         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16239         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16240         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16241         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16242         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16243         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16244         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16245         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16246         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16247         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16248         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16249         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16250         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16251         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16252         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16253         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16254         Update #include.
16255         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16256         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16257         Update #include.
16258         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16259         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16260         Update #include.
16261         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16263         Update #include.
16265         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16267         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16268         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16270         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16271         (struct list_links): Type removed.
16272         (struct thread_node, struct timer_node): Replace struct list_links
16273         with struct list_head.
16274         (list_unlink_ip): Likewise.
16275         * sysdeps/pthread/timer_routines.c
16276         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16277         (list_append, list_insbefore): Likewise.
16278         (list_init): Function removed.
16279         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16280         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16281         * sysdeps/pthread/Makefile: ... here, new file.
16283         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16284         * sysdeps/nptl/Implies: ... here.
16285         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16286         * nptl/sysdeps/pthread/list.h: Moved ...
16287         * include/list.h: ... here.
16288         * nptl/sysdeps/pthread/createthread.c: Moved ...
16289         * nptl/createthread.c: ... here.
16290         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16291         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16292         * nptl/pt-longjmp.c: ... here.
16293         * nptl/sysdeps/pthread/Makefile: Moved ...
16294         * sysdeps/nptl/Makefile: ... here.
16295         * nptl/sysdeps/pthread/Subdirs: Moved ...
16296         * sysdeps/nptl/Subdirs: ... here.
16297         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16298         * sysdeps/nptl/aio_misc.h: ... here.
16299         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16300         * sysdeps/nptl/bits/libc-lock.h: ... here.
16301         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16302         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16303         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16304         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16305         * nptl/sysdeps/pthread/configure: Moved ...
16306         * sysdeps/nptl/configure: ... here.
16307         * nptl/sysdeps/pthread/configure.ac: Moved ...
16308         * sysdeps/nptl/configure.ac: ... here.
16309         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16310         * sysdeps/nptl/gai_misc.h: ... here.
16311         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16312         * sysdeps/nptl/librt-cancellation.c: ... here.
16313         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16314         * sysdeps/nptl/malloc-machine.h: ... here.
16315         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16316         * sysdeps/nptl/pthread-functions.h: ... here.
16317         * nptl/sysdeps/pthread/pthread.h: Moved ...
16318         * sysdeps/nptl/pthread.h: ... here.
16319         * nptl/sysdeps/pthread/setxid.h: Moved ...
16320         * sysdeps/nptl/setxid.h: ... here.
16321         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16322         * sysdeps/nptl/sigfillset.c: ... here.
16323         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16324         * sysdeps/nptl/tcb-offsets.h: ... here.
16325         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16326         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16327         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16328         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16329         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16330         * sysdeps/pthread/allocalim.h: ... here.
16331         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16332         * sysdeps/pthread/bits/sigthread.h: ... here.
16333         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16334         * sysdeps/pthread/flockfile.c: ... here.
16335         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16336         * sysdeps/pthread/ftrylockfile.c: ... here.
16337         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16338         * sysdeps/pthread/funlockfile.c: ... here.
16339         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16340         * sysdeps/pthread/posix-timer.h: ... here.
16341         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16342         * sysdeps/pthread/timer_create.c: ... here.
16343         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16344         * sysdeps/pthread/timer_delete.c: ... here.
16345         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16346         * sysdeps/pthread/timer_getoverr.c: ... here.
16347         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16348         * sysdeps/pthread/timer_gettime.c: ... here.
16349         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16350         * sysdeps/pthread/timer_routines.c: ... here.
16351         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16352         * sysdeps/pthread/timer_settime.c: ... here.
16353         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16354         * sysdeps/pthread/tst-timer.c: ... here.
16355         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16356         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16358         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16359         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16361         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16362         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16363         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16364         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16365         Update #include target.
16366         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16367         * sysdeps/i386/i686/nptl/Makefile: ... here.
16368         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16369         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16370         Update #include target.
16371         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16372         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16373         * nptl/sysdeps/i386/Makefile: Moved ...
16374         * sysdeps/i386/nptl/Makefile: ... here.
16375         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16376         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16377         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16378         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16379         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16380         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16381         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16382         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16383         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16384         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16385         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16386         * nptl/sysdeps/i386/tls.h: Moved ...
16387         * sysdeps/i386/nptl/tls.h: ... here.
16389         * sysdeps/sh/Makefile [$(subdir) = csu]
16390         (gen-as-const-headers): Add tcb-offsets.sym.
16391         * nptl/sysdeps/sh/Makefile: File removed.
16392         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16393         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16394         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16395         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16396         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16397         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16398         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16399         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16400         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16401         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16402         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16403         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16404         * nptl/sysdeps/sh/tls.h: Moved ...
16405         * sysdeps/sh/nptl/tls.h: ... here.
16406         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16407         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16408         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16409         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16411         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16412         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16413         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16414         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16415         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16417         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16419         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16421         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16422         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16423         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16424         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16425         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16427         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16428         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16429         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16430         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16431         Moved ...
16432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16434         Moved ...
16435         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16436         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16437         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16438         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16439         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16440         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16441         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16442         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16443         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16444         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16445         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16446         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16447         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16448         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16449         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16450         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16451         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16452         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16453         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16455 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16457         * posix/spawn_faction_addopen.c: Include string.h.
16459 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16461         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16462         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16463         * nptl/sysdeps/x86_64/Makefile: Moved ...
16464         * sysdeps/x86_64/nptl/Makefile: ... here.
16465         * nptl/sysdeps/x86_64/configure: Moved ...
16466         * sysdeps/x86_64/nptl/configure: ... here.
16467         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16468         * sysdeps/x86_64/nptl/configure.ac: ... here.
16469         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16470         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16471         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16472         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16473         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16474         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16475         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16476         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16477         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16478         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16479         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16480         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16481         * nptl/sysdeps/x86_64/tls.h: Moved ...
16482         * sysdeps/x86_64/nptl/tls.h: ... here.
16483         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16484         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16485         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16486         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16488         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16490 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16494 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16496         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16497         type.
16498         [POSIX] (off_t): Likewise.
16499         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16500         [POSIX] (S_ISBLK): Require macro.
16501         [POSIX] (S_ISCHR): Likewise.
16502         [POSIX] (S_ISDIR): Likewise.
16503         [POSIX] (S_ISFIFO): Likewise.
16504         [POSIX] (S_ISREG): Likewise.
16505         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16506         optional-macro.
16507         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16508         type.
16509         [POSIX] (time_t): Likewise.
16510         [POSIX] (timer_t): Likewise.
16512 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16514         [BZ #17048]
16515         * posix/spawn_int.h (struct __spawn_action): Make the path string
16516         non-const to support deallocation.
16517         * posix/spawn_faction_addopen.c
16518         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16519         * posix/spawn_faction_destroy.c
16520         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16521         path in all spawn_do_open actions.
16522         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16523         posix_spawn_file_actions_addopen.
16525 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16527         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16528         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16529         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16530         conditional code always true.
16531         (__libc_vfork): New alias.
16533 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16535         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16536         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16538         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16540         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16541         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16543         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16544         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16546         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16547         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16549 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16551         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16552         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16553         multiarch strcmp for PPC64.
16554         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16555         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16557         multiarch optimizations.
16558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16559         (__libc_ifunc_impl_list): Likewise.
16561 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16563         * benchtests/scripts/validate_benchout.py: New script.
16564         * benchtests/Makefile (bench-func): Call it.
16565         * benchtests/scripts/benchout.schema.json: New file.
16567 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16569         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16570         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16571         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16572         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16573         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16574         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16575         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16576         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16577         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16578         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16579         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16580         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16581         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16582         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16583         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16584         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16588         ... here.
16589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16590         Moved ...
16591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16593         Moved ...
16594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16595         ... here.
16596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16597         Moved ...
16598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16599         ... here.
16600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16601         Moved ...
16602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16604         Moved ...
16605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16606         ... here.
16607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16608         Moved ...
16609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16610         ... here.
16611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16612         Moved ...
16613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16615         Moved ...
16616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16617         ... here.
16618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16619         Moved ...
16620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16621         ... here.
16622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16623         Moved ...
16624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16625         ... here.
16626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16627         Moved ...
16628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16630         Moved ...
16631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16632         ... here.
16633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16634         Moved ...
16635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16636         ... here.
16637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16638         Moved ...
16639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16640         ... here.
16641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16642         Moved ...
16643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16645         Moved ...
16646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16647         ... here.
16648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16649         Moved ...
16650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16651         ... here.
16652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16653         Moved ...
16654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16658         ... here.
16659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16660         Moved ...
16661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16663         Moved ...
16664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16666         Moved ...
16667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16668         ... here.
16669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16670         Moved ...
16671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16672         ... here.
16673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16674         Moved ...
16675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16676         ... here.
16677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16678         Moved ...
16679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16681         Moved ...
16682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16683         ... here.
16684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16685         Moved ...
16686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16687         ... here.
16688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16689         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16690         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16691         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16695         ... here.
16696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16703         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16705         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16706         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16707         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16708         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16709         Moved ...
16710         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16712         Moved ...
16713         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16715         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16716         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16717         Moved ...
16718         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16720         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16721         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16722         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16723         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16724         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16726 2014-06-10  Wilco  <wdijkstr@arm.com>
16728         * math/test-fenv-return.c: New file.
16729         * math/Makefile: Add new test test-fenv-return.
16731 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16733         [BZ #17042]
16734         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16735         when x - 1 is zero.
16736         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16737         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16738         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16739         0.0L for an argument of 1.0L.
16740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16741         Likewise.
16742         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16743         value when x - 1 is zero.
16744         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16745         * sysdeps/i386/fpu/libm-test-ulps: Update.
16746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16748 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16750         [BZ #15119]
16751         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16753 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16755         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16756         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16758 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16760         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16761         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16763         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16764         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16766         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16767         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16769         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16770         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16772         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16773         if not already defined.
16774         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16775         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16776         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16777         (TLS_INIT_TP): Use it.
16778         (TLS_DEFINE_INIT_TP): New macro.
16779         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16781 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16783         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16784         constant.
16785         [POSIX] (IXANY): Likewise.
16786         [POSIX] (OLCUC): Likewise.
16787         [POSIX || POSIX2008] (CBAUD): Do not allow.
16788         [POSIX || POSIX2008] (DEFECHO): Likewise.
16789         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16790         [POSIX || POSIX2008] (ECHOKE): Likewise.
16791         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16792         [POSIX || POSIX2008] (EXTA): Likewise.
16793         [POSIX || POSIX2008] (EXTB): Likewise.
16794         [POSIX || POSIX2008] (FLUSHO): Likewise.
16795         [POSIX || POSIX2008] (LOBLK): Likewise.
16796         [POSIX || POSIX2008] (PENDIN): Likewise.
16797         [POSIX || POSIX2008] (SWTCH): Likewise.
16798         [POSIX || POSIX2008] (VDISCARD): Likewise.
16799         [POSIX || POSIX2008] (VDSUSP): Likewise.
16800         [POSIX || POSIX2008] (VLNEXT): Likewise.
16801         [POSIX || POSIX2008] (VREPRINT): Likewise.
16802         [POSIX || POSIX2008] (VSTATUS): Likewise.
16803         [POSIX || POSIX2008] (VWERASE): Likewise.
16804         (B*): Change to B[0123456789]*.
16805         * conform/data/time.h-data [POSIX || UNIX98]
16806         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16807         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16808         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16809         [POSIX] (tm_*): Do not allow.
16811 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16813         * Makefile (install): Don't set LANGUAGE.
16814         * Makefile.in (install): Likewise.
16815         * assert/Makefile (test-assert-ENV): Remove variable.
16816         (test-assert-perr-ENV): Likewise.
16817         * elf/Makefile (neededtest4-ENV): Likewise.
16818         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16819         [$(cross-compiling) = no]: Don't set LANGUAGE.
16820         * io/ftwtest-sh (LANG): Remove variable.
16821         * libio/Makefile (tst-widetext-ENV): Likewise.
16822         * manual/install.texi (Running make install): Don't refer to
16823         environment settings for make install.
16824         * INSTALL: Regenerated.
16825         * nptl/tst-tls6.sh: Don't set LANG.
16826         * posix/globtest.sh (LANG): Remove variable.
16827         * string/Makefile (tester-ENV): Likewise.
16828         (inl-tester-ENV): Likewise.
16829         (noinl-tester-ENV): Likewise.
16830         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16831         [$(cross-compiling) = no]: Don't set LANGUAGE.
16832         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16833         without explicit environment settings.
16835 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16837         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16838         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16839         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16840         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16842 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16844         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16845         other files in the crypt directory.
16846         * crypt/crypt.c: Remove duplicate includes.
16847         * crypt/crypt-entry.c: Likewise.
16848         * crypt/crypt_util.c: Likewise.
16850 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16852         * Makeconfig (run-program-env): New variable.
16853         (run-program-prefix-before-env): Likewise.
16854         (run-program-prefix-after-env): Likewise.
16855         (run-program-prefix): Define in terms of new variables.
16856         (built-program-cmd-before-env): New variable.
16857         (built-program-cmd-after-env): Likewise.
16858         (built-program-cmd): Define in terms of new variables.
16859         (test-program-prefix-before-env): New variable.
16860         (test-program-prefix-after-env): Likewise.
16861         (test-program-prefix): Define in terms of new variables.
16862         (test-program-cmd-before-env): New variable.
16863         (test-program-cmd-after-env): Likewise.
16864         (test-program-cmd): Define in terms of new variables.
16865         * Rules (make-test-out): Use $(run-program-env).
16866         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16867         (help): Do not mention environment variables.  Mention
16868         --timeoutfactor option.
16869         (timeoutfactor): New variable.
16870         (blacklist_exports): Remove function.
16871         (exports): Remove variable.
16872         (command): Do not include ${exports}.
16873         * manual/install.texi (Configuring and compiling): Do not mention
16874         test wrappers preserving environment variables.  Mention that last
16875         assignment to a variable must take precedence.
16876         * INSTALL: Regenerated.
16877         * benchtests/Makefile (run-bench): Use $(run-program-env).
16878         * catgets/Makefile ($(objpfx)test1.cat): Use
16879         $(built-program-cmd-before-env), $(run-program-env) and
16880         $(built-program-cmd-after-env).
16881         ($(objpfx)test2.cat): Do not specify environment variables
16882         explicitly.
16883         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16884         $(run-program-env) and $(built-program-cmd-after-env).
16885         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16886         $(run-program-env) and $(test-program-cmd-after-env).
16887         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16888         explicitly.
16889         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16890         run_program_env and test_program_cmd_after_env arguments.
16891         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16892         * elf/tst-pathopt.sh: Use run_program_env argument.
16893         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16894         $(test-wrapper-env) and $(run-program-env).
16895         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16896         run_program_env arguments.
16897         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16898         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16899         $(test-program-prefix-before-env), $(run-program-env) and
16900         $(test-program-prefix-after-env).
16901         ($(objpfx)tst-gettext2.out): Likewise.
16902         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16903         run_program_env and test_program_prefix_after_env arguments.
16904         * intl/tst-gettext2.sh: Likewise.
16905         * intl/tst-gettext4.sh: Do not set environment variables
16906         explicitly.
16907         * intl/tst-gettext6.sh: Likewise.
16908         * intl/tst-translit.sh: Likewise.
16909         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16910         $(test-program-prefix-before-env), $(run-program-env) and
16911         $(test-program-prefix-after-env).
16912         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16913         run_program_env and test_program_prefix_after_env arguments.
16914         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16915         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16916         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16917         explicitly with each use of ${test_wrapper_env}.
16918         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16919         $(test-program-prefix-before-env), $(run-program-env) and
16920         $(test-program-prefix-after-env).
16921         * posix/tst-getconf.sh: Do not set environment variables
16922         explicitly.
16923         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16924         run_program_env and test_program_prefix_after_env arguments.
16925         * stdio-common/tst-printf.sh: Do not set environment variables
16926         explicitly.
16927         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16928         $(test-program-prefix-before-env), $(run-program-env) and
16929         $(test-program-prefix-after-env).
16930         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16931         run_program_env and test_program_prefix_after_env arguments.
16932         Split $test calls into $test_pre and $test.
16933         * timezone/Makefile (build-testdata): Use
16934         $(built-program-cmd-before-env), $(run-program-env) and
16935         $(built-program-cmd-after-env).
16937 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16939         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16940         strlen for non SHARED builds.
16942 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16944         * nptl/allocatestack.c (check_list): Inlined function...
16945         (__reclaim_stacks): ... here.
16947 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16949         [BZ #15698]
16950         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16951         memory overrun.
16953 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16955         * Rules (make-test-out): Include
16956         LOCPATH=$(common-objpfx)localedata in default environment.
16957         * debug/Makefile (tst-chk1-ENV): Remove variable.
16958         (tst-chk2-ENV): Likewise.
16959         (tst-chk3-ENV): Likewise.
16960         (tst-chk4-ENV): Likewise.
16961         (tst-chk5-ENV): Likewise.
16962         (tst-chk6-ENV): Likewise.
16963         (tst-lfschk1-ENV): Likewise.
16964         (tst-lfschk2-ENV): Likewise.
16965         (tst-lfschk3-ENV): Likewise.
16966         (tst-lfschk4-ENV): Likewise.
16967         (tst-lfschk5-ENV): Likewise.
16968         (tst-lfschk6-ENV): Likewise.
16969         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16970         (tst-iconv7-ENV): Likewise.
16971         * intl/Makefile (LOCPATH-ENV): Likewise.
16972         (tst-codeset-ENV): Likewise.
16973         (tst-gettext3-ENV): Likewise.
16974         (tst-gettext5-ENV): Likewise.
16975         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16976         (tst-fopenloc-ENV): Likewise.
16977         (tst-fgetws-ENV): Remove variable.
16978         (tst-ungetwc1-ENV): Likewise.
16979         (tst-ungetwc2-ENV): Likewise.
16980         (bug-ungetwc2-ENV): Likewise.
16981         (tst-swscanf-ENV): Likewise.
16982         (bug-ftell-ENV): Likewise.
16983         (tst-fgetwc-ENV): Likewise.
16984         (tst-fseek-ENV): Likewise.
16985         (tst-ftell-partial-wide-ENV): Likewise.
16986         (tst-ftell-active-handler-ENV): Likewise.
16987         (tst-ftell-append-ENV): Likewise.
16988         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16989         (tst-regexloc-ENV): Likewise.
16990         (bug-regex1-ENV): Likewise.
16991         (tst-regex-ENV): Likewise.
16992         (tst-regex2-ENV): Likewise.
16993         (bug-regex5-ENV): Likewise.
16994         (bug-regex6-ENV): Likewise.
16995         (bug-regex17-ENV): Likewise.
16996         (bug-regex18-ENV): Likewise.
16997         (bug-regex19-ENV): Likewise.
16998         (bug-regex20-ENV): Likewise.
16999         (bug-regex22-ENV): Likewise.
17000         (bug-regex23-ENV): Likewise.
17001         (bug-regex25-ENV): Likewise.
17002         (bug-regex26-ENV): Likewise.
17003         (bug-regex30-ENV): Likewise.
17004         (bug-regex32-ENV): Likewise.
17005         (bug-regex33-ENV): Likewise.
17006         (bug-regex34-ENV): Likewise.
17007         (bug-regex35-ENV): Likewise.
17008         (tst-rxspencer-ENV): Likewise.
17009         (tst-rxspencer-no-utf8-ENV): Likewise.
17010         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17011         (tst-sscanf-ENV): Likewise.
17012         (tst-swprintf-ENV): Likewise.
17013         (tst-swscanf-ENV): Likewise.
17014         (test-vfprintf-ENV): Likewise.
17015         (scanf13-ENV): Likewise.
17016         (bug14-ENV): Likewise.
17017         (tst-grouping-ENV): Likewise.
17018         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17019         (tst-strtod3-ENV): Likewise.
17020         (tst-strtod4-ENV): Likewise.
17021         (tst-strtod5-ENV): Likewise.
17022         (testmb2-ENV): Likewise./
17023         * string/Makefile (tst-strxfrm-ENV): Likewise.
17024         (tst-strxfrm2-ENV): Likewise.
17025         (bug-strcoll1-ENV): Likewise.
17026         (test-strcasecmp-ENV): Likewise.
17027         (test-strncasecmp-ENV): Likewise.
17028         * time/Makefile (tst-strptime-ENV): Likewise.
17029         (tst-ftime_l-ENV): Likewise.
17030         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17031         (tst-mbrtowc-ENV): Likewise.
17032         (tst-wcrtomb-ENV): Likewise.
17033         (tst-mbrtowc2-ENV): Likewise.
17034         (tst-c16c32-1-ENV): Likewise.
17035         (tst-mbsnrtowcs-ENV): Likewise.
17037 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17039         * manual/resource.texi (How to get information about the memory
17040         subsystem?): Fix typo.
17041         Reported by Peon de la Parra Ivan <peon@keba.com>
17043 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17045         [BZ #16882]
17046         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17047         (pthread_spin_lock): Branch out of spin loop to proper location.
17048         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17049         (pthread_spin_lock): Likewise.
17051         * nptl/tst-spin4.c: New test.
17052         * nptl/Makefile (tests): Add tst-spin4.
17054 2014-06-03  Andreas Schwab  <schwab@suse.de>
17056         [BZ #15946]
17057         * resolv/res_send.c (send_dg): Reload file descriptor after
17058         calling reopen.
17060 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17062         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17064 2014-06-03  Richard Henderson  <rth@redhat.com>
17066         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17067         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17068         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17069         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17070         in the SAVE_PID block.
17071         (__libc_vfork): New alias.
17072         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17074         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17075         child in registers, not on the stack.  Remove RESET_PID conditionals.
17076         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17078 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17080         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17082 2014-06-03  Wilco  <wdijkstr@arm.com>
17084         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17085         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17086         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17087         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17088         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17089         Likewise.
17091 2014-06-03  Wilco  <wdijkstr@arm.com>
17093         * sysdeps/aarch64/fpu/math_private.h
17094         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17095         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17096         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17097         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17098         Fix declarations.
17100 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17102         * crypt/crypt-private.h: Include ufc-crypt.h.
17103         (__b64_from_24bit): Declare extern.
17104         * crypt/crypt_util.c(__b64_from_24bit): New function.
17105         (b64t): New static const variable.
17106         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17107         (b64t): Remove variable.
17108         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17109         * crypt/sha256-crypt.c: Include crypt-private.h.
17110         (b64t): Remove variable.
17111         (__sha256_crypt_r): Remove b64_from_24bit and replace
17112         with __b64_from_24bit.
17113         * crypt/sha512-crypt.c: Likewise.
17115 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17117         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17118         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17119         Label the code __libc_vfork rather than __vfork.
17120         [!NOT_IN_libc] (vfork): Define as weak alias.
17121         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17122         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17123         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17125 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17127         * malloc/malloc.c (malloc_info): Fix format specifier for
17128         n_mmaps.
17130 2014-06-02  Wilco  <wdijkstr@arm.com>
17132         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17133         FPCR write.
17135 2014-06-02  Wilco  <wdijkstr@arm.com>
17137         [BZ #17009]
17138         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17139         Rewrite to reduce FPCR/FPSR accesses.
17141 2014-06-01  David S. Miller  <davem@davemloft.net>
17143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17145 2014-05-31  David S. Miller  <davem@davemloft.net>
17147         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17148         to occur in round to nearest mode when |x| >= 2.0
17150 2014-05-30  Richard Henderson  <rth@twiddle.net>
17152         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17153         (PSEUDO_RET_NOERRNO): Remove.
17154         (ret): Don't redefine.
17155         (ret_NOERRNO): Define in terms of ret.
17156         (ret_ERRVAL): Likewise.
17158         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17159         use of PSEUDO_RET; perform the error check directly.
17161 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17163         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17164         with __int128_t.
17166 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17168         * malloc/malloc (malloc_info): Fix formatting.
17170 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171             Roland McGrath  <roland@hack.frob.com>
17173         * malloc/malloc (malloc_info): Also print mmapped statistics.
17175 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17177         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17178         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17180 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17182         * malloc/malloc.c (malloc_info): Inline mi_arena.
17184 2014-05-29  Richard Henderson  <rth@twiddle.net>
17186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17187         Remove comma before expanding ASM_ARGS_##nr.
17188         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17189         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17190         of ASM_ARGS_##nr.
17191         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17192         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17193         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17194         (ASM_ARGS_1): Add leading comma.
17196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17197         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17198         to __errno_location.
17199         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17200         Remove the expected plt for __errno_location.
17202         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17203         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17204         call to __read_tp.
17206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17207         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17208         it and break it down.
17209         (DOCARGS_0, DOCARGS_1): Do nothing.
17210         (DOCARGS_2): Update to store into the new stack frame.
17211         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17212         (UNDOCARGS_1): Update to restore from the new stack frame.
17213         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17214         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17216         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17217         (SINGLE_THREAD_P): New parameter for result regno.
17218         (PSEUDO): Update to match; use cbz instead of beq.
17220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17221         Use ENTRY to define the _nocancel entry point.  Share the syscall
17222         and syscall error check paths with the cancel path.
17223         (PSEUDO_END): New.
17225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17226         whitespace; tabs before and after asm mnemonics.
17228 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17230         [BZ #15132]
17231         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17232         Call fstat64 or stat64 internally, depending on arguments passed.
17233         Replace stat buffer argument with file descriptor argument.
17234         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17235         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17236         Pass fd to __internal_statvfs instead of calling fstat64.
17237         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17238         Pass fd to __internal_statvfs64 instead of calling fstat64.
17239         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17240         Pass -1 to __internal_statvfs instead of calling stat64.
17241         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17242         Pass -1 to __internal_statvfs64 instead of calling stat64.
17244 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17246         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17247         that was previously under [RESET_PID].
17248         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17250         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17251         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17253 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17255         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17257         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17258         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17260 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17262         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17264 2014-05-27  Andreas Schwab  <schwab@suse.de>
17266         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17267         TLS_INIT_TP macro.
17268         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17269         * elf/rtld.c (init_tls, dl_main): Likewise.
17270         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17271         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17272         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17273         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17274         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17275         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17276         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17277         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17278         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17279         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17280         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17281         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17282         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17283         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17284         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17285         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17286         * sysdeps/generic/tls.h: Update description.
17288 2014-05-27  Will Newton  <will.newton@linaro.org>
17290         [BZ #16990]
17291         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17292         and restore r2 rather than just restoring.
17294 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17296         [BZ #16724]
17297         * libio/tst-ftell-append.c: New test case.
17298         * libio/Makefile (tests): Add test case.
17299         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17300         append mode.
17301         * libio/wfileops.c (do_ftell_wide): Likewise.
17303 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17307         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17308         ...
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17311         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17312         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17313         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17314         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17315         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17316         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17321         Moved ...
17322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17323         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17324         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17325         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17326         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17327         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17328         ...
17329         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17330         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17331         Moved ...
17332         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17333         here.
17334         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17335         ...
17336         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17337         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17338         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17340         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17341         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17342         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17343         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17345         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17346         merge into ...
17347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17349         ...
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17352         ...
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17355         Moved ...
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17357         here.
17358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17359         Moved ...
17360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17366         conditional [RESET_PID].
17367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17369         removed.
17370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17371         removed.
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17374         <tcb-offsets.h>.
17375         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17376         (__libc_vfork): New strong alias.
17377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17378         removed.
17379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17380         Removed.
17382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17383         <tcb-offsets.h>.
17384         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17385         (__libc_vfork): New strong alias.
17386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17387         removed.
17388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17389         removed.
17391 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17393         * malloc/malloc.c (mi_arena): New function.
17394         (malloc_info): Remove nested function mi_arena. Call non-nosted
17395         function mi_arena.
17397 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17399         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17400         by insrwi.
17401         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17402         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17403         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17404         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17405         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17406         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17407         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17409 2014-05-26  Andreas Schwab  <schwab@suse.de>
17411         [BZ #16984]
17412         * locale/programs/repertoire.c (repertoire_read): Add slash
17413         between I18NPATH element and file name.
17414         * locale/programs/locfile.c (locfile_read): Likewise.
17416 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17418         * nptl/pthread_mutexattr_settype.c
17419         (__pthread_mutexattr_settype):
17420         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17422 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17424         * nptl/tst-mutex5 (do_test):
17425         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17427 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17429         * benchtests/README: Document 'init' directive.
17430         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17431         BENCH_INIT.
17432         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17433         (parse_file): Recognize 'init' directive.
17435 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17437         [BZ #16796]
17438         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17439         alignment of struct pthread.
17441 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17443         [BZ #16878]
17444         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17445         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17446         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17447         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17449 2014-05-25  Richard Henderson  <rth@twiddle.net>
17451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17452         (SINGLE_THREAD_P_PIC): Remove.
17453         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17454         (SINGLE_THREAD_P_PIC): Remove.
17456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17457         branch to syscall error ...
17458         (PSEUDO): ... here.
17459         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17460         from __local_syscall_error to .Lsyscall_error.
17461         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17462         (SYSCALL_ERROR): Update label name.
17464         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17465         Do not use DOARGS/UNDOARGS.
17466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17467         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17468         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17469         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17470         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17473         block comment.
17475         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17476         define if !NOT_IN_libc.
17477         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17478         define with non-default symbol versions.
17480 2014-05-23  Richard Henderson  <rth@twiddle.net>
17482         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17483         (vfork, __vfork): Define via compat_symbol.
17485         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17486         [!HAVE_IFUNC] (vfork_compat): Remove.
17487         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17489 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17491         [BZ #16978]
17492         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17493         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17494         variable.
17496 2014-05-23  Richard Henderson  <rth@twiddle.net>
17498         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17499         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17500         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17501         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17503         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17504         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17506         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17507         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17508         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17509         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17510         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17511         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17512         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17513         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17514         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17515         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17516         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17518         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17520         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17522         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17523         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17524         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17526         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17527         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17528         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17529         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17530         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17532         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17533         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17534         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17535         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17536         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17537         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17538         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17539         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17540         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17541         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17542         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17543         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17544         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17545         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17546         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17547         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17548         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17550         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17552         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17553         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17554         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17555         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17556         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17557         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17558         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17560         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17561         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17562         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17563         before exiting on error.
17564         (__libc_vfork): New strong alias.
17565         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17566         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17568         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17569         that was previously under [RESET_PID].
17570         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17572         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17574 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17576         [BZ #16977]
17577         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17578         value when x - 1 is zero.
17579         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17580         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17581         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17582         0.0L for an argument of 1.0L.
17583         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17584         Likewise.
17585         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17586         value when x - 1 is zero.
17587         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17588         * sysdeps/i386/fpu/libm-test-ulps: Update.
17589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17591 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17593         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17594         alphasort and versionsort.
17596 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17598         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17599         macro.
17600         [copysignf]: Likewise.
17602 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17604         * crypt/md5-crypt.c: Fix formatting.
17606 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17608         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17609         (b64_from_24bit): New function.
17611 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17613         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17614         libc_hidden_builtin_def to ifunc.
17615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17616         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17618 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17620         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17621         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17623 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17625         * nscd/Depend (linuxthreads): Remove.
17626         (nptl): Add.
17627         * resolv/Depend (linuxthreads): Remove.
17628         * rt/Depend (linuxthreads): Remove.
17630         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17631         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17632         $(common-objpfx)elf/.
17633         (link-libc-before-gnulib): Likewise.
17634         (elfobjdir): Remove variable.
17635         * Makefile (install): Use $(elf-objpfx) instead of
17636         $(common-objpfx)elf/.
17637         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17638         $(elfobjdir)/.
17639         (link-libc-deps): Likewise.
17640         ($(common-objpfx)libc.so): Likewise.
17641         ($(common-objpfx)linkobj/libc.so): Likewise.
17642         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17643         instead of $(common-objpfx)elf/.
17644         (symbolic-link-list): Likewise.
17645         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17646         [$(cross-compiling) = no]: Likewise.
17647         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17648         $(elfobjdir)/.
17649         (static-gnulib-arch): Likewise.
17650         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17651         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17652         $(common-objpfx)elf/.
17654 2014-05-21  Richard Henderson  <rth@redhat.com>
17656         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17657         (SINGLE_THREAD_P): Use the correct width load.  Fold
17658         into the ldr offset.
17660         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17661         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17663 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17665         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17666         (libgcc_s_resume): Use __attribute_used__.
17667         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17668         Likewise.
17670 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17672         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17673         optimization when used with float constants.
17675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17677 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17679         [BZ #16915]
17680         * locale/nl_langinfo_l.c: Make direct reference to every
17681         _nl_current_CATEGORY symbol.
17682         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17683         (tests-static): Add tst-langinfo-static.
17684         (tests-special): Add tst-langinfo-static.out.
17685         ($(objpfx)tst-langinfo.out): Redirect output.
17686         ($(objpfx)tst-langinfo-static.out): New.
17687         * localedata/tst-langinfo.sh: Send output to stdout.
17688         * localedata/tst-langinfo-static.c: New file.
17690         [BZ #16965]
17691         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17692         when the shift amount is modulo the limb size.
17694 2014-05-20  Richard Henderson  <rth@redhat.com>
17696         [BZ #16967]
17697         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17698         Change type of sa_flags from unsigned int to int.
17700         [BZ #16966]
17701         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17703         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17705 2014-05-20  Will Newton  <will.newton@linaro.org>
17707         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17708         Test the return value of the system call in the nocancel case.
17710 2014-05-20  Will Newton  <will.newton@linaro.org>
17711             Yvan Roux  <yvan.roux@linaro.org>
17713         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17714         #include of asm/ptrace.h.
17715         (PTRACE_GET_THREAD_AREA): Remove #undef.
17716         (PTRACE_GETHBPREGS): Likewise.
17717         (PTRACE_SETHBPREGS): Likewise.
17718         (struct user_regs_struct): New structure.
17719         (struct user_fpsimd_struct): New structure.
17720         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17721         #include of asm/ptrace.h and second #include of sys/user.h.
17722         (PTRACE_GET_THREAD_AREA): Remove #undef.
17723         (PTRACE_GETHBPREGS): Likewise.
17724         (PTRACE_SETHBPREGS): Likewise.
17725         (ELF_NGREG): Use new struct user_regs_struct.
17726         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17728 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17731         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17733 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17735         [BZ #16958]
17736         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17737         membar to avoid block loads/stores to overlap previous stores.
17739 2014-05-17  Richard Henderson  <rth@redhat.com>
17741         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17742         Create the __##syscall_name##_nocancel entry point.
17743         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17744         Remove; let the sysdep-cancel.h code create it.
17746 2014-05-17  David S. Miller  <davem@davemloft.net>
17748         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17749         Protect with __USE_GNU.
17750         (TIOCSET_TEMPT): Likewise.
17751         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17752         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17753         these are already provided in bits/ioctl-types.h
17755 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17757         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17758         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17760         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17761         Use wait4 regardless of [__NR_waitpid].
17763 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17765         PR libgcc/60166
17766         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17767         (_FP_NANSIGN_Q): Set the quiet bit.
17769 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17771         * benchtests/Makefile
17772         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17773         not $(common-objpfx)math/libm.so.
17774         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17775         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17776         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17777         $(common-objpfx)dlfcn/libdl.so.
17778         ($(objpfx)tst-audit8): Depend on $(libm), not
17779         $(common-objpfx)math/libm.so.
17780         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17781         not $(common-objpfx)dlfcn/libdl.so.
17782         * math/Makefile
17783         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17784         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17785         [$(build-shared) = yes].
17786         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17787         $(common-objpfx)nptl/libpthread.so.
17788         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17789         $(common-objpfx)math/libm.so$(libm.so-version) or
17790         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17791         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17792         $(common-objpfx)dlfcn/libdl.so.
17793         * setjmp/Makefile (link-libm): Remove variable.
17794         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17795         * stdio-common/Makefile (link-libm): Remove variable.
17796         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17797         * stdlib/Makefile (link-libm): Remove variable.
17798         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17799         ($(objpfx)tst-strtod-round): Likewise.
17800         ($(objpfx)tst-tininess): Likewise.
17801         ($(objpfx)tst-strtod-underflow): Likewise.
17802         ($(objpfx)tst-strtod6): Likewise.
17803         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17804         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17805         $(common-objpfx)dlfcn/libdl.so.
17807 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17809         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17810         BSD terminal modes definitions.
17812 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17814         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17815         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17817         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17818         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17819         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17820         Don't do #include_next.
17821         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17822         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17823         Don't do #include_next.
17824         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17825         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17826         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17827         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17829 2014-05-16  Allan McRae  <allan@archlinux.org>
17831         * po/sv.po: Update Swedish translation from translation project.
17833         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17834         in sed expression.
17836 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17838         [BZ #16917]
17839         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17840         errno if the TIOCGPTN ioctl fails with an error different than
17841         EINVAL.
17842         * login/tst-ptsname.c: New file.
17843         * login/Makefile (tests): Add tst-ptsname.
17845         [BZ #16943]
17846         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17847         and prlimit64.
17849 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17851         [BZ #16849]
17852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17853         herrno to return EAI_AGAIN.
17855 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17857         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17858         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17859         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17860         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17861         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17862         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17863         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17864         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17866         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17867         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17868         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17869         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17870         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17871         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17872         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17873         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17874         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17875         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17876         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17877         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17878         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17879         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17880         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17881         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17882         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17883         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17884         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17885         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17886         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17888         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17890         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17892         Moved ...
17893         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17895         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17897         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17899         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17901         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17903         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17905         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17907         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17909         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17911         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17913         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17915         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17917         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17919         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17921         Moved ...
17922         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17924         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17926         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17928         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17930         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17932         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17934         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17936         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17938         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17940         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17942         Moved ...
17943         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17945         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17948         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17949         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17950         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17951         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17952         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17953         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17954         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17955         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17957         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17958         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17959         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17960         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17961         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17962         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17963         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17964         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17965         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17966         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17967         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17968         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17969         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17970         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17971         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17972         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17973         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17974         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17975         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17976         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17977         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17979         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17980         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17982         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17983         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17984         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17985         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17986         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17987         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17988         Moved ...
17989         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17990         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17991         Moved ...
17992         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17994         Moved ...
17995         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17996         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17997         Moved ...
17998         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17999         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18000         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18001         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18002         Moved ...
18003         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18004         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18005         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18007         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18008         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18009         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18010         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18011         Moved ...
18012         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18013         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18014         Moved ...
18015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18016         ... here.
18017         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18018         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18019         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18020         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18021         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18022         Moved ...
18023         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18024         ... here.
18025         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18026         Moved ...
18027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18028         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18029         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18030         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18031         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18032         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18033         Moved ...
18034         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18035         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18036         Moved ...
18037         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18039         Moved ...
18040         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18042         Moved ...
18043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18044         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18045         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18046         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18047         Moved ...
18048         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18049         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18050         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18052         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18053         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18054         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18055         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18056         Moved ...
18057         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18058         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18059         Moved ...
18060         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18061         ... here.
18062         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18063         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18064         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18065         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18066         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18067         Moved ...
18068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18069         ... here.
18070         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18071         Moved ...
18072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18073         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18074         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18075         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18076         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18077         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18078         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18079         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18080         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18082         Moved ...
18083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18084         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18085         Moved ...
18086         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18088         Moved ...
18089         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18091         Moved ...
18092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18093         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18094         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18095         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18096         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18097         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18098         Moved ...
18099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18100         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18101         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18104         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18105         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18107         Moved ...
18108         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18109         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18110         Moved ...
18111         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18112         ... here.
18113         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18114         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18115         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18116         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18118         Moved ...
18119         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18120         ... here.
18121         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18122         Moved ...
18123         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18124         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18125         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18126         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18127         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18128         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18129         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18131         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18133         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18135         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18136         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18138         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18139         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18141         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18142         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18143         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18144         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18145         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18146         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18147         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18149         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18151         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18152         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18153         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18154         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18155         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18157         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18159         Moved ...
18160         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18162         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18164         Moved ...
18165         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18167         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18169         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18173         Moved ...
18174         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18176         Moved ...
18177         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18178         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18179         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18180         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18181         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18182         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18183         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18184         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18185         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18186         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18187         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18188         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18189         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18190         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18191         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18192         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18193         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18195         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18196         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18197         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18198         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18199         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18201         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18202         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18203         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18204         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18205         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18206         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18207         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18208         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18209         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18210         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18215         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18216         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18217         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18218         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18219         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18220         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18221         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18222         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18223         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18224         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18225         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18226         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18227         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18228         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18230         Update #include.
18231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18232         Likewise.
18233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18234         Likewise.
18235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18236         Likewise.
18237         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18238         Likewise.
18239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18240         Likewise.
18241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18242         Likewise.
18243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18244         Likewise.
18245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18246         Likewise.
18247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18248         Likewise.
18249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18265         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18266         that was previously under [RESET_PID].
18267         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18268         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18269         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18271         * sysdeps/i386/nptl/Implies: New file.
18272         * sysdeps/x86_64/nptl/Implies: New file.
18273         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18274         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18275         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18276         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18278         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18279         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18280         (__libc_vfork): New strong alias.
18281         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18282         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18284         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18285         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18286         (__libc_vfork): New strong alias.
18287         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18288         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18290         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18291         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18292         (__libc_vfork): New strong alias.
18293         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18294         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18295         * nptl/pt-vfork.c: New file.
18296         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18297         (libpthread: GLIBC_2.20): New version set (empty).
18299 2014-05-14  Will Newton  <will.newton@linaro.org>
18301         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18302         rather than #if.
18304 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18306         [BZ #16564]
18307         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18308         arguments with exponent 65 or above.
18309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18310         arguments 0x1p113L or above.
18311         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18312         to arguments 0x1p107L or above.
18313         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18314         positive arguments with exponent 65 or above.
18315         * math/auto-libm-test-in: Add more tests of log1p.
18316         * math/auto-libm-test-out: Regenerated.
18318         [BZ #16928]
18319         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18320         non-finite arguments is +0.
18321         * math/s_cacosf.c (__cacosf): Likewise.
18322         * math/s_cacosl.c (__cacosl): Likewise.
18323         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18324         * sysdeps/i386/fpu/libm-test-ulps: Update.
18325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18327         [BZ #16927]
18328         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18329         value.
18330         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18331         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18332         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18333         for explicit high bit of mantissa when testing for argument equal
18334         to 1.
18335         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18336         * sysdeps/i386/fpu/libm-test-ulps: Update.
18337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18339         [BZ #16516]
18340         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18341         (__erf): Scale by 16 instead of 8 in potentially underflowing
18342         case.  Ensure exception if result actually underflows.
18343         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18344         (__erff): Scale by 16 instead of 8 in potentially underflowing
18345         case.  Ensure exception if result actually underflows.
18346         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18347         (efx8): Remove variable.
18348         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18349         case.  Ensure exception if result actually underflows.
18350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18351         (efx8): Remove variable.
18352         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18353         case.  Ensure exception if result actually underflows.
18354         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18355         (efx8): Remove variable.
18356         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18357         case.  Ensure exception if result actually underflows.
18358         * math/auto-libm-test-in: Add more tests of erf.
18359         * math/auto-libm-test-out: Regenerated.
18361 2014-05-14  Andreas Schwab  <schwab@suse.de>
18363         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18364         Remove code conditionalized on USE___THREAD.
18366         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18367         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18368         not definedness.
18370 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18373         Define unconditionally.
18374         (__ASSUME_O_CLOEXEC): Likewise.
18375         (__ASSUME_SOCK_CLOEXEC): Likewise.
18376         (__ASSUME_IN_NONBLOCK): Likewise.
18377         (__ASSUME_PIPE2): Likewise.
18378         (__ASSUME_EVENTFD2): Likewise.
18379         (__ASSUME_SIGNALFD4): Likewise.
18380         (__ASSUME_DUP3): Likewise.
18381         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18382         (__ASSUME_DUP3): Do not define.
18383         (__ASSUME_EVENTFD2): Likewise.
18384         (__ASSUME_IN_NONBLOCK): Likewise.
18385         (__ASSUME_O_CLOEXEC): Likewise.
18386         (__ASSUME_PIPE2): Likewise.
18387         (__ASSUME_SIGNALFD4): Likewise.
18388         (__ASSUME_SOCK_CLOEXEC): Likewise.
18389         (__ASSUME_UTIMES): Undefine.
18390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18391         (__ASSUME_UTIMES): Do not define.
18392         (__ASSUME_O_CLOEXEC): Likewise.
18393         (__ASSUME_SOCK_CLOEXEC): Likewise.
18394         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18395         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18396         0x020621].
18397         (__ASSUME_PIPE2): Likewise.
18398         (__ASSUME_EVENTFD2): Likewise.
18399         (__ASSUME_SIGNALFD4): Likewise.
18400         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18401         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18402         Do not define.
18403         (__ASSUME_EVENTFD2): Likewise.
18404         (__ASSUME_SIGNALFD4): Likewise.
18405         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18406         (__ASSUME_32BITUIDS): Likewise.
18407         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18408         (__ASSUME_IPC64): Likewise.
18409         (__ASSUME_ST_INO_64_BIT): Likewise.
18410         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18411         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18412         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18413         (__ASSUME_UTIMES): Do not define.
18414         (__ASSUME_PSELECT): Likewise.
18415         (__ASSUME_PPOLL): Likewise.
18416         (__ASSUME_O_CLOEXEC): Likewise.
18417         (__ASSUME_SOCK_CLOEXEC): Likewise.
18418         (__ASSUME_IN_NONBLOCK): Likewise.
18419         (__ASSUME_PIPE2): Likewise.
18420         (__ASSUME_EVENTFD2): Likewise.
18421         (__ASSUME_SIGNALFD4): Likewise.
18422         (__ASSUME_DUP3): Likewise.
18423         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18424         (__ASSUME_UTIMES): Likewise.
18425         (__ASSUME_O_CLOEXEC): Likewise.
18426         (__ASSUME_SOCK_CLOEXEC): Likewise.
18427         (__ASSUME_IN_NONBLOCK): Likewise.
18428         (__ASSUME_PIPE2): Likewise.
18429         (__ASSUME_EVENTFD2): Likewise.
18430         (__ASSUME_SIGNALFD4): Likewise.
18431         (__ASSUME_DUP3): Likewise.
18432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18433         (__ASSUME_UTIMES): Likewise.
18434         (__ASSUME_O_CLOEXEC): Likewise.
18435         (__ASSUME_SOCK_CLOEXEC): Likewise.
18436         (__ASSUME_IN_NONBLOCK): Likewise.
18437         (__ASSUME_PIPE2): Likewise.
18438         (__ASSUME_EVENTFD2): Likewise.
18439         (__ASSUME_SIGNALFD4): Likewise.
18440         (__ASSUME_DUP3): Likewise.
18441         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18442         Likewise.
18443         (__ASSUME_UTIMES): Likewise.
18444         (__ASSUME_EVENTFD2): Likewise.
18445         (__ASSUME_SIGNALFD4): Likewise.
18446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18447         (__ASSUME_O_CLOEXEC): Likewise.
18448         (__ASSUME_SOCK_CLOEXEC): Likewise.
18449         (__ASSUME_IN_NONBLOCK): Likewise.
18450         (__ASSUME_PIPE2): Likewise.
18451         (__ASSUME_EVENTFD2): Likewise.
18452         (__ASSUME_SIGNALFD4): Likewise.
18453         (__ASSUME_DUP3): Likewise.
18454         (__ASSUME_UTIMES): Undefine.
18456         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18457         feclearexcept.  Remove symbol versioning code.
18458         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18459         symbol versioning code.
18460         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18461         symbol versioning code.
18462         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18463         feupdateenv.  Remove symbol versioning code.
18464         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18465         fegetexceptflag.  Remove symbol versioning code.
18466         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18467         fesetexceptflag.  Remove symbol versioning code.
18468         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18469         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18470         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18471         (__posix_fadvise64_l32): Remove prototype.
18472         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18473         code.
18475 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18477         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18478         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18479         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18480         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18482 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18484         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18485         current working directory
18487 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18489         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18490         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18491         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18492         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18493         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18494         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18495         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18496         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18497         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18498         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18499         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18500         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18501         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18502         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18503         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18504         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18505         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18506         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18507         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18508         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18509         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18510         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18511         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18512         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18513         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18514         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18515         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18516         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18517         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18518         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18519         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18520         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18521         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18522         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18523         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18524         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18525         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18526         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18527         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18528         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18529         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18530         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18532         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18533         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18535         * sysdeps/unix/sysv/linux/arm/Makefile
18536         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18537         Add rt-aeabi_unwind_cpp_pr1.
18538         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18539         Add nptl-aeabi_unwind_cpp_pr1.
18540         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18541         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18542         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18543         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18544         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18545         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18547         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18548         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18549         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18550         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18552         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18553         Deconditionalize the code that was previously under [RESET_PID].
18554         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18556         * sysdeps/generic/exit-thread.h: New file.
18557         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18558         * include/unistd.h (__exit_thread): Remove declaration.
18559         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18560         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18561         * csu/libc-start.c: Include <exit-thread.h>.
18562         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18563         * nptl/pthread_create.c: Include <exit-thread.h>.
18564         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18565         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18566         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18567         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18568         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18569         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18570         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18571         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18572         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18573         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18574         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18575         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18576         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18577         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18578         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18579         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18580         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18582 2014-05-13  Andreas Schwab  <schwab@suse.de>
18584         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18586 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18588         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18589         (__ASSUME_UTIMES): Do not condition on kernel version.
18590         (__ASSUME_PSELECT): Define unconditionally.
18591         (__ASSUME_PPOLL): Likewise.
18592         (__ASSUME_ATFCTS): Likewise.
18593         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18594         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18595         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18596         (__ASSUME_UTIMENSAT): Define unconditionally.
18597         (__ASSUME_PRIVATE_FUTEX): Likewise.
18598         (__ASSUME_FALLOCATE): Likewise.
18599         (__ASSUME_O_CLOEXEC): Likewise.
18600         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18601         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18602         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18603         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18604         (__ASSUME_IN_NONBLOCK): Likewise.
18605         (__ASSUME_PIPE2): Likewise.
18606         (__ASSUME_EVENTFD2): Likewise.
18607         (__ASSUME_SIGNALFD4): Likewise.
18608         (__ASSUME_DUP3): Likewise.
18609         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18610         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18611         (__ASSUME_AT_RANDOM): Likewise.
18612         (__ASSUME_PREADV): Likewise.
18613         (__ASSUME_PWRITEV): Likewise.
18614         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18615         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18616         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18617         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18618         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18619         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18620         (__ASSUME_O_CLOEXEC): Define unconditionally.
18621         (__ASSUME_PSELECT): Do not undefine conditionally.
18622         (__ASSUME_PPOLL): Likewise.
18623         (__ASSUME_ATFCTS): Likewise.
18624         (__ASSUME_SET_ROBUST_LIST): Likewise.
18625         (__ASSUME_UTIMENSAT): Likewise.
18626         (__ASSUME_FDATASYNC): Define unconditionally.
18627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18628         (__ASSUME_SIGFRAME_V2): Likewise.
18629         )__ASSUME_EVENTFD2): Likewise.
18630         (__ASSUME_SIGNALFD4): Likewise.
18631         (__ASSUME_PSELECT): Do not undefine conditionally.
18632         (__ASSUME_PPOLL): Likewise.
18633         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18634         (__ASSUME_PSELECT): Define unconditionally.
18635         (__ASSUME_PPOLL): Likewise.
18636         (__ASSUME_O_CLOEXEC): Likewise.
18637         (__ASSUME_SOCK_CLOEXEC): Likewise.
18638         (__ASSUME_IN_NONBLOCK): Likewise.
18639         (__ASSUME_PIPE2): Likewise.
18640         (__ASSUME_EVENTFD2): Likewise.
18641         (__ASSUME_SIGNALFD4): Likewise.
18642         (__ASSUME_DUP3): Likewise.
18643         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18644         (__ASSUME_O_CLOEXEC): Likewise.
18645         (__ASSUME_SOCK_CLOEXEC): Likewise.
18646         (__ASSUME_IN_NONBLOCK): Likewise.
18647         (__ASSUME_PIPE2): Likewise.
18648         (__ASSUME_EVENTFD2): Likewise.
18649         (__ASSUME_SIGNALFD4): Likewise.
18650         (__ASSUME_DUP3): Likewise.
18651         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18652         (__ASSUME_EVENTFD2): Likewise.
18653         (__ASSUME_SIGNALFD4): Likewise.
18654         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18656 2014-05-12  Andreas Schwab  <schwab@suse.de>
18658         [BZ #16932]
18659         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18660         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18661         than maximum RPC packet size.
18662         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18663         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18664         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18665         (_nss_nis_getservbyport_r): Likewise.
18667 2014-05-12  Will Newton  <will.newton@linaro.org>
18669         * malloc/Makefile (tests): Add tst-mallopt.
18670         * malloc/tst-mallopt.c: New file.
18672 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18674         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18675         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18677 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18679         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18680         (tst-tlsmod6.so): Likewise.
18682 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18684         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18686 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18688         [BZ #16064]
18689         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18690         and <dl-procinfo.h>.
18691         (__fegetenv): Save SSE state in envp->__eip if supported.
18692         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18693         envp->__eip if supported.
18694         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18695         and <dl-procinfo.h>.
18696         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18697         __data_offset and __data_selector in environment to 0.  Set SSE
18698         state if supported.
18699         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18700         test-fenv-sse.
18701         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18702         -mfpmath=sse.
18703         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18705 2014-05-09  Will Newton  <will.newton@linaro.org>
18707         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18708         and libc_relro_required for ARM.
18709         * sysdeps/arm/preconfigure: Regenerate.
18711 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18712             Stefan Liebler  <stli@linux.vnet.ibm.com>
18714         * config.make.in (enable-lock-elision): New Makefile variable.
18715         * configure.ac: Likewise.
18716         * configure: Regenerate.
18717         * sysdeps/s390/configure.ac:
18718         Add check for gcc transactions support.
18719         * sysdeps/s390/configure: Regenerate.
18720         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18721         Build elision files if enabled.
18722         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18723         Add lock elision support for s390.
18724         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18725         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18726         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18727         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18728         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18729         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18731         Likewise.
18732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18733         Likewise.
18734         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18735         Likewise.
18736         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18737         Likewise.
18738         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18739         (__lll_timedlock_elision, __lll_lock_elision)
18740         (__lll_unlock_elision, __lll_trylock_elision)
18741         (lll_timedlock_elision, lll_lock_elision)
18742         (lll_unlock_elision, lll_trylock_elision): Add.
18743         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18744         (pthread_mutex_t): Add lock elision support for s390.
18746 2014-05-14  Wilco  <wdijkstr@arm.com>
18748         * sysdeps/arm/fclrexcpt.c: Cleanup.
18749         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18750         * sysdeps/arm/feenablxcpt.c: Cleanup.
18751         * sysdeps/arm/fegetenv.c: Cleanup.
18752         * sysdeps/arm/fegetexcept.c: Cleanup.
18753         * sysdeps/arm/fegetround.c: Cleanup.
18754         * sysdeps/arm/feholdexcpt.c: Cleanup.
18755         * sysdeps/arm/fesetenv.c: Cleanup.
18756         * sysdeps/arm/fesetround.c: Cleanup.
18757         * sysdeps/arm/feupdateenv.c: Cleanup.
18758         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18759         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18760         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18761         * sysdeps/arm/ftestexcept.c: Cleanup.
18762         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18763         * sysdeps/arm/setfpucw.c: Cleanup.
18765 2014-05-09  Will Newton  <will.newton@linaro.org>
18767         * sysdeps/arm/armv7/strcmp.S: New file.
18768         * NEWS: Mention addition of ARMv7 optimized strcmp.
18770 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18772         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18773         look for %.ac rather than %.in.
18775         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18776         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18777         * sysdeps/mach/hurd/configure: Regenerated.
18778         * sysdeps/unix/sysv/linux/configure: Regenerated.
18780         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18782 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18784         [BZ# 16922]
18785         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18786         (LONG_SUB): Ditto.
18787         (PTR_SUB): Ditto.
18789 2014-05-07  Andreas Schwab  <schwab@suse.de>
18791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18792         when skipping over non-matching result from nscd.
18794 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18796         [BZ #16876]
18797         * nptl/sockperf.c (client): Check socket return value.
18799         [BZ #16877]
18800         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18801         nscd security class.
18803 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18805         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18806         * sysdeps/arm/unwind.h: ... here.
18808 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18810         [BZ# 16916]
18811         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18812         Define.
18814 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18816         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18817         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18818         multiarch strncpy for PPC64.
18819         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18820         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18822         multiarch optimizations.
18823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18824         (__libc_ifunc_impl_list): Likewise.
18825         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18826         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18827         multiarch stpncpy for PPC64.
18828         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18829         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18831 2014-05-06  Andreas Schwab  <schwab@suse.de>
18833         [BZ #16912]
18834         * gmon/mcount.c (_MCOUNT_DECL): Use
18835         atomic_compare_and_exchange_bool_acq instead of
18836         catomic_compare_and_exchange_bool_acq.
18838 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18840         * elf/Makefile (others, install-bin): Remove pldd.
18841         (pldd-modules): Variable removed.
18842         ($(objpfx)pldd): Target removed.
18843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18844         (others, install-bin): Append pldd here.
18845         ($(objpfx)pldd): New target.
18847         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18848         to 0, so the first #if test emitted later doesn't see it undefined.
18849         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18850         * sysdeps/gnu/errlist.c: Regenerated.
18852 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18854         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18855         [libc_hidden_builtin_def]: Define to empty value.
18856         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18857         [libc_hidden_builtin_def]: Likewise.
18858         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18859         [libc_hidden_builtin_def]: Likewise.
18860         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18861         [libc_hidden_builtin_def]: Likewise.
18862         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18863         __redirect_memcpy and define ifunc as default hidden symbol.
18864         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18865         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18867 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18869         * locale/iso-4217.def: Reintroduce XDR currency.
18871 2014-05-04  Allan McRae  <allan@archlinux.org>
18873         * po/eo.po: Update Esperanto translation from translation project.
18875 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18877         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18878         and FEATURE_INDEX_MAX to 1.
18879         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18883         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18884         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18885         * iconvdata/big5.c (ONE_DIRECTION): Define.
18886         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18887         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18888         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18889         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18890         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18891         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18892         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18893         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18894         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18895         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18896         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18897         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18898         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18899         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18900         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18901         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18902         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18903         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18904         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18905         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18906         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18907         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18908         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18909         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18910         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18911         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18912         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18913         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18914         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18915         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18916         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18917         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18918         * iconvdata/johab.c (ONE_DIRECTION): Define.
18919         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18920         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18921         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18922         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18923         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18924         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18925         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18926         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18927         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18928         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18930 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18932         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18933         (_IO_JUMPS_OFFSET): Define to 0.
18935         * nptl/sysdeps/pthread/bits/libc-lock.h
18936         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18937         (__libc_lock_define_initialized_recursive): Always define using
18938         initializer.  Modern compilers treat uninitialized (implicit zero) and
18939         explicit zero initializers the same (i.e. put the datum in bss).
18941 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18943         * nscd/nscd-client.h: Include <string.h>.
18945 2014-05-01  David S. Miller  <davem@davemloft.net>
18947         [BZ #16885]
18948         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18949         multiple zero bytes exist at the end of a string.
18950         Reported by Aurelien Jarno <aurelien@aurel32.net>
18952         * string/test-strcmp.c (check): Add explicit test for situations where
18953         there are multiple zero bytes after the first.
18955 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18957         [BZ #16890]
18958         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18959         when compiling wprintf.
18960         * stdio-common/tstdiomisc.c (t3): New function.
18961         (main): Call it.
18963 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18965         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18966         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18967         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18968         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18970 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18972         * stdlib/longlong.h: Updated from GCC.
18974 2014-05-01  Will Newton  <will.newton@linaro.org>
18975             Bernard Ogden  <bernie.ogden@linaro.org>
18977         * NEWS: Update fixed bug list.
18979         [BZ #15119]
18980         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18982 2014-04-30  David S. Miller  <davem@davemloft.net>
18984         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18985         (libc_feholdexcept_setround_sparc_ctx): New function.
18986         (libc_fesetenv_sparc_ctx): Likewise.
18987         (libc_feupdateenv_sparc_ctx): Likewise.
18988         (libc_feholdsetround_sparc_ctx): Likewise.
18989         (libc_feholdexcept_setround_ctx): Define.
18990         (libc_feholdexcept_setroundf_ctx): Likewise.
18991         (libc_feholdexcept_setroundl_ctx): Likewise.
18992         (libc_fesetenv_ctx): Likewise.
18993         (libc_fesetenvf_ctx): Likewise.
18994         (libc_fesetenvl_ctx): Likewise.
18995         (libc_feupdateenv_ctx): Likewise.
18996         (libc_feupdateenvf_ctx): Likewise.
18997         (libc_feupdateenvl_ctx): Likewise.
18998         (libc_feresetround_ctx): Likewise.
18999         (libc_feresetroundf_ctx): Likewise.
19000         (libc_feresetroundl_ctx): Likewise.
19001         (libc_feholdsetround_ctx): Likewise.
19002         (libc_feholdsetroundf_ctx): Likewise.
19003         (libc_feholdsetroundl_ctx): Likewise.
19005         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19006         with __USE_GNU instead of XOPEN cpp guards.
19008         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19009         0.
19011         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19012         with XOPEN cpp guards.
19014 2014-04-30  Julian Brown  <julian@codesourcery.com>
19016         [BZ #16888]
19017         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19018         handling.
19020 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19022         [BZ #9894]
19023         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19024         Change to 2.6.32.
19025         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19026         * sysdeps/unix/sysv/linux/configure: Regenerated.
19027         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19028         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19029         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19030         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19031         * README: Update reference to required Linux kernel version.
19032         * manual/install.texi (Linux): Update reference to required Linux
19033         kernel headers version.
19034         * INSTALL: Regenerated.
19036         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19037         header inclusion.
19038         [POSIX] (limits.h): Likewise.
19039         [POSIX] (math.h): Likewise.
19040         [POSIX] (sys/wait.h): Likewise.
19041         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19042         function.
19043         [POSIX] (stddef.h): Do not allow header inclusion.
19045 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19047         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19049 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19051         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19052         Return immediately after lll_futex_wake.
19054 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19056         [BZ #16791]
19057         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19058         structure.
19059         (datahead_init_pos): Call datahead_init_common early.
19060         (datahead_init_neg): Likewise.
19062         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19063         datahead_init_neg): New functions.
19064         * nscd/aicache.c (addhstaiX): Use them.
19065         * nscd/grpcache.c (cache_addgr): Likewise.
19066         * nscd/hstcache.c (cache_addhst): Likewise.
19067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19068         * nscd/netgroupcache.c (do_notfound): Likewise.
19069         (addgetnetgrentX): Likewise.
19070         (addinnetgrX): Likewise.
19071         * nscd/pwdcache.c (cache_addpw): Likewise.
19072         * nscd/servicescache.c (cache_addserv): Likewise.
19074 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19075             Atsushi Onoe  <atsushi@onoe.org>
19077         [BZ #14308]
19078         [BZ #12994]
19079         [BZ #13651]
19080         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19081         one response is valid.
19082         * resolv/res_send.c (send_dg): Check for validity of other
19083         response if the current response is a referral.
19085 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19087         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19089 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19091         [BZ #16823]
19092         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19093         Always divide by positive zero when computing -Inf result.
19094         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19095         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19097 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19099         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19100         FPSCR if value do not change.
19101         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19102         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19103         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19104         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19105         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19106         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19107         function.
19109 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19111         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19112         * sysdeps/unix/sysv/linux/hppa: Move directory from
19113         ports/systeps/unix/sysv/linux/hppa.
19114         * README: Update listing for hppa-*-linux-gnu.
19116 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19118         [BZ #16754]
19119         * manual/stdio.texi (Hook functions): Fix types of stream hook
19120         functions.
19121         [BZ #16854]
19122         * socket/sys/socket.h: Fix typo in comment.
19124 2014-04-28  Wilco  <wdijkstr@arm.com>
19126         * sysdeps/arm/fenv_private.h: New file.
19127         * sysdeps/arm/math_private.h: New file.
19128         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19130 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19132         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19133         with __int128_t.
19134         (La_x86_64_retval): Likewise.
19136 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19138         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19139         fpsr if value didn't change.
19140         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19141         to fpcr if value didn't change.
19142         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19143         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19144         fpsr or fpcr if value didn't change.
19145         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19146         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19147         fpcr if value didn't change.
19148         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19149         to fpsr if value didn't change.
19151 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19153         * nptl/tst-sem3.c: Use test-skeleton.c
19154         (main): Rename to do_test.  Use return instead of
19155         exit.
19156         * nptl/tst-sem4.c: Use test-skeleton.c
19157         (main): Rename to do_test.
19159 2014-04-22  David S. Miller  <davem@davemloft.net>
19161         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19162         (struct sigaction): New struct member __glibc_reserved0, change
19163         type of sa_flags to int.
19165 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19167         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19168         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19170 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19172         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19173         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19175 2014-04-22  Will Newton  <will.newton@linaro.org>
19176             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19178         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19179         (__longjmp): Add longjmp and longjmp_target SystemTap
19180         probes.
19181         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19182         (__sigsetjmp): Add setjmp SystemTap probe.
19184 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19186         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19187         match manual order.
19189 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19191         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19193         * sysdeps/powerpc/fpu/fenv_private.h
19194         (libc_feholdexcept_setroundl_ctx): Define to
19195         libc_feholdexcept_setround_ppc_ctx.
19196         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19197         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19198         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19199         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19201 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19203         * sysdeps/aarch64/math-tests.h: New file.
19205 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19207         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19208         New.
19209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19210         Check and set bit_AVX2_Usable.
19211         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19212         macro.
19213         (bit_AVX2): Likewise.
19214         (index_AVX2_Usable): Likewise.
19215         (CPUID_AVX2): Likewise.
19216         (HAS_AVX2): Likewise.
19218 2014-04-17  Will Newton  <will.newton@linaro.org>
19220         * manual/setjmp.texi (System V contexts): Add note that
19221         calling setcontext on a context created by a call to a
19222         signal handler is undefined.  Update text to note that
19223         setcontext from a signal handler is possible but not
19224         recommended.
19226         [BZ #16629]
19227         * stdlib/tst-setcontext.c: Include signal.h.
19228         (main): Check that the signal stack before and
19229         after swapcontext is the same.
19231         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19232         Re-implement to restore registers in user code and avoid
19233         rt_sigreturn system call.
19235 2014-04-17  Wilco  <wdijkstr@arm.com>
19237         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19238         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19239         * math/test-fenv.c: Skip exception trap tests on targets which only
19240         support non-stop mode.
19242 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19243             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19245         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19246         (libc_feholdsetround_aarch64_ctx)
19247         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19248         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19249         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19250         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19251         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19252         (libc_feresetround_noexl_ctx): Define.
19254 2014-04-16  Richard Henderson  <rth@redhat.com>
19256         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19258         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19259         unwind tables.
19261         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19262         const from the non-libc, non-ldso copy.
19264         * sysdeps/alpha/libm-test-ulps: Regenerate.
19266 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19267             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19269         * sysdeps/aarch64/fpu/math_private.h: New file.
19271 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19273         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19275 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19277         [BZ #16275]
19278         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19279         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19281         Intel MPX bound registers before _dl_profile_fixup.
19282         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19283         registers after _dl_profile_fixup.  Save and restore bound
19284         registers bnd0/bnd1 when calling _dl_call_pltexit.
19285         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19286         (LR_BND_OFFSET): Likewise.
19287         (LRV_BND0_OFFSET): Likewise.
19288         (LRV_BND1_OFFSET): Likewise.
19290 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19292         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19293         to...
19294         * sysdeps/mach/hurd/i386/tls.h: ... here.
19295         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19296         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19297         fields.
19299 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19301         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19303 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19305         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19307 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19309         [BZ #14770]
19310         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19311         * sysdeps/s390/configure: Regenerate.
19313         [BZ #16824]
19314         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19315         Set round-to-nearest internally to reduce error accumulation.
19317 2014-04-16  Alan Modra  <amodra@gmail.com>
19319         [BZ #16740]
19320         [BZ #16619]
19321         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19322         * math/libm-test.inc (frexp_test_data): Add tests.
19323         * NEWS: Update fixed bug list.
19325 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19327         * benchtests/Makefile: Depend on libraries in build directory.
19328         (bench-math): Separate out math tests.
19329         (bench-pthread): Separate out pthread tests.
19330         (bench): Include math and pthread tests.
19332 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19334         [BZ #16831]
19335         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19336         _dl_debug_initialize.
19338         * configure.ac: Remove SELinux header check.
19339         * configure: Regenerate.
19340         * nscd/selinux.c (perms): Array of const char* to permission names.
19341         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19342         default policy. Call string_to_security_class and string_to_av_perm to
19343         translate strings. Enforce default policy and call avs_has_perm with
19344         results of translated strings.
19346 2014-04-13  David S. Miller  <davem@davemloft.net>
19348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19350 2014-04-12  Allan McRae  <allan@archlinux.org>
19352         [BZ #16838]
19353         * manual/string.texi (Collation Functions): Fix qsort argument
19354         order in example.
19355         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19357 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19359         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19360         Make the test a no-op if there are no exceptions defined.
19362 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19364         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19365         enable-hardcoded-path-in-tests
19367 2014-04-11  Will Newton  <will.newton@linaro.org>
19369         * benchtests/Makefile (extra-objs): Add json-lib.o.
19370         (bench-func): Tidy up JSON output.
19371         * benchtests/bench-skeleton.c: Include json-lib.h.
19372         (main): Use JSON library functions to do output of
19373         benchmark results.
19374         * benchtests/bench-timing-type.c (main): Output the
19375         timing type simply, leaving formatting to the user.
19376         * benchtests/json-lib.c: New file.
19377         * benchtests/json-lib.h: Likewise.
19379 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19381         [BZ #15215]
19382         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19383         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19384         memory barriers.  Add comments.
19385         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19386         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19387         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19388         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19389         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19390         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19392 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19394         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19395         * sysdeps/s390/s390-64/configure.ac: ... this ...
19396         * sysdeps/s390/configure.ac: ... to here.
19397         * sysdeps/s390/s390-32/configure: Delete file.
19398         * sysdeps/s390/s390-64/configure: Delete file.
19399         * sysdeps/s390/configure: Regenerate.
19401 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19403         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19405 2014-04-11  Will Newton  <will.newton@linaro.org>
19407         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19408         to zero if it is not defined elsewhere.  (mtrim): Test
19409         the value of MALLOC_DEBUG with #if rather than #ifdef.
19411 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19413         * benchtests/pthread_once-inputs: New file.
19414         * benchtests/pthread_once-source.c: New file.
19415         * benchtests/README: Update documentation.
19417 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19418             H.J. Lu  <hongjiu.lu@intel.com>
19420         [BZ #16275]
19421         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19422         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19423         * sysdeps/x86_64/configure: Regenerated.
19424         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19425         macro.
19426         (REGISTER_SAVE_RAX): Likewise.
19427         (REGISTER_SAVE_RCX): Likewise.
19428         (REGISTER_SAVE_RDX): Likewise.
19429         (REGISTER_SAVE_RSI): Likewise.
19430         (REGISTER_SAVE_RDI): Likewise.
19431         (REGISTER_SAVE_R8): Likewise.
19432         (REGISTER_SAVE_R9): Likewise.
19433         (REGISTER_SAVE_BND0): Likewise.
19434         (REGISTER_SAVE_BND1): Likewise.
19435         (REGISTER_SAVE_BND2): Likewise.
19436         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19437         bound registers when calling _dl_fixup.
19439 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19441         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19442         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19443         of its definition.
19444         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19445         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19446         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19447         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19448         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19449         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19450         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19452 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19454         [BZ #15514]
19455         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19456         pathconf(_PC_NAME_MAX).
19458 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19460         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19461         Remove macro usage.
19462         (__PTHREAD_SPINS): Move definition to ...
19463         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19464         (__PTHREAD_SPINS): ... here.
19465         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19466         (__PTHREAD_SPIN): Likewise.
19467         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19468         (__PTHREAD_SPIN): Likewise.
19469         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19470         (__PTHREAD_SPIN): Likewise.
19471         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19472         (__PTHREAD_SPIN): Likewise.
19473         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19474         (__PTHREAD_SPIN): Likewise.
19475         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19476         (__PTHREAD_SPIN): Likewise.
19477         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19478         (__PTHREAD_SPIN): Likewise.
19479         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19480         (__PTHREAD_SPIN): Likewise.
19481         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19482         (__PTHREAD_SPIN): Likewise.
19483         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19484         (__PTHREAD_SPIN): Likewise.
19485         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19486         (__PTHREAD_SPIN): Likewise.
19487         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19488         (__PTHREAD_SPIN): Likewise.
19490         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19491         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19492         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19493         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19494         imply folder.
19495         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19496         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19497         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19498         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19499         correct imply path.
19500         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19501         strlen symbol for non multi-arch builds.
19502         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19503         missing hidden_def and weak_alias.
19505 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19507         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19509 2014-04-07  Will Newton  <will.newton@linaro.org>
19511         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19512         and contents.  [!_LIBC] Remove #ifndef and contents.
19513         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19514         * string/memccpy.c (__memccpy): Use ANSI prototype.
19515         * string/memfrob.c (memfrob): Likewise.
19516         * string/strcoll.c (STRCOLL): Likewise.
19517         * string/strlen.c (strlen): Likewise.
19518         * string/strtok.c (STRTOK): Likewise.
19519         * string/strcat.c: Remove unused #include of memcopy.h.
19520         (strcat): Use ANSI prototype.
19521         * string/strchr.c: Remove unused #include of memcopy.h.
19522         (strchr): Use ANSI prototype.
19523         * string/strcmp.c: Remove unused #include of memcopy.h.
19524         (strcmp): Use ANSI prototype.
19525         * string/strcpy.c: Remove unused #include of memcopy.h.
19526         (strcpy): Use ANSI prototype.
19528 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19530         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19531         * config.make.in (config-extra-cppflags): Set it from
19532         libc_extra_cppflags.
19533         * configure.ac (libc_extra_cflags): Make it accumulate over
19534         configure fragments.
19535         (libc_extra_cppflags): New flag.
19536         * configure. Regenerate.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19538         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19539         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19542         [BZ #16815]
19543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19544         result for FE_DOWNWARD rounding mode.
19545         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19546         Likewise.
19547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19549 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19551         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19552         in function argument name.
19554 2014-04-03  David Svoboda  <svoboda@cert.org>
19556         [BZ #5666]
19557         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19558         explicitly.
19560 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19562         * elf/dl-unmap-segments.h: New file.
19563         * sysdeps/generic/ldsodefs.h
19564         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19565         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19566         * elf/dl-fptr.c: Likewise.
19567         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19568         * sysdeps/aarch64/tlsdesc.c: Likewise.
19569         * sysdeps/arm/tlsdesc.c: Likewise.
19570         * sysdeps/i386/tlsdesc.c: Likewise.
19571         * sysdeps/tile/dl-runtime.c: Likewise.
19572         * sysdeps/x86_64/tlsdesc.c: Likewise.
19573         * elf/dl-load.h: New file.
19574         * elf/dl-load.c: Include it.
19575         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19576         Macros moved to dl-load.h.
19577         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19578         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19579         Use _dl_unmap_segments in place of __munmap.
19580         Break out segment-mapping loop into ...
19581         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19583 2014-04-03  Will Newton  <will.newton@linaro.org>
19585         * elf/dl-lookup.c (do_lookup_x): Remove comment
19586         referring to nested function and move variable
19587         declarations down to before first use.
19589 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19591         [BZ #16799]
19592         [BZ #16800]
19593         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19594         with 0 numerator.
19595         * math/s_catanf.c (__catanf): Likewise.
19596         * math/s_catanh.c (__catanh): Likewise.
19597         * math/s_catanhf.c (__catanhf): Likewise.
19598         * math/s_catanhl.c (__catanhl): Likewise.
19599         * math/s_catanl.c (__catanl): Likewise.
19600         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19601         by positive zero when computing -Inf result.
19602         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19603         (catanh_test): Likewise.
19604         * sysdeps/i386/fpu/libm-test-ulps: Update.
19605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607         [BZ #16789]
19608         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19609         instead of using underflowing value in computing result.
19610         * math/s_clog10.c (__clog10): Likewise.
19611         * math/s_clog10f.c (__clog10f): Likewise.
19612         * math/s_clog10l.c (__clog10l): Likewise.
19613         * math/s_clogf.c (__clogf): Likewise.
19614         * math/s_clogl.c (__clogl): Likewise.
19615         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19616         (clog10_test): Likewise.
19617         * sysdeps/i386/fpu/libm-test-ulps: Update.
19618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19620 2014-04-02  Alan Modra  <amodra@gmail.com>
19622         [BZ #16739]
19623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19624         output when value is near a power of two.  Use int64_t for lx and
19625         remove casts.  Use decimal rather than hex exponent constants.
19626         Don't use long double multiplication when double will suffice.
19627         * math/libm-test.inc (nextafter_test_data): Add tests.
19628         * NEWS: Add 16739 and 16786 to bug list.
19630         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19632         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19634 2014-04-01  Will Newton  <will.newton@linaro.org>
19636         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19637         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19639 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19641         [BZ #13347]
19642         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19643         * nptl/tst-setuid2.c: New file.
19644         * nptl/Makefile (xtests): Add tst-setuid2.
19646 2014-04-01  Alan Modra  <amodra@gmail.com>
19648         [BZ #16786]
19649         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19651 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19653         [BZ #6803]
19654         [BZ #6804]
19655         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19656         set errno as appropriate.
19657         * math/w_scalbf.c (__scalbf): Likewise.
19658         * math/w_scalbl.c (__scalbl): Likewise.
19659         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19660         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19661         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19662         Add more NaN tests.
19664         [BZ #16349]
19665         * math/w_atan2.c: Include <errno.h>.
19666         (__atan2): Set errno for result underflowing to zero.
19667         * math/w_atan2f.c: Include <errno.h>.
19668         (__atan2f): Set errno for result underflowing to zero.
19669         * math/w_atan2l.c: Include <errno.h>.
19670         (__atan2l): Set errno for result underflowing to zero.
19671         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19672         tests.
19673         * math/auto-libm-test-out: Regenerated.
19675 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19677         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19678         Encode instruction correctly in little endian.
19679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19680         Likewise.
19681         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19682         Likewise.
19683         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19684         Likewise.
19685         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19686         Likewise.
19688 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #9894]
19691         * sysdeps/unix/sysv/linux/kernel-features.h
19692         [__sparc__ && !__arch64__ && !__sparc_v9__]
19693         (__ASSUME_SET_ROBUST_LIST): Do not define.
19694         [__sparc__ && !__arch64__ && !__sparc_v9__]
19695         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19696         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19697         Likewise.
19698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19699         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19700         (__ASSUME_REQUEUE_PI): Likewise.
19701         (__ASSUME_SET_ROBUST_LIST): Likewise.
19702         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19703         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19704         Undefine.
19705         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19706         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19707         Likewise.
19708         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19709         Likewise.
19710         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19711         Likewise.
19712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19713         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19714         Undefine.
19715         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19716         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19717         Likewise.
19719         [BZ #16648]
19720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19721         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19722         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19724 2014-03-31  Will Newton  <will.newton@linaro.org>
19726         * benchtests/Makefile (bench): Add ffs and ffsll to list
19727         of tests.
19728         * benchtests/ffs-inputs: New file.
19729         * benchtests/ffsll-inputs: Likewise.
19731 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19733         [BZ #16770]
19734         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19735         too large before casting to int.
19736         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19737         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19738         * math/libm-test.inc (scalb_test_data): Add more tests.
19740 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19742         * benchtests/Makefile (DETAILED_OPT): New make option.
19743         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19744         set.
19745         * benchtests/bench-skeleton.c: Include stdbool.h.
19746         (main): Store and print timings per input.
19747         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19748         member to each argument value.
19749         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19750         (_print_arg_data): Initialize per-input timing to 0.
19752         * benchtests/Makefile (timing-type): New binary.
19753         (bench-clean): Also remove bench-timing-type.
19754         (bench): New target for timing-type.
19755         (bench-func): Print output in JSON format.
19756         * benchtests/bench-skeleton.c (main): Print output in JSON
19757         format.
19758         * benchtests/bench-timing-type.c: New file.
19759         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19760         (TIMING_PRINT_STATS): Remove.
19761         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19762         name separately.
19764         * benchtests/bench-modf.c: Remove.
19765         * benchtests/modf-inputs: New inputs file.
19767 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19769         [BZ #16362]
19770         * math/s_clog10.c (M_PI_LOG10E): New macro.
19771         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19772         imaginary parts are 0.
19773         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19774         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19775         imaginary parts are 0.
19776         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19777         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19778         imaginary parts are 0.
19779         * math/libm-test.inc (clog10_test_data): Update expected results
19780         for when real and imaginary parts are 0.
19782 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19784         * elf/dl-load.c: Finish conversion of __builtin_expect into
19785         __glibc_{un}likely.
19787 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19789         [BZ #16348]
19790         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19791         1+x for argument with exponent below -67.
19792         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19793         Likewise.
19794         * math/auto-libm-test-in: Add more tests of exp.
19795         * math/auto-libm-test-out: Regenerated.
19797 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19799         [BZ #16759]
19800         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19801         (nscd_getnetgrent): Use it.
19803         [BZ #16760]
19804         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19805         of stpcpy.
19807 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19809         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19810         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19811         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19812         (lll_robust_unlock): Remove out of line section. Use cfi
19813         intrinsics.
19814         (LLL_STUB_UNWIND_INFO*): Remove.
19815         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19816         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19817         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19818         (lll_robust_unlock): Remove out of line section. Use cfi
19819         intrinsics.
19820         (LLL_STUB_UNWIND_INFO*): Remove.
19822 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19824         [BZ #16758]
19825         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19826         blank values.
19828 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19830         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19832 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19834         [BZ #16198]
19835         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19836         fnstenv.
19837         * math/test-fenv-preserve.c: New file.
19838         * math/Makefile (tests): Add test-fenv-preserve.
19840 2014-03-26  Will Newton <will.newton@linaro.org>
19842         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19844 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19846         * scripts/versionlist.awk: Partition the version sets and emit all
19847         GLIBC_* (sorted) before all others (sorted).
19849 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19851         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19852         GLIBC_2.2.5 version.
19854 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19856         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19857         calls.
19859         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19860         previous change.
19862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19864 2014-03-25  Andreas Schwab  <schwab@suse.de>
19866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19867         label to be used after in6ailist is initialized.
19869 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19871         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19872         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19874 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19876         [BZ #16357]
19877         [BZ #16599]
19878         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19879         min_plus_half.
19880         (fp_formats): Update initializers.
19881         (init_fp_formats): Initialize new field.
19882         (output_for_one_input_case): Allow underflow for results up to
19883         min_plus_half.
19884         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19885         * math/auto-libm-test-in: Don't mark some underflows from asin and
19886         atanh as spurious.
19887         * math/auto-libm-test-out: Regenerated.
19888         * sysdeps/i386/fpu/libm-test-ulps: Update.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19891 2014-03-25  Andreas Schwab  <schwab@suse.de>
19893         * libio/Makefile (tst-ftell-partial-wide-ENV)
19894         (tst-ftell-active-handler-ENV): Define.
19896 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19898         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19900 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19902         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19904 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19906         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19907         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19908         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19910 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19912         [BZ #16634]
19913         * elf/dl-load.c (open_verify): Add mode parameter.
19914         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19915         (open_path): Change from boolean 'secure' to complete flag 'mode'
19916         (_dl_map_object): Adjust.
19917         * elf/Makefile (tests): Add tst-dlopen-aout.
19918         * elf/tst-dlopen-aout.c: New test.
19920 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19922         [BZ #16714]
19923         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19924         (struct stat): Rename member pad0 to __glibc_reserved0.
19926         [BZ #16712]
19927         * sysdeps/s390/s390-32/bits/wordsize.h
19928         (__WORDSIZE32_SIZE_ULONG): New define.
19929         * sysdeps/s390/s390-64/bits/wordsize.h
19930         (__WORDSIZE32_SIZE_ULONG): Likewise.
19931         * sysdeps/generic/stdint.h (SIZE_MAX):
19932         Define as UL if __WORDSIZE32_SIZE_ULONG.
19934         [BZ #16713]
19935         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19936         (__glibc_reserved0): New variable.
19937         (sa_flags): Change type to int.
19939         * posix/Makefile (before-compile): Use += before-compile instead
19940         of a :=.
19942         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19943         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19945 2014-03-20  Andreas Schwab  <schwab@suse.de>
19947         [BZ #16743]
19948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19949         non-matching result from nscd.
19951 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19953         * scripts/bench.py: Moved to ...
19954         * benchtests/scripts/bench.py: ... here.
19955         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19957 2014-03-24  Andreas Schwab  <schwab@suse.de>
19959         [BZ #16002]
19960         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19961         alloca_account and account alloca use for struct in6ailist.
19963 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19965         [BZ #16284]
19966         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19967         rounding mode to recompute results that overflow to infinity or
19968         underflow to zero.
19969         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19970         bug 16284.
19971         * math/auto-libm-test-out: Regenerated.
19972         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19973         (ccosh_test): Likewise.
19974         (csin_test_data): Use plus_oflow.
19975         (csin_test): Use ALL_RM_TEST.
19976         (csinh_test_data): Use plus_oflow.
19977         (csinh_test): Use ALL_RM_TEST.
19978         * sysdeps/i386/fpu/libm-test-ulps: Update.
19979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19981 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19983         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19984         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19985         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19987         [BZ #16731]
19988         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19989         when x - 1 is zero.
19990         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19991         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19992         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19993         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19994         argument is 1.
19995         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19996         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19997         zero.
19998         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19999         * sysdeps/i386/fpu/libm-test-ulps: Update.
20000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20002 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20004         * scripts/bench.pl: Remove file.
20005         * scripts/bench.py: New benchmark script.
20006         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20007         * benchtests/README: Mention python dependency.
20008         * scripts/pylintrc: New file.
20009         * scripts/pylint: New file.
20011         * bits/mathdef.h: Use #ifdef instead of #if.
20012         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20013         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20014         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20015         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20016         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20017         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20019 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20020             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20022         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20024         and strpbrk-ppc64 objects.
20025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20026         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20027         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20028         multiarch strpbrk for POWER7.
20029         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20030         multiarch strpbrk for PPC64.
20031         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20032         ifunc selector.
20033         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20034         strpbrk for POWER7.
20036 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20038         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20039         (atan_test): Likewise.
20040         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20041         (atanh_test): Use ALL_RM_TEST.
20042         (atan2_test_data): Likewise.
20043         (cabs_test): Likewise.
20044         (cacosh_test): Likewise.
20045         (carg_test): Likewise.
20046         (casin_test): Likewise.
20047         (casinh_test): Likewise.
20048         (cbrt_test): Likewise.
20049         (csqrt_test): Likewise.
20050         (erf_test): Likewise.
20051         (erfc_test): Likewise.
20052         (pow10_test): Likewise.
20053         (exp2_test): Likewise.
20054         (hypot_test): Likewise.
20055         (j0_test): Likewise.
20056         (j1_test): Likewise.
20057         (lgamma_test): Likewise.
20058         (gamma_test): Likewise.
20059         (sincos_test): Likewise.
20060         (tanh_test): Likewise.
20061         (y0_test): Likewise.
20062         (y1_test): Likewise.
20063         * sysdeps/i386/fpu/libm-test-ulps: Update.
20064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20066 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20068         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20070         and strcspn-ppc64 objects.
20071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20072         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20073         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20074         multiarch strcspn for POWER7.
20075         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20076         multiarch strcspn for PPC64.
20077         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20078         ifunc selector.
20079         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20080         strcspn for POWER7.
20082 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20084         * math/gen-libm-test.pl (generate_testfile): Expect only function
20085         name as argument to AUTO_TESTS_* and pass results for all rounding
20086         modes to parse_args.
20087         (parse_auto_input): Separate inputs of automatic tests from
20088         outputs before storing in %auto_tests.
20089         * math/libm-test.inc (acos_test_data): Update call to
20090         AUTO_TESTS_f_f.
20091         (acos_test): Use ALL_RM_TEST.
20092         (acos_tonearest_test_data): Remove.
20093         (acos_test_tonearest): Likewise.
20094         (acos_towardzero_test_data): Likewise.
20095         (acos_test_towardzero): Likewise.
20096         (acos_downward_test_data): Likewise.
20097         (acos_test_downward): Likewise.
20098         (acos_upward_test_data): Likewise.
20099         (acos_test_upward): Likewise.
20100         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20101         (asin_test_data): Likewise.
20102         (asin_test): Use ALL_RM_TEST.
20103         (asin_tonearest_test_data): Remove.
20104         (asin_test_tonearest): Likewise.
20105         (asin_towardzero_test_data): Likewise.
20106         (asin_test_towardzero): Likewise.
20107         (asin_downward_test_data): Likewise.
20108         (asin_test_downward): Likewise.
20109         (asin_upward_test_data): Likewise.
20110         (asin_test_upward): Likewise.
20111         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20112         (atan_test_data): Likewise.
20113         (atanh_test_data): Likewise.
20114         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20115         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20116         (carg_test_data): Likewise.
20117         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20118         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20119         (ccosh_test_data): Likewise.
20120         (cexp_test_data): Likewise.
20121         (clog_test_data): Likewise.
20122         (clog10_test_data): Likewise.
20123         (cos_test_data): Update call to AUTO_TESTS_f_f.
20124         (cos_test): Use ALL_RM_TEST.
20125         (cos_tonearest_test_data): Remove.
20126         (cos_test_tonearest): Likewise.
20127         (cos_towardzero_test_data): Likewise.
20128         (cos_test_towardzero): Likewise.
20129         (cos_downward_test_data): Likewise.
20130         (cos_test_downward): Likewise.
20131         (cos_upward_test_data): Likewise.
20132         (cos_test_upward): Likewise.
20133         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20134         (cosh_test): Use ALL_RM_TEST.
20135         (cosh_tonearest_test_data): Remove.
20136         (cosh_test_tonearest): Likewise.
20137         (cosh_towardzero_test_data): Likewise.
20138         (cosh_test_towardzero): Likewise.
20139         (cosh_downward_test_data): Likewise.
20140         (cosh_test_downward): Likewise.
20141         (cosh_upward_test_data): Likewise.
20142         (cosh_test_upward): Likewise.
20143         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20144         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20145         (ctan_test_data): Likewise.
20146         (ctan_test): Use ALL_RM_TEST.
20147         (ctan_tonearest_test_data): Remove.
20148         (ctan_test_tonearest): Likewise.
20149         (ctan_towardzero_test_data): Likewise.
20150         (ctan_test_towardzero): Likewise.
20151         (ctan_downward_test_data): Likewise.
20152         (ctan_test_downward): Likewise.
20153         (ctan_upward_test_data): Likewise.
20154         (ctan_test_upward): Likewise.
20155         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20156         (ctanh_test): Use ALL_RM_TEST.
20157         (ctanh_tonearest_test_data): Remove.
20158         (ctanh_test_tonearest): Likewise.
20159         (ctanh_towardzero_test_data): Likewise.
20160         (ctanh_test_towardzero): Likewise.
20161         (ctanh_downward_test_data): Likewise.
20162         (ctanh_test_downward): Likewise.
20163         (ctanh_upward_test_data): Likewise.
20164         (ctanh_test_upward): Likewise.
20165         (erf_test_data): Update call to AUTO_TESTS_f_f.
20166         (erfc_test_data): Likewise.
20167         (exp_test_data): Likewise.
20168         (exp_test): Use ALL_RM_TEST.
20169         (exp_tonearest_test_data): Remove.
20170         (exp_test_tonearest): Likewise.
20171         (exp_towardzero_test_data): Likewise.
20172         (exp_test_towardzero): Likewise.
20173         (exp_downward_test_data): Likewise.
20174         (exp_test_downward): Likewise.
20175         (exp_upward_test_data): Likewise.
20176         (exp_test_upward): Likewise.
20177         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20178         (exp10_test): Use ALL_RM_TEST.
20179         (exp10_tonearest_test_data): Remove.
20180         (exp10_test_tonearest): Likewise.
20181         (exp10_towardzero_test_data): Likewise.
20182         (exp10_test_towardzero): Likewise.
20183         (exp10_downward_test_data): Likewise.
20184         (exp10_test_downward): Likewise.
20185         (exp10_upward_test_data): Likewise.
20186         (exp10_test_upward): Likewise.
20187         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20188         (expm1_test_data): Likewise.
20189         (expm1_test): Use ALL_RM_TEST.
20190         (expm1_tonearest_test_data): Remove.
20191         (expm1_test_tonearest): Likewise.
20192         (expm1_towardzero_test_data): Likewise.
20193         (expm1_test_towardzero): Likewise.
20194         (expm1_downward_test_data): Likewise.
20195         (expm1_test_downward): Likewise.
20196         (expm1_upward_test_data): Likewise.
20197         (expm1_test_upward): Likewise.
20198         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20199         (fma_test): Use ALL_RM_TEST.
20200         (fma_towardzero_test_data): Remove.
20201         (fma_test_towardzero): Likewise.
20202         (fma_downward_test_data): Likewise.
20203         (fma_test_downward): Likewise.
20204         (fma_upward_test_data): Likewise.
20205         (fma_test_upward): Likewise.
20206         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20207         (j0_test_data): Update call to AUTO_TESTS_f_f.
20208         (j1_test_data): Likewise.
20209         (jn_test_data): Update call to AUTO_TESTS_if_f.
20210         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20211         (log_test_data): Update call to AUTO_TESTS_f_f.
20212         (log10_test_data): Likewise.
20213         (log1p_test_data): Likewise.
20214         (log2_test_data): Likewise.
20215         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20216         (pow_tonearest_test_data): Likewise.
20217         (sin_test_data): Update call to AUTO_TESTS_f_f.
20218         (sin_test): Use ALL_RM_TEST.
20219         (sin_tonearest_test_data): Remove.
20220         (sin_test_tonearest): Likewise.
20221         (sin_towardzero_test_data): Likewise.
20222         (sin_test_towardzero): Likewise.
20223         (sin_downward_test_data): Likewise.
20224         (sin_test_downward): Likewise.
20225         (sin_upward_test_data): Likewise.
20226         (sin_test_upward): Likewise.
20227         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20228         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20229         (sinh_test): Use ALL_RM_TEST.
20230         (sinh_tonearest_test_data): Remove.
20231         (sinh_test_tonearest): Likewise.
20232         (sinh_towardzero_test_data): Likewise.
20233         (sinh_test_towardzero): Likewise.
20234         (sinh_downward_test_data): Likewise.
20235         (sinh_test_downward): Likewise.
20236         (sinh_upward_test_data): Likewise.
20237         (sinh_test_upward): Likewise.
20238         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20239         (sqrt_test): Use ALL_RM_TEST.
20240         (sqrt_tonearest_test_data): Remove.
20241         (sqrt_test_tonearest): Likewise.
20242         (sqrt_towardzero_test_data): Likewise.
20243         (sqrt_test_towardzero): Likewise.
20244         (sqrt_downward_test_data): Likewise.
20245         (sqrt_test_downward): Likewise.
20246         (sqrt_upward_test_data): Likewise.
20247         (sqrt_test_upward): Likewise.
20248         (tan_test_data): Update call to AUTO_TESTS_f_f.
20249         (tan_test): Use ALL_RM_TEST.
20250         (tan_tonearest_test_data): Remove.
20251         (tan_test_tonearest): Likewise.
20252         (tan_towardzero_test_data): Likewise.
20253         (tan_test_towardzero): Likewise.
20254         (tan_downward_test_data): Likewise.
20255         (tan_test_downward): Likewise.
20256         (tan_upward_test_data): Likewise.
20257         (tan_test_upward): Likewise.
20258         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20259         (tgamma_test_data): Likewise.
20260         (y0_test_data): Likewise.
20261         (y1_test_data): Likewise.
20262         (yn_test_data): Update call to AUTO_TESTS_if_f.
20263         (main): Do not call removed functions.
20265 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20267         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20268         (ldexp_test_data): Remove.
20269         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20270         scalbn_test_data.
20271         (scalb_test): Use ALL_RM_TEST.
20273 2014-03-19  Andreas Schwab  <schwab@suse.de>
20275         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20277 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20279         [BZ #16649]
20280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20281         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20282         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20284         (__ASSUME_PREADV): Undefine.
20285         (__ASSUME_PWRITEV): Likewise.
20287 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20289         * bits/mman-linux.h: Add comment about non-Linux use.
20290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20291         bits/mman-linux.h resting place.
20293         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20294         * bits/mman-linux.h: ... here.
20296 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20298         * conform/conformtest.pl: Add standard definition when calling C
20299         preprocessor on data files.
20300         (checknamespace): Remove unused variable.
20302 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20304         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20305         minus_oflow, plus_uflow and minus_uflow in expected results.
20306         * math/libm-test.inc (scalbn_test_data): Add more tests of
20307         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20308         minus_uflow.
20309         (scalbn_test): Use ALL_RM_TEST.
20310         (scalbln_test_data): Add more tests of negative arguments.  Use
20311         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20312         (scalbln_test): Use ALL_RM_TEST.
20314 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20316         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20318 2014-03-18  Will Newton  <will.newton@linaro.org>
20320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20321         inaccurate comment.
20323 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20325         * Makerules [!subdir] (check-abi): Exit with error status if a
20326         test failed.
20328 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20330         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20331         for rint.  Include results for all rounding modes.
20332         (nearbyint_test): Use ALL_RM_TEST.
20333         (rint_test_data): Include all tests used for nearbyint.
20335 2014-03-17  Will Newton  <will.newton@linaro.org>
20337         * nptl/sysdeps/pthread/pthread.h: Revert previous
20338         change.
20340         * sysdeps/generic/ldsodefs.h: Revert previous
20341         change.
20343         * libio/genops.c: Revert previous change.
20344         * libio/libioP.h: Likewise.
20345         * stdio-common/vfprintf.c: Likewise.
20347         * sysdeps/generic/math_private.h: Revert previous
20348         change.
20350         * sysdeps/generic/math_private.h: Check whether
20351         HAVE_RM_CTX is defined with #ifdef rather
20352         than #if.
20354         * argp/argp-fmtstream.h: Check whether
20355         __STRICT_ANSI__ is defined with #ifdef rather
20356         than #if.
20357         * argp/argp.h: Likewise.
20359         * libio/genops.c: Check whether
20360         _IO_JUMPS_OFFSET is defined with #ifdef rather
20361         than #if.
20362         * libio/libioP.h: Likewise.
20363         * stdio-common/vfprintf.c: Likewise.
20365         * sysdeps/generic/ldsodefs.h: Check whether
20366         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20367         than #if.
20369         * nptl/sysdeps/pthread/pthread.h: Check
20370         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20371         its value.
20373 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20375         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20376         setting O_APPEND.
20377         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20378         test case.
20380         [BZ #16680]
20381         * libio/fileops.c (_IO_file_open): Seek to end of file but
20382         don't cache the offset.
20383         (get_file_offset): Remove function.
20384         (do_ftell): Use cached offset when available.
20385         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20386         don't cache the offset.
20387         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20388         case.
20389         (do_one_test): Call it.
20390         (do_ftell_test): Fix up expected old offset for a+ mode.
20391         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20392         available.
20394         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20395         up test status with function return status.
20396         (do_write_test): Likewise.
20397         (do_append_test): Likewise.
20399         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20400         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20401         Remove.
20403 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20405         * math/gen-libm-test.pl (parse_args): Handle results specified for
20406         each rounding mode separately.
20407         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20408         tests and results from lrint_tonearest_test_data,
20409         lrint_towardzero_test_data, lrint_downward_test_data and
20410         lrint_upward_test_data.
20411         (lrint_test): Use ALL_RM_TEST.
20412         (lrint_tonearest_test_data): Remove.
20413         (lrint_test_tonearest): Likewise.
20414         (lrint_towardzero_test_data): Likewise.
20415         (lrint_test_towardzero): Likewise.
20416         (lrint_downward_test_data): Likewise.
20417         (lrint_test_downward): Likewise.
20418         (lrint_upward_test_data): Likewise.
20419         (lrint_test_upward): Likewise.
20420         (llrint_test_data): Merge in per-rounding-mode tests and results
20421         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20422         llrint_downward_test_data and llrint_upward_test_data.
20423         (llrint_test): Use ALL_RM_TEST.
20424         (llrint_tonearest_test_data): Remove.
20425         (llrint_test_tonearest): Likewise.
20426         (llrint_towardzero_test_data): Likewise.
20427         (llrint_test_towardzero): Likewise.
20428         (llrint_downward_test_data): Likewise.
20429         (llrint_test_downward): Likewise.
20430         (llrint_upward_test_data): Likewise.
20431         (llrint_test_upward): Likewise.
20432         (rint_test_data): Merge in per-rounding-mode tests and results
20433         from rint_tonearest_test_data, rint_towardzero_test_data,
20434         rint_downward_test_data and rint_upward_test_data.  Add
20435         per-rounding-mode results for tests not in those arrays.
20436         (rint_test): Use ALL_RM_TEST.
20437         (rint_tonearest_test_data): Remove.
20438         (rint_test_tonearest): Likewise.
20439         (rint_towardzero_test_data): Likewise.
20440         (rint_test_towardzero): Likewise.
20441         (rint_downward_test_data): Likewise.
20442         (rint_test_downward): Likewise.
20443         (rint_upward_test_data): Likewise.
20444         (rint_test_upward): Likewise.
20445         (main): Don't call removed functions.
20447 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20449         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20450         "Compiled on ..." crapola.  It is anti-useful.
20452 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20454         * scripts/evaluate-test.sh: Handle fourth argument to determine
20455         whether test run should stop on failure.
20456         * Makeconfig (stop-on-test-failure): New variable.
20457         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20458         $(stop-on-test-failure).
20459         * Makefile (tests): Give a summary of results from testing and
20460         exit with failure status if they include an ERROR or FAIL.
20461         (xtests): Likewise.
20462         * manual/install.texi (Configuring and compiling): Mention
20463         stop-on-test-failure=y.
20464         * INSTALL: Regenerated.
20466 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20468         * scripts/versionlist.awk: New file.
20469         * Makerules [$(build-shared) = yes]
20470         (postclean-generated): Add Versions.def, not Versions.def.v and
20471         Versions.def.v.i.
20472         ($(common-objpfx)Versions.def.v.i): Target removed.
20473         ($(common-objpfx)Versions.def): New target.
20474         ($(common-objpfx)Versions.all): Depend on that rather that
20475         $(common-objpfx)Versions.def.v.
20476         * Versions.def: File removed.
20478         * Makeconfig (+gccwarn): Add -Wundef.
20479         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20480         a dl-sysdep.h breaking its contract.
20481         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20482         * include/stackinfo.h: New file.
20483         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20484         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20485         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20486         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20487         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20488         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20489         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20490         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20491         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20492         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20493         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20494         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20495         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20496         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20497         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20499 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20501         [BZ #16707]
20502         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20503         implementation.
20504         * math/libm-test.inc (round_test_data): Add more tests.
20506         [BZ #16706]
20507         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20508         implementation.
20509         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20511         [BZ #16701]
20512         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20513         implementation.
20514         * math/libm-test.inc (ceil_test_data): Add more tests.
20516         * math/libm-test.inc (trunc_test_data): Add more tests related to
20517         BZ#16414.
20519 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20521         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20522         with #if rather than #ifdef.
20523         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20525 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20527         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20528         first.  Disable AVX-512 GCC support if assembler doesn't support
20529         it.
20530         * sysdeps/x86_64/configure: Regenerated.
20532 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20534         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20535         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20536         (__old_pthread_attr_setstack): Likewise.
20537         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20538         [!_STACK_GROWS_DOWN]: Likewise.
20540 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20542         * config.make.in (have-bash2): Delete.
20543         * configure.ac (libc_cv_have_bash2): Delete.
20544         * configure: Regenerate.
20545         * elf/Makefile (common-ldd-rewrite): Rename to ...
20546         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20547         (sh-ldd-rewrite): Delete.
20548         (bash-ldd-rewrite): Delete.
20549         (have-bash2): Delete checks.
20550         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20551         ldd-rewrite.
20553         * config.make.in (have-ksh): Delete.
20554         (KSH): Delete.
20555         * configure.ac (libc_cv_have_ksh): Delete.
20556         * configure: Regenerate.
20558         * elf/Makefile: Delete $(have-ksh) check.
20559         ($(objpfx)sotruss): Change KSH to BASH.
20560         * elf/sotruss.ksh: Rename to ...
20561         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20562         function style to match POSIX.  Drop ksh vim mode setting.
20564         * manual/time.texi (Specifying the Time Zone with TZ): Change
20565         Tuesday to Thursday.
20567         * debug/tst-longjmp_chk2.c: Update header comment.
20568         (stackoverflow_handler): Add comment.  Call assert on pass value.
20570 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20572         [BZ #16194]
20573         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20574         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20575         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20576         (La_x86_64_vector): Add zmm.
20577         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20578         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20579         ($(objpfx)tst-audit10): New target.
20580         ($(objpfx)tst-audit10.out): Likewise.
20581         (tst-audit10-ENV): New.
20582         (AVX512-CFLAGS): Likewise.
20583         (CFLAGS-tst-audit10.c): Likewise.
20584         (CFLAGS-tst-auditmod10a.c): Likewise.
20585         (CFLAGS-tst-auditmod10b.c): Likewise.
20586         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20587         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20588         * sysdeps/x86_64/configure: Regenerated.
20589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20590         AVX-512 zmm register support.
20591         (_dl_x86_64_save_sse): Likewise.
20592         (_dl_x86_64_restore_sse): Likewise.
20593         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20594         size vector registers.
20595         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20596         (ZMM_SIZE): Likewise.
20597         * sysdeps/x86_64/tst-audit10.c: New file.
20598         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20599         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20601 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20603         * configure.ac (HAVE_EHDR_START): New check.
20604         * configure: Regenerated.
20605         * config.h.in (HAVE_EHDR_START): New #undef.
20606         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20607         assuming the lowest-addressed segment maps the start of the file.
20609 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20611         * INSTALL: Regenerated.
20613 2014-03-13  Will Newton  <will.newton@linaro.org>
20615         * manual/setjmp.texi (System V contexts): Improve
20616         clarity and grammar of documentation.
20618 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20620         [BZ #16381]
20621         * elf/Makefile (tests): Add tst-pie2.
20622         (tests-pie): Add tst-pie2.
20623         * elf/tst-pie2.c: New file.
20624         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20625         for ET_EXEC.
20626         * elf/rtld.c (map_doit): Load executable as lt_executable.
20627         (dl_main): Likewise.
20629 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20631         [BZ #16642]
20632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20633         (__ASSUME_PSELECT): Undefine.
20635 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20637         [BZ #16689]
20638         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20639         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20640         static build.
20641         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20642         selector for static builds.
20644 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20646         [BZ #16695]
20647         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20648         key in the buffer.
20650 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20652         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20653         IFUNC selector for static builds.
20655 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20657         * sysdeps/mips/math_private.h [__mips_hard_float]
20658         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20659         libc_feresetround_mips_ctx.
20660         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20661         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20662         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20664         [BZ #16677]
20665         * math/s_nextafter.c (__nextafter): Do not return value from
20666         overflowing computation.
20667         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20668         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20669         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20670         Likewise.
20671         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20672         Likewise.
20673         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20674         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20676 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20678         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20679         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20680         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20681         the new mov targetting sp.
20683 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20685         [BZ #16683]
20686         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20687         Define it for static builds as well.
20688         (NO_BZERO_IMPL): Likewise.
20690 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20692         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20693         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20694         multiarch strspn for PPC64.
20695         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20696         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20698         (__libc_ifunc_impl_list): Likewise.
20699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20700         multiarch optimizations
20701         * string/strspn.c (strspn): Using macro to redefine symbol name.
20703 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20704             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20706         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20707         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20708         multiarch strncat for PPC64.
20709         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20710         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20712         (__libc_ifunc_impl_list): Likewise.
20713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20714         multiarch optimizations
20716 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20718         [BZ #16639]
20719         * nscd/nscd.service: Make service type forking.
20721 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20723         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20724         sign in non default rounding modes.
20725         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20727 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20729         * math/libm-test.inc (ALL_RM_TEST): New macro.
20730         (ceil_test): Use ALL_RM_TEST.
20731         (cimag_test): Likewise.
20732         (conj_test): Likewise.
20733         (copysign_test): Likewise.
20734         (cproj_test): Likewise.
20735         (creal_test): Likewise.
20736         (fabs_test): Likewise.
20737         (floor_test): Likewise.
20738         (fmax_test): Likewise.
20739         (fmin_test): Likewise.
20740         (fmod_test): Likewise.
20741         (fpclassify_test): Likewise.
20742         (frexp_test): Likewise.
20743         (ilogb_test): Likewise.
20744         (isfinite_test): Likewise.
20745         (finite_test): Likewise.
20746         (isgreater_test): Likewise.
20747         (isgreaterequal_test): Likewise.
20748         (isinf_test): Likewise.
20749         (isless_test): Likewise.
20750         (islessequal_test): Likewise.
20751         (islessgreater_test): Likewise.
20752         (isnan_test): Likewise.
20753         (isnormal_test): Likewise.
20754         (issignaling_test): Likewise.
20755         (isunordered_test): Likewise.
20756         (logb_test): Likewise.
20757         (logb_downward_test_data): Remove.
20758         (logb_test_downward): Likewise.
20759         (lround_test): Use ALL_RM_TEST.
20760         (llround_test): Likewise.
20761         (modf_test): Likewise.
20762         (nexttoward_test): Likewise.
20763         (remainder_test): Likewise.
20764         (drem_test): Likewise.
20765         (remainder_tonearest_test_data): Likewise.
20766         (remainder_test_tonearest): Likewise.
20767         (drem_test_tonearest): Likewise.
20768         (remainder_towardzero_test_data): Likewise.
20769         (remainder_test_towardzero): Likewise.
20770         (drem_test_towardzero): Likewise.
20771         (remainder_downward_test_data): Likewise.
20772         (remainder_test_downward): Likewise.
20773         (drem_test_downward): Likewise.
20774         (remainder_upward_test_data): Likewise.
20775         (remainder_test_upward): Likewise.
20776         (drem_test_upward): Likewise.
20777         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20778         (round_test): Use ALL_RM_TEST.
20779         (signbit_test): Likewise.
20780         (trunc_test): Likewise.
20781         (significand_test): Likewise.
20782         (main): Don't call removed functions.
20784 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #16674]
20787         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20788         || __USE_XOPEN2K8].
20789         (ILL_ILLOPN): Likewise.
20790         (ILL_ILLADR): Likewise.
20791         (ILL_ILLTRP): Likewise.
20792         (ILL_PRVOPC): Likewise.
20793         (ILL_PRVREG): Likewise.
20794         (ILL_COPROC): Likewise.
20795         (ILL_BADSTK): Likewise.
20796         (FPE_INTDIV): Likewise.
20797         (FPE_INTOVF): Likewise.
20798         (FPE_FLTDIV): Likewise.
20799         (FPE_FLTOVF): Likewise.
20800         (FPE_FLTUND): Likewise.
20801         (FPE_FLTRES): Likewise.
20802         (FPE_FLTINV): Likewise.
20803         (FPE_FLTSUB): Likewise.
20804         (SEGV_MAPERR): Likewise.
20805         (SEGV_ACCERR): Likewise.
20806         (BUS_ADRALN): Likewise.
20807         (BUS_ADRERR): Likewise.
20808         (BUS_OBJERR): Likewise.
20809         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20810         (TRAP_TRACE): Likewise.
20811         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20812         __USE_XOPEN2K8].
20813         (CLD_KILLED): Likewise.
20814         (CLD_DUMPED): Likewise.
20815         (CLD_TRAPPED): Likewise.
20816         (CLD_STOPPED): Likewise.
20817         (CLD_CONTINUED): Likewise.
20818         (POLL_IN): Likewise.
20819         (POLL_OUT): Likewise.
20820         (POLL_MSG): Likewise.
20821         (POLL_ERR): Likewise.
20822         (POLL_PRI): Likewise.
20823         (POLL_HUP): Likewise.
20824         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20825         Likewise.
20826         (ILL_ILLOPN): Likewise.
20827         (ILL_ILLADR): Likewise.
20828         (ILL_ILLTRP): Likewise.
20829         (ILL_PRVOPC): Likewise.
20830         (ILL_PRVREG): Likewise.
20831         (ILL_COPROC): Likewise.
20832         (ILL_BADSTK): Likewise.
20833         (FPE_INTDIV): Likewise.
20834         (FPE_INTOVF): Likewise.
20835         (FPE_FLTDIV): Likewise.
20836         (FPE_FLTOVF): Likewise.
20837         (FPE_FLTUND): Likewise.
20838         (FPE_FLTRES): Likewise.
20839         (FPE_FLTINV): Likewise.
20840         (FPE_FLTSUB): Likewise.
20841         (SEGV_MAPERR): Likewise.
20842         (SEGV_ACCERR): Likewise.
20843         (BUS_ADRALN): Likewise.
20844         (BUS_ADRERR): Likewise.
20845         (BUS_OBJERR): Likewise.
20846         (BUS_MCEERR_AR): Likewise.
20847         (BUS_MCEERR_AO): Likewise.
20848         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20849         (TRAP_TRACE): Likewise.
20850         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20851         __USE_XOPEN2K8].
20852         (CLD_KILLED): Likewise.
20853         (CLD_DUMPED): Likewise.
20854         (CLD_TRAPPED): Likewise.
20855         (CLD_STOPPED): Likewise.
20856         (CLD_CONTINUED): Likewise.
20857         (POLL_IN): Likewise.
20858         (POLL_OUT): Likewise.
20859         (POLL_MSG): Likewise.
20860         (POLL_ERR): Likewise.
20861         (POLL_PRI): Likewise.
20862         (POLL_HUP): Likewise.
20863         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20864         (ILL_ILLOPN): Likewise.
20865         (ILL_ILLADR): Likewise.
20866         (ILL_ILLTRP): Likewise.
20867         (ILL_PRVOPC): Likewise.
20868         (ILL_PRVREG): Likewise.
20869         (ILL_COPROC): Likewise.
20870         (ILL_BADSTK): Likewise.
20871         (FPE_INTDIV): Likewise.
20872         (FPE_INTOVF): Likewise.
20873         (FPE_FLTDIV): Likewise.
20874         (FPE_FLTOVF): Likewise.
20875         (FPE_FLTUND): Likewise.
20876         (FPE_FLTRES): Likewise.
20877         (FPE_FLTINV): Likewise.
20878         (FPE_FLTSUB): Likewise.
20879         (SEGV_MAPERR): Likewise.
20880         (SEGV_ACCERR): Likewise.
20881         (BUS_ADRALN): Likewise.
20882         (BUS_ADRERR): Likewise.
20883         (BUS_OBJERR): Likewise.
20884         (BUS_MCEERR_AR): Likewise.
20885         (BUS_MCEERR_AO): Likewise.
20886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20887         (TRAP_TRACE): Likewise.
20888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20889         __USE_XOPEN2K8].
20890         (CLD_KILLED): Likewise.
20891         (CLD_DUMPED): Likewise.
20892         (CLD_TRAPPED): Likewise.
20893         (CLD_STOPPED): Likewise.
20894         (CLD_CONTINUED): Likewise.
20895         (POLL_IN): Likewise.
20896         (POLL_OUT): Likewise.
20897         (POLL_MSG): Likewise.
20898         (POLL_ERR): Likewise.
20899         (POLL_PRI): Likewise.
20900         (POLL_HUP): Likewise.
20901         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20902         Likewise.
20903         (ILL_ILLOPN): Likewise.
20904         (ILL_ILLADR): Likewise.
20905         (ILL_ILLTRP): Likewise.
20906         (ILL_PRVOPC): Likewise.
20907         (ILL_PRVREG): Likewise.
20908         (ILL_COPROC): Likewise.
20909         (ILL_BADSTK): Likewise.
20910         (ILL_BADIADDR): Likewise.
20911         (ILL_BREAK): Likewise.
20912         (FPE_INTDIV): Likewise.
20913         (FPE_INTOVF): Likewise.
20914         (FPE_FLTDIV): Likewise.
20915         (FPE_FLTOVF): Likewise.
20916         (FPE_FLTUND): Likewise.
20917         (FPE_FLTRES): Likewise.
20918         (FPE_FLTINV): Likewise.
20919         (FPE_FLTSUB): Likewise.
20920         (FPE_DECOVF): Likewise.
20921         (FPE_DECDIV): Likewise.
20922         (FPE_DECERR): Likewise.
20923         (FPE_INVASC): Likewise.
20924         (FPE_INVDEC): Likewise.
20925         (SEGV_MAPERR): Likewise.
20926         (SEGV_ACCERR): Likewise.
20927         (SEGV_PSTKOVF): Likewise.
20928         (BUS_ADRALN): Likewise.
20929         (BUS_ADRERR): Likewise.
20930         (BUS_OBJERR): Likewise.
20931         (BUS_MCEERR_AR): Likewise.
20932         (BUS_MCEERR_AO): Likewise.
20933         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20934         (TRAP_TRACE): Likewise.
20935         (TRAP_BRANCH): Likewise.
20936         (TRAP_HWBKPT): Likewise.
20937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20938         __USE_XOPEN2K8].
20939         (CLD_KILLED): Likewise.
20940         (CLD_DUMPED): Likewise.
20941         (CLD_TRAPPED): Likewise.
20942         (CLD_STOPPED): Likewise.
20943         (CLD_CONTINUED): Likewise.
20944         (POLL_IN): Likewise.
20945         (POLL_OUT): Likewise.
20946         (POLL_MSG): Likewise.
20947         (POLL_ERR): Likewise.
20948         (POLL_PRI): Likewise.
20949         (POLL_HUP): Likewise.
20950         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20951         (ILL_ILLOPN): Likewise.
20952         (ILL_ILLADR): Likewise.
20953         (ILL_ILLTRP): Likewise.
20954         (ILL_PRVOPC): Likewise.
20955         (ILL_PRVREG): Likewise.
20956         (ILL_COPROC): Likewise.
20957         (ILL_BADSTK): Likewise.
20958         (FPE_INTDIV): Likewise.
20959         (FPE_INTOVF): Likewise.
20960         (FPE_FLTDIV): Likewise.
20961         (FPE_FLTOVF): Likewise.
20962         (FPE_FLTUND): Likewise.
20963         (FPE_FLTRES): Likewise.
20964         (FPE_FLTINV): Likewise.
20965         (FPE_FLTSUB): Likewise.
20966         (SEGV_MAPERR): Likewise.
20967         (SEGV_ACCERR): Likewise.
20968         (BUS_ADRALN): Likewise.
20969         (BUS_ADRERR): Likewise.
20970         (BUS_OBJERR): Likewise.
20971         (BUS_MCEERR_AR): Likewise.
20972         (BUS_MCEERR_AO): Likewise.
20973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20974         (TRAP_TRACE): Likewise.
20975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20976         __USE_XOPEN2K8].
20977         (CLD_KILLED): Likewise.
20978         (CLD_DUMPED): Likewise.
20979         (CLD_TRAPPED): Likewise.
20980         (CLD_STOPPED): Likewise.
20981         (CLD_CONTINUED): Likewise.
20982         (POLL_IN): Likewise.
20983         (POLL_OUT): Likewise.
20984         (POLL_MSG): Likewise.
20985         (POLL_ERR): Likewise.
20986         (POLL_PRI): Likewise.
20987         (POLL_HUP): Likewise.
20988         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20989         (ILL_ILLOPN): Likewise.
20990         (ILL_ILLADR): Likewise.
20991         (ILL_ILLTRP): Likewise.
20992         (ILL_PRVOPC): Likewise.
20993         (ILL_PRVREG): Likewise.
20994         (ILL_COPROC): Likewise.
20995         (ILL_BADSTK): Likewise.
20996         (FPE_INTDIV): Likewise.
20997         (FPE_INTOVF): Likewise.
20998         (FPE_FLTDIV): Likewise.
20999         (FPE_FLTOVF): Likewise.
21000         (FPE_FLTUND): Likewise.
21001         (FPE_FLTRES): Likewise.
21002         (FPE_FLTINV): Likewise.
21003         (FPE_FLTSUB): Likewise.
21004         (SEGV_MAPERR): Likewise.
21005         (SEGV_ACCERR): Likewise.
21006         (BUS_ADRALN): Likewise.
21007         (BUS_ADRERR): Likewise.
21008         (BUS_OBJERR): Likewise.
21009         (BUS_MCEERR_AR): Likewise.
21010         (BUS_MCEERR_AO): Likewise.
21011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21012         (TRAP_TRACE): Likewise.
21013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21014         __USE_XOPEN2K8].
21015         (CLD_KILLED): Likewise.
21016         (CLD_DUMPED): Likewise.
21017         (CLD_TRAPPED): Likewise.
21018         (CLD_STOPPED): Likewise.
21019         (CLD_CONTINUED): Likewise.
21020         (POLL_IN): Likewise.
21021         (POLL_OUT): Likewise.
21022         (POLL_MSG): Likewise.
21023         (POLL_ERR): Likewise.
21024         (POLL_PRI): Likewise.
21025         (POLL_HUP): Likewise.
21026         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21027         (ILL_ILLOPN): Likewise.
21028         (ILL_ILLADR): Likewise.
21029         (ILL_ILLTRP): Likewise.
21030         (ILL_PRVOPC): Likewise.
21031         (ILL_PRVREG): Likewise.
21032         (ILL_COPROC): Likewise.
21033         (ILL_BADSTK): Likewise.
21034         (FPE_INTDIV): Likewise.
21035         (FPE_INTOVF): Likewise.
21036         (FPE_FLTDIV): Likewise.
21037         (FPE_FLTOVF): Likewise.
21038         (FPE_FLTUND): Likewise.
21039         (FPE_FLTRES): Likewise.
21040         (FPE_FLTINV): Likewise.
21041         (FPE_FLTSUB): Likewise.
21042         (SEGV_MAPERR): Likewise.
21043         (SEGV_ACCERR): Likewise.
21044         (BUS_ADRALN): Likewise.
21045         (BUS_ADRERR): Likewise.
21046         (BUS_OBJERR): Likewise.
21047         (BUS_MCEERR_AR): Likewise.
21048         (BUS_MCEERR_AO): Likewise.
21049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21050         (TRAP_TRACE): Likewise.
21051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21052         __USE_XOPEN2K8].
21053         (CLD_KILLED): Likewise.
21054         (CLD_DUMPED): Likewise.
21055         (CLD_TRAPPED): Likewise.
21056         (CLD_STOPPED): Likewise.
21057         (CLD_CONTINUED): Likewise.
21058         (POLL_IN): Likewise.
21059         (POLL_OUT): Likewise.
21060         (POLL_MSG): Likewise.
21061         (POLL_ERR): Likewise.
21062         (POLL_PRI): Likewise.
21063         (POLL_HUP): Likewise.
21064         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21065         (ILL_ILLOPN): Likewise.
21066         (ILL_ILLADR): Likewise.
21067         (ILL_ILLTRP): Likewise.
21068         (ILL_PRVOPC): Likewise.
21069         (ILL_PRVREG): Likewise.
21070         (ILL_COPROC): Likewise.
21071         (ILL_BADSTK): Likewise.
21072         (ILL_DBLFLT): Likewise.
21073         (ILL_HARDWALL): Likewise.
21074         (FPE_INTDIV): Likewise.
21075         (FPE_INTOVF): Likewise.
21076         (FPE_FLTDIV): Likewise.
21077         (FPE_FLTOVF): Likewise.
21078         (FPE_FLTUND): Likewise.
21079         (FPE_FLTRES): Likewise.
21080         (FPE_FLTINV): Likewise.
21081         (FPE_FLTSUB): Likewise.
21082         (SEGV_MAPERR): Likewise.
21083         (SEGV_ACCERR): Likewise.
21084         (BUS_ADRALN): Likewise.
21085         (BUS_ADRERR): Likewise.
21086         (BUS_OBJERR): Likewise.
21087         (BUS_MCEERR_AR): Likewise.
21088         (BUS_MCEERR_AO): Likewise.
21089         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21090         (TRAP_TRACE): Likewise.
21091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21092         __USE_XOPEN2K8].
21093         (CLD_KILLED): Likewise.
21094         (CLD_DUMPED): Likewise.
21095         (CLD_TRAPPED): Likewise.
21096         (CLD_STOPPED): Likewise.
21097         (CLD_CONTINUED): Likewise.
21098         (POLL_IN): Likewise.
21099         (POLL_OUT): Likewise.
21100         (POLL_MSG): Likewise.
21101         (POLL_ERR): Likewise.
21102         (POLL_PRI): Likewise.
21103         (POLL_HUP): Likewise.
21104         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21105         (ILL_ILLOPN): Likewise.
21106         (ILL_ILLADR): Likewise.
21107         (ILL_ILLTRP): Likewise.
21108         (ILL_PRVOPC): Likewise.
21109         (ILL_PRVREG): Likewise.
21110         (ILL_COPROC): Likewise.
21111         (ILL_BADSTK): Likewise.
21112         (FPE_INTDIV): Likewise.
21113         (FPE_INTOVF): Likewise.
21114         (FPE_FLTDIV): Likewise.
21115         (FPE_FLTOVF): Likewise.
21116         (FPE_FLTUND): Likewise.
21117         (FPE_FLTRES): Likewise.
21118         (FPE_FLTINV): Likewise.
21119         (FPE_FLTSUB): Likewise.
21120         (SEGV_MAPERR): Likewise.
21121         (SEGV_ACCERR): Likewise.
21122         (BUS_ADRALN): Likewise.
21123         (BUS_ADRERR): Likewise.
21124         (BUS_OBJERR): Likewise.
21125         (BUS_MCEERR_AR): Likewise.
21126         (BUS_MCEERR_AO): Likewise.
21127         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21128         (TRAP_TRACE): Likewise.
21129         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21130         __USE_XOPEN2K8].
21131         (CLD_KILLED): Likewise.
21132         (CLD_DUMPED): Likewise.
21133         (CLD_TRAPPED): Likewise.
21134         (CLD_STOPPED): Likewise.
21135         (CLD_CONTINUED): Likewise.
21136         (POLL_IN): Likewise.
21137         (POLL_OUT): Likewise.
21138         (POLL_MSG): Likewise.
21139         (POLL_ERR): Likewise.
21140         (POLL_PRI): Likewise.
21141         (POLL_HUP): Likewise.
21142         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21143         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21145         [BZ #16670]
21146         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21147         before #include of <time.h>.
21148         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21149         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21150         (test-xfail-UNIX98/sched.h/conform): Likewise.
21152 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21154         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21155         error absence of trapping exception support.
21156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21158 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21160         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21161         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21162         * timezone/Makefile (testdata): Move definition above include of
21163         Rules.
21164         (test-zones): New variable.
21165         (tests-special): Add zone files.
21166         (build-testdata): Use $(evaluate-test).
21168         * elf/Makefile (tests-special): Rename tests to end with .out.
21169         ($(objpfx)noload-mem): Likewise.
21170         ($(objpfx)tst-leaks1-mem): Likewise.
21171         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21172         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21173         $(objpfx)test-iconvconfig.out.
21174         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21175         set -e inside subshell and redirect output to file.
21176         * iconvdata/Makefile (generated): Rename tests to end with .out.
21177         Correct type.
21178         (tests-special): Rename tests to end with .out.
21179         ($(objpfx)mtrace-tst-loading): Likewise.
21180         * intl/Makefile (generated): Likewise.
21181         (tests-special): Likewise.
21182         ($(objpfx)mtrace-tst-gettext): Likewise.
21183         * misc/Makefile (generated): Likewise.
21184         (tests-special): Likewise.
21185         ($(objpfx)tst-error1-mem): Likewise.
21186         * nptl/Makefile (tests-special): Likewise.
21187         ($(objpfx)tst-stack3-mem): Likewise.
21188         (generated): Likewise.
21189         * posix/Makefile (generated): Likewise.
21190         (tests-special): Likewise.
21191         (xtests-special): Likewise.
21192         ($(objpfx)tst-fnmatch-mem): Likewise.
21193         ($(objpfx)bug-regex2-mem): Likewise.
21194         ($(objpfx)bug-regex14-mem): Likewise.
21195         ($(objpfx)bug-regex21-mem): Likewise.
21196         ($(objpfx)bug-regex31-mem): Likewise.
21197         ($(objpfx)tst-vfork3-mem): Likewise.
21198         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21199         ($(objpfx)tst-pcre-mem): Likewise.
21200         ($(objpfx)tst-boost-mem): Likewise.
21201         ($(objpfx)bug-ga2-mem): Likewise.
21202         ($(objpfx)bug-glob2-mem): Likewise.
21203         * resolv/Makefile (generate): Likewise.
21204         (tests-special): Likewise.
21205         (xtests-special): Likewise.
21206         (generated): Likewise.
21207         ($(objpfx)mtrace-tst-leaks): Likewise.
21208         ($(objpfx)mtrace-tst-leaks2): Likewise.
21210         * scripts/merge-test-results.sh: New file.
21211         * Makefile (tests-special-notdir): New variable.
21212         (tests): Run merge-test-results.sh.
21213         (xtests): Likewise.
21214         * Rules (tests-special-notdir): New variable.
21215         (xtests-special-notdir): Likewise.
21216         (tests): Run merge-test-results.sh
21217         (xtests): Likewise.
21219         * Makeconfig (test-xfail-name): New variable.
21220         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21221         compute variable name for expected failures.
21222         * conform/Makefile (conformtest-headers-data): New variable.
21223         (conformtest-standards): Likewise.
21224         (conformtest-headers-ISO): Likewise.
21225         (conformtest-headers-ISO99): Likewise.
21226         (conformtest-headers-ISO11): Likewise.
21227         (conformtest-headers-POSIX): Likewise.
21228         (conformtest-headers-XPG3): Likewise.
21229         (conformtest-headers-XPG4): Likewise.
21230         (conformtest-headers-UNIX98): Likewise.
21231         (conformtest-headers-XOPEN2K): Likewise.
21232         (conformtest-headers-POSIX2008): Likewise.
21233         (conformtest-headers-XOPEN2K8): Likewise.
21234         (conformtest-header-list-base): Likewise.
21235         (conformtest-header-list-tests): Likewise.
21236         (conformtest-header-base): Likewise.
21237         (conformtest-header-tests): Likewise.
21238         (tests-special): Add $(conformtest-header-list-tests).  If
21239         [$(fast-check) && !$(cross-compiling)], add
21240         $(conformtest-header-tests) instead of
21241         $(objpfx)run-conformtest.out.
21242         (generated): Add $(conformtest-header-list-base).  If
21243         [$(fast-check) && !$(cross-compiling)], add
21244         $(conformtest-header-base).  Remove previous setting.
21245         ($(conformtest-header-list-tests)): New target.
21246         (test-xfail-run-conformtest): Remove variable.
21247         ($(objpfx)run-conformtest.out): Remove target.
21248         (test-xfail-ISO11/complex.h/conform): New variable.
21249         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21250         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21251         (test-xfail-XPG3/varargs.h/conform): Likewise.
21252         (test-xfail-XPG4/varargs.h/conform): Likewise.
21253         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21254         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21255         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21256         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21257         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21258         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21259         (test-xfail-XPG3/ftw.h/conform): Likewise.
21260         (test-xfail-XPG3/grp.h/conform): Likewise.
21261         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21262         (test-xfail-XPG3/limits.h/conform): Likewise.
21263         (test-xfail-XPG3/pwd.h/conform): Likewise.
21264         (test-xfail-XPG3/search.h/conform): Likewise.
21265         (test-xfail-XPG3/signal.h/conform): Likewise.
21266         (test-xfail-XPG3/stdio.h/conform): Likewise.
21267         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21268         (test-xfail-XPG3/string.h/conform): Likewise.
21269         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21270         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21271         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21272         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21273         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21274         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21275         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21276         (test-xfail-XPG3/termios.h/conform): Likewise.
21277         (test-xfail-XPG3/time.h/conform): Likewise.
21278         (test-xfail-XPG3/unistd.h/conform): Likewise.
21279         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21280         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21281         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21282         (test-xfail-XPG4/netdb.h/conform): Likewise.
21283         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21284         (test-xfail-XPG4/signal.h/conform): Likewise.
21285         (test-xfail-XPG4/stdio.h/conform): Likewise.
21286         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21287         (test-xfail-XPG4/stropts.h/conform): Likewise.
21288         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21289         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21290         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21291         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21292         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21293         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21294         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21295         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21296         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21297         (test-xfail-XPG4/termios.h/conform): Likewise.
21298         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21299         (test-xfail-XPG4/unistd.h/conform): Likewise.
21300         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21301         (test-xfail-POSIX/sched.h/conform): Likewise.
21302         (test-xfail-POSIX/signal.h/conform): Likewise.
21303         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21304         (test-xfail-POSIX/tar.h/conform): Likewise.
21305         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21306         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21307         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21308         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21309         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21310         (test-xfail-UNIX98/sched.h/conform): Likewise.
21311         (test-xfail-UNIX98/signal.h/conform): Likewise.
21312         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21313         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21314         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21315         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21316         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21317         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21318         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21319         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21320         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21321         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21322         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21323         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21324         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21325         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21326         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21327         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21328         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21329         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21330         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21331         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21332         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21333         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21334         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21335         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21336         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21337         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21338         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21339         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21340         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21341         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21342         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21343         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21344         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21345         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21346         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21347         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21348         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21349         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21350         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21351         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21352         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21353         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21354         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21355         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21356         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21357         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21358         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21359         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21360         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21361         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21362         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21363         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21364         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21365         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21366         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21367         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21368         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21369         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21370         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21371         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21372         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21373         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21374         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21375         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21376         (conformtest-cc-flags): Likewise.
21377         ($(conformtest-header-tests): New target.
21378         * conform/check-header-lists.sh: New file.
21379         * conform/run-conformtest.sh: Remove.
21381         * conform/conformtest.pl: Allow ' and \ in values given for
21382         constants.
21383         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21384         inclusion.
21385         [POSIX] (sys/types.h): Likewise.
21386         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21387         inclusion.
21388         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21389         inclusion.
21390         * conform/data/signal.h-data (SIGIO): Remove expectation.
21391         [XPG3] (SIGBUS): Do not expect.
21392         [POSIX || XPG3] (SIGPOLL): Likewise.
21393         [POSIX || XPG3] (SIGPROF): Likewise.
21394         [POSIX || XPG3] (SIGSYS): Likewise.
21395         [XPG3] (SIGTRAP): Likewise.
21396         [POSIX || XPG3] (SIGURG): Likewise.
21397         [POSIX || XPG3] (SIGVTALRM): Likewise.
21398         [POSIX || XPG3] (SIGXCPU): Likewise.
21399         [POSIX || XPG3] (SIGXFSZ): Likewise.
21400         [POSIX] (SA_SIGINFO): Expect.
21401         [XPG3] (siginfo_t): Do not expect type or contents.
21402         [POSIX] (si_pid): Do not expect element.
21403         [POSIX] (si_uid): Likewise.
21404         [POSIX] (si_addr): Likewise.
21405         [POSIX] (si_status): Likewise.
21406         [POSIX] (si_band): Likewise.
21407         [XPG4] (si_value): Likewise.
21408         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21409         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21410         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21411         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21412         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21413         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21414         [POSIX || XPG3] (ILL_COPROC): Likewise.
21415         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21416         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21417         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21418         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21419         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21420         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21421         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21422         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21423         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21424         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21425         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21426         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21427         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21428         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21429         [POSIX || XPG3] (CLD_EXITED): Likewise.
21430         [POSIX || XPG3] (CLD_KILLED): Likewise.
21431         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21432         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21433         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21434         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21435         [POSIX || XPG3] (POLL_IN): Likewise.
21436         [POSIX || XPG3] (POLL_OUT): Likewise.
21437         [POSIX || XPG3] (POLL_MSG): Likewise.
21438         [POSIX || XPG3] (POLL_ERR): Likewise.
21439         [POSIX || XPG3] (POLL_PRI): Likewise.
21440         [POSIX || XPG3] (POLL_HUP): Likewise.
21441         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21442         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21443         (SIG*): Do not allow.
21444         [XPG3] (si_*): Likewise.
21445         [XPG3] (SI_*): Likewise.
21446         [XPG3 || XPG4] (sigev_*): Likewise.
21447         [XPG3 || XPG4] (SIGEV_*): Likewise.
21448         [XPG3 || XPG4] (sival_*): Likewise.
21449         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21450         [POSIX || XPG3] (BUS_*): Likewise.
21451         [POSIX || XPG3] (CLD_*): Likewise.
21452         [POSIX || XPG3] (FPE_*): Likewise.
21453         [POSIX || XPG3] (ILL_*): Likewise.
21454         [POSIX || XPG3] (POLL_*): Likewise.
21455         [POSIX || XPG3] (SEGV_*): Likewise.
21456         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21457         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21458         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21459         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21460         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21461         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21462         Specify type and value.
21463         (TVERSLEN): Likewise.
21464         (REGTYPE): Likewise.
21465         (AREGTYPE): Likewise.
21466         (LNKTYPE): Likewise.
21467         (SYMTYPE): Likewise.
21468         (CHRTYPE): Likewise.
21469         (BLKTYPE): Likewise.
21470         (DIRTYPE): Likewise.
21471         (FIFOTYPE): Likewise.
21472         (CONTTYPE): Likewise.
21473         (TSUID): Likewise.
21474         (TSGID): Likewise.
21475         (TSVTX): Likewise.
21476         (TUREAD): Likewise.
21477         (TUWRITE): Likewise.
21478         (TUEXEC): Likewise.
21479         (TGREAD): Likewise.
21480         (TGWRITE): Likewise.
21481         (TGEXEC): Likewise.
21482         (TOREAD): Likewise.
21483         (TOWRITE): Likewise.
21484         (TOEXEC): Likewise.
21485         [POSIX] (TSVTX): Expect constant.
21487 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21489         * Makefile (tests): Change dependencies to ....
21490         (tests-special): ... additions to this variable.
21491         (tests): Depend on $(tests-special).
21492         * Makerules (check-abi-list): New variable.
21493         (check-abi): Depend on $(check-abi-list).
21494         [$(subdir) = elf] (tests-special): Add
21495         $(objpfx)check-abi-libc.out.
21496         [$(build-shared) = yes && subdir] (tests-special): Add
21497         $(check-abi-list).
21498         [$(build-shared) = yes && subdir] (tests): Do not depend on
21499         check-abi.
21500         * Rules (tests): Depend on $(tests-special).
21501         (xtests): Depend on $(xtests-special).
21502         * catgets/Makefile (tests): Change dependencies to ....
21503         (tests-special): ... additions to this variable.
21504         * conform/Makefile (tests): Change dependencies to ....
21505         (tests-special): ... additions to this variable.
21506         * elf/Makefile (tests): Change dependencies to ....
21507         (tests-special): ... additions to this variable.
21508         * grp/Makefile (tests): Change dependencies to ....
21509         (tests-special): ... additions to this variable.
21510         * iconv/Makefile (xtests): Change dependencies to ....
21511         (xtests-special): ... additions to this variable.
21512         * iconvdata/Makefile (tests): Change dependencies to ....
21513         (tests-special): ... additions to this variable.
21514         * intl/Makefile (tests): Change dependencies to ....
21515         (tests-special): ... additions to this variable.  Also add
21516         $(objpfx)tst-gettext.out.
21517         * io/Makefile (tests): Change dependencies to ....
21518         (tests-special): ... additions to this variable.
21519         * libio/Makefile (tests): Change dependencies to ....
21520         (tests-special): ... additions to this variable.
21521         * malloc/Makefile (tests): Change dependencies to ....
21522         (tests-special): ... additions to this variable.
21523         * misc/Makefile (tests): Change dependencies to ....
21524         (tests-special): ... additions to this variable.
21525         * nptl/Makefile (tests): Change dependencies to ....
21526         (tests-special): ... additions to this variable.
21527         * nptl_db/Makefile (tests): Change dependencies to ....
21528         (tests-special): ... additions to this variable.
21529         * posix/Makefile (tests): Change dependencies to ....
21530         (tests-special): ... additions to this variable.
21531         (xtests): Change dependencies to ....
21532         (xtests-special): ... additions to this variable.
21533         * resolv/Makefile (tests): Change dependencies to ....
21534         (tests-special): ... additions to this variable.
21535         (xtests): Change dependencies to ....
21536         (xtests-special): ... additions to this variable.
21537         * stdio-common/Makefile (tests): Change dependencies to ....
21538         (tests-special): ... additions to this variable.
21539         (do-tst-unbputc): Remove target.
21540         (do-tst-printf): Likewise.
21541         * stdlib/Makefile (tests): Change dependencies to ....
21542         (tests-special): ... additions to this variable.
21543         * string/Makefile (tests): Change dependencies to ....
21544         (tests-special): ... additions to this variable.
21545         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21546         (tests-special): ... additions to this variable.
21548         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21549         whole file.
21550         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21551         whole file.
21552         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21553         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21555         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21556         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21557         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21558         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21559         * conform/data/libgen.h-data [XPG3]: Likewise.
21560         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21561         * conform/data/ndbm.h-data [XPG3]: Likewise.
21562         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21563         * conform/data/netdb.h-data [XPG3]: Likewise.
21564         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21565         * conform/data/poll.h-data [XPG3]: Likewise.
21566         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21567         * conform/data/strings.h-data [XPG3]: Likewise.
21568         * conform/data/stropts.h-data [XPG3]: Likewise.
21569         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21570         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21571         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21572         Likewise.
21573         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21574         * conform/data/sys/time.h-data [XPG3]: Likewise.
21575         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21576         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21577         * conform/data/sys/un.h-data [XPG3]: Likewise.
21578         * conform/data/syslog.h-data [XPG3]: Likewise.
21579         * conform/data/ucontext.h-data [XPG3]: Likewise.
21580         * conform/data/utmpx.h-data [XPG3]: Likewise.
21581         * conform/data/varargs.h-data [UNIX98]: Enable file.
21583         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21585         * math/libm-test.inc (struct test_f_f_data): Move expected results
21586         into structure for each rounding mode.
21587         (struct test_ff_f_data): Likewise.
21588         (struct test_ff_f_data_nexttoward): Likewise.
21589         (struct test_fi_f_data): Likewise.
21590         (struct test_fl_f_data): Likewise.
21591         (struct test_if_f_data): Likewise.
21592         (struct test_fff_f_data): Likewise.
21593         (struct test_c_f_data): Likewise.
21594         (struct test_f_f1_data): Likewise.
21595         (struct test_fF_f1_data): Likewise.
21596         (struct test_ffI_f1_data): Likewise.
21597         (struct test_c_c_data): Likewise.
21598         (struct test_cc_c_data): Likewise.
21599         (struct test_f_i_data): Likewise.
21600         (struct test_ff_i_data): Likewise.
21601         (struct test_f_l_data): Likewise.
21602         (struct test_f_L_data): Likewise.
21603         (struct test_fFF_11_data): Likewise.
21604         (RM_): New macro.
21605         (RM_FE_DOWNWARD): Likewise.
21606         (RM_FE_TONEAREST): Likewise.
21607         (RM_FE_TOWARDZERO): Likewise.
21608         (RM_FE_UPWARD): Likewise.
21609         (RUN_TEST_LOOP_f_f): Update references to expected results.
21610         (RUN_TEST_LOOP_2_f): Likewise.
21611         (RUN_TEST_LOOP_fff_f): Likewise.
21612         (RUN_TEST_LOOP_c_f): Likewise.
21613         (RUN_TEST_LOOP_f_f1): Likewise.
21614         (RUN_TEST_LOOP_fF_f1): Likewise.
21615         (RUN_TEST_LOOP_fI_f1): Likewise.
21616         (RUN_TEST_LOOP_ffI_f1): Likewise.
21617         (RUN_TEST_LOOP_c_c): Likewise.
21618         (RUN_TEST_LOOP_cc_c): Likewise.
21619         (RUN_TEST_LOOP_f_i): Likewise.
21620         (RUN_TEST_LOOP_f_i_tg): Likewise.
21621         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21622         (RUN_TEST_LOOP_f_b): Likewise.
21623         (RUN_TEST_LOOP_f_b_tg): Likewise.
21624         (RUN_TEST_LOOP_f_l): Likewise.
21625         (RUN_TEST_LOOP_f_L): Likewise.
21626         (RUN_TEST_LOOP_fFF_11): Likewise.
21627         * math/gen-libm-test.pl (parse_args): Output four copies of
21628         expected results for each test.
21630         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21631         (__ASSUME_UTIMES): Remove.
21632         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21633         (__ASSUME_UTIMES): Likewise.
21635         * math/gen-auto-libm-tests.c: Update comment on output format.
21636         (output_for_one_input_case): Generate before-rounding and
21637         after-rounding information as conditions on output flags not
21638         floating-point format.
21639         * math/auto-libm-test-out: Regenerated.
21640         * math/gen-libm-test.pl (cond_value): New function.
21641         (or_cond_value): Use cond_value.
21642         (generate_testfile): Handle conditional exceptions.
21644 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21646         * math/libm-test.inc (max_valid_error): New variable.
21647         (init_max_error): Take new argument specifying whether function
21648         results are exactly determined.  Set max_valid_error and bound
21649         other variables for errors based on this argument.
21650         (set_max_error): Do not record results above max_valid_error.
21651         (check_float_internal): Only accept errors of up to 0.5ulps if
21652         also at most max_valid_error.
21653         (START): Take new argument EXACT and pass it to init_max_error.
21654         (acos_test): Update call to START.
21655         (acos_test_tonearest): Likewise.
21656         (acos_test_towardzero): Likewise.
21657         (acos_test_downward): Likewise.
21658         (acos_test_upward): Likewise.
21659         (acosh_test): Likewise.
21660         (asin_test): Likewise.
21661         (asin_test_tonearest): Likewise.
21662         (asin_test_towardzero): Likewise.
21663         (asin_test_downward): Likewise.
21664         (asin_test_upward): Likewise.
21665         (asinh_test): Likewise.
21666         (atan_test): Likewise.
21667         (atanh_test): Likewise.
21668         (atan2_test): Likewise.
21669         (cabs_test): Likewise.
21670         (cacos_test): Likewise.
21671         (cacosh_test): Likewise.
21672         (carg_test): Likewise.
21673         (casin_test): Likewise.
21674         (casinh_test): Likewise.
21675         (catan_test): Likewise.
21676         (catanh_test): Likewise.
21677         (cbrt_test): Likewise.
21678         (ccos_test): Likewise.
21679         (ccosh_test): Likewise.
21680         (ceil_test): Likewise.
21681         (cexp_test): Likewise.
21682         (cimag_test): Likewise.
21683         (clog_test): Likewise.
21684         (clog10_test): Likewise.
21685         (conj_test): Likewise.
21686         (copysign_test): Likewise.
21687         (cos_test): Likewise.
21688         (cos_test_tonearest): Likewise.
21689         (cos_test_towardzero): Likewise.
21690         (cos_test_downward): Likewise.
21691         (cos_test_upward): Likewise.
21692         (cosh_test): Likewise.
21693         (cosh_test_tonearest): Likewise.
21694         (cosh_test_towardzero): Likewise.
21695         (cosh_test_downward): Likewise.
21696         (cosh_test_upward): Likewise.
21697         (cpow_test): Likewise.
21698         (cproj_test): Likewise.
21699         (creal_test): Likewise.
21700         (csin_test): Likewise.
21701         (csinh_test): Likewise.
21702         (csqrt_test): Likewise.
21703         (ctan_test): Likewise.
21704         (ctan_test_tonearest): Likewise.
21705         (ctan_test_towardzero): Likewise.
21706         (ctan_test_downward): Likewise.
21707         (ctan_test_upward): Likewise.
21708         (ctanh_test): Likewise.
21709         (ctanh_test_tonearest): Likewise.
21710         (ctanh_test_towardzero): Likewise.
21711         (ctanh_test_downward): Likewise.
21712         (ctanh_test_upward): Likewise.
21713         (erf_test): Likewise.
21714         (erfc_test): Likewise.
21715         (exp_test): Likewise.
21716         (exp_test_tonearest): Likewise.
21717         (exp_test_towardzero): Likewise.
21718         (exp_test_downward): Likewise.
21719         (exp_test_upward): Likewise.
21720         (exp10_test): Likewise.
21721         (exp10_test_tonearest): Likewise.
21722         (exp10_test_towardzero): Likewise.
21723         (exp10_test_downward): Likewise.
21724         (exp10_test_upward): Likewise.
21725         (pow10_test): Likewise.
21726         (exp2_test): Likewise.
21727         (expm1_test): Likewise.
21728         (expm1_test_tonearest): Likewise.
21729         (expm1_test_towardzero): Likewise.
21730         (expm1_test_downward): Likewise.
21731         (expm1_test_upward): Likewise.
21732         (fabs_test): Likewise.
21733         (fdim_test): Likewise.
21734         (floor_test): Likewise.
21735         (fma_test): Likewise.
21736         (fma_test_towardzero): Likewise.
21737         (fma_test_downward): Likewise.
21738         (fma_test_upward): Likewise.
21739         (fmax_test): Likewise.
21740         (fmin_test): Likewise.
21741         (fmod_test): Likewise.
21742         (fpclassify_test): Likewise.
21743         (frexp_test): Likewise.
21744         (hypot_test): Likewise.
21745         (ilogb_test): Likewise.
21746         (isfinite_test): Likewise.
21747         (finite_test): Likewise.
21748         (isgreater_test): Likewise.
21749         (isgreaterequal_test): Likewise.
21750         (isinf_test): Likewise.
21751         (isless_test): Likewise.
21752         (islessequal_test): Likewise.
21753         (islessgreater_test): Likewise.
21754         (isnan_test): Likewise.
21755         (isnormal_test): Likewise.
21756         (issignaling_test): Likewise.
21757         (isunordered_test): Likewise.
21758         (j0_test): Likewise.
21759         (j1_test): Likewise.
21760         (jn_test): Likewise.
21761         (ldexp_test): Likewise.
21762         (lgamma_test): Likewise.
21763         (gamma_test): Likewise.
21764         (lrint_test): Likewise.
21765         (lrint_test_tonearest): Likewise.
21766         (lrint_test_towardzero): Likewise.
21767         (lrint_test_downward): Likewise.
21768         (lrint_test_upward): Likewise.
21769         (llrint_test): Likewise.
21770         (llrint_test_tonearest): Likewise.
21771         (llrint_test_towardzero): Likewise.
21772         (llrint_test_downward): Likewise.
21773         (llrint_test_upward): Likewise.
21774         (log_test): Likewise.
21775         (log10_test): Likewise.
21776         (log1p_test): Likewise.
21777         (log2_test): Likewise.
21778         (logb_test): Likewise.
21779         (logb_test_downward): Likewise.
21780         (lround_test): Likewise.
21781         (llround_test): Likewise.
21782         (modf_test): Likewise.
21783         (nearbyint_test): Likewise.
21784         (nextafter_test): Likewise.
21785         (nexttoward_test): Likewise.
21786         (pow_test): Likewise.
21787         (pow_test_tonearest): Likewise.
21788         (pow_test_towardzero): Likewise.
21789         (pow_test_downward): Likewise.
21790         (pow_test_upward): Likewise.
21791         (remainder_test): Likewise.
21792         (drem_test): Likewise.
21793         (remainder_test_tonearest): Likewise.
21794         (drem_test_tonearest): Likewise.
21795         (remainder_test_towardzero): Likewise.
21796         (drem_test_towardzero): Likewise.
21797         (remainder_test_downward): Likewise.
21798         (drem_test_downward): Likewise.
21799         (remainder_test_upward): Likewise.
21800         (drem_test_upward): Likewise.
21801         (remquo_test): Likewise.
21802         (rint_test): Likewise.
21803         (rint_test_tonearest): Likewise.
21804         (rint_test_towardzero): Likewise.
21805         (rint_test_downward): Likewise.
21806         (rint_test_upward): Likewise.
21807         (round_test): Likewise.
21808         (scalb_test): Likewise.
21809         (scalbn_test): Likewise.
21810         (scalbln_test): Likewise.
21811         (signbit_test): Likewise.
21812         (sin_test): Likewise.
21813         (sin_test_tonearest): Likewise.
21814         (sin_test_towardzero): Likewise.
21815         (sin_test_downward): Likewise.
21816         (sin_test_upward): Likewise.
21817         (sincos_test): Likewise.
21818         (sinh_test): Likewise.
21819         (sinh_test_tonearest): Likewise.
21820         (sinh_test_towardzero): Likewise.
21821         (sinh_test_downward): Likewise.
21822         (sinh_test_upward): Likewise.
21823         (sqrt_test): Likewise.
21824         (sqrt_test_tonearest): Likewise.
21825         (sqrt_test_towardzero): Likewise.
21826         (sqrt_test_downward): Likewise.
21827         (sqrt_test_upward): Likewise.
21828         (tan_test): Likewise.
21829         (tan_test_tonearest): Likewise.
21830         (tan_test_towardzero): Likewise.
21831         (tan_test_downward): Likewise.
21832         (tan_test_upward): Likewise.
21833         (tanh_test): Likewise.
21834         (tgamma_test): Likewise.
21835         (trunc_test): Likewise.
21836         (y0_test): Likewise.
21837         (y1_test): Likewise.
21838         (yn_test): Likewise.
21839         (significand_test): Likewise.
21841         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21842         individual tests in comment.
21843         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21844         (prev_max_error): New variable.
21845         (prev_real_max_error): Likewise.
21846         (prev_imag_max_error): Likewise.
21847         (compare_ulp_data): Don't refer to test names in comment.
21848         (find_test_ulps): Remove function.
21849         (find_function_ulps): Likewise.
21850         (find_complex_function_ulps): Likewise.
21851         (init_max_error): Take function name as argument.  Look up ulps
21852         for that function.
21853         (print_ulps): Remove function.
21854         (print_max_error): Use prev_max_error instead of calling
21855         find_function_ulps.
21856         (print_complex_max_error): Use prev_real_max_error and
21857         prev_imag_max_error instead of calling find_complex_function_ulps.
21858         (check_float_internal): Take max_ulp parameter instead of calling
21859         find_test_ulps.  Don't call print_ulps.
21860         (check_float): Update call to check_float_internal.
21861         (check_complex): Update calls to check_float_internal.
21862         (START): Pass argument to init_max_error.
21863         * math/gen-libm-test.pl (%results): Don't include "kind"
21864         information.
21865         (parse_ulps): Don't handle ulps of individual tests.
21866         (print_ulps_file): Likewise.
21867         (output_ulps): Likewise.
21868         * math/README.libm-test: Update.
21869         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21870         individual tests.
21871         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21872         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21873         * sysdeps/arm/libm-test-ulps: Likewise.
21874         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21875         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21876         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21877         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21878         * sysdeps/microblaze/libm-test-ulps: Likewise.
21879         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21880         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21881         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21882         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21883         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21884         * sysdeps/sh/libm-test-ulps: Likewise.
21885         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21886         * sysdeps/tile/libm-test-ulps: Likewise.
21887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21889 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21891         * math/libm-test.inc (print_complex_max_error): Check separately
21892         whether real and imaginary errors are within allowed range and
21893         pass 0 to print_complex_function_ulps instead of value within
21894         allowed range.
21896 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21898         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21899         formatting.
21900         (get_handles_fopen): Likewise.
21901         (do_write_test): Likewise.
21903         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21905         * libio/fileops.c (do_ftell): Use cached offset when
21906         available.
21907         * libio/iofwide.c (do_ftell_wide): Likewise.
21908         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21909         _IO_file_attach.
21910         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21912         [BZ #16532]
21913         * libio/libioP.h (get_file_offset): New function.
21914         * libio/fileops.c (get_file_offset): Likewise.
21915         (do_ftell): Likewise.
21916         (_IO_new_file_seekoff): Split out ftell logic.
21917         * libio/wfileops.c (do_ftell_wide): Likewise.
21918         (_IO_wfile_seekoff): Split out ftell logic.
21919         * libio/tst-ftell-active-handler.c: New test case.
21920         * libio/Makefile (tests): Add it.
21922 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21924         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21925         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21927 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21929         [BZ #16639]
21930         * nscd/connections.c (nscd_init): Call do_exit.
21931         (start_threads): Call do_exit and notify_parent.
21932         (begin_drop_privileges): Call do_exit.
21933         (finish_drop_privileges): Likewise.
21934         * nscd/selinux.c (preserve_capabilities): Likewise.
21935         (install_real_capabilities): Likewise.
21936         (nscd_selinux_enabled): Likewise.
21937         (avc_create_thread): Likewise.
21938         (avc_alloc_lock): Likewise.
21939         (nscd_avc_init): Likewise.
21940         * nscd/nscd.c (parent_fd): New static variable.
21941         (main): Create a pipe between parent and child processes.
21942         Skip closing parent_fd.
21943         (monitor_child): New function.
21944         (do_exit): Likewise.
21945         (notify_parent): Likewise.
21946         * nscd/nscd.h (notify_parent): Likewise.
21947         (do_exit): Likewise.
21949 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21951         * malloc/malloc.c (__libc_calloc): Revert last change.
21953 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21957 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21959         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21961         implementation.
21962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21963         (__libc_ifunc_impl_list): Likewise.
21964         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21965         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21966         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21967         * string/strrchr.c: Define STRRCHR.
21969 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21971         * benchtest/bench-strtok.c (simple_strtok): Delete.
21972         (strtok_string): Use as benchmark.
21973         * string/strtok (STRTOK): New macro.
21975 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21977         * manual/threads.texi: Add header and standard comments to all
21978         functions.
21980         * elf/dl-lookup.c (check_match): New function.
21981         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21982         (do_lookup_x): Remove nested function check_match. Use non-nested
21983         function check_match.
21985 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21987         * csu/Makefile (generated, before-compile): Use += rather than =.
21988         * catgets/Makefile (generated, generated-dirs): Likewise.
21989         * debug/Makefile (generated): Likewise.
21990         * dlfcn/Makefile (generated): Likewise.
21991         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21992         * iconvdata/Makefile (before-compile, generated): Likewise.
21993         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21994         * libio/Makefile (generated): Likewise.
21995         * malloc/Makefile (generated): Likewise.
21996         * manual/Makefile (generated, generated-dirs): Likewise.
21997         * misc/Makefile (generated): Likewise.
21998         * posix/Makefile (generated): Likewise.
21999         * resolv/Makefile (generated): Likewise.
22000         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22001         * timezone/Makefile (generated, generated-dirs): Likewise.
22003         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22005 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22007         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22008         power8 implementation.
22009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22010         file: POWER8 llround ifunc implementation.
22011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22012         (__lllround): Add POWER8 implementation.
22013         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22014         POWER8 llround implementation.
22016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22017         power8 implementation.
22018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22019         file: POWER8 llrint ifunc implementation.
22020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22021         Add POWER8 implementation.
22022         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22023         POWER8 llrint implementation.
22025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22026         power8 implementation.
22027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22028         file: POWER8 finite ifunc implementation.
22029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22030         Add POWER8 implementation.
22031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22032         Likewise.
22033         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22034         POWER8 finite implementation.
22035         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22038         power8 implementation.
22039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22040         file: POWER8 isinf ifunc implementation.
22041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22042         POWER8 implementation.
22043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22044         Likewise.
22045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22046         isinf implementation.
22047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22049         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22050         (INIT_ARCH): Add hwcap2 initialization.
22051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22052         power8 implementation.
22053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22054         file: POWER8 isnan ifunc implementation.
22055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22056         POWER8 implementation.
22057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22058         Likewise.
22059         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22060         isnan implementation.
22061         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22063 2014-02-27  Joey Ye  <joey.ye@arm.com>
22065         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22066         (_FP_NANFRAC_Q): Set to zero.
22068 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22070         [BZ #16623]
22071         * math/auto-libm-test-in: New test inputs.
22072         * math/auto-libm-test-out: Regenerate.
22073         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22074         and DA.
22075         (__cos): Likewise.
22076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22078 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22080         * scripts/evaluate-test.sh: Take new argument indicating whether
22081         failure is expected.
22082         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22083         indicating whether failure is expected.
22084         * conform/Makefile (test-xfail-run-conformtest): New variable.
22085         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22086         level.
22087         * posix/Makefile (test-xfail-annexc): New variable.
22088         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22090 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22092         * argp/Makefile: Include Makeconfig immediately after defining
22093         subdir.
22094         * assert/Makefile: Likewise.
22095         * benchtests/Makefile: Likewise.
22096         * catgets/Makefile: Likewise.
22097         * conform/Makefile: Likewise.
22098         * crypt/Makefile: Likewise.
22099         * csu/Makefile: Likewise.
22100         (all): Remove target.
22101         * ctype/Makefile: Include Makeconfig immediately after defining
22102         subdir.
22103         * debug/Makefile: Likewise.
22104         * dirent/Makefile: Likewise.
22105         * dlfcn/Makefile: Likewise.
22106         * gmon/Makefile: Likewise.
22107         * gnulib/Makefile: Likewise.
22108         * grp/Makefile: Likewise.
22109         * gshadow/Makefile: Likewise.
22110         * hesiod/Makefile: Likewise.
22111         * hurd/Makefile: Likewise.
22112         (all): Remove target.
22113         * iconvdata/Makefile: Include Makeconfig immediately after
22114         defining subdir.
22115         * inet/Makefile: Likewise.
22116         * intl/Makefile: Likewise.
22117         * io/Makefile: Likewise.
22118         * libio/Makefile: Likewise.
22119         (all): Remove target.
22120         * locale/Makefile: Include Makeconfig immediately after defining
22121         subdir.
22122         * login/Makefile: Likewise.
22123         * mach/Makefile: Likewise.
22124         (all): Remove target.
22125         * malloc/Makefile: Include Makeconfig immediately after defining
22126         subdir.
22127         (all): Remove target.
22128         * manual/Makefile: Include Makeconfig immediately after defining
22129         subdir.
22130         * math/Makefile: Likewise.
22131         * misc/Makefile: Likewise.
22132         * nis/Makefile: Likewise.
22133         * nss/Makefile: Likewise.
22134         * po/Makefile: Likewise.
22135         (all): Remove target.
22136         * posix/Makefile: Include Makeconfig immediately after defining
22137         subdir.
22138         * pwd/Makefile: Likewise.
22139         * resolv/Makefile: Likewise.
22140         * resource/Makefile: Likewise.
22141         * rt/Makefile: Likewise.
22142         * setjmp/Makefile: Likewise.
22143         * shadow/Makefile: Likewise.
22144         * signal/Makefile: Likewise.
22145         * socket/Makefile: Likewise.
22146         * soft-fp/Makefile: Likewise.
22147         * stdio-common/Makefile: Likewise.
22148         * stdlib/Makefile: Likewise.
22149         * streams/Makefile: Likewise.
22150         * string/Makefile: Likewise.
22151         * sunrpc/Makefile: Likewise.
22152         (all): Remove target.
22153         * sysvipc/Makefile: Include Makeconfig immediately after defining
22154         subdir.
22155         * termios/Makefile: Likewise.
22156         * time/Makefile: Likewise.
22157         * timezone/Makefile: Likewise.
22158         (all): Remove target.
22159         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22160         subdir.
22161         * wctype/Makefile: Likewise.
22163 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22165         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22166         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22167         (libc_feholdexcept_setround_mips): Ditto.
22168         (libc_feholdsetround): New.
22169         (libc_feholdsetroundf): New.
22170         (libc_feholdsetroundl): New.
22171         (libc_feupdateenv_test_mips): New.
22172         (libc_feupdateenv_test): New.
22173         (libc_feupdateenv_testf): New.
22174         (libc_feupdateenv_testl): New.
22175         (libc_feresetround): New.
22176         (libc_feresetroundf): New.
22177         (libc_feresetroundl): New.
22178         (libc_fetestexcept_mips): New.
22179         (libc_fetestexcept): New.
22180         (libc_fetestexceptf): New.
22181         (libc_fetestexceptl): New.
22182         (HAVE_RM_CTX): New.
22183         (libc_feholdexcept_setround_mips_ctx): New.
22184         (libc_feholdexcept_setround_ctx): New.
22185         (libc_feholdexcept_setroundf_ctx): New.
22186         (libc_feholdexcept_setroundl_ctx): New.
22187         (libc_fesetenv_mips_ctx): New.
22188         (libc_fesetenv_ctx): New.
22189         (libc_fesetenv_ctxf): New.
22190         (libc_fesetenv_ctxl): New.
22191         (libc_feupdateenv_mips_ctx): New.
22192         (libc_feupdateenv_ctx): New.
22193         (libc_feupdateenvf_ctx): New.
22194         (libc_feupdateenvl_ctx): New.
22195         (libc_feholdsetround_mips_ctx): New.
22196         (libc_feholdsetround_ctx): New.
22197         (libc_feholdsetroundf_ctx): New.
22198         (libc_feholdsetroundl_ctx): New.
22199         (libc_feresetround_mips_ctx): New.
22200         (libc_feresetround_ctx): New.
22201         (libc_feresetroundf_ctx): New.
22202         (libc_feresetroundl_ctx): New.
22204 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22206         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22208         * manual/ipc.texi: New file.
22209         * manual/Makefile (chapters): Add ipc.
22210         * manual/job.texi: Add "Inter-Process Communication" to next.
22211         * manual/process.texi: Add "Inter-Process Communication" to prev.
22213 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22217 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22219         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22221         * manual/arith.texi: Fix spaces after sentences.
22222         * manual/charset.texi: Likewise.
22223         * manual/errno.texi: Likewise.
22224         * manual/install.texi: Likewise.
22225         * manual/llio.texi: Likewise.
22226         * manual/locale.texi: Likewise.
22227         * manual/maint.texi: Likewise.
22228         * manual/math.texi: Likewise.
22229         * manual/memory.texi: Likewise.
22230         * manual/message.texi: Likewise.
22231         * manual/probes.texi: Likewise.
22232         * manual/resource.texi: Likewise.
22233         * manual/signal.texi: Likewise.
22234         * manual/socket.texi: Likewise.
22235         * manual/stdio.texi: Likewise.
22236         * manual/string.texi: Likewise.
22237         * manual/time.texi: Likewise.
22238         * manual/users.texi: Likewise.
22240 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22242         [BZ #16632]
22243         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22244         _DEFAULT_SOURCE is defined.
22246 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22247             Carlos O'Donell  <carlos@redhat.com>
22249         [BZ #16613]
22250         * elf/dl-tls.c (_dl_count_modids): New function.
22251         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22252         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22253         audit library and increment generation counter.
22254         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22255         * elf/tst-audit9.c: New file.
22256         * elf/tst-auditmod9a.c: New file.
22257         * elf/tst-auditmod9b.c: New file.
22258         * elf/Makefile: Add rules to build and run tst-audit9.
22260 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22262         [BZ #15347]
22263         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22265 2014-02-25  Will Newton  <will.newton@linaro.org>
22267         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22268         (__longjmp): Restore sp and lr before restoring callee
22269         saved registers.  Add longjmp and longjmp_target
22270         SystemTap probe point.
22271         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22272         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22273         Define to zero to match jmpbuf layout.
22274         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22275         (__sigsetjmp): Save sp and lr before saving callee
22276         saved registers.  Add setjmp SystemTap probe point.
22278 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22280         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22282 2014-02-24  Andreas Schwab  <schwab@suse.de>
22284         [BZ #15804]
22285         * elf/pldd.c (wait_for_ptrace_stop): New function.
22286         (main): Call it after attaching.
22288 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22290         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22291         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22292         Versions files is now verboten.
22293         * hurd/Versions (libc: GLIBC_2.0):
22294         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22295         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22296         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22297         * mach/Versions: Likewise.
22299         * csu/Versions: Remove unused %include.
22300         * resolv/Versions: Likewise.
22302 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22304         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22305         ($(objpfx)check-local-headers.out): Likewise.
22306         ($(objpfx)begin-end-check.out): Likewise.
22307         * Makerules (check-abi-%.out): Likewise.
22308         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22309         ($(objpfx)test2.cat): Likewise.
22310         ($(objpfx)de/libc.cat): Likewise.
22311         ($(objpfx)test-gencat.out): Likewise.
22312         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22313         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22314         ($(objpfx)noload-mem): Likewise.
22315         ($(objpfx)tst-pathopt.out): Likewise.
22316         ($(objpfx)tst-rtld-load-self.out): Likewise.
22317         ($(objpfx)tst-array1-cmp.out): Likewise.
22318         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22319         ($(objpfx)tst-array2-cmp.out): Likewise.
22320         ($(objpfx)tst-array3-cmp.out): Likewise.
22321         ($(objpfx)tst-array4-cmp.out): Likewise.
22322         ($(objpfx)tst-array5-cmp.out): Likewise.
22323         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22324         ($(objpfx)check-textrel.out): Likewise.
22325         ($(objpfx)check-execstack.out): Likewise.
22326         ($(objpfx)check-localplt.out): Likewise.
22327         ($(objpfx)order2-cmp.out): Likewise.
22328         ($(objpfx)tst-leaks1-mem): Likewise.
22329         ($(objpfx)tst-leaks1-static-mem): Likewise.
22330         ($(objpfx)tst-initorder-cmp.out): Likewise.
22331         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22332         ($(objpfx)tst-unused-dep.out): Likewise.
22333         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22334         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22335         * iconv/Makefile (test-iconvconfig): Likewise.
22336         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22337         ($(objpfx)iconv-test.out): Likewise.
22338         ($(objpfx)tst-tables.out): Likewise.
22339         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22340         ($(objpfx)tst-gettext.out): Likewise.
22341         ($(objpfx)tst-translit.out): Likewise.
22342         ($(objpfx)tst-gettext2.out): Likewise.
22343         ($(objpfx)tst-gettext4.out): Likewise.
22344         ($(objpfx)tst-gettext6.out): Likewise.
22345         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22346         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22347         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22348         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22349         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22350         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22351         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22352         ($(objpfx)wordexp-tst.out): Likewise.
22353         ($(objpfx)annexc.out): Likewise.
22354         ($(objpfx)tst-fnmatch-mem): Likewise.
22355         ($(objpfx)bug-regex2-mem): Likewise.
22356         ($(objpfx)bug-regex14-mem): Likewise.
22357         ($(objpfx)bug-regex21-mem): Likewise.
22358         ($(objpfx)bug-regex31-mem): Likewise.
22359         ($(objpfx)tst-vfork3-mem): Likewise.
22360         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22361         ($(objpfx)tst-pcre-mem): Likewise.
22362         ($(objpfx)tst-boost-mem): Likewise.
22363         ($(objpfx)tst-getconf.out): Likewise.
22364         ($(objpfx)bug-ga2-mem): Likewise.
22365         ($(objpfx)bug-glob2-mem): Likewise.
22366         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22367         ($(objpfx)mtrace-tst-leaks2): Likewise.
22368         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22369         ($(objpfx)tst-printf.out): Likewise.
22370         ($(objpfx)tst-setvbuf1.out): Likewise.
22371         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22372         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22373         ($(objpfx)tst-fmtmsg.out): Likewise.
22374         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22375         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22377         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22378         * bits/sigaction.h [__USE_MISC]: Likewise.
22379         * bits/waitstatus.h: Update #endif comments.
22380         * ctype/ctype.h: Likewise.
22381         * dirent/dirent.h: Likewise.
22382         [__USE_MISC]: Remove redundant conditionals.
22383         * grp/grp.h: Update #endif comments.
22384         [__USE_GNU]: Remove redundant conditionals.
22385         [__USE_MISC]: Likewise.
22386         * inet/netinet/in.h [__USE_GNU]: Likewise.
22387         * io/sys/stat.h [__USE_MISC]: Likewise.
22388         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22389         * libio/bits/stdio.h: Update #endif comments.
22390         [__USE_MISC]: Remove redundant conditionals.
22391         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22392         * libio/stdio.h: Update #endif comments.
22393         [__USE_MISC]: Remove redundant conditionals.
22394         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22395         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22396         * math/math.h: Update #else and #endif comments.
22397         [__USE_MISC]: Remove redundant conditionals.
22398         * misc/sys/uio.h: Update #endif comments.
22399         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22400         * posix/glob.h [__USE_MISC]: Likewise.
22401         * posix/sys/types.h: Update #endif comments.
22402         [__USE_MISC]: Remove redundant conditionals.
22403         * posix/sys/wait.h: Update #endif comments.
22404         [__USE_MISC]: Remove redundant conditionals.
22405         * posix/unistd.h: Update #endif comments.
22406         [__USE_MISC]: Remove redundant conditionals.
22407         * pwd/pwd.h [__USE_GNU]: Likewise.
22408         [__USE_MISC]: Likewise.
22409         * resolv/netdb.h [__USE_GNU]: Likewise.
22410         * signal/signal.h: Update #endif comments.
22411         [__USE_MISC]: Remove redundant conditionals.
22412         * stdlib/stdlib.h: Update #else and #endif comments.
22413         [__USE_MISC]: Remove redundant conditionals.
22414         [__USE_GNU]: Likewise.
22415         * string/bits/string2.h [__USE_MISC]: Likewise.
22416         * string/string.h: Update #endif comments.
22417         [__USE_MISC]: Remove redundant conditionals.
22418         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22419         Likewise.
22420         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22421         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22422         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22423         Likewise.
22424         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22425         Likewise.
22426         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22427         comments.
22428         [__USE_MISC]: Remove redundant conditionals.
22429         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22430         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22431         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22432         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22433         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22434         Likewise.
22435         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22436         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22437         Likewise.
22438         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22439         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22440         Likewise.
22441         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22442         Likewise.
22443         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22445         Likewise.
22446         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22447         Likewise.
22448         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22449         * sysdeps/x86/bits/string.h: Update #endif comments.
22450         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22451         conditionals.
22452         * time/sys/time.h: Update #endif comments.
22453         * time/time.h: Likewise.
22454         [__USE_MISC]: Remove redundant conditionals.
22456 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22458         [BZ #16600]
22459         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22461 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22463         * Versions.def (librt): Add GLIBC_2.17.
22465 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22467         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22468         synonym for _SYS_AUXV_H to allow direct inclusion.
22469         * sysdeps/sparc/bits/hwcap.h: Likewise.
22470         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22471         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22472         * sysdeps/sparc/sysdep.h: Likewise.
22474 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22476         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22478 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22480         * benchtests/bench-strrchr.c: Print length instead of position.
22482 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22484         [BZ #16611]
22485         * sysdeps/unix/sysv/linux/kernel-features.h
22486         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22487         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22488         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22489         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22490         Likewise.
22491         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22492         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22493         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22494         (__ASSUME_SENDMMSG): Define instead of using previous
22495         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22496         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22497         (__ASSUME_SENDMMSG_SYSCALL): Define.
22498         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22499         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22500         Likewise.
22501         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22502         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22503         Likewise.
22504         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22506         Likewise.
22507         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22508         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22509         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22510         [__ASSUME_SENDMMSG]: Change conditionals to
22511         [__ASSUME_SENDMMSG_SOCKETCALL].
22512         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22513         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22514         Define.
22515         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22516         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22517         Likewise.
22518         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22519         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22520         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22521         [!__ASSUME_SENDMMSG]: Change conditional to
22522         [!__ASSUME_SENDMMSG_SOCKETCALL].
22523         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22524         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22525         Define.
22527         [BZ #16610]
22528         * sysdeps/unix/sysv/linux/kernel-features.h
22529         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22530         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22531         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22532         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22533         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22534         [__i386__ || __sparc__]
22535         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22536         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22537         (__ASSUME_RECVMMSG): Define instead of using previous
22538         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22539         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22540         (__ASSUME_RECVMMSG_SYSCALL): Define.
22541         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22542         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22543         Likewise.
22544         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22545         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22546         Likewise.
22547         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22548         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22549         Likewise.
22550         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22551         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22552         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22553         [__ASSUME_RECVMMSG]: Change condition to
22554         [__ASSUME_RECVMMSG_SOCKETCALL].
22555         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22556         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22557         Define.
22558         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22559         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22560         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22561         Likewise.
22562         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22563         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22564         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22565         [!__ASSUME_RECVMMSG]: Change condition to
22566         [!__ASSUME_RECVMMSG_SOCKETCALL].
22567         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22568         (__ASSUME_RECVMMSG_SYSCALL): Define.
22570         [BZ #16609]
22571         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22572         __powerpc__ || __s390__ || __sh__ || __sparc__]
22573         (__ASSUME_SOCKETCALL): Define.
22574         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22575         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22576         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22577         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22578         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22579         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22580         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22581         (__ASSUME_ACCEPT4): Define instead of using previous
22582         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22583         __powerpc__ || __sparc__ || __s390__)] condition.
22584         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22585         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22586         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22587         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22588         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22589         [!__ASSUME_ACCEPT4]: Change condition to
22590         [!__ASSUME_ACCEPT4_SOCKETCALL].
22591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22592         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22593         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22595         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22596         __ASSUME_ACCEPT4_SYSCALL.
22597         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22598         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22599         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22600         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22601         __ASSUME_ACCEPT4_SYSCALL.
22602         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22603         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22604         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22605         [__ASSUME_ACCEPT4]: Change condition to
22606         [__ASSUME_ACCEPT4_SOCKETCALL].
22607         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22608         (__ASSUME_SOCKETCALL): Define.
22609         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22611         (__ASSUME_SOCKETCALL): Define.
22612         (__ASSUME_ACCEPT4): Remove.
22613         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22614         Define.
22615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22616         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22617         Likewise.
22618         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22619         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22621         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22622         macro.
22623         (HWCAP_ARM_LPAE): Likewise.
22624         (HWCAP_ARM_EVTSTRM): Likewise.
22625         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22626         Add vpfd32, lpae and evtstrm.
22627         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22628         Increase to 22.
22630 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22632         * math/auto-libm-test-in: Add tests of clog10.
22633         * math/auto-libm-test-out: Regenerated.
22634         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22635         * sysdeps/i386/fpu/libm-test-ulps: Update.
22636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22638 2014-02-18  Andreas Schwab  <schwab@suse.de>
22640         [BZ #16574]
22641         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22642         Store non-zero if the second buffer was newly allocated.
22643         (send_dg): Likewise.
22644         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22645         to send_vc and send_dg.
22646         (res_nsend): Pass NULL for ansp2_malloced.
22647         * resolv/res_query.c (__libc_res_nquery): Add parameter
22648         answerp2_malloced and pass it down to __libc_res_nsend.
22649         (res_nquery): Pass additional NULL to __libc_res_nquery.
22650         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22651         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22652         second answer buffer if answerp2_malloced was set.
22653         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22654         (__libc_res_nquerydomain): Add parameter
22655         answerp2_malloced and pass it down to __libc_res_nquery.
22656         (res_nquerydomain): Pass additional NULL to
22657         __libc_res_nquerydomain.
22658         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22659         additional NULL to __libc_res_nsend and __libc_res_nquery.
22660         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22661         additional NULL to __libc_res_nsearch.
22662         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22663         parameter of __libc_res_nsearch to check for separately allocated
22664         second buffer.
22665         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22666         __libc_res_nquery.
22667         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22668         additional NULL to __libc_res_nquery.
22669         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22670         __libc_res_nsearch.
22671         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22672         * include/resolv.h: Update prototypes of __libc_res_nquery,
22673         __libc_res_nsearch, __libc_res_nsend.
22675 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22677         * math/auto-libm-test-in: Add tests of fma.
22678         * math/auto-libm-test-out: Regenerated.
22679         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22680         (fma_towardzero_test_data): Likewise.
22681         (fma_downward_test_data): Likewise.
22682         (fma_upward_test_data): Likewise.
22683         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22684         mpc_mode.
22685         (rounding_modes): Add values for new field.
22686         (func_calc_method): Add value mpfr_fff_f.
22687         (func_calc_desc): Add mpfr_fff_f union field.
22688         (test_function): Add field exact_args.
22689         (FUNC): Add macro argument EXACT_ARGS.
22690         (FUNC_mpfr_f_f): Update call to FUNC.
22691         (FUNC_mpfr_f_f): Likewise.
22692         (FUNC_mpfr_ff_f): Likewise.
22693         (FUNC_mpfr_if_f): Likewise.
22694         (FUNC_mpc_c_f): Likewise.
22695         (FUNC_mpc_c_c): Likewise.
22696         (test_functions): Add fma.  Update calls to FUNC.
22697         (handle_input_arg): Add argument exact_args.
22698         (add_test): Update call to handle_input_arg.
22699         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22700         (output_for_one_input_case): Update call to calc_generic_results.
22701         Recalculate exact zero results in each rounding mode.
22703         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22704         non-negative before setting low bit.
22705         * math/auto-libm-test-in: Mark one asin test possibly having
22706         spurious underflow.
22707         * math/auto-libm-test-out: Regenerated.
22708         * sysdeps/i386/fpu/libm-test-ulps: Update.
22709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22713         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22714         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22715         ports/sysdeps/unix/sysv/linux/microblaze.
22716         * README: Add missing listing for microblaze*-*-linux-gnu.
22718 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22720         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22721         duplicate code
22723 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22725         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22726         * sysdeps/unix/sysv/linux/ia64: Move directory from
22727         ports/sysdeps/unix/sysv/linux/ia64.
22728         * README: Update listing for ia64-*-linux-gnu.
22730 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22731             Joseph Myers  <joseph@codesourcery.com>
22733         * Makeconfig (test-name): New variable.
22734         (evaluate-test): Likewise.
22735         * Makerules (do-test-clean): Remove .test-result files.
22736         (common-mostlyclean): Likewise.
22737         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22738         * scripts/evaluate-test.sh: New file.
22740 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22742         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22743         separate $(objpfx)tst-fopenloc-cmp.out and
22744         $(objpfx)tst-fopenloc-mem.out targets.
22745         (tests): Update dependencies.
22746         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22747         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22748         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22749         (tst-rxspencer-no-utf8-ARGS): New variable.
22750         (tst-rxspencer-no-utf8-ENV): Likewise.
22751         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22752         instead of $(objpfx)tst-rxspencer-mem.
22753         ($(objpfx)tst-rxspencer-mem): Change target to
22754         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22755         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22756         * posix/tst-rxspencer-no-utf8.c: New file.
22758         * elf/Makefile ($(objpfx)order.out): Remove rule.
22759         [$(run-built-tests) = yes] (tests): Depend on
22760         $(objpfx)order-cmp.out.
22761         ($(objpfx)order-cmp.out): New rule.
22762         [$(run-built-tests) = yes] (tests): Depend on
22763         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22764         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22765         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22766         $(objpfx)tst-array5-static-cmp.out.
22767         ($(objpfx)tst-array1.out): Remove rule.
22768         ($(objpfx)tst-array1-cmp.out): New rule.
22769         ($(objpfx)tst-array1-static.out): Remove rule.
22770         ($(objpfx)tst-array1-static-cmp.out): New rule.
22771         ($(objpfx)tst-array2.out): Remove rule.
22772         ($(objpfx)tst-array2-cmp.out): New rule.
22773         ($(objpfx)tst-array3.out): Remove rule.
22774         ($(objpfx)tst-array3-cmp.out): New rule.
22775         ($(objpfx)tst-array4.out): Remove rule.
22776         ($(objpfx)tst-array4-cmp.out): New rule.
22777         ($(objpfx)tst-array5.out): Remove rule.
22778         ($(objpfx)tst-array5-cmp.out): New rule.
22779         ($(objpfx)tst-array5-static.out): Remove rule.
22780         ($(objpfx)tst-array5-static-cmp.out): New rule.
22781         [$(run-built-tests) = yes] (tests): Depend on
22782         $(objpfx)order2-cmp.out.
22783         ($(objpfx)order2.out): Remove rule.
22784         ($(objpfx)order2-cmp.out): New rule.
22785         ($(objpfx)tst-initorder.out): Remove rule.
22786         [$(run-built-tests) = yes] (tests): Depend on
22787         $(objpfx)tst-initorder-cmp.out.
22788         ($(objpfx)tst-initorder-cmp.out): New rule.
22789         ($(objpfx)tst-initorder2.out): Remove rule.
22790         [$(run-built-tests) = yes] (tests): Depend on
22791         $(objpfx)tst-initorder2-cmp.out.
22792         ($(objpfx)tst-initorder2-cmp.out): New rule.
22793         [$(run-built-tests) = yes] (tests): Depend on
22794         $(objpfx)tst-unused-dep-cmp.out.
22795         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22796         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22797         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22798         on $(objpfx)tst-setvbuf1-cmp.out.
22799         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22800         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22801         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22802         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22803         ($(objpfx)tst-svc.out): Remove rule.
22804         ($(objpfx)tst-svc-cmp.out): New rule.
22806 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22808         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22809         * ctype/ctype.h [__USE_MISC]: Likewise.
22810         * dirent/dirent.h [__USE_MISC]: Likewise.
22811         * grp/grp.h [__USE_MISC]: Likewise.
22812         * io/fcntl.h [__USE_MISC]: Likewise.
22813         * io/sys/stat.h [__USE_MISC]: Likewise.
22814         * libio/stdio.h [__USE_MISC]: Likewise.
22815         * posix/unistd.h [__USE_MISC]: Likewise.
22816         * pwd/pwd.h [__USE_MISC]: Likewise.
22817         * stdlib.h [__USE_MISC]: Likewise.
22818         * string/bits/string2.h [__USE_MISC]: Likewise.
22819         * string/string.h [__USE_MISC]: Likewise.
22820         * time/time.h [__USE_MISC]: Likewise.
22822 2014-02-13  Andreas Schwab  <schwab@suse.de>
22824         [BZ #16574]
22825         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22826         second answer buffer if it was separately allocated.
22828 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22830         * sysdeps/mips/math-tests.h: Include <features.h>.
22831         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22832         (ROUNDING_TESTS_long_double): Do not define.
22833         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22834         (EXCEPTION_TESTS_long_double): Likewise.
22835         * sysdeps/mips/mips64/libm-test-ulps: Update.
22837         * include/features.h (__USE_BSD): Remove macro definitions.
22838         (__USE_SVID): Likewise.
22839         (_BSD_SOURCE): Likewise.
22840         (_SVID_SOURCE): Likewise.
22841         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22842         from definition of _DEFAULT_SOURCE.
22843         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22844         [_DEFAULT_SOURCE].
22845         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22846         * bits/mman.h [__USE_BSD]: Likewise.
22847         * bits/termios.h [__USE_BSD]: Likewise.
22848         * bits/waitstatus.h [__USE_BSD]: Likewise.
22849         * ctype/ctype.h [__USE_SVID]: Likewise.
22850         * dirent/dirent.h [__USE_BSD]: Likewise.
22851         * grp/grp.h [__USE_SVID]: Likewise.
22852         [__USE_BSD]: Likewise.
22853         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22854         * io/fcntl.h [__USE_BSD]: Likewise.
22855         * io/ftw.h [__USE_BSD]: Likewise.
22856         * io/sys/stat.h [__USE_BSD]: Likewise.
22857         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22858         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22859         * libio/stdio.h [__USE_SVID]: Likewise.
22860         [__USE_BSD]: Likewise.
22861         * math/math.h [__USE_SVID]: Likewise.
22862         [__USE_BSD]: Likewise.
22863         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22864         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22865         * misc/search.h [__USE_SVID]: Likewise.
22866         * misc/sys/mman.h [__USE_BSD]: Likewise.
22867         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22868         * misc/sys/uio.h [__USE_BSD]: Likewise.
22869         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22870         * posix/glob.h [__USE_BSD]: Likewise.
22871         * posix/regex.h [__USE_BSD]: Likewise.
22872         * posix/sys/types.h [__USE_BSD]: Likewise.
22873         [__USE_SVID]: Likewise.
22874         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22875         * posix/sys/wait.h [__USE_BSD]: Likewise.
22876         [__USE_SVID]: Likewise.
22877         * posix/unistd.h [__USE_BSD]: Likewise.
22878         [__USE_SVID]: Likewise.
22879         * pwd/pwd.h [__USE_SVID]: Likewise.
22880         * resolv/netdb.h [__USE_BSD]: Likewise.
22881         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22882         * signal/signal.h [__USE_BSD]: Likewise.
22883         [__USE_SVID]: Likewise.
22884         * socket/sys/socket.h [__USE_BSD]: Likewise.
22885         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22886         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22887         [__USE_SVID]: Likewise.
22888         * string/bits/string2.h [__USE_BSD]: Likewise.
22889         [__USE_SVID]: Likewise.
22890         * string/bits/string3.h [__USE_BSD]: Likewise.
22891         * string/endian.h [__USE_BSD]: Likewise.
22892         * string/string.h [__USE_SVID]: Likewise.
22893         [__USE_BSD]: Likewise.
22894         * string/strings.h [__USE_BSD]: Likewise.
22895         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22896         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22897         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22898         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22899         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22900         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22901         Likewise.
22902         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22903         Likewise.
22904         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22905         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22906         Likewise.
22907         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22908         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22909         Likewise.
22910         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22911         Likewise.
22912         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22913         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22914         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22915         Likewise.
22916         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22917         Likewise.
22918         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22919         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22920         * termios/termios.h [__USE_BSD]: Likewise.
22921         * time/sys/time.h [__USE_BSD]: Likewise.
22922         * time/time.h [__USE_BSD]: Likewise.
22923         [__USE_SVID]: Likewise.
22925         * Makefile (subdir_targets): Remove subdir_lint.out.
22927         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22928         (do-tst-printf): Likewise.
22929         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22930         $(objpfx)tst-printf.out.
22932         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22934         * Makerules (check-abi-%): Change target to
22935         $(objpfx)check-abi-%.out.
22936         (check-abi target): Update dependencies.
22937         (check-abi-pattern variable): Redirect output of diff to $@.
22938         (check-abi variable): Likewise.
22939         * elf/Makefile (check-abi): Update dependencies.
22941         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22942         unused.
22943         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22944         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22945         subnormal range.
22946         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22947         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22948         value has largest subnormal exponent.
22949         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22950         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22951         * sysdeps/aarch64/soft-fp/sfp-machine.h
22952         (_FP_TININESS_AFTER_ROUNDING): New macro.
22953         * sysdeps/alpha/soft-fp/sfp-machine.h
22954         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22955         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22956         Likewise.
22957         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22958         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22959         * sysdeps/mips/soft-fp/sfp-machine.h
22960         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22961         * sysdeps/powerpc/soft-fp/sfp-machine.h
22962         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22963         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22964         Likewise.
22965         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22966         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22967         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22968         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22969         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22970         Likewise.
22972 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22974         [BZ #16545]
22975         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22976         model 1.
22978 2014-02-12  Richard Henderson  <rth@redhat.com>
22980         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22981         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22982         * sysdeps/unix/sysv/linux/alpha: Move directory from
22983         ports/sysdeps/unix/sysv/linux/alpha.
22984         * README: Update listing for alpha-*-linux-gnu.
22986 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22988         * include/features.h: Update comment documenting feature test
22989         macros.
22990         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22991         _DEFAULT_SOURCE.
22992         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22993         (_SVID_SOURCE): Likewise.
22994         (_DEFAULT_SOURCE): Update description of default features.
22995         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22996         with _GNU_SOURCE.
22997         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22998         (S_ISVTX): Likewise.
22999         * manual/math.texi (Mathematical Constants): Likewise.
23000         * manual/signal.texi (Interrupted Primitives): Likewise.
23001         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23002         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23003         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23004         Don't refer to _SVID_SOURCE in warning text.
23006         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23008         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23009         already defined.
23010         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23011         * sysdeps/mips/dl-lookup.c: Remove.
23012         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23014 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23016         [BZ #16447]
23017         * math/auto-libm-test-in: Add testcase for expl.
23018         * math/auto-libm-test-out: Regenerate.
23019         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23020         calculation of unsafe.
23021         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23023 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23025         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23026         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23027         ports/sysdeps/unix/sysv/linux/aarch64.
23028         * README: Update listing for aarch64*-*-linux-gnu.
23030 2014-02-11  Will Newton  <will.newton@linaro.org>
23032         * manual/probes.texi (Mathematical Function Probes): Use
23033         "triggered" instead of "hit".
23035         * manual/probes.texi (Internal Probes): Add documentation
23036         of setjmp, longjmp and longjmp_target probes.
23038         * include/stap-probe.h: Add comment about probe argument
23039         format.
23041         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23042         definition.  (tr_where, tr_freehook, tr_mallochook,
23043         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23045 2014-02-11  David S. Miller  <davem@davemloft.net>
23047         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23048         processing int_tests.
23050 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23052         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23053         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23054         * sysdeps/unix/sysv/linux/mips: Move directory from
23055         ports/sysdeps/unix/sysv/linux/mips.
23056         * README: Update listing for mips-*-linux-gnu and
23057         mips64-*-linux-gnu.
23059 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23061         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23062         * sysdeps/unix/sysv/linux/m68k: Move directory from
23063         ports/sysdeps/unix/sysv/linux/m68k.
23064         * README: Update listing for m68k-*-linux-gnu.
23066 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23068         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23069         * sysdeps/unix/sysv/linux/generic: Move directory from
23070         ports/sysdeps/unix/sysv/linux/generic.
23071         * sysdeps/unix/sysv/linux/tile: Move directory from
23072         ports/sysdeps/unix/sysv/linux/tile.
23073         * README: Update listing for tile*-*-linux-gnu.
23075 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23077         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23078         __builtin_expect.
23079         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23080         * catgets/open_catalog.c (__open_catalog): Likewise.
23081         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23082         * debug/confstr_chk.c: Likewise.
23083         * debug/fread_chk.c (__fread_chk): Likewise.
23084         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23085         * debug/getgroups_chk.c: Likewise.
23086         * debug/mbsnrtowcs_chk.c: Likewise.
23087         * debug/mbsrtowcs_chk.c: Likewise.
23088         * debug/mbstowcs_chk.c: Likewise.
23089         * debug/memcpy_chk.c: Likewise.
23090         * debug/memmove_chk.c: Likewise.
23091         * debug/mempcpy_chk.c: Likewise.
23092         * debug/memset_chk.c: Likewise.
23093         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23094         * debug/strcat_chk.c (__strcat_chk): Likewise.
23095         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23096         * debug/strncat_chk.c (__strncat_chk): Likewise.
23097         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23098         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23099         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23100         * debug/wcpncpy_chk.c: Likewise.
23101         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23102         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23103         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23104         * debug/wcsncpy_chk.c: Likewise.
23105         * debug/wcsnrtombs_chk.c: Likewise.
23106         * debug/wcsrtombs_chk.c: Likewise.
23107         * debug/wcstombs_chk.c: Likewise.
23108         * debug/wmemcpy_chk.c: Likewise.
23109         * debug/wmemmove_chk.c: Likewise.
23110         * debug/wmempcpy_chk.c: Likewise.
23111         * debug/wmemset_chk.c: Likewise.
23112         * dirent/scandirat.c (SCANDIRAT): Likewise.
23113         * dlfcn/dladdr1.c (dladdr1): Likewise.
23114         * dlfcn/dladdr.c (dladdr): Likewise.
23115         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23116         * dlfcn/dlerror.c (__dlerror): Likewise.
23117         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23118         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23119         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23120         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23121         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23122         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23123         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23124         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23125         Likewise.
23126         * elf/dl-conflict.c: Likewise.
23127         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23128         * elf/dl-dst.h: Likewise.
23129         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23130         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23131         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23132         * elf/dl-init.c (call_init, _dl_init): Likewise.
23133         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23134         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23135         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23136         Likewise.
23137         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23138         Likewise.
23139         * elf/dl-minimal.c (__libc_memalign): Likewise.
23140         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23141         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23142         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23143         * elf/dl-sym.c (do_sym): Likewise.
23144         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23145         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23146         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23147         * elf/dl-writev.h (_dl_writev): Likewise.
23148         * elf/ldconfig.c (search_dir): Likewise.
23149         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23150         (dl_main): Likewise.
23151         * elf/setup-vdso.h (setup_vdso): Likewise.
23152         * grp/compat-initgroups.c (compat_call): Likewise.
23153         * grp/fgetgrent.c (fgetgrent): Likewise.
23154         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23155         * grp/putgrent.c (putgrent): Likewise.
23156         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23157         Likewise.
23158         * hurd/hurdinit.c: Likewise.
23159         * iconvdata/8bit-gap.c (struct): Likewise.
23160         * iconvdata/ansi_x3.110.c : Likewise.
23161         * iconvdata/big5.c : Likewise.
23162         * iconvdata/big5hkscs.c : Likewise.
23163         * iconvdata/cp1255.c: Likewise.
23164         * iconvdata/cp1258.c : Likewise.
23165         * iconvdata/cp932.c : Likewise.
23166         * iconvdata/euc-cn.c: Likewise.
23167         * iconvdata/euc-jisx0213.c : Likewise.
23168         * iconvdata/euc-jp.c: Likewise.
23169         * iconvdata/euc-jp-ms.c : Likewise.
23170         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23171         * iconvdata/gb18030.c : Likewise.
23172         * iconvdata/gbbig5.c (const): Likewise.
23173         * iconvdata/gbgbk.c: Likewise.
23174         * iconvdata/gbk.c : Likewise.
23175         * iconvdata/ibm1364.c : Likewise.
23176         * iconvdata/ibm930.c : Likewise.
23177         * iconvdata/ibm932.c: Likewise.
23178         * iconvdata/ibm933.c : Likewise.
23179         * iconvdata/ibm935.c : Likewise.
23180         * iconvdata/ibm937.c : Likewise.
23181         * iconvdata/ibm939.c : Likewise.
23182         * iconvdata/ibm943.c: Likewise.
23183         * iconvdata/iso_11548-1.c: Likewise.
23184         * iconvdata/iso-2022-cn.c : Likewise.
23185         * iconvdata/iso-2022-cn-ext.c : Likewise.
23186         * iconvdata/iso-2022-jp-3.c: Likewise.
23187         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23188         * iconvdata/iso-2022-kr.c : Likewise.
23189         * iconvdata/iso646.c (gconv_end): Likewise.
23190         * iconvdata/iso_6937-2.c : Likewise.
23191         * iconvdata/iso_6937.c : Likewise.
23192         * iconvdata/iso8859-1.c: Likewise.
23193         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23194         * iconvdata/shift_jisx0213.c : Likewise.
23195         * iconvdata/sjis.c : Likewise.
23196         * iconvdata/t.61.c : Likewise.
23197         * iconvdata/tcvn5712-1.c : Likewise.
23198         * iconvdata/tscii.c: Likewise.
23199         * iconvdata/uhc.c : Likewise.
23200         * iconvdata/unicode.c (gconv_end): Likewise.
23201         * iconvdata/utf-16.c (gconv_end): Likewise.
23202         * iconvdata/utf-32.c (gconv_end): Likewise.
23203         * iconvdata/utf-7.c (base64): Likewise.
23204         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23205         * iconv/gconv_close.c (__gconv_close): Likewise.
23206         * iconv/gconv_open.c (__gconv_open): Likewise.
23207         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23208         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23209         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23210         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23211         (ucs4le_internal_loop_single): Likewise.
23212         * iconv/iconv.c (iconv): Likewise.
23213         * iconv/iconv_close.c: Likewise.
23214         * iconv/loop.c (SINGLE): Likewise.
23215         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23216         * include/atomic.h: Likewise.
23217         * inet/inet6_option.c (option_alloc): Likewise.
23218         * intl/bindtextdom.c (set_binding_values): Likewise.
23219         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23220         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23221         * intl/localealias.c (read_alias_file): Likewise.
23222         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23223         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23224         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23225         * libio/fmemopen.c (fmemopen): Likewise.
23226         * libio/iofgets.c (_IO_fgets): Likewise.
23227         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23228         * libio/iofgetws.c (fgetws): Likewise.
23229         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23230         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23231         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23232         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23233         * locale/findlocale.c (_nl_find_locale): Likewise.
23234         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23235         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23236         Likewise.
23237         * locale/setlocale.c (setlocale): Likewise.
23238         * login/programs/pt_chown.c (main): Likewise.
23239         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23240         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23241         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23242         (mmap, mmap64, mremap, munmap): Likewise.
23243         * math/e_exp2l.c: Likewise.
23244         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23245         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23246         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23247         * math/s_catan.c (__catan): Likewise.
23248         * math/s_catanf.c (__catanf): Likewise.
23249         * math/s_catanh.c (__catanh): Likewise.
23250         * math/s_catanhf.c (__catanhf): Likewise.
23251         * math/s_catanhl.c (__catanhl): Likewise.
23252         * math/s_catanl.c (__catanl): Likewise.
23253         * math/s_ccosh.c (__ccosh): Likewise.
23254         * math/s_ccoshf.c (__ccoshf): Likewise.
23255         * math/s_ccoshl.c (__ccoshl): Likewise.
23256         * math/s_cexp.c (__cexp): Likewise.
23257         * math/s_cexpf.c (__cexpf): Likewise.
23258         * math/s_cexpl.c (__cexpl): Likewise.
23259         * math/s_clog10.c (__clog10): Likewise.
23260         * math/s_clog10f.c (__clog10f): Likewise.
23261         * math/s_clog10l.c (__clog10l): Likewise.
23262         * math/s_clog.c (__clog): Likewise.
23263         * math/s_clogf.c (__clogf): Likewise.
23264         * math/s_clogl.c (__clogl): Likewise.
23265         * math/s_csin.c (__csin): Likewise.
23266         * math/s_csinf.c (__csinf): Likewise.
23267         * math/s_csinh.c (__csinh): Likewise.
23268         * math/s_csinhf.c (__csinhf): Likewise.
23269         * math/s_csinhl.c (__csinhl): Likewise.
23270         * math/s_csinl.c (__csinl): Likewise.
23271         * math/s_csqrt.c (__csqrt): Likewise.
23272         * math/s_csqrtf.c (__csqrtf): Likewise.
23273         * math/s_csqrtl.c (__csqrtl): Likewise.
23274         * math/s_ctan.c (__ctan): Likewise.
23275         * math/s_ctanf.c (__ctanf): Likewise.
23276         * math/s_ctanh.c (__ctanh): Likewise.
23277         * math/s_ctanhf.c (__ctanhf): Likewise.
23278         * math/s_ctanhl.c (__ctanhl): Likewise.
23279         * math/s_ctanl.c (__ctanl): Likewise.
23280         * math/w_pow.c: Likewise.
23281         * math/w_powf.c: Likewise.
23282         * math/w_powl.c: Likewise.
23283         * math/w_scalb.c (sysv_scalb): Likewise.
23284         * math/w_scalbf.c (sysv_scalbf): Likewise.
23285         * math/w_scalbl.c (sysv_scalbl): Likewise.
23286         * misc/error.c (error_tail): Likewise.
23287         * misc/pselect.c (__pselect): Likewise.
23288         * nis/nis_callback.c (__nis_create_callback): Likewise.
23289         * nis/nis_call.c (__nisfind_server): Likewise.
23290         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23291         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23292         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23293         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23294         * nis/nis_lookup.c (nis_lookup): Likewise.
23295         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23296         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23297         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23298         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23299         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23300         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23301         * nis/nss_compat/compat-initgroups.c (add_group)
23302         (internal_getgrent_r): Likewise.
23303         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23304         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23305         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23306         (internal_getspnam_r): Likewise.
23307         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23308         (_nss_nis_getaliasbyname_r): Likewise.
23309         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23310         (_nss_nis_getntohost_r): Likewise.
23311         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23312         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23313         (_nss_nis_getgrgid_r): Likewise.
23314         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23315         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23316         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23317         (_nss_nis_gethostbyname4_r): Likewise.
23318         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23319         (initgroups_netid): Likewise.
23320         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23321         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23322         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23323         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23324         (_nss_nis_getprotobynumber_r): Likewise.
23325         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23326         (_nss_nis_getsecretkey): Likewise.
23327         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23328         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23329         (_nss_nis_getpwuid_r): Likewise.
23330         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23331         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23332         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23333         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23334         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23335         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23336         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23337         Likewise.
23338         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23339         (_nss_nisplus_getntohost_r): Likewise.
23340         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23341         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23342         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23343         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23344         Likewise.
23345         * nis/nss_nisplus/nisplus-initgroups.c
23346         (_nss_nisplus_initgroups_dyn): Likewise.
23347         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23348         (_nss_nisplus_getnetbyaddr_r): Likewise.
23349         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23350         (_nss_nisplus_getprotobynumber_r): Likewise.
23351         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23352         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23353         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23354         Likewise.
23355         * nis/nss_nisplus/nisplus-service.c
23356         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23357         (_nss_nisplus_getservbyport_r): Likewise.
23358         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23359         (_nss_nisplus_getspnam_r): Likewise.
23360         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23361         Likewise.
23362         * nscd/aicache.c (addhstaiX): Likewise.
23363         * nscd/cache.c (cache_search, prune_cache): Likewise.
23364         * nscd/connections.c (register_traced_file, send_ro_fd)
23365         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23366         (main_loop_epoll): Likewise.
23367         * nscd/grpcache.c (addgrbyX): Likewise.
23368         * nscd/hstcache.c (addhstbyX): Likewise.
23369         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23370         * nscd/mem.c (gc, mempool_alloc): Likewise.
23371         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23372         (addinnetgrX): Likewise.
23373         * nscd/nscd-client.h (__nscd_acquire_maplock)
23374         (__nscd_drop_map_ref): Likewise.
23375         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23376         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23377         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23378         Likewise.
23379         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23380         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23381         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23382         (__nscd_get_map_ref): Likewise.
23383         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23384         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23385         Likewise.
23386         * nscd/pwdcache.c (addpwbyX): Likewise.
23387         * nscd/selinux.c (preserve_capabilities): Likewise.
23388         * nscd/servicescache.c (addservbyX): Likewise.
23389         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23390         * posix/fnmatch.c (fnmatch): Likewise.
23391         * posix/getopt.c (_getopt_internal_r): Likewise.
23392         * posix/glob.c (glob, glob_in_dir): Likewise.
23393         * posix/wordexp.c (exec_comm_child): Likewise.
23394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23395         (getanswer_r, gaih_getanswer_slice): Likewise.
23396         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23397         * resolv/res_init.c: Likewise.
23398         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23399         * resolv/res_query.c (__libc_res_nquery): Likewise.
23400         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23401         Likewise.
23402         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23403         * stdio-common/perror.c (perror): Likewise.
23404         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23405         * stdio-common/tmpnam.c (tmpnam): Likewise.
23406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23407         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23408         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23409         Likewise.
23410         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23411         * stdlib/putenv.c (putenv): Likewise.
23412         * stdlib/setenv.c (__add_to_environ): Likewise.
23413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23414         * stdlib/strtol_l.c (INTERNAL): Likewise.
23415         * string/memmem.c (memmem): Likewise.
23416         * string/strerror.c (strerror): Likewise.
23417         * string/strnlen.c (__strnlen): Likewise.
23418         * string/test-memmem.c (simple_memmem): Likewise.
23419         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23420         * sunrpc/pm_getport.c (__get_socket): Likewise.
23421         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23422         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23423         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23424         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23425         Likewise.
23426         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23428         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23429         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23430         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23431         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23432         Likewise.
23433         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23434         Likewise.
23435         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23436         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23437         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23438         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23439         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23441         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23442         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23443         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23444         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23445         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23446         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23447         Likewise.
23448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23449         Likewise.
23450         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23451         Likewise.
23452         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23453         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23454         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23455         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23456         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23457         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23458         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23459         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23460         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23461         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23462         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23463         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23464         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23465         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23468         Likewise.
23469         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23470         Likewise.
23471         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23472         Likewise.
23473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23474         Likewise.
23475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23477         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23478         Likewise.
23479         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23480         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23481         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23482         * sysdeps/posix/sleep.c: Likewise.
23483         * sysdeps/posix/tempname.c: Likewise.
23484         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23485         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23486         Likewise.
23487         * sysdeps/powerpc/powerpc32/dl-machine.h
23488         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23489         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23491         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23492         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23493         Likewise.
23494         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23495         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23496         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23497         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23498         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23499         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23500         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23501         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23502         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23503         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23505         (elf_machine_lazy_rel): Likewise.
23506         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23507         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23508         (elf_machine_lazy_rel): Likewise.
23509         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23510         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23511         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23512         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23513         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23514         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23515         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23516         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23517         Likewise.
23518         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23519         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23520         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23521         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23522         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23523         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23524         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23525         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23526         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23527         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23528         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23529         Likewise.
23530         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23531         (__posix_fallocate64_l64): Likewise.
23532         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23533         (posix_fallocate): Likewise.
23534         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23535         Likewise.
23536         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23537         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23538         (getifaddrs_internal): Likewise.
23539         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23540         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23541         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23542         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23543         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23544         (__posix_fallocate64_l64): Likewise.
23545         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23546         Likewise.
23547         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23548         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23549         (__get_clockfreq): Likewise.
23550         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23551         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23552         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23555         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23556         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23557         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23558         Likewise.
23559         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23560         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23561         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23562         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23563         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23564         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23565         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23566         Likewise.
23567         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23568         (posix_fallocate): Likewise.
23569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23570         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23571         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23572         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23573         (elf_machine_rela, elf_machine_rela_relative)
23574         (elf_machine_lazy_rel): Likewise.
23575         * time/asctime.c (asctime_internal): Likewise.
23576         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23577         * time/tzset.c (__tzset_parse_tz): Likewise.
23578         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23579         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23580         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23581         * wcsmbs/wcsmbsload.h: Likewise.
23583         [BZ #15894]
23584         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23586         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23587         (arena_get2): Remove THREAD_STATS conditionals.
23588         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23589         (__malloc_stats, int): Likewise.
23591 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23593         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23594         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23596         * manual/setjmp.texi: Fix typos/grammar errors.
23598         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23599         Only return early when n is <= 0.  Delete unused return statement.
23601         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23602         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23603         * debug/tst-longjmp_chk3.c: New file.
23605         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23606         (test_main): Replace code with set_fortify_handler call.
23607         * debug/test-strcpy_chk.c: Likewise.
23608         * debug/tst-chk1.c: Likewise.
23609         * debug/tst-longjmp_chk.c: Likewise.
23610         * test-skeleton.c: Include fcntl.h & paths.h
23611         (set_fortify_handler): Define.
23613         * debug/tst-longjmp_chk.c: Add header comment and include
23614         ../test-skeleton.c.
23615         (do_test): Mark static.
23616         (TEST_FUNCTION): Define.
23618         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23619         (IP_PMTUDISC_INTERFACE): Likewise.
23620         (IP_MULTICAST_IF): Likewise.
23621         (IP_MULTICAST_TTL): Likewise.
23622         (IP_MULTICAST_LOOP): Likewise.
23623         (IP_ADD_MEMBERSHIP): Likewise.
23624         (IP_DROP_MEMBERSHIP): Likewise.
23625         (IP_UNBLOCK_SOURCE): Likewise.
23626         (IP_BLOCK_SOURCE): Likewise.
23627         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23628         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23629         (IP_MSFILTER): Likewise.
23630         (MCAST_JOIN_GROUP): Likewise.
23631         (MCAST_BLOCK_SOURCE): Likewise.
23632         (MCAST_UNBLOCK_SOURCE): Likewise.
23633         (MCAST_LEAVE_GROUP): Likewise.
23634         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23635         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23636         (MCAST_MSFILTER): Likewise.
23637         (IP_MULTICAST_ALL): Likewise.
23638         (IP_UNICAST_IF): Likewise.
23640         * timezone/Makefile: Delete $(have-ksh) check.
23641         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23642         * timezone/tzselect.ksh: Add +x mode bits.
23644         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23645         (ANON_INODE_FS_MAGIC): Likewise.
23646         (BDEVFS_MAGIC): Likewise.
23647         (BINFMTFS_MAGIC): Likewise.
23648         (BTRFS_TEST_MAGIC): Likewise.
23649         (CRAMFS_MAGIC_WEND): Likewise.
23650         (DEBUGFS_MAGIC): Likewise.
23651         (ECRYPTFS_SUPER_MAGIC): Likewise.
23652         (EXT3_SUPER_MAGIC): Likewise.
23653         (EXT4_SUPER_MAGIC): Likewise.
23654         (FUTEXFS_SUPER_MAGIC): Likewise.
23655         (HOSTFS_SUPER_MAGIC): Likewise.
23656         (HUGETLBFS_MAGIC): Likewise.
23657         (MINIX3_SUPER_MAGIC): Likewise.
23658         (MTD_INODE_FS_MAGIC): Likewise.
23659         (NILFS_SUPER_MAGIC): Likewise.
23660         (OPENPROM_SUPER_MAGIC): Likewise.
23661         (PIPEFS_MAGIC): Likewise.
23662         (PSTOREFS_MAGIC): Likewise.
23663         (QNX6_SUPER_MAGIC): Likewise.
23664         (RAMFS_MAGIC): Likewise.
23665         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23666         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23667         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23668         (SECURITYFS_MAGIC): Likewise.
23669         (SELINUX_MAGIC): Likewise.
23670         (SMACK_MAGIC): Likewise.
23671         (SOCKFS_MAGIC): Likewise.
23672         (SQUASHFS_MAGIC): Likewise.
23673         (STACK_END_MAGIC): Likewise.
23674         (TMPFS_MAGIC): Likewise.
23675         (USBDEVICE_SUPER_MAGIC): Likewise.
23676         (V9FS_MAGIC): Likewise.
23677         (XENFS_SUPER_MAGIC): Likewise.
23678         (CRAMFS_MAGIC): Fix typo in comment.
23679         (EXT2_SUPER_MAGIC): Update comment.
23680         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23682 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23684         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23685         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23686         * sysdeps/unix/sysv/linux/arm: Move directory from
23687         ports/sysdeps/unix/sysv/linux/arm.
23688         * README: Update listing for arm-*-linux-gnueabi.
23690         * README: Remove mention of am33.
23692 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23694         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23695         than the comma operator, to avoid "rhs of comma has no effect"
23696         compiler warnings.
23697         (__sigfillset, __sigandset, __sigorset): Likewise.
23698         * include/signal.h (__sigemptyset): Likewise.
23699         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23701 2014-02-07  Allan McRae  <allan@archlinux.org>
23703         * version.h (RELEASE): Set to "development".
23704         (VERSION): Set to "2.19.90"
23705         * NEWS: Add 2.20 section.
23707 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23709         [BZ #16529]
23710         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23712 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23714         * manual/contrib.texi: Update entry for Carlos O'Donell,
23715         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23717 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23719         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23721         * sysdeps/unix/sysv/linux/kernel-features.h
23722         [__LINUX_KERNEL_VERSION >= 0x020621]
23723         (__ASSUME_PROC_PID_TASK_COMM): Define.
23725 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23727         [BZ #16398]
23728         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23729         conversion when destination buffer does not have enough space.
23730         * libio/tst-ftell-partial-wide.c: New test case.
23731         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23733         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23734         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23735         Leonard and Allan McRae.
23737 2014-02-04  David S. Miller  <davem@davemloft.net>
23739         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23740         32-bit.
23742 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23745         New file
23746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23747         New file
23748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23749         New file.
23750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23751         New file.
23752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23753         New file.
23754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23755         New file.
23756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23757         New file.
23758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23759         New file.
23760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23761         New file.
23762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23763         New file.
23764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23765         New file.
23766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23767         New file.
23768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23769         New file.
23771 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23773         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23774         * shlib-versions: Likewise.
23776 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23777             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23779         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23780         (abilist-pattern): New variable, set to %-le.abilist.
23782         * Makerules (abilist-pattern): New variable.
23783         (vpath): Use $(abilist-pattern) in place of %.abilist.
23784         (check-abi-% pattern rule): Likewise.
23785         (check-abi, update-abi): Likewise.
23787 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23791 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23793         * manual/startup.texi: Add next, previous, and top entries for
23794         the `Program Arguments' and `Environment Variables' nodes.
23796 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23798         * manual/macros.texi: Add comments before MTASC-safety macros.
23800         * manual/users.texi: Document MTASC-safety properties.
23802         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23803         (pthread_getspecific, pthread_setspecific): Format with
23804         @deftypefun, and add @safety note.
23805         * manual/signal.texi: Move comments that analyze the above
23806         functions to their home place.
23808 2014-02-03  Allan McRae  <allan@archlinux.org>
23810         * po/sl.po: Update Slovenian translation from translation project.
23812 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23814         * manual/time.texi (timegm): Add missing blank after @c.
23815         Reported by Joseph Myers <joseph@codesourcery.com>.
23817 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23819         * manual/check-safety.sh: New.
23820         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23822         * manual/terminal.texi: Document MTASC-safety properties.
23824         * manual/filesys.texi: Document MTASC-safety properties.
23826         * manual/errno.texi: Document MTASC-safety properties.
23828         * manual/intro.texi: Document safety identifiers and
23829         conditionals.
23831         * manual/string.texi (wcstok): Fix prototype.
23832         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23834         * manual/time.texi: Document MTASC-safety properties.
23836         * manual/string.texi: Document MTASC-safety properties.
23838         * manual/threads.texi: Document MTASC-safety properties.
23840         * manual/stdio.texi: Document MTASC-safety properties.
23842         * manual/syslog.texi: Document MTASC-safety properties.
23844         * manual/sysinfo.texi: Document MTASC-safety properties.
23846         * manual/startup.texi: Document MTASC-safety properties.
23848         * manual/socket.texi: Document MTASC-safety properties.
23850         * manual/signal.texi: Document MTASC-safety properties.
23852 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23854         * manual/setjmp.texi: Document MTASC-safety properties.
23856         * manual/search.texi: Document MTASC-safety properties.
23858         * manual/resource.texi: Document MTASC-safety properties.
23860         * manual/process.texi: Document MTASC-safety properties.
23862         * manual/platform.texi: Document MTASC-safety properties.
23864         * manual/pipe.texi: Document MTASC-safety properties.
23866         * manual/pattern.texi: Document MTASC-safety properties.
23868         * manual/message.texi: Document MTASC-safety properties.
23870         [BZ #12751]
23871         * manual/memory.texi: Document MTASC-safety properties.
23873         * manual/math.texi: Document MTASC-safety properties.
23875         * manual/locale.texi: Document MTASC-safety properties.
23877         * manual/llio.texi: Document MTASC-safety properties.
23879         * manual/libdl.texi: New.
23881         * manual/lang.texi: Document MTASC-safety properties.
23883         * manual/job.texi: Document MTASC-safety properties.
23885         * manual/getopt.texi: Document MTASC-safety properties.
23887         * manual/ctype.texi: Document MTASC-safety properties.
23889 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23891         [BZ #16046]
23892         * csu/libc-tls.c (static_map): Remove variable.
23893         (__libc_setup_tls): Use main executable's link map for TLS data.
23894         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23895         casing for LM_ID_BASE and GL(dl_nns).
23896         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23897         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23898         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23899         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23900         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23901         member.
23902         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23903         l_phnum members.
23905 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23907         * manual/debug.texi: Document MTASC-safety properties.
23909 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23911         [BZ #16510]
23912         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23913         of __x86_64__ when disabling x87 inline functions.
23915 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23917         * manual/charset.texi: Document MTASC-safety properties.
23919         * manual/crypt.texi: Document MTASC-safety properties.
23921         * manual/conf.texi: Document MTASC-safety properties.
23923         * manual/arith.texi: Document MTASC-safety properties.
23925         * manual/argp.texi: Document MTASC-safety properties.
23927         * manual/macros.texi: Introduce macros to document multi
23928         thread, asynchronous signal and asynchronous cancellation
23929         safety properties.
23930         * manual/intro.texi: Introduce the properties themselves.
23932 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23934         * sysdeps/sh/sh4/Makefile: New file.
23936 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23938         * math/gen-libm-test.pl ($srcdir): New variable.
23939         ($auto_input): Use it.
23941 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23943         [BZ #16506]
23944         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23945         access beyond array bounds when parsing netgroups file.
23947         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23948         the old buffer before realloc.
23950 2014-01-27  Allan McRae  <allan@archlinux.org>
23952         * po/fr.po: Update French translation from translation project.
23954 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23956         * sysdeps/sh/libm-test-ulps: Regenerate.
23958 2014-01-24  David S. Miller  <davem@davemloft.net>
23960         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23962 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23964         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23965         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23967 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969         [BZ #16474]
23970         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23971         string pointers after reallocation.
23973 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23975         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23976         __SH4A__ instead of __SH_FPU_ANY__.
23978 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23980         * sysdeps/sh/fpu_control.h: New file.
23981         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23982         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23983         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23984         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23985         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23986         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23987         * sysdeps/sh/sys/ucontext.h: Remove.
23988         * sysdeps/sh/sys: Remove directory.
23990 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23992         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23993         s390/sys/ucontext.h.
23994         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23997 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23999         [BZ #15605]
24000         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24002 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24004         [BZ#16431]
24005         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24006         Adjust the vDSO correctly for internal calls.
24007         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24009 2014-01-20  Allan McRae  <allan@archlinux.org>
24011         * po/ca.po: Update Catalan translation from translation project.
24013 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24015         * sysdeps/s390/sotruss-lib.c: New file.
24017 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24019         [BZ#16430]
24020         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24021         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24022         local calls issues by not having a PLT stub required for IFUNC calls.
24023         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24025 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24027         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24028         * math/test-fpucw-static.c: Likewise.
24030 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24032         [BZ #16453]
24033         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24035 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24037         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24038         implementation for powerpc.
24040 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24042         [BZ #14782]
24043         * sysdeps/posix/system.c (__libc_system): Do not enable
24044         asynchronous cancellation.
24046 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24048         [BZ #16427]
24049         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24050         handling only for numbers special also in the IEEE case.
24052 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24054         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24056 2014-01-11  Allan McRae  <allan@archlinux.org>
24058         * po/bg.po: Update Bulgarian translation from translation project.
24060         * po/de.po: Update German translation from translation project.
24062 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24064         * sysdeps/generic/gcc-compat.h: New file.
24066 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24068         * benchtests/asin-inputs: Correct slow inputs.
24069         * benchtests/acos-inputs: Likewise.
24071 2014-01-10  Allan McRae  <allan@archlinux.org>
24073         * po:sv.po: Update Swedish translation from translation project.
24075         * po/vi.po: Update Vietnamese translation from translation project.
24077         * po/eo.po: Update Esperanto translation from translation project.
24079         * po/cs.po: Update Czech translation from translation project.
24081         * po/nl.po: Update Dutch translation from translation project.
24083         * po/pl.po: Update Polish translation from translation project.
24085         * po/ru.po: Update Russian translation from translation project.
24087         * po/uk.po: Update Ukrainian translation from translation project.
24089 2014-01-08  Brooks Moses  <bmoses@google.com>
24091         * elf/dl-load.c: Fix comment typo.
24093 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24095         * po/header.pot: Rename to...
24096         * po/pot.header: ... this.
24097         * po/Makefile: Use pot.header.
24099 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24100             Maxim Kuvyrkov  <maxim@kugelworks.com>
24102         [BZ #16394]
24103         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24104         SRC and DEST against LEN.
24106 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24108         [BZ #16414]
24109         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24110         implementation.
24111         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24113 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24117 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24119         [BZ #16408]
24120         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24121         for large positive arguments.
24123 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24125         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24127         * math/auto-libm-test-in: Mark various tests with
24128         xfail-rounding:ldbl-128ibm.
24129         * math/auto-libm-test-out: Regenerated.
24131         [BZ #16407]
24132         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24133         Increase overflow threshold.
24135 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24137         [BZ #14286]
24138         * stdio-common/vfprintf.c: Check for integer overflow.
24140 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24142         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24143         the first argument and return value of __tls_get_addr_internal.
24145 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24147         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24148         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24150 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24152         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24153         * sysdeps/s390/rtld-global-offsets.sym: New file.
24154         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24155         GLIBC_2.19 symbol.
24156         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24157         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24158         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24159         ... this.
24160         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24161         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24162         ... this.
24163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24164         Regenerate.
24165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24166         Regenerate.
24167         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24168         halfs of GPRs for high_gprs contexts.
24169         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24170         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24171         field.
24172         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24173         uc_flags field.
24174         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24175         64 bit versions:
24176         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24177         for high GPRs (uc_high_gprs) and for future extensions
24178         (__reserved).
24179         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24180         for future extensions (__reserved).
24181         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24182         64 bit versions:
24183         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24184         SC_HIGHGPRS offset definition.
24185         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24186         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24188         * Versions.def: Add GLIBC_2.19 for libpthread.
24189         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24190         siglongjmp for libpthread with GLIBC_2.19 symver.
24191         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24192         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24193         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24194         * sysdeps/s390/__longjmp.c: New file.
24195         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24196         * sysdeps/s390/longjmp.c: New file.
24197         * sysdeps/s390/setjmp.S: New file.
24198         * sysdeps/s390/sigjmp.S: New file.
24199         * sysdeps/s390/v1-longjmp.c: New file.
24200         * sysdeps/s390/v1-setjmp.h: New file.
24201         * sysdeps/s390/v1-sigjmp.c: New file.
24202         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24203         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24204         GLIBC_2.19 version.
24205         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24206         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24207         versioned symbols for ____longjmp_chk.
24208         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24209         Likewise.
24210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24211         Regenerate.
24212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24213         Regenerate.
24214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24215         Regenerate.
24216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24217         Regenerate.
24218         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24219         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24220         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24221         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24222         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24223         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24224         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24225         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24226         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24227         * sysdeps/s390/rtld-__longjmp.c: New file.
24228         * sysdeps/s390/rtld-setjmp.S: New file.
24230 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24232         [BZ #16400]
24233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24234         Return -__logl (x) for small positive arguments without evaluating
24235         a polynomial.
24237 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24239         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24240         Rename to ...
24241         (__ptrace_peeksiginfo_args): ... this.
24242         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24244         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24246 2014-01-06  Allan McRae  <allan@archlinux.org>
24248         * inet/netinet/in.h: Fix typo in comment.
24250 2014-01-05  Andreas Jaeger  <aj@suse.de>
24252         * sysdeps/i386/fpu/libm-test-ulps: Update.
24254 2014-01-05  Allan McRae  <allan@archlinux.org>
24256         * po/libc.pot: Regenerated.
24258         * malloc/memusagestat.c: Fix gettext call formatting.
24260 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24262         * nscd/nscd.c: Improve usage() output.
24264 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24266         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24267         * sysdeps/unix/sysv/linux/configure: Regenerated.
24268         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24269         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24271 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24273         [BZ #16390]
24274         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24275         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24277 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24279         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24280         extra tokens at end of #undef directive.
24281         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24282         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24283         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24285 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24287         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24289         * math/auto-libm-test-in: Mark various tests with
24290         xfail-rounding:ldbl-128ibm.
24291         * math/auto-libm-test-out: Regenerated.
24293 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24295         [BZ #16386]
24296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24297         numbers with subnormal high part when calculating exponent.
24299         [BZ #16385]
24300         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24301         fabs.
24303         [BZ #16384]
24304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24305         M_LN2l.
24306         (__ieee754_acoshl): Use __log1pl not __log1p.
24308 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24310         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24311         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24312         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24313         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24314         (reused_arena, arena_get2): Convert to GNU style.
24315         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24316         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24317         (memalign_check, __malloc_set_state): Likewise.
24318         * malloc/mallocbug.c (main): Likewise.
24319         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24320         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24321         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24322         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24323         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24324         (__posix_memalign, malloc_info): Likewise.
24325         * malloc/malloc.h: Likewise.
24326         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24327         (mallochook, memalignhook, reallochook, mabort): Likewise.
24328         * malloc/mcheck.h: Likewise.
24329         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24330         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24331         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24332         * malloc/morecore.c (__default_morecore): Likewise.
24333         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24334         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24335         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24336         (print_and_abort): Likewise.
24337         * malloc/obstack.h: Likewise.
24338         * malloc/set-freeres.c (__libc_freeres): Likewise.
24339         * malloc/tst-mallocstate.c (main): Likewise.
24340         * malloc/tst-mtrace.c (main): Likewise.
24341         * malloc/tst-realloc.c (do_test): Likewise.
24343 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24345         [BZ #16366]
24346         * nscd/netgroupcache.c (do_notfound): New function.
24347         (addgetnetgrentX): Use it.
24349         [BZ # 16365]
24350         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24351         NSS_STATUS_NOTFOUND.
24353 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24355         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24358 2014-01-01  Allan McRae  <allan@archlinux.org>
24360         * scripts/update-copyrights: Update configure input file suffix.
24362         * NEWS: Update copyright year.
24363         * catgets/gencat.c: Likewise.
24364         * csu/version.c: Likewise.
24365         * debug/catchsegv.sh: Likewise.
24366         * debug/pcprofiledump.c: Likewise.
24367         * debug/xtrace.sh: Likewise.
24368         * elf/ldconfig.c: Likewise.
24369         * elf/ldd.bash.in: Likewise.
24370         * elf/pldd.c: Likewise.
24371         * elf/sotruss.ksh: Likewise.
24372         * elf/sprof.c: Likewise.
24373         * iconv/iconv_prog.c: Likewise.
24374         * iconv/iconvconfig.c: Likewise.
24375         * locale/programs/locale.c: Likewise.
24376         * locale/programs/localedef.c: Likewise.
24377         * login/programs/pt_chown.c: Likewise.
24378         * malloc/memusage.sh: Likewise.
24379         * malloc/memusagestat.c: Likewise.
24380         * malloc/mtrace.pl: Likewise.
24381         * manual/libc.texinfo: Likewise.
24382         * nscd/nscd.c: Likewise.
24383         * nss/getent.c: Likewise.
24384         * nss/makedb.c: Likewise.
24385         * posix/getconf.c: Likewise.
24386         * scripts/test-installation.pl: Likewise.
24388         * All files with FSF copyright notices: Update copyright dates
24389         using scripts/update-copyrights.
24390         * intl/plural.c: Regenerated.
24391         * locale/programs/charmap-kw.h: Likewise.
24392         * locale/programs/locfile-kw.h: Likewise.
24394 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24396         * sysdeps/unix/sysv/linux/configure: Regenerated.
24397         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24398         the linux/fanotify.h header.
24399         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24400         HAVE_LINUX_FANOTIFY_H is defined.
24402 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24404         * benchtests/cos-inputs: New inputs.
24405         * benchtests/sin-inputs: Likewise.
24407         * benchtests/atan-inputs: New inputs. Fix name of multiple
24408         precision fallback inputs.
24410         * benchtests/atanh-inputs: New inputs.
24411         * benchtests/tanh-inputs: Likewise.
24413         * benchtests/acosh-inputs: New inputs.
24414         * benchtests/asinh-inputs: Likewise.
24416         * benchtests/cosh-inputs: New inputs.
24417         * benchtests/sinh-inputs: Likewise.
24419         * benchtests/acos-inputs: Add more inputs.
24420         * benchtests/asin-inputs: Likewise.
24422 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24424         [BZ #16375]
24425         * manual/arith.texi: Fix spelling.
24426         * manual/charset.texi: Likewise.
24427         * manual/errno.texi: Likewise.
24428         * manual/filesys.texi: Likewise.
24429         * manual/lang.texi: Likewise.
24430         * manual/llio.texi: Likewise.
24431         * manual/locale.texi: Likewise.
24432         * manual/message.texi: Likewise.
24433         * manual/resource.texi: Likewise.
24434         * manual/search.texi: Likewise.
24435         * manual/setjmp.texi: Likewise.
24436         * manual/stdio.texi: Likewise.
24437         * manual/string.texi: Likewise.
24438         * manual/sysinfo.texi: Likewise.
24439         * manual/time.texi: Likewise.
24441 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24443         * po/sl.po: New file.
24445 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24447         * .gitignore: Add core/.gdbinit/.gdb_history.
24449 2013-12-27  Allan McRae  <allan@archlinux.org>
24451         [BZ #16369]
24452         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24453         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24455 2013-12-24  Brooks Moses  <bmoses@google.com>
24457         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24458         all compilers that claim C++98 compliance, not just GCC.
24459         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24460         Likewise.
24462 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24464         * NEWS: Restore accidentally deleted bug-fix entries.
24466 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24467             Ondřej Bílka  <neleai@seznam.cz>
24469         [BZ #15073]
24470         * malloc/malloc.c (_int_free): Perform sanity check only if we
24471         have_lock.
24473 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24475         [BZ #12986]
24476         * manual/stdio.texi (String Input Conversions): Clarify that character
24477         classes are not supported.
24479 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24483 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24485         [BZ #16337]
24486         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24487         Calculate results for small negative arguments directly rather
24488         than using reflection formula with special underflow handling.
24490         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24491         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24492         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24493         (fchflags): Likewise.
24494         (revoke): Likewise.
24495         (setlogin): Likewise.
24496         (sigaltstack): Likewise.
24497         (wait4): Likewise.
24498         (sigblock): Remove.
24499         (sigsetmask): Likewise.
24500         (wait3): Likewise.
24501         (waitpid): Likewise.
24502         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24503         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24504         file.
24505         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24506         * sysdeps/unix/bsd/Makefile: ... here.
24507         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24508         * sysdeps/unix/bsd/Versions: ... here.
24509         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24510         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24511         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24512         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24513         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24514         * sysdeps/unix/bsd/sigblock.c: ... here.
24515         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24516         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24517         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24518         * sysdeps/unix/bsd/sigvec.c: ... here.
24519         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24520         * sysdeps/unix/bsd/tcdrain.c: ... here.
24521         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24522         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24523         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24524         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24525         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24526         * sysdeps/unix/bsd/wait.c: ... here.
24527         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24528         * sysdeps/unix/bsd/wait3.c: ... here.
24529         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24530         * sysdeps/unix/bsd/waitpid.c: ... here.
24532 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24534         [BZ #16356]
24535         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24536         round-to-nearest for [!USE_AS_EXPM1L].
24537         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24538         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24539         more tests of exp and exp10.  Expect some exp10 tests to miss
24540         exceptions or fail in directed rounding modes.
24541         * math/auto-libm-test-out: Regenerated.
24542         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24543         (exp10_test_tonearest): New function.
24544         (exp10_towardzero_test_data): New array.
24545         (exp10_test_towardzero): New function.
24546         (exp10_downward_test_data): New array.
24547         (exp10_test_downward): New function.
24548         (exp10_upward_test_data): New array.
24549         (exp10_test_upward): New function.
24550         (main): Call the new functions.
24551         * sysdeps/i386/fpu/libm-test-ulps: Update.
24552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24554 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24556         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24557         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24558         * math/auto-libm-test-out: Regenerated.
24559         * math/libm-test.inc (acosh_test_data): Add more tests.
24560         (atanh_test_data): Likewise.
24561         (ceil_test_data): Likewise.
24562         (copysign_test_data): Likewise.
24563         * sysdeps/i386/fpu/libm-test-ulps: Update.
24564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24566         * timezone/checktab.awk: Update from tzcode 2013i.
24567         * timezone/private.h: Likewise.
24568         * timezone/scheck.c: Likewise.
24569         * timezone/tzfile.h: Likewise.
24570         * timezone/tzselect.ksh: Likewise.
24571         * timezone/zdump.c: Likewise.
24572         * timezone/zic.c: Likewise.
24574         * math/auto-libm-test-in: Add tests of cpow.
24575         * math/auto-libm-test-out: Regenerated.
24576         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24578         mpc_cc_c.
24579         (func_calc_desc): Add mpc_cc_c union field.
24580         (test_functions): Add cpow.
24581         (special_fill_2pi): New function.
24582         (special_real_inputs): Add 2pi.
24583         (calc_generic_results): Handle mpc_cc_c.
24584         * sysdeps/i386/fpu/libm-test-ulps: Update.
24585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24587         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24588         csqrt, ctan and ctanh.
24589         * math/auto-libm-test-out: Regenerated.
24590         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24591         (TEST_COND_x86): Likewise.
24592         (ccos_test_data): Use AUTO_TESTS_c_c.
24593         (ccosh_test_data): Likewise.
24594         (cexp_test_data): Likewise.
24595         (clog_test_data): Likewise.
24596         (csqrt_test_data): Likewise.
24597         (ctan_test_data): Likewise.
24598         (ctan_tonearest_test_data): Likewise.
24599         (ctan_towardzero_test_data): Likewise.
24600         (ctan_downward_test_data): Likewise.
24601         (ctan_upward_test_data): Likewise.
24602         (ctanh_test_data): Likewise.
24603         (ctanh_tonearest_test_data): Likewise.
24604         (ctanh_towardzero_test_data): Likewise.
24605         (ctanh_downward_test_data): Likewise.
24606         (ctanh_upward_test_data): Likewise.
24607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24608         mpc_c_c.
24609         (func_calc_desc): Add mpc_c_c union field.
24610         (FUNC_mpc_c_c): New macro.
24611         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24612         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24613         ctanh.
24614         (special_fill_min_subnorm_p120): New function.
24615         (special_real_inputs): Add min_subnorm_p120.
24616         (calc_generic_results): Handle mpc_c_c.
24617         * sysdeps/i386/fpu/libm-test-ulps: Update.
24618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24622         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24623         (do_sin_slow): New functions.
24624         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24625         (cslow2, csloww1, csloww2): Use the new functions.
24627         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24628         Use M to change sign of result instead of X.  Assume X is
24629         positive.
24630         (csloww1): Likewise.
24631         (__sin): Adjust.
24632         (__cos): Adjust.
24634         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24635         arguments A and DA.
24636         (__sin): Adjust.
24637         (__cos): Likewise.
24639         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24640         (__cos): Likewise.
24641         (sloww1): Don't adjust sign of DX.
24642         (csloww1): Likewise.
24643         (sloww2): Use X directly and don't adjust sign of DX.
24644         (csloww2): Likewise.
24646 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24648         * math/auto-libm-test-in: Add tests of cabs and carg.
24649         * math/auto-libm-test-out: Regenerated.
24650         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24651         (carg_test_data): Likewise.
24652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24653         mpc_c_f.
24654         (func_calc_desc): Add mpc_c_f union field.
24655         (test_functions): Add cabs and carg.
24656         (calc_generic_results): Handle mpc_c_f.
24658         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24659         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24660         as a macro and a compat symbol.
24661         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24662         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24663         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24664         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24665         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24666         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24667         not use .hidden.
24668         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24669         Likewise.
24670         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24671         Likewise.
24672         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24673         Likewise.
24674         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24675         Likewise.
24676         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24677         Likewise.
24678         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24679         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24680         from GLIBC_2.3.2.
24682 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24686 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24688         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24689         trailing whitespace removed.
24690         * scripts/config.guess: Update to version 2013-11-29.
24691         * scripts/config.sub: Update to version 2013-10-01.
24693         * math/auto-libm-test-in: Add tests of sincos.
24694         * math/auto-libm-test-out: Regenerated.
24695         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24696         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24697         mpfr_f_11.
24698         (func_calc_desc): Add mpfr_f_11 union field.
24699         (test_functions): Add sincos.
24700         (calc_generic_results): Handle mpfr_f_11.
24701         * sysdeps/i386/fpu/libm-test-ulps: Update.
24702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24704 2013-12-19  Andreas Schwab  <schwab@suse.de>
24706         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24707         CALL_MCOUNT.
24708         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24709         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24710         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24712 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24714         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24715         * sysdeps/i386/fpu/libm-test-ulps: Update.
24716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24718         [BZ #16293]
24719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24720         round-to-nearest mode when using frndint.
24721         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24722         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24723         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24724         Likewise.
24725         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24726         sinh test to fail.
24727         * math/auto-libm-test-out: Regenerated.
24728         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24729         (TEST_COND_x86): Likewise.
24730         (expm1_tonearest_test_data): New array.
24731         (expm1_test_tonearest): New function.
24732         (expm1_towardzero_test_data): New array.
24733         (expm1_test_towardzero): New function.
24734         (expm1_downward_test_data): New array.
24735         (expm1_test_downward): New function.
24736         (expm1_upward_test_data): New array.
24737         (expm1_test_upward): New function.
24738         (main): Run the new test functions.
24739         * sysdeps/i386/fpu/libm-test-ulps: Update.
24740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24742         * include/features.h: Update comment documenting feature test
24743         macros.  Mention _DEFAULT_SOURCE in comment.
24744         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24745         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24746         _BSD_SOURCE and _SVID_SOURCE.
24747         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24748         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24749         !_SVID_SOURCE]: Likewise.
24750         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24751         (__USE_POSIX_IMPLICITLY): Define.
24752         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24753         (_POSIX_SOURCE): Undefine and redefine.
24754         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24755         (_POSIX_C_SOURCE): Likewise.
24756         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24757         (Feature Test Macros): Update documentation of default features.
24759 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24761         * benchtests/Makefile: Add bench-strtok.
24762         * benchtests/bench-strtok.c: New file: strtok benchtest.
24764 2013-12-19  Allan McRae  <allan@archlinux.org>
24766         * manual/install.texi: Suppress menu for plain text output.
24767         * INSTALL: Regenerated.
24769 2013-12-18  Brooks Moses  <bmoses@google.com>
24771         [BZ #15846]
24772         * misc/getauxval.c: Include errno.h.
24773         (__getauxval): Set errno to ENOENT if the requested type is not
24774         found.
24775         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24776         don't declare with __attribute_const__.
24777         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24778         * manual/startup.texi: Document that getauxval sets errno.
24780 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24782         * math/auto-libm-test-in: Add tests of jn and yn.
24783         * math/auto-libm-test-out: Regenerated.
24784         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24785         (yn_test_data): Likewise.
24786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24787         mpfr_if_f.
24788         (func_calc_desc): Add mpfr_if_f union field.
24789         (FUNC_mpfr_if_f): New macro.
24790         (test_functions): Add jn and yn.
24791         (calc_generic_results): Assert type of second input for
24792         mpfr_ff_f.  Handle mpfr_if_f.
24793         (output_for_one_input_case): Disable all checking for arguments
24794         fitting floating-point types in case of an integer argument.
24795         * sysdeps/i386/fpu/libm-test-ulps: Update.
24796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24799         Don't expect fegetround reference in libm.so.
24801 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24803         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24804         $(config-cflags-nofma).
24806 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24808         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24809         * math/auto-libm-test-out: Regenerated.
24811         [BZ #16338]
24812         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24813         to determine exponent and adjust argument to have exponent of -1.
24814         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24815         log2.
24816         * math/auto-libm-test-out: Regenerated.
24817         * sysdeps/i386/fpu/libm-test-ulps: Update.
24818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24820 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24822         * manual/probes.texi: Remove cases when per-thread arenas are
24823         disabled.
24825 2013-12-18  Andreas Schwab  <schwab@suse.de>
24827         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24828         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24829         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24830         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24831         * sysdeps/i386/i686/multiarch/Makefile: Update.
24832         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24834 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24836         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24837         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24839 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24841         [BZ #15968]
24842         Support TZ transition times < 00:00:00.
24843         This is needed for version-3 tz-format files; it supports time
24844         stamps past 2037 for America/Godthab (the only entry in the tz
24845         database for which this change is relevant).
24846         * manual/time.texi (TZ Variable): Document transition times
24847         from -167:59:59 through -00:00:01.
24848         * time/tzset.c (tz_rule): Time of day is now signed.
24849         (__tzset_parse_tz): Parse negative time of day.
24851         Document TZ transition times >= 25:00:00.
24852         * manual/time.texi (TZ Variable): Document transition times from
24853         25:00:00 through 167:59:59.  These are already supported, and this
24854         support will help with version-3 tz-format files.
24856         * manual/time.texi (TZ Variable): Modernize North America example
24857         to reflect current (i.e., 2007-and-later) daylight saving rules.
24859         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24861 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24863         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24864         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24867         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24868         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24869         * sysdeps/unix/bsd/clock.c: Likewise.
24870         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24871         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24872         * sysdeps/unix/bsd/init-posix.c: Likewise.
24873         * sysdeps/unix/bsd/poll.c: Likewise.
24874         * sysdeps/unix/bsd/ptsname.c: Likewise.
24875         * sysdeps/unix/bsd/seekdir.c: Likewise.
24876         * sysdeps/unix/bsd/setegid.c: Likewise.
24877         * sysdeps/unix/bsd/seteuid.c: Likewise.
24878         * sysdeps/unix/bsd/setgid.c: Likewise.
24879         * sysdeps/unix/bsd/setrgid.c: Likewise.
24880         * sysdeps/unix/bsd/setruid.c: Likewise.
24881         * sysdeps/unix/bsd/setsid.c: Likewise.
24882         * sysdeps/unix/bsd/setuid.c: Likewise.
24883         * sysdeps/unix/bsd/sigaction.c: Likewise.
24884         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24885         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24886         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24887         * sysdeps/unix/bsd/telldir.c: Likewise.
24888         * sysdeps/unix/bsd/times.c: Likewise.
24889         * sysdeps/unix/bsd/usleep.c: Likewise.
24891         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24892         ($(objpfx)libbsd-compat.a): Remove rule.
24894         * include/features.h (__FAVOR_BSD): Do not define.
24895         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24896         features conflicting with POSIX.
24897         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24898         (_BSD_SOURCE): Remove description of not being a subset of other
24899         feature test macros.
24900         * manual/job.texi (getpgrp): Do not document BSD version.
24901         (getpgid): Do not document by reference to BSD getpgrp.
24902         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24903         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24904         * signal/signal.h [__FAVOR_BSD]: Likewise.
24905         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24906         instead of making contents conditional on [__FAVOR_BSD].
24907         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24909 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24913 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24915         [BZ #16314]
24916         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24917         values below 2**-450, not 2**-500.
24918         * math/auto-libm-test-in: Don't allow spurious underflow from
24919         hypot.
24920         * math/auto-libm-test-out: Regenerated.
24922         [BZ #16316]
24923         [BZ #16330]
24924         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24925         values of ha and hb and sort them after adjusting subnormal
24926         arguments.
24927         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24928         Likewise.
24929         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24930         values of ea and eb and sort them after adjusting subnormal
24931         arguments.
24932         * math/auto-libm-test-in: Do not expect some hypot tests of
24933         subnormals to fail.  Add more hypot tests.
24934         * math/auto-libm-test-out: Regenerated.
24936 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24938         [BZ #13304]
24939         * sysdeps/sh/s_fma.c: New file.
24940         * sysdeps/sh/s_fmaf.c: New file.
24941         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24942         version.
24943         * sysdeps/sh/Implies: Add sh/soft-fp.
24945 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24947         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24948         level of indirection to members `objname', `errstring', `malloced'.
24949         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24950         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24951         it as the __longjmp argument (just pass 1 instead).
24952         (_dl_catch_error): Initialize C with argument pointers and address of
24953         volatile local ERRCODE rather than copying values out of C at return.
24955 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24957         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24958         * math/auto-libm-test-out: Regenerated.
24959         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24960         (hypot_test_data): Likewise.
24961         (pow_test_data): Likewise.
24962         (pow_tonearest_test_data): Likewise.
24963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24964         mpfr_ff_f.
24965         (func_calc_desc): Add mpfr_ff_f union field.
24966         (FUNC_mpfr_ff_f): New macro.
24967         (test_functions): Add atan2, hypot and pow.
24968         (special_fill_min): New function.
24969         (special_fill_minus_min): Likewise.
24970         (special_fill_min_subnorm): Likewise.
24971         (special_fill_minus_min_subnorm): Likewise.
24972         (special_real_inputs): Add min, -min, min_subnorm and
24973         -min_subnorm.
24974         (calc_generic_results): Handle mpfr_ff_f.
24975         * sysdeps/i386/fpu/libm-test-ulps: Update.
24976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24978 2013-12-16  Will Newton  <will.newton@linaro.org>
24980         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24981         (Aligned Memory Blocks): Add documentation for aligned_alloc
24982         and suggest it as an alternative to posix_memalign.
24983         (Hooks for Malloc): Document __memalign_hook is also called
24984         for aligned_alloc.  (Summary of Malloc): Add summary for
24985         aligned alloc.  Document __memalign_hook is also called
24986         for aligned_alloc.
24988 2013-12-16  Will Newton  <will.newton@linaro.org>
24990         * manual/memory.texi (Malloc Examples): Clarify default
24991         alignment documentation.  Suggest posix_memalign rather
24992         than memalign or valloc.
24993         (Aligned Memory Blocks): Remove suggestion to use memalign
24994         or valloc.  Remove obsolete comment about BSD.
24995         Document memalign errno values and mark the function obsolete.
24996         Document posix_memalign returned error codes.  Mark valloc
24997         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24998         called for posix_memalign and valloc.
24999         (Summary of Malloc): Add posix_memalign to function summary.
25000         __memalign_hook is also called for posix_memalign and valloc.
25002 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25004         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25005         TAYLOR_SIN.
25006         (__sin): Adjust.
25007         (__cos): Likewise.
25008         (sloww): Use mynumber union.  Expand ternary operator into
25009         if-else statements.
25010         (cslow): use mynumber union.
25012 2013-12-16  Allan McRae  <allan@archlinux.org>
25014         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25015         * configure: Regenerated.
25017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25019         [BZ #14120]
25020         * configure.ac: Added --enable-maintainer-mode. Check for
25021         autoconf when enabled.
25022         * configure: Regenerated.
25024         * nscd/nscd.service: New file.
25025         * nscd/nscd.tmpfiles: New file.
25027 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25029         [BZ #12100]
25030         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25031         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25032         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25033         (strstr): Add __strstr_sse2_unaligned ifunc.
25034         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25035         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25036         (strcasestr): Remove __strcasestr_sse42 ifunc.
25037         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25041 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25043         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25044         * sysdeps/sh/bits/fenv.h: ... here.
25045         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25047 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25049         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25051         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25052         hypotf multiarch implementations.
25053         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25056         multiarch hypot for PPC64.
25057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25060         multiarch hypotf for PPC64.
25062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25063         modff multiarch implementations.
25064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25067         multiarch modf for PPC64.
25068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25071         multiarch modff for PPC64.
25073         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25074         and logl multiarch implementations.
25075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25078         multiarch logb for PPC64.
25079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25082         multiarch logb for PPC64.
25083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25086         multiarch logb for PPC64.
25088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25089         isinff multiarch implementation.
25090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25091         file.
25092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25094         multiarch isinf for PPC64.
25095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25096         file.
25097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25098         multiarch isinff for PPC64.
25100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25101         finitef multiarch implementation.
25102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25103         file.
25104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25106         multiarch finite for PPC64.
25107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25108         file.
25109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25110         multiarch finitef for PPC64.
25112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25113         lrint multiarch implementation.
25114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25115         file.
25116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25118         multiarch llrint for PPC64.
25119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25120         multiarch lrint for PPC64.
25122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25123         copysignf multiarch implementation.
25124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25125         file.
25126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25127         file.
25128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25129         multiarch copysign for PPC64.
25130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25131         multiarch copysignf for PPC64.
25133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25134         multiarch implementation.
25135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25136         file.
25137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25138         file.
25139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25140         file.
25141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25142         file.
25143         multiarch llround for PPC64.
25144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25145         multiarch trunc for PPC64.
25146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25147         multiarch truncf for PPC64.
25149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25150         multiarch implementation.
25151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25152         file.
25153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25154         file.
25155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25156         file.
25157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25158         file.
25159         multiarch llround for PPC64.
25160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25161         multiarch round for PPC64.
25162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25163         multiarch roundf for PPC64.
25165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25166         multiarch implementation.
25167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25168         file.
25169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25170         file.
25171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25172         file.
25173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25174         file.
25175         multiarch llround for PPC64.
25176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25177         multiarch floor for PPC64.
25178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25179         multiarch floorf for PPC64.
25181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25182         multiarch implementation.
25183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25184         file.
25185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25186         file.
25187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25188         file.
25189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25190         file.
25191         multiarch llround for PPC64.
25192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25193         multiarch ceil for PPC64.
25194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25195         multiarch ceilf for PPC64.
25197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25198         multiarch implementation.
25199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25200         file.
25201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25202         file.
25203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25204         file.
25205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25206         multiarch llround for PPC64.
25207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25208         multiarch lround for PPC64.
25210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25211         multiarch implementation.
25212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25215         file.
25216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25219         multiarch isnan for PPC64.
25220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25221         multiarch isnanf for PPC64.
25223         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25224         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25225         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25226         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25227         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25230         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25231         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25233         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25236         multiarch implementations.
25237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25238         (__libc_ifunc_impl_list): Likewise.
25239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25242         multiarch stpcpy for PPC64.
25244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25245         multiarch implementations.
25246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25247         (__libc_ifunc_impl_list): Likewise.
25248         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25249         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25250         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25251         multiarch strcpy for PPC64.
25253         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25254         redefine function name.
25255         (_wordcopy_fwd_dest_aligned): Likewise.
25256         (_wordcopy_bwd_aligned): Likewise.
25257         (_wordcopy_bwd_dest_aligned): Likewise.
25258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25259         multiarch implementations.
25260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25261         (__libc_ifunc_impl_list): Likewise.
25262         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25263         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25264         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25266         multiarch wcscpy for PPC64.
25268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25269         multiarch implementations.
25270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25271         (__libc_ifunc_impl_list): Likewise.
25272         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25274         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25276         multiarch wcscpy for PPC64.
25278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25279         multiarch implementations.
25280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25281         (__libc_ifunc_impl_list): Likewise.
25282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25283         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25284         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25285         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25286         multiarch wcsrchr for PPC64.
25288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25289         multiarch implementations.
25290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25291         (__libc_ifunc_impl_list): Likewise.
25292         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25293         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25294         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25295         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25296         multiarch wcschr for PPC64.
25298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25299         multiarch implementations.
25300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25301         (__libc_ifunc_impl_list): Likewise.
25302         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25303         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25304         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25305         multiarch strchrnul for PPC64.
25307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25308         implementations.
25309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25310         (__libc_ifunc_impl_list): Likewise.
25311         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25312         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25313         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25314         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25315         strchr for PPC64.
25317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25318         implementations.
25319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25320         (__libc_ifunc_impl_list): Likewise.
25321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25322         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25323         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25324         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25325         strncmp for PPC64.
25327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25328         multiarch implementations.
25329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25330         (__libc_ifunc_impl_list): Likewise.
25331         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25332         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25333         strncasecmp for PPC64.
25334         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25335         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25336         multiarch strncasecmp_l for PPC64.
25338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25339         multiarch implementations.
25340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25341         (__libc_ifunc_impl_list): Likewise.
25342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25344         multiarch strcasecmp for PPC64.
25345         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25346         file.
25347         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25348         multiarch strcasecmp_l for PPC64.
25350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25351         implementations.
25352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25353         (__libc_ifunc_impl_list): Likewise.
25354         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25355         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25356         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25357         strnlen for PPC64.
25359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25360         implementations.
25361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25362         (__libc_ifunc_impl_list): Likewise.
25363         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25364         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25365         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25366         strlen for PPC64.
25368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25369         implementations.
25370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25371         (__libc_ifunc_impl_list): Likewise.
25372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25373         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25374         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25375         rawmemrchr for PPC64.
25377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25378         implementation.
25379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25380         (__libc_ifunc_impl_list): Likewise.
25381         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25382         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25383         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25384         memrchr for PPC64.
25386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25387         implementation.
25388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25389         (__libc_ifunc_impl_list): Likewise.
25390         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25391         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25392         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25393         memchr for PPC64.
25395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25396         implementation.
25397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25398         (__libc_ifunc_impl_list): Likewise.
25399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25400         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25401         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25402         mempcpy for PPC64.
25404         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25405         avoid cretion of __bzero symbol.
25406         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25407         Likewise.
25408         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25409         Likewise.
25410         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25411         Likewise.
25412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25413         multiarch implementations.
25414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25415         (__libc_ifunc_impl_list): Likewise.
25416         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25417         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25418         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25419         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25420         bzero for PPC32.
25421         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25422         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25423         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25424         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25425         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25426         memset for PPC64.
25427         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25429         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25431         implementations.
25432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25433         (__libc_ifunc_impl_list): Likewise.
25434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25435         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25436         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25437         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25438         memcmp for PPC64.
25440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25441         multiarch for POWER/PPC64.
25442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25443         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25450         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25451         memcpy for PPC64.
25453         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25454         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25455         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25456         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25457         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25458         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25459         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25460         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25461         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25462         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25463         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25464         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25465         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25466         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25467         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25476 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25478         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25480 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * benchtests/Makefile (bench): Add exp2 and log2.
25483         (LDLIBS-bench-exp2): Add -lm.
25484         (LDLIBS-bench-log2): Likewise.
25485         * benchtests/exp2-inputs: New inputs file.
25486         * benchtests/log2-inputs: New inputs file.
25487         * benchtests/log-inputs: Add new inputs.
25488         * benchtests/tan-inputs: Likewise.
25490 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25492         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25493         definition...
25494         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25495         (csloww2): ... from here.
25497         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25498         instead of structures.
25499         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25500         (POLYNOMIAL): Likewise.
25501         (TAYLOR_SLOW): Likewise.
25502         (__sin): Likewise.
25503         (__cos): Likewise.
25504         (slow1): Likewise.
25505         (slow2): Likewise.
25506         (sloww): Likewise.
25507         (sloww1); Likewise.
25508         (sloww2): Likewise.
25509         (bsloww1): Likewise.
25510         (bsloww2): Likewise.
25511         (cslow2): Likewise.
25512         (csloww): Likewise.
25513         (csloww1): Likewise.
25514         (csloww2): Likewise.
25516 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25518         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25519         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25520         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25521         * malloc/hooks.c (realloc_check): Likewise.
25523         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25524         * malloc/arena.c: Remove PER_THREAD conditional.
25525         [!PER_THREAD]: Remove code.
25526         (ptmalloc_unlock_all2): Likewise.
25527         (ptmalloc_init): Likewise.
25528         (_int_new_arena): Likewise.
25529         (arena_get2): Likewise.
25530         * malloc/hooks.c (__malloc_get_state): Likewise.
25531         (__malloc_set_state): Likewise.
25532         * malloc/malloc.c: Likewise.
25533         (struct malloc_state): Likewise.
25534         (struct malloc_par): Likewise.
25535         (__libc_realloc): Likewise.
25536         (__libc_mallopt): Likewise.
25538 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25540         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25542 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25544         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25545         macro to a function.  Check for zero perturb_byte.
25546         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25548         * malloc/malloc.c: (force_reg): Remove.
25549         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25550         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25551         force_reg by atomic_forced_read.
25552         * malloc/arena.c (ptmalloc_init): Likewise.
25553         * malloc/hooks.c (top_check): Likewise.
25555 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25559 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25563 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25565         * math/auto-libm-test-in: Add tests of lgamma.
25566         * math/auto-libm-test-out: Regenerated.
25567         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25568         (M_LOG_2_SQRT_PIl): Likewise.
25569         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25570         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25571         mpfr_f_f1.
25572         (func_calc_desc): Add mpfr_f_f1 union field.
25573         (ARGS1): New macro.
25574         (ARGS2): Likewise.
25575         (ARGS3): Likewise.
25576         (ARGS4): Likewise.
25577         (RET1): Likewise.
25578         (RET2): Likewise.
25579         (CALC): Likewise.
25580         (FUNC): Likewise.
25581         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25582         (test_functions): Add lgamma.
25583         (calc_generic_results): Handle mpfr_f_f1.
25584         * sysdeps/i386/fpu/libm-test-ulps: Update.
25585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25587 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25589         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25590         __mpn_add_n for PowerPC64/POWER7.
25591         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25592         __mpn_sub_n for PowerPC64/POWER7.
25594         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25595         __mpn_addmul_1 for PowerPC64.
25596         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25597         __mpn_submul_1 for PowerPC64.
25598         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25599         for PowerPC64.
25600         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25601         for PowerPC64.
25603 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25605         [BZ #15089]
25606         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25608 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25610         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25612         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25613         add multiarch folders.
25614         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25615         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25616         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25617         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25618         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25619         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25620         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25621         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25622         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25623         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25624         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25633         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25635         New file.
25636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25637         New file.
25638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25639         multiarch __ieee754_hypot for PowerPC32.
25640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25641         New file.
25642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25643         New file.
25644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25645         multiarch __ieee754_hypotf for PowerPC32.
25647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25648         long_double_symbol only if __logbl is defined.
25649         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25650         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25651         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25652         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25654         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25655         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25656         path for implementation.
25657         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25660         logb, and logbl multiarch implementations for PowerPC32.
25661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25662         file.
25663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25666         multiarch logb for PowerPC32.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25668         file.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25670         file.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25672         multiarch logbf for PowerPC32.
25673         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25675         file.
25676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25677         multiarch logbl implementation for PowerPC32.
25679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25680         and modff multiarch implementations.
25681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25682         New file.
25683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25684         New file.
25685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25686         multiarch modf for PowerPC32.
25687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25688         New file.
25689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25690         New file.
25691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25692         multiarch modff for PowerPC32.
25694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25695         and lrintf multiarch implementations.
25696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25697         New file.
25698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25699         New file.
25700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25701         multiarch lrint for PowerPC32.
25702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25703         file: multiarch lrintf for PowerPC32.
25705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25706         and lroundf multiarch implementations.
25707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25708         New file.
25709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25710         New file.
25711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25712         New file.
25713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25714         multiarch lround for PowerPC32.
25715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25716         file: multiarch lroundf for PowerPC32.
25718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25719         copysign and copysignf multiarch implementations.
25720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25721         New file.
25722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25723         New file.
25724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25725         file: multiarch copysign for PowerPC32.
25726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25727         file: multiarch copysignf for PowerPC32.
25729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25730         and truncf multiarch implementations.
25731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25732         New file.
25733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25734         file.
25735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25736         multiarch trunc for PowerPC32.
25737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25738         New file.
25739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25740         New file.
25741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25742         multiarch truncf for PowerPC32.
25744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25745         and roundf multiarch implementations.
25746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25747         New file.
25748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25749         file.
25750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25751         multiarch round for PowerPC32.
25752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25753         New file.
25754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25755         New file.
25756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25757         multiarch roundf for PowerPC32.
25759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25760         and floorf multiarch implementations.
25761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25762         New file.
25763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25764         file.
25765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25766         multiarch floor for PowerPC32.
25767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25768         New file.
25769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25770         New file.
25771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25772         multiarch floorf for PowerPC32.
25774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25775         and ceilf multiarch implementations.
25776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25777         New file.
25778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25779         file.
25780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25781         multiarch ceil for PowerPC32.
25782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25783         New file.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25785         file.
25786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25787         multiarch ceilf for PowerPC32.
25789         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25790         is defined.
25791         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25792         FINITEF is defined.
25793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25794         and finitef multiarch implementations.
25795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25796         New file.
25797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25798         file.
25799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25800         multiarch finite for PowerPC32.
25801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25802         New file.
25803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25804         file: multiarch finitef for PowerPC32.
25806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25807         and isinff multiarch implementations.
25808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25809         file.
25810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25811         file.
25812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25813         multiarch isinf for PowerPC32.
25814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25815         New file.
25816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25817         multiarch isinff for PowerPC32.
25819         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25820         alias when __isnan is defined.
25821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25822         and isnanf multiarch implementations.
25823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25824         file.
25825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25826         file.
25827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25828         file.
25829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25830         file.
25831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25832         multiarch isnan for PowerPC32.
25833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25834         New file.
25835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25836         New file.
25837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25838         multiarch isnanf for PowerPC32.
25840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25841         and sqrtf multiarch implementations.
25842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25843         file.
25844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25845         file.
25846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25847         multiarch sqrt for PowerPC32.
25848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25849         file.
25850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25851         file.
25852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25853         multiarch sqrtf for PowerPC32.
25855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25856         and llroundf multiarch implementations.
25857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25858         New file.
25859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25860         New file.
25861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25862         New file.
25863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25864         file: multiarch llround for PowerPC32.
25865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25866         file: multiarch llroundf for PowerPC32.
25868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25869         multiarch PowerPC32 fpu implementations.
25870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25871         New file.
25872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25873         New file.
25874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25875         multiarch llrint for PowerPC32.
25876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25877         New file.
25878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25879         New file.
25880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25881         file.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25885         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25886         file.
25887         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25888         file.
25889         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25890         file.
25891         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25892         multiarch wordcopy for PPC32.
25893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25894         wordcopy objects.
25895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25896         (__libc_ifunc_impl_list): Likewise.
25897         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25898         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25899         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25900         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25901         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25902         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25904         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25906         file.
25907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25908         file.
25909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25910         file.
25911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25912         multiarch wcscpy for PPC32.
25913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25914         multiarch objects.
25915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25916         (__libc_ifunc_impl_list): Likewise.
25917         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25918         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25919         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25920         sysdeps/powerpc/power6/wcscpy.c.
25922         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25924         file.
25925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25926         file.
25927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25928         file.
25929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25930         multiarch wcsrchr for PPC32.
25931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25932         multiarch objects.
25933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25934         (__libc_ifunc_impl_list): Likewise.
25935         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25936         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25937         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25938         sysdeps/powerpc/power6/wcsrchr.c.
25940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25941         file.
25942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25946         multiarch wcschr for PPc32.
25947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25948         multiarch objects.
25949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25950         (__libc_ifunc_impl_list): Likewise.
25951         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25952         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25953         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25954         sysdeps/powerpc/power6/wcschr.c.
25956         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25957         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25958         file.
25959         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25960         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25961         file: multiarch strchr for PPC32.
25962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25963         multiarch objects.
25964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25965         (__libc_ifunc_impl_list): Likewise.
25967         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25968         name.
25969         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25970         file.
25971         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25972         file.
25973         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25974         multiarch strchrnul for PPC32.
25975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25976         multiarch objects.
25977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25978         (__libc_ifunc_impl_list): Likewise.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25981         file.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25983         multiarch strncasecmp for PPC32.
25984         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25985         file.
25986         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25987         multiarch strncasecmp_l for PPC32.
25988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25989         strncasecmp multiarch objects.
25990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25991         (__libc_ifunc_impl_list): Likewise.
25993         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25994         file.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25996         multiarch strncasecmp for PPC32.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25998         New file.
25999         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26000         multiarch strcasecmp_l for PPC32.
26001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26002         multiarch objects.
26003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26004         (__libc_ifunc_impl_list): Likewise.
26006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26007         file.
26008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26009         file.
26010         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26011         multiarch strncmp for PPC32.
26012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26013         multiarch objects.
26014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26015         (__libc_ifunc_impl_list): Likewise.
26017         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26018         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26019         file.
26020         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26021         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26023         multiarch objects.
26024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26025         (__libc_ifunc_impl_list): Likewise.
26027         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26028         file.
26029         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26030         file.
26031         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26033         multiarch objects.
26034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26035         (__libc_ifunc_impl_list): Likewise.
26037         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26038         file.
26039         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26040         file.
26041         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26042         multiarch rawmemchr for PPC32.
26043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26044         multiarch objects.
26045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26046         (__libc_ifunc_impl_list): Likewise.
26048         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26049         file.
26050         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26051         file.
26052         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26053         file: memrchr multiarch for PPC32.
26054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26055         multiarch objects.
26056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26057         (__libc_ifunc_impl_list): Likewise.
26059         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26060         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26061         file.
26062         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26064         multiarch memchr for PPC32.
26065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26066         multiarch objects.
26067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26068         (__libc_ifunc_impl_list): Likewise.
26070         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26071         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26072         file.
26073         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26074         file.
26075         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26076         file: multiarch mempcpy for PPC32.
26077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26078         multiarch objects.
26079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26080         (__libc_ifunc_impl_list): Likewise.
26082         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26084         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26085         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26086         multiarch bzero for PPC32.
26087         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26088         file.
26089         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26090         file.
26091         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26092         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26093         file: multiarch memset for PPC32.
26094         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26096         memset multiarch objects.
26097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26098         (__libc_ifunc_impl_list): Likewise.
26100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26101         file.
26102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26104         memcmp for PPC32.
26105         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26107         multiarch objects.
26108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26109         (__libc_ifunc_impl_list): Likewise.
26111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26114         file.
26115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26116         file.
26117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26118         file.
26119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26120         multiarch memcpy for PPC32.
26121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26122         multiarch objects.
26123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26124         (__libc_ifunc_impl_list): Likewise.
26126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26127         support multiarch for POWER/PPC32.
26128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26129         Likewise.
26130         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26132         Implies file to make multiarch folder appers before the fpu and
26133         default folder for power4 configuration.
26135 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26137         * scripts/bench.pl: Append volatile keyword to type.
26139 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26141         * sysdeps/sh/sotruss-lib.c: New file.
26142         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26144 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26148 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26150         [BZ #6810]
26151         * math/w_tgamma.c: Include <errno.h>.
26152         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26153         * math/w_tgammaf.c: Include <errno.h>.
26154         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26155         * math/w_tgammal.c: Include <errno.h>.
26156         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26157         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26158         underflow.  Add more tgamma tests.
26159         * math/auto-libm-test-out: Regenerated.
26160         * sysdeps/i386/fpu/libm-test-ulps: Update.
26161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26163         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26164         sin, sinh, tan, tanh, tgamma, y0 and y1.
26165         * math/auto-libm-test-out: Regenerated.
26166         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26167         (TEST_COND_x86): Likewise.
26168         (M_E2l): Remove macro.
26169         (M_E3l): Likewise.
26170         (M_2_SQRT_PIl): Likewise.
26171         (M_SQRT_PIl): Likewise.
26172         (M_1_DIV_El): Likewise.
26173         (log_test_data): Use AUTO_TESTS_f_f.
26174         (log10_test_data): Likewise.
26175         (log1p_test_data): Likewise.
26176         (log2_test_data): Likewise.
26177         (sin_test_data): Likewise.
26178         (sin_tonearest_test_data): Likewise.
26179         (sin_towardzero_test_data): Likewise.
26180         (sin_downward_test_data): Likewise.
26181         (sin_upward_test_data): Likewise.
26182         (sinh_test_data): Likewise.
26183         (sinh_tonearest_test_data): Likewise.
26184         (sinh_towardzero_test_data): Likewise.
26185         (sinh_downward_test_data): Likewise.
26186         (sinh_upward_test_data): Likewise.
26187         (tan_test_data): Likewise.
26188         (tan_tonearest_test_data): Likewise.
26189         (tan_towardzero_test_data): Likewise.
26190         (tan_downward_test_data): Likewise.
26191         (tan_upward_test_data): Likewise.
26192         (tanh_test_data): Likewise.
26193         (tgamma_test_data): Likewise.
26194         (y0_test_data): Likewise.
26195         (y1_test_data): Likewise.
26196         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26197         (special_real_inputs): Add pi/4.
26198         * sysdeps/i386/fpu/libm-test-ulps: Update.
26199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26203         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26204         "longjmp_target" static probes.
26205         (__longjmp): Rename to __longjmp_symbol.
26206         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26207         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26208         on which longjmp to generate.
26209         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26211         probe.
26212         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26213         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26214         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26215         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26216         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26217         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26219         __longjmp_symbol based on which __longjmp to generate.
26220         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26221         probe.
26222         (setjmp): Rename to setjmp_symbol.
26223         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26224         (_setjmp): Rename to _setjmp_symbol.
26225         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26226         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26227         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26228         which setjmp to generate.
26229         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26230         "longjmp_target" static probes.
26232 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26234         * benchtests/README: Add note about output arguments.
26235         * benchtests/bench-sincos.c: Remove file.
26236         * benchtests/sincos-inputs: New file.
26237         * scripts/bench.pl: Identify output arguments and define
26238         static variables for them.
26240         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26242         [BZ #15941]
26243         * Makefile (INSTALL): Add install-plain.texi as the primary
26244         dependency.
26245         * manual/install-plain.texi: New file.
26246         * manual/install.texi: Include node directive only for
26247         non-plaintext output.
26249 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26251         * stdlib/longlong.h: Update from GCC.
26253         [BZ #6807]
26254         [BZ #15901]
26255         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26256         * math/w_j0f.c (y0f): Likewise.
26257         * math/w_j0l.c (__y0l): Likewise.
26258         * math/w_j1.c (y1): Likewise.
26259         * math/w_j1f.c (y1f): Likewise.
26260         * math/w_j1l.c (__y1l): Likewise
26261         * math/w_jn.c (yn): Likewise.
26262         * math/w_jnf.c (ynf): Likewise.
26263         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26264         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26265         value for Bessel function domain errors outside _SVID_ mode.
26266         Adjust sign of return value for yn (negative integer, 0).
26267         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26268         by zero in return for negative x and set sign appropriately for
26269         negative n.
26270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26271         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26272         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26273         expectations in error cases.
26274         (y1_test_data): Likewise.
26275         (yn_test_data): Likewise.
26276         * sysdeps/i386/fpu/libm-test-ulps: Update.
26277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26279 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26281         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26282         "64" to "64-v1".  Add "64-v2".
26283         (abi-64-options): Rename to ...
26284         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26285         (abi-64-condition): Rename to ...
26286         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26287         (abi-64-ld-soname): Rename to ...
26288         (abi-64-v1-ld-soname): ... this.
26289         (abi-64-v2-options): Define.
26290         (abi-64-v2-condition): Likewise.
26291         (abi-64-v2-ld-soname): Likewise.
26292         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26293         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26298 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26299             Alan Modra  <amodra@gmail.com>
26301         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26302         New versions for use with the ELFv2 ABI.
26303         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26304         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26305         declaration.
26306         (struct La_ppc64v2_retval): Likewise.
26307         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26308         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26309         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26310         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26311         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26312         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26313         Do not save or restore CR.
26314         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26315         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26316         return values for ELFv2 ABI.  Fix location of FPR return registers.
26317         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26318         updated values for _CALL_ELF == 2.
26319         (La_regs, La_retval, int_retval): Likewise.
26321 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26323         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26324         (FRAME_MIN_SIZE_PARM): Likewise.
26325         (FRAME_BACKCHAIN): Likewise.
26326         (FRAME_CR_SAVE): Likewise.
26327         (FRAME_LR_SAVE): Likewise.
26328         (FRAME_TOC_SAVE): Likewise.
26329         (FRAME_PARM_SAVE): Likewise.
26330         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26331         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26332         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26333         (call_mcount_parm_offset): New macro.
26334         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26335         (PROF): Use symbolic stack frame offsets.
26336         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26337         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26338         Redefine in terms of FRAME_MIN_SIZE.
26339         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26340         (_dl_profile_resolve): Likewise.  Update comment.
26341         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26342         symbols stack frame offsets.
26343         (__sigsetjmp): Likewise.
26344         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26345         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26346         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26347         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26350         (FRAME_BACKCHAIN): Remove.
26351         (FRAME_CR_SAVE): Likewise.
26352         (FRAME_LR_SAVE): Likewise.
26353         (FRAME_COMPILER_DW): Likewise.
26354         (FRAME_LINKER_DW): Likewise.
26355         (FRAME_TOC_SAVE): Likewise.
26356         (FRAME_PARM_SAVE): Likewise.
26357         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26358         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26359         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26361         (CHECK_SP): Use symbolic stack frame offsets.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26363         zone" instead of caller's parameter save area for temp storage.
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26365         Likewise.  Also, use symbolic stack frame offsets.
26366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26367         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26368         our own stack frame instead of the caller's.
26369         (__socket): Use symbolic stack frame offsets.
26371 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26372             Alan Modra  <amodra@gmail.com>
26374         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26375         Define.
26376         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26377         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26378         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26379         New function.
26380         (elf_machine_fixup_plt): Call it.
26381         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26382         reloc arguments.
26383         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26385         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26386         r2 before calling target.
26388 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26389             Alan Modra  <amodra@gmail.com>
26391         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26392         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26393         versions of macros to support ELFv2 ABI.
26394         (LOCALENTRY): New macro.
26395         (ENTRY, EALIGN): Use it.
26396         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26397         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26398         fall through into ENTRY entry point.
26399         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26400         Only define if _CALL_ELF != 2.
26402         (elf_machine_matches_host): Verify ABI version matches.
26403         (RTLD_START): Use LOCALENTRY.
26404         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26405         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26406         (PLT_ENTRY_WORDS): New macro.
26407         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26408         (elf_machine_runtime_setup): Support ELFv2 ABI.
26409         (elf_machine_fixup_plt): Likewise.
26410         (elf_machine_plt_conflict): Likewise.
26411         (resolve_ifunc): Likewise.
26412         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26413         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26414         Likewise.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26416         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26418         (makecontext): Support ELFv2 ABI.
26419         * elf/elf.h (EF_PPC64_ABI): Define.
26421 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26423         * sysdeps/powerpc/powerpc64/sysdep.h
26424         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26425         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26426         (ENTRY) [ASSEMBLER]: ... but instead here ...
26427         (EALIGN) [ASSEMBLER]: ... and here.
26428         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26429         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26430         (ENTRY_2) [!ASSEMBLER]: Use it.
26431         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26432         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26433         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26434         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26435         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26437         Use PPC64_LOAD_FUNCPTR.
26439         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26441 2013-12-04  Alan Modra  <amodra@gmail.com>
26443         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26444         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26445         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26446         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26448         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26449         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26450         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26451         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26452         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26453         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26455 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26458         (__makecontext): Fix incorrect CFI when backtracing out of
26459         context created via makecontext.
26460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26461         (__setcontext): Fix incorrect CFI during switch to new context.
26462         (__novec_setcontext): Likewise.
26464 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26466         [BZ #4772]
26467         * time/strptime_l.c (__strptime_internal): Allow modifiers
26468         in strptime.
26469         * time/tst-strptime.c (day_tests): Add testcase.
26471 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26473         * scripts/bench.pl: Skip over blank lines.
26475 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26477         [BZ #926]
26478         * manual/time.texi (Calendar Time): Clarify what timezone functions
26479         use.
26481 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26485 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26487         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26488         implementation.
26489         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26490         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26491         * debug/memset_chk.c (__memset_chk): Likewise.
26492         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26493         * debug/strncpy_chk.c: Likewise.
26495 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #15268]
26498         [BZ #15425]
26499         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26500         (__ieee754_exp): For possibly underflowing results, check size of
26501         result and force underflow exception if required.
26502         * math/auto-libm-test-in: Add more tests of exp.
26503         * math/auto-libm-test-out: Regenerated.
26504         * sysdeps/i386/fpu/libm-test-ulps: Update.
26505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26507         [BZ #16283]
26508         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26509         * math/w_exp2f.c (__exp2f): Likewise.
26510         * math/w_exp2l.c (__exp2l): Likewise.
26511         * math/auto-libm-test-in: Do not allow missing errno on exp2
26512         underflow.
26513         * math/auto-libm-test-out: Regenerated.
26515 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26517         [BZ #16274]
26518         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26519         handle filename validation.
26520         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26521         (do_open): Delete.
26523 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26525         [BZ #6786]
26526         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26527         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26528         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26529         <float.h>.
26530         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26532         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26534         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26535         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26536         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26537         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26538         Add more erfc tests.
26539         * math/auto-libm-test-out: Regenerated.
26540         * sysdeps/i386/fpu/libm-test-ulps: Update.
26541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26543         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26544         exp2, expm1, j0 and j1.
26545         * math/auto-libm-test-out: Regenerated.
26546         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26547         (erfc_test_data): Likewise.
26548         (exp_test_data): Likewise.
26549         (exp_tonearest_test_data): Likewise.
26550         (exp_towardzero_test_data): Likewise.
26551         (exp_downward_test_data): Likewise.
26552         (exp_upward_test_data): Likewise.
26553         (exp10_test_data): Likewise.
26554         (exp2_test_data): Likewise.
26555         (expm1_test_data): Likewise.
26556         (j0_test_data): Likewise.
26557         (j1_test_data): Likewise.
26558         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26559         (input_flag_type): Add flag_xfail_rounding.
26560         (input_flags): Add xfail-rounding.
26561         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26562         (output_for_one_input_case): Handle flag_xfail_rounding.
26563         * sysdeps/i386/fpu/libm-test-ulps: Update.
26564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26566 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26568         [BZ #16289]
26569         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26570         division by 0.
26572 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26574         [BZ #16195]
26575         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26576         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26577         (STAP_PROBE0): New macro.
26578         (STAP_PROBE1): Likewise.
26579         (STAP_PROBE2): Likewise.
26580         (STAP_PROBE3): Likewise.
26581         (STAP_PROBE4): Likewise.
26583 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26585         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26587 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26589         * benchtests/Makefile (bench): Add sqrt.
26590         (LDLIBS-bench-sqrt): New.
26591         * benchtests/sqrt-input: New.
26593 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26595         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26596         (GAIH_EAI): Likewise.
26597         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26598         (gaih_inet): Likewise.
26599         (getaddrinfo): Don't use GAIH_EAI.
26601         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26602         (struct gaih): Remove definition.
26604 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26606         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26607         Use HERRNOP directly.
26609 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26613 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26615         * math/gen-auto-libm-tests.c (test_functions): Add more
26616         single-argument functions.
26617         (special_fill_pi_2): New function.
26618         (special_fill_minus_pi_2): Likewise.
26619         (special_fill_pi_6): Likewise.
26620         (special_fill_minus_pi_6): Likewise.
26621         (special_fill_pi_3): Likewise.
26622         (special_fill_2pi_3): Likewise.
26623         (special_fill_e): Likewise.
26624         (special_fill_1_e): Likewise.
26625         (special_fill_e_minus_1): Likewise.
26626         (special_real_inputs): Add more special inputs.
26627         (output_for_one_input_case): Do not require ERANGE on underflow to
26628         zero if round-to-nearest result does not underflow to zero, unless
26629         exact results required.
26630         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26631         atan, atanh, cbrt, cos and cosh.
26632         * math/auto-libm-test-out: Regenerated.
26633         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26634         (acos_tonearest_test_data): Likewise.
26635         (acos_towardzero_test_data): Likewise.
26636         (acos_downward_test_data): Likewise.
26637         (acos_upward_test_data): Likewise.
26638         (acosh_test_data): Likewise.
26639         (asin_test_data): Likewise.
26640         (asin_tonearest_test_data): Likewise.
26641         (asin_towardzero_test_data): Likewise.
26642         (asin_upward_test_data): Likewise.
26643         (asinh_test_data): Likewise.
26644         (atan_test_data): Likewise.
26645         (atanh_test_data): Likewise.
26646         (cbrt_test_data): Likewise.
26647         (cos_test_data): Likewise.
26648         (cos_tonearest_test_data): Likewise.
26649         (cos_towardzero_test_data): Likewise.
26650         (cos_downward_test_data): Likewise.
26651         (cos_upward_test_data): Likewise.
26652         (cosh_test_data): Likewise.
26653         (cosh_tonearest_test_data): Likewise.
26654         (cosh_towardzero_test_data): Likewise.
26655         (cosh_downward_test_data): Likewise.
26656         (cosh_upward_test_data): Likewise.
26657         * sysdeps/i386/fpu/libm-test-ulps: Update.
26658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26660 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26662         [BZ #6787]
26663         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26664         * math/w_exp10f.c (__exp10f): Likewise.
26665         * math/w_exp10l.c (__exp10l): Likewise.
26666         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26667         errno settings in existing tests.
26669         [BZ #14032]
26670         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26671         precision control set to double precision.
26672         * sysdeps/i386/fpu/w_sqrt.c: New file.
26673         * math/auto-libm-test-in: Add more tests.
26674         * math/auto-libm-test-out: Update.
26676         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26677         (sqrt_test_tonearest): New function.
26678         (sqrt_towardzero_test_data): New variable.
26679         (sqrt_test_towardzero): New function.
26680         (sqrt_downward_test_data): New variable.
26681         (sqrt_test_downward): New function.
26682         (sqrt_upward_test_data): New variable.
26683         (sqrt_test_upward): New function.
26684         (main): Call the new functions.
26686         * math/gen-auto-libm-tests.c: New file.
26687         * math/auto-libm-test-in: Likewise.
26688         * math/auto-libm-test-out: New generated file.
26689         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26690         variables.
26691         (%beautify): Add generated representations of zero.
26692         (top level): Set $auto_input and call parse_auto_input.
26693         (beautify): Remove trailing "f" from hex float constants.
26694         (parse_args): Handle XFAIL_TEST.
26695         (convert_condition): New function.
26696         (or_value): Likewise.
26697         (or_cond_value): Likewise.
26698         (generate_testfile): Handle AUTO_TESTS_* lines.
26699         (parse_auto_input): New function.
26700         * math/libm-test.inc (XFAIL_TEST): New macro.
26701         (ERRNO_UNCHANGED): Update value.
26702         (ERRNO_EDOM): Likewise.
26703         (ERRNO_ERANGE): Likewise.
26704         (IGNORE_RESULT): Likewise.
26705         (TEST_COND_flt_32): New macro.
26706         (TEST_COND_dbl_64): Likewise.
26707         (TEST_COND_ldbl_96_intel): Likewise.
26708         (TEST_COND_ldbl_96_m68k): Likewise.
26709         (TEST_COND_ldbl_128): Likewise.
26710         (TEST_COND_ldbl_128ibm): Likewise.
26711         (TEST_COND_long32): Likewise.
26712         (TEST_COND_long64): Likewise.
26713         (TEST_COND_before_rounding): Likewise.
26714         (TEST_COND_after_rounding): Likewise.
26715         (enable_test): Handle XFAIL_TEST flag.
26716         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26717         with finite results.
26718         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26719         auto-libm-test-out.
26721 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26722             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26724         [BZ #16214]
26725         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26726         __tls_get_addr_internal instead of __tls_get_offset in order to
26727         avoid GOT pointer dependency.  Make rtld export
26728         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26729         __tls_get_addr since we are a __tls_get_offset platform.
26730         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26731         GOT pointer being set up before.
26732         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26734 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26736         * manual/math.texi (Errors in Math Functions): Document accuracy
26737         goals.
26739         [BZ #15004]
26740         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26741         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26742         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26743         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26744         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26745         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26746         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26747         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26748         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26749         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26750         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26751         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26752         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26753         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26754         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26755         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26757         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26758         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26759         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26760         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26761         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26762         Likewise.
26763         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26764         Likewise.
26765         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26766         Likewise.
26767         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26768         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26769         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26770         atomic-feupdateenv and flt-rounds.
26771         * sysdeps/powerpc/nofpu/Versions (libc): Add
26772         __atomic_feholdexcept, __atomic_feclearexcept,
26773         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26774         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26775         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26777         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26778         here.
26779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26780         Update.
26782         * manual/arith.texi (FP Exceptions): Document that exceptions may
26783         not be raised when matherr is used.
26784         (Math Error Reporting): Document overflow in directed rounding
26785         modes.  Document that errno may not be set when finite values are
26786         returned on overflow.  Document intent to set errno on underflow
26787         only for underflow to zero.
26789         [BZ #16271]
26790         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26791         round-to-nearest then adjust result for other rounding modes.
26792         * include/fenv.h (fegetround): Use libm_hidden_proto.
26793         * math/fegetround.c (fegetround): Use libm_hidden_def.
26794         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26795         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26796         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26798         Likewise.
26799         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26801         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26802         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26804 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26806         [BZ #16077]
26807         * nss/Versions (libnss_files): Add
26808         _nss_files_gethostbyname3_r.
26809         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26810         New function.
26811         (HOST_DB_LOOKUP): Remove macro.
26812         (_nss_files_gethostbyname_r): Implement function without the
26813         HOST_DB_LOOKUP macro.
26814         (_nss_files_gethostbyname2_r): Likewise.
26816 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26818         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26820 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26822         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26823         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26824         warning.
26826 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26828         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26829         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26830         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26831         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26832         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26833         __fe_nomask_env_priv and attribute_hidden.
26834         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26835         (libc_feupdateenv_test_ppc): Likewise.
26836         (libc_feresetround_ppc): Likewise.
26837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26838         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26839         compat_symbol macro.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26841         (__fe_nomask_env): Likewise.
26842         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26844 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26846         * string/Makefile: Remove ifunc tests.
26847         * string/test-string.h: Define TEST_IFUNC.
26848         * string/test-bcopy-ifunc.c: Remove.
26849         * string/test-bzero-ifunc.c: Likewise.
26850         * string/test-memccpy-ifunc.c: Likewise.
26851         * string/test-memchr-ifunc.c: Likewise.
26852         * string/test-memcmp-ifunc.c: Likewise.
26853         * string/test-memcpy-ifunc.c: Likewise.
26854         * string/test-memmem-ifunc.c: Likewise.
26855         * string/test-memmove-ifunc.c: Likewise.
26856         * string/test-mempcpy-ifunc.c: Likewise.
26857         * string/test-memrchr-ifunc.c: Likewise.
26858         * string/test-memset-ifunc.c: Likewise.
26859         * string/test-rawmemchr-ifunc.c: Likewise.
26860         * string/test-stpcpy-ifunc.c: Likewise.
26861         * string/test-stpncpy-ifunc.c: Likewise.
26862         * string/test-strcasecmp-ifunc.c: Likewise.
26863         * string/test-strcasestr-ifunc.c: Likewise.
26864         * string/test-strcat-ifunc.c: Likewise.
26865         * string/test-strchr-ifunc.c: Likewise.
26866         * string/test-strchrnul-ifunc.c: Likewise.
26867         * string/test-strcmp-ifunc.c: Likewise.
26868         * string/test-strcpy-ifunc.c: Likewise.
26869         * string/test-strcspn-ifunc.c: Likewise.
26870         * string/test-strlen-ifunc.c: Likewise.
26871         * string/test-strncasecmp-ifunc.c: Likewise.
26872         * string/test-strncat-ifunc.c: Likewise.
26873         * string/test-strncmp-ifunc.c: Likewise.
26874         * string/test-strncpy-ifunc.c: Likewise.
26875         * string/test-strnlen-ifunc.c: Likewise.
26876         * string/test-strpbrk-ifunc.c: Likewise.
26877         * string/test-strrchr-ifunc.c: Likewise.
26878         * string/test-strspn-ifunc.c: Likewise.
26879         * string/test-strstr-ifunc.c: Likewise.
26881 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26883         * benchtests/Makefile: Remove ifunc tests.
26884         * benchtests/bench-string.h: Define TEST_IFUNC.
26885         * benchtests/bench-bcopy-ifunc.c: Remove.
26886         * benchtests/bench-bzero-ifunc.c: Likewise.
26887         * benchtests/bench-memccpy-ifunc.c: Likewise.
26888         * benchtests/bench-memchr-ifunc.c: Likewise.
26889         * benchtests/bench-memcmp-ifunc.c: Likewise.
26890         * benchtests/bench-memcpy-ifunc.c: Likewise.
26891         * benchtests/bench-memmem-ifunc.c: Likewise.
26892         * benchtests/bench-memmove-ifunc.c: Likewise.
26893         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26894         * benchtests/bench-memrchr-ifunc.c: Likewise.
26895         * benchtests/bench-memset-ifunc.c: Likewise.
26896         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26897         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26898         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26899         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26900         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26901         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26902         * benchtests/bench-strcat-ifunc.c: Likewise.
26903         * benchtests/bench-strchr-ifunc.c: Likewise.
26904         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26905         * benchtests/bench-strcmp-ifunc.c: Likewise.
26906         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26907         * benchtests/bench-strcpy-ifunc.c: Likewise.
26908         * benchtests/bench-strcspn-ifunc.c: Likewise.
26909         * benchtests/bench-strlen-ifunc.c: Likewise.
26910         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26911         * benchtests/bench-strncat-ifunc.c: Likewise.
26912         * benchtests/bench-strncmp-ifunc.c: Likewise.
26913         * benchtests/bench-strncpy-ifunc.c: Likewise.
26914         * benchtests/bench-strnlen-ifunc.c: Likewise.
26915         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26916         * benchtests/bench-strrchr-ifunc.c: Likewise.
26917         * benchtests/bench-strsep-ifunc.c: Likewise.
26918         * benchtests/bench-strspn-ifunc.c: Likewise.
26919         * benchtests/bench-strstr-ifunc.c: Likewise.
26921 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26923         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26925 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26927         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26928         * rt/aio.h: Likewise.
26929         * sysdeps/gnu/bits/utmp.h: Likewise.
26930         * sysdeps/gnu/bits/utmpx.h: Likewise.
26931         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26932         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26933         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26934         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26935         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26936         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26937         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26938         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26939         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26940         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26941         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26942         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26943         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26945         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26946         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26947         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26948         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26949         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26950         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26951         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26952         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26953         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26954         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26955         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26957         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26958         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26959         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26960         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26961         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26962         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26963         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26964         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26965         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26966         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26967         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26968         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26969         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26970         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26971         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26972         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26974 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26976         [BZ #16245]
26977         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26978         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26980 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26982         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26983         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26984         Likewise.
26986 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26988         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26989         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26990         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26991         (__fesetround): Remove define.
26992         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26993         rounding and exceptions handling.
26994         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26995         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26996         (__fe_nomask_env): Likewise.
26997         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26998         __fegetround instead of fegetround.
26999         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27000         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27002 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27004         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27005         it's there.
27007         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27009 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27011         [BZ #11157]
27012         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27013         (encrypt_r): Likewise.
27014         * malloc/obstack.h (obstack_free): Likewise.
27015         * posix/unistd.h (encrypt): Likewise.
27017 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27019         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27020         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27021         DL_CALL_DT_FINI() that call the functions directly.
27022         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27023         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27024         * elf/dl-fini.c: Likewise.
27026 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27028         * malloc/hooks.c (memalign_check): Add alignment rounding.
27029         * malloc/malloc.c (_mid_memalign): New function.
27030         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27031         Implement by calling _mid_memalign.
27032         * manual/probes.texi (Memory Allocation Probes): Remove
27033         memory_valloc_retry and memory_pvalloc_retry.
27035 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27037         * locale/programs/locarchive.c (open_archive): Add const
27038         qualifier to ARCHIVEFNAME and copy default fname to
27039         DEFAULT_FNAME.
27041         [BZ #15601]
27042         * libio/tst-widetext.input: Rename Oriya to Odia.
27043         * locale/iso-639.def: Likewise.
27045         * manual/probes.texi (Mathematical Function Probes): Add
27046         documentation for sin, cos, asin and acos probes.
27047         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27048         (__sin32): Add slowasin probe.
27049         (__cos32): Add slowacos probe.
27050         (__mpsin): Add slowsin probe.
27051         (__mpcos): Add slowcos probe.
27053 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27055         [BZ #15483]
27056         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27057         thread-local __sim_exceptions_thread and global
27058         __sim_exceptions_global.
27059         (__sim_disabled_exceptions): Change to thread-local
27060         __sim_disabled_exceptions_thread and global
27061         __sim_disabled_exceptions_global.
27062         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27063         and global __sim_round_mode_global.
27064         (__simulate_exceptions): Use thread-local floating-point state and
27065         set global state from it as needed.
27066         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27067         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27068         __sim_round_mode_thread.
27069         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27070         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27071         and global __sim_exceptions_global.
27072         (__sim_disabled_exceptions): Change to thread-local
27073         __sim_disabled_exceptions_thread and global
27074         __sim_disabled_exceptions_global.
27075         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27076         and global __sim_round_mode_global.
27077         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27078         (SIM_SET_GLOBAL): Likewise.
27079         * sysdeps/powerpc/soft-fp/sfp-machine.h
27080         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27081         __sim_round_mode_thread.
27082         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27083         __sim_disabled_exceptions_thread.
27084         (__sim_exceptions): Change to __sim_exceptions_thread.
27085         (__sim_disabled_exceptions): Change to
27086         __sim_disabled_exceptions_thread.
27087         (__sim_round_mode): Change to __sim_round_mode_thread.
27088         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27089         thread-local floating-point state and set global state from it as
27090         needed.
27091         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27092         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27093         (__sim_disabled_exceptions): Remove extern declaration.
27094         (feenableexcept): Use thread-local floating-point state and set
27095         global state from it as needed.
27096         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27097         extern declaration.
27098         (__sim_disabled_exceptions): Likewise.
27099         (__sim_round_mode): Likewise.
27100         (__fegetenv): Use thread-local floating-point state.
27101         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27102         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27103         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27104         floating-point state and set global state from it as needed.
27105         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27106         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27107         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27108         Likewise.
27109         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27110         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27111         Likewise.
27112         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27113         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27114         Use __sim_round_mode_thread.
27115         * math/test-fenv-tls.c: New file.
27116         * math/Makefile (tests): Add test-fenv-tls.
27117         ($(objpfx)test-fenv-tls): Depend on
27118         $(common-objpfx)nptl/libpthread.so.
27120 2013-11-19  Andreas Schwab  <schwab@suse.de>
27122         * locale/programs/locale.c (show_info): Decode wordarray elements.
27123         * locale/categories.def (LC_MONETARY): Add element for
27124         _NL_MONETARY_CRNCYSTR.
27125         * locale/C-monetary.c (conversion_rate): New variable.
27126         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27127         element.
27129 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27131         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27132         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27134 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27136         * elf/Makefile (tst-auxv): New test.
27137         * elf/tst-auxv.c: New
27138         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27140 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27142         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27143         (hidden_proto): Caller changed.
27144         (hidden_tls_proto): New macro.
27145         (libc_hidden_tls_proto): Likewise.
27146         (rtld_hidden_tls_proto): Likewise.
27147         (libm_hidden_tls_proto): Likewise.
27148         (libresolv_hidden_tls_proto): Likewise.
27149         (librt_hidden_tls_proto): Likewise.
27150         (libdl_hidden_tls_proto): Likewise.
27151         (libnss_files_hidden_tls_proto): Likewise.
27152         (libnsl_hidden_tls_proto): Likewise.
27153         (libnss_nisplus_hidden_tls_proto): Likewise.
27154         (libutil_hidden_tls_proto): Likewise.
27156 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27158         [BZ #10253]
27159         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27160         (decompose_rpath): Defer expansion to fillin_rpath.
27161         (_dl_init_paths): Pass linkmap to fillin_rpath.
27163 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27165         * benchtests/Makefile: Add strsep.
27166         * benchtests/bench-strsep.c: New file: strsep benchtest.
27167         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27169 2013-11-18  Andreas Schwab  <schwab@suse.de>
27171         * locale/programs/locale.c (show_info) [case byte]: Check for
27172         '\377' instead of '\177'.
27173         * locale/C-monetary.c (not_available): Always use "\377".
27174         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27175         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27176         detect unavailable sign_posn locale elements.
27177         * locale/localeconv.c (__localeconv): For grouping and
27178         mon_grouping handle "\177" and "\377" like no grouping.
27179         (INT_ELEM): New macro.  Use it to set all numeric members.
27180         * locale/programs/ld-monetary.c (monetary_read)
27181         <tok_mon_grouping>: Normalize single -1 to the empty string.
27182         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27183         Likewise.
27185 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27187         [BZ #16055]
27188         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27189         when we match (nil).
27190         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27192 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27194         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27195         (NO_TEST_INLINE): Update value.
27196         (ERRNO_UNCHANGED): Likewise.
27197         (ERRNO_EDOM): Likewise.
27198         (ERRNO_ERANGE): Likewise.
27199         (IGNORE_RESULT): Likewise.
27200         (check_float_internal): Check signs of NaN results if
27201         TEST_NAN_SIGN used.
27202         (check_complex): Pass TEST_NAN_SIGN flag through to second
27203         check_float_internal call.
27204         (copysign_test_data): Add tests with quiet NaNs as second
27205         argument.  Use TEST_NAN_SIGN.
27206         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27207         TEST_NAN_SIGN.
27208         (signbit_test_data): Add tests of quiet NaN argument.
27209         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27211         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27212         $ignore_result.
27213         (parse_args): Handle function results specified as IGNORE.
27214         * math/libm-test.inc (IGNORE_RESULT): New macro.
27215         (check_float_internal): Do not check numerical result if flag
27216         IGNORE_RESULT set.
27217         (check_complex): Pass through IGNORE_RESULT to second
27218         check_float_internal call.
27219         (check_int): Do not check numerical result if flag IGNORE_RESULT
27220         set.
27221         (check_long): Likewise.
27222         (check_bool): Likewise.
27223         (check_longlong): Likewise.
27224         (lrint_test_data): Add tests of infinite and NaN arguments.
27225         (lrint_tonearest_test_data): Likewise.
27226         (lrint_towardzero_test_data): Likewise.
27227         (lrint_downward_test_data): Likewise.
27228         (lrint_upward_test_data): Likewise.
27229         (llrint_test_data): Likewise.
27230         (llrint_tonearest_test_data): Likewise.
27231         (llrint_towardzero_test_data): Likewise.
27232         (llrint_downward_test_data): Likewise.
27233         (llrint_upward_test_data): Likewise.
27234         (lround_test_data): Likewise.
27235         (llround_test_data): Likewise.
27237         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27238         (ERRNO_UNCHANGED): Update value.
27239         (ERRNO_EDOM): Likewise.
27240         (ERRNO_ERANGE): Likewise.
27241         (NO_TEST_INLINE_FLOAT): New macro.
27242         (NO_TEST_INLINE_DOUBLE): Likewise.
27243         (enable_test): New function.
27244         (RUN_TEST_f_f): Check enable_test before running test.
27245         (RUN_TEST_2_f): Likewise.
27246         (RUN_TEST_fff_f): Likewise.
27247         (RUN_TEST_c_f): Likewise.
27248         (RUN_TEST_f_f1): Likewise.
27249         (RUN_TEST_fF_f1): Likewise.
27250         (RUN_TEST_fI_f1): Likewise.
27251         (RUN_TEST_ffI_f1): Likewise.
27252         (RUN_TEST_c_c): Likewise.
27253         (RUN_TEST_cc_c): Likewise.
27254         (RUN_TEST_f_i): Likewise.
27255         (RUN_TEST_f_i_tg): Likewise.
27256         (RUN_TEST_ff_i_tg): Likewise.
27257         (RUN_TEST_f_b): Likewise.
27258         (RUN_TEST_f_b_tg): Likewise.
27259         (RUN_TEST_f_l): Likewise.
27260         (RUN_TEST_f_L): Likewise.
27261         (RUN_TEST_fFF_11): Likewise.
27262         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27263         conditionals.
27264         (cosh_test_data): Likewise.
27265         (exp_test_data): Likewise.
27266         (expm1_test_data): Likewise.
27267         (hypot_test_data): Likewise.
27268         (pow_test_data): Likewise.
27269         (sinh_test_data): Likewise.
27270         (tanh_test_data): Likewise.
27271         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27272         flags argument.
27274         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27275         tests with quiet NaN input and output.
27276         (acosh_test_data): Likewise.
27277         (asin_test_data): Likewise.
27278         (asinh_test_data): Likewise.
27279         (atan_test_data): Likewise.
27280         (atanh_test_data): Likewise.
27281         (atan2_test_data): Likewise.
27282         (cbrt_test_data): Likewise.
27283         (cos_test_data): Likewise.
27284         (cosh_test_data): Likewise.
27285         (erf_test_data): Likewise.
27286         (erfc_test_data): Likewise.
27287         (exp_test_data): Likewise.
27288         (exp10_test_data): Likewise.
27289         (exp2_test_data): Likewise.
27290         (expm1_test_data): Likewise.
27291         (hypot_test_data): Likewise.
27292         (j0_test_data): Likewise.
27293         (j1_test_data): Likewise.
27294         (jn_test_data): Likewise.
27295         (lgamma_test_data): Likewise.
27296         (log_test_data): Likewise.
27297         (log10_test_data): Likewise.
27298         (log1p_test_data): Likewise.
27299         (log2_test_data): Likewise.
27300         (pow_test_data): Likewise.
27301         (scalb_test_data): Likewise.
27302         (sin_test_data): Likewise.
27303         (sincos_test_data): Likewise.
27304         (sinh_test_data): Likewise.
27305         (tan_test_data): Likewise.
27306         (tanh_test_data): Likewise.
27307         (tgamma_test_data): Likewise.
27308         (y0_test_data): Likewise.
27309         (y1_test_data): Likewise.
27310         (yn_test_data): Likewise.
27312         [BZ #16167]
27313         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27314         argument being NaN and avoid computations with second argument in
27315         that case.
27316         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27317         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27318         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27320 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27322         * locale/iso-639.def: Add Chitwani Tharu (the).
27324 2013-11-14  Andreas Schwab  <schwab@suse.de>
27326         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27327         word instead of empty string.
27329 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27332         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27334         (__fe_nomask_env): Likewise.
27336 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27338         * benchtests/bench-timing.h: Include time.h.
27340 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27342         [BZ #15997]
27343         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27344         to 3.4.0 for x32.
27345         * sysdeps/unix/sysv/linux/configure: Regenerated.
27347 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27349         [BZ #16151]
27350         * stdlib/strtod_l.c (round_and_return): Do not consider
27351         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27352         exponent one less than half the least subnormal exponent.
27353         * stdlib/test-strtod-round-data: Add more tests.
27354         * stdlib/tst-strtod-round.c (tests): Regenerated.
27356 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27358         [BZ #14143]
27359         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27360         (__fe_mask_env): Likewise.
27361         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27362         libm_hidden_proto and add function prototype.
27363         (__fe_mask_env): Add function prototype.
27364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27365         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27367         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27369         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27371 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27373         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27374         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27376 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27378         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27379         of htab_find_slot().
27381 2013-11-11  David S. Miller  <davem@davemloft.net>
27383         [BZ #16150]
27384         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27385         symbol in the non-vis3 case in static builds.
27386         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27387         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27388         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27389         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27391 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27393         [BZ #387]
27394         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27395         it is empty.
27397 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27399         * benchtests/Makefile: Add bench-strtod.
27400         * benchtests/bench-strtod.c: New file: strtod benchtest
27402 2013-11-11  Andreas Schwab  <schwab@suse.de>
27404         [BZ #16153]
27405         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27406         terminating NUL in key length.
27408 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27410         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27411         Add artificial ODP entry for vDSO symbol for PPC64.
27412         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27413         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27415 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27417         [BZ #15374]
27418         * nss/getent.c (services_keys): Recognize services starting with digit.
27420 2013-11-06  David S. Miller  <davem@davemloft.net>
27422         [BZ #15985]
27423         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27424         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27426 2013-11-06  Will Newton  <will.newton@linaro.org>
27428         * manual/memory.texi (Malloc Examples): Remove register
27429         keyword from examples.
27431 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27433         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27435 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27437         [BZ #6981]
27438         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27439         depending on [__GCC_IEC_559 > 0].
27440         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27441         depending on [__GCC_IEC_559_COMPLEX > 0].
27443 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27445         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27446         to iso-639.def.
27448 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27450         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27452 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27454         [BZ #16112]
27455         * malloc/malloc (malloc_info): Do not handle first bin as
27456         special case.
27458 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27460         * locale/iso-639.def: Add Central Nahuatl (nhn).
27462 2013-11-01  Bruno Haible  <bruno@clisp.org>
27464         [BZ #7003]
27465         * manual/math.texi (BSD Random): Specify range upper bound as
27466         in POSIX.
27468 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27470         * locale/iso-639.def: Add Meadow Mari (mhr).
27472 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27474         [BZ #14752], [BZ #15763]
27475         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27476         Validate name.
27477         * rt/tst_shm.c: Add test for escaping directory.
27479 2013-10-31  Andreas Schwab  <schwab@suse.de>
27481         [BZ #15917]
27482         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27483         followed by 'x' as part of digit sequence.
27484         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27486 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27488         [BZ #16037]
27489         * configure.ac: allow GNU Make 4.0 and greater.
27490         * configure: Regenerated.
27492 2013-10-30  Will Newton  <will.newton@linaro.org>
27494         [BZ #16038]
27495         * malloc/hooks.c (memalign_check): Limit alignment to the
27496         maximum representable power of two.
27497         * malloc/malloc.c (__libc_memalign): Likewise.
27498         * malloc/tst-memalign.c (do_test): Add test for very
27499         large alignment values.
27500         * malloc/tst-posix_memalign.c (do_test): Likewise.
27502 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27504         [BZ #11087]
27505         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27506         (munmap_chunk): Likewise.
27507         (mremap_chunk): Likewise.
27509 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27511         [BZ #15799]
27512         * stdlib/div.c (div): Remove obsolete code.
27513         * stdlib/ldiv.c (ldiv): Likewise.
27514         * stdlib/lldiv.c (lldiv): Likewise.
27516 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27518         [BZ #16071]
27519         * nss/nss_files/files-XXX.c (get_contents_ret): New
27520         enumerator.
27521         (get_contents): New function.
27522         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27524 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27526         * configure.in: Moved to ...
27527         * configure.ac: ... here. Change reference to configure.in
27528         to configure.ac.
27529         * sysdeps/arm/preconfigure.ac: ... here.
27530         configure.in to configure.ac.
27531         * sysdeps/gnu/configure.in: Moved to ...
27532         * sysdeps/gnu/configure.ac: ... here.
27533         * sysdeps/i386/configure.in: Moved to ...
27534         * sysdeps/i386/configure.ac: ... here.
27535         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27536         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27537         * sysdeps/mach/configure.in: Moved to ...
27538         * sysdeps/mach/configure.ac: ... here.
27539         * sysdeps/mach/hurd/configure.in: Moved to ...
27540         * sysdeps/mach/hurd/configure.ac: ... here.
27541         * sysdeps/powerpc/configure.in: Moved to ...
27542         * sysdeps/powerpc/configure.ac: ... here.
27543         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27544         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27545         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27546         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27547         * sysdeps/s390/s390-32/configure.in: Moved to ...
27548         * sysdeps/s390/s390-32/configure.ac: ... here.
27549         * sysdeps/s390/s390-64/configure.in: Moved to ...
27550         * sysdeps/s390/s390-64/configure.ac: ... here.
27551         * sysdeps/sh/configure.in: Moved to ...
27552         * sysdeps/sh/configure.ac: ... here.
27553         * sysdeps/sparc/configure.in: Moved to ...
27554         * sysdeps/sparc/configure.ac: ... here.
27555         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27556         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27557         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27558         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27559         * sysdeps/x86_64/configure.in: Moved to ...
27560         * sysdeps/x86_64/configure.ac: ... here.
27561         * sysdeps/x86_64/preconfigure.in: Moved to ...
27562         * sysdeps/x86_64/preconfigure.ac: ... here.
27563         * aclocal.m4: Change reference to configure.in to configure.ac.
27564         * config.h.in: Likewise.
27565         * manual/install.texi: Likewise.
27566         * manual/maint.texi: Likewise.
27567         * Makefile: Likewise.
27568         * malloc/Makefile: Likewise.
27569         * nscd/Makefile: Likewise.
27570         * Makeconfig: Change reference to configure.in and
27571         preconfigure.in to configure.ac and preconfigure.ac
27572         respectively.
27573         * INSTALL: Regenerated.
27574         * configure: Likewise.
27575         * sysdeps/gnu/configure: Likewise.
27576         * sysdeps/i386/configure: Likewise.
27577         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27578         * sysdeps/mach/configure: Likewise.
27579         * sysdeps/mach/hurd/configure: Likewise.
27580         * sysdeps/powerpc/configure: Likewise.
27581         * sysdeps/powerpc/powerpc32/configure: Likewise.
27582         * sysdeps/powerpc/powerpc64/configure: Likewise.
27583         * sysdeps/s390/s390-32/configure: Likewise.
27584         * sysdeps/s390/s390-64/configure: Likewise.
27585         * sysdeps/sh/configure: Likewise.
27586         * sysdeps/sparc/configure: Likewise.
27587         * sysdeps/unix/sysv/linux/configure: Likewise.
27588         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27589         * sysdeps/x86_64/configure: Likewise.
27590         * sysdeps/x86_64/preconfigure: Likewise.
27592 2013-10-29  Andreas Schwab  <schwab@suse.de>
27594         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27596 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27598         * benchtests/pow-inputs: Add new inputs.
27600         * benchtests/exp-inputs: Add new inputs.
27602         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27603         conditional check for return value.
27604         (__cos32): Likewise.
27606 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27608         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27609         to provide a boost for large inputs with word alignment.
27610         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27611         implementation based on optimized PPC64 strcpy.
27612         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27613         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27614         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27615         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27617 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27619         [BZ #2801]
27620         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27622 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27624         [BZ #14876]
27625         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27626         * time/tst-strptime.c (day_tests): Add testcase.
27628 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27630         [BZ #14029]
27631         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27633 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27635         [BZ #16074]
27636         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27637         MAP_FAILED on error.
27639 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27641         [BZ #16072]
27642         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27643         heap for large requests.
27645 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27647         [BZ #9954]
27648         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27649         result if the result has no associated interface.
27650         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27651         interface for all 127.X.Y.Z addresses.
27653 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27655         * locale/iso-639.def: Add Ligurian (lij)
27657 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27659         [BZ #15825]
27660         * sunrpc/rpc_main.c: Document rpcgen -5.
27662 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27664         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27666 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27668         [BZ #10278]
27669         * posix/glob.c: Match only directories when trailing slash is present.
27670         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27671         (main): Add testcase.
27673 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27675         [BZ #15670]
27676         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27678 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27680         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27681         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27682         AUTH_DES and cindex for FIPS 140-2.
27683         (DES Encryption): Add cindex FIPS 46-3.
27685         * locale/locarchive.h (struct locarhandle): Add fname.
27686         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27687         if an optional argument was specified to --list-archive,
27688         otherwise NULL.
27689         * locale/programs/locarchive.c (show_archive_content): Take new
27690         argument fname and pass it via ah.fname to open_archive.
27691         * locale/programs/localedef.h: Update decl.
27692         (open_archive): If AH->fname is non-null, open that file
27693         rather than the default file name, and don't ignore ENOENT.
27694         (create_archive): Set AH.fname to NULL.
27695         (delete_locales_from_archive): Likewise.
27696         (add_locales_to_archive): Likewise.
27697         * locale/programs/locfile.c (write_all_categories): Likewise.
27699 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27700             Aldy Hernandez  <aldyh@redhat.com>
27702         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27703         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27704         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27705         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27706         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27709         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27710         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27712         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27713         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27714         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27715         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27716         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27717         Likewise.
27718         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27719         Likewise.
27720         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27721         Likewise.
27722         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27723         Likewise.
27724         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27725         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27726         Likewise.
27727         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27728         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27729         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27730         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27731         Likewise.
27732         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27733         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27734         * sysdeps/powerpc/preconfigure: Likewise.
27735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27736         Likewise.
27737         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27738         Replace contents of file by #include of <fenv_libc.h>.
27739         * sysdeps/powerpc/soft-fp/sfp-machine.h
27740         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27741         and <sys/prctl.h>.
27742         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27745         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27751         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27752         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27753         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27755         Allow copysignl PLT reference to be missing.
27757 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27758             Joseph Myers  <joseph@codesourcery.com
27760         [BZ #15948]
27761         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27762         single character.
27763         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27765 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27767         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27768         * elf/tst-tls1.c: Likewise.
27769         * elf/tst-tls10.h: Likewise.
27770         * elf/tst-tls14.c: Likewise.
27771         * elf/tst-tls2.c: Likewise.
27772         * elf/tst-tls3.c: Likewise.
27773         * elf/tst-tls4.c: Likewise.
27774         * elf/tst-tls5.c: Likewise.
27775         * elf/tst-tls6.c: Likewise.
27776         * elf/tst-tls7.c: Likewise.
27777         * elf/tst-tls8.c: Likewise.
27778         * elf/tst-tls9.c: Likewise.
27779         * elf/tst-tlsmod1.c: Likewise.
27780         * elf/tst-tlsmod13.c: Likewise.
27781         * elf/tst-tlsmod13a.c: Likewise.
27782         * elf/tst-tlsmod14a.c: Likewise.
27783         * elf/tst-tlsmod16a.c: Likewise.
27784         * elf/tst-tlsmod16b.c: Likewise.
27785         * elf/tst-tlsmod2.c: Likewise.
27786         * elf/tst-tlsmod3.c: Likewise.
27787         * elf/tst-tlsmod4.c: Likewise.
27788         * elf/tst-tlsmod5.c: Likewise.
27789         * elf/tst-tlsmod6.c: Likewise.
27791 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27793         [BZ #12486]
27794         * malloc/malloc.c: remove checks for statistics.
27796 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27798         [BZ #15277]
27799         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27800         * inet/tst-network.c: Add testcase.
27802 2013-10-17  Andreas Schwab  <schwab@suse.de>
27804         [BZ #15218]
27805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27806         to determine canonical name.
27808 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27810         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27811         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27813         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27815         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27816         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27817         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27818         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27819         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27820         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27821         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27822         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27823         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27824         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27825         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27827         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27828         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27829         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27830         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27832         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27833         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27834         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27835         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27836         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27837         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27838         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27839         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27840         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27841         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27842         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27843         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27844         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27845         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27846         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27847         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27848         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27849         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27850         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27851         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27852         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27853         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27854         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27855         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27856         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27857         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27858         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27859         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27860         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27861         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27862         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27863         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27864         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27865         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27866         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27867         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27869 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27871         [BZ #16041]
27872         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27873         make result into a quiet NaN.
27875 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27877         * soft-fp/adddf3.c: Fix horizontal whitespace.
27878         * soft-fp/addsf3.c: Likewise.
27879         * soft-fp/addtf3.c: Likewise.
27880         * soft-fp/divdf3.c: Likewise.
27881         * soft-fp/divsf3.c: Likewise.
27882         * soft-fp/divtf3.c: Likewise.
27883         * soft-fp/double.h: Likewise.
27884         * soft-fp/eqdf2.c: Likewise.
27885         * soft-fp/eqsf2.c: Likewise.
27886         * soft-fp/eqtf2.c: Likewise.
27887         * soft-fp/extenddftf2.c: Likewise.
27888         * soft-fp/extended.h: Likewise.
27889         * soft-fp/extendsfdf2.c: Likewise.
27890         * soft-fp/extendsftf2.c: Likewise.
27891         * soft-fp/extendxftf2.c: Likewise.
27892         * soft-fp/fixdfdi.c: Likewise.
27893         * soft-fp/fixdfsi.c: Likewise.
27894         * soft-fp/fixdfti.c: Likewise.
27895         * soft-fp/fixsfdi.c: Likewise.
27896         * soft-fp/fixsfsi.c: Likewise.
27897         * soft-fp/fixsfti.c: Likewise.
27898         * soft-fp/fixtfdi.c: Likewise.
27899         * soft-fp/fixtfsi.c: Likewise.
27900         * soft-fp/fixtfti.c: Likewise.
27901         * soft-fp/fixunsdfdi.c: Likewise.
27902         * soft-fp/fixunsdfsi.c: Likewise.
27903         * soft-fp/fixunsdfti.c: Likewise.
27904         * soft-fp/fixunssfdi.c: Likewise.
27905         * soft-fp/fixunssfsi.c: Likewise.
27906         * soft-fp/fixunssfti.c: Likewise.
27907         * soft-fp/fixunstfdi.c: Likewise.
27908         * soft-fp/fixunstfsi.c: Likewise.
27909         * soft-fp/fixunstfti.c: Likewise.
27910         * soft-fp/floatdidf.c: Likewise.
27911         * soft-fp/floatdisf.c: Likewise.
27912         * soft-fp/floatditf.c: Likewise.
27913         * soft-fp/floatsidf.c: Likewise.
27914         * soft-fp/floatsisf.c: Likewise.
27915         * soft-fp/floatsitf.c: Likewise.
27916         * soft-fp/floattidf.c: Likewise.
27917         * soft-fp/floattisf.c: Likewise.
27918         * soft-fp/floattitf.c: Likewise.
27919         * soft-fp/floatundidf.c: Likewise.
27920         * soft-fp/floatundisf.c: Likewise.
27921         * soft-fp/floatunditf.c: Likewise.
27922         * soft-fp/floatunsidf.c: Likewise.
27923         * soft-fp/floatunsisf.c: Likewise.
27924         * soft-fp/floatunsitf.c: Likewise.
27925         * soft-fp/floatuntidf.c: Likewise.
27926         * soft-fp/floatuntisf.c: Likewise.
27927         * soft-fp/floatuntitf.c: Likewise.
27928         * soft-fp/fmadf4.c: Likewise.
27929         * soft-fp/fmasf4.c: Likewise.
27930         * soft-fp/fmatf4.c: Likewise.
27931         * soft-fp/gedf2.c: Likewise.
27932         * soft-fp/gesf2.c: Likewise.
27933         * soft-fp/getf2.c: Likewise.
27934         * soft-fp/ledf2.c: Likewise.
27935         * soft-fp/lesf2.c: Likewise.
27936         * soft-fp/letf2.c: Likewise.
27937         * soft-fp/muldf3.c: Likewise.
27938         * soft-fp/mulsf3.c: Likewise.
27939         * soft-fp/multf3.c: Likewise.
27940         * soft-fp/negdf2.c: Likewise.
27941         * soft-fp/negsf2.c: Likewise.
27942         * soft-fp/negtf2.c: Likewise.
27943         * soft-fp/op-1.h: Likewise.
27944         * soft-fp/op-2.h: Likewise.
27945         * soft-fp/op-4.h: Likewise.
27946         * soft-fp/op-8.h: Likewise.
27947         * soft-fp/op-common.h: Likewise.
27948         * soft-fp/quad.h: Likewise.
27949         * soft-fp/single.h: Likewise.
27950         * soft-fp/soft-fp.h: Likewise.
27951         * soft-fp/sqrtdf2.c: Likewise.
27952         * soft-fp/sqrtsf2.c: Likewise.
27953         * soft-fp/sqrttf2.c: Likewise.
27954         * soft-fp/subdf3.c: Likewise.
27955         * soft-fp/subsf3.c: Likewise.
27956         * soft-fp/subtf3.c: Likewise.
27957         * soft-fp/truncdfsf2.c: Likewise.
27958         * soft-fp/trunctfdf2.c: Likewise.
27959         * soft-fp/trunctfsf2.c: Likewise.
27960         * soft-fp/trunctfxf2.c: Likewise.
27961         * soft-fp/unorddf2.c: Likewise.
27962         * soft-fp/unordsf2.c: Likewise.
27963         * soft-fp/unordtf2.c: Likewise.
27965 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27967         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27968         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27970 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27972         * elf/dl-libc.c: Clear initfini list after freeing.
27974 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27976         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27977         * soft-fp/addsf3.c: Likewise.
27978         * soft-fp/addtf3.c: Likewise.
27979         * soft-fp/divdf3.c: Likewise.
27980         * soft-fp/divsf3.c: Likewise.
27981         * soft-fp/divtf3.c: Likewise.
27982         * soft-fp/double.h: Likewise.
27983         * soft-fp/eqdf2.c: Likewise.
27984         * soft-fp/eqsf2.c: Likewise.
27985         * soft-fp/eqtf2.c: Likewise.
27986         * soft-fp/extenddftf2.c: Likewise.
27987         * soft-fp/extended.h: Likewise.
27988         * soft-fp/extendsfdf2.c: Likewise.
27989         * soft-fp/extendsftf2.c: Likewise.
27990         * soft-fp/extendxftf2.c: Likewise.
27991         * soft-fp/fixdfdi.c: Likewise.
27992         * soft-fp/fixdfsi.c: Likewise.
27993         * soft-fp/fixdfti.c: Likewise.
27994         * soft-fp/fixsfdi.c: Likewise.
27995         * soft-fp/fixsfsi.c: Likewise.
27996         * soft-fp/fixsfti.c: Likewise.
27997         * soft-fp/fixtfdi.c: Likewise.
27998         * soft-fp/fixtfsi.c: Likewise.
27999         * soft-fp/fixtfti.c: Likewise.
28000         * soft-fp/fixunsdfdi.c: Likewise.
28001         * soft-fp/fixunsdfsi.c: Likewise.
28002         * soft-fp/fixunsdfti.c: Likewise.
28003         * soft-fp/fixunssfdi.c: Likewise.
28004         * soft-fp/fixunssfsi.c: Likewise.
28005         * soft-fp/fixunssfti.c: Likewise.
28006         * soft-fp/fixunstfdi.c: Likewise.
28007         * soft-fp/fixunstfsi.c: Likewise.
28008         * soft-fp/fixunstfti.c: Likewise.
28009         * soft-fp/floatdidf.c: Likewise.
28010         * soft-fp/floatdisf.c: Likewise.
28011         * soft-fp/floatditf.c: Likewise.
28012         * soft-fp/floatsidf.c: Likewise.
28013         * soft-fp/floatsisf.c: Likewise.
28014         * soft-fp/floatsitf.c: Likewise.
28015         * soft-fp/floattidf.c: Likewise.
28016         * soft-fp/floattisf.c: Likewise.
28017         * soft-fp/floattitf.c: Likewise.
28018         * soft-fp/floatundidf.c: Likewise.
28019         * soft-fp/floatundisf.c: Likewise.
28020         * soft-fp/floatunsidf.c: Likewise.
28021         * soft-fp/floatunsisf.c: Likewise.
28022         * soft-fp/floatuntidf.c: Likewise.
28023         * soft-fp/floatuntisf.c: Likewise.
28024         * soft-fp/floatuntitf.c: Likewise.
28025         * soft-fp/fmadf4.c: Likewise.
28026         * soft-fp/fmasf4.c: Likewise.
28027         * soft-fp/fmatf4.c: Likewise.
28028         * soft-fp/gedf2.c: Likewise.
28029         * soft-fp/gesf2.c: Likewise.
28030         * soft-fp/getf2.c: Likewise.
28031         * soft-fp/ledf2.c: Likewise.
28032         * soft-fp/lesf2.c: Likewise.
28033         * soft-fp/letf2.c: Likewise.
28034         * soft-fp/muldf3.c: Likewise.
28035         * soft-fp/mulsf3.c: Likewise.
28036         * soft-fp/multf3.c: Likewise.
28037         * soft-fp/negdf2.c: Likewise.
28038         * soft-fp/negsf2.c: Likewise.
28039         * soft-fp/negtf2.c: Likewise.
28040         * soft-fp/op-1.h: Likewise.
28041         * soft-fp/op-2.h: Likewise.
28042         * soft-fp/op-4.h: Likewise.
28043         * soft-fp/op-8.h: Likewise.
28044         * soft-fp/op-common.h: Likewise.
28045         * soft-fp/quad.h: Likewise.
28046         * soft-fp/single.h: Likewise.
28047         * soft-fp/soft-fp.h: Likewise.
28048         * soft-fp/sqrtdf2.c: Likewise.
28049         * soft-fp/sqrtsf2.c: Likewise.
28050         * soft-fp/sqrttf2.c: Likewise.
28051         * soft-fp/subdf3.c: Likewise.
28052         * soft-fp/subsf3.c: Likewise.
28053         * soft-fp/subtf3.c: Likewise.
28054         * soft-fp/truncdfsf2.c: Likewise.
28055         * soft-fp/trunctfdf2.c: Likewise.
28056         * soft-fp/trunctfsf2.c: Likewise.
28057         * soft-fp/trunctfxf2.c: Likewise.
28058         * soft-fp/unorddf2.c: Likewise.
28059         * soft-fp/unordsf2.c: Likewise.
28060         * soft-fp/unordtf2.c: Likewise.
28062 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28064         [BZ #15672]
28065         * misc/error.c (error_tail): Fix possible buffer overflow.
28067 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28069         [BZ #13028]
28070         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28071         address.
28073 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28075         [BZ #832]
28076         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28077         testing pipefail option.
28079 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28081         * soft-fp/double.h: Indent preprocessor directives inside #if.
28082         * soft-fp/extended.h: Likewise.
28083         * soft-fp/op-2.h: Likewise.
28084         * soft-fp/op-4.h: Likewise.
28085         * soft-fp/op-common.h: Likewise.
28086         * soft-fp/quad.h: Likewise.
28087         * soft-fp/single.h: Likewise.
28088         * soft-fp/soft-fp.h: Likewise.
28090 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28092         * iconv/iconv_prog.c: Fix typos.
28093         * stdio-common/psiginfo-data.h: Likewise.
28095 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28097         [BZ #15764]
28098         * locale/setlocale.c: Fix typo.
28100 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28102         [BZ #16036]
28103         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28104         signaling NaN arguments.
28105         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28106         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28108         [BZ #14910]
28109         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28110         unordered operands.
28111         * soft-fp/gesf2.c (__gesf2): Likewise.
28112         * soft-fp/getf2.c (__getf2): Likewise.
28113         * soft-fp/ledf2.c (__ledf2): Likewise.
28114         * soft-fp/lesf2.c (__lesf2): Likewise.
28115         * soft-fp/letf2.c (__letf2): Likewise.
28117         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28118         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28119         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28120         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28121         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28122         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28123         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28124         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28125         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28126         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28127         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28128         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28129         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28130         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28131         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28132         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28133         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28134         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28135         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28136         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28137         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28138         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28139         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28140         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28141         * soft-fp/floattidf.c (__floattidf): Likewise.
28142         * soft-fp/floattisf.c (__floattisf): Likewise.
28143         * soft-fp/floattitf.c (__floattitf): Likewise.
28144         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28145         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28146         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28147         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28148         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28149         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28150         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28151         * soft-fp/gesf2.c (__gesf2): Likewise.
28152         * soft-fp/getf2.c (__getf2): Likewise.
28153         * soft-fp/ledf2.c (__ledf2): Likewise.
28154         * soft-fp/lesf2.c (__lesf2): Likewise.
28155         * soft-fp/letf2.c (__letf2): Likewise.
28157         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28158         Undefine and redefine.
28159         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28160         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28161         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28162         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28163         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28164         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28165         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28166         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28167         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28168         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28169         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28170         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28171         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28172         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28173         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28175         [BZ #16032]
28176         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28177         without decrementing exponent if mantissa >= that for the
28178         denominator, not >.
28179         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28180         denominator, not >.  Decrement exponent in < case instead of
28181         incrementing in >= case.
28182         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28183         without decrementing exponent if mantissa >= that for the
28184         denominator, not >.
28186         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28187         computing saturated result for unsigned overflow.
28189 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28190             Jeff Law  <law@redhat.com>
28192         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28193         (atan2Mp): Add systemtap probe marker.
28194         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28195         (__ieee754_log): Add systemtap probe marker.
28196         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28197         (atanMp): Add systemtap probe marker.
28198         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28199         (tanMp): Add systemtap probe marker.
28200         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28201         (__slowexp): Add systemtap probe marker.
28202         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28203         (__slowpow): Add systemtap probe marker.
28204         * manual/probes.texi: Document probes.
28206 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28208         [BZ #15362]
28209         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28210         written.
28211         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28212         written.
28213         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28214         written to buffer but not flushed.
28215         * libio/iofwrite_u.c:  Likewise.
28216         * libio/iopadn.c:  Return bytes returned even if EOF was
28217         encountered.
28218         * libio/iowpadn.c:  Likewise.
28219         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28220         if _IO_padn does not write the whole buffer.
28221         [!COMPILE_WPRINTF] (PAD): Likewise.
28223 2013-10-10  David S. Miller  <davem@davemloft.net>
28225         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28226         directory block.
28228 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28230         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28231         instead of FSF address.
28232         * soft-fp/fixdfti.c: Likewise.
28233         * soft-fp/fixsfti.c: Likewise.
28234         * soft-fp/fixtfti.c: Likewise.
28235         * soft-fp/fixunsdfti.c: Likewise.
28236         * soft-fp/fixunssfti.c: Likewise.
28237         * soft-fp/fixunstfti.c: Likewise.
28238         * soft-fp/floattidf.c: Likewise.
28239         * soft-fp/floattisf.c: Likewise.
28240         * soft-fp/floattitf.c: Likewise.
28241         * soft-fp/floatuntidf.c: Likewise.
28242         * soft-fp/floatuntisf.c: Likewise.
28243         * soft-fp/floatuntitf.c: Likewise.
28244         * soft-fp/trunctfxf2.c: Likewise.
28246         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28247         * soft-fp/fixdfti.c: Likewise.
28248         * soft-fp/fixsfti.c: Likewise.
28249         * soft-fp/fixtfti.c: Likewise.
28250         * soft-fp/fixunsdfti.c: Likewise.
28251         * soft-fp/fixunssfti.c: Likewise.
28252         * soft-fp/fixunstfti.c: Likewise.
28253         * soft-fp/floattidf.c: Likewise.
28254         * soft-fp/floattisf.c: Likewise.
28255         * soft-fp/floattitf.c: Likewise.
28256         * soft-fp/floatuntidf.c: Likewise.
28257         * soft-fp/floatuntisf.c: Likewise.
28258         * soft-fp/floatuntitf.c: Likewise.
28259         * soft-fp/trunctfxf2.c: Likewise.
28261 2013-10-10  David S. Miller  <davem@davemloft.net>
28263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28265 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28267         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28268         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28269         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28270         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28271         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28272         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28273         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28276         for NaNs before doing comparisons on argument.
28277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28278         Likewise.
28280 2013-10-10  Will Newton  <will.newton@linaro.org>
28282         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28283         passed to _int_memalign does not overflow.
28285 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28287         * scripts/bench.pl: Add include-sources directive.
28288         * benchtests/README: Update documentation.
28290 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28292         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28293         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28294         instead of FP_INIT_ROUNDMODE.
28295         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28296         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28298         [BZ #16034]
28299         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28300         copy class of input value.
28301         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28302         not handle exceptions.
28303         * soft-fp/negsf2.c (__negsf2): Likewise.
28304         * soft-fp/negtf2.c (__negtf2): Likewise.
28305         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28307 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28309         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28310         semicolon.  From Linux kernel.
28312 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28314         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28316 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28318         [BZ #156]
28319         * manual/socket.texi: Added statement about buffer
28320         for gethostbyname2_r.
28322 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28324         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28325         Use .p2align directive instead, throughout.
28326         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28327         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28328         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28329         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28330         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28331         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28332         * sysdeps/x86_64/strchr.S: Likewise.
28333         * sysdeps/x86_64/strrchr.S: Likewise.
28335 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28337         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28339         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28341         * sysdeps/generic/math_private.h (__mpsin1): Remove
28342         declaration.
28343         (__mpcos1): Likewise.
28344         (__mpsin): New argument __range_reduce.
28345         (__mpcos): Likewise.
28346         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28347         (slow): Use __mpsin and __mpcos.
28348         (slow1): Likewise.
28349         (slow2): Likewise.
28350         (sloww): Likewise.
28351         (sloww1): Likewise.
28352         (sloww2): Likewise.
28353         (bsloww): Likewise.
28354         (bsloww1): Likewise.
28355         (bsloww2): Likewise.
28356         (cslow2): Likewise.
28357         (csloww): Likewise.
28358         (csloww1): Likewise.
28359         (csloww2): Likewise.
28360         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28361         range_reduce.  Merge in __mpsin1.
28362         (__mpcos): Likewise.
28363         (__mpsin1): Remove.
28364         (__mpcos1): Likewise.
28366 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28368         * locale/loadlocale.c (_nl_intern_locale_data): Use
28369         LOCFILE_ALIGNED_P.
28370         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28371         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28372         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28373         obstack data is appropriately aligned.
28374         (obstack_int32_grow_fast): Likewise.
28375         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28376         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28377         (add_locale_uint32_array): Likewise.
28379 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28381         * benchtests/Makefile: Remove ARGLIST and RET variables.
28382         ($(objpfx)bench-%.c): Pass only function name to the script.
28383         * benchtests/README: Update documentation.
28384         * benchtests/acos-inputs: Add new directives.
28385         * benchtests/acosh-inputs: Likewise.
28386         * benchtests/asin-inputs: Likewise.
28387         * benchtests/asinh-inputs: Likewise.
28388         * benchtests/atan-inputs: Likewise.
28389         * benchtests/atanh-inputs: Likewise.
28390         * benchtests/cos-inputs: Likewise.
28391         * benchtests/cosh-inputs: Likewise.
28392         * benchtests/exp-inputs: Likewise.
28393         * benchtests/log-inputs: Likewise.
28394         * benchtests/pow-inputs: Likewise.
28395         * benchtests/rint-inputs: Likewise.
28396         * benchtests/sin-inputs: Likewise.
28397         * benchtests/sinh-inputs: Likewise.
28398         * benchtests/tan-inputs: Likewise.
28399         * benchtests/tanh-inputs: Likewise.
28400         * scripts/bench.pl: Add support for new directives.
28402 2013-10-07  Alan Modra  <amodra@gmail.com>
28404         * README: Fix careless merge.
28406 2013-10-05  Alan Modra  <amodra@gmail.com>
28408         * NEWS: Mention powerpc64le support and bugs fixed.
28409         * README: Both big-endian and little-endian powerpc64 supported.
28411 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28413         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28414         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28415         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28416         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28418 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28420         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28421         match prototype.
28423 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28425         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28426         Move -mhard-float appending from
28427         ports/sysdeps/powerpc/powerpc32/Makefile.
28428         [$(with-fp) = yes] (ASFLAGS): Likewise.
28429         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28430         * sysdeps/powerpc/nofpu: Move directory from
28431         ports/sysdeps/powerpc/nofpu.
28432         * sysdeps/powerpc/soft-fp: Move directory from
28433         ports/sysdeps/powerpc/soft-fp.
28434         * sysdeps/powerpc/powerpc32/405: Move directory from
28435         ports/sysdeps/powerpc/powerpc32/405.
28436         * sysdeps/powerpc/powerpc32/440: Move directory from
28437         ports/sysdeps/powerpc/powerpc32/440.
28438         * sysdeps/powerpc/powerpc32/464: Move directory from
28439         ports/sysdeps/powerpc/powerpc32/464.
28440         * sysdeps/powerpc/powerpc32/476: Move directory from
28441         ports/sysdeps/powerpc/powerpc32/476.
28442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28443         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28445         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28447         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28449         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28451         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28452         * README: Update for powerpc-*-linux-gnu software floating point
28453         support in libc.
28455         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28456         case to powerpc/powerpc32*.
28457         * sysdeps/unix/sysv/linux/configure: Regenerated.
28459         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28460         (_FPU_MASK_OM): Define as 0x04.
28461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28463         0x00c10080.
28464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28465         0x0000003c.
28466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28469         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28470         getcontext_e500.
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28472         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28473         setcontext_e500.
28474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28475         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28476         and setcontext_e500.
28478 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28480         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28482 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28484         * manual/threads.texi (Default Thread Attributes): Fix typo.
28486 2013-10-04  Will Newton  <will.newton@linaro.org>
28488         * malloc/Makefile: Add tst-memalign.
28489         * malloc/tst-memalign.c: New file.
28491         * malloc/tst-posix_memalign.c: Add comments.
28492         (do_test): Add comments and call free on all potentially
28493         allocated pointers. Add space after cast.
28495         * malloc/tst-pvalloc.c: Add comments.
28496         (do_test): Add comments and call free on all potentially
28497         allocated pointers. Remove duplicate check for NULL pointer.
28498         Add space after cast.
28500         * malloc/tst-valloc.c: Add comments.
28501         (do_test): Add comments and call free on all potentially
28502         allocated pointers. Remove duplicate check for NULL pointer.
28503         Add space after cast.
28505 2013-10-04  Alan Modra  <amodra@gmail.com>
28507         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28508         Use stdint types in rather than __attribute__((mode())).
28509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28511 2013-10-04  Alan Modra  <amodra@gmail.com>
28513         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28514         Correct handling of unaligned relocs for little-endian.
28515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28517 2013-10-04  Alan Modra  <amodra@gmail.com>
28519         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28520         * configure: Regenerate.
28521         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28522         * shlib-versions: Likewise.
28524 2013-10-04  Alan Modra  <amodra@gmail.com>
28526         * string/tester.c (test_memrchr): Increment reported test cycle.
28528 2013-10-04  Alan Modra  <amodra@gmail.com>
28530         * string/test-memcpy.c (do_one_test): When reporting errors, print
28531         string address and don't overrun end of string.
28533 2013-10-04  Alan Modra  <amodra@gmail.com>
28535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28536         insrdi.  Make better use of reg selection to speed exit slightly.
28537         Schedule entry path a little better.  Remove useless "are we done"
28538         checks on entry to main loop.  Handle wrapping around zero address.
28539         Correct main loop count.  Handle single left-over word from main
28540         loop inline rather than by using loop_small.  Remove extra word
28541         case in loop_small caused by wrong loop count.  Add little-endian
28542         support.
28543         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28544         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28545         cache hint.
28546         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28547         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28548         support.  Avoid rlwimi.
28549         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28551 2013-10-04  Alan Modra  <amodra@gmail.com>
28553         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28554         insrdi.  Formatting.
28555         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28556         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28557         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28558         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28559         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28560         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28562 2013-10-04  Alan Modra  <amodra@gmail.com>
28564         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28565         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28566         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28567         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28568         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28569         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28570         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28571         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28572         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28573         use of regs.  Use power7 mtocrf.  Tidy function tails.
28575 2013-10-04  Alan Modra  <amodra@gmail.com>
28577         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28578         Formatting.  Consistently use rXXX register defines or rN defines.
28579         Use early exit labels that avoid restoring unused non-volatile regs.
28580         Make cr field use more consistent with rWORDn compares.  Rename
28581         regs used as shift registers for unaligned loop, using rN defines
28582         for short lifetime/multiple use regs.
28583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28584         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28585         addi 1,1,64 to pop stack frame.  Simplify return value code.
28586         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28588 2013-10-04  Alan Modra  <amodra@gmail.com>
28590         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28591         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28592         rather than rlwimi.
28593         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28594         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28595         little-endian support.  Correct typos.
28596         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28597         rather than rlwimi.
28598         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28599         in loop and entry code to keep "and." results.
28600         (strchr): Add little-endian support.  Comment.  Move cntlzd
28601         earlier in tail.
28602         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28604 2013-10-04  Alan Modra  <amodra@gmail.com>
28606         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28607         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28608         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28609         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28611 2013-10-04  Alan Modra  <amodra@gmail.com>
28613         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28614         (rTMP): Define as r11.
28615         (strcmp): Add little-endian support.  Optimise tail.
28616         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28617         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28618         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28619         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28624 2013-10-04  Alan Modra  <amodra@gmail.com>
28626         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28627         little-endian support.  Remove unnecessary "are we done" tests.
28628         Handle "s" wrapping around zero and extremely large "size".
28629         Correct main loop count.  Handle single left-over word from main
28630         loop inline rather than by using small_loop.  Correct comments.
28631         Delete "zero" tail, use "end_max" instead.
28632         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28634 2013-10-04  Alan Modra  <amodra@gmail.com>
28636         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28637         support.  Don't branch over align.
28638         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28639         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28640         support.  Rearrange tmp reg use to suit.  Comment.
28641         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28643 2013-10-04  Alan Modra  <amodra@gmail.com>
28645         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28647 2013-10-04  Alan Modra  <amodra@gmail.com>
28649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28650         conditional form of branch and link when obtaining pc.
28651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28653 2013-10-04  Alan Modra  <amodra@gmail.com>
28655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28656         HIWORD/LOWORD.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28660 2013-10-04  Alan Modra  <amodra@gmail.com>
28662         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28663         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28664         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28665         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28666         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28667         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28668         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28669         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28670         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28671         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28673 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28674             Alistair Popple <alistair@ozlabs.au.ibm.com>
28675             Alan Modra <amodra@gmail.com>
28677         [BZ #15723]
28678         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28679         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28680         _dl_hwcap access for little-endian.
28681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28682         destroy vmx regs when saving unaligned.
28683         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28684         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28685         destroy vmx regs when saving unaligned.
28687 2013-10-04  Alan Modra  <amodra@gmail.com>
28689         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28690         Don't use a union to pack hi/low value.
28692 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28694         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28695         for little-endian.
28696         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28697         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28698         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28699         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28700         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28702 2013-10-04  Alan Modra  <amodra@gmail.com>
28704         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28705         constants to usual value for .cst8 section, and remove redundant
28706         high address load.
28707         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28708         constant for 0x1p52.  Load little-endian words of double from
28709         correct stack offsets.
28711 2013-10-04  Alan Modra  <amodra@gmail.com>
28713         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28714         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28715         words of double from correct stack offsets.
28716         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28717         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28718         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28719         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28721         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28722         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28723         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28724         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28727         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28728         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28729         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28730         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28731         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28732         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28734 2013-10-04  Alan Modra  <amodra@gmail.com>
28736         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28737         64-bit int/double union.
28738         (_FPU_SETCW): Likewise.
28739         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28740         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28742 2013-10-04  Alan Modra  <amodra@gmail.com>
28744         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28745         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28747 2013-10-04  Alan Modra  <amodra@gmail.com>
28749         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28750         use vector int constants.
28751         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28753 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28755         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28756         array with long long.
28757         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28758         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28759         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28760         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28761         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28762         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28763         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28764         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28765         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28766         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28767         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28768         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28769         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28771 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28773         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28774         (__signbit): Likewise.  Correct for little-endian.
28775         (__signbitl): Call __signbit.
28776         (lrint): Correct for little-endian.
28777         (lrintf): Call lrint.
28779 2013-10-04  Alan Modra  <amodra@gmail.com>
28781         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28782         union 32-bit int array member with 64-bit int array.
28783         (t515, tm256): Double rather than long double.
28784         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28786 2013-10-04  Alan Modra  <amodra@gmail.com>
28788         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28789         Delete.
28790         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28791         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28792         version of math_ldbl.h.
28794 2013-10-04  Alan Modra  <amodra@gmail.com>
28796         [BZ #15734], [BZ #15735]
28797         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28798         all uses of ieee875 long double macros and unions.  Simplify test
28799         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28800         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28801         normalize after ldbl_extract_mantissa, and don't add hidden bit
28802         already handled.  Don't treat low word of ieee854 mantissa like
28803         low word of IBM long double and mask off bit when testing for
28804         zero.
28805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28806         all uses of ieee875 long double macros and unions.  Simplify tests
28807         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28808         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28809         two1022, instead use their values.  Recognise that tests for large
28810         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28811         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28812         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28813         test for 0.0L and nan.  Correct negation.
28814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28815         ieee875 long double macros and unions.  Correct output for large
28816         magnitude x.  Correct absolute value calculation.
28817         (__erfcl): Likewise.
28818         * math/libm-test.inc: Add tests for errors discovered in IBM long
28819         double versions of fmodl, remainderl, erfl and erfcl.
28821 2013-10-04  Alan Modra  <amodra@gmail.com>
28823         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28824         all uses of ieee854 long double macros and unions.  Simplify tests
28825         for long doubles that are fully specified by the high double.
28826         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28827         Likewise.
28828         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28829         Remove dead code too.
28830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28831         (__ieee754_ynl): Likewise.
28832         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28833         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28834         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28835         Remove dead code too.
28836         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28837         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28838         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28839         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28840         Simplify.
28841         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28842         Simplify.
28843         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28844         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28845         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28846         Comment on variable precision.
28847         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28848         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28849         Likewise.
28850         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28851         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28852         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28853         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28854         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28856 2013-10-04  Alan Modra  <amodra@gmail.com>
28858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28859         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28860         all uses of ieee854 long double macros and unions.
28861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28864         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28865         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28866         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28867         Likewise.
28868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28869         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28870         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28871         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28872         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28873         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28874         Simplify sign and nan test too.
28875         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28876         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28877         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28878         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28879         Likewise.
28880         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28881         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28882         Likewise.
28883         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28884         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28885         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28886         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28887         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28888         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28890 2013-10-04  Alan Modra  <amodra@gmail.com>
28892         * stdio-common/printf_size.c (__printf_size): Don't use
28893         union ieee854_long_double in fpnum union.
28894         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28895         signbit macro to retrieve sign from long double.
28896         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28897         retrieve sign from long double.
28898         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28899         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28900         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28901         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28902         * math/test-misc.c (main): Don't use union ieee854_long_double.
28904 2013-10-04  Alan Modra  <amodra@gmail.com>
28906         [BZ #15680]
28907         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28908         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28909         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28910         calculation.  Remove unnecessary test for denormal exponent.
28911         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28912         Correct handling of denormals.  Avoid undefined shift behaviour.
28913         Correct normalisation of low mantissa when low double is denormal.
28914         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28915         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28916         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28917         Correct normalisation of low mantissa.  Test for overflow of high
28918         mantissa and normalise.
28919         (ldbl_nearbyint): Use more readable constant for two52.
28920         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28921         (__mpn_construct_long_double): Fix test for overflow of high
28922         mantissa and correct normalisation.  Avoid undefined shift.
28924 2013-10-04  Alan Modra  <amodra@gmail.com>
28926         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28927         (union ibm_extended_long_double): Define as an array of ieee754_double.
28928         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28929         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28930         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28931         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28932         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28933         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28936         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28937         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28938         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28940 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28942         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28943         page size instead of calling getpagesize.
28945         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28946         (LOCFILE_ALIGN_MASK): Likewise.
28947         (LOCFILE_ALIGN_UP): Likewise.
28948         (LOCFILE_ALIGNED_P): Likewise.
28949         * locale/programs/ld-collate.c (collate_output): Use the new
28950         macros instead of __alignof__ (int32_t).
28951         * locale/weight.h (findidx): Likewise.
28953 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28955         [BZ #431]
28956         * manual/string.texi: Fix strncat and wcsncat.
28958 2013-10-03  Brooks Moses  <bmoses@google.com>
28960         [BZ #15915]
28961         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28962         * Makerules: ...here, and adjust associated comments.
28964 2013-10-02  Will Newton  <will.newton@linaro.org>
28966         * malloc/Makefile: Add tst-pvalloc.
28967         * malloc/tst-pvalloc.c: New file.
28969 2013-10-02  Will Newton  <will.newton@linaro.org>
28971         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28972         improve test coverage.
28974 2013-10-02  Will Newton  <will.newton@linaro.org>
28976         * malloc/Makefile: Add tst-posix_memalign.
28977         * malloc/tst-posix_memalign.c: New file.
28979 2013-10-01  Eric Blake  <eblake@redhat.com>
28981         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28982         Use __THROWNL rather than __THROW on static functions.
28984 2013-09-30  Petr Machata  <pmachata@redhat.com>
28986         * elf/elf.h (R_AARCH64_ABS16): New macro.
28987         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28988         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28989         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28990         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28991         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28992         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28993         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28994         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28995         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28996         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28997         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28998         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28999         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29000         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29001         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29002         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29003         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29004         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29005         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29006         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29007         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29008         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29009         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29010         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29011         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29012         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29013         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29014         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29015         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29016         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29017         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29018         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29019         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29020         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29021         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29022         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29023         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29024         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29025         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29026         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29027         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29028         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29029         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29030         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29031         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29032         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29033         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29034         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29035         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29036         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29037         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29038         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29039         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29040         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29041         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29042         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29043         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29044         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29045         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29046         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29047         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29048         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29049         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29050         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29051         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29052         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29053         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29054         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29055         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29056         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29057         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29058         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29059         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29060         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29061         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29062         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29063         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29064         (R_AARCH64_TLSDESC_LDR): Likewise.
29065         (R_AARCH64_TLSDESC_ADD): Likewise.
29066         (R_AARCH64_TLSDESC_CALL): Likewise.
29068 2013-09-30  Andreas Schwab  <schwab@suse.de>
29070         [BZ #15048]
29071         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29072         the nss database lookup.
29073         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29076 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29078         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29080 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29082         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29083         ${Bash-specific parameter/pattern/string} parameter expansion.
29084         * sysdeps/unix/make-syscalls.sh: Likewise.
29086 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29088         * sysdeps/sh/stackguard-macros.h: New file.
29090 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29094         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29095         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29096         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29097         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29099 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29101         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29102         Fix thread ID register.
29104 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29106         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29107         [POSIX || UNIX98]: Require rather than permitting all symbols from
29108         <time.h>.
29109         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29110         element of struct sched_param.
29111         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29112         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29113         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29114         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29115         constant.
29117 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29119         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29120         argument calculation.
29122 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29124         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29125         Expect macro.
29126         [POSIX] (pthread_attr_t): Do not require type.
29127         [POSIX] (pthread_cond_t): Likewise.
29128         [POSIX] (pthread_condattr_t): Likewise.
29129         [POSIX] (pthread_key_t): Likewise.
29130         [POSIX] (pthread_mutex_t): Likewise.
29131         [POSIX] (pthread_mutexattr_t): Likewise.
29132         [POSIX] (pthread_once_t): Likewise.
29133         [POSIX] (pthread_t): Likewise.
29134         [POSIX-based standards] (pthread_atfork): Expect function.
29136 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29137             Richard Sandiford  <richard@codesourcery.com>
29139         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29140         (swap_endianness_p): New extern variable.
29141         (set_big_endian): New inline function.
29142         (maybe_swap_uint32): Likewise.
29143         (maybe_swap_uint32_array): Likewise.
29144         (maybe_swap_uint32_obstack): Likewise.
29145         * locale/programs/locfile.c: Include <stdbool.h>.
29146         (swap_endianness_p): New variable.
29147         (add_locale_uint32): Call maybe_swap_uint32.
29148         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29149         (write_locale_data): Call maybe_swap_uint32_array.
29150         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29151         maybe_swap_uint32.
29152         (obstack_int32_grow_fast): Likewise.
29153         (output_weightwc): Call maybe_swap_uint32_obstack.
29154         (collate_output): Likewise.
29155         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29156         (OPT_LITTLE_ENDIAN): Likewise.
29157         (options): Add --little-endian and --big-endian options.
29158         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29159         * locale/programs/locarchive.c: Include "locfile.h".
29160         (GET): New macro.
29161         (SET): Likewise.
29162         (INC): Likewise.
29163         (create_archive): Use the new macros to access fields of
29164         structures directly mapped from or written to locale archives.
29165         (oldlocrecentcmp): Likewise.
29166         (enlarge_archive): Likewise.
29167         (insert_name): Likewise.
29168         (add_alias): Likewise.
29169         (add_locale): Likewise.
29170         (delete_locales_from_archive): Likewise.
29171         (show_archive_content): Likewise.
29172         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29173         locale data.
29175 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29177         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29178         http://www.gnu.org/doc/freemanuals.texi.
29179         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29181 2013-09-24  Will Newton  <will.newton@linaro.org>
29183         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29184         macro.
29186 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29188         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29189         unsigned char.
29191 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29193         * manual/threads.texi (POSIX Threads): Fix a typo.
29195 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29197         [BZ #14547]
29198         * string/tst-strcoll-overflow.c: New test case.
29199         * string/Makefile (xtests): Add tst-strcoll-overflow.
29200         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29201         cache if string sizes may cause integer overflow.
29203         [BZ #14547]
29204         * string/strcoll_l.c (coll_seq): New members rule, idx,
29205         save_idx and back_us.
29206         (get_next_seq_nocache): New function.
29207         (do_compare_nocache): New function.
29208         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29209         when malloc fails.
29211 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29213         [BZ #15754]
29214         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29215         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29216         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29218         [BZ #15754]
29219         * elf/Makefile (tests): Add tst-ptrguard1.
29220         (tests-static): Add tst-ptrguard1-static.
29221         (tst-ptrguard1-ARGS): Define.
29222         (tst-ptrguard1-static-ARGS): Define.
29223         * elf/tst-ptrguard1.c: New file.
29224         * elf/tst-ptrguard1-static.c: New file.
29225         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29226         * sysdeps/i386/stackguard-macros.h: Likewise.
29227         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29228         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29229         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29230         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29231         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29232         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29234 2013-09-23  Hector Marco  <hecmargi@upv.es>
29235             Ismael Ripoll  <iripoll@disca.upv.es>
29236             Carlos O'Donell  <carlos@redhat.com>
29238         [BZ #15754]
29239         * sysdeps/generic/stackguard-macros.h: Define
29240         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29241         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29242         Define __pointer_chk_guard_local.
29243         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29244         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29246 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29248         [BZ #15859]
29249         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29251 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29253         * include/string.h (__ffs): Declare as hidden.
29254         * string/ffs.c (__ffs): Define as hidden.
29255         * sysdeps/i386/ffs.c (__ffs): Likewise.
29256         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29257         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29258         * sysdeps/s390/ffs.c (__ffs): Likewise.
29259         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29261 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29263         * NEWS: Mention malloc probes.
29265         * malloc/arena.c (new_heap): New memory_heap_new probe.
29266         (grow_heap): New memory_heap_more probe.
29267         (shrink_heap): New memory_heap_less probe.
29268         (heap_trim): New memory_heap_free probe.
29269         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29270         (systrim): New memory_sbrk_less probe.
29271         * manual/probes.texi: Document them.
29273         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29274         * manual/probes.texi: Document it.
29276         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29277         (__libc_realloc): Add memory_realloc_retry probe.
29278         (__libc_memalign): Add memory_memalign_retry probe.
29279         (__libc_valloc): Add memory_valloc_retry probe.
29280         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29281         (__libc_calloc): Add memory_calloc_retry probe.
29282         * manual/probes.texi: Document them.
29284         * malloc/arena.c (get_free_list): Add probe
29285         memory_arena_reuse_free_list.
29286         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29287         and memory_arena_reuse.
29288         (arena_get2) [!PER_THREAD]: Likewise.
29289         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29290         memory_arena_reuse_realloc.
29291         * manual/probes.texi: Document them.
29293         * malloc/malloc.c (__libc_free): Add
29294         memory_mallopt_free_dyn_thresholds probe.
29295         (__libc_mallopt): Add multiple memory_mallopt probes.
29296         * manual/probes.texi: Document them.
29298         * malloc/malloc.c: Include stap-probe.h.
29299         (__libc_mallopt): Add memory_mallopt probe.
29300         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29301         * manual/probes.texi: New.
29302         * manual/Makefile (chapters): Add probes.
29303         * manual/threads.texi: Set next node.
29305 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29307         [BZ #15963, #13985]
29308         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29309         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29310         Add `Chinese' to `nan' entry name.
29312 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29314         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29315         (POLYNOMIAL): Likewise.
29316         (TAYLOR_SINCOS): Likewise.
29317         (TAYLOR_SLOW): Likewise.
29318         (__sin): Use TAYLOR_SINCOS.
29319         (__cos): Likewise.
29320         (slow): Use TAYLOR_SLOW.
29321         (sloww): Likewise.
29322         (bsloww): Likewise.
29323         (csloww): Likewise.
29325 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29327         * stdlib/strtod_l.c: Fix buffer overrun.
29329 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29331         * benchtests/Makefile (bench): Add sincos.
29332         * benchtests/bench-sincos.c: New file.
29334         * math/libm-test.inc (cos_test_data): New test inputs.
29335         (sin_test_data): Likewise.
29337         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29338         macro.
29339         (__sin): Use it.
29340         (__cos): Likewise.
29341         (slow1): Likewise.
29342         (slow2): Likewise.
29343         (sloww1): Likewise.
29344         (sloww2): Likewise.
29345         (bsloww1): Likewise.
29346         (bsloww2): Likewise.
29347         (cslow2): Likewise.
29348         (csloww1): Likewise.
29349         (csloww2): Likewise.
29351         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29352         function.
29353         (__sin): Use it.
29354         (__cos): Likewise.
29356         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29357         gotos.
29358         (__cos): Likewise.
29360 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29362         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29363         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29364         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29365         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29366         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29367         * elf/cache.c (print_entry): Handle the new cache flags.
29369 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29370             Aldy Hernandez  <aldyh@redhat.com>
29372         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29373         Change condition to [_SOFT_FLOAT].
29374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29386         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29389         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29390         declaration.
29392 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29394         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29395         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29396         (__longjmp): Use LOAD_GP to load saved GPRs.
29397         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29398         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29399         (__sigsetjmp): Use SAVE_GP to save GPRs.
29401         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29402         Do not append -msoft-float.
29403         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29405 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29407         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29409 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29411         [BZ #15966]
29412         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29413         (_FPU_GETCW): Use initial "__" on variable and field names but not
29414         on macro parameter name.
29415         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29416         parentheses around reference to macro parameter.
29418 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29420         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29421         prototype.
29422         (ctype_startup): Use uint32_t in cast and sizeof for
29423         ctype->charnames.
29425 2013-09-11  Jia Liu  <proljc@gmail.com>
29427         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29428         __daddr_t_defined.
29429         [__FreeBSD__]: Likewise.
29431 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29434         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29435         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29436         (strchr): Remove __strchr_sse42 ifunc selection.
29437         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29438         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29440 2013-09-11  Will Newton  <will.newton@linaro.org>
29442         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29443         parameter to RES. Remove hardcoded 1000 value.
29444         * benchtests/bench-skeleton.c (main): Pass RES parameter
29445         to TIMING_INIT and multiply result by 1000.
29447 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29451 2013-09-11  Andreas Schwab  <schwab@suse.de>
29453         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29454         if not defined.
29455         (O_TMPFILE) [__USE_GNU]: Define.
29456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29457         Define.
29459 2013-09-11  Will Newton  <will.newton@linaro.org>
29461         [BZ #15857]
29462         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29463         does not overflow.
29465 2013-09-11  Will Newton  <will.newton@linaro.org>
29467         [BZ #15856]
29468         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29469         does not overflow.
29471 2013-09-11  Will Newton  <will.newton@linaro.org>
29473         [BZ #15855]
29474         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29475         does not overflow.
29477 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29479         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29480         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29481         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29483         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29485 2013-09-10  Allan McRae  <allan@archlinux.org>
29487         [BZ #15748]
29488         * manual/arith.texi (Parsing of Floats): Clarify
29489         cross-reference.
29491         [BZ #15849]
29492         * manual/install.texi (Running make install): Mention
29493         --enable-pt-chown.
29494         * INSTALL: Regenerated.
29496 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29498         * csu/init-first.c (_init): Remove the !SHARED condition around
29499         FPU control word initialization.
29500         * elf/dl-support.c (_dl_fpu_control): New variable.
29501         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29502         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29503         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29504         * math/test-fpucw-static.c: New file.
29505         * math/test-fpucw-ieee.c: New file.
29506         * math/test-fpucw-ieee-static.c: New file.
29507         * math/Makefile (tests): Add `test-fpucw-ieee' and
29508         `$(tests-static)'.
29509         (tests-static): New variable.
29510         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29511         dependency to...
29512         [($(build-shared),yes)]
29513         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29514         ... this.
29515         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29516         New dependency.
29518 2013-09-09  Allan McRae  <allan@archlinux.org>
29520         [BZ #15939]
29521         * manual/string.texi (Collation Functions): Fix typo in
29522         strcoll example.
29523         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29525         [BZ #15893]
29526         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29528         [BZ #15892]
29529         * libio/memstream.c (open_memstream): Fix memory leak.
29530         * libio/wmemstream.c (open_wmemstream): Likewise.
29532         [BZ #15895]
29533         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29535 2013-09-09  Will Newton  <will.newton@linaro.org>
29537         * malloc/Makefile: Add tst-realloc to tests.
29538         * malloc/tst-realloc.c: New file.
29540 2013-09-09  Allan McRae  <allan@archlinux.org>
29542         [BZ #15844]
29543         * COPYING: Update from GNU website to fix FSF address.
29544         * COPYING.LIB: Likewise.
29546 2013-09-06  David S. Miller  <davem@davemloft.net>
29548         * po/zh_TW.po: Update Chinese (traditional) translation from
29549         translation project.
29551 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29552             Joseph Myers  <joseph@codesourcery.com>
29554         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29555         "localeinfo.h".
29556         (obstack_chunk_alloc): New macro.
29557         (obstack_chunk_free): Likewise.
29558         (record_offset): New function.
29559         (init_locale_data): Likewise.
29560         (align_locale_data): Likewise.
29561         (add_locale_empty): Likewise.
29562         (add_locale_raw_data): Likewise.
29563         (add_locale_raw_obstack): Likewise.
29564         (add_locale_string): Likewise.
29565         (add_locale_wstring): Likewise.
29566         (add_locale_uint32): Likewise.
29567         (add_locale_uint32_array): Likewise.
29568         (add_locale_char): Likewise.
29569         (start_locale_structure): Likewise.
29570         (end_locale_structure): Likewise.
29571         (start_locale_prelude): Likewise.
29572         (end_locale_prelude): Likewise.
29573         (write_locale_data): Take locale_file structure rather than an
29574         iovec.
29575         * locale/programs/locfile.h: Include "obstack.h".
29576         (struct locale_file): Change to store locale file contents instead
29577         of header.
29578         (init_locale_data): New prototype.
29579         (align_locale_data): Likewise.
29580         (add_locale_empty): Likewise.
29581         (add_locale_raw_data): Likewise.
29582         (add_locale_raw_obstack): Likewise.
29583         (add_locale_string): Likewise.
29584         (add_locale_wstring): Likewise.
29585         (add_locale_uint32): Likewise.
29586         (add_locale_uint32_array): Likewise.
29587         (add_locale_char): Likewise.
29588         (start_locale_structure): Likewise.
29589         (end_locale_structure): Likewise.
29590         (start_locale_prelude): Likewise.
29591         (end_locale_prelude): Likewise.
29592         (write_locale_data): Update prototype.
29593         * locale/programs/3level.h (struct TABLE): Remove result field.
29594         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29595         Use new locale_file interface.
29596         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29597         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29598         * locale/programs/ld-address.c (address_output): Use new
29599         locale_file interface.
29600         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29601         NO_ADD_LOCALE.
29602         (collate_finish): Don't call collseq_table_finalize.
29603         (collate_output): Use new locale_file interface.
29604         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29605         in file.
29606         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29607         (TABLE): Move defines earlier in file.
29608         (ELEMENT): Likewise.
29609         (DEFAULT): Likewise.
29610         (wctrans_table_add): Move macro and inline function earlier in
29611         file.
29612         (struct wctype_table): Move type earlier in file.
29613         (add_locale_wctype_table): New static prototype.
29614         (struct locale_ctype_t): Use logical types instead of struct iovec
29615         pointers for members.
29616         (ctype_output): Use new locale_file interface.
29617         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29618         new locale_file interface.
29619         (allocate_arrays): Update for use of new locale_file interface.
29620         * locale/programs/ld-identification.c (identification_output): Use
29621         new locale_file interface.
29622         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29623         * locale/programs/ld-messages.c (messages_output): Likewise.
29624         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29625         * locale/programs/ld-name.c (name_output): Likewise.
29626         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29627         * locale/programs/ld-paper.c (paper_output): Likewise.
29628         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29629         * locale/programs/ld-time.c (time_output): Likewise.
29631 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29633         * benchtests/Makefile: Add memrchr benchmark.
29634         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29635         benchmark as memrchr.
29636         * benchtests/bench-memrchr-ifunc.c: New file.
29637         * benchtests/bench-memrchr.c: New file.
29639 2013-09-06   Will Newton  <will.newton@linaro.org>
29641         * benchtests/Makefile (string-bench): Add memcpy.
29643 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29644             Cong Wang  <amwang@redhat.com>
29646         [BZ #15850]
29647         * sysdeps/unix/sysv/linux/bits/in.h
29648         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29649         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29650         before __USE_KERNEL_IPV6_DEFS uses.
29651         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29652         IPPROTO_BEETPH.
29653         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29654         sockaddr_in6, or ipv6_mreq.
29656 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29658         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29659         memory access for final bytes in some large inputs.
29660         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29662 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29664         * string/test-memrchr.c: New file.
29665         * string/test-memrchr-ifunc.c: New file.
29666         * string/Makefile: Add new memrchr testcase.
29668 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29670         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29671         fanotify_init returns EPERM.
29673 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29675         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29676         errors.
29677         (top level): Treat second token from macro or constant entries for
29678         allowed headers as allowed.
29679         * include/complex.h: Condition internal declarations on
29680         [!_ISOMAC].
29681         * include/fenv.h: Condition include of <stdbool.h> and internal
29682         declarations on [!_ISOMAC].
29684 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29686         [BZ #15923]
29687         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29689 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29691         * configure.in (--enable-versioning): Remove configure option.
29692         (libc_cv_asm_symver_directive): Remove configure test.
29693         (libc_cv_ld_version_script_option): Likewise.
29694         (VERSIONING): Remove variable and AC_SUBST.
29695         (DO_VERSIONING): Remove AC_DEFINE.
29696         * configure: Regenerated.
29697         * config.h.in (DO_VERSIONING): Remove macro.
29698         * Makerules [$(versioning) = yes]: Change conditionals to
29699         [$(build-shared) = yes].
29700         * config.make.in (versioning): Remove variable.
29701         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29702         [$(build-shared) = yes].
29703         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29704         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29705         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29706         [$(build-shared) = yes].
29707         * extra-lib.mk [$(versioning) = yes]: Likewise.
29708         * hurd/Makefile [$(versioning) = yes]: Likewise.
29709         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29710         [SHARED].
29711         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29712         [SHARED].
29713         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29714         [SHARED && !NO_HIDDEN].
29715         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29716         [SHARED].
29717         [SHARED && DO_VERSIONING]: Likewise..
29718         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29719         [$(build-shared) = yes].
29720         * manual/install.texi (--disable-versioning): Remove
29721         documentation.
29722         * INSTALL: Regenerated.
29723         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29724         to [SHARED].
29725         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29726         [$(build-shared) = yes].
29727         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29728         * sysdeps/i386/i686/multiarch/strstr-c.c
29729         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29730         [SHARED && !NO_HIDDEN].
29731         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29732         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29733         * sysdeps/powerpc/powerpc32/dl-machine.c
29734         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29735         * sysdeps/powerpc/powerpc32/sysdep.h
29736         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29737         to [SHARED && PIC && !NO_HIDDEN].
29738         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29739         conditional to [SHARED].
29741 2013-09-04   Will Newton  <will.newton@linaro.org>
29743         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29744         * benchtests/bench-string.h: Include bench-timing.h instead
29745         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29746         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29747         call to HP_TIMING_DIFF_INIT.
29748         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29749         instead of hp-timing.h macros.
29750         * benchtests/bench-memchr.c: Likewise.
29751         * benchtests/bench-memcmp.c: Likewise.
29752         * benchtests/bench-memcpy.c: Likewise.
29753         * benchtests/bench-memmem.c: Likewise.
29754         * benchtests/bench-memmove.c: Likewise.
29755         * benchtests/bench-memset.c: Likewise.
29756         * benchtests/bench-rawmemchr.c: Likewise.
29757         * benchtests/bench-strcasecmp.c: Likewise.
29758         * benchtests/bench-strcasestr.c: Likewise.
29759         * benchtests/bench-strcat.c: Likewise.
29760         * benchtests/bench-strchr.c: Likewise.
29761         * benchtests/bench-strcmp.c: Likewise.
29762         * benchtests/bench-strcpy.c: Likewise.
29763         * benchtests/bench-strcpy_chk.c: Likewise.
29764         * benchtests/bench-strlen.c: Likewise.
29765         * benchtests/bench-strncasecmp.c: Likewise.
29766         * benchtests/bench-strncat.c: Likewise.
29767         * benchtests/bench-strncmp.c: Likewise.
29768         * benchtests/bench-strncpy.c: Likewise.
29769         * benchtests/bench-strnlen.c: Likewise.
29770         * benchtests/bench-strpbrk.c: Likewise.
29771         * benchtests/bench-strrchr.c: Likewise.
29772         * benchtests/bench-strspn.c: Likewise.
29773         * benchtests/bench-strstr.c: Likewise.
29775 2013-09-04  Will Newton  <will.newton@linaro.org>
29777         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29779 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29781         [BZ #15427]
29782         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29783         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29784         * math/libm-test.inc (lgamma_test_data): Add more tests.
29785         * sysdeps/i386/fpu/libm-test-ulps: Update.
29786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29788 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29790         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29792         Add ifunc.
29793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29794         Add strcmp-sse2-unaligned
29795         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29797 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29799         * Versions.def (libc): Add GLIBC_2.19.
29801 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29803         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29804         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29806 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29808         [BZ #14155]
29809         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29810         intermediate calculations in recurrence.
29811         (__ieee754_ynf): Likewise.
29812         * math/libm-test.inc (jn_test_data): Do not allow spurious
29813         underflow exception.  Add more tests.
29814         (yn_test_data): Add more tests.
29815         * sysdeps/i386/fpu/libm-test-ulps: Update.
29816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29818 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29820         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29822 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29824         * csu/init-first.c: Fix then/than typos.
29825         * locale/programs/ld-collate.c: Likewise.
29826         * locale/programs/linereader.h: Likewise.
29827         * manual/charset.texi: Likewise.
29828         * manual/filesys.texi: Likewise.
29829         * manual/stdio.texi: Likewise.
29830         * manual/string.texi: Likewise.
29831         * stdlib/fmtmsg.c: Likewise.
29832         * sysdeps/i386/stpncpy.S: Likewise.
29833         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29834         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29835         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29836         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29838 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29840         * elf/dl-open.c: Fix typos.
29841         * iconvdata/gbbig5.c: Likewise.
29842         * iconvdata/iso-2022-jp.c: Likewise.
29843         * iconv/gconv_int.h: Likewise.
29844         * iconv/loop.c: Likewise.
29845         * nis/rpcsvc/nis.h: Likewise.
29846         * resolv/ns_name.c: Likewise.
29847         * stdio-common/vfscanf.c: Likewise.
29848         * streams/stropts.h: Likewise.
29849         * sunrpc/rpc_thread.c: Likewise.
29850         * sysdeps/i386/strpbrk.S: Likewise.
29851         * sysdeps/ieee754/k_standard.c: Likewise.
29852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29854         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29855         * sysdeps/mach/hurd/profil.c: Likewise.
29856         * sysdeps/s390/dl-procinfo.h: Likewise.
29857         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29858         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29859         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29860         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29861         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29863 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29865         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29868 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29870         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29871         aix specific files.
29872         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29873         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29874         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29875         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29876         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29877         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29878         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29879         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29881 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29882             Roland McGrath  <roland@hack.frob.com>
29884         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29885         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29887 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29889         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29890         __executable_start symbol instead of _start.
29892 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29894         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29895         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29896         Move macros to...
29897         * sysdeps/gnu/ldsodefs.h: ... this new file.
29899         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29900         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29901         instead of ELFOSABI_LINUX.
29903         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29904         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29905         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29906         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29907         Likewise.
29908         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29909         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29910         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29911         Likewise.
29912         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29913         (ibm_extended_long_double): Add ieee_nan member.
29914         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29915         (do_test): New function.
29917         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29918         TEST_TRUNC.
29919         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29920         functions, renamed from truncdfsf_test, trunctfsf_test,
29921         trunctfdf_test.
29922         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29923         functions.
29924         (do_test): Run all these.
29926 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29928         * argp/argp-help.c: Fix typos.
29929         * argp/argp-parse.c: Likewise.
29930         * debug/backtracesyms.c: Likewise.
29931         * elf/elf.h: Likewise.
29932         * malloc/malloc.c: Likewise.
29933         * nis/nis_print.c: Likewise.
29934         * resolv/res_comp.c: Likewise.
29935         * stdlib/stdlib.h: Likewise.
29936         * sunrpc/clnt_tcp.c: Likewise.
29937         * sunrpc/clnt_udp.c: Likewise.
29938         * sunrpc/clnt_unix.c: Likewise.
29939         * sysdeps/unix/bsd/ptsname.c: Likewise.
29940         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29943         Likewise.
29944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29945         Likewise.
29946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29947         Likewise.
29948         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29950 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29952         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29955 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29957         [BZ #15897]
29958         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29959         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29960         ($(objpfx)bug-dl-leaf): New rule.
29961         ($(objpfx)bug-dl-leaf.so): Likewise.
29962         ($(objpfx)bug-dl-leaf.out): Likewise.
29963         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29964         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29965         * dlfcn/bug-dl-leaf.c: New test.
29966         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29967         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29968         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29969         (dlclose): Likewise.
29970         (dlmopen): Likewise.
29972 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29974         * include/netdb.h [!_ISOMAC]:
29975         Don't include <tls.h>.
29976         (h_errno, __libc_h_errno): Move declaration and macros out of
29977         [_LIBC_REENTRANT].
29979         * include/resolv.h [_RESOLV_H_]:
29980         Don't include <tls.h>.
29981         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29982         * resolv/res_libc.c: Don't include <tls.h>.
29983         (_res): Use __attribute__ ((nocommon)) in place of
29984         __attribute__ ((section (".bss"))).
29986         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29987         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29989         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29991         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29992         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29994         * resolv/res_mkquery.c: Include <sys/time.h>.
29996         * inet/ifreq.c: Moved to ...
29997         * sysdeps/unix/ifreq.c: ... here.
29998         * inet/ifreq.c: New file, true stub version.
30000         * socket/sa_len.c: New file.
30001         * socket/Makefile (aux): Add it.
30002         * sysdeps/unix/sysv/linux/Makefile
30003         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30004         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30005         and #include <socket/sa_len.c>.
30006         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30007         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30009         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30010         * bits/socket.h: ... here.
30012         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30013         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30014         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30016 2013-08-27  Andreas Schwab  <schwab@suse.de>
30018         [BZ #15736]
30019         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30020         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30021         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30022         * string/test-strcasecmp.c (test_main): Run tests in several
30023         locales.
30024         * string/test-strncasecmp.c (test_main): Likewise.
30026         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30027         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30028         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30030         (__strncasecmp_ssse3) [PIC]: Likewise.
30032 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30034         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30036         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30037         instead of explicitly declaring xdecrypt.
30038         * nis/nss_nis/nis-publickey.c: Likewise.
30040 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30042         [BZ #15890]
30043         * nscd/aicache.c: Include res_hconf.h.
30044         (addhstaiX): Initialize res_hconf.
30046 2013-08-26  Andreas Schwab  <schwab@suse.de>
30048         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30049         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30051 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30053         * nscd/aicache.c (addhstaiX): Fix indentation.
30055 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30057         * configure.ac: Quote $build_pt_chown test.
30058         * configure: Regenerated.
30060 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30062         [BZ #15532]
30063         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30064         * math/s_cexpf.c (__cexpf): Likewise.
30065         * math/s_cexpl.c (__cexpl): Likewise.
30066         * math/libm-test.inc (cexp_test_data): Correct expected return
30067         value for NaN + i0.  Add another test.
30069 2013-08-22  David S. Miller  <davem@davemloft.net>
30071         * po/ca.po: Update Catalan translation from translation project.
30072         * po/uk.po: Add Ukrainian translations from translation project.
30074 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30076         [BZ #15797]
30077         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30078         is infinite, not alongside NaN test.
30079         * math/s_fdimf.c (__fdimf): Likewise.
30080         * math/s_fdiml.c (__fdiml): Likewise.
30081         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30082         errno is unchanged.
30084 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30086         * argp/argp-help.c: Fix typos.
30087         * crypt/speeds.c: Likewise.
30088         * csu/check_fds.c: Likewise.
30089         * elf/dl-load.c: Likewise.
30090         * elf/dl-open.c: Likewise.
30091         * elf/reldep3.c: Likewise.
30092         * elf/reldep.c: Likewise.
30093         * elf/sprof.c: Likewise.
30094         * iconv/iconv_charmap.c: Likewise.
30095         * iconv/skeleton.c: Likewise.
30096         * iconv/strtab.c: Likewise.
30097         * io/lockf64.c: Likewise.
30098         * libio/libioP.h: Likewise.
30099         * resolv/gai_notify.c: Likewise.
30100         * resolv/ns_name.c: Likewise.
30101         * resolv/ns_samedomain.c: Likewise.
30102         * resolv/res_send.c: Likewise.
30103         * stdlib/random.c: Likewise.
30104         * sunrpc/rpc/xdr.h: Likewise.
30105         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30106         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30107         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30108         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30109         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30112         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30113         * sysdeps/mach/hurd/check_fds.c: Likewise.
30114         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30115         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30116         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30117         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30118         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30119         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30120         * sysdeps/pthread/aio_notify.c: Likewise.
30121         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30122         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30123         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30124         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30125         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30127 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30129         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30130         version if bit_Slow_SSE4_2 is set.
30131         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30132         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30134 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30136         [BZ #15867]
30137         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30138         trampoline stack frame information.
30139         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30140         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30141         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30142         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30143         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30144         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30145         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30146         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30147         sa_flags value.
30148         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30149         interrupting a syscall and set with option SA_SIGINFO.
30151 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30153         [BZ #15531]
30154         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30155         argument is infinite.
30156         * math/s_cprojf.c (__cprojf): Likewise.
30157         * math/s_cprojl.c (__cprojl): Likewise.
30158         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30159         * math/libm-test.inc (cproj_test_data): Add more tests.
30161         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30163         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30164         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30165         size.  Use __ffs to determine corresponding shift.
30167 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30168             Roland McGrath  <roland@hack.frob.com>
30170         * Makefile (INSTALL): Remove trailing blank lines from output of
30171         makeinfo.
30173 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30175         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30176         Align 32 bit compat elf_greg to 8 bytes.
30178 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30180         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30182 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30184         * string/strcoll_l.c (coll_seq): New structure.
30185         (get_next_seq_cached): New function.
30186         (get_next_seq): New function.
30187         (do_compare): New function.
30188         (STRCOLL): Use GNU style definition.  Simplify implementation
30189         by using get_next_seq, get_next_seq_cached and do_compare.
30191 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30193         [BZ #14699]
30194         CVE-2013-4237
30195         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30196         member.
30197         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30198         member.
30199         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30200         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30201         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30202         conditional.
30203         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30204         GETDENTS_64BIT_ALIGNED.
30205         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30206         * manual/filesys.texi (Reading/Closing Directory): Document
30207         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30208         strongly.
30209         * manual/conf.texi (Limits for Files): Add portability note to
30210         NAME_MAX, PATH_MAX.
30211         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30213 2013-08-13  Andreas Schwab  <schwab@suse.de>
30215         [BZ #15749]
30216         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30217         of fabs.
30218         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30219         LDBL_MAX_EXP >= 16384]: Add tests for it.
30221 2013-08-12  David S. Miller  <davem@davemloft.net>
30223         * version.h (RELEASE): Set to "development".
30224         (VERSION): Set to "2.18.90".
30225         * NEWS: Add 2.19 section.
30227 2013-08-03  David S. Miller  <davem@davemloft.net>
30229         * po/ko.po: Update Korean translation from translation project.
30231 2013-08-01  David S. Miller  <davem@davemloft.net>
30233         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30234         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30235         Bilka.
30237 2013-07-30  David S. Miller  <davem@davemloft.net>
30239         * po/fr.po: Update French translation from translation project.
30241 2013-07-28  David S. Miller  <davem@davemloft.net>
30243         * po/cs.po: Update Czech translation from translation project.
30245         * po/sv.po: Update Swedish translation from translation project.
30247 2013-07-27  David S. Miller  <davem@davemloft.net>
30249         * po/eo.po: Update Esperanto translation from translation project.
30251         * po/vi.po: Update Vietnamese translation from translation project.
30253         * po/de.po: Update German translation from translation project.
30255 2013-07-26  David S. Miller  <davem@davemloft.net>
30257         * po/bg.po: Update Bulgarian translation from translation project.
30259         * po/nl.po: Update Dutch translation from translation project.
30260         * po/pl.po: Update Polish translation from translation project.
30261         * po/ru.po: Update Russian translation from translation project.
30263 2013-07-24  David S. Miller  <davem@davemloft.net>
30265         * po/libc.pot: Update.
30267 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30269         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30270         variable page size.
30271         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30272         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30273         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30275 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30277         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30279 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30280             Andreas Schwab  <schwab@suse.de>
30281             Roland McGrath  <roland@hack.frob.com>
30282             Joseph Myers  <joseph@codesourcery.com>
30283             Carlos O'Donell  <carlos@redhat.com>
30285         [BZ #15755]
30286         * config.h.in: Define HAVE_PT_CHOWN.
30287         * config.make.in (build-pt-chown): New variable.
30288         * configure.in (--enable-pt_chown): New configure option.
30289         * configure: Regenerate.
30290         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30291         build-pt-chown is enabled.
30292         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30293         pt_chown to fix pty ownership.
30294         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30295         CLOSE_ALL_FDS.
30296         * manual/install.texi (Configuring and compiling): Mention
30297         --enable-pt_chown. Add @findex for grantpt.
30298         * INSTALL: Regenerate.
30300 2013-07-20  David S. Miller  <davem@davemloft.net>
30302         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30303         difference between 32-bit and 64-bit.
30305 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30307         [BZ #15711]
30308         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30309         Avoid system header dependency with -ffreestanding.
30310         ($(objpfx)bits/syscall%d): Likewise.
30312 2013-07-13  David S. Miller  <davem@davemloft.net>
30314         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30315         underflows from atanl/atan2l due to bug 15319.
30316         (casinh_test_data): Likewise.
30318 2013-07-07  David S. Miller  <davem@davemloft.net>
30320         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30322 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30324         * sysdeps/i386/fpu/libm-test-ulps: Update.
30325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30327 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30329         * configure.in (--enable-lock-elision): Fix message text.
30330         * INSTALL: Regenerate.
30331         * configure: Regenerate.
30333 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30337 2013-07-03  Andreas Jaeger  <aj@suse.de>
30339         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30340         define.
30341         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30342         (ptrace_peeksiginfo_args): Add.
30343         (__ptrace_peeksiginfo_flags): Add.
30344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30346         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30348 2013-07-03  Allan McRae  <allan@archlinux.org>
30350         * sysdeps/i386/fpu/libm-test-ulps: Update.
30352 2013-07-02  David S. Miller  <davem@davemloft.net>
30354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30356 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30360 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30362         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30365 2013-07-02  Andi Kleen <ak@linux.intel.com>
30367         * config.h.in (ENABLE_LOCK_ELISION): Add.
30368         * configure.in (--enable-lock-elision): Add option.
30369         * manual/install.texi: Document --enable lock elision.
30370         * configure: Regenerate
30371         * INSTALL: Regenerate.
30373 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30375         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30376         SSE4.2 strcasecmp for libc.a.
30377         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30379 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30381         [BZ #13304]
30382         * soft-fp/op-common.h (_FP_FMA): New macro.
30383         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30384         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30385         (_FP_MUL_MEAT_1_imm): ... here.
30386         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30387         (_FP_MUL_MEAT_1_wide): ... here.
30388         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30389         (_FP_MUL_MEAT_1_hard): ... here.
30390         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30391         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30392         (_FP_MUL_MEAT_2_wide): ... here.
30393         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30394         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30395         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30396         (_FP_MUL_MEAT_2_gmp): ... here.
30397         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30398         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30399         (_FP_MUL_MEAT_4_wide): ... here.
30400         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30401         (_FP_MUL_MEAT_4_gmp): ... here.
30402         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30403         (_FP_WFRACBITS_DW_S): Likewise.
30404         (_FP_WFRACXBITS_DW_S): Likewise.
30405         (_FP_HIGHBIT_DW_S): Likewise.
30406         (FP_FMA_S): Likewise.
30407         (_FP_FRAC_HIGH_DW_S): Likewise.
30408         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30409         (_FP_WFRACBITS_DW_D): Likewise.
30410         (_FP_WFRACXBITS_DW_D): Likewise.
30411         (_FP_HIGHBIT_DW_D): Likewise.
30412         (FP_FMA_D): Likewise.
30413         (_FP_FRAC_HIGH_DW_D): Likewise.
30414         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30415         (_FP_WFRACBITS_DW_E): Likewise.
30416         (_FP_WFRACXBITS_DW_E): Likewise.
30417         (_FP_HIGHBIT_DW_E): Likewise.
30418         (FP_FMA_E): Likewise.
30419         (_FP_FRAC_HIGH_DW_E): Likewise.
30420         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30421         (_FP_WFRACBITS_DW_Q): Likewise.
30422         (_FP_WFRACXBITS_DW_Q): Likewise.
30423         (_FP_HIGHBIT_DW_Q): Likewise.
30424         (FP_FMA_Q): Likewise.
30425         (_FP_FRAC_HIGH_DW_Q): Likewise.
30426         * soft-fp/fmasf4.c: New file.
30427         * soft-fp/fmadf4.c: Likewise.
30428         * soft-fp/fmatf4.c: Likewise.
30430 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30433         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30434         Silvermont.
30435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30436         macro.
30437         (index_Slow_SSE4_2): Likewise.
30438         (index_Prefer_PMINUB_for_stringop): Likewise.
30439         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30440         bit_Slow_SSE4_2 is set.
30441         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30442         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30444 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30446         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30447         rtld_global._dl_hwcap2.
30448         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30449         POWER8.
30450         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30451         POWER8 feature descriptions defined in _dl_hwcap2.
30452         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30453         string handling for POWER8 feature bits.
30454         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30455         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30456         _dl_powerpc_cap_flags.
30457         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30458         * sysdeps/powerpc/rtld-global-offsets.sym
30459         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30460         _dl_hwcap2 in the rtld_global_ro structure.
30462 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30464         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30465         hardware capabilities in support of AT_HWCAP2.
30466         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30467         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30468         GLRO(dl_hwcap2).
30469         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30470         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30471         explicitly the unknown a_type display mechanism is used.
30472         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30473         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30474         struct member.
30475         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30476         to macro prototype for AT_HWCAP2 support.
30477         * sysdeps/i386/dl-procinfo.h: Likewise.
30478         * sysdeps/s390/dl-procinfo.h: Likewise.
30479         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30480         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30481         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30482         return -1 for unknown a_type display fallback.
30483         * sysdeps/sparc/dl-procinfo.h: Likewise.
30484         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30485         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30487 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30489         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30490         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30492 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30494         [BZ #12492]
30495         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30496         mprotect making __stack_prot writable.
30498 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30499             Joseph Myers  <joseph@codesourcery.com>
30501         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30502         as being properly aligned.
30504 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30506         * dlfcn/modstatic5.c: New file.
30507         * dlfcn/tststatic5.c: New file.
30508         * dlfcn/Makefile (tests): Add tststatic5.
30509         (tests-static): Likewise.
30510         (modules-names): Add modstatic5.
30511         (tststatic5-ENV): New variable.
30512         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30514         [BZ #15022]
30515         * elf/dl-support.c (_dl_main_map): New variable.
30516         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30517         (_dl_nns, _dl_load_adds): Set to 1.
30518         (_dl_initial_searchlist): Refer to _dl_main_map.
30519         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30520         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30521         call to _dl_get_origin.
30522         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30523         around call_map.
30524         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30525         * dlfcn/modstatic3.c: New file.
30526         * dlfcn/tststatic3.c: New file.
30527         * dlfcn/tststatic4.c: New file.
30528         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30529         (tests-static): Likewise.
30530         (modules-names): Add modstatic3.
30531         (tststatic3-ENV, tststatic4-ENV): New variables.
30532         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30533         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30535 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30537         * configure.in (CC): Require GCC version 4.4 or later.
30538         * configure: Regenerated.
30539         * manual/install.texi (Tools for Compilation): Update GCC version
30540         requirement.
30541         * INSTALL: Regenerated.
30543 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30545         [BZ #15674]
30546         * string/test-memcmp.c (check2): New.
30547         (main): Call check2.
30549         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30551 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30553         [BZ #15022]
30554         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30555         over to...
30556         (dl_open_worker) [!SHARED]: ... here.
30558 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30560         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30562 2013-06-25  Richard Henderson  <rth@redhat.com>
30564         * locale/programs/locarchive.c: Include <libc-internal.h>
30566 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30568         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30569         trailing whitespace removed.
30571 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30573         [BZ #10283]
30574         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30575         * locale/programs/locarchive.c: Include libc-mmap.h.
30576         (prepare_address_space): Take two new outputs (the mmap base and len).
30577         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30578         values.
30579         (create_archive): Declare new mmap base and len values for
30580         prepare_address_space, and store the result in ah.
30581         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30582         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30583         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30584         Declare new mmap base and len values for
30585         prepare_address_space, and store the result in new_ah.
30586         (open_archive): Declare new mmap base and len values for
30587         prepare_address_space, and store the result in ah.
30588         (close_archive): If ah->mmap_base is not NULL, use that and
30589         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30590         * sysdeps/generic/libc-mmap.h: New file.
30592 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30594         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30595         (ALIGN_UP): Likewise.
30596         (PTR_ALIGN_DOWN): Likewise.
30597         (PTR_ALIGN_UP): Likewise.
30599 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30601         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30602         entry mapped to PPC_PLATFORM_POWER8.
30603         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30604         POWER8.
30605         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30606         (_dl_string_platform): Add case for exporting platform position for
30607         POWER8.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30609         search path to sysdeps/powerpc/powerpc32/power8 directory.
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30611         search path to sysdeps/powerpc/powerpc64/power8 directory.
30612         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30613         power7 directories.
30614         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30615         power7 directories.
30617 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30619         * INSTALL: Regenerate.
30621         * nscd/connections.c (nscd_init): Fix comment.
30623 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30625         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30627         [BZ #15667]
30628         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30629         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30631 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30633         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30634         DL_DST_REQ_STATIC.
30635         (DL_DST_REQ_STATIC): Remove macro.
30637 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30639         [BZ #7006]
30640         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30641         with a shift of 0 bits.
30643 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30645         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30646         $(tststatic-ENV).
30648 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30650         [BZ #15655]
30651         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30653 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30655         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30656         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30657         accepts -fno-tree-loop-distribute-patterns.
30658         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30659         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30660         recursive call.
30661         * string/memset.c (memset): Likewise.
30662         * string/test-memmove.c (simple_memmove): Disable loop transformation
30663         to library calls.
30664         * string/test-memset.c (simple_memset): Likewise.
30665         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30666         * benchtests/bench-memset.c (simple_memset): Likewise.
30667         * configure: Regenerated.
30669 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30671         * math/test-misc.c (main): Ignore fesetround failure when failures
30672         of subsequent rounding tests would be ignored.
30674         [BZ #15654]
30675         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30676         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30677         * math/fegetenv.c (__fegetenv): Return 0.
30678         * math/fegetexcept.c (fegetexcept): Return 0.
30679         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30680         FE_TONEAREST.
30681         * math/feholdexcpt.c (feholdexcept): Return 0.
30682         * math/fesetenv.c (__fesetenv): Return 0.
30683         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30684         argument FE_TONEAREST.
30685         * math/feupdateenv.c (__feupdateenv): Return 0.
30686         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30688 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30690         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30691         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30692         ($(objpfx)rtld-%.os rules): Use them.
30694 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30696         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30697         fields.
30699 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30701         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30702         length of target pattern, then descending length of dependency pattern.
30703         * configure.in (AWK): Require gawk 3.1.2 or newer.
30704         * manual/install.texi (Tools for Compilation): Say that we do.
30705         * configure: Regenerated.
30707         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30708         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30709         * scripts/sysd-rules.awk: ... this new script.
30710         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30711         than a glob-style pattern.
30713 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30715         * math/test-misc.c (main): Do not treat incorrectly rounded
30716         conversions as failure unless ROUNDING_TESTS passes.
30718 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30720         [BZ #15631]
30721         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30722         restore exception state around main square root computation, then
30723         check for inexactness explicitly.
30725         * math/libm-test.inc (fma_test_data): Add another test.
30727 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30729         * manual/threads.texi (Non-POSIX Extensions): New document
30730         node.  Document pthread_getattr_default_np and
30731         pthread_setattr_default_np.
30733         * Versions.def (libpthread): Add GLIBC_2.18.
30734         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30736         Likewise.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30738         Likewise.
30739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30740         Likewise.
30741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30742         Likewise.
30743         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30744         Likewise.
30745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30746         Likewise.
30747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30748         Likewise.
30749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30750         Likewise.
30751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30752         Likewise.
30754 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30757         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30759 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30760             H.J. Lu  <hjl.tools@gmail.com>
30762         [BZ #15627]
30763         * sysdeps/x86_64/rtld-memset.c: Remove file.
30764         * sysdeps/x86_64/rtld-memset.S: New file.
30766 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30768         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30769         (test_in_one_mode): Take arguments for whether the rounding mode
30770         is supported for each floating-point type.
30771         (do_test): Pass new arguments to test_in_one_mode using
30772         ROUNDING_TESTS.
30774 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30776         * posix/tst-waitid.c (do_test): Distinguish different instances of
30777         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30778         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30779         before entering the kernel for waitpid.
30781 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30783         * NEWS: Fix note on clock function precision.  Text by Roland
30784         McGrath.
30786 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30788         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30789         it into place only when and if the sanity check passes.
30791 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30793         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30794         output for whether conversion result is exact.  Take argument
30795         indicating whether type is IBM long double.
30796         (round_for_all): Change need_exact field to ibm_ld.
30797         * stdlib/tst-strtod-round.c (struct exactness): New type.
30798         (struct test): Change bool ld_ok field to struct exactness exact.
30799         (TEST): Update all definitions for change to field.
30800         (tests): Regenerate array contents.
30801         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30802         field value.  Check for IBM long double here.
30803         (do_test): Update calls to test_in_one_mode.
30805 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30807         [BZ #12515]
30808         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30809         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30811 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30813         [BZ #15605]
30814         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30815         generated by the compiler on loop optimizations.
30816         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30817         general definitions.
30819 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30821         * math/bug-nextafter.c: Include <math-tests.h>.
30822         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30823         the relevant type.
30824         * math/bug-nexttoward.c: Include <math-tests.h>.
30825         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30826         the relevant type.
30827         * math/test-misc.c: Include <math-tests.h>.
30828         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30829         the relevant type.
30831 2013-06-12  Andreas Jaeger  <aj@suse.de>
30833         * po/ia.po: Update Interlingua translation from translation
30834         project.
30836 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838         * include/fenv.h: Include stdbool.h.
30839         (struct rm_ctx): New structure.
30840         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30841         Define macro.
30842         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30843         (SET_RESTORE_ROUNDF): Likewise.
30844         (SET_RESTORE_ROUNDL): Likewise.
30845         (SET_RESTORE_ROUND_NOEX): Likewise.
30846         (SET_RESTORE_ROUND_NOEXF): Likewise.
30847         (SET_RESTORE_ROUND_NOEXL): Likewise.
30848         (SET_RESTORE_ROUND_53BIT): Likewise.
30849         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30850         (libc_feresetround_noexf_ctx): Likewise.
30851         (libc_feresetround_noexl_ctx): Likewise.
30852         (libc_feholdsetround_53bit_ctx): Likewise.
30853         (libc_feresetround_53bit_ctx): Likewise.
30854         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30855         (libc_feholdexcept_setround_sse_ctx): New function.
30856         (libc_fesetenv_sse_ctx): Likewise.
30857         (libc_feupdateenv_sse_ctx): Likewise.
30858         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30859         (libc_feholdexcept_setround_387_ctx): Likewise.
30860         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30861         (libc_feholdsetround_387_prec_ctx): Likewise.
30862         (libc_feholdsetround_387_ctx): Likewise.
30863         (libc_feholdsetround_387_53bit_ctx): Likewise.
30864         (libc_feholdsetround_sse_ctx): Likewise.
30865         (libc_feresetround_sse_ctx): Likewise.
30866         (libc_feresetround_387_ctx): Likewise.
30867         (libc_feupdateenv_387_ctx): Likewise.
30868         (libc_feholdexcept_setroundf_ctx): Define macro.
30869         (libc_fesetenvf_ctx): Likewise.
30870         (libc_feupdateenvf_ctx): Likewise.
30871         (libc_feholdsetroundf_ctx): Likewise.
30872         (libc_feresetroundf_ctx): Likewise.
30873         (libc_feholdexcept_setround_ctx): Likewise.
30874         (libc_fesetenv_ctx): Likewise.
30875         (libc_feupdateenv_ctx): Likewise.
30876         (libc_feholdsetround_ctx): Likewise.
30877         (libc_feresetround_ctx): Likewise.
30878         (libc_feholdexcept_setroundl_ctx): Likewise.
30879         (libc_feupdateenvl_ctx): Likewise.
30880         (libc_feholdsetroundl_ctx): Likewise.
30881         (libc_feresetroundl_ctx): Likewise.
30882         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30883         (libc_feresetround_53bit_ctx): Likewise.
30885 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30887         * locale/iso-639.def: Convert to UTF-8.
30889 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30891         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30892         (EXCEPTION_TESTS_double): Likewise.
30893         (EXCEPTION_TESTS_long_double): Likewise.
30894         (EXCEPTION_TESTS): Likewise.
30895         * math/libm-test.inc (test_exceptions): Only test exceptions if
30896         EXCEPTION_TESTS (FLOAT).
30898 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30900         * benchtests/Makefile (string-bench): Add strcpy_chk and
30901         stpcpy_chk.
30902         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30903         * benchtests/bench-stpcpy_chk.c: New file.
30904         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30905         * benchtests/bench-strcpy_chk.c: New file.
30906         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30907         code.
30908         (do_test): Likewise.
30910 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30912         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30913         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30914         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30915         with tabs where appropriate.
30916         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30917         dl-procinfo.h.
30918         [PPC_PLATFORM_PPC440]: Likewise.
30919         [PPC_PLATFORM_PPC464]: Likewise.
30920         [PPC_PLATFORM_PPC476]: Likewise.
30921         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30922         ppc464, and ppc476 platform strings merging from ports/
30923         dl-procinfo.h.
30925 2013-06-11  Andreas Schwab  <schwab@suse.de>
30927         [BZ #14991]
30928         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30929         (from_ucs4_idx): Regenerate.
30930         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30931         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30932         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30933         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30934         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30935         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30936         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30937         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30938         from FROM_LOOP and TO_LOOP specific macros.
30939         (BODY): Handle combining characters.
30940         * iconvdata/BIG5HKSCS.irreversible: Update.
30941         * iconvdata/BIG5HKSCS.precomposed: New file.
30942         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30943         characters.
30944         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30946 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30948         * include/sys/time.h: Fix indentation and add copyright header.
30950         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30951         (do_test): Likewise.
30952         * string/test-memchr.c (do_one_test): Likewise.
30953         (do_test): Likewise.
30954         * string/test-memcmp.c (do_one_test): Likewise.
30955         (do_test): Likewise.
30956         * string/test-memcpy.c (do_one_test): Likewise.
30957         (do_test): Likewise.
30958         * string/test-memmem.c (do_one_test): Likewise.
30959         (do_test): Likewise.
30960         (do_random_tests): Likewise.
30961         * string/test-memmove.c (do_one_test): Likewise.
30962         (do_test): Likewise.
30963         * string/test-memset.c (do_one_test): Likewise.
30964         (do_test): Likewise.
30965         * string/test-rawmemchr.c (do_one_test): Likewise.
30966         (do_test): Likewise.
30967         * string/test-strcasecmp.c (do_one_test): Likewise.
30968         (do_test): Likewise.
30969         * string/test-strcasestr.c (do_one_test): Likewise.
30970         (do_test): Likewise.
30971         * string/test-strcat.c (do_one_test): Likewise.
30972         (do_test): Likewise.
30973         * string/test-strchr.c (do_one_test): Likewise.
30974         (do_test): Likewise.
30975         * string/test-strcmp.c (do_one_test): Likewise.
30976         (do_test): Likewise.
30977         * string/test-strcpy.c (do_one_test): Likewise.
30978         (do_test): Likewise.
30979         * string/test-string.h: Likewise.
30980         (test_init): Likewise.
30981         * string/test-strlen.c (do_one_test): Likewise.
30982         (do_test): Likewise.
30983         * string/test-strncasecmp.c (do_one_test): Likewise.
30984         (do_test): Likewise.
30985         * string/test-strncat.c (do_one_test): Likewise.
30986         (do_test): Likewise.
30987         * string/test-strncmp.c (do_one_test): Likewise.
30988         (do_test_limit): Likewise.
30989         (do_test): Likewise.
30990         * string/test-strncpy.c (do_one_test): Likewise.
30991         (do_test): Likewise.
30992         * string/test-strnlen.c (do_one_test): Likewise.
30993         (do_test): Likewise.
30994         * string/test-strpbrk.c (do_one_test): Likewise.
30995         (do_test): Likewise.
30996         * string/test-strrchr.c (do_one_test): Likewise.
30997         (do_test): Likewise.
30998         * string/test-strspn.c (do_one_test): Likewise.
30999         (do_test): Likewise.
31000         * string/test-strstr.c (do_one_test): Likewise.
31001         (do_test): Likewise.
31003         * benchtests/Makefile (string-bench): Add string benchmarks.
31004         * benchtests/bench-bcopy-ifunc.c: New file.
31005         * benchtests/bench-bcopy.c: New file.
31006         * benchtests/bench-bzero-ifunc.c: New file.
31007         * benchtests/bench-bzero.c: New file.
31008         * benchtests/bench-memccpy-ifunc.c: New file.
31009         * benchtests/bench-memccpy.c: New file.
31010         * benchtests/bench-memchr-ifunc.c: New file.
31011         * benchtests/bench-memchr.c: New file.
31012         * benchtests/bench-memcmp-ifunc.c: New file.
31013         * benchtests/bench-memcmp.c: New file.
31014         * benchtests/bench-memmem-ifunc.c: New file.
31015         * benchtests/bench-memmem.c: New file.
31016         * benchtests/bench-memmove-ifunc.c: New file.
31017         * benchtests/bench-memmove.c: New file.
31018         * benchtests/bench-mempcpy-ifunc.c: New file.
31019         * benchtests/bench-mempcpy.c: New file.
31020         * benchtests/bench-memset-ifunc.c: New file.
31021         * benchtests/bench-memset.c: New file.
31022         * benchtests/bench-rawmemchr-ifunc.c: New file.
31023         * benchtests/bench-rawmemchr.c: New file.
31024         * benchtests/bench-stpcpy-ifunc.c: New file.
31025         * benchtests/bench-stpcpy.c: New file.
31026         * benchtests/bench-stpncpy-ifunc.c: New file.
31027         * benchtests/bench-stpncpy.c: New file.
31028         * benchtests/bench-strcasecmp-ifunc.c: New file.
31029         * benchtests/bench-strcasecmp.c: New file.
31030         * benchtests/bench-strcasestr-ifunc.c: New file.
31031         * benchtests/bench-strcasestr.c: New file.
31032         * benchtests/bench-strcat-ifunc.c: New file.
31033         * benchtests/bench-strcat.c: New file.
31034         * benchtests/bench-strchr-ifunc.c: New file.
31035         * benchtests/bench-strchr.c: New file.
31036         * benchtests/bench-strchrnul-ifunc.c: New file.
31037         * benchtests/bench-strchrnul.c: New file.
31038         * benchtests/bench-strcmp-ifunc.c: New file.
31039         * benchtests/bench-strcmp.c: New file.
31040         * benchtests/bench-strcpy-ifunc.c: New file.
31041         * benchtests/bench-strcpy.c: New file.
31042         * benchtests/bench-strcspn-ifunc.c: New file.
31043         * benchtests/bench-strcspn.c: New file.
31044         * benchtests/bench-strlen-ifunc.c: New file.
31045         * benchtests/bench-strlen.c: New file.
31046         * benchtests/bench-strncasecmp-ifunc.c: New file.
31047         * benchtests/bench-strncasecmp.c: New file.
31048         * benchtests/bench-strncat-ifunc.c: New file.
31049         * benchtests/bench-strncat.c: New file.
31050         * benchtests/bench-strncmp-ifunc.c: New file.
31051         * benchtests/bench-strncmp.c: New file.
31052         * benchtests/bench-strncpy-ifunc.c: New file.
31053         * benchtests/bench-strncpy.c: New file.
31054         * benchtests/bench-strnlen-ifunc.c: New file.
31055         * benchtests/bench-strnlen.c: New file.
31056         * benchtests/bench-strpbrk-ifunc.c: New file.
31057         * benchtests/bench-strpbrk.c: New file.
31058         * benchtests/bench-strrchr-ifunc.c: New file.
31059         * benchtests/bench-strrchr.c: New file.
31060         * benchtests/bench-strspn-ifunc.c: New file.
31061         * benchtests/bench-strspn.c: New file.
31062         * benchtests/bench-strstr-ifunc.c: New file.
31063         * benchtests/bench-strstr.c: New file.
31065         * benchtests/Makefile: Disable parallel execution of targets.
31066         (string-bench): Add memcpy.
31067         (benchset): New variable to store a list of benchmark sets.
31068         (bench-func): Renamed from bench.
31069         (bench-set): New target.
31070         (bench): Depend on bench-func and bench-set.
31071         * benchtests/README: Add section on benchmark sets.
31072         * benchtests/bench-memcpy-ifunc.c: New file.
31073         * benchtests/bench-memcpy.c: New file.
31074         * benchtests/bench-string.h: New file.
31076 2013-06-11  Andreas Schwab  <schwab@suse.de>
31078         [BZ #15577]
31079         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31080         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31081         values in the triple.
31082         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31083         terminator in the group key.
31085 2013-06-11  Andreas Jaeger  <aj@suse.de>
31087         * po/zh_TW.po: Update Chinese (traditional) translation from
31088         translation project.
31090 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31093         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31094         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31095         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31096         (clock_getcpuclockid): Likewise.
31097         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31098         Add weak_alias and libc_hidden_def.
31099         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31100         * rt/clock_gettime.c (clock_gettime): Rename to
31101         __clock_gettime.  Add weak_alias and libc_hidden_def.
31102         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31103         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31104         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31105         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31106         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31107         Likewise.
31108         * rt/clock_settime.c (clock_settime): Rename to
31109         __clock_settime.  Add weak_alias and libc_hidden_def.
31110         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31112 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31114         * mach/err_boot.sub: Remove trailing whitespace.
31115         * mach/err_ipc.sub: Likewise.
31116         * mach/err_mach.sub: Likewise.
31118         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31119         (ROUNDING_TESTS_double): Likewise.
31120         (ROUNDING_TESTS_long_double): Likewise.
31121         (ROUNDING_TESTS): Likewise.
31122         * math/libm-test.inc: Include <math-tests.h>.
31123         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31124         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31125         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31126         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31128 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31130         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31131         of assigning.
31133 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31135         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31136         otherwise empty TRANS lines.
31137         * sysdeps/gnu/errlist.c: Regenerated.
31139         * catgets/gencat.c (error_print): Use (void) in function
31140         definition.
31141         * crypt/crypt_util.c (__init_des): Likewise.
31142         * crypt/speeds.c (Stop): Likewise.
31143         (main): Likewise.
31144         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31145         * inet/ruserpass.c (token): Likewise.
31146         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31147         * intl/localealias.c (extend_alias_table): Likewise.
31148         * intl/plural-exp.c (init_germanic_plural): Likewise.
31149         * libio/fcloseall.c (__fcloseall): Likewise.
31150         * libio/genops.c (_IO_flush_all): Likewise.
31151         (_IO_flush_all_linebuffered): Likewise.
31152         (_IO_cleanup): Likewise.
31153         (_IO_iter_begin): Likewise.
31154         (_IO_iter_end): Likewise.
31155         (_IO_list_lock): Likewise.
31156         (_IO_list_unlock): Likewise.
31157         (_IO_list_resetlock): Likewise.
31158         * libio/getchar.c (getchar): Likewise.
31159         * libio/getchar_u.c (getchar_unlocked): Likewise.
31160         * libio/getwchar.c (getwchar): Likewise.
31161         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31162         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31163         * login/getpt.c (__getpt): Likewise.
31164         * login/tst-utmp.c (main): Likewise.
31165         * malloc/hooks.c (__malloc_check_init): Likewise.
31166         * malloc/malloc.c (__malloc_stats): Likewise.
31167         * malloc/mtrace.c (tr_break): Likewise.
31168         (mtrace): Likewise.
31169         (muntrace): Likewise.
31170         * misc/fstab.c (endfsent): Likewise.
31171         * misc/getclktck.c (__getclktck): Likewise.
31172         * misc/getdtsz.c (__getdtablesize): Likewise.
31173         * misc/gethostid.c (gethostid): Likewise.
31174         * misc/getpagesize.c (__getpagesize): Likewise.
31175         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31176         (__get_nprocs): Likewise.
31177         (__get_phys_pages): Likewise.
31178         (__get_avphys_pages): Likewise.
31179         * misc/getttyent.c (getttyent): Likewise.
31180         (setttyent): Likewise.
31181         (endttyent): Likewise.
31182         * misc/getusershell.c (getusershell): Likewise.
31183         (endusershell): Likewise.
31184         (setusershell): Likewise.
31185         (initshells): Likewise.
31186         * misc/hsearch.c (__hdestroy): Likewise.
31187         * misc/sync.c (sync): Likewise.
31188         * misc/syslog.c (closelog_internal): Likewise.
31189         (closelog): Likewise.
31190         * misc/ttyslot.c (ttyslot): Likewise.
31191         * misc/vhangup.c (vhangup): Likewise.
31192         * posix/fork.c (__fork): Likewise.
31193         * posix/getegid.c (__getegid): Likewise.
31194         * posix/geteuid.c (__geteuid): Likewise.
31195         * posix/getgid.c (__getgid): Likewise.
31196         * posix/getpid.c (__getpid): Likewise.
31197         * posix/getppid.c (__getppid): Likewise.
31198         * posix/getuid.c (__getuid): Likewise.
31199         * posix/pause.c (pause): Likewise.
31200         * posix/setpgrp.c (setpgrp): Likewise.
31201         * posix/setsid.c (__setsid): Likewise.
31202         * posix/test-vfork.c (noop): Likewise.
31203         * resolv/gethnamaddr.c (_endhtent): Likewise.
31204         (_gethtent): Likewise.
31205         (ht_endhostent): Likewise.
31206         (gethostent): Likewise.
31207         (dns_service): Likewise.
31208         * stdlib/drand48.c (drand48): Likewise.
31209         * stdlib/lrand48.c (lrand48): Likewise.
31210         * stdlib/mrand48.c (mrand48): Likewise.
31211         * stdlib/rand.c (rand): Likewise.
31212         * stdlib/random.c (__random): Likewise.
31213         * stdlib/setenv.c (clearenv): Likewise.
31214         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31215         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31216         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31217         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31218         (__get_nprocs): Likewise.
31219         (__get_phys_pages): Likewise.
31220         (__get_avphys_pages): Likewise.
31221         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31222         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31223         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31224         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31225         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31226         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31227         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31228         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31229         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31230         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31231         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31232         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31233         * sysdeps/posix/clock.c (clock): Likewise.
31234         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31235         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31236         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31237         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31238         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31239         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31240         (__get_nprocs_conf): Likewise.
31241         (__get_phys_pages): Likewise.
31242         (__get_avphys_pages): Likewise.
31243         * time/clock.c (clock): Likewise.
31244         * time/tzset.c (__tzname_max): Likewise.
31246 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31248         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31249         (__bswap_32): Do not use "register".
31250         * crypt/crypt.c (_ufc_doit_r): Likewise.
31251         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31252         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31253         * gmon/gmon.c (__monstartup): Likewise.
31254         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31255         * hurd/hurdmalloc.c (more_memory): Likewise.
31256         (malloc): Likewise.
31257         (free): Likewise.
31258         (realloc): Likewise.
31259         (malloc_fork_prepare): Likewise.
31260         (malloc_fork_parent): Likewise.
31261         (malloc_fork_child): Likewise.
31262         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31263         (_svcauth_des): Likewise.
31264         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31265         * inet/inet_net.c (inet_network): Likewise.
31266         * inet/inet_netof.c (inet_netof): Likewise.
31267         * inet/rcmd.c (__validuser2_sa): Likewise.
31268         * io/fts.c (fts_open): Likewise.
31269         (fts_load): Likewise.
31270         (fts_close): Likewise.
31271         (fts_read): Likewise.
31272         (fts_children): Likewise.
31273         (fts_build): Likewise.
31274         (fts_stat): Likewise.
31275         (fts_sort): Likewise.
31276         (fts_alloc): Likewise.
31277         (fts_lfree): Likewise.
31278         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31279         (_IO_file_xsgetn): Likewise.
31280         (_IO_file_xsgetn_mmap): Likewise.
31281         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31282         (_IO_cookie_write): Likewise.
31283         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31284         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31285         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31286         * malloc/obstack.c (_obstack_begin): Likewise.
31287         (_obstack_begin_1): Likewise.
31288         (_obstack_newchunk): Likewise.
31289         (_obstack_allocated_p): Likewise.
31290         (obstack_free): Likewise.
31291         (_obstack_memory_used): Likewise.
31292         * misc/getttyent.c (getttynam): Likewise.
31293         (getttyent): Likewise.
31294         (skip): Likewise.
31295         (value): Likewise.
31296         * misc/getusershell.c (initshells): Likewise.
31297         * misc/syslog.c (__vsyslog_chk): Likewise.
31298         * misc/ttyslot.c (ttyslot): Likewise.
31299         * nis/nis_hash.c (__nis_hash): Likewise.
31300         * posix/fnmatch_loop.c (FCT): Likewise.
31301         * posix/getconf.c (print_all): Likewise.
31302         (main): Likewise.
31303         * posix/getopt.c (exchange): Likewise.
31304         * posix/glob.c (globfree): Likewise.
31305         (prefix_array): Likewise.
31306         (__glob_pattern_type): Likewise.
31307         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31308         (NS_GET32): Likewise.
31309         (NS_PUT16): Likewise.
31310         (NS_PUT32): Likewise.
31311         * resolv/gethnamaddr.c (getanswer): Likewise.
31312         (gethostbyname2): Likewise.
31313         (gethostbyaddr): Likewise.
31314         (_gethtent): Likewise.
31315         (_gethtbyname2): Likewise.
31316         (_gethtbyaddr): Likewise.
31317         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31318         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31319         * resolv/res_init.c (__res_vinit): Likewise.
31320         (net_mask): Likewise.
31321         * resolv/res_mkquery.c (outchar): Likewise.
31322         (PRINT): Likewise.
31323         * stdio-common/printf_fp.c (outchar): Likewise.
31324         (PRINT): Likewise.
31325         * stdio-common/printf_fphex.c (outchar): Likewise.
31326         (PRINT): Likewise.
31327         * stdio-common/printf_size.c (outchar): Likewise.
31328         (PRINT): Likewise.
31329         * stdio-common/test_rdwr.c (main): Likewise.
31330         * stdio-common/tfformat.c (matches): Likewise.
31331         * stdio-common/vfprintf.c (outchar): Likewise.
31332         (printf_unknown): Likewise.
31333         (buffered_vfprintf): Likewise.
31334         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31335         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31336         (ReadFile): Likewise.
31337         * stdlib/qsort.c (SWAP): Likewise.
31338         (_quicksort): Likewise.
31339         * stdlib/setenv.c (__add_to_environ): Likewise.
31340         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31341         * stdlib/strtol_l.c (__strtol_l): Likewise.
31342         * stdlib/tst-strtod.c (main): Likewise.
31343         * stdlib/tst-strtol.c (main): Likewise.
31344         * stdlib/tst-strtoll.c (main): Likewise.
31345         * string/bits/string2.h (__strcmp_cc): Likewise.
31346         (__strcmp_cg): Likewise.
31347         (__strcspn_c1): Likewise.
31348         (__strcspn_c2): Likewise.
31349         (__strcspn_c3): Likewise.
31350         (__strspn_c1): Likewise.
31351         (__strspn_c2): Likewise.
31352         (__strspn_c3): Likewise.
31353         (__strsep_1c): Likewise.
31354         (__strsep_2c): Likewise.
31355         (__strsep_3c): Likewise.
31356         * string/memccpy.c (__memccpy): Likewise.
31357         * string/stpcpy.c (__stpcpy): Likewise.
31358         * string/strcmp.c (strcmp): Likewise.
31359         * string/strrchr.c (strrchr): Likewise.
31360         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31361         Likewise.
31362         * sysdeps/mach/hurd/getcwd.c
31363         (_hurd_canonicalize_directory_name_internal): Likewise.
31364         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31365         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31366         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31367         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31368         Likewise, in both definitions.
31369         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31370         definitions.
31371         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31372         64] (__bswap_64): Likewise.
31373         * time/test_time.c (main): Likewise.
31374         * time/tzfile.c (__tzfile_read): Likewise.
31375         (__tzfile_compute): Likewise.
31376         * time/tzset.c (__tzset_parse_tz): Likewise.
31377         (tzset_internal): Likewise.
31378         (compute_change): Likewise.
31379         * wcsmbs/wcscat.c (__wcscat): Likewise.
31380         * wcsmbs/wcschr.c (wcschr): Likewise.
31381         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31382         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31383         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31384         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31385         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31386         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31387         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31388         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31389         * wcsmbs/wmemset.c (wmemset): Likewise.
31391 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31393         * scripts/config.guess: Update to version 2013-05-16.
31394         * scripts/config.sub: Update to version 2013-04-24.
31395         * scripts/install-sh: Update to version 2011-11-20.07.
31396         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31397         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31399 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31401         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31402         * elf/sln.c: Likewise.
31403         * hurd/hurd/ioctl.h: Likewise.
31404         * hurd/hurdmalloc.c: Likewise.
31405         * hurd/xattr.c: Likewise.
31406         * include/shlib-compat.h: Likewise.
31407         * inet/ruserpass.c: Likewise.
31408         * libio/iofgets_u.c: Likewise.
31409         * libio/iofgetws_u.c: Likewise.
31410         * locale/programs/ld-identification.c: Likewise.
31411         * locale/programs/ld-time.c: Likewise.
31412         * mach/msg-destroy.c: Likewise.
31413         * nss/nss_files/files-netgrp.c: Likewise.
31414         * resolv/res_data.c: Likewise.
31415         * soft-fp/op-1.h: Likewise.
31416         * soft-fp/op-2.h: Likewise.
31417         * soft-fp/op-4.h: Likewise.
31418         * soft-fp/op-common.h: Likewise.
31419         * stdio-common/printf_fphex.c: Likewise.
31420         * stdlib/strtod_l.c: Likewise.
31421         * sunrpc/rpc/clnt.h: Likewise.
31422         * sysdeps/generic/framestate.c: Likewise.
31423         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31424         * sysdeps/i386/bsd-setjmp.S: Likewise.
31425         * sysdeps/i386/__longjmp.S: Likewise.
31426         * sysdeps/i386/setjmp.S: Likewise.
31427         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31428         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31430         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31432         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31433         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31434         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31435         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31436         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31437         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31438         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31439         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31440         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31441         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31442         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31443         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31444         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31445         * sysdeps/ieee754/support.c: Likewise.
31446         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31447         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31448         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31449         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31450         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31451         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31452         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31453         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31454         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31455         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31456         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31457         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31458         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31459         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31460         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31461         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31462         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31465 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31467         * posix/transbug.c: Remove executable mode.
31469 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31471         * crypt/speeds.c: Remove trailing whitespace.
31472         * dlfcn/default.c: Likewise.
31473         * elf/ifuncdep2.c: Likewise.
31474         * elf/ifuncmain1.c: Likewise.
31475         * elf/ifuncmain1vis.c: Likewise.
31476         * elf/testobj.h: Likewise.
31477         * elf/tst-stackguard1.c: Likewise.
31478         * gmon/sys/gmon.h: Likewise.
31479         * hurd/hurdmsg.c: Likewise.
31480         * hurd/new-fd.c: Likewise.
31481         * hurd/ports-get.c: Likewise.
31482         * iconvdata/ibm1008_420.c: Likewise.
31483         * inet/tst-getni1.c: Likewise.
31484         * inet/tst-getni2.c: Likewise.
31485         * libio/ioungetc.c: Likewise.
31486         * libio/wfiledoalloc.c: Likewise.
31487         * manual/libm-err-tab.pl: Likewise.
31488         * math/w_dremf.c: Likewise.
31489         * misc/ftruncate.c: Likewise.
31490         * posix/bug-glob2.c: Likewise.
31491         * posix/tst-pcre.c: Likewise.
31492         * posix/wait4.c: Likewise.
31493         * resolv/README: Likewise.
31494         * resolv/res_debug.h: Likewise.
31495         * resolv/tst-inet_ntop.c: Likewise.
31496         * setjmp/bug269-setjmp.c: Likewise.
31497         * soft-fp/extended.h: Likewise.
31498         * soft-fp/op-1.h: Likewise.
31499         * soft-fp/op-2.h: Likewise.
31500         * soft-fp/op-4.h: Likewise.
31501         * soft-fp/op-8.h: Likewise.
31502         * soft-fp/testit.c: Likewise.
31503         * stdio-common/bug16.c: Likewise.
31504         * stdlib/random.c: Likewise.
31505         * sunrpc/rpcsvc/rquota.x: Likewise.
31506         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31507         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31508         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31509         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31510         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31511         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31512         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31513         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31514         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31515         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31516         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31517         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31518         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31519         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31520         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31521         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31522         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31523         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31524         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31528         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31529         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31530         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31531         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31535         * sysdeps/ieee754/s_lib_version.c: Likewise.
31536         * sysdeps/mach/hurd/check_fds.c: Likewise.
31537         * sysdeps/mach/hurd/getsockname.c: Likewise.
31538         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31539         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31540         * sysdeps/powerpc/bits/link.h: Likewise.
31541         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31542         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31543         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31544         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31545         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31546         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31547         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31548         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31549         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31550         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31551         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31552         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31553         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31554         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31555         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31556         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31557         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31558         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31559         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31562         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31563         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31564         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31565         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31566         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31567         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31568         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31569         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31570         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31571         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31572         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31573         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31574         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31575         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31576         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31577         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31578         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31579         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31580         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31581         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31582         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31583         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31584         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31585         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31586         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31587         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31589         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31590         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31593         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31594         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31595         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31596         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31597         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31598         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31599         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31600         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31601         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31602         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31603         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31604         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31605         * sysdeps/powerpc/sysdep.h: Likewise.
31606         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31607         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31608         * sysdeps/sh/dl-trampoline.S: Likewise.
31609         * sysdeps/sh/memset.S: Likewise.
31610         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31611         * sysdeps/sh/strlen.S: Likewise.
31612         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31613         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31614         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31615         * sysdeps/sparc/sparc32/rem.S: Likewise.
31616         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31617         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31618         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31619         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31620         * sysdeps/sparc/sparc32/urem.S: Likewise.
31621         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31622         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31623         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31624         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31625         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31626         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31627         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31628         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31629         * sysdeps/unix/bsd/times.c: Likewise.
31630         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31631         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31635         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31636         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31637         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31639         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31640         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31641         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31642         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31643         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31644         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31645         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31646         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31647         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31648         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31649         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31650         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31651         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31652         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31653         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31654         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31655         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31656         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31657         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31658         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31659         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31660         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31661         * sysdeps/x86_64/strcspn.S: Likewise.
31663 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31665         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31666         generated file.  Regenerate properly from gen-translit.pl.
31667         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31668         locale/C-translit.h.
31670 2013-06-05  Andreas Schwab  <schwab@suse.de>
31672         [BZ #15100]
31673         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31674         week as 6 instead of -1.
31675         * time/tst-strptime.c (day_tests): Add test case.
31677 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31679         * sysdeps/generic/math_private.h
31680         (libc_feholdexcept_setround_53bit): Replace with
31681         libc_feholdsetround_53bit.
31682         (libc_feupdateenv_53bit): Replace with
31683         libc_feresetround_53bit.
31684         (SET_RESTORE_ROUND_53BIT): Adjust.
31686 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31688         * string/test-strchrnul.c: Add copyright header.
31690         * posix/tst-getaddrinfo4.c: Increase test timeout.
31692 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31694         [BZ #15536]
31695         * math/libm-test.inc (MAX_EXP): Remove
31696         (MIN_EXP): Define.
31697         (ulp): Use MIN_EXP - MANT_DIG.
31698         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31700 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31702         * po/be.po: Revert last change.
31703         * po/zh_CN.po: Likewise.
31704         * po/header.pot: Likewise.
31706 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31708         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31709         link-libc-deps to empty as target-specific variable.
31710         * Makerules (link-libc-args): New variable.
31711         (libc-for-link): Likewise.
31712         (link-libc-deps): Likewise.
31713         (lib%.so): Depend on $(link-libc-deps).  Link with
31714         $(link-libc-args).
31715         (build-module): Link with $(link-libc-args).
31716         (build-module-asneeded): Likewise.
31717         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31718         list of objects.
31719         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31720         target-specific variable.
31721         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31722         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31723         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31724         libc.
31725         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31726         libc and ld.so.
31727         ($(objpfx)libpcprofile.so): Likewise.
31728         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31729         libc_nonshared.a.
31730         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31731         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31732         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31733         $(link-libc-deps).
31734         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31735         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31736         * login/Makefile ($(objpfx)libutil.so): Likewise.
31737         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31738         * math/Makefile ($(objpfx)libm.so): Likewise.
31739         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31740         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31741         variable instead of depending directly on libc.
31742         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31743         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31744         $(link-libc-deps).
31745         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31746         libc.
31747         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31748         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31749         ($(objpfx)libanl.so): Likewise.
31750         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31751         ld.so.
31752         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31753         $(link-libc-deps).
31754         * sysdeps/i386/fpu/Makefile: Remove file.
31755         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31756         ($(objpfx)libm.so): Remove dependency on ld.so.
31758 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31760         [BZ # 15553]
31761         * nis/yp_xdr.c (XDRMAXNAME): Define.
31762         (XDRMAXRECORD): Define.
31763         (xdr_domainname): Use XDRMAXNAME.
31764         (xdr_mapname): Likewise.
31765         (xdr_peername): Likewise.
31766         (xdr_keydat): Use XDRMAXRECORD.
31767         (xdr_valdat): Likewise.
31769 2013-05-30  Jeff Law  <law@redhat.com>
31771         [BZ #14256]
31772         * manual/errno.texi (ESTALE): Update to account for more than
31773         just NFS file systems.
31774         * sysdeps/gnu/errlist.c: Regenerated.
31776 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31778         [BZ #15465]
31779         * elf/Makefile (tests): Add tst-null-argv.
31780         (modules-names):  Add tst-null-argv-lib.
31781         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31782         (tst-null-argv-ENV): Set environment for tst-null-argv.
31783         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31784         (RTLD_PROGNAME): New macro.
31785         * elf/tst-null-argv.c: New test case.
31786         * elf/tst-null-argv-lib.c: Library for test case.
31787         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31788         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31789         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31790         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31791         * elf/dl-init.c (call_init): Likewise.
31792         (_dl_init): Likewise.
31793         * elf/dl-load.c (print_search_path): Likewise.
31794         (_dl_map_object): Likewise.
31795         * elf/dl-lookup.c (do_lookup_x): Likewise.
31796         (add_dependency): Likewise.
31797         (_dl_lookup_symbol_x): Likewise.
31798         (_dl_debug_bindings): Likewise.
31799         * elf/dl-open.c (_dl_show_scope): Likewise.
31800         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31801         * elf/dl-version.c (match_symbol): Likewise.
31802         (_dl_check_map_versions): Likewise.
31803         * elf/rtld.c (dl_main): Likewise.
31804         (print_unresolved): Use RTLD_PROGNAME.
31805         (print_missing_version): Likewise.
31806         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31807         (elf_machine_rela): Likewise.
31808         * sysdeps/powerpc/powerpc32/dl-machine.c
31809         (__process_machine_rela): Likewise.
31810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31811         Likewise.
31812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31813         Likewise.
31814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31815         Likewise.
31816         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31817         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31818         Likewise.
31819         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31820         Likewise.
31821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31823 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31825         * po/be.po: Add descriptive title.
31826         * po/zh_CN.po: Likewise.
31827         * po/header.pot: Likewise.
31829 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31831         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31832         error message.
31833         (enlarge_archive): Likewise.
31835 2013-05-28  Ben North  <ben@redfrontdoor.org>
31837         * manual/arith.texi (frexp): It is the magnitude of the return
31838         value which lies in [0.5, 1), not the return value itself.
31840 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31844 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31846         * stdio-common/bug26.c (main): Correct fscanf template.
31848         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31849         declare _dl_skip_args.
31851         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31852         Don't declare.
31854         * manual/platform.texi: Add missing @end deftypefun.
31856 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31858         [BZ #15529]
31859         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31860         bit of mantissa of 2^16382.
31861         * math/libm-test.inc (hypot_test_data): Add more tests.
31863         * math/libm-test.inc: Add drem and pow10 to list of tested
31864         functions.
31865         (pow10_test): New function.
31866         (drem_test): Likewise.
31867         (drem_test_tonearest): Likewise.
31868         (drem_test_towardzero): Likewise.
31869         (drem_test_downward): Likewise.
31870         (drem_test_upward): Likewise.
31871         (main): Call the new functions.
31873         * math/libm-test.inc (finite_test_data): Remove.
31874         (finite_test): Run tests from isfinite_test_data.
31875         (gamma_test_data): Remove.
31876         (gamma_test): Run tests from lgamma_test_data.
31877         * sysdeps/i386/fpu/libm-test-ulps: Update.
31878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31880 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31882         * manual/platform.texi: Add PowerPC PPR function set documentation.
31883         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31884         implementation.
31886 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31888         * math/libm-test.inc (MAX_EXP): Define.
31889         (ULPDIFF): Define.
31890         (ulp): New function.
31891         (check_float_internal): Use ULPDIFF.
31892         (cpow_test): Disable failing test.
31893         (check_ulp): Test ulp() implemetnation.
31894         (main): Call check_ulp before starting tests.
31896 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31898         * math/gen-libm-test.pl (generate_testfile): Do not handle
31899         START_DATA and END_DATA.
31900         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31901         END_DATA.
31902         (acos_tonearest_test_data): Likewise.
31903         (acos_towardzero_test_data): Likewise.
31904         (acos_downward_test_data): Likewise.
31905         (acos_upward_test_data): Likewise.
31906         (acosh_test_data): Likewise.
31907         (asin_test_data): Likewise.
31908         (asin_tonearest_test_data): Likewise.
31909         (asin_towardzero_test_data): Likewise.
31910         (asin_downward_test_data): Likewise.
31911         (asin_upward_test_data): Likewise.
31912         (asinh_test_data): Likewise.
31913         (atan_test_data): Likewise.
31914         (atanh_test_data): Likewise.
31915         (atan2_test_data): Likewise.
31916         (cabs_test_data): Likewise.
31917         (cacos_test_data): Likewise.
31918         (cacosh_test_data): Likewise.
31919         (carg_test_data): Likewise.
31920         (casin_test_data): Likewise.
31921         (casinh_test_data): Likewise.
31922         (catan_test_data): Likewise.
31923         (catanh_test_data): Likewise.
31924         (cbrt_test_data): Likewise.
31925         (ccos_test_data): Likewise.
31926         (ccosh_test_data): Likewise.
31927         (ceil_test_data): Likewise.
31928         (cexp_test_data): Likewise.
31929         (cimag_test_data): Likewise.
31930         (clog_test_data): Likewise.
31931         (clog10_test_data): Likewise.
31932         (conj_test_data): Likewise.
31933         (copysign_test_data): Likewise.
31934         (cos_test_data): Likewise.
31935         (cos_tonearest_test_data): Likewise.
31936         (cos_towardzero_test_data): Likewise.
31937         (cos_downward_test_data): Likewise.
31938         (cos_upward_test_data): Likewise.
31939         (cosh_test_data): Likewise.
31940         (cosh_tonearest_test_data): Likewise.
31941         (cosh_towardzero_test_data): Likewise.
31942         (cosh_downward_test_data): Likewise.
31943         (cosh_upward_test_data): Likewise.
31944         (cpow_test_data): Likewise.
31945         (cproj_test_data): Likewise.
31946         (creal_test_data): Likewise.
31947         (csin_test_data): Likewise.
31948         (csinh_test_data): Likewise.
31949         (csqrt_test_data): Likewise.
31950         (ctan_test_data): Likewise.
31951         (ctan_tonearest_test_data): Likewise.
31952         (ctan_towardzero_test_data): Likewise.
31953         (ctan_downward_test_data): Likewise.
31954         (ctan_upward_test_data): Likewise.
31955         (ctanh_test_data): Likewise.
31956         (ctanh_tonearest_test_data): Likewise.
31957         (ctanh_towardzero_test_data): Likewise.
31958         (ctanh_downward_test_data): Likewise.
31959         (ctanh_upward_test_data): Likewise.
31960         (erf_test_data): Likewise.
31961         (erfc_test_data): Likewise.
31962         (exp_test_data): Likewise.
31963         (exp_tonearest_test_data): Likewise.
31964         (exp_towardzero_test_data): Likewise.
31965         (exp_downward_test_data): Likewise.
31966         (exp_upward_test_data): Likewise.
31967         (exp10_test_data): Likewise.
31968         (exp2_test_data): Likewise.
31969         (expm1_test_data): Likewise.
31970         (fabs_test_data): Likewise.
31971         (fdim_test_data): Likewise.
31972         (finite_test_data): Likewise.
31973         (floor_test_data): Likewise.
31974         (fma_test_data): Likewise.
31975         (fma_towardzero_test_data): Likewise.
31976         (fma_downward_test_data): Likewise.
31977         (fma_upward_test_data): Likewise.
31978         (fmax_test_data): Likewise.
31979         (fmin_test_data): Likewise.
31980         (fmod_test_data): Likewise.
31981         (fpclassify_test_data): Likewise.
31982         (frexp_test_data): Likewise.
31983         (gamma_test_data): Likewise.
31984         (hypot_test_data): Likewise.
31985         (ilogb_test_data): Likewise.
31986         (isfinite_test_data): Likewise.
31987         (isgreater_test_data): Likewise.
31988         (isgreaterequal_test_data): Likewise.
31989         (isinf_test_data): Likewise.
31990         (isless_test_data): Likewise.
31991         (islessequal_test_data): Likewise.
31992         (islessgreater_test_data): Likewise.
31993         (isnan_test_data): Likewise.
31994         (isnormal_test_data): Likewise.
31995         (issignaling_test_data): Likewise.
31996         (isunordered_test_data): Likewise.
31997         (j0_test_data): Likewise.
31998         (j1_test_data): Likewise.
31999         (jn_test_data): Likewise.
32000         (ldexp_test_data): Likewise.
32001         (lgamma_test_data): Likewise.
32002         (lrint_test_data): Likewise.
32003         (lrint_tonearest_test_data): Likewise.
32004         (lrint_towardzero_test_data): Likewise.
32005         (lrint_downward_test_data): Likewise.
32006         (lrint_upward_test_data): Likewise.
32007         (llrint_test_data): Likewise.
32008         (llrint_tonearest_test_data): Likewise.
32009         (llrint_towardzero_test_data): Likewise.
32010         (llrint_downward_test_data): Likewise.
32011         (llrint_upward_test_data): Likewise.
32012         (log_test_data): Likewise.
32013         (log10_test_data): Likewise.
32014         (log1p_test_data): Likewise.
32015         (log2_test_data): Likewise.
32016         (logb_test_data): Likewise.
32017         (logb_downward_test_data): Likewise.
32018         (lround_test_data): Likewise.
32019         (llround_test_data): Likewise.
32020         (modf_test_data): Likewise.
32021         (nearbyint_test_data): Likewise.
32022         (nextafter_test_data): Likewise.
32023         (nexttoward_test_data): Likewise.
32024         (pow_test_data): Likewise.
32025         (pow_tonearest_test_data): Likewise.
32026         (pow_towardzero_test_data): Likewise.
32027         (pow_downward_test_data): Likewise.
32028         (pow_upward_test_data): Likewise.
32029         (remainder_test_data): Likewise.
32030         (remainder_tonearest_test_data): Likewise.
32031         (remainder_towardzero_test_data): Likewise.
32032         (remainder_downward_test_data): Likewise.
32033         (remainder_upward_test_data): Likewise.
32034         (remquo_test_data): Likewise.
32035         (rint_test_data): Likewise.
32036         (rint_tonearest_test_data): Likewise.
32037         (rint_towardzero_test_data): Likewise.
32038         (rint_downward_test_data): Likewise.
32039         (rint_upward_test_data): Likewise.
32040         (round_test_data): Likewise.
32041         (scalb_test_data): Likewise.
32042         (scalbn_test_data): Likewise.
32043         (scalbln_test_data): Likewise.
32044         (signbit_test_data): Likewise.
32045         (sin_test_data): Likewise.
32046         (sin_tonearest_test_data): Likewise.
32047         (sin_towardzero_test_data): Likewise.
32048         (sin_downward_test_data): Likewise.
32049         (sin_upward_test_data): Likewise.
32050         (sincos_test_data): Likewise.
32051         (sinh_test_data): Likewise.
32052         (sinh_tonearest_test_data): Likewise.
32053         (sinh_towardzero_test_data): Likewise.
32054         (sinh_downward_test_data): Likewise.
32055         (sinh_upward_test_data): Likewise.
32056         (sqrt_test_data): Likewise.
32057         (tan_test_data): Likewise.
32058         (tan_tonearest_test_data): Likewise.
32059         (tan_towardzero_test_data): Likewise.
32060         (tan_downward_test_data): Likewise.
32061         (tan_upward_test_data): Likewise.
32062         (tanh_test_data): Likewise.
32063         (tgamma_test_data): Likewise.
32064         (trunc_test_data): Likewise.
32065         (y0_test_data): Likewise.
32066         (y1_test_data): Likewise.
32067         (yn_test_data): Likewise.
32068         (significand_test_data): Likewise.
32070         * math/gen-libm-test.pl (@functions): Remove variable.
32071         (generate_testfile): Don't handle START and END lines.
32072         * math/libm-test.inc (START): New macro.
32073         (END): Likewise.
32074         (END_COMPLEX): Likewise.
32075         (acos_test): Use END macro without arguments.
32076         (acos_test_tonearest): Likewise.
32077         (acos_test_towardzero): Likewise.
32078         (acos_test_downward): Likewise.
32079         (acos_test_upward): Likewise.
32080         (acosh_test): Likewise.
32081         (asin_test): Likewise.
32082         (asin_test_tonearest): Likewise.
32083         (asin_test_towardzero): Likewise.
32084         (asin_test_downward): Likewise.
32085         (asin_test_upward): Likewise.
32086         (asinh_test): Likewise.
32087         (atan_test): Likewise.
32088         (atanh_test): Likewise.
32089         (atan2_test): Likewise.
32090         (cabs_test): Likewise.
32091         (cacos_test): Use END_COMPLEX macro without arguments.
32092         (cacosh_test): Likewise.
32093         (carg_test): Use END macro without arguments.
32094         (casin_test): Use END_COMPLEX macro without arguments.
32095         (casinh_test): Likewise.
32096         (catan_test): Likewise.
32097         (catanh_test): Likewise.
32098         (cbrt_test): Use END macro without arguments.
32099         (ccos_test): Use END_COMPLEX macro without arguments.
32100         (ccosh_test): Likewise.
32101         (ceil_test): Use END macro without arguments.
32102         (cexp_test): Use END_COMPLEX macro without arguments.
32103         (cimag_test): Use END macro without arguments.
32104         (clog_test): Use END_COMPLEX macro without arguments.
32105         (clog10_test): Likewise.
32106         (conj_test): Likewise.
32107         (copysign_test): Use END macro without arguments.
32108         (cos_test): Likewise.
32109         (cos_test_tonearest): Likewise.
32110         (cos_test_towardzero): Likewise.
32111         (cos_test_downward): Likewise.
32112         (cos_test_upward): Likewise.
32113         (cosh_test): Likewise.
32114         (cosh_test_tonearest): Likewise.
32115         (cosh_test_towardzero): Likewise.
32116         (cosh_test_downward): Likewise.
32117         (cosh_test_upward): Likewise.
32118         (cpow_test): Use END_COMPLEX macro without arguments.
32119         (cproj_test): Likewise.
32120         (creal_test): Use END macro without arguments.
32121         (csin_test): Use END_COMPLEX macro without arguments.
32122         (csinh_test): Likewise.
32123         (csqrt_test): Likewise.
32124         (ctan_test): Likewise.
32125         (ctan_test_tonearest): Likewise.
32126         (ctan_test_towardzero): Likewise.
32127         (ctan_test_downward): Likewise.
32128         (ctan_test_upward): Likewise.
32129         (ctanh_test): Likewise.
32130         (ctanh_test_tonearest): Likewise.
32131         (ctanh_test_towardzero): Likewise.
32132         (ctanh_test_downward): Likewise.
32133         (ctanh_test_upward): Likewise.
32134         (erf_test): Use END macro without arguments.
32135         (erfc_test): Likewise.
32136         (exp_test): Likewise.
32137         (exp_test_tonearest): Likewise.
32138         (exp_test_towardzero): Likewise.
32139         (exp_test_downward): Likewise.
32140         (exp_test_upward): Likewise.
32141         (exp10_test): Likewise.
32142         (exp2_test): Likewise.
32143         (expm1_test): Likewise.
32144         (fabs_test): Likewise.
32145         (fdim_test): Likewise.
32146         (finite_test): Likewise.
32147         (floor_test): Likewise.
32148         (fma_test): Likewise.
32149         (fma_test_towardzero): Likewise.
32150         (fma_test_downward): Likewise.
32151         (fma_test_upward): Likewise.
32152         (fmax_test): Likewise.
32153         (fmin_test): Likewise.
32154         (fmod_test): Likewise.
32155         (fpclassify_test): Likewise.
32156         (frexp_test): Likewise.
32157         (gamma_test): Likewise.
32158         (hypot_test): Likewise.
32159         (ilogb_test): Likewise.
32160         (isfinite_test): Likewise.
32161         (isgreater_test): Likewise.
32162         (isgreaterequal_test): Likewise.
32163         (isinf_test): Likewise.
32164         (isless_test): Likewise.
32165         (islessequal_test): Likewise.
32166         (islessgreater_test): Likewise.
32167         (isnan_test): Likewise.
32168         (isnormal_test): Likewise.
32169         (issignaling_test): Likewise.
32170         (isunordered_test): Likewise.
32171         (j0_test): Likewise.
32172         (j1_test): Likewise.
32173         (jn_test): Likewise.
32174         (ldexp_test): Likewise.
32175         (lgamma_test): Likewise.
32176         (lrint_test): Likewise.
32177         (lrint_test_tonearest): Likewise.
32178         (lrint_test_towardzero): Likewise.
32179         (lrint_test_downward): Likewise.
32180         (lrint_test_upward): Likewise.
32181         (llrint_test): Likewise.
32182         (llrint_test_tonearest): Likewise.
32183         (llrint_test_towardzero): Likewise.
32184         (llrint_test_downward): Likewise.
32185         (llrint_test_upward): Likewise.
32186         (log_test): Likewise.
32187         (log10_test): Likewise.
32188         (log1p_test): Likewise.
32189         (log2_test): Likewise.
32190         (logb_test): Likewise.
32191         (logb_test_downward): Likewise.
32192         (lround_test): Likewise.
32193         (llround_test): Likewise.
32194         (modf_test): Likewise.
32195         (nearbyint_test): Likewise.
32196         (nextafter_test): Likewise.
32197         (nexttoward_test): Likewise.
32198         (pow_test): Likewise.
32199         (pow_test_tonearest): Likewise.
32200         (pow_test_towardzero): Likewise.
32201         (pow_test_downward): Likewise.
32202         (pow_test_upward): Likewise.
32203         (remainder_test): Likewise.
32204         (remainder_test_tonearest): Likewise.
32205         (remainder_test_towardzero): Likewise.
32206         (remainder_test_downward): Likewise.
32207         (remainder_test_upward): Likewise.
32208         (remquo_test): Likewise.
32209         (rint_test): Likewise.
32210         (rint_test_tonearest): Likewise.
32211         (rint_test_towardzero): Likewise.
32212         (rint_test_downward): Likewise.
32213         (rint_test_upward): Likewise.
32214         (round_test): Likewise.
32215         (scalb_test): Likewise.
32216         (scalbn_test): Likewise.
32217         (scalbln_test): Likewise.
32218         (signbit_test): Likewise.
32219         (sin_test): Likewise.
32220         (sin_test_tonearest): Likewise.
32221         (sin_test_towardzero): Likewise.
32222         (sin_test_downward): Likewise.
32223         (sin_test_upward): Likewise.
32224         (sincos_test): Likewise.
32225         (sinh_test): Likewise.
32226         (sinh_test_tonearest): Likewise.
32227         (sinh_test_towardzero): Likewise.
32228         (sinh_test_downward): Likewise.
32229         (sinh_test_upward): Likewise.
32230         (sqrt_test): Likewise.
32231         (tan_test): Likewise.
32232         (tan_test_tonearest): Likewise.
32233         (tan_test_towardzero): Likewise.
32234         (tan_test_downward): Likewise.
32235         (tan_test_upward): Likewise.
32236         (tanh_test): Likewise.
32237         (tgamma_test): Likewise.
32238         (trunc_test): Likewise.
32239         (y0_test): Likewise.
32240         (y1_test): Likewise.
32241         (yn_test): Likewise.
32242         (significand_test): Likewise.
32244 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32246         [BZ #15381]
32247         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32249 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32251         [BZ #14894]
32252         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32253         __ppc_mdoio and __ppc_mdoom.
32254         * manual/platform.texi: Document new functions __ppc_yield,
32255         __ppc_mdoio and __ppc_mdoom.
32257 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32259         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32260         (main): Mention "tls" pseudo-hwcap is legacy.
32261         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32263 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32265         * math/gen-libm-test.pl (parse_args): Output only string of
32266         arguments as text for test name, not full call or descriptions of
32267         tests for extra outputs.
32268         (generate_testfile): Do not pass function name to parse_args.
32269         Generate this_func variable from START.
32270         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32271         field to arg_str.
32272         (struct test_ff_f_data): Likewise.
32273         (test_ff_f_data_nexttoward): Likewise.
32274         (struct test_fi_f_data): Likewise.
32275         (struct test_fl_f_data): Likewise.
32276         (struct test_if_f_data): Likewise.
32277         (struct test_fff_f_data): Likewise.
32278         (struct test_c_f_data): Likewise.
32279         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32280         (struct test_fF_f1_data): Likewise.
32281         (struct test_ffI_f1_data): Likewise.
32282         (struct test_c_c_data): Rename test_name field to arg_str.
32283         (struct test_cc_c_data): Likewise.
32284         (struct test_f_i_data): Likewise.
32285         (struct test_ff_i_data): Likewise.
32286         (struct test_f_l_data): Likewise.
32287         (struct test_f_L_data): Likewise.
32288         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32289         and extra2_name.
32290         (COMMON_TEST_SETUP): New macro.
32291         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32292         (COMMON_TEST_CLEANUP): Likewise.
32293         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32294         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32295         macros.
32296         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32297         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32298         macros.
32299         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32300         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32301         cleanup macros.
32302         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32303         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32304         macros.
32305         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32306         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32307         macros.
32308         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32309         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32310         cleanup macros.
32311         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32312         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32313         cleanup macros.
32314         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32315         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32316         cleanup macros.
32317         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32318         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32319         macros.
32320         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32321         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32322         macros.
32323         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32324         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32325         macros.
32326         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32327         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32328         cleanup macros.
32329         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32330         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32331         cleanup macros.
32332         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32333         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32334         macros.
32335         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32336         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32337         cleanup macros.
32338         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32339         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32340         macros.
32341         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32342         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32343         macros.
32344         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32345         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32346         cleanup macros.
32347         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32349 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32351         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32352         to _sifields.sigfault.
32353         (si_addr_lsb): Define new macro.
32354         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32355         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32356         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32358 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32360         [BZ #15441]
32361         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32362         returns -1.
32363         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32364         null return -1.
32365         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32366         loading the domain.
32368 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32370         * math/gen-libm-test.pl (parse_args): Do not include expected
32371         result in test name.
32372         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32373         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32374         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32375         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32376         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32381         * benchtests/Makefile: Sort function entries.
32383         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32384         tanh, asinh, acosh, atanh.
32385         * benchtests/acos-inputs: New file.
32386         * benchtests/acosh-inputs: New file.
32387         * benchtests/asin-inputs: New file.
32388         * benchtests/asinh-inputs: New file.
32389         * benchtests/atanh-inputs: New file.
32390         * benchtests/cosh-inputs: New file.
32391         * benchtests/log-inputs: New file.
32392         * benchtests/sinh-inputs: New file.
32393         * benchtests/tanh-inputs: New file.
32395 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32397         [BZ #15339]
32398         * posix/tst-getaddrinfo4.c: New test.
32399         * posix/Makefile (tests): Add it.
32401 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32403         [BZ #15339]
32404         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32405         when no services were used.
32406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32407         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32409 2013-05-21  Andreas Schwab  <schwab@suse.de>
32411         [BZ #15014]
32412         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32413         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32414         successful.
32415         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32416         redundant variable declarations and reallocation of buffer when
32417         parsing as IPv6 address.  Always set NSS status when called from
32418         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32419         buffer too small.  Correct computation of needed size.
32420         * nss/Makefile (tests): Add test-digits-dots.
32421         * nss/test-digits-dots.c: New test.
32423 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32425         * benchtests/Makefile: Remove instructions for adding
32426         benchmark tests.
32427         * benchtests/README: New file to explain how to execute and
32428         enhance the benchmark tests.
32430 2013-05-21  Andreas Schwab  <schwab@suse.de>
32432         [BZ #15493]
32433         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32434         * setjmp/tst-sigsetjmp.c: New test.
32436 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32438         * sysdeps/x86_64/memset.S (memset): New implementation.
32439         (__bzero): Likewise.
32440         (__memset_tail): New function.
32442 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32444         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32445         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32446         __memcpy_sse2_unaligned ifunc selection.
32447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32448         Add memcpy-sse2-unaligned.S.
32449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32450         Add: __memcpy_sse2_unaligned.
32452 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32454         [BZ #15490]
32455         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32456         math_force_eval before restoring floating-point envrionment.
32457         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32459         Likewise.
32460         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32461         <math_private.h>.
32462         (__nearbyintl): Use math_force_eval before restoring
32463         floating-point environment.
32464         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32466         * math/gen-libm-test.pl (special_functions): Remove.
32467         (parse_args): Don't handle TEST_extra.  Handle functions with no
32468         return value.
32469         * math/libm-test.inc (struct test_sincos_data): Replace with
32470         struct test_fFF_11_data.
32471         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32472         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32473         (sincos_test_data): Change element type to struct
32474         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32475         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32476         RUN_TEST_LOOP_sincos.
32477         * math/README.libm-test: Don't mention special handling of
32478         individual functions.
32479         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32480         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32481         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32482         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32483         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32486         * math/gen-libm-test.pl (get_variable): Remove function.
32487         (parse_args): Don't show pointer parameters to call in test
32488         names.  Use "extra output N" in test names for extra outputs
32489         rather than naming variables.
32491 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32493         [BZ #15488]
32494         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32495         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32496         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32497         double tests.
32498         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32499         disable.
32500         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32501         check_long_double.
32503         * math/gen-libm-test.pl (@tests): Remove variable.
32504         ($count): Likewise.
32505         (new_test): Remove function.
32506         (show_exceptions): New function.
32507         (special_functions): Use show_exceptions instead of new_test.
32508         (parse_args): Likewise.
32509         (generate_testfile): Pass only function name in generated call to
32510         print_max_error or print_complex_max_error.
32511         (get_ulps): Do not handle complex tests specially.
32512         (output_test): Rename to ...
32513         (get_all_ulps_for_test): ... this.  Return a string rather than
32514         printing to a file.  Require ulps to be present.
32515         (output_ulps): Generate arrays rather than #defines.
32516         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32517         (struct ulp_data): New type.
32518         (BUILD_COMPLEX_ULP): Remove macro.
32519         (compare_ulp_data): New function.
32520         (find_ulps): Likewise.
32521         (find_test_ulps): Likewise.
32522         (find_function_ulps): Likewise.
32523         (find_complex_function_ulps): Likewise.
32524         (print_max_error): Determine allowed ulps using
32525         find_function_ulps.
32526         (print_complex_max_error): Determine allowed ulps using
32527         find_complex_function_ulps.
32528         (check_float_internal): Determine max ulps using find_test_ulps.
32529         (check_float): Do not take max_ulp parameter.  Update call to
32530         check_float_internal.
32531         (check_complex): Likewise.
32532         (check_int): Do not take max_ulp parameter.
32533         (check_long): Likewise.
32534         (check_bool): Likewise.
32535         (check_longlong): Likewise.
32536         (struct test_f_f_data): Remove max_ulp field.
32537         (struct test_ff_f_data): Likewise.
32538         (struct test_ff_f_data_nexttoward): Likewise.
32539         (struct test_fi_f_data): Likewise.
32540         (struct test_fl_f_data): Likewise.
32541         (struct test_if_f_data): Likewise.
32542         (struct test_fff_f_data): Likewise.
32543         (struct test_c_f_data): Likewise.
32544         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32545         (struct test_fF_f1_data): Likewise.
32546         (struct test_ffI_f1_data): Likewise.
32547         (struct test_c_c_data): Remove max_ulp field.
32548         (struct test_cc_c_data): Likewise.
32549         (struct test_f_i_data): Likewise.
32550         (struct test_ff_i_data): Likewise.
32551         (struct test_f_l_data): Likewise.
32552         (struct test_f_L_data): Likewise.
32553         (struct test_sincos_data): Likewise.
32554         (RUN_TEST_f_f): Do not handle ulps.
32555         (RUN_TEST_LOOP_f_f): Likewise.
32556         (RUN_TEST_2_f): Likewise.
32557         (RUN_TEST_LOOP_2_f): Likewise.
32558         (RUN_TEST_fff_f): Likewise.
32559         (RUN_TEST_LOOP_fff_f): Likewise.
32560         (RUN_TEST_c_f): Likewise.
32561         (RUN_TEST_LOOP_c_f): Likewise.
32562         (RUN_TEST_f_f1): Likewise.
32563         (RUN_TEST_LOOP_f_f1): Likewise.
32564         (RUN_TEST_fF_f1): Likewise.
32565         (RUN_TEST_LOOP_fF_f1): Likewise.
32566         (RUN_TEST_fI_f1): Likewise.
32567         (RUN_TEST_LOOP_fI_f1): Likewise.
32568         (RUN_TEST_ffI_f1): Likewise.
32569         (RUN_TEST_LOOP_ffI_f1): Likewise.
32570         (RUN_TEST_c_c): Likewise.
32571         (RUN_TEST_LOOP_c_c): Likewise.
32572         (RUN_TEST_cc_c): Likewise.
32573         (RUN_TEST_LOOP_cc_c): Likewise.
32574         (RUN_TEST_f_i): Likewise.
32575         (RUN_TEST_LOOP_f_i): Likewise.
32576         (RUN_TEST_f_i_tg): Likewise.
32577         (RUN_TEST_LOOP_f_i_tg): Likewise.
32578         (RUN_TEST_ff_i_tg): Likewise.
32579         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32580         (RUN_TEST_f_b): Likewise.
32581         (RUN_TEST_LOOP_f_b): Likewise.
32582         (RUN_TEST_f_b_tg): Likewise.
32583         (RUN_TEST_LOOP_f_b_tg): Likewise.
32584         (RUN_TEST_f_l): Likewise.
32585         (RUN_TEST_LOOP_f_l): Likewise.
32586         (RUN_TEST_f_L): Likewise.
32587         (RUN_TEST_LOOP_f_L): Likewise.
32588         (RUN_TEST_sincos): Likewise.
32589         (RUN_TEST_LOOP_sincos): Likewise.
32591 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32593         [BZ #15480]
32594         [BZ #15485]
32595         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32596         main case of finite arguments, set rounding mode to FE_TONEAREST
32597         and discard exceptions.
32598         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32599         exceptions.
32600         (remainder_tonearest_test_data): New variable.
32601         (remainder_test_tonearest): New function.
32602         (remainder_towardzero_test_data): New variable.
32603         (remainder_test_towardzero): New function.
32604         (remainder_downward_test_data): New variable.
32605         (remainder_test_downward): New function.
32606         (remainder_upward_test_data): New variable.
32607         (remainder_test_upward): New function.
32608         (main): Call the new test functions.
32610         * math/libm-test.inc (struct test_f_f1_data): Remove field
32611         extra_init.
32612         (struct test_fF_f1_data): Likewise.
32613         (struct test_ffI_f1_data): Likewise.
32614         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32615         based on value of EXTRA_EXPECTED.
32616         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32617         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32618         EXTRA_VAR based on value of EXTRA_EXPECTED.
32619         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32620         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32621         EXTRA_VAR based on value of EXTRA_EXPECTED.
32622         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32623         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32624         EXTRA_VAR based on value of EXTRA_EXPECTED.
32625         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32626         * math/gen-libm-test.pl (parse_args): Don't output initializers
32627         for extra output values.
32629         * math/libm-test.inc (check_int): Expect result to be exactly
32630         equal to expected value and do not handle ulps.
32631         (check_long): Likewise.
32632         (check_longlong): Likewise.
32634         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32635         exceptions.
32636         (cimag_test_data): Likewise.
32637         (conj_test_data): Likewise.
32638         (copysign_test_data): Likewise.
32639         (cproj_test_data): Likewise.
32640         (creal_test_data): Likewise.
32641         (fabs_test_data): Likewise.
32642         (fdim_test_data): Likewise.
32643         (finite_test_data): Likewise.
32644         (floor_test_data): Likewise.
32645         (fmax_test_data): Likewise.
32646         (fmin_test_data): Likewise.
32647         (fmod_test_data): Likewise.
32648         (fpclassify_test_data): Likewise.
32649         (frexp_test_data): Likewise.
32650         (ilogb_test_data): Likewise.
32651         (isfinite_test_data): Likewise.
32652         (isgreater_test_data): Likewise.
32653         (isgreaterequal_test_data): Likewise.
32654         (isinf_test_data): Likewise.
32655         (isless_test_data): Likewise.
32656         (islessequal_test_data): Likewise.
32657         (islessgreater_test_data): Likewise.
32658         (isnan_test_data): Likewise.
32659         (isnormal_test_data): Likewise.
32660         (issignaling_test_data): Likewise.
32661         (isunordered_test_data): Likewise.
32662         (ldexp_test_data): Likewise.
32663         (lrint_test_data): Likewise.
32664         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32665         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32666         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32667         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32668         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32669         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32670         test input.
32671         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32672         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32673         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32674         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32675         that test input.
32676         (lrint_downward_test_data): Test for "inexact" exceptions.
32677         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32678         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32679         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32680         test input.
32681         (lrint_upward_test_data): Test for "inexact" exceptions.
32682         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32683         test input.
32684         (llrint_test_data): Test for "inexact" exceptions.
32685         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32686         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32687         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32688         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32689         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32690         (llrint_downward_test_data): Test for "inexact" exceptions.
32691         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32692         (llrint_upward_test_data): Test for "inexact" exceptions.
32693         (logb_test_data): Likewise.
32694         (logb_downward_test_data): Likewise.
32695         (nextafter_test_data): Likewise.
32696         (nexttoward_test_data): Likewise.
32697         (remainder_test_data): Likewise.
32698         (remquo_test_data): Likewise.
32699         (scalbn_test_data): Likewise.
32700         (scalbln_test_data): Likewise.
32701         (signbit_test_data): Likewise.
32702         (sqrt_test_data): Likewise.
32703         (significand_test_data): Likewise.
32705 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32707         [BZ #15424]
32708         * benchtests/bench-modf.c (struct args): Mark arg0 as
32709         volatile.
32710         * scripts/bench.pl: Mark members of struct args as volatile.
32712 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32714         [BZ # 15497]
32715         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32716         negative infinity on POWER6 or lower.
32717         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32719 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32721         [BZ #15442]
32722         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32723         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32724         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32725         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32726         (_FP_SETQNAN): New macro.
32727         (_FP_SETQNAN_SEMIRAW): Likewise.
32728         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32729         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32730         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32731         (FP_EXTEND): Use _FP_FRAC_SNANP.
32732         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32733         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32734         into account.
32735         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32736         New macro.
32737         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32738         Likewise.
32740 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32742         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32743         with DIVIDE_BY_ZERO_EXCEPTION.
32744         (gamma_test_data): Likewise.
32745         (lgamma_test_data): Likewise.
32746         (log_test_data): Likewise.
32747         (log10_test_data): Likewise.
32748         (log2_test_data): Likewise.
32749         (tgamma_test_data): Likewise.
32751         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32752         (acos_test_tonearest): Likewise.
32753         (acos_test_towardzero): Likewise.
32754         (acos_test_downward): Likewise.
32755         (acos_test_upward): Likewise.
32756         (acosh_test): Likewise.
32757         (asin_test): Likewise.
32758         (asin_test_tonearest): Likewise.
32759         (asin_test_towardzero): Likewise.
32760         (asin_test_downward): Likewise.
32761         (asin_test_upward): Likewise.
32762         (asinh_test): Likewise.
32763         (atan_test): Likewise.
32764         (atanh_test): Likewise.
32765         (atan2_test): Likewise.
32766         (cabs_test): Likewise.
32767         (cacos_test): Likewise.
32768         (cacosh_test): Likewise.
32769         (casin_test): Likewise.
32770         (casinh_test): Likewise.
32771         (catan_test): Likewise.
32772         (catanh_test): Likewise.
32773         (cbrt_test): Likewise.
32774         (ccos_test): Likewise.
32775         (ccosh_test): Likewise.
32776         (cexp_test): Likewise.
32777         (clog_test): Likewise.
32778         (clog10_test): Likewise.
32779         (cos_test): Likewise.
32780         (cos_test_tonearest): Likewise.
32781         (cos_test_towardzero): Likewise.
32782         (cos_test_downward): Likewise.
32783         (cos_test_upward): Likewise.
32784         (cosh_test): Likewise.
32785         (cosh_test_tonearest): Likewise.
32786         (cosh_test_towardzero): Likewise.
32787         (cosh_test_downward): Likewise.
32788         (cosh_test_upward): Likewise.
32789         (cpow_test): Likewise.
32790         (csin_test): Likewise.
32791         (csinh_test): Likewise.
32792         (csqrt_test): Likewise.
32793         (ctan_test): Likewise.
32794         (ctan_test_tonearest): Likewise.
32795         (ctan_test_towardzero): Likewise.
32796         (ctan_test_downward): Likewise.
32797         (ctan_test_upward): Likewise.
32798         (ctanh_test): Likewise.
32799         (ctanh_test_tonearest): Likewise.
32800         (ctanh_test_towardzero): Likewise.
32801         (ctanh_test_downward): Likewise.
32802         (ctanh_test_upward): Likewise.
32803         (erf_test): Likewise.
32804         (erfc_test): Likewise.
32805         (exp_test): Likewise.
32806         (exp_test_tonearest): Likewise.
32807         (exp_test_towardzero): Likewise.
32808         (exp_test_downward): Likewise.
32809         (exp_test_upward): Likewise.
32810         (exp10_test): Likewise.
32811         (exp2_test): Likewise.
32812         (expm1_test): Likewise.
32813         (fmod_test): Likewise.
32814         (gamma_test): Likewise.
32815         (hypot_test): Likewise.
32816         (j0_test): Likewise.
32817         (j1_test): Likewise.
32818         (jn_test): Likewise.
32819         (lgamma_test): Likewise.
32820         (log_test): Likewise.
32821         (log10_test): Likewise.
32822         (log1p_test): Likewise.
32823         (log2_test): Likewise.
32824         (logb_test_downward): Likewise.
32825         (pow_test): Likewise.
32826         (pow_test_tonearest): Likewise.
32827         (pow_test_towardzero): Likewise.
32828         (pow_test_downward): Likewise.
32829         (pow_test_upward): Likewise.
32830         (remainder_test): Likewise.
32831         (remquo_test): Likewise.
32832         (sin_test): Likewise.
32833         (sin_test_tonearest): Likewise.
32834         (sin_test_towardzero): Likewise.
32835         (sin_test_downward): Likewise.
32836         (sin_test_upward): Likewise.
32837         (sincos_test): Likewise.
32838         (sinh_test): Likewise.
32839         (sinh_test_tonearest): Likewise.
32840         (sinh_test_towardzero): Likewise.
32841         (sinh_test_downward): Likewise.
32842         (sinh_test_upward): Likewise.
32843         (sqrt_test): Likewise.
32844         (tan_test): Likewise.
32845         (tan_test_tonearest): Likewise.
32846         (tan_test_towardzero): Likewise.
32847         (tan_test_downward): Likewise.
32848         (tan_test_upward): Likewise.
32849         (tanh_test): Likewise.
32850         (tgamma_test): Likewise.
32851         (y0_test): Likewise.
32852         (y1_test): Likewise.
32853         (yn_test): Likewise.
32855         * math/gen-libm-test.pl (adjust_arg): Remove function.
32856         (special_function): Remove argument $in_func.  Only handle
32857         generating output for tables of tests, not inside functions.
32858         (parse_args): Likewise.
32859         (generate_testfile): Remove variable $in_func.  Update call to
32860         parse_args.
32861         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32862         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32863         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32864         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32865         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32866         (MAX_VALUE_INIT): Rename macro to max_value.
32867         (MIN_VALUE_INIT): Rename macro to min_value.
32868         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32869         (plus_zero): Remove variable.
32870         (minus_zero): Likewise.
32871         (plus_infty): Likewise.
32872         (minus_infty): Likewise.
32873         (qnan_value): Likewise.
32874         (max_value): Likewise.
32875         (min_value): Likewise.
32876         (min_subnorm_value): Likewise.
32878 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32880         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32881         uint64_t or uint32_t usage.
32882         * crypt/sha256-block.c: Likewise.
32883         * crypt/sha256-crypt.c: Likewise.
32884         * crypt/sha256.c: Likewise.
32885         * crypt/sha512-block.c: Likewise.
32886         * crypt/sha512-crypt.c: Likewise.
32887         * crypt/sha512.c: Likewise.
32888         * debug/backtrace-tst.c: Likewise.
32889         * debug/pcprofiledump.c: Likewise.
32890         * elf/cache.c: Likewise.
32891         * elf/dl-cache.c: Likewise.
32892         * elf/dl-misc.c: Likewise.
32893         * elf/dl-profile.c: Likewise.
32894         * elf/dl-support.c: Likewise.
32895         * elf/ldconfig.c: Likewise.
32896         * elf/sprof.c: Likewise.
32897         * iconv/dummy-repertoire.c: Likewise.
32898         * iconv/iconv_charmap.c: Likewise.
32899         * iconv/skeleton.c: Likewise.
32900         * iconvdata/8bit-generic.c: Likewise.
32901         * iconvdata/cp737.h: Likewise.
32902         * iconvdata/cp775.h: Likewise.
32903         * iconvdata/ibm1008.h: Likewise.
32904         * iconvdata/ibm1025.h: Likewise.
32905         * iconvdata/ibm1046.h: Likewise.
32906         * iconvdata/ibm1097.h: Likewise.
32907         * iconvdata/ibm1112.h: Likewise.
32908         * iconvdata/ibm1122.h: Likewise.
32909         * iconvdata/ibm1123.h: Likewise.
32910         * iconvdata/ibm1124.h: Likewise.
32911         * iconvdata/ibm1129.h: Likewise.
32912         * iconvdata/ibm1130.h: Likewise.
32913         * iconvdata/ibm1132.h: Likewise.
32914         * iconvdata/ibm1133.h: Likewise.
32915         * iconvdata/ibm1137.h: Likewise.
32916         * iconvdata/ibm1140.h: Likewise.
32917         * iconvdata/ibm1141.h: Likewise.
32918         * iconvdata/ibm1142.h: Likewise.
32919         * iconvdata/ibm1143.h: Likewise.
32920         * iconvdata/ibm1144.h: Likewise.
32921         * iconvdata/ibm1145.h: Likewise.
32922         * iconvdata/ibm1146.h: Likewise.
32923         * iconvdata/ibm1147.h: Likewise.
32924         * iconvdata/ibm1148.h: Likewise.
32925         * iconvdata/ibm1149.h: Likewise.
32926         * iconvdata/ibm1153.h: Likewise.
32927         * iconvdata/ibm1154.h: Likewise.
32928         * iconvdata/ibm1155.h: Likewise.
32929         * iconvdata/ibm1156.h: Likewise.
32930         * iconvdata/ibm1157.h: Likewise.
32931         * iconvdata/ibm1158.h: Likewise.
32932         * iconvdata/ibm1160.h: Likewise.
32933         * iconvdata/ibm1161.h: Likewise.
32934         * iconvdata/ibm1162.h: Likewise.
32935         * iconvdata/ibm1163.h: Likewise.
32936         * iconvdata/ibm1164.h: Likewise.
32937         * iconvdata/ibm1166.h: Likewise.
32938         * iconvdata/ibm1167.h: Likewise.
32939         * iconvdata/ibm12712.h: Likewise.
32940         * iconvdata/ibm1390.h: Likewise.
32941         * iconvdata/ibm1399.h: Likewise.
32942         * iconvdata/ibm16804.h: Likewise.
32943         * iconvdata/ibm4517.h: Likewise.
32944         * iconvdata/ibm4899.h: Likewise.
32945         * iconvdata/ibm4909.h: Likewise.
32946         * iconvdata/ibm4971.h: Likewise.
32947         * iconvdata/ibm5347.h: Likewise.
32948         * iconvdata/ibm803.h: Likewise.
32949         * iconvdata/ibm856.h: Likewise.
32950         * iconvdata/ibm901.h: Likewise.
32951         * iconvdata/ibm902.h: Likewise.
32952         * iconvdata/ibm9030.h: Likewise.
32953         * iconvdata/ibm9066.h: Likewise.
32954         * iconvdata/ibm921.h: Likewise.
32955         * iconvdata/ibm922.h: Likewise.
32956         * iconvdata/ibm9448.h: Likewise.
32957         * iconvdata/isiri-3342.h: Likewise.
32958         * iconvdata/jis0201.h: Likewise.
32959         * include/link.h: Likewise.
32960         * include/netdb.h: Likewise.
32961         * inet/check_native.c: Likewise.
32962         * inet/check_pf.c: Likewise.
32963         * inet/getipv4sourcefilter.c: Likewise.
32964         * inet/getnameinfo.c: Likewise.
32965         * inet/getsourcefilter.c: Likewise.
32966         * inet/htonl.c: Likewise.
32967         * inet/setipv4sourcefilter.c: Likewise.
32968         * inet/setsourcefilter.c: Likewise.
32969         * inet/test-inet6_opt.c: Likewise.
32970         * inet/tst-network.c: Likewise.
32971         * locale/C-collate.c: Likewise.
32972         * locale/C-ctype.c: Likewise.
32973         * locale/C-time.c: Likewise.
32974         * locale/C-translit.h: Likewise.
32975         * locale/loadarchive.c: Likewise.
32976         * locale/programs/3level.h: Likewise.
32977         * locale/programs/charmap.c: Likewise.
32978         * locale/programs/charmap.h: Likewise.
32979         * locale/programs/ld-address.c: Likewise.
32980         * locale/programs/ld-collate.c: Likewise.
32981         * locale/programs/ld-ctype.c: Likewise.
32982         * locale/programs/ld-identification.c: Likewise.
32983         * locale/programs/ld-measurement.c: Likewise.
32984         * locale/programs/ld-messages.c: Likewise.
32985         * locale/programs/ld-monetary.c: Likewise.
32986         * locale/programs/ld-name.c: Likewise.
32987         * locale/programs/ld-numeric.c: Likewise.
32988         * locale/programs/ld-paper.c: Likewise.
32989         * locale/programs/ld-telephone.c: Likewise.
32990         * locale/programs/ld-time.c: Likewise.
32991         * locale/programs/linereader.c: Likewise.
32992         * locale/programs/locale.c: Likewise.
32993         * locale/programs/locarchive.c: Likewise.
32994         * locale/programs/locfile.h: Likewise.
32995         * locale/programs/repertoire.c: Likewise.
32996         * locale/programs/simple-hash.c: Likewise.
32997         * locale/programs/simple-hash.h: Likewise.
32998         * malloc/memusage.c: Likewise.
32999         * malloc/memusagestat.c: Likewise.
33000         * nis/nis_defaults.c: Likewise.
33001         * nis/nis_hash.c: Likewise.
33002         * nis/nis_print.c: Likewise.
33003         * nis/nis_xdr.c: Likewise.
33004         * nscd/connections.c: Likewise.
33005         * nscd/hstcache.c: Likewise.
33006         * nscd/nscd_gethst_r.c: Likewise.
33007         * nscd/nscd_getserv_r.c: Likewise.
33008         * nscd/nscd_helper.c: Likewise.
33009         * nscd/servicescache.c: Likewise.
33010         * nss/makedb.c: Likewise.
33011         * nss/nss_db/db-XXX.c: Likewise.
33012         * nss/nss_db/db-initgroups.c: Likewise.
33013         * nss/nss_db/db-netgrp.c: Likewise.
33014         * nss/nss_files/files-network.c: Likewise.
33015         * nss/nss_files/files-parse.c: Likewise.
33016         * posix/bug-regex5.c: Likewise.
33017         * posix/fnmatch_loop.c: Likewise.
33018         * posix/regcomp.c: Likewise.
33019         * posix/regexec.c: Likewise.
33020         * posix/tst-rfc3484-2.c: Likewise.
33021         * posix/tst-rfc3484-3.c: Likewise.
33022         * posix/tst-rfc3484.c: Likewise.
33023         * resolv/nss_dns/dns-canon.c: Likewise.
33024         * resolv/nss_dns/dns-network.c: Likewise.
33025         * resolv/res_init.c: Likewise.
33026         * resolv/res_mkquery.c: Likewise.
33027         * resolv/tst-aton.c: Likewise.
33028         * stdlib/cxa_atexit.c: Likewise.
33029         * stdlib/cxa_finalize.c: Likewise.
33030         * stdlib/gen-fpioconst.c: Likewise.
33031         * stdlib/strtol_l.c: Likewise.
33032         * string/tst-endian.c: Likewise.
33033         * sunrpc/auth_des.c: Likewise.
33034         * sunrpc/clnt_udp.c: Likewise.
33035         * sunrpc/rtime.c: Likewise.
33036         * sunrpc/svcauth_des.c: Likewise.
33037         * sunrpc/xdr.c: Likewise.
33038         * sunrpc/xdr_intXX_t.c: Likewise.
33039         * sunrpc/xdr_rec.c: Likewise.
33040         * sysdeps/generic/ldconfig.h: Likewise.
33041         * sysdeps/generic/ldsodefs.h: Likewise.
33042         * sysdeps/generic/memusage.h: Likewise.
33043         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33045         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33046         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33047         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33048         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33049         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33050         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33051         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33053         * sysdeps/posix/getaddrinfo.c: Likewise.
33054         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33055         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33056         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33057         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33058         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33059         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33060         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33061         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33062         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33063         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33064         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33065         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33066         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33067         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33068         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33069         * sysdeps/x86_64/dl-tls.h: Likewise.
33070         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33071         * time/alt_digit.c: Likewise.
33072         * time/era.c: Likewise.
33073         * wcsmbs/tst-c16c32-1.c: Likewise.
33075 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33077         * math/libm-test.inc (struct test_sincos_data): New type.
33078         (RUN_TEST_LOOP_sincos): New macro.
33079         (sincos_test_data): New variable.
33080         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33082 2013-05-16  Richard Henderson  <rth@redhat.com>
33084         * math/atest-exp2.c (LIMB64): New macro.
33085         (CONSTSZ): New macro.
33086         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33087         (hexdig): Move ...
33088         (print_mpn_fp): ... to function scope.
33089         (read_mpn_hex): Remove.
33090         (get_log2): Remove.
33091         (exp2_mpn): Use mp_log2.
33092         (main): Use mp_exp1.
33094 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33096         * math/libm-test.inc: Remove comment about not testing "inexact"
33097         exceptions.
33098         (INEXACT_EXCEPTION): New macro.
33099         (NO_INEXACT_EXCEPTION): Likewise.
33100         (INVALID_EXCEPTION_OK): Update value.
33101         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33102         (OVERFLOW_EXCEPTION_OK): Likewise.
33103         (UNDERFLOW_EXCEPTION_OK): Likewise.
33104         (IGNORE_ZERO_INF_SIGN): Likewise.
33105         (ERRNO_UNCHANGED): Likewise.
33106         (ERRNO_EDOM): Likewise.
33107         (ERRNO_ERANGE): Likewise.
33108         (test_exceptions): Handle testing "inexact" exceptions.
33109         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33110         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33111         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33112         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33113         INEXACT_EXCEPTION.
33114         (rint_towardzero_test_data): Likewise.
33115         (rint_downward_test_data): Likewise.
33116         (rint_upward_test_data): Likewise.
33118         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33119         with OVERFLOW_EXCEPTION.
33120         (exp10_test_data): Likewise.
33121         (exp2_test_data): Likewise.
33122         (expm1_test_data): Likewise.
33123         (lgamma_test_data): Likewise.
33124         (pow_test_data): Likewise.
33125         (tgamma_test_data): Likewise.
33126         (yn_test_data): Remove duplicate test of overflow.
33128         * math/libm-test.inc (struct test_cc_c_data): New type.
33129         (RUN_TEST_LOOP_cc_c): New macro.
33130         (cpow_test_data): New variable.
33131         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33133         * math/libm-test.inc (struct test_f_L_data): New type.
33134         (RUN_TEST_LOOP_f_L): New macro.
33135         (llrint_test_data): New variable.
33136         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33137         (llrint_tonearest_test_data): New variable.
33138         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33139         (llrint_towardzero_test_data): New variable.
33140         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33141         (llrint_downward_test_data): New variable.
33142         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33143         (llrint_upward_test_data): New variable.
33144         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33145         (llround_test_data): New variable.
33146         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33148 2013-05-13  Peter Collingbourne  <pcc@google.com>
33150         * math/atest-exp2.c (get_log2): Remove const attribute.
33152 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33154         * math/libm-test.inc (struct test_f_l_data): New type.
33155         (RUN_TEST_LOOP_f_l): New macro.
33156         (lrint_test_data): New variable.
33157         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33158         (lrint_tonearest_test_data): New variable.
33159         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33160         (lrint_towardzero_test_data): New variable.
33161         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33162         (lrint_downward_test_data): New variable.
33163         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33164         (lrint_upward_test_data): New variable.
33165         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33166         (lround_test_data): New variable.
33167         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33169 2013-05-15  Peter Collingbourne  <pcc@google.com>
33171         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33172         (EXTRACT_WORDS64) Use where appropriate.
33173         (INSERT_WORDS64) Likewise.
33175         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33176         constraints with x constraints.
33177         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33179         * malloc/obstack.c (_obstack_compat): Add initializer.
33181 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33184         si_trapno and add si_addr_lsb to _sifields.sigfault.
33185         (si_trapno): Remove macro.
33186         (si_addr_lsb): Define new macro.
33187         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33189 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33191         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33192         instead of TEST_f_l.
33193         (llrint_test_tonearest): Likewise.
33194         (llrint_test_towardzero): Likewise.
33195         (llrint_test_downward): Likewise.
33196         (llrint_test_upward): Likewise.
33197         (llround_test): Likewise.
33199         * math/libm-test.inc (struct test_f_i_data): Add comment.
33200         (RUN_TEST_LOOP_f_b): New macro.
33201         (RUN_TEST_LOOP_f_b_tg): Likewise.
33202         (finite_test_data): New variable.
33203         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33204         (isfinite_test_data): New variable.
33205         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33206         (isinf_test_data): New variable.
33207         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33208         (isnan_test_data): New variable.
33209         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33210         (isnormal_test_data): New variable.
33211         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33212         (issignaling_test_data): New variable.
33213         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33214         (signbit_test_data): New variable.
33215         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33217         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33218         with INVALID_EXCEPTION.
33219         (acosh_test_data): Likewise.
33220         (asin_test_data): Likewise.
33221         (atanh_test_data): Likewise.
33222         (fmod_test_data): Likewise.
33223         (log_test_data): Likewise.
33224         (log10_test_data): Likewise.
33225         (log2_test_data): Likewise.
33226         (pow_test_data): Likewise.
33227         (sqrt_test_data): Likewise.
33228         (y0_test_data): Likewise.
33229         (y1_test_data): Likewise.
33230         (yn_test_data): Likewise.
33232         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33233         function contents.
33235         * math/libm-test.inc (struct test_ff_i_data): New type.
33236         (RUN_TEST_LOOP_ff_i_tg): New macro.
33237         (isgreater_test_data): New variable.
33238         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33239         (isgreaterequal_test_data): New variable.
33240         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33241         (isless_test_data): New variable.
33242         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33243         (islessequal_test_data): New variable.
33244         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33245         (islessgreater_test_data): New variable.
33246         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33247         (isunordered_test_data): New variable.
33248         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33250 2013-05-14  David S. Miller  <davem@davemloft.net>
33252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33254 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33256         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33258         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33259         extra_test to int.
33260         (struct test_f_i_data): Change type of max_ulp to int.
33262         * math/libm-test.inc (test_ffI_f1_data): New type.
33263         (RUN_TEST_LOOP_ffI_f1): New macro.
33264         (remquo_test_data): New variable.
33265         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33267         * setjmp/tst-setjmp-fp.c: New file.
33268         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33269         (link-libm): New variable.
33270         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33272         * math/libm-test.inc (struct test_f_i_data): New type.
33273         (RUN_TEST_LOOP_f_i): New macro.
33274         (RUN_TEST_LOOP_f_i_tg): Likewise.
33275         (fpclassify_test_data): New variable.
33276         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33277         (ilogb_test_data): New variable.
33278         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33280         * math/libm-test.inc (scalbln_test): Correct function name in END
33281         call.
33283         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33284         (RUN_TEST_LOOP_fI_f1): New macro.
33285         (frexp_test_data): New variable.
33286         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33288         * math/libm-test.inc (struct test_fF_f1_data): New type.
33289         (RUN_TEST_LOOP_fF_f1): New macro.
33290         (modf_test_data): New variable.
33291         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33293         * math/libm-test.inc (struct test_f_f1_data): New type.
33294         (RUN_TEST_LOOP_f_f1): New macro.
33295         (gamma_test_data): New variable.
33296         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33297         (lgamma_test_data): New variable.
33298         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33300 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33302         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33303         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33304         (main): Comment "tls" pseudo-hwcap.
33306 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33308         * math/libm-test.inc (struct test_fl_f_data): New type.
33309         (RUN_TEST_LOOP_fl_f): New variable.
33310         (scalbln_test_data): New variable.
33311         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33313         * math/libm-test.inc (struct test_fi_f_data): New type.
33314         (RUN_TEST_LOOP_fi_f): New macro.
33315         (ldexp_test_data): New variable.
33316         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33317         (scalbn_test_data): New variable.
33318         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33320         * math/libm-test.inc (struct test_c_f_data): New type.
33321         (RUN_TEST_LOOP_c_f): New macro.
33322         (cabs_test_data): New variable.
33323         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33324         (carg_test_data): New variable.
33325         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33326         (cimag_test_data): New variable.
33327         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33328         (creal_test_data): New variable.
33329         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33331         * math/libm-test.inc (struct test_if_f_data): New type.
33332         (RUN_TEST_LOOP_if_f): New macro.
33333         (jn_test_data): New variable.
33334         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33335         (yn_test_data): New variable.
33336         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33338         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33340 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33342         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33343         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33345 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33347         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33348         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33349         (bench-deps): Add bench-timing.h.
33350         * benchtests-bench-skeleton.c: Include bench-timing.h.
33351         (main): Use TIMING_* macros instead of clock_gettime.
33352         * benchtests/bench-timing.h: New file.
33354         [BZ #14582]
33355         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33356         Renamed from _LIB_VERSION.
33357         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33359 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33361         * math/libm-test.inc (struct test_fff_f_data): New type.
33362         (RUN_TEST_LOOP_fff_f): New macro.
33363         (fma_test_data): New variable.
33364         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33365         (fma_towardzero_test_data): New variable.
33366         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33367         (fma_downward_test_data): New variable.
33368         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33369         (fma_upward_test_data): New variable.
33370         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33372         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33373         (struct test_c_c_data): New type.
33374         (RUN_TEST_LOOP_c_c): New macro.
33375         (cacos_test_data): New variable.
33376         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33377         (cacosh_test_data): New variable.
33378         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33379         (casin_test_data): New variable.
33380         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33381         (casinh_test_data): New variable.
33382         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33383         (catan_test_data): New variable.
33384         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33385         (catanh_test_data): New variable.
33386         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33387         (ccos_test_data): New variable.
33388         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33389         (ccosh_test_data): New variable.
33390         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33391         (cexp_test_data): New variable.
33392         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33393         (clog_test_data): New variable.
33394         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33395         (clog10_test_data): New variable.
33396         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33397         (conj_test_data): New variable.
33398         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33399         (cproj_test_data): New variable.
33400         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33401         (csin_test_data): New variable.
33402         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33403         (csinh_test_data): New variable.
33404         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33405         (csqrt_test_data): New variable.
33406         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33407         (ctan_test_data): New variable.
33408         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33409         (ctan_tonearest_test_data): New variable.
33410         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33411         (ctan_towardzero_test_data): New variable.
33412         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33413         (ctan_downward_test_data): New variable.
33414         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33415         (ctan_upward_test_data): New variable.
33416         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33417         (ctanh_test_data): New variable.
33418         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33419         (ctanh_tonearest_test_data): New variable.
33420         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33421         (ctanh_towardzero_test_data): New variable.
33422         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33423         (ctanh_downward_test_data): New variable.
33424         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33425         (ctanh_upward_test_data): New variable.
33426         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33427         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33428         of BUILD_COMPLEX.
33430         * math/libm-test.inc (struct test_ff_f_data): New type.
33431         (struct test_ff_f_data_nexttoward): Likewise.
33432         (RUN_TEST_LOOP_2_f): New macro.
33433         (RUN_TEST_LOOP_ff_f): Likewise.
33434         (atan2_test_data): New variable.
33435         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33436         (copysign_test_data): New variable.
33437         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33438         (fdim_test_data): New variable.
33439         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33440         (fmax_test_data): New variable.
33441         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33442         (fmin_test_data): New variable.
33443         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33444         (fmod_test_data): New variable.
33445         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33446         (hypot_test_data): New variable.
33447         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33448         (nextafter_test_data): New variable.
33449         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33450         (nexttoward_test_data): New variable.
33451         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33452         (pow_test_data): New variable.
33453         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33454         (pow_tonearest_test_data): New variable.
33455         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33456         (pow_towardzero_test_data): New variable.
33457         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33458         (pow_downward_test_data): New variable.
33459         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33460         (pow_upward_test_data): New variable.
33461         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33462         (remainder_test_data): New variable.
33463         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33464         (scalb_test_data): New variable.
33465         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33466         * sysdeps/i386/fpu/libm-test-ulps: Update.
33468 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33470         * math/libm-test.inc (fma_test): Use max_value instead of local
33471         variable fltmax.
33472         (nextafter_test): Likewise.
33474         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33475         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33476         (acos_downward_test_data): New variable.
33477         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33478         (acos_upward_test_data): New variable.
33479         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33480         (acosh_test_data): New variable.
33481         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33482         (asin_test_data): New variable.
33483         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33484         (asin_tonearest_test_data): New variable.
33485         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33486         (asin_towardzero_test_data): New variable.
33487         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33488         (asin_downward_test_data): New variable.
33489         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33490         (asin_upward_test_data): New variable.
33491         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33492         (asinh_test_data): New variable.
33493         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33494         (atan_test_data): New variable.
33495         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33496         (atanh_test_data): New variable.
33497         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33498         (cbrt_test_data): New variable.
33499         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33500         (ceil_test_data): New variable.
33501         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33502         (cos_test_data): New variable.
33503         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33504         (cos_tonearest_test_data): New variable.
33505         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33506         (cos_towardzero_test_data): New variable.
33507         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33508         (cos_downward_test_data): New variable.
33509         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33510         (cos_upward_test_data): New variable.
33511         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33512         (cosh_test_data): New variable.
33513         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33514         (cosh_tonearest_test_data): New variable.
33515         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33516         (cosh_towardzero_test_data): New variable.
33517         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33518         (cosh_downward_test_data): New variable.
33519         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33520         (cosh_upward_test_data): New variable.
33521         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33522         (erf_test_data): New variable.
33523         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33524         (erfc_test_data): New variable.
33525         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33526         (exp_test_data): New variable.
33527         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33528         (exp_tonearest_test_data): New variable.
33529         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33530         (exp_towardzero_test_data): New variable.
33531         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33532         (exp_downward_test_data): New variable.
33533         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33534         (exp_upward_test_data): New variable.
33535         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33536         (exp10_test_data): New variable.
33537         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33538         (exp2_test_data): New variable.
33539         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33540         (expm1_test_data): New variable.
33541         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33542         (fabs_test_data): New variable.
33543         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33544         (floor_test_data): New variable.
33545         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33546         (j0_test_data): New variable.
33547         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33548         (j1_test_data): New variable.
33549         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33550         (log_test_data): New variable.
33551         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33552         (log10_test_data): New variable.
33553         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33554         (log1p_test_data): New variable.
33555         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33556         (log2_test_data): New variable.
33557         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33558         (logb_test_data): New variable.
33559         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33560         (logb_downward_test_data): New variable.
33561         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33562         (nearbyint_test_data): New variable.
33563         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33564         (rint_test_data): New variable.
33565         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33566         (rint_tonearest_test_data): New variable.
33567         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33568         (rint_towardzero_test_data): New variable.
33569         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33570         (rint_downward_test_data): New variable.
33571         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33572         (rint_upward_test_data): New variable.
33573         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33574         (round_test_data): New variable.
33575         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33576         (sin_test_data): New variable.
33577         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33578         (sin_tonearest_test_data): New variable.
33579         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33580         (sin_towardzero_test_data): New variable.
33581         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33582         (sin_downward_test_data): New variable.
33583         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33584         (sin_upward_test_data): New variable.
33585         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33586         (sinh_test_data): New variable.
33587         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33588         (sinh_tonearest_test_data): New variable.
33589         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33590         (sinh_towardzero_test_data): New variable.
33591         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33592         (sinh_downward_test_data): New variable.
33593         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33594         (sinh_upward_test_data): New variable.
33595         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33596         (sqrt_test_data): New variable.
33597         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33598         (tan_test_data): New variable.
33599         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33600         (tan_tonearest_test_data): New variable.
33601         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33602         (tan_towardzero_test_data): New variable.
33603         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33604         (tan_downward_test_data): New variable.
33605         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33606         (tan_upward_test_data): New variable.
33607         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33608         (tanh_test_data): New variable.
33609         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33610         (tgamma_test_data): New variable.
33611         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33612         (trunc_test_data): New variable.
33613         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33614         (y0_test_data): New variable.
33615         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33616         (y1_test_data): New variable.
33617         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33618         (significand_test_data): New variable.
33619         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33621 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33623         [BZ #12387]
33624         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33626 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33628         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33630 2013-05-10  Andreas Jaeger  <aj@suse.de>
33632         [BZ #15448]
33633         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33634         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33636 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33638         * math/gen-libm-test.pl (adjust_arg): New function.
33639         (special_functions): Handle generating output in both functions
33640         and arrays.
33641         (parse_args): Likewise.
33642         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33643         $in_func argument to parse_args.
33644         * math/libm-test.inc (struct test_f_f_data): New type.
33645         (IF_ROUND_INIT_): New macro.
33646         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33647         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33648         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33649         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33650         (ROUND_RESTORE_): Likewise.
33651         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33652         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33653         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33654         (ROUND_RESTORE_FE_UPWARD): Likewise.
33655         (RUN_TEST_LOOP_f_f): New macro.
33656         (acos_test_data): New variable.
33657         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33658         (acos_tonearest_test_data): New variable.
33659         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33661 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33663         * benchtests/bench-skeleton.c (startup): Fix coding style.
33665 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33667         [BZ #6809]
33668         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33669         negative infinity argument.
33670         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33671         negative infinity argument.
33672         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33673         negative infinity argument.
33674         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33675         domain errors.
33677 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33679         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33680         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33681         * iconv/iconv_prog.c (main): Likewise.
33682         * locale/programs/charmap-dir.c (charmap_readdir)
33683         (fopen_uncompressed): Likewise.
33684         * locale/programs/locfile.c (siblings_uncached)
33685         (write_locale_data): Use lstat64 instead of lstat.
33686         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33687         stat.
33689 2013-05-10  Andreas Jaeger  <aj@suse.de>
33691         [BZ #15395]
33692         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33693         localization.
33694         Include <locale.h>.
33696 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33698         * elf/dl-close.c (_dl_close_worker): Add comments.
33700 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33702         [BZ #15359]
33703         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33704         high part of pi/2.
33705         (__ieee754_rem_pio2l): Update comments.
33707         [BZ #15429]
33708         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33709         high part of pi/2.
33710         (__ieee754_rem_pio2l): Update comments.
33712         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33713         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33715         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33716         M_PI_4l.
33718         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33719         (M_PI_34_LOG10El): Likewise.
33720         (M_PI2_LOG10El): Likewise.
33721         (M_PI4_LOG10El): Likewise.
33722         (M_PI_LOG10El): Likewise.
33724 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33728 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33730         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33731         (MINUS_ZERO_INIT): Likewise.
33732         (PLUS_INFTY_INIT): Likewise.
33733         (MINUS_INFTY_INIT): Likewise.
33734         (QNAN_VALUE_INIT): Likewise.
33735         (MAX_VALUE_INIT): Likewise.
33736         (MIN_VALUE_INIT): Likewise.
33737         (MIN_SUBNORM_VALUE_INIT): Likewise.
33738         (plus_zero): Initialize with PLUS_ZERO_INIT.
33739         (minus_zero): Initialize with MINUS_ZERO_INIT.
33740         (plus_infty): Initialize with PLUS_INFTY_INIT.
33741         (minus_infty): Initialize with MINUS_INFTY_INIT.
33742         (qnan_value): Initialize with QNAN_VALUE_INIT.
33743         (max_value): Initialize with MAX_VALUE_INIT.
33744         (min_value): Initialize with MIN_VALUE_INIT.
33745         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33747         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33748         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33749         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33750         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33752         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33753         (RUN_TEST_2_f): Likewise.
33754         (RUN_TEST_ff_f): Likewise.
33755         (RUN_TEST_fi_f): Likewise.
33756         (RUN_TEST_fl_f): Likewise.
33757         (RUN_TEST_fff_f): Likewise.
33758         (RUN_TEST_c_f): Likewise.
33759         (RUN_TEST_f_f1): Likewise.
33760         (RUN_TEST_fF_f1): Likewise.
33761         (RUN_TEST_fI_f1): Likewise.
33762         (RUN_TEST_ffI_f1): Likewise.
33763         (RUN_TEST_c_c): Likewise.
33764         (RUN_TEST_cc_c): Likewise.
33765         (RUN_TEST_f_i): Likewise.
33766         (RUN_TEST_f_i_tg): Likewise.
33767         (RUN_TEST_ff_i_tg): Likewise.
33768         (RUN_TEST_f_b): Likewise.
33769         (RUN_TEST_f_b_tg): Likewise.
33770         (RUN_TEST_f_l): Likewise.
33771         (RUN_TEST_f_L): Likewise.
33772         (RUN_TEST_sincos): Likewise.
33773         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33774         whether to show exceptions.  Do not include ");\n" in return
33775         value.
33776         (special_functions): Output call to RUN_TEST_sincos instead of
33777         check_float calls.  Update calls to new_test.
33778         (parse_args): Output call to single RUN_TEST_* macro instead of
33779         check_* calls and other assignments.  Update calls to new_test.
33781         [BZ #2546]
33782         [BZ #2560]
33783         [BZ #5159]
33784         [BZ #15426]
33785         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33786         input to result for tgamma overflow.
33787         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33788         (gamma_coeff): New variable.
33789         (NCOEFF): New macro.
33790         (gamma_positive): New function.
33791         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33792         underflow here.  Use gamma_positive instead of exp (lgamma) for
33793         other arguments.
33794         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33795         (gamma_coeff): New variable.
33796         (NCOEFF): New macro.
33797         (gammaf_positive): New function.
33798         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33799         underflow here.  Use gamma_positive instead of exp (lgamma) for
33800         other arguments.
33801         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33802         (gamma_coeff): New variable.
33803         (NCOEFF): New macro.
33804         (gammal_positive): New function.
33805         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33806         underflow here.  Use gamma_positive instead of exp (lgamma) for
33807         other arguments.
33808         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33809         (gamma_coeff): New variable.
33810         (NCOEFF): New macro.
33811         (gammal_positive): New function.
33812         (__ieee754_gammal_r): Handle positive infinity, overflow and
33813         underflow here.  Handle NaN the same as positive infinity.  Remove
33814         check x < 0xffffffff for negative integers.  Use gamma_positive
33815         instead of exp (lgamma) for other arguments.
33816         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33817         (gamma_coeff): New variable.
33818         (NCOEFF): New macro.
33819         (gammal_positive): New function.
33820         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33821         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33822         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33823         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33824         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33825         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33826         * sysdeps/generic/math_private.h (__gamma_productf): New
33827         prototype.
33828         (__gamma_product): Likewise.
33829         (__gamma_productl): Likewise.
33830         * math/Makefile (libm-calls): Add gamma_product.
33831         * math/libm-test.inc (tgamma_test): Add more tests.
33832         * sysdeps/i386/fpu/libm-test-ulps: Update.
33833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33835 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33837         * benchtests/bench-skeleton.c (main): Preheat CPU.
33839 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33841         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33843 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33845         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33846         and _dl_skip_args_internal.
33848 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33850         * manual/message.texi (Message Translation): Talk about users.
33851         Message to key mapping impacts design.
33853 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33855         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33857         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33859         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33860         * sysdeps/wordsize-64/glob64.c: ... here.
33862         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33863         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33864         New macros.
33866         * debug/getlogin_r_chk.c: Moved to ...
33867         * login/getlogin_r_chk.c: ... here.
33868         * debug/Makefile (routines): Move getlogin_r_chk to ...
33869         * login/Makefile (routines): ... here.
33870         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33871         * login/Versions (libc: GLIBC_2.4): ... here.
33873         * io/poll.c (__poll): Renamed from poll.
33874         Add libc_hidden_def.
33875         (poll): Define as weak alias.
33877         * debug/ptsname_r_chk.c: Moved to ...
33878         * login/ptsname_r_chk.c: ... here.
33879         * debug/Makefile (routines): Move ptsname_r_chk to ...
33880         * login/Makefile (routines): ... here.
33881         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33882         * login/Versions (libc: GLIBC_2.4): ... here.
33884         * posix/getlogin.c: Moved to ...
33885         * login/getlogin.c: ... here.
33886         * posix/getlogin_r.c: Moved to ...
33887         * login/getlogin_r.c: ... here.
33888         * posix/getlogin_r.c: Moved to ...
33889         * login/getlogin_r.c: ... here.
33890         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33891         * login/Makefile (routines): ... here.
33892         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33893         * login/Versions (libc: GLIBC_2.0): ... here.
33895         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33896         (setrlimit): Define as weak alias.
33898         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33899         Call __ names for open, ftruncate, and close.
33900         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33901         (truncate): Define as weak alias.
33903 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33905         * math/gen-libm-test.pl (parse_args): Initialize x before each
33906         test of frexp, modf and remquo.
33908         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33909         test signgam value.
33911 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33913         [BZ #15418]
33914         [BZ #15419]
33915         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33916         internal tests.
33917         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33919 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33921         * elf/dl-writev.h: New file.
33922         * elf/dl-misc.c: Include it.
33923         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33924         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33926 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33928         * math/libm-test.inc (noXFails): Remove variable.
33929         (noXPasses): Likewise.
33930         (BUILD_COMPLEX_INT): Remove macro.
33931         (print_screen): Remove xfail argument.
33932         (print_screen_max_error): Likewise.
33933         (update_stats): Likewise.
33934         (print_max_error): Likewise.  Update calls to other affected
33935         functions.
33936         (print_complex_max_error): Likewise.
33937         (test_single_exception): Update calls to print_screen.
33938         (test_single_errno): Likewise.
33939         (check_float_internal): Remove xfail argument.  Update calls to
33940         other affected functions.
33941         (check_float): Likewise.
33942         (check_complex): Likewise.
33943         (check_int): Likewise.
33944         (check_long): Likewise.
33945         (check_bool): Likewise.
33946         (check_longlong): Likewise.
33947         (main): Don't print noXFails and noXPasses.
33948         * math/gen-libm-test.pl (top level): Don't mention expected
33949         failure handling in comment.
33950         (new_test): Don't handle expected failures.
33951         (parse_args): Don't mention expected failure handling in comment.
33952         (generate_testfile): Don't handle expected failures.
33953         (parse_ulps): Likewise.
33954         (print_ulps_file): Likewise.
33955         (get_failure): Remove function.
33956         (output_test): Don't handle expected failures.
33957         * make/README.libm-test: Don't mention expected failure handling.
33959         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33960         (minus_zero): Likewise.
33961         (plus_infty): Likewise.
33962         (minus_infty): Likewise.
33963         (qnan_value): Likewise.
33964         (max_value): Likewise.
33965         (min_value): Likewise.
33966         (min_subnorm_value): Likewise.
33967         (initialize): Do not initialize those variables dynamically.
33969 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33971         * io/open.c (__open_2): Moved to ...
33972         * io/open_2.c: ... this new file.
33973         * io/open64.c (__open64_2): Moved to ...
33974         * io/open64_2.c: ... this new file.
33975         * io/openat.c (__openat_2): Moved to ...
33976         * io/openat_2.c: ... this new file.
33977         * io/openat64.c (__openat64_2): Moved to ...
33978         * io/openat64_2.c: ... this new file.
33979         * io/Makefile (routines): Add them.
33980         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33981         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33982         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33983         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33984         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33985         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33986         (__openat64): Add hidden_ver.
33987         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33988         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33990         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33991         Separately conditionalize setting of GLRO(dl_sysinfo) so
33992         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33993         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33995 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33997         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33998         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33999         definition.
34000         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34001         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34002         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34003         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34004         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34006 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34008         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34009         test signgam value.
34011         * math/libm-test.inc (hypot_test): Do not use
34012         IGNORE_ZERO_INF_SIGN.
34014 2013-05-03  Andreas Jaeger  <aj@suse.de>
34016         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34017         Linux 3.9.
34018         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34019         (PF_MAX): Adjust for VSOCK change.
34021 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34025 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34027         [BZ #15264]
34028         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34029         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34030         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34032 2013-05-02  David S. Miller  <davem@davemloft.net>
34034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34036 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34038         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34040 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34042         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34044 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34046         [BZ #14952]
34047         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34048         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34049         Use __attribute__ ((__gnu_inline__)).
34050         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34051         Don't use __attribute__ ((__gnu_inline__)).
34053 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #15423]
34056         * math/s_catan.c (__catan): Handle small real or imaginary part of
34057         input specially to avoid spurious underflow.
34058         * math/s_catanf.c (__catanf): Likewise.
34059         * math/s_catanh.c (__catanh): Likewise.
34060         * math/s_catanhf.c (__catanhf): Likewise.
34061         * math/s_catanhl.c (__catanhl): Likewise.
34062         * math/s_catanl.c (__catanl): Likewise.
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-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34072 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34074         [BZ #15416]
34075         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34076         accurately for denominator in atan2.
34077         * math/s_catanf.c (__catanf): Likewise.
34078         * math/s_catanh.c (__catanh): Likewise.
34079         * math/s_catanhf.c (__catanhf): Likewise.
34080         * math/s_catanhl.c (__catanhl): Likewise.
34081         * math/s_catanl.c (__catanl): Likewise.
34082         * math/libm-test.inc (catan_test): Add more tests.
34083         (catanh_test): Likewise.
34084         * sysdeps/i386/fpu/libm-test-ulps: Update.
34085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34087 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34089         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34091         * benchtests/Makefile (bench): Remove slow benchmarks.
34092         * benchtests/atan-inputs: Add slow benchmark inputs.
34093         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34094         (BENCH_FUNC): Accept variant offset.
34095         (VARIANT): Define.
34096         * benchtests/bench-skeleton.c (main): Run benchmark for each
34097         variant.
34098         * benchtests/cos-inputs: Add slow benchmark inputs.
34099         * benchtests/exp-inputs: Likewise.
34100         * benchtests/pow-inputs: Likewise.
34101         * benchtests/sin-inputs: Likewise.
34102         * benchtests/slowatan-inputs: Remove.
34103         * benchtests/slowatan.c: Remove.
34104         * benchtests/slowcos-inputs: Remove.
34105         * benchtests/slowcos.c: Remove.
34106         * benchtests/slowexp-inputs: Remove.
34107         * benchtests/slowexp.c: Remove.
34108         * benchtests/slowpow-inputs: Remove.
34109         * benchtests/slowpow.c: Remove.
34110         * benchtests/slowsin-inputs: Remove.
34111         * benchtests/slowsin.c: Remove.
34112         * benchtests/slowtan-inputs: Remove.
34113         * benchtests/slowtan.c: Remove.
34114         * benchtests/tan-inputs: Add slow benchmark inputs.
34115         * scripts/bench.pl: Parse comments and directives.
34117         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34118         in CPPFLAGS.
34119         ($(objpfx)bench-%.c): Remove *-ITER.
34120         * benchtests/bench-modf.c: Remove definition of ITER.
34121         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34122         (main): Loop for DURATION seconds instead of fixed number of
34123         iterations.
34124         * scripts/bench.pl: Don't expect iterations in parameters.
34126 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34128         * io/fchdir.c (__fchdir): Renamed from fchdir.
34129         (fchdir): Define as weak alias.
34131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34133         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34134         (ERRNO_EDOM): Likewise.
34135         (ERRNO_ERANGE): Likewise.
34136         (noErrnoTests): New variable.
34137         (init_max_error): Set errno to 0.
34138         (test_single_errno): New function.
34139         (test_errno): Likewise.
34140         (check_float_internal): Call test_errno.  Set errno to 0.
34141         (check_complex): Refer to errno tests in comment.
34142         (check_int): Call test_errno.  Set errno to 0.
34143         (check_long): Likewise.
34144         (check_bool): Likewise.
34145         (check_longlong): Likewise.
34146         (cos_test): Use ERRNO_* flags for errno tests instead of
34147         check_int.
34148         (expm1_test): Likewise.
34149         (fmod_test): Likewise.
34150         (ilogb_test): Likewise.
34151         (lgamma_test): Likewise.
34152         (pow_test): Likewise.
34153         (remainder_test): Likewise.
34154         (sin_test): Likewise.
34155         (tan_test): Likewise.
34156         (yn_test): Likewise.
34157         (initialize): Set errno to 0.
34158         (main): Print number of errno tests.
34159         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34161 2013-04-29  Andreas Jaeger  <aj@suse.de>
34163         [BZ #15084]
34164         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34165         and RES_USEVC.
34167         [BZ #15085]
34168         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34169         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34170         unimplemented.
34172         [BZ #15380]
34173         * stdlib/random.c (__initstate): Return NULL if
34174         __initstate fails.
34176         [BZ #15086]
34177         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34178         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34179         RES_SNGLKUPREOP.
34181 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34185 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34187         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34188         of individual tests.
34189         (casin_test): Likewise.
34190         (casinh_test): Likewise.
34192 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34194         [BZ #15409]
34195         * math/s_catan.c (__catan): Handle arguments with large real or
34196         imaginary part separately without squaring.
34197         * math/s_catanf.c (__catanf): Likewise.
34198         * math/s_catanh.c (__catanh): Likewise.
34199         * math/s_catanhf.c (__catanhf): Likewise.
34200         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34201         and redefine.
34202         (__catanhl): Handle arguments with large real or imaginary part
34203         separately without squaring.
34204         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34205         and redefine.
34206         (__catanl): Handle arguments with large real or imaginary part
34207         separately without squaring.
34208         * math/libm-test.inc (catan_test): Add more tests.
34209         (catanh_test): Likewise.
34210         * sysdeps/i386/fpu/libm-test-ulps: Update.
34211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34213 2013-04-27  Andreas Jaeger  <aj@suse.de>
34215         [BZ #15007]
34216         * stdlib/stdlib.h: Update guards for qecvt.
34217         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34218         <stdlib.h>.
34220 2013-04-27  Allan McRae  <allan@archlinux.org>
34222         * sysdeps/i386/fpu/libm-test-ulps: Update.
34224 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34226         [BZ #15406]
34227         * math/s_catan.c: Include <float.h>.
34228         (__catan): Ensure underflow exception occurs for underflowed
34229         result.
34230         * math/s_catanf.c: Include <float.h>.
34231         (__catanf): Ensure underflow exception occurs for underflowed
34232         result.
34233         * math/s_catanh.c: Include <float.h>.
34234         (__catanh): Ensure underflow exception occurs for underflowed
34235         result.
34236         * math/s_catanhf.c: Include <float.h>.
34237         (__catanhf): Ensure underflow exception occurs for underflowed
34238         result.
34239         * math/s_catanhl.c: Include <float.h>.
34240         (__catanhl): Ensure underflow exception occurs for underflowed
34241         result.
34242         * math/s_catanl.c: Include <float.h>.
34243         (__catanl): Ensure underflow exception occurs for underflowed
34244         result.
34245         * math/libm-test.inc (catan_test): Add more tests.
34246         (catanh_test): Likewise.
34248         [BZ #15405]
34249         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34250         underflowed result.
34251         * math/s_ccoshf.c (__ccoshf): Likewise.
34252         * math/s_ccoshl.c (__ccoshl): Likewise.
34253         * math/s_csin.c (__csin): Likewise.
34254         * math/s_csinf.c (__csinf): Likewise.
34255         * math/s_csinh.c (__csinh): Likewise.
34256         * math/s_csinhf.c (__csinhf): Likewise.
34257         * math/s_csinhl.c (__csinhl): Likewise.
34258         * math/s_csinl.c (__csinl): Likewise.
34259         * math/libm-test.inc (ccos_test): Add more tests.
34260         (ccosh_test): Likewise.
34261         (csin_test): Likewise.
34262         (csinh_test): Likewise.
34264 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34266         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34267         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34268         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34269         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34270         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34271         powerpc/power5+/fpu folders.
34272         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34275 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34279 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34281         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34282         additions to variable.
34283         [$(config-machine) = x86_64] (modules-names): Likewise.
34284         ($(objpfx)tst-audit3): Remove dependency.
34285         ($(objpfx)tst-audit3.out): Likewise.
34286         ($(objpfx)tst-audit4): Likewise.
34287         ($(objpfx)tst-audit4.out): Likewise.
34288         ($(objpfx)tst-audit5): Likewise.
34289         ($(objpfx)tst-audit5.out): Likewise.
34290         ($(objpfx)tst-audit6): Likewise.
34291         ($(objpfx)tst-audit6.out): Likewise.
34292         ($(objpfx)tst-audit7): Likewise.
34293         ($(objpfx)tst-audit7.out): Likewise.
34294         (tst-audit3-ENV): Remove variable.
34295         (tst-audit4-ENV): Likewise.
34296         (tst-audit5-ENV): Likewise.
34297         (tst-audit6-ENV): Likewise.
34298         (tst-audit7-ENV): Likewise.
34299         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34300         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34301         addition to variable.
34302         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34303         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34304         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34305         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34306         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34307         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34308         tst-audit3, tst-audit4 and tst-audit5.
34309         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34310         tst-audit6 and tst-audit7.
34311         [$(subdir) = elf] (modules-names): Add audit modules for those
34312         tests.
34313         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34314         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34315         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34316         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34317         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34318         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34319         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34320         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34321         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34322         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34323         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34324         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34325         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34326         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34327         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34328         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34329         Likewise.
34330         [$(subdir) = elf && $(config-cflags-avx) = yes]
34331         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34332         [$(subdir) = elf && $(config-cflags-avx) = yes]
34333         (CFLAGS-tst-auditmod4a.c): Likewise.
34334         [$(subdir) = elf && $(config-cflags-avx) = yes]
34335         (CFLAGS-tst-auditmod4b.c): Likewise.
34336         [$(subdir) = elf && $(config-cflags-avx) = yes]
34337         (CFLAGS-tst-auditmod6b.c): Likewise.
34338         [$(subdir) = elf && $(config-cflags-avx) = yes]
34339         (CFLAGS-tst-auditmod6c.c): Likewise.
34340         [$(subdir) = elf && $(config-cflags-avx) = yes]
34341         (CFLAGS-tst-auditmod7b.c): Likewise.
34342         * elf/tst-audit3.c: Move to ...
34343         * sysdeps/x86_64/tst-audit3.c: ... here.
34344         * elf/tst-audit4.c: Move to ...
34345         * sysdeps/x86_64/tst-audit4.c: ... here.
34346         * elf/tst-audit5.c: Move to ...
34347         * sysdeps/x86_64/tst-audit5.c: ... here.
34348         * elf/tst-audit6.c: Move to ...
34349         * sysdeps/x86_64/tst-audit6.c: ... here.
34350         * elf/tst-audit7.c: Move to ...
34351         * sysdeps/x86_64/tst-audit7.c: ... here.
34352         * elf/tst-auditmod3a.c: Move to ...
34353         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34354         * elf/tst-auditmod3b.c: Move to ...
34355         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34356         * elf/tst-auditmod4a.c: Move to ...
34357         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34358         * elf/tst-auditmod4b.c: Move to ...
34359         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34360         * elf/tst-auditmod5a.c: Move to ...
34361         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34362         * elf/tst-auditmod5b.c: Move to ...
34363         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34364         * elf/tst-auditmod6a.c: Move to ...
34365         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34366         * elf/tst-auditmod6b.c: Move to ...
34367         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34368         * elf/tst-auditmod6c.c: Move to ...
34369         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34370         * elf/tst-auditmod7a.c: Move to ...
34371         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34372         * elf/tst-auditmod7b.c: Move to ...
34373         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34375 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34377         [BZ #15366]
34378         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34379         define unconditionally.
34380         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34381         define unconditionally.
34382         (INT8_C, INT16_C, etc.): Likewise.
34384 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34386         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34387         __ehdr_start with hidden visibility.
34389         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34391 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34393         * math/libm-test.inc (cos_test): Use accurate hex constants.
34394         (sincost_test): Likewise.
34396 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34398         * math/libm-test.inc (catan_test): Add more tests.
34399         (catanh_test): Likewise.
34401         * math/s_catanf.c (__catanf): Use suffixed floating-point
34402         constants.
34403         * math/s_catanhf.c (__catanhf): Likewise.
34404         * math/s_catanhl.c (__catanhl): Likewise.
34405         * math/s_catanl.c (__catanl): Likewise.
34407         [BZ #15394]
34408         * math/s_catan.c (__catan): Calculate imaginary part of result
34409         with log1p not log unless computing log of number close to 0.
34410         * math/s_catanf.c (__catanf): Likewise.
34411         * math/s_catanl.c (__catanl): Likewise.
34412         * math/s_catanh.c (__catanh): Calculate real part of result with
34413         log1p not log unless computing log of number close to 0.
34414         * math/s_catanhf.c (__catanhf): Likewise.
34415         * math/s_catanhl.c (__catanhl): Likewise.
34416         * math/libm-test.inc (catan_test): Add more tests.
34417         (catanh_test): Likewise.
34418         * sysdeps/i386/fpu/libm-test-ulps: Update.
34419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34421 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34423         * benchtests/Makefile: Mention files in which fast and slow
34424         paths of math functions are implemented.
34426 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34428         * sysdeps/posix/timespec_get.c: New file.
34430 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34432         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34433         POWER.
34434         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34435         for POWER.
34436         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34437         powerpc/power5/fpu folders.
34438         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34439         * benchtests/Makefile: Add modf testcase.
34440         * benchtests/bench-modf.c: New file: Benchmark test for mo
34442 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34444         [BZ #14888]
34445         * time/Makefile (tests): Add tst-strptime-whitespace.
34446         * time/strptime_l.c (get_number): Use ISSPACE.
34447         (__strptime_internal): Likewise.
34448         * time/tst-strptime-whitespace.c: New test case.
34450 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34452         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34453         member.
34454         (_nss_files_init): Set it here.
34456 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34458         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34459         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34460         unsigned.
34462 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34464         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34466 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34468         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34469         size just once.
34471 2013-04-21  David S. Miller  <davem@davemloft.net>
34473         * po/ru.po: Update Russion translation from translation project.
34475 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34477         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34478         and setfsgid.
34480 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34482         * configure.in: Remove i386 configure warning. Remove i386 case.
34483         * configure: Regenerate.
34484         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34485         Add example to error message.
34486         * sysdeps/i386/configure: Regenerate.
34488 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34490         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34491         slowtan.
34492         * benchtests/cos-inputs: New file.
34493         * benchtests/slowcos-inputs: New file.
34494         * benchtests/slowcos.c: New file.
34495         * benchtests/slowtan-inputs: New file.
34496         * benchtests/slowtan.c: New file.
34497         * benchtests/tan-inputs: New file.
34499 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34501         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34502         considered kosher.
34504 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34506         * benchtests/Makefile: Include cppflags-iterator.mk to add
34507         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34509         * Makefile.in (bench-clean): New target.
34510         * benchtests/Makefile (bench-clean): Likewise.
34512 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34514         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34516 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34518         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34520 2013-04-15  Andreas Schwab  <schwab@suse.de>
34522         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34524         * nscd/pwdcache.c (cache_addpw): Likewise.
34525         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34526         more than recsize.
34528 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34530         * benchtests/Makefile (bench): Write all output to
34531         bench-out.tmp together.
34533 2013-04-15  Andreas Schwab  <schwab@suse.de>
34535         * nscd/nscd.c (main): Don't fork again after closing files.
34537 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34539         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34541         * benchtests/Rules (bench-deps): Collect dependencies into a
34542         single variable.  Add Makefile to dependencies.
34543         ($(objpfx)bench-%.c): Depend on bench-deps.
34545 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34546             Xavier Roche  <roche+kml2@exalead.com>
34548         [BZ #15361]
34549         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34550         just that it's a file descriptor.
34551         * manual/llio.texi (Synchronizing AIO Operations): Update description
34552         for EBADF error from aio_fsync.
34554 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34556         * Rules (bench): Move target definition...
34557         * benchtests/Makefile: ... here.
34559 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34561         * math/libm-test.inc (cos_test): Fix PI/2 test.
34562         (sincos_test): Likewise.
34563         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34564         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34566 2013-04-11  Andreas Schwab  <schwab@suse.de>
34568         [BZ #13988]
34569         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34570         accept exponent character only when digits were seen.
34571         * stdio-common/Makefile (tests): Add bug26.
34572         * stdio-common/bug26.c: New file.
34574         [BZ #14293]
34575         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34576         non-freeable.
34578 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34580         * Makeconfig (rtld-prefix): Define built linker prefix.
34581         * Rules (run-bench): Use it.
34582         * math/Makefile (run-regen-ulps): Likewise.
34584         * Rules (bench): Remove eval.
34586 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34587             Roland McGrath  <roland@hack.frob.com>
34588             Ondrej Bilka  <neleai@seznam.cz>
34590         [BZ #15346]
34591         * time/getdate.c: Include ctype.h and alloca.h.
34592         (__getdate_r): Trim leading and trailing spaces of input.
34593         * time/tst-getdate.c (tests): Add tests with leading and
34594         trailing spaces.
34596 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34598         [BZ #14280]
34599         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34600         when computing value.
34602 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34604         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34605         Use testrun.sh to run libm tests.
34607         [BZ #15309]
34608         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34610 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34612         [BZ #15264]
34613         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34615 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34617         * Makefile.in (regen-ulps): New target.
34618         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34619         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34620         [ifneq (no,$(PERL)] (regen-ulps): New target.
34621         [ifeq (no,$(PERL)] (regen-ulps): New target.
34622         * math/libm-test.inc (ulps_file_name): Define.
34623         (output_dir): New variable.
34624         (options): Add "output-dir" option.
34625         (parse_opt): Handle 'o' case.
34626         (main): If output_dir is non-NULL use it as a prefix
34627         otherwise use "".
34628         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34630 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34632         [BZ #10060, #10062]
34633         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34634         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34635         fail configure if __sync_val_compare_and_swap is not inlined.
34636         * sysdeps/i386/configure: Regenerate.
34637         * configure.in: Build for i686 when configured for i386.
34638         * configure: Regenerate.
34639         * README: Remove i386 reference.
34641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34643         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34644         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34646 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34648         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34649         (lmsnanval): New variables.
34650         (F): Add conversion tests.
34651         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34652         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34654         * stdio-common/tstdiomisc.c (F): Properly collect individual
34655         tests' results.
34657         [BZ #14686, #15336]
34658         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34659         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34660         Instead, use input NaN values or generate a qNaN by arithmetic
34661         operation.  Also fix bugs to comply with the standard.
34662         * math/libm-test.inc (remainder_test): Add more tests.
34664         [BZ #15335, #15342]
34665         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34667         input NaN values or generate a qNaN by arithmetic operation.
34669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34670         unreachable code.
34672         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34673         definitions.
34675 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34677         [BZ #14478]
34678         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34679         underflowed result.
34680         * math/s_cexpf.c (__cexpf): Likewise.
34681         * math/s_cexpl.c (__cexpl): Likewise.
34682         * math/libm-test.inc (cexp_test): Add more tests.
34684 2013-04-03  Andreas Schwab  <schwab@suse.de>
34686         [BZ #15330]
34687         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34688         order arrays from heap if bigger than alloca cutoff.
34690 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34692         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34693         (SNAN_TESTS_double): Refer to GCC PR56831.
34694         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34695         GCC PR56828.
34697 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34699         * Rules (bench): Move bench.out after the run is complete.
34701         * Rules (bench): Echo currently running benchmark.
34703         * benchtests/Makefile (bench): Add atan and slowatan.
34704         * benchtests/atan-inputs: New file.
34705         * benchtests/slowatan-inputs: New file.
34706         * benchtests/slowatan.c: New file.
34708         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34710         its value.
34712         [BZ #15305]
34713         * sysdeps/unix/sysv/linux/kernel-features.h
34714         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34715         __ASSUME_XFS_RESTRICTED_CHOWN.
34716         * sysdeps/unix/sysv/linux/pathconf.c
34717         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34718         Save and restore errno.
34720 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34722         [BZ #15327]
34723         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34724         arguments using __kernel_casinh.
34725         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34726         arguments using __kernel_casinhf.
34727         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34728         arguments using __kernel_casinhl.
34729         * math/libm-test.inc (cacosh_test): Add more tests.
34730         * sysdeps/i386/fpu/libm-test-ulps: Update.
34731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34733 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34735         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34738         * bench/Makefile (bench): Add sin and slowsin.
34739         * benchtests/sin-inputs: New file.
34740         * benchtests/slowsin-inputs: New file.
34741         * benchtests/slowsin.c: New file.
34743         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34744         (bench): Add slowexp and slowpow.
34745         (exp-ITER): Increase iterations.
34746         (pow-ITER): Likewise.
34747         * benchtests/exp-inputs: Change input.
34748         * benchtests/pow-inputs: Likewise.
34749         * benchtests/slowexp-inputs: New file.
34750         * benchtests/slowexp.c: New file.
34751         * benchtests/slowpow-inputs: New file.
34752         * benchtests/slowpow.c: New file.
34754 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34756         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34757         instructions.
34758         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34759         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34760         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34761         * benchtests/Makefile: Add rint benchtest.
34762         * benchtests/rint-inputs: Input for rint benchtest.
34764 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34766         * Versions.def (libm): Add GLIBC_2.18.
34767         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34768         hidden libm prototypes.
34769         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34770         * math/Makefile (libm-calls): Add s_issignaling.
34771         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34772         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34773         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34774         declaration.
34775         * math/math.h [__USE_GNU] (issignaling): New macro.
34776         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34777         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34778         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34779         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34780         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34781         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34782         * manual/arith.texi (issignaling): New section.
34783         * manual/libm-err-tab.pl (@all_functions): Update comment.
34784         * math/gen-libm-test.pl (parse_args): Apply special handling for
34785         issignaling.
34786         * math/libm-test.inc (print_float, issignaling_test): New
34787         functions.
34788         (check_float_internal): Add issignaling checks.
34789         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34790         default definition.
34791         * sysdeps/powerpc/math-tests.h: New file.
34792         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34793         tests.
34794         * math/test-snan.c (TEST_FUNC): Likewise.
34796 2013-03-30  David S. Miller  <davem@davemloft.net>
34798         * po/de.po: Update from translation team.
34800 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34802         [BZ #10357]
34803         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34804         imaginary part less than 1.0 and real part less than 0.5
34805         specially.
34806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34808         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34809         (cacos_test): Add more tests.
34810         (casin_test): Likewise.
34811         (casinh_test): Likewise.
34812         * sysdeps/i386/fpu/libm-test-ulps: Update.
34813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34815 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34817         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34818         ONE with its value.
34820         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34821         (__pow_mp): Replace ONE and MONE with their values.
34822         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34824         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34825         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34826         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34827         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34829         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34831         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34832         (__pow_mp): Replace ZERO and MZERO with their values.
34833         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34834         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34835         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34837         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34838         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34839         (__sqr): Likewise.
34841         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34843         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34845 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34847         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34848         Declare with __attribute__ ((weak)).
34849         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34850         Call __call_tls_dtors only if it's not NULL.
34852 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34854         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34855         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34856         magic __ehdr_start linker symbol if it's defined.
34857         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34858         them up here if it was already done.
34860         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34861         (_dl_aux_init): Use const in cast when setting it.
34862         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34863         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34864         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34866         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34867         Declare them here.
34868         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34869         * csu/libc-tls.c: Nor here.
34870         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34872         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34873         (__libc_message): Never call vsyslog.
34875 2013-03-28  Alan Modra  <amodra@gmail.com>
34877         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34878         Define as empty.
34879         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34880         Likewise.
34882 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34884         [BZ #15214]
34885         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34886         underflow.
34887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34889 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34891         [BZ #15304]
34892         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34893         Don't add gid passed as argument.
34895         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34897 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34899         [BZ #15307]
34900         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34901         imaginary part between 1.0 and 1.5 and real part less than 0.5
34902         specially.
34903         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34904         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34905         * math/libm-test.inc (cacos_test): Add more tests.
34906         (casin_test): Likewise.
34907         (casinh_test): Likewise.
34908         * sysdeps/i386/fpu/libm-test-ulps: Update.
34909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34911 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34913         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34914         constants.
34915         (norm): Likewise.
34916         (denorm): Likewise.
34917         (__dbl_mp): Likewise.
34918         (add_magnitudes): Likewise.
34919         (sub_magnitudes): Likewise.
34920         (__add): Likewise.
34921         (__sub): Likewise.
34922         (__mul): Likewise.
34923         (__sqr): Likewise.
34924         (__inv): Likewise.
34925         (__dvd): Likewise.
34927         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34928         commented code.
34929         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34930         (__dubcos): Likewise.
34931         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34932         (__ieee754_acos): Likewise.
34933         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34934         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34935         (__exp1): Likewise.
34936         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34938         (log1): Likewise.
34939         (my_log2): Likewise.
34940         (checkint): Likewise.
34941         * sysdeps/ieee754/dbl-64/e_remainder.c
34942         (__ieee754_remainder): Likewise.
34943         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34945         (bsloww): Likewise.
34946         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34948         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34949         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34950         MANTISSA_STORE_T to store computations on mantissa.  Use
34951         macros for rounding and division.
34952         (denorm): Likewise.
34953         (__dbl_mp): Likewise.
34954         (add_magnitudes): Likewise.
34955         (sub_magnitudes): Likewise.
34956         (__mul): Likewise.
34957         (__sqr): Likewise.
34958         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34959         powers of two in terms of TWOPOW macro.
34960         (mp_no): Make type of mantissa as MANTISSA_T.
34961         [!RADIXI]: Define RADIXI.
34962         [!TWO52]: Define TWO52.
34963         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34965 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34967         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34968         llroundl symbol when building for PPC32.
34970 2013-03-24  Mark H Weaver  <mhw@netris.org>
34972         * manual/arith.texi (Normalization Functions): Fix prototypes for
34973         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34975 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34977         [BZ #13889]
34978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34979         high value to check if expl overflow.
34980         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34981         to check for underflow and overflow.
34982         * math/libm-test.inc: Add exp test.
34984 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34986         [BZ #11120]
34987         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34988         with NOT_IN_libc.
34990 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34992         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34993         symbol.
34995 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34997         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34998         wrap blocks consisting of several statements.
35000         * sysdeps/generic/math-tests.h: New file.
35001         * sysdeps/i386/fpu/math-tests.h: Likewise.
35002         * math/test-snan.c: Include it.
35003         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35005 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35007         [BZ #15285]
35008         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35009         (__ieee754_j0l): Do not improve calculations using cos of twice
35010         input for inputs above LDBL_MAX / 2.0L.
35011         (__ieee754_y0l): Likewise.
35012         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35013         (__ieee754_j1l): Do not improve calculations using cos of twice
35014         input for inputs above LDBL_MAX / 2.0L.
35015         (__ieee754_y1l): Likewise.
35016         * math/libm-test.inc (j0_test): Add another test.
35017         (j1_test): Likewise.
35018         (y0_test): Likewise.
35019         (y1_test): Likewise.
35020         * sysdeps/i386/fpu/libm-test-ulps: Update.
35022 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35024         * Rules ($(objpfx)bench-%.c): Include code from a C source
35025         file.
35027 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35029         [BZ #15287]
35030         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35031         imaginary part 1.0 and real part less than 0.5 specially.
35032         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35033         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35034         * math/libm-test.inc (cacos_test): Add more tests.
35035         (casin_test): Likewise.
35036         (casinh_test): Likewise.
35037         * sysdeps/i386/fpu/libm-test-ulps: Update.
35038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35040 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35042         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35043         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35045 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35047         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35048         * config.make.in (config-cflags-sse4): Remove variable.
35049         (config-cflags-avx): Likewise.
35050         (config-cflags-sse2avx): Likewise.
35051         (config-cflags-novzeroupper): Likewise.
35052         (config-asflags-i686): Likewise.
35053         (have-mfma4): Likewise.
35054         (have-as-vis3): Likewise.
35055         (MIG): Likewise.
35056         * configure.in (MIG): Do not AC_SUBST.
35057         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35058         (libc_cv_cc_sse4): Do not AC_SUBST.
35059         (libc_cv_cc_avx): Likewise.
35060         (libc_cv_cc_sse2avx): Likewise.
35061         (libc_cv_cc_novzeroupper): Likewise.
35062         (libc_cv_cc_fma4): Likewise.
35063         (libc_cv_as_i686): Likewise.
35064         (libc_cv_sparc_as_vis3): Likewise.
35065         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35066         LIBC_CONFIG_VAR.
35067         (config-asflags-i686): Likewise.
35068         (config-cflags-avx): Likewise.
35069         (config-cflags-sse2avx): Likewise.
35070         (have-mfma4): Likewise.
35071         (config-cflags-novzeroupper): Likewise.
35072         * sysdeps/mach/configure.in (MIG): Likewise.
35073         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35074         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35075         LIBC_CONFIG_VAR.
35076         (config-cflags-avx): Likewise.
35077         (config-cflags-sse2avx): Likewise.
35078         (have-mfma4): Likewise.
35079         (config-cflags-novzeroupper): Likewise.
35080         * configure: Regenerated.
35081         * sysdeps/i386/configure: Likewise.
35082         * sysdeps/mach/configure: Likewise.
35083         * sysdeps/sparc/configure: Likewise.
35084         * sysdeps/x86_64/configure: Likewise.
35086 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35088         [BZ #14812]
35089         * locale/programs/localedef.c (options): Put N_ translation marker
35090         on argument names, not just descriptions.
35092 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35094         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35096 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35098         [BZ #14176]
35099         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35101 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35103         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35104         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35105         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35106         [!BEFORE_ABORT] (before_abort): New function.
35107         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35108         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35109         (writev_for_fatal): New function.
35110         (WRITEV_FOR_FATAL): New macro; call that.
35111         (backtrace_and_maps): New function.
35112         (BEFORE_ABORT): New macro; call that.
35113         (struct str_list): Type removed.
35114         (__libc_message, __libc_fatal): Functions removed.
35115         Include <sysdeps/posix/libc_fatal.c> instead.
35117 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35119         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35120         constants.
35121         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35122         double constants.
35124 2013-03-19  Andreas Schwab  <schwab@suse.de>
35126         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35127         * sysdeps/gnu/configure: Regenerate.
35129         * configure.in: Substitute libc_cv_rtlddir.
35130         * configure: Regenerate.
35131         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35132         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35133         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35134         * elf/Makefile (install-others, CFLAGS-interp.c)
35135         (ldso_install, common-ldd-rewrite): Likewise.
35136         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35137         $(inst_slibdir)/$(rtld-installed-name).
35138         * scripts/rellns-sh: Add -p option.
35139         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35140         for source.
35142 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35144         * manual/nptl.texi: Renamed to ...
35145         * manual/threads.texi: ... this.
35146         * manual/Makefile (chapters): Update.
35148 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35150         [BZ #14812]
35151         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35152         on argument names, not just descriptions.
35153         * malloc/memusagestat.c (options): Likewise.
35154         * nss/getent.c (options): Likewise.
35156 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35158         [BZ #14812]
35159         * iconv/iconv_prog.c (options): Put N_ translation marker
35160         on argument names, not just descriptions.
35161         * iconv/iconvconfig.c (options): Likewise.
35163 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35165         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35166         implementation which is faster on all x86_64 architectures.
35167         Tested on AMD, Intel Nehalem, SNB, IVB.
35168         * sysdeps/x86_64/strnlen.S: Likewise.
35170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35171         Remove all multiarch strlen and strnlen versions.
35172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35173         Remove strlen and strnlen related parts.
35175         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35176         Inline strlen part.
35177         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35179         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35180         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35181         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35182         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35183         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35184         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35186 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35188         * manual/memory.texi (Malloc Tunable Parameters):
35189         Sort parameters alphabetically. Add comments for missing entries.
35191 2013-03-17  David S. Miller  <davem@davemloft.net>
35193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35195 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35197         [BZ #15283]
35198         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35199         for arguments at most half maximum finite value.
35200         * math/libm-test.inc (j0_test): Add more tests.
35201         (j1_test): Likewise.
35202         (y0_test): Likewise.
35203         (y1_test): Likewise.
35204         * sysdeps/i386/fpu/libm-test-ulps: Update.
35205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35207         [BZ #14155]
35208         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35209         1 / x and functions P and Q for arguments above 0x1p256L.
35210         (__ieee754_y0l): Likewise.
35211         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35212         (__ieee754_y1l): Likewise.
35213         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35214         (j1_test): Likewise.
35215         (y0_test): Likewise.
35216         (y1_test): Likewise.
35218 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35220         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35221         variable.
35223 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35225         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35226         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35227         zero since it's initialized to EXEC_PAGESIZE.
35229         * sysdeps/unix/sysv/linux/ldsodefs.h
35230         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35231         * sysdeps/generic/ldsodefs.h: ... here.
35233 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35235         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35237         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35238         math/test-snan.c.
35239         * math/test-snan.c: Renamed from
35240         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35241         * math/Makefile (tests): Add test-snan.
35242         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35243         test-powerpc-snan.
35245         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35246         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35247         functions.
35248         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35249         __builtin_nan family of functions.
35250         * math/libm-test.inc (initialize): Initialize qnan_value with
35251         __builtin_nan family of functions.
35252         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35253         Remove variables.
35254         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35255         Remove functions.
35256         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35257         storage class.  Initialize qNaN_var and sNaN_var with
35258         __builtin_nan and __builtin_nans families of functions,
35259         respectively.
35261         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35262         (sqrt_test): Remove duplicate test with qNaN input.
35263         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35264         (round_test, signbit_test, significand_test): Note missing +/-Inf
35265         as well as qNaN tests.
35267         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35268         qNaN_var.  Fix a few strings, too.
35269         * math/libm-test.inc (nan_value): Rename to qnan_value.
35270         * math/gen-libm-test.pl (%beautify): Adjust to that.
35271         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35272         * math/test-misc.c (main): Likewise.
35273         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35274         to __qnan_bytes, and __qnan_union, respectively.
35275         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35276         Likewise.
35277         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35278         and lqnanval, respectively.
35279         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35280         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35281         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35282         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35284         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35285         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35286         doubles.
35288         * math/test-misc.c (main): Fix copy'n'pastos.
35289         * misc/tst-efgcvt.c (special): Likewise.
35291         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35292         Remove declarations.
35294 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35296         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35297         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35298         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35299         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35301 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35304         macro to return vdso values correctly in IFUNC implementations.
35305         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35306         Optimization by using IFUNC.
35308 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35309             Richard Henderson  <rth@redhat.com>
35310             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35312         * Makefile.in (bench): New target.
35313         * NEWS: Mention the benchmark framework.
35314         * Rules (bench): Likewise.
35315         (binaries-bench): Generate binaries for functions to
35316         benchmark.
35317         * benchtests/Makefile: New makefile for benchmark tests.
35318         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35319         programs.
35320         * benchtests/exp-inputs: New input file for EXP function.
35321         * benchtests/pow-inputs: New input file for POW function.
35322         * scripts/bench.pl: New script to generate source files for
35323         benchmark programs.
35325 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35327         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35328         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35329         computations on mantissa.  Use macros for rounding and
35330         division.
35331         (denorm): Likewise.
35332         (__dbl_mp): Likewise.
35333         (add_magnitudes): Likewise.
35334         (sub_magnitudes): Likewise.
35335         (__mul): Likewise.
35336         (__sqr): Likewise.
35337         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35338         powers of two in terms of TWOPOW macro.
35339         (mp_no): Make type of mantissa as MANTISSA_T.
35340         [!RADIXI]: Define RADIXI.
35341         [!TWO52]: Define TWO52.
35342         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35344         * manual/nptl.texi (cindex): Modify threads to pthreads.
35346 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35348         * sysdeps/x86_64/preconfigure: Regenerated.
35350 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35352         [BZ #14155]
35353         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35354         0x1p28 and above.
35355         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35356         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35357         0x1p28 and above.
35358         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35359         * math/libm-test.inc (j0_test): Do not allow one spurious
35360         underflow exception.
35361         (y1_test): Likewise.
35363 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35365         * manual/Makefile (chapters): Add nptl.
35366         * manual/debug.texi (Debugging Support): Add link to Threads
35367         chapter.
35368         * manual/nptl.texi: New file.
35370         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35372 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35374         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35375         for non-NULL pointer before the memory validity test. Pointed
35376         out by Holger Brunck <holger.brunck@keymile.com>.
35378 2013-03-13  Andreas Schwab  <schwab@suse.de>
35380         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35381         instead of .os.
35383 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35385         * timezone/zic.c: Update from tzcode 2013b.
35387 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35389         * manual/install.texi (Configuring and compiling):
35390         Mention i686 and i586.
35391         * INSTALL: Regenerate.
35393 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35395         * sysdeps/init_array/elf-init.c: New file.
35396         * csu/elf-init.c
35397         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35398         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35400         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35401         __gmon_start__ as global, but as static with a .preinit_array pointer.
35402         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35403         * sysdeps/init_array/crti.S: New file, empty except for comments.
35404         * sysdeps/init_array/crtn.S: Likewise.
35406 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35408         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35409         definining bcopy.
35410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35411         Remove Prefer_SSE_for_memop.
35412         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35413         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35414         HAS_PREFER_SSE_FOR_MEMOP.
35415         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35416         memset-x86-64.
35417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35418         Remove bzero, memset ifunc support.
35419         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35420         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35421         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35422         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35424 2013-03-11  Andreas Schwab  <schwab@suse.de>
35426         [BZ #15234]
35427         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35428         by SHLIB_COMPAT.
35429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35430         (GLIBC_2.16): Remove pthread_atfork.
35432 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35434         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35435         (ptestcases.h): Likewise.
35437 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35439         * Makeconfig ($(common-objpfx)config.status): Depend on
35440         sysdeps/*/preconfigure{,.in} too.
35442 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35444         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35445         (__free_hook): Use void * instead of __malloc_ptr_t.
35446         (__malloc_hook): Likewise.
35447         (__realloc_hook): Likewise.
35448         (__memalign_hook): Likewise.
35449         (__after_morecore_hook): Likewise.
35450         * malloc/arena.c (save_malloc_hook): Likewise.
35451         (save_free_hook): Likewise.
35452         * malloc/hooks.c (malloc_hook_ini): Likewise.
35453         (realloc_hook_ini): Likewise.
35454         (memalign_hook_ini): Likewise.
35455         * malloc/malloc.c (malloc_hook_ini): Likewise.
35456         (realloc_hook_ini): Likewise.
35457         (memalign_hook_ini): Likewise.
35458         (__free_hook): Likewise.
35459         (__malloc_hook): Likewise.
35460         (__realloc_hook): Likewise.
35461         (__memalign_hook): Likewise.
35462         (__libc_malloc): Likewise.
35463         (__libc_free): Likewise.
35464         (__libc_realloc): Likewise.
35465         (__libc_memalign): Likewise.
35466         (__libc_valloc): Likewise.
35467         (__libc_pvalloc): Likewise.
35468         (__libc_calloc): Likewise.
35469         (__posix_memalign): Likewise.
35470         * malloc/morecore.c (__sbrk): Likewise.
35471         (__default_morecore): Likewise.
35473         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35475         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35476         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35477         __malloc_ptrdiff_t.
35479         * malloc/malloc.h (__malloc_size_t): Remove macro.
35480         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35481         __malloc_size_t.
35482         (old_memalign_hook): Likewise.
35483         (old_realloc_hook): Likewise.
35484         (struct hdr): Likewise.
35485         (flood): Likewise.
35486         (mallochook): Likewise.
35487         (memalignhook): Likewise.
35488         (reallochook): Likewise.
35489         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35490         (tr_old_realloc_hook): Likewise.
35491         (tr_old_memalign_hook): Likewise.
35492         (tr_mallochook): Likewise.
35493         (tr_reallochook): Likewise.
35494         (tr_memalignhook): Likewise.
35496 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35499         default_ldbl_pack and using as default implementation.
35500         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35501         implementation.
35502         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35503         redundant definition.
35504         (ldbl_insert_mantissa): Likewise.
35505         (ldbl_canonicalize): Likewise.
35506         (ldbl_nearbyint): Likewise.
35507         (ldbl_pack): Rename to ldbl_pack_ppc.
35508         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35509         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35510         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35512 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35515         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35516         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35517         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35519         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35520         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35521         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35523 2013-03-07  Andreas Jaeger  <aj@suse.de>
35525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35526         bits/mman-linux.h.
35528 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35530         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35531         Include mpa.h and declare __MPEXP.
35532         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35533         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35534         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35535         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35536         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35537         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35538         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35540         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35541         (__slowpow): Use long double EXPL and LOGL functions to
35542         compute POW.
35543         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35544         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35545         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35546         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35547         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35548         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35551         intermediate variable to calculate exponent.
35552         (__sqr): Likewise.
35553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35554         Likewise.
35555         (__sqr): Likewise.
35557         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35558         [!NO__SQR]: Define __sqr.
35559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35560         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35561         sysdeps/ieee754/dbl-64/mpa.c.
35562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35564         [BZ #12723]
35565         * posix/Makefile (tests): Add tst-pathconf.
35566         * posix/tst-pathconf.c: New test case.
35567         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35568         _PC_PIPE_BUF.
35569         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35571 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35573         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35575 2013-03-06  Andreas Jaeger  <aj@suse.de>
35577         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35578         definition via __MAP_ANONYMOUS.
35580         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35581         it's not part of Linux headers.
35583         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35584         (MAP_HUGE_MASK): Define.
35586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35587         Define.
35588         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35589         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35590         Define.
35591         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35592         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35593         Define.
35594         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35595         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35596         Define.
35597         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35599         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35600         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35601         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35602         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35603         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35604         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35606         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35607         Handle f2fs.
35609         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35610         Handle f2fs and efivarfs.
35612         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35613         f2fs.
35615         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35616         (EFIVARFS_MAGIC): Add.
35617         (F2FS_LINK_MAX): Add.
35619 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35621         * stdio-common/vfprintf.c: Replace __builtin_expect with
35622         __glibc_unlikely.
35624 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35626         [BZ #13550]
35627         * sysdeps/generic/bp-sym.h: Remove file.
35628         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35630         <bp-sym.h> and <bp-asm.h>.
35631         (__longjmp): Don't use BP_SYM.
35632         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35633         and <bp-asm.h>.
35634         (memcpy): Don't use BP_SYM.
35635         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35636         <bp-sym.h> and <bp-asm.h>.
35637         (memcpy): Don't use BP_SYM.
35638         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35639         <bp-asm.h>.
35640         (memcpy): Don't use BP_SYM.
35641         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35642         <bp-asm.h>.
35643         (memset): Don't use BP_SYM.
35644         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35645         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35646         (__bzero): Don't use BP_SYM.
35647         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35648         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35649         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35650         <bp-sym.h> and <bp-asm.h>.
35651         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35652         pointers.
35653         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35654         <bp-sym.h> and <bp-asm.h>.
35655         (memcpy): Don't use BP_SYM.
35656         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35657         <bp-sym.h> and <bp-asm.h>.
35658         (memset): Don't use BP_SYM.
35659         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35660         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35661         (__bzero): Don't use BP_SYM.
35662         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35663         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35664         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35665         <bp-sym.h> and <bp-asm.h>.
35666         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35667         pointers.
35668         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35669         <bp-sym.h> and <bp-asm.h>.
35670         (memcpy): Don't use BP_SYM.
35671         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35672         <bp-sym.h> and <bp-asm.h>.
35673         (memset): Don't use BP_SYM.
35674         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35675         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35676         (__bzero): Don't use BP_SYM.
35677         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35678         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35679         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35680         <bp-sym.h> and <bp-asm.h>.
35681         (__memchr): Don't use BP_SYM.
35682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35683         <bp-sym.h> and <bp-asm.h>.
35684         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35685         pointers.
35686         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35687         <bp-sym.h> and <bp-asm.h>.
35688         (memcpy): Don't use BP_SYM.
35689         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35690         <bp-sym.h> and <bp-asm.h>.
35691         (__mempcpy): Don't use BP_SYM.
35692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35693         <bp-sym.h> and <bp-asm.h>.
35694         (__memrchr): Don't use BP_SYM.
35695         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35696         <bp-sym.h> and <bp-asm.h>.
35697         (memset): Don't use BP_SYM.
35698         (__bzero): Likewise.
35699         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35700         <bp-sym.h> and <bp-asm.h>.
35701         (__rawmemchr): Don't use BP_SYM.
35702         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35703         <bp-sym.h> and <bp-asm.h>.
35704         (__STRCMP): Don't use BP_SYM.
35705         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35706         <bp-sym.h> and <bp-asm.h>.
35707         (strchr): Don't use BP_SYM.
35708         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35709         <bp-sym.h> and <bp-asm.h>.
35710         (__strchrnul): Don't use BP_SYM.
35711         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35712         <bp-sym.h> and <bp-asm.h>.
35713         (strlen): Don't use BP_SYM.
35714         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35715         <bp-sym.h> and <bp-asm.h>.
35716         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35717         pointers.
35718         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35719         <bp-sym.h> and <bp-asm.h>.
35720         (__strnlen): Don't use BP_SYM.
35721         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35722         <bp-sym.h> and <bp-asm.h>.
35723         (__GI__setjmp): Don't use BP_SYM.
35724         (_setjmp): Likewise.
35725         (__sigsetjmp): Likewise.
35726         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35727         (L(start_addresses)): Don't use BP_SYM.
35728         (_start): Likewise.
35729         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35730         <bp-asm.h>.
35731         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35732         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35733         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35734         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35735         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35736         <bp-asm.h>.
35737         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35738         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35739         about bounded pointers.
35740         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35741         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35742         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35743         <bp-asm.h>.
35744         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35745         about bounded pointers.  Remove GKM FIXME comments.
35746         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35747         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35748         <bp-asm.h>.
35749         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35750         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35751         Remove GKM FIXME comments.
35752         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35753         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35754         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35755         <bp-asm.h>.
35756         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35757         about bounded pointers.  Remove GKM FIXME comment.
35758         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35759         and <bp-asm.h>.
35760         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35761         pointers.
35762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35763         <bp-sym.h> and <bp-asm.h>.
35764         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35766         <bp-sym.h> and <bp-asm.h>.
35767         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35768         comment.
35770 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35772         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35773         call free(NULL).
35775 2013-03-05  David S. Miller  <davem@davemloft.net>
35777         * po/es.po: Update from translation team.
35779 2013-03-05  Andreas Jaeger  <aj@suse.de>
35781         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35782         <bits/mman-linux.h>.
35783         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35784         is fine.
35785         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35786         <bits/mman-linux.h> to end of file.
35787         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35788         is fine.
35789         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35790         <bits/mman-linux.h> to end of file.
35791         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35792         is fine.
35793         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35794         <bits/mman-linux.h> to end of file.
35796         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35797         (MCL_CURRENT, MCL_FUTURE): Define here.
35799 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35801         [BZ #15232]
35802         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35803         attribute_hidden.
35804         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35806 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35809         fourth parameter needed for rt_sigprocmask syscall.
35810         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35811         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35812         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35813         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35814         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35815         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35817 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35819         [BZ #13550]
35820         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35821         comment about bounded pointers.
35822         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35823         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35825 2013-03-04  Andreas Jaeger  <aj@suse.de>
35827         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35828         common definitions.
35830         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35831         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35832         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35833         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35834         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35835         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35837 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35839         [BZ #15055]
35840         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35841         __ieee754_sqrl instead of __sqrl.
35843 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35845         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35846         * sysdeps/powerpc/fpu_control.h: ... here.
35847         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35848         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35849         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35850         * sysdeps/powerpc/bits/mathinline.h: ... here.
35852 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35854         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35855         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35856         to just [NEED_DL_SYSINFO_DSO].
35857         * elf/dl-support.c: Likewise.
35858         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35859         * elf/rtld.c (dl_main): Likewise.
35860         * elf/setup-vdso.h (setup_vdso): Likewise.
35861         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35862         * sysdeps/unix/sysv/linux/dl-sysdep.c
35863         (_dl_discover_osversion): Likewise.
35865 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35867         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35868         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35870 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35872         * NEWS: Mention libm performance improvements and non-x86 PI
35873         futex support.
35875         * csu/libc-start.c (__pthread_initialize_minimal): Change
35876         function arguments.
35877         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35879 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35881         [BZ #13550]
35882         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35883         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35884         <bp-sym.h> and <bp-asm.h>.
35885         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35886         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35887         and <bp-asm.h>.
35888         (memcpy): Don't use BP_SYM.
35889         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35890         <bp-asm.h>.
35891         (__mpn_add_n): Don't use BP_SYM.
35892         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35893         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35894         and <bp-asm.h>.
35895         (__mpn_addmul_1): Don't use BP_SYM.
35896         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35897         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35898         <bp-sym.h>.
35899         (_setjmp): Don't use BP_SYM.
35900         (__novmx_setjmp): Likewise.
35901         (__GI__setjmp): Likewise.
35902         (__vmx_setjmp): Likewise.
35903         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35904         <bp-sym.h>.
35905         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35906         (__bzero): Don't use BP_SYM.
35907         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35908         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35909         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35910         <bp-sym.h> and <bp-asm.h>.
35911         (memcpy): Don't use BP_SYM.
35912         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35913         <bp-sym.h> and <bp-asm.h>.
35914         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35915         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35916         <bp-sym.h> and <bp-asm.h>.
35917         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35918         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35919         <bp-asm.h>.
35920         (__mpn_lshift): Don't use BP_SYM.
35921         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35922         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35923         <bp-asm.h>.
35924         (memset): Don't use BP_SYM.
35925         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35926         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35927         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35928         <bp-asm.h>.
35929         (__mpn_mul_1): Don't use BP_SYM.
35930         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35932         <bp-sym.h> and <bp-asm.h>.
35933         (memcmp): Don't use BP_SYM.
35934         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35935         <bp-sym.h> and <bp-asm.h>.
35936         (memcpy): Don't use BP_SYM.
35937         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35938         <bp-sym.h> and <bp-asm.h>.
35939         (memset): Don't use BP_SYM.
35940         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35941         <bp-sym.h> and <bp-asm.h>.
35942         (strncmp): Don't use BP_SYM.
35943         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35944         <bp-sym.h> and <bp-asm.h>.
35945         (memcpy): Don't use BP_SYM.
35946         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35947         <bp-sym.h> and <bp-asm.h>.
35948         (memset): Don't use BP_SYM.
35949         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35950         <bp-sym.h> and <bp-asm.h>.
35951         (__memchr): Don't use BP_SYM.
35952         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35953         <bp-sym.h> and <bp-asm.h>.
35954         (memcmp): Don't use BP_SYM.
35955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35956         <bp-sym.h> and <bp-asm.h>.
35957         (memcpy): Don't use BP_SYM.
35958         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35959         <bp-sym.h> and <bp-asm.h>.
35960         (__mempcpy): Don't use BP_SYM.
35961         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35962         <bp-sym.h> and <bp-asm.h>.
35963         (__memrchr): Don't use BP_SYM.
35964         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35965         <bp-sym.h> and <bp-asm.h>.
35966         (memset): Don't use BP_SYM.
35967         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35968         <bp-sym.h> and <bp-asm.h>.
35969         (__rawmemchr): Don't use BP_SYM.
35970         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35971         <bp-sym.h> and <bp-asm.h>.
35972         (__STRCMP): Don't use BP_SYM.
35973         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35974         <bp-sym.h> and <bp-asm.h>.
35975         (strchr): Don't use BP_SYM.
35976         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35977         <bp-sym.h> and <bp-asm.h>.
35978         (__strchrnul): Don't use BP_SYM.
35979         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35980         <bp-sym.h> and <bp-asm.h>.
35981         (strlen): Don't use BP_SYM.
35982         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35983         <bp-sym.h> and <bp-asm.h>.
35984         (strncmp): Don't use BP_SYM.
35985         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35986         <bp-sym.h> and <bp-asm.h>.
35987         (__strnlen): Don't use BP_SYM.
35988         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35989         <bp-asm.h>.
35990         (__mpn_rshift): Don't use BP_SYM.
35991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35992         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35993         <bp-sym.h> and <bp-asm.h>.
35994         (__sigsetjmp): Don't use BP_SYM.
35995         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35996         (L(start_addresses)): Don't use BP_SYM.
35997         (_start): Likewise.
35998         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35999         <bp-asm.h>.
36000         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36001         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36002         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36003         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36004         <bp-asm.h>.
36005         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36006         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36007         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36008         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36009         <bp-asm.h>.
36010         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36011         comments.
36012         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36013         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36014         <bp-asm.h>.
36015         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36016         FIXME comments.
36017         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36018         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36019         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36020         <bp-asm.h>.
36021         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36022         comment.
36023         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36024         and <bp-asm.h>.
36025         (strncmp): Don't use BP_SYM,
36026         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36027         <bp-asm.h>.
36028         (__mpn_sub_n): Don't use BP_SYM.
36029         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36030         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36031         and <bp-asm.h>.
36032         (__mpn_submul_1): Don't use BP_SYM.
36033         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36035         <bp-sym.h> and <bp-asm.h>.
36036         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36038         <bp-sym.h> and <bp-asm.h>.
36039         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36040         comment.
36042 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36045         Use ZK to minimize writes to Z.
36046         (sub_magnitudes): Simplify code a bit.
36047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36048         Use ZK to minimize writes to Z.
36049         (sub_magnitudes): Simplify code a bit.
36051 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36053         * csu/gmon-start.c: Add special exception to license text.
36055 2013-02-27  Richard Henderson  <rth@redhat.com>
36057         * scripts/config.guess: Update from config.git.
36058         * scripts/config.sub: Likewise.
36060 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36062         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36064         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36066         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36068         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36070         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36072 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36074         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36075         [$(build-shared = yes].
36077 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36079         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36080         (__mul): Reduce iterations for calculating mantissa.
36082         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36083         MPTWO.
36084         (__mpranred): Likewise.
36086         [BZ #15160]
36087         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36088         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36090 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36092         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36093         Define __attribute__.
36095 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36097         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36098         unused.
36099         * posix/regex_internal.h (__attribute): Remove.
36100         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36101         (re_string_context_at): Likewise.
36102         (bitset_not): Use __attribute__ and mark function as possibly
36103         unused.
36104         (bitset_merge): Likewise.
36105         (bitset_mask): Likewise.
36106         (re_string_char_size_at): Likewise.
36107         (re_string_wchar_at): Likewise.
36108         (re_string_elem_size_at): Likewise.
36110 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36112         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36113         code.
36114         (cc32): Likewise.
36116         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36117         (__acr): Likewise.
36118         (__cpy): Likewise.
36119         (norm): Likewise.
36120         (denorm): Likewise.
36121         (__dbl_mp): Likewise.
36122         (add_magnitudes): Likewise.
36123         (sub_magnitudes): Likewise.
36124         (__mul): Likewise.
36125         (__inv): Likewise.
36127         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36128         style.
36130         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36131         style.
36133         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36134         code.
36136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36137         up changes with default code.
36138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36139         Likewise.
36141 2013-02-24  Allan McRae  <allan@archlinux.org>
36143         * manual/socket.texi (The Internet Namespace): Order menu items
36144         to match that in the file.
36146         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36147         node listing of the info page menu.
36149 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36151         [BZ #13550]
36152         * sysdeps/i386/bp-asm.h: Remove file.
36153         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36154         (PARMS): Do not use macros from bp-asm.h.
36155         (S1): Likewise.
36156         (S2): Likewise.
36157         (SIZE): Likewise.
36158         (__mpn_add_n): Do not use BP_SYM
36159         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36160         "bp-asm.h".
36161         (PARMS): Do not use macros from bp-asm.h.
36162         (S1): Likewise.
36163         (SIZE): Likewise.
36164         (__mpn_addmul_1): Do not use BP_SYM
36165         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36166         "bp-asm.h".
36167         (PARMS): Do not use macros from bp-asm.h.
36168         (SIGMSK): Likewise.
36169         (_setjmp): Likewise.  Do not use BP_SYM.
36170         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36171         "bp-asm.h".
36172         (PARMS): Do not use macros from bp-asm.h.
36173         (SIGMSK): Likewise.
36174         (setjmp): Likewise.  Do not use BP_SYM.
36175         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36176         "bp-asm.h".
36177         (PARMS): Do not use macros from bp-asm.h.
36178         (__frexp): Do not use BP_SYM.
36179         (frexp): Likewise.
36180         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36181         "bp-asm.h".
36182         (PARMS): Do not use macros from bp-asm.h.
36183         (__frexpf): Do not use BP_SYM.
36184         (frexpf): Likewise.
36185         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36186         "bp-asm.h".
36187         (PARMS): Do not use macros from bp-asm.h.
36188         (__frexpl): Do not use BP_SYM.
36189         (frexpl): Likewise.
36190         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36191         "bp-asm.h".
36192         (PARMS): Do not use macros from bp-asm.h.
36193         (__remquo): Do not use BP_SYM.
36194         (remquo): Likewise.
36195         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36196         "bp-asm.h".
36197         (PARMS): Do not use macros from bp-asm.h.
36198         (__remquof): Do not use BP_SYM.
36199         (remquof): Likewise.
36200         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36201         "bp-asm.h".
36202         (PARMS): Do not use macros from bp-asm.h.
36203         (__remquol): Do not use BP_SYM.
36204         (remquol): Likewise.
36205         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36206         "bp-asm.h".
36207         (PARMS): Do not use macros from bp-asm.h.
36208         (DEST): Likewise.
36209         (SRC): Likewise.
36210         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36211         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36212         "bp-asm.h".
36213         (PARMS): Do not use macros from bp-asm.h.
36214         (strlen): Do not use BP_SYM.
36215         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36216         "bp-asm.h".
36217         (PARMS): Do not use macros from bp-asm.h.
36218         (S1): Likewise.
36219         (S2): Likewise.
36220         (SIZE): Likewise.
36221         (__mpn_add_n): Do not use BP_SYM.
36222         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36223         "bp-asm.h".
36224         (PARMS): Do not use macros from bp-asm.h.
36225         (S1): Likewise.
36226         (SIZE): Likewise.
36227         (__mpn_addmul_1): Do not use BP_SYM.
36228         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36229         weak_alias.
36230         (bzero): Likewise.
36231         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36232         "bp-asm.h".
36233         (PARMS): Do not use macros from bp-asm.h.
36234         (S): Likewise.
36235         (SIZE): Likewise.
36236         (__mpn_lshift): Do not use BP_SYM.
36237         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36238         "bp-asm.h".
36239         (PARMS): Do not use macros from bp-asm.h.
36240         (DEST): Likewise.
36241         (SRC): Likewise.
36242         (LEN): Likewise.
36243         (memcpy): Likewise.  Do not use BP_SYM.
36244         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36245         libc_hidden_def and weak_alias.
36246         (mempcpy): Do not use BP_SYM in weak_alias.
36247         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36248         "bp-asm.h".
36249         (PARMS): Do not use macros from bp-asm.h.
36250         (DEST): Likewise.
36251         (LEN): Likewise.
36252         [!BZERO_P] (CHR): Likewise.
36253         (memset): Likewise.  Do not use BP_SYM.
36254         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36255         "bp-asm.h".
36256         (PARMS): Do not use macros from bp-asm.h.
36257         (S1): Likewise.
36258         (SIZE): Likewise.
36259         (__mpn_mul_1): Do not use BP_SYM.
36260         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36261         "bp-asm.h".
36262         (PARMS): Do not use macros from bp-asm.h.
36263         (S): Likewise.
36264         (SIZE): Likewise.
36265         (__mpn_rshift): Do not use BP_SYM.
36266         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36267         "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         (index): Do not use BP_SYM in weak_alias.
36273         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36274         "bp-asm.h".
36275         (PARMS): Do not use macros from bp-asm.h.
36276         (DEST): Likewise.
36277         (SRC): Likewise.
36278         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36279         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36280         "bp-asm.h".
36281         (PARMS): Do not use macros from bp-asm.h.
36282         (strlen): Do not use BP_SYM.
36283         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36284         "bp-asm.h".
36285         (PARMS): Do not use macros from bp-asm.h.
36286         (S1): Likewise.
36287         (S2): Likewise.
36288         (SIZE): Likewise.
36289         (__mpn_sub_n): Do not use BP_SYM.
36290         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36291         "bp-asm.h".
36292         (PARMS): Do not use macros from bp-asm.h.
36293         (S1): Likewise.
36294         (SIZE): Likewise.
36295         (__mpn_submul_1): Do not use BP_SYM.
36296         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36297         "bp-asm.h".
36298         (PARMS): Do not use macros from bp-asm.h.
36299         (S1): Likewise.
36300         (S2): Likewise.
36301         (SIZE): Likewise.
36302         (__mpn_add_n): Do not use BP_SYM.
36303         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36304         weak_alias.
36305         (bzero): Likewise.
36306         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36307         "bp-asm.h".
36308         (PARMS): Do not use macros from bp-asm.h.
36309         (BLK2): Likewise.
36310         (LEN): Likewise.
36311         (memcmp): Do not use BP_SYM.
36312         (bcmp): Do not use BP_SYM in weak_alias.
36313         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36314         "bp-asm.h".
36315         (PARMS): Do not use macros from bp-asm.h.
36316         (DEST): Likewise.
36317         (SRC): Likewise.
36318         (LEN): Likewise.
36319         (memcpy): Likewise.  Do not use BP_SYM.
36320         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36321         "bp-asm.h".
36322         (PARMS): Do not use macros from bp-asm.h.
36323         (DEST): Likewise.
36324         (SRC): Likewise.
36325         (LEN): Likewise.
36326         (memmove): Likewise.  Do not use BP_SYM.
36327         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36328         "bp-asm.h".
36329         (PARMS): Do not use macros from bp-asm.h.
36330         (DEST): Likewise.
36331         (SRC): Likewise.
36332         (LEN): Likewise.
36333         (__mempcpy): Likewise.  Do not use BP_SYM.
36334         (mempcpy): Do not use BP_SYM in weak_alias.
36335         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36336         "bp-asm.h".
36337         (PARMS): Do not use macros from bp-asm.h.
36338         (DEST): Likewise.
36339         (LEN): Likewise.
36340         [!BZERO_P] (CHR): Likewise.
36341         (memset): Likewise.  Do not use BP_SYM.
36342         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36343         "bp-asm.h".
36344         (PARMS): Do not use macros from bp-asm.h.
36345         (STR2): Likewise.
36346         (strcmp): Do not use BP_SYM.
36347         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36348         "bp-asm.h".
36349         (PARMS): Do not use macros from bp-asm.h.
36350         (STR): Likewise.
36351         (DELIM): Likewise.
36352         [USE_AS_STRTOK_R] (SAVE): Likewise.
36353         (FUNCTION): Likewise.  Do not use BP_SYM.
36354         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36355         aliases.
36356         (strtok_r): Likewise.
36357         (__GI___strtok_r): Likewise.
36358         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36359         (PARMS): Do not use macros from bp-asm.h.
36360         (S): Likewise.
36361         (SIZE): Likewise.
36362         (__mpn_lshift): Do not use BP_SYM.
36363         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36364         (PARMS): Do not use macros from bp-asm.h.
36365         (STR): Likewise.
36366         (CHR): Likewise.
36367         (__memchr): Do not use BP_SYM.
36368         (memchr): Do not use BP_SYM in weak_alias.
36369         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36370         (PARMS): Do not use macros from bp-asm.h.
36371         (BLK2): Likewise.
36372         (LEN): Likewise.
36373         (memcmp): Do not use BP_SYM.
36374         (bcmp): Do not use BP_SYM in weak_alias.
36375         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36376         (PARMS): Do not use macros from bp-asm.h.
36377         (S1): Likewise.
36378         (SIZE): Likewise.
36379         (__mpn_mul_1): Do not use BP_SYM.
36380         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36381         "bp-asm.h".
36382         (PARMS): Do not use macros from bp-asm.h.
36383         (STR): Likewise.
36384         (CHR): Likewise.
36385         (__rawmemchr): Do not use BP_SYM.
36386         (rawmemchr): Do not use BP_SYM in weak_alias.
36387         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36388         (PARMS): Do not use macros from bp-asm.h.
36389         (S): Likewise.
36390         (SIZE): Likewise.
36391         (__mpn_rshift): Do not use BP_SYM.
36392         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36393         (PARMS): Do not use macros from bp-asm.h.
36394         (SIGMSK): Likewise.
36395         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36396         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36397         (_start): Do not use BP_SYM.
36398         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36399         (PARMS): Do not use macros from bp-asm.h.
36400         (DEST): Likewise.
36401         (SRC): Likewise.
36402         (__stpcpy): Likewise.  Do not use BP_SYM.
36403         (stpcpy): Do not use BP_SYM in weak_alias.
36404         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36405         "bp-asm.h".
36406         (PARMS): Do not use macros from bp-asm.h.
36407         (DEST): Likewise.
36408         (SRC): Likewise.
36409         (LEN): Likewise.
36410         (__stpncpy): Likewise.  Do not use BP_SYM.
36411         (stpncpy): Do not use BP_SYM in weak_alias.
36412         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36413         (PARMS): Do not use macros from bp-asm.h.
36414         (STR): Likewise.
36415         (CHR): Likewise.
36416         (strchr): Likewise.  Do not use BP_SYM.
36417         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36418         "bp-asm.h".
36419         (PARMS): Do not use macros from bp-asm.h.
36420         (STR): Likewise.
36421         (CHR): Likewise.
36422         (__strchrnul): Likewise.  Do not use BP_SYM.
36423         (strchrnul): Do not use BP_SYM in weak_alias.
36424         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36425         "bp-asm.h".
36426         (PARMS): Do not use macros from bp-asm.h.
36427         (STOP): Likewise.
36428         (strcspn): Do not use BP_SYM.
36429         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36430         "bp-asm.h".
36431         (PARMS): Do not use macros from bp-asm.h.
36432         (STR): Likewise.
36433         (STOP): Likewise.
36434         (strpbrk): Likewise.  Do not use BP_SYM.
36435         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36436         "bp-asm.h".
36437         (PARMS): Do not use macros from bp-asm.h.
36438         (STR): Likewise.
36439         (CHR): Likewise.
36440         (strrchr): Likewise.  Do not use BP_SYM.
36441         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36442         (PARMS): Do not use macros from bp-asm.h.
36443         (SKIP): Likewise.
36444         (strspn): Do not use BP_SYM.
36445         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36446         (PARMS): Do not use macros from bp-asm.h.
36447         (STR): Likewise.
36448         (DELIM): Likewise.
36449         (SAVE): Likewise.
36450         (FUNCTION): Likewise.  Do not use BP_SYM.
36451         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36452         aliases.
36453         (strtok_r): Likewise.
36454         (__GI___strtok_r): Likewise.
36455         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36456         (PARMS): Do not use macros from bp-asm.h.
36457         (S1): Likewise.
36458         (S2): Likewise.
36459         (SIZE): Likewise.
36460         (__mpn_sub_n): Do not use BP_SYM.
36461         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36462         "bp-asm.h".
36463         (PARMS): Do not use macros from bp-asm.h.
36464         (S1): Likewise.
36465         (SIZE): Likewise.
36466         (__mpn_submul_1): Do not use BP_SYM.
36467         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36468         <bp-sym.h>.
36469         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36470         and <bp-asm.h>.
36471         (PARMS): Do not use macros from bp-asm.h.
36472         (FLAGS): Likewise.
36473         (PTID): Likewise.
36474         (TLS): Likewise.
36475         (CTID): Likewise.
36476         (__clone): Do not use BP_SYM.
36477         (clone): Do not use BP_SYM in weak_alias.
36478         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36479         and <bp-asm.h>.
36480         (PARMS): Do not use macros from bp-asm.h.
36481         (LEN): Likewise.
36482         (__mmap64): Do not use BP_SYM.
36483         (mmap64): Do not use BP_SYM in weak_alias.
36484         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36485         <bp-sym.h> and <bp-asm.h>.
36486         (PARMS): Do not use macros from bp-asm.h.
36487         (__posix_fadvise64_l64): Do not use BP_SYM.
36488         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36489         (PARMS): Do not use macros from bp-asm.h.
36490         (NSOPS): Likewise.
36491         (semtimedop): Do not use BP_SYM.
36492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36493         and <bp-asm.h>.
36495 2013-02-21  Allan McRae  <allan@archlinux.org>
36497         * manual/message.texi (Charset conversion in gettext):
36498         Move @end statement to beginning of line.
36500 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36503         static.
36504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36505         Likewise.
36507         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36508         (denorm): Likewise.
36509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36512 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36514         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36515         tail-call to the resolved function if pltexit isn't needed.
36517 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36520         or Y being zero as being unlikely.
36521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36522         Likewise.
36524 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36526         * manual/nss.texi (System Databases and Name Service Switch):
36527         Remove frobnicate @pxref.
36529 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36531         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36532         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36534 2013-02-20  Petr Machata  <pmachata@redhat.com>
36536         * elf/elf.h (R_ARM_TARGET1): New macro.
36537         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36538         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36539         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36540         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36541         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36542         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36543         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36544         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36545         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36546         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36547         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36548         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36549         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36550         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36551         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36552         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36553         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36554         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36555         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36556         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36557         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36558         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36559         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36560         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36561         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36562         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36563         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36564         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36565         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36566         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36567         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36568         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36569         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36570         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36571         (R_ARM_THM_GOT_BREL12): Likewise.
36572         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36573         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36574         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36575         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36576         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36577         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36578         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36579         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36580         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36582 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36584         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36585         __attribute_used__ to __attribute__ ((unused)).
36587 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36589         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36590         powerpc mpa.c.
36591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36592         comment formatting.
36593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36595 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #13550]
36598         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36599         Remove macro.
36600         (ENTER): Remove both macro definitions.
36601         (LEAVE): Likewise.
36602         (CHECK_BOUNDS_LOW): Likewise.
36603         (CHECK_BOUNDS_HIGH): Likewise.
36604         (CHECK_BOUNDS_BOTH): Likewise.
36605         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36606         (RETURN_BOUNDED_POINTER): Likewise.
36607         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36608         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36609         (POP_ERRNO_LOCATION_RETURN): Likewise.
36610         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36611         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36612         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36613         macros.
36614         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36615         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36616         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36617         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36618         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36619         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36620         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36621         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36622         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36623         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36624         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36625         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36626         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36627         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36628         removed macros.
36629         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36630         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36631         macros.
36632         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36633         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36634         * sysdeps/i386/i586/memset.S (memset): Likewise.
36635         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36636         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36637         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36638         macros.
36639         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36640         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36641         Change uses of L(2) to L(out).
36642         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36643         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36644         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36645         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36646         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36647         removed macros.
36648         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36649         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36650         macros.
36651         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36652         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36653         (RETURN): Do not use macro LEAVE.
36654         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36655         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36656         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36657         * sysdeps/i386/i686/memset.S (memset): Likewise.
36658         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36659         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36660         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36661         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36662         Likewise.
36663         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36664         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36665         L(1_2) and L(1_3) into L(1).
36666         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36667         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36668         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36669         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36670         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36671         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36672         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36673         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36674         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36675         macros.
36676         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36677         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36678         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36679         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36680         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36681         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36682         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36683         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36684         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36685         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36686         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36687         * sysdeps/i386/strspn.S (strspn): Likewise.
36688         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36689         conditional code.
36690         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36691         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36692         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36693         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36694         L(1_3) into L(1_1).
36695         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36697         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36698         macros.
36699         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36701 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36703         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36704         macro.
36706 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * math/atest-exp.c (exp_mpn): Remove ROUND.
36709         * math/atest-exp2.c (exp_mpn): Likewise.
36710         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36712         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36713         * stdlib/tst-tls-atexit-lib.c: Likewise.
36714         * stdlib/tst-tls-atexit.c: Likewise.
36716 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36718         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36719         and __attribute_alloc_size__.
36721 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36723         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36724         __attribute_alloc_size__.
36725         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36726         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36728 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36730         * include/programs/xmalloc.h: New file.
36731         * catgets/gencat.c: Include it.
36732         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36733         * elf/pldd.c: Likewise.
36734         * iconv/iconv_charmap.c: Likewise.
36735         * iconv/iconvconfig.c: Likewise.
36736         * iconv/strtab.c: Likewise.
36737         * locale/programs/locale.c: Likewise.
36738         * locale/programs/localedef.h: Likewise.
36739         * locale/programs/simple-hash.c: Likewise.
36740         * nscd/nscd.h: Likewise.
36741         * nss/makedb.c: Likewise.
36742         * sysdeps/generic/ldconfig.h: Likewise.
36744 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36746         * Versions.def: Add GLIBC_2.18.
36747         * include/link.h (struct link_map): New member l_tls_dtor_count.
36748         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36749         (__call_tls_dtors): Likewise.
36750         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36751         __cxa_thread_atexit_impl.
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36753         Likewise.
36754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36755         Likewise.
36756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36757         Likewise.
36758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36759         Likewise.
36760         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36762         Likewise.
36763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36764         Likewise.
36765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36767         Likewise.
36768         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36769         (tests): Add test case tst-tls-atexit.
36770         (modules-names): Add shared library for tst-tls-atexit.
36771         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36772         (GLIBC_PRIVATE): Add __call_tls_dtors.
36773         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36774         for libstdc++.
36775         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36776         * stdlib/tst-tls-atexit.c: New test case.
36777         * stdlib/tst-tls-atexit-lib.c: New test case.
36779         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36781         * elf/Versions (ld): Add _dl_find_dso_for_object.
36782         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36783         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36784         (dl_open_worker): Use _dl_find_dso_for_object.
36785         * elf/dl-sym.c (do_sym): Likewise.
36786         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36788 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36790         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36791         Syntactic changes only.
36792         (_dl_runtime_profile): Do a tail-call to the resolved function.
36794 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36796         [BZ #13550]
36797         * sysdeps/x86_64/bp-asm.h: Remove file.
36798         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36799         <bp-sym.h> and <bp-asm.h>.
36800         (__clone): Do not use BP_SYM.
36801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36802         <bp-sym.h> and <bp-asm.h>.
36803         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36804         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36805         "bp-asm.h".
36806         (_setjmp): Do not use BP_SYM.
36807         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36808         "bp-asm.h".
36809         (setjmp): Do not use BP_SYM.
36810         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36811         libc_hidden_def.
36812         (mempcpy): Do not use BP_SYM in weak_alias.
36813         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36814         "bp-asm.h".
36815         (strchr): Do not use BP_SYM.
36816         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36817         "bp-asm.h".
36818         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36819         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36820         (_start): Do not use BP_SYM.
36821         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36822         "bp-asm.h".
36823         (strcat): Do not use BP_SYM.
36824         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36825         "bp-asm.h".
36826         (STRCMP): Do not use BP_SYM.
36827         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36828         "bp-asm.h".
36829         (STRCPY): Do not use BP_SYM.
36830         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36831         "bp-asm.h".
36832         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36833         "bp-asm.h".
36834         (FUNCTION): Do not use BP_SYM.
36835         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36836         weak_alias.
36837         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36839 2013-02-17  Andreas Jaeger  <aj@suse.de>
36841         * time/Versions: Sort entries.
36842         * string/Versions: Likewise.
36843         * resolv/Versions: Likewise.
36844         * posix/Versions: Likewise.
36845         * iconv/Versions: Likewise.
36846         * elf/Versions: Likewise.
36847         * wcsmbs/Versions: Likewise.
36849 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36851         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36852         loop termination condition.
36854         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36855         variable to calculate EZ.
36856         (__sqr): Likewise.
36858         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36859         the lower precision input.
36861 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36863         [BZ #13550]
36864         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36865         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36866         (run-via-rtld-prefix): Do not handle %-bp tests.
36867         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36868         (all-object-suffixes): Remove .ob.
36869         (bppfx): Remove variable.
36870         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36871         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36872         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36873         [$(build-bounded) = yes] (libtype.ob): Likewise.
36874         * Makerules (elide-routines.ob): Remove variable.
36875         (do-tests-clean): Do not handle *-bp.out.
36876         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36877         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36878         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36879         (tests): Do not include $(tests-bp.out).
36880         (xtests): Do not include $(xtests-bp.out).
36881         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36882         [$(build-bounded) = yes] ($(addprefix
36883         $(objpfx),$(binaries-bounded))): Remove rule.
36884         ($(objpfx)%-bp.out): Remove rule.
36885         * config.make.in (build-bounded): Remove variable.
36886         * crypt/Makefile [$(build-bounded) = yes]
36887         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36888         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36889         append to variable.
36890         [$(build-bounded) = yes] (install-lib): Likewise.
36891         [$(build-bounded) = yes] (generated): Likewise.
36892         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36893         Remove rule.
36894         * intl/Makefile [$(build-bounded) = yes]
36895         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36896         * math/Makefile [$(build-bounded) = yes]
36897         ($(tests:%=$(objpfx)%-bp): Likewise.
36898         * misc/Makefile [$(build-bounded) = yes]
36899         ($(objpfx)tst-tsearch-bp): Likewise.
36900         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36901         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36902         Remove dependency.
36903         * string/Makefile (o-objects.ob): Remove variable.
36904         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36905         (CFLAGS-.ob): Remove variable.
36906         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36907         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36908         both definitions of variable.
36909         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36910         (ASFLAGS-.ob): Remove variable.
36912 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36914         [BZ #13550]
36915         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36916         Remove __BOUNDED_POINTERS__ from condition.
36917         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36918         * string/bits/string2.h [!__NO_STRING_INLINES &&
36919         !__BOUNDED_POINTERS__]: Likewise.
36920         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36921         Likewise.
36922         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36923         Remove conditional code.
36924         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36925         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36926         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36927         condition.
36929         [BZ #13550]
36930         * csu/libc-start.c: Do not include <bp-sym.h>.
36931         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36932         * elf/dl-open.c: Do not include <bp-sym.h>.
36933         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36934         * math/fegetenv.c: Do not include <bp-sym.h>.
36935         (fegetenv): Do not use BP_SYM in versioned symbols.
36936         * nptl/sysdeps/pthread/bits/libc-lockP.h
36937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36938         <bp-sym.h>.
36939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36940         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36942         (__pthread_mutex_destroy): Likewise.
36943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36944         (__pthread_mutex_lock): Likewise.
36945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36946         (__pthread_mutex_trylock): Likewise.
36947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36948         (__pthread_mutex_unlock): Likewise.
36949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36950         (__pthread_mutexattr_init): Likewise.
36951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36952         (__pthread_mutexattr_destroy): Likewise.
36953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36954         (__pthread_mutexattr_settype): Likewise.
36955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36956         (__pthread_rwlock_init): Likewise.
36957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36958         (__pthread_rwlock_destroy): Likewise.
36959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36960         (__pthread_rwlock_rdlock): Likewise.
36961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36962         (__pthread_rwlock_tryrdlock): Likewise.
36963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36964         (__pthread_rwlock_wrlock): Likewise.
36965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36966         (__pthread_rwlock_trywrlock): Likewise.
36967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36968         (__pthread_rwlock_unlock): Likewise.
36969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36970         (__pthread_key_create): Likewise.
36971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36972         (__pthread_setspecific): Likewise.
36973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36974         (__pthread_getspecific): Likewise.
36975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36976         Likewise.
36977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36978         (_pthread_cleanup_push_defer): Likewise.
36979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36980         (_pthread_cleanup_pop_restore): Likewise.
36981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36982         (pthread_setcancelstate): Likewise.
36983         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36984         <bp-sym.h>.
36985         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36986         (memchr): Do not use BP_SYM in weak_alias.
36987         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36988         (fegetenv): Do not use BP_SYM in versioned symbols.
36989         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36990         (fesetenv): Do not use BP_SYM in versioned symbols.
36991         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36992         (feupdateenv): Do not use BP_SYM in versioned symbols.
36993         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36994         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36995         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36996         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36997         (open64): Do not use BP_SYM in weak_alias.
36998         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36999         (fegetenv): Do not use BP_SYM in versioned symbols.
37000         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37001         (fesetenv): Do not use BP_SYM in versioned symbols.
37002         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37003         (feupdateenv): Do not use BP_SYM in versioned symbols.
37004         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37005         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37006         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37007         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37008         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37009         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37010         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37011         <bp-sym.h>.
37012         (__libc_start_main): Do not use BP_SYM.
37014 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37017         redundant return line.
37018         (norm): Likewise.
37019         (denorm): Likewise.
37020         (dbl_mp): Likewise.
37021         (sub_magnitudes): Likewise.
37022         (__add): Likewise.
37023         (__sub): Likewise.
37024         (__mul): Likewise.
37025         (__inv): Likewise.
37026         (__dvd): Likewise.
37027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37028         (norm): Likewise.
37029         (denorm): Likewise.
37030         (dbl_mp): Likewise.
37031         (sub_magnitudes): Likewise.
37032         (__add): Likewise.
37033         (__sub): Likewise.
37034         (__mul): Likewise.
37035         (__inv): Likewise.
37036         (__dvd): Likewise.
37038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37039         instead of __mul.
37040         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37041         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37042         (cc32): Likewise.
37044         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37045         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37047         of __mul for squares.
37048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37049         function
37050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37051         Likewise.
37052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37055 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37057         [BZ #13550]
37058         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37059         code.
37060         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37061         prototype or function definition.  Rename ubp_* variables and
37062         parameters.  Remove argv definitions conditional on
37063         [__BOUNDED_POINTERS__].
37064         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37065         * elf/dl-runtime.c (_dl_fixup): Likewise.
37066         * include/set-hooks.h (RUN_HOOK): Likewise.
37067         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37068         definition.
37069         * string/strcpy.c (strcpy): Do not use __unbounded.
37070         * sysdeps/generic/frame.h (struct layout): Likewise.
37071         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37072         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37073         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37074         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37075         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37076         (__backtrace): Likewise.
37077         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37078         use __ptrvalue.
37079         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37080         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37081         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37082         Likewise.
37083         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37084         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37085         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37086         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37087         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37088         Do not use __unbounded.
37089         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37090         Rename __unboundedrlimits parameter to rlimits in prototype.
37091         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37092         Do not use __unbounded.
37093         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37094         not use __ptrvalue.
37095         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37096         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37097         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37098         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37099         __ptrvalue or __unbounded.
37100         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37101         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37102         use __unbounded.
37103         (__new_msgctl): Do not use __ptrvalue.
37104         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37105         __unbounded.
37106         (__libc_msgrcv): Do not use __ptrvalue.
37107         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37108         startup_info): Do not use __unbounded.
37109         (__libc_start_main): Likewise.  Rename ubp_* variables and
37110         parameters.  Remove argv definitions conditional on
37111         [__BOUNDED_POINTERS__].
37112         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37113         __ptrvalue.
37114         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37115         use __unbounded.
37116         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37117         or __ptrvalue.
37118         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37119         use __unbounded.
37120         (__new_shmctl): Do not use __ptrvalue.
37121         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37122         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37123         Likewise.
37124         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37125         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37126         (__libc_sigaction): Likewise.
37127         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37128         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37129         Likewise.
37130         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37132 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37134         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37136         * string/mempcpy.c: Implement by calling memcpy.
37138 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37143         evaluation.
37145         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37146         values in the mantissa.
37148         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37149         minimize writes to Z.
37150         (sub_magnitudes): Simplify code a bit.
37152 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37154         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37155         from the message.  The linker prefixes all warnings with that already.
37157 2013-02-12  Andreas Schwab  <schwab@suse.de>
37159         [BZ #15078]
37160         * posix/regexec.c (extend_buffers): Add parameter min_len.
37161         (check_matching): Pass minimum needed length.
37162         (clean_state_log_if_needed): Likewise.
37163         (get_subexp): Likewise.
37164         * posix/Makefile (tests): Add bug-regex34.
37165         (bug-regex34-ENV): Define.
37166         * posix/bug-regex34.c: New file.
37168         [BZ #11561]
37169         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37170         elements compare against the byte sequence of it, not its name.
37171         * posix/Makefile (tests): Add bug-regex35.
37172         (bug-regex35-ENV): Define.
37173         * posix/bug-regex35.c: New file.
37175 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37177         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37178         comment.
37179         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37180         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37181         (CHECK_EOL): Add undef.
37183 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37185         * bits/stdlib-bsearch.h: New file.
37186         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37187         * stdlib/stdlib.h: Likewise.
37189 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37191         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37192         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37193         declaration.
37194         * manual/search.texi (Array Search Function): Add missing const in
37195         lfind prototype.
37196         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37197         declaration to use rlim_t.
37198         (Basic Scheduling Functions): Remove erroneous const from
37199         sched_getparam prototype.  Remove erroneous * from
37200         sched_get_priority_max and sched_get_priority_min prototypes.
37201         (Resource Usage): Fix summary @comment on vtimes to refer to
37202         sys/vtimes.h rather than vtimes.h.
37203         Add missing *s in vtimes prototype.
37204         (Limits on Resources): Fix ulimit prototype to return long int.
37205         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37206         prototypes to use long int rather than double.
37207         (BSD Random): Fix initstate and setstate to use char *, not void *.
37208         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37209         prototype to make second argument 'struct aiocb64 *const[]'.
37210         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37211         (Status of AIO Operations): Remove erroneous const in aio_return and
37212         aio_return64 prototypes.
37213         (Synchronizing I/O): Fix sync prototype to return void.
37214         * manual/startup.texi (Suboptions): Remove an erroneous const in
37215         getsubopt prototype.
37216         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37217         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37218         use size_t rather than int.
37219         (Scanning All Users): Likewise for getpwent_r.
37220         (Setting Groups): Add missing const to setgroups prototype.
37221         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37222         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37223         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37224         'const void *' rather than 'const char *'.
37225         (Host Address Functions): Likewise for inet_ntop.
37226         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37227         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37228         ssize_t for return value.
37229         (Sending Data): Likewise for send, sendto, sendmsg.
37230         (Socket Option Functions): Add a missing const in setsockopt prototype.
37231         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37232         use wchar_t for the argument.
37233         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37234         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37235         take no arguments.
37236         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37237         double/float/long double for second argument.
37238         Fix return types of significand, significandf, significandl.
37239         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37240         argument in fchmod prototype.
37241         (File Owner): Use uid_t and gid_t in fchown prototype.
37242         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37243         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37244         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37245         use 'const struct dirent **' as argument types to CMP function pointer
37246         argument.
37247         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37248         (File Times): Fix summary magic @comment for struct utimbuf and utime
37249         to refer to utime.h, not time.h.
37250         * manual/string.texi (Argz Functions): Add missing const in
37251         argz_extract and argz_next prototypes.
37252         (Finding Tokens in a String): Likewise for basename.
37253         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37254         (Copying and Concatenation): Fix typo in wmemmove prototype.
37255         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37256         (Signal Stack): Remove erroneous const in sigstack prototype.
37257         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37258         prototype.
37259         (Simple Calendar Time): Likewise for stime.
37260         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37261         prototype.
37262         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37263         say sys/sysctl.h instead.
37264         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37265         and vsyslog prototypes.
37267 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37269         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37270         Remove.
37272 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37274         * misc/sys/mman.h: Fix typo in mremap comment.
37276 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37278         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37279         the '\0' terminator.
37281 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37283         [BZ #13550]
37284         * debug/segfault.c: Don't include <bp-checks.h>.
37285         * sysdeps/generic/bp-checks.h: Remove file.
37286         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37287         (__GETDENTS): Don't use CHECK_N.
37288         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37289         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37290         (__getgroups): Don't use CHECK_N.
37291         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37292         (setgroups): Don't use CHECK_N.
37293         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37294         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37295         (__libc_msgrcv): Don't use CHECK_N.
37296         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37297         (__libc_msgsnd): Don't use CHECK_N.
37298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37299         <bp-checks.h>.
37300         (__libc_pread): Don't use CHECK_N.
37301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37302         include <bp-checks.h>.
37303         (__libc_pread64): Don't use CHECK_N.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37305         include <bp-checks.h>.
37306         (__libc_pwrite): Don't use CHECK_N.
37307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37308         include <bp-checks.h>.
37309         (__libc_pwrite64): Don't use CHECK_N.
37310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37311         <bp-checks.h>.
37312         (__libc_pread): Don't use CHECK_N.
37313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37314         include <bp-checks.h>.
37315         (__libc_pread64): Don't use CHECK_N.
37316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37317         include <bp-checks.h>.
37318         (__libc_pwrite): Don't use CHECK_N.
37319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37320         include <bp-checks.h>.
37321         (__libc_pwrite64): Don't use CHECK_N.
37322         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37323         (do_pread): Don't use CHECK_N.
37324         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37325         (do_pread64): Don't use CHECK_N.
37326         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37327         (do_pwrite): Don't use CHECK_N.
37328         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37329         (do_pwrite64): Don't use CHECK_N.
37330         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37331         (__libc_readv): Don't use CHECK_N.
37332         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37333         (semop): Don't use CHECK_N.
37334         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37335         <bp-checks.h>.
37336         (semtimedop): Don't use CHECK_N.
37337         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37338         (__libc_pread): Don't use CHECK_N.
37339         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37340         <bp-checks.h>.
37341         (__libc_pread64): Don't use CHECK_N.
37342         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37343         <bp-checks.h>.
37344         (__libc_pwrite): Don't use CHECK_N.
37345         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37346         <bp-checks.h>.
37347         (__libc_pwrite64): Don't use CHECK_N.
37348         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37349         <bp-checks.h>.
37350         (__libc_msgrcv): Don't use CHECK_N.
37351         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37352         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37353         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37354         (__libc_writev): Don't use CHECK_N.
37356 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37358         * string/strcpy.c: Removed unused variable.
37360         * Makeconfig (+sysdep-includes): Define with := rather than =.
37361         Use an existing include/ subdir of each sysdeps dir before it.
37363 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37365         * nscd/connection.c (register_traced_file): Comment function.
37366         [HAVE_INOTIFY] (union __inev): Define.
37367         [HAVE_INOTIFY] (inotify_check_files): New function.
37368         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37369         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37370         clear_db_cache.
37371         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37373 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37375         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37376         loaded if not already and that a failure is permanent.
37378 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37380         [BZ #15006]
37381         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37382         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37384 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37386         [BZ #13550]
37387         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37388         (CHECK_1_NULL_OK): Likewise.
37389         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37390         (__fxstat): Do not use CHECK_1.
37391         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37392         <bp-checks.h>.
37393         (___fxstat64): Do not use CHECK_1.
37394         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37395         <bp-checks.h>.
37396         (__fxstatat): Do not use CHECK_1.
37397         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37398         <bp-checks.h>.
37399         (__fxstatat64): Do not use CHECK_1.
37400         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37401         <bp-checks.h>.
37402         (__fxstat): Do not use CHECK_1.
37403         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37404         <bp-checks.h>.
37405         (__fxstatat): Do not use CHECK_1.
37406         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37407         <bp-checks.h>.
37408         (__getresgid): Do not use CHECK_1.
37409         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37410         <bp-checks.h>.
37411         (__getresuid): Do not use CHECK_1.
37412         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37413         <bp-checks.h>.
37414         (__lxstat): Do not use CHECK_1.
37415         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37416         <bp-checks.h>.
37417         (__old_msgctl): Do not use CHECK_1.
37418         (__new_msgctl): Likewise.
37419         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37420         <bp-checks.h>.
37421         (__new_setrlimit): Do not use CHECK_1.
37422         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37423         <bp-checks.h>.
37424         (__old_shmctl): Do not use CHECK_1.
37425         (__new_shmctl): Likewise.
37426         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37427         <bp-checks.h>.
37428         (__xstat): Do not use CHECK_1.
37429         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37430         (__lxstat): Do not use CHECK_1.
37431         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37432         <bp-checks.h>.
37433         (___lxstat64): Do not use CHECK_1.
37434         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37435         (__old_msgctl): Do not use CHECK_1.
37436         (__new_msgctl): Likewise.
37437         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37438         <bp-checks.h>.
37439         (__gettimeofday): Do not use CHECK_1.
37440         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37441         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37442         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37443         <bp-checks.h>.
37444         (__gettimeofday): Do not use CHECK_1.
37445         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37446         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37447         (__new_shmctl): Do not use CHECK_1.
37448         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37449         <bp-checks.h>.
37450         (do_sigtimedwait): Do not use CHECK_1.
37451         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37452         <bp-checks.h>.
37453         (do_sigwaitinfo): Do not use CHECK_1.
37454         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37455         <bp-checks.h>.
37456         (msgctl): Do not use CHECK_1.
37457         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37458         <bp-checks.h>.
37459         (shmctl): Do not use CHECK_1.
37460         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37461         (ustat): Do not use CHECK_1.
37462         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37463         <bp-checks.h>.
37464         (__fxstat): Do not use CHECK_1.
37465         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37466         <bp-checks.h>.
37467         (__fxstatat): Do not use CHECK_1.
37468         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37469         <bp-checks.h>.
37470         (__lxstat): Do not use CHECK_1.
37471         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37472         <bp-checks.h>.
37473         (__xstat): Do not use CHECK_1.
37474         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37475         (__xstat): Do not use CHECK_1.
37476         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37477         (___xstat64): Do not use CHECK_1.
37479         [BZ #13550]
37480         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37481         definitions.
37482         (CHECK_BOUNDS_HIGH): Likewise.
37483         * string/strcpy.c: Do not include <bp-checks.h>.
37484         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37486 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37488         * nscd/nscd-client.h (__nscd_drop_map_ref):
37489         Add __attribute__ ((unused)).
37490         * nis/nss-nisplus.h (niserr2nss): Likewise.
37492         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37493         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37495         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37496         Remove inline keyword.
37497         * include/rounding-mode.h (round_away): Likewise.
37498         * libio/wfileops.c (adjust_wide_data): Likewise.
37499         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37500         (__m128i_strloadu_tolower): Likewise.
37501         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37502         (__m128i_strloadu_tolower): Likewise.
37503         * time/mktime.c (ydhms_diff): Likewise.
37504         * locale/elem-hash.h (elem_hash): Likewise.
37505         * locale/setlocale.c (setdata): Likewise.
37506         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37507         (re_string_wchar_at): Likewise.
37508         (bitset_not, bitset_merge, bitset_mask): Likewise.
37509         [!(__GNUC__ > 3)] (inline): Remove macro.
37510         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37511         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37512         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37513         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37514         * string/memcmp.c (memcmp_bytes): Likewise.
37515         * locale/programs/locarchive.c (compute_hashval): Likewise.
37516         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37517         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37518         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37519         * nss/getent.c (print_rpc, print_protocols): Likewise.
37520         (print_passwd, print_group, print_aliases): Likewise.
37521         * nis/nss-nisplus.h (niserr2nss): Likewise.
37522         * nscd/connections.c (restart_p): Likewise.
37523         Change return type to bool.
37525 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37527         * Makeconfig (all-Depend-files): Add existing
37528         $(sorted-subdirs:=/Depend) files.
37529         (all-subdirs): Remove nss.
37530         * sysdeps/unix/inet/Subdirs: Add it here instead.
37531         * hesiod/Depend: New file.
37533         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37534         instead of calling alloca.
37536         * io/lseek.c (__lseek): Rename to __libc_lseek.
37537         Define __lseek as an alias.
37539         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37541 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37543         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37544         else clause and remove check for non-standard endianness.
37546 2013-02-04  David S. Miller  <davem@davemloft.net>
37548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37550 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #13550]
37553         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37554         (__ubp_memchr): Remove prototype.
37555         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37556         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37557         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37558         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37559         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37560         Remove alias.
37561         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37562         (__ubp_memchr): Likewise.
37563         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37564         (__ubp_memchr): Likewise.
37565         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37566         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37567         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37568         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37569         CHECK_STRING.
37570         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37571         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37572         (__getcwd): Do not use CHECK_STRING.
37573         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37574         <bp-checks.h>.
37575         (__real_chown): Do not use CHECK_STRING.
37576         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37577         <bp-checks.h>.
37578         (fchownat): Do not use CHECK_STRING.
37579         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37580         CHECK_STRING.
37581         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37582         <bp-checks.h>.
37583         (__lchown): Do not use CHECK_STRING.
37584         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37585         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37586         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37587         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37589         include <bp-checks.h>.
37590         (truncate64): Do not use CHECK_STRING.
37591         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37592         <bp-checks.h>.
37593         (__real_chown): Do not use CHECK_STRING.
37594         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37595         <bp-checks.h>.
37596         (__lchown): Do not use CHECK_STRING.
37597         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37598         <bp-checks.h>.
37599         (__chown): Do not use CHECK_STRING.
37600         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37601         <bp-checks.h>.
37602         (truncate64): Do not use CHECK_STRING.
37603         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37604         Likewise.
37605         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37606         (__xmknod): Do not use CHECK_STRING.
37607         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37608         <bp-checks.h>.
37609         (__xmknodat): Do not use CHECK_STRING.
37610         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37611         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37613 2013-02-04  Andreas Schwab  <schwab@suse.de>
37615         [BZ #14142]
37616         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37617         * include/netdb.h: Likewise for h_errno.
37618         * elf/tst-stackguard1.c: Include <tls.h>.
37620 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37622         * elf/link.h (struct link_map): Extend the l_addr comment.
37623         * include/link.h (struct link_map): Likewise.
37625 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37627         [BZ #13550]
37628         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37629         (BOUNDED_1): Remove macro.
37630         * debug/backtrace.c: Don't include <bp-checks.h>.
37631         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37632         (__backtrace): Likewise.
37633         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37634         <bp-checks.h>.
37635         (__backtrace): Don't use BOUNDED_1.
37636         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37637         <bp-checks.h>.
37638         (__backtrace): Don't use BOUNDED_1.
37639         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37640         (__backtrace): Don't use BOUNDED_1.
37641         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37642         (shmat): Don't use BOUNDED_N.
37644 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37646         [BZ #13550]
37647         * sysdeps/generic/bp-start.h: Remove file.
37648         * csu/libc-start.c: Don't include <bp-start.h>.
37649         (LIBC_START_MAIN): Set up __environ directly instead of using
37650         INIT_ARGV_and_ENVIRON.
37651         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37652         <bp-start.h>.
37654         [BZ #13550]
37655         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37656         definitions.
37657         (CHECK_FCNTL): Likewise.
37658         (CHECK_N_PAGES): Likewise.
37660         [BZ #13550]
37661         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37662         definitions.
37663         (CHECK_SIGSET_NULL_OK): Likewise.
37664         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37665         <bp-checks.h>.
37666         (sigpending): Don't use CHECK_SIGSET.
37667         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37668         <bp-checks.h>.
37669         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37670         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37671         <bp-checks.h>.
37672         (do_sigsuspend): Don't use CHECK_SIGSET.
37673         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37674         use CHECK_SIGSET.
37675         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37676         (do_sigwait): Don't use CHECK_SIGSET.
37677         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37678         use CHECK_SIGSET.
37679         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37680         include <bp-checks.h>.
37681         (sigpending): Don't use CHECK_SIGSET.
37682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37683         include <bp-checks.h>.
37684         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37685         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37686         <bp-checks.h>.
37687         (sigpending): Don't use CHECK_SIGSET.
37688         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37689         <bp-checks.h>.
37690         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37692         [BZ #13550]
37693         * sysdeps/generic/bp-semctl.h: Remove file.
37694         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37695         <bp-checks.h> and <bp-semctl.h>.
37696         (__old_semctl): Don't use CHECK_SEMCTL.
37697         (__new_semctl): Likewise.
37698         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37699         and <bp-semctl.h>.
37700         (__old_semctl): Don't use CHECK_SEMCTL.
37701         (__new_semctl): Likewise.
37702         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37703         <bp-checks.h> and <bp-semctl.h>.
37704         (__old_semctl): Don't use CHECK_SEMCTL.
37705         (__new_semctl): Likewise.
37706         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37707         <bp-checks.h> and <bp-semctl.h>.
37708         (semctl): Don't use CHECK_SEMCTL.
37710         [BZ #13550]
37711         * Makerules (elide-bp-thunks): Remove variable.
37712         (elide-routines.oS): Don't use $(elide-bp-thunks).
37713         (elide-routines.os): Likewise.
37714         (elide-routines.o): Likewise.
37715         (elide-routines.op): Likewise.
37716         (elide-routines.og): Likewise.
37717         (objects): Don't use $(bp-thunks).
37718         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37719         include.
37720         (common-generated): Do not add s-proto-bp.d.
37721         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37722         (int): Likewise.
37723         (typ): Likewise.
37724         Do not generate makefile rules for bounded-pointer thunks.
37725         * sysdeps/generic/bp-thunks.h: Remove file.
37726         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37727         * sysdeps/unix/s-proto-bp.S: Likewise.
37729         [BZ #15062]
37730         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37731         parts of result separately when argument is not close to line from
37732         -i to i and one part of argument is small.
37733         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37734         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37735         * math/libm-test.inc (cacos_test): Add more tests.
37736         (casin_test): Likewise.
37737         (casinh_test): Likewise.
37738         * sysdeps/i386/fpu/libm-test-ulps: Update.
37739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37741 2013-01-31  David S. Miller  <davem@davemloft.net>
37743         * po/de.po: Update from translation team.
37745 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37747         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37749 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37751         * configure.in (_AC_PROG_CC_C89): New definition.
37752         * configure: Regenerate.
37754         * configure.in (AC_PROG_CPP): New definition.
37755         * configure: Regenerate.
37757 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37759         * debug/tst-backtrace.h: New file.
37760         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37761         (ret): Remove variable.
37762         (x): Likewise.
37763         (FAIL): Remove macro.
37764         (NO_INLINE): Likewise.
37765         (fn1): Use match function instead of strstr.
37766         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37767         (ret): Remove variable.
37768         (x): Likewise.
37769         (FAIL): Remove macro.
37770         (NO_INLINE): Likewise.
37771         (fn): Use match function instead of strstr.
37772         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37773         (ret): Remove variable.
37774         (x): Likewise.
37775         (FAIL): Remove macro.
37776         (NO_INLINE): Likewise.
37777         (handle_signal): Use match function instead of strstr.
37778         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37779         (ret): Remove variable.
37780         (x): Likewise.
37781         (FAIL): Remove macro.
37782         (NO_INLINE): Likewise.
37783         (handle_signal): Use match function instead of strstr.
37785 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37787         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37789 2013-01-23  David S. Miller  <davem@davemloft.net>
37791         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37792         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37793         argument of CAS if possible.
37794         * sysdeps/sparc/sparc64/bits/atomic.h
37795         (__arch_compare_and_exchange_val_32_acq): Likewise.
37796         (__arch_compare_and_exchange_val_64_acq): Likewise.
37798 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37800         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37801         * sysdeps/posix/ulimit.c: ... this.
37802         Include <limits.h>.
37803         * sysdeps/unix/bsd/ulimit.c: Remove file.
37805 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37807         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37808         (LDFLAGS-tst-array5): Likewise.
37810 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37812         [BZ #15036]
37813         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37814         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37815         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37816         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37818 2013-01-21  David S. Miller  <davem@davemloft.net>
37820         * sysdeps/sparc/backtrace.c: New file.
37821         * sysdeps/sparc/sparc32/backtrace.h: New file.
37822         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37823         * sysdeps/sparc/sparc64/backtrace.h: New file.
37824         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37825         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37826         -funwind-tables.
37828 2013-01-21  Andreas Schwab  <schwab@suse.de>
37830         [BZ #15020]
37831         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37832         closed its stdout.
37834 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37837         "mpa2.h".
37838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37840 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37841             Mark Mitchell  <mark@codesourcery.com>
37842             Tom de Vries  <tom@codesourcery.com>
37843             Paul Pluzhnikov  <ppluzhnikov@google.com>
37845         * debug/tst-backtrace2.c: New file.
37846         * debug/tst-backtrace3.c: Likewise.
37847         * debug/tst-backtrace4.c: Likewise.
37848         * debug/tst-backtrace5.c: Likewise.
37849         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37850         (CFLAGS-tst-backtrace3.c): Likewise.
37851         (CFLAGS-tst-backtrace4.c): Likewise.
37852         (CFLAGS-tst-backtrace5.c): Likewise.
37853         (LDFLAGS-tst-backtrace2): Likewise.
37854         (LDFLAGS-tst-backtrace3): Likewise.
37855         (LDFLAGS-tst-backtrace4): Likewise.
37856         (LDFLAGS-tst-backtrace5): Likewise.
37857         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37858         tst-backtrace4 and tst-backtrace5.
37860 2013-01-18  Anton Blanchard  <anton@samba.org>
37861             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37863         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37864         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37866         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37868         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37869         "+r" and remove output regs list as redundant.  Add explicit inline
37870         asm to specify register of return val to work around compiler codegen
37871         bug.  Remove (int) cast on return value.  Add return type parameter to
37872         use in macro so that this macro does not truncate return value for
37873         64-bit values.
37874         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37875         pass to INTERNAL_VSYSCALL_NCS.
37876         (INLINE_VSYSCALL): Add 'long int' as return type to
37877         INTERNAL_VSYSCALL_NCS macro invocation.
37878         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37879         INTERNAL_VSYSCALL_NCS macro invocation.
37880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37882 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37884         [BZ #14496]
37885         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37886         Fix application of SIMD FP exception mask.
37888         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37889         mp_no from a power of two.
37890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37891         __mpexp_twomm1.  Use __pow_mp.
37893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37894         multiplication.
37896 2013-01-17  David S. Miller  <davem@davemloft.net>
37898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37900 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37902         [BZ #15023]
37903         * include/complex.h: Condition contents on [!_COMPLEX_H].
37904         (__kernel_casinhf): New prototype.
37905         (__kernel_casinh): Likewise.
37906         (__kernel_casinhl): Likewise.
37907         * math/Makefile (libm_calls): Add k_casinh.
37908         * math/k_casinh.c: New file.
37909         * math/k_casinhf.c: Likewise.
37910         * math/k_casinhl.c: Likewise.
37911         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37912         finite nonzero arguments.
37913         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37914         finite nonzero arguments.
37915         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37916         finite nonzero arguments.
37917         * math/s_casinh.c: Do not include <float.h>.
37918         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37919         * math/s_casinhf.c: Do not include <float.h>.
37920         (__casinhf): Move code for finite nonzero arguments to
37921         k_casinhf.c.
37922         * math/s_casinhl.c: Do not include <float.h>.
37923         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37924         redefine.
37925         (__casinhl): Move code for finite nonzero arguments to
37926         k_casinhl.c.
37927         * math/libm-test.inc (cacos_test): Add more tests.
37928         * sysdeps/i386/fpu/libm-test-ulps: Update.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37931 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37933         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37934         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37935         [!HAVE_MREMAP]: Remove [defined linux] case.
37936         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37938 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37940         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37942 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37944         * elf/elf.h (R_386_SIZE32): New relocation.
37945         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37946         R_386_SIZE32.
37947         (elf_machine_rela): Likewise.
37948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37949         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37951 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37953         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37954         (FP_FAST_FMA): Do not define.
37955         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37956         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37957         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37958         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37959         !_SOFT_FLOAT]: Likewise.
37960         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37961         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37962         value.
37963         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37964         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37965         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37966         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37967         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37968         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37969         file.
37971 2013-01-16  Andreas Schwab  <schwab@suse.de>
37973         [BZ #14327]
37974         * include/stdlib.h (__mktemp): Add declaration.
37975         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37976         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37978 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37980         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37981         definitions.
37982         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37983         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37984         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37985         definitions here.
37986         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37987         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37988         definitions.
37989         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37990         and ONE.
37991         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37992         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37993         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37994         definitions.
37995         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37996         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37997         definitions.
37998         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38000         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38002 2013-01-15  David S. Miller  <davem@davemloft.net>
38004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38005         trunc{,f} to libm-sysdep_routes.
38006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38008         file.
38009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38011         file.
38012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38013         file.
38014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38016         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38017         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38018         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38019         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38020         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38021         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38024         nearbyint{,f} to libm-sysdep_routes.
38025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38027         New file.
38028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38029         file.
38030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38031         New file.
38032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38033         file.
38034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38036         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38037         file.
38038         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38039         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38040         file.
38041         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38042         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38043         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38045         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38046         libc_feholdexcept and libc_fesetenv.
38048 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38050         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38052 2013-01-14  David S. Miller  <davem@davemloft.net>
38054         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38055         (SPARC_ASM_VIS2_IFUNC): Likewise.
38056         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38058         use of 'siam' instruction.
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38060         Likewise.
38061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38062         Likewise.
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38064         Likewise.
38065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38070         file.
38071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38072         file.
38073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38074         file.
38075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38076         file.
38077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38082         new VIS2 routines.
38083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38086         Likewise.
38087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38092         routines to libm-sysdep_routines.
38093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38096         fdim/fdimf to libm-sysdep_routines.
38097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38098         file.
38099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38101         file.
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38105         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38106         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38107         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38108         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38110 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38112         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38113         to optimize copies.
38115         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38120         local variable MPTWO.
38121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38122         Likewise.
38124 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38126         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38127         GLOB_NOESCAPE.
38129 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38131         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38133 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38135         * manual/pattern.texi (glob_t): Document gl_flags.
38136         (glob64_t): Likewise.
38138 2013-01-11  David S. Miller  <davem@davemloft.net>
38140         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38141         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38142         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38143         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38144         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38145         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38146         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38147         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38148         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38149         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38150         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38151         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38152         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38154         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38155         sparc V9 rather than using V8 code.
38156         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38157         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38159         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38160         Move to...
38161         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38162         Here.
38164 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38166         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38167         not in the main loop.
38168         * configure: Regenerated.
38170 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38172         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38173         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38174         to just #else.
38175         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38176         [!__GLIBC_HAVE_LONG_LONG] case.
38177         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38178         condition to just #else.
38179         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38180         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38181         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38182         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38183         unconditional.
38184         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38185         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38186         #elif condition to just #else.
38187         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38188         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38189         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38190         #elif condition to just #else.
38192 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38194         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38195         (EF_MIPS_ARCH_64): Fix value.
38196         (EF_MIPS_ARCH_32R2): New.
38197         (EF_MIPS_ARCH_64R2): New.
38199 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38201         * Makeconfig (+link-pie-before-libc): New.
38202         (+link-pie-after-libc): Likewise.
38203         (+link-pie-tests): Likewise.
38204         (+link-pie): Rewritten.
38205         (link-before-libc): Remove $(config-LDFLAGS).
38206         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38207         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38208         (config-LDFLAGS): Renamed to ...
38209         (rtld-LDFLAGS): This.
38210         (rtld-tests-LDFLAGS): New macro.
38211         (link-libc-rpath-link): Likewise.
38212         (link-libc-tests-rpath-link): Likewise.
38213         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38214         (link-libc): Prepand $(link-libc-rpath-link).
38215         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38216         (test-program-prefix): New macro.
38217         (test-via-rtld-prefix): Likewise.
38218         (test-program-cmd): Likewise.
38219         (host-test-program-cmd): Likewise.
38220         * Makefile ($(common-objpfx)testrun.sh): Replace
38221         $(run-program-prefix) with $(test-program-prefix).
38222         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38223         $(rtld-LDFLAGS).
38224         ($(common-objpfx)shlib.lds): Likewise.
38225         (build-module-helper): Likewise.
38226         ($(common-objpfx)format.lds): Likewise.
38227         * Rules (binaries-pie-tests): New.
38228         (binaries-pie-notests): Likewise.
38229         (binaries-pie): Rewritten.
38230         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38231         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38232         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38233         (make-test-out): Replace $(host-built-program-cmd) with
38234         $(host-test-program-cmd).
38235         * config.make.in (build-hardcoded-path-in-tests): New variable.
38236         * configure.in (--enable-hardcoded-path-in-tests): New configure
38237         option.
38238         (hardcoded_path_in_tests): New AC_SUBST.
38239         * configure: Regenerated.
38240         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38241         $(built-program-cmd) with $(test-program-cmd).
38242         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38243         (test_program_cmd): This.
38244         * elf/Makefile ($(objpfx)order.out): Run test with
38245         $(test-program-prefix).
38246         ($(objpfx)order2.out): Likewise.
38247         ($(objpfx)tst-initorder.out): Likewise.
38248         ($(objpfx)tst-initorder2.out): Likewise.
38249         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38250         $(test-program-cmd).
38251         ($(objpfx)tst-array1-static.out): Likewise.
38252         ($(objpfx)tst-array2.out): Likewise.
38253         ($(objpfx)tst-array3.out): Likewise.
38254         ($(objpfx)tst-array4.out): Likewise.
38255         ($(objpfx)tst-array5.out): Likewise.
38256         ($(objpfx)tst-array5-static.out): Likewise.
38257         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38258         $(test-program-cmd).
38259         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38260         $(run-program-prefix) with $(test-program-prefix).
38261         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38262         (test_program_prefix): This.
38263         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38264         $(run-program-prefix) with $(test-program-prefix).
38265         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38266         (test_program_prefix): This.
38267         * iconvdata/tst-tables.sh: Likewise.
38268         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38269         $(run-program-prefix) with $(test-program-prefix).
38270         ($(objpfx)tst-translit.out): Likewise.
38271         ($(objpfx)tst-gettext2.out): Likewise.
38272         ($(objpfx)tst-gettext4.out): Likewise.
38273         ($(objpfx)tst-gettext6.out): Likewise.
38274         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38275         (test_program_prefix): This.
38276         * intl/tst-gettext2.sh: Likewise.
38277         * intl/tst-gettext4.sh  Likewise.
38278         * intl/tst-gettext6.sh: Likewise.
38279         * intl/tst-translit.sh: Likewise.
38280         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38281         with $(test-program-cmd).
38282         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38283         $(run-program-prefix) with $(test-program-prefix).
38284         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38285         (test_program_prefix): This.
38286         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38287         $(run-program-prefix) with $(test-program-prefix).
38288         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38289         (test_program_prefix): This.
38290         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38291         * posix/Makefile ($(objpfx)globtest.out): Replace
38292         $(run-via-rtld-prefix) and $(test-wrapper) with
38293         $(test-program-prefix) and $(test-via-rtld-prefix).
38294         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38295         $(test-program-prefix).
38296         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38297         $(host-test-program-cmd).
38298         (tst-spawn-ARGS): Likewise.
38299         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38300         $(test-program-prefix).
38301         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38302         (test_via_rtld_prefix): This.
38303         (test_wrapper): Renamed to ...
38304         (test_program_prefix): This.
38305         (run_program_prefix): Replaced by test_program_prefix.
38306         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38307         (test_program_prefix): This.
38308         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38309         with $(host-test-program-cmd).
38310         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38311         $(run-program-prefix) with $(test-program-prefix).
38312         ($(objpfx)tst-printf.out): Likewise.
38313         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38314         $(test-program-cmd).
38315         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38316         (test_program_prefix): This.
38317         * stdio-common/tst-unbputc.sh: Likewise.
38318         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38319         $(run-program-prefix) with $(test-program-prefix).
38320         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38321         (test_program_prefix): This.
38322         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38323         $(built-program-cmd) with $(test-program-cmd).
38325 2013-01-11  Andreas Jaeger  <aj@suse.de>
38327         [BZ #15003]
38328         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38329         value. Sync with Linux 3.7.
38331 2013-01-10  David S. Miller  <davem@davemloft.net>
38333         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38334         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38335         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38337 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38339         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38340         never set.
38341         * configure: Regenerated.
38343 2013-01-10  David S. Miller  <davem@davemloft.net>
38345         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38346         sparc V9 rather than using V8 code.
38347         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38348         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38350 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38352         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38353         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38354         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38355         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38356         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38357         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38358         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38359         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38360         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38361         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38362         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38363         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38364         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38365         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38366         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38367         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38368         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38369         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38370         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38371         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38372         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38373         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38374         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38375         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38376         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38377         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38378         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38380 2013-01-10  David S. Miller  <davem@davemloft.net>
38382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38384 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38386         * posix/Makefile (tests-static): New variable.
38387         (tests): Add $(tests-static).
38388         (tst-exec-static-ARGS): New variable.
38389         (tst-spawn-static-ARGS): Likewise.
38390         * posix/tst-exec-static.c: New file.
38391         * posix/tst-spawn-static.c: Likewise.
38392         * posix/tst-exec.c: Support run directly.
38393         * posix/tst-spawn.c: Likewise.
38395 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38397         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38398         long.
38399         * math/bits/mathcalls.h (llrint): Likewise.
38400         (llround): Likewise.
38401         * stdlib/stdlib.h (struct drand48_data): Likewise.
38402         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38403         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38404         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38405         Likewise.
38406         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38407         Likewise.
38408         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38409         (elf_greg_t): Likewise.
38410         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38411         (__jmp_buf): Likewise.
38412         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38413         definitions.
38414         (llrint): Likewise, for all definitions.
38415         (llrintl): Likewise.
38417         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38418         Remove [__GNUC__] condition.
38419         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38420         condition to just [__USE_ISOC99].
38421         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38423 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38425         [BZ #14200]
38426         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38427         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38428         defined.
38429         (_POSIX_V6_ILP32_OFF32): Likewise.
38430         (_XBS5_ILP32_OFF32): Likewise.
38431         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38432         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38434 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38436         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38439         doubles __mpexp_twomm1.  Adjust usage.
38440         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38441         Remove.
38443 2013-01-10  Andreas Schwab  <schwab@suse.de>
38445         [BZ #14964]
38446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38447         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38449 2013-01-09  David S. Miller  <davem@davemloft.net>
38451         [BZ #15003]
38452         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38453         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38454         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38455         (TCP_FASTOPEN): Define.
38456         (tcp_repair_opt): New structure.
38457         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38458         enum values.
38459         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38460         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38461         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38462         (tcp_cookie_transactions): New structure.
38464 2013-01-09  Anton Blanchard  <anton@samba.org>
38466         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38467         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38468         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38469         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38471 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38473         * include/features.h (__USE_ANSI): Remove.
38475 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38477         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38479         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38481 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38483         * sysdeps/s390/fpu/libm-test-ulps: Update.
38485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38487         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38488         (__acr): Likewise.
38489         (__cpy): Likewise.
38490         (norm): Likewise.
38491         (denorm): Likewise.
38492         (__mp_dbl): Likewise.
38493         (__dbl_mp): Likewise.
38494         (add_magnitudes): Likewise.
38495         (sub_magnitudes): Likewise.
38496         (__add): Likewise.
38497         (__sub): Likewise.
38498         (__mul): Likewise.
38499         (__inv): Likewise.
38500         (__dvd): Likewise.
38501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38502         (__acr): Likewise.
38503         (__cpy): Likewise.
38504         (norm): Likewise.
38505         (denorm): Likewise.
38506         (__mp_dbl): Likewise.
38507         (__dbl_mp): Likewise.
38508         (add_magnitudes): Likewise.
38509         (sub_magnitudes): Likewise.
38510         (__add): Likewise.
38511         (__sub): Likewise.
38512         (__mul): Likewise.
38513         (__inv): Likewise.
38514         (__dvd): Likewise.
38515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38516         (__acr): Likewise.
38517         (__cpy): Likewise.
38518         (norm): Likewise.
38519         (denorm): Likewise.
38520         (__mp_dbl): Likewise.
38521         (__dbl_mp): Likewise.
38522         (add_magnitudes): Likewise.
38523         (sub_magnitudes): Likewise.
38524         (__add): Likewise.
38525         (__sub): Likewise.
38526         (__mul): Likewise.
38527         (__inv): Likewise.
38528         (__dvd): Likewise.
38530 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38532         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38533         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38534         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38535         2 && __USE_EXTERN_INLINES]: Likewise.
38537 2013-01-08  Andreas Jaeger  <aj@suse.de>
38539         [BZ# 14985]
38540         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38541         Remove.
38542         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38543         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38545 2013-01-07  Anton Blanchard  <anton@samba.org>
38547         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38548         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38549         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38550         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38551         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38552         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38553         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38554         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38556         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38559         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38560         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38561         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38563         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38565         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38566         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38567         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38568         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38569         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38570         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38571         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38572         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38573         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38574         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38575         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38576         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38577         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38579         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38580         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38581         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38582         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38583         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38585         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38586         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38587         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38588         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38589         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38591 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38593         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38594         (__MALLOC_PMT): Likewise.
38595         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38596         [__GNUC__], only on [_LIBC].
38597         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38598         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38599         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38600         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38601         forward declaration.
38602         (realloc_hook_ini): Likewise.
38603         (memalign_hook_ini): Likewise.
38604         (__libc_memalign): Do not use __MALLOC_PMT in variable
38605         declaration.
38606         (__libc_valloc): Likewise.
38607         (__libc_pvalloc): Likewise.
38608         (__libc_calloc): Likewise.
38609         (__posix_memalign): Likewise.
38611         [BZ #14996]
38612         * math/s_casinh.c: Include <float.h>.
38613         (__casinh): Do not do computation with squaring and square root
38614         for large arguments.
38615         * math/s_casinhf.c: Include <float.h>.
38616         (__casinhf): Do not do computation with squaring and square root
38617         for large arguments.
38618         * math/s_casinhl.c: Include <float.h>.
38619         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38620         (__casinhl): Do not do computation with squaring and square root
38621         for large arguments.
38622         * math/libm-test.inc (casin_test): Add more tests.
38623         (casinh_test): Likewise.
38624         * sysdeps/i386/fpu/libm-test-ulps: Update.
38625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38627 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38629         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38630         (__x86_64_raw_data_cache_size): Likewise.
38631         (__x86_64_data_cache_size_half): Likewise.
38632         (__x86_64_raw_data_cache_size_half): Likewise.
38633         (__x86_64_shared_cache_size): Likewise.
38634         (__x86_64_raw_shared_cache_size): Likewise.
38635         (__x86_64_shared_cache_size_half): Likewise.
38636         (__x86_64_raw_shared_cache_size_half): Likewise.
38637         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38638         to ...
38639         (__x86_data_cache_size): This.
38640         (__x86_64_raw_data_cache_size): Renamed to ...
38641         (__x86_raw_data_cache_size): This.
38642         (__x86_64_data_cache_size_half): Renamed to ...
38643         (__x86_data_cache_size_half): This.
38644         (__x86_64_raw_data_cache_size_half): Renamed to ...
38645         (__x86_raw_data_cache_size_half): This.
38646         (__x86_64_shared_cache_size): Renamed to ...
38647         (__x86_shared_cache_size): This.
38648         (__x86_64_raw_shared_cache_size): Renamed to ...
38649         (__x86_raw_shared_cache_size): This.
38650         (__x86_64_shared_cache_size_half): Renamed to ...
38651         (__x86_shared_cache_size_half): This.
38652         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38653         (__x86_raw_shared_cache_size_half): This.
38654         * sysdeps/x86_64/memcpy.S: Updated.
38655         * sysdeps/x86_64/memset.S: Likewise.
38656         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38657         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38658         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38660 2013-01-04  David S. Miller  <davem@davemloft.net>
38662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38664 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38666         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38667         1 to avoid redefinition warning.
38668         (__USE_GNU): Don't define.
38669         (init_signaling_nan): Protoize.
38671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38673 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38675         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38677         (__cpymn): Likewise.
38678         (norm): Remove commented code.
38679         (denorm): Likewise.
38680         (__mp_dbl): Likewise.
38681         (__inv): Likewise.
38682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38683         (__cpymn): Likewise.
38684         (norm): Remove commented code.
38685         (denorm): Likewise.
38686         (__mp_dbl): Likewise.
38687         (__inv): Likewise.
38689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38690         mp_no value for 1.0 and 2.0.
38691         (norm): Use RADIXI instead of radixi.d.
38692         (denorm): Likewise.
38693         (__mul): Use 0.0 instead of zero.d.
38694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38695         mp_no value for 1.0 and 2.0.
38696         (norm): Use RADIXI instead of radixi.d.
38697         (denorm): Likewise.
38698         (__mul): Use 0.0 instead of zero.d.
38700 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38702         [BZ #14994]
38703         * math/s_casinh.c (__casinh): Reduce finite argument to first
38704         quadrant then set signs of results at the end.
38705         * math/s_casinhf.c (__casinhf): Likewise.
38706         * math/s_casinhl.c (__casinhl): Likewise.
38707         * math/libm-test.inc (casin_test): Add more tests.
38708         (casinh_test): Likewise.
38709         * sysdeps/i386/fpu/libm-test-ulps: Update.
38710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38712 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38714         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38716         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38718         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38719         declarations.
38720         (denorm): Likewise.
38721         (__mp_dbl): Likewise.
38722         (__inv): Likewise.
38724         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38725         and adjust the header comment.
38727         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38728         variable name from declaration.
38730 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38733         Initialize COMMON_CPUID_INDEX_7 element.
38734         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38735         (CPUID_RTM): Likewise.
38736         (HAS_RTM): Likewise.
38737         (COMMON_CPUID_INDEX_7): New enum.
38739 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38741         [BZ #14981]
38742         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38743         size is zero, record memory as freed.
38745 2013-01-03  Andreas Jaeger  <aj@suse.de>
38747         * po/ia.po: Add new Interlingua translation.
38749 2012-01-03  Allan McRae  <allan@archlinux.org>
38751         * locale/programs/localedef.c: Fix description of '--posix' flag.
38753 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38755         * NEWS: Update dates in second copyright notice.
38756         * README: Update copyright dates in example.
38757         * manual/libc.texinfo: Update copyright dates.
38758         * scripts/test-installation.pl: Update copyright date in --version
38759         output.
38761         * hurd/ctty-input.c: Fix copyright notice formatting.
38762         * hurd/ctty-output.c: Likewise.
38763         * hurd/dtable.c: Likewise.
38764         * hurd/hurd-raise.c: Likewise.
38765         * hurd/hurdprio.c: Likewise.
38766         * hurd/msgportdemux.c: Likewise.
38767         * misc/sys/file.h: Likewise.
38768         * misc/sys/ioctl.h: Likewise.
38769         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38770         * sysdeps/mach/hurd/chdir.c: Likewise.
38771         * sysdeps/mach/hurd/fchdir.c: Likewise.
38772         * sysdeps/mach/hurd/rename.c: Likewise.
38773         * sysdeps/mach/hurd/rmdir.c: Likewise.
38774         * sysdeps/mach/hurd/seekdir.c: Likewise.
38775         * sysdeps/mach/hurd/setsid.c: Likewise.
38776         * sysdeps/posix/wait3.c: Likewise.
38778         * All files with FSF copyright notices: Update copyright dates
38779         using scripts/update-copyrights.
38780         * intl/plural.c: Regenerated.
38781         * locale/programs/charmap-kw.h: Likewise.
38782         * locale/programs/locfile-kw.h: Likewise.
38784 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38786         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38787         four values.
38789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38790         calculation loop and add branch prediction.
38792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38793         check access beyond bounds of m1np.
38795         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38796         MPTWO.
38797         (__inv): Remove local variable MPTWO to use the global
38798         constant.
38799         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38801         variable MPTWO.
38802         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38803         MP3HALFS static const.
38805 2013-01-01  David S. Miller  <davem@davemloft.net>
38807         * po/ca.po: Update from translation team.
38809 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38811         * scripts/update-copyrights: New file.
38812         * Makeconfig: Reformat copyright notice.
38813         * ctype/ctype.h: Likewise.
38814         * debug/swprintf_chk.c: Likewise.
38815         * elf/dl-cache.c: Likewise.
38816         * elf/dl-debug.c: Likewise.
38817         * elf/dl-object.c: Likewise.
38818         * grp/initgroups.c: Likewise.
38819         * hurd/Makefile: Likewise.
38820         * hurd/hurd/signal.h: Likewise.
38821         * hurd/hurdfault.c: Likewise.
38822         * hurd/hurdioctl.c: Likewise.
38823         * hurd/hurdlookup.c: Likewise.
38824         * hurd/intr-msg.c: Likewise.
38825         * iconv/gconv_open.c: Likewise.
38826         * libio/swprintf.c: Likewise.
38827         * locale/lc-ctype.c: Likewise.
38828         * locale/nl_langinfo.c: Likewise.
38829         * mach/Machrules: Likewise.
38830         * mach/Makefile: Likewise.
38831         * malloc/obstack.h: Likewise.
38832         * manual/Makefile: Likewise.
38833         * manual/tsort.awk: Likewise.
38834         * misc/bits/stab.def: Likewise.
38835         * nis/nis_print_group_entry.c: Likewise.
38836         * nis/nis_table.c: Likewise.
38837         * nis/nss_compat/compat-pwd.c: Likewise.
38838         * nis/nss_compat/compat-spwd.c: Likewise.
38839         * po/Makefile: Likewise.
38840         * posix/fnmatch.c: Likewise.
38841         * posix/regex.h: Likewise.
38842         * resolv/Makefile: Likewise.
38843         * resolv/nss_dns/dns-network.c: Likewise.
38844         * resolv/res_hconf.c: Likewise.
38845         * scripts/gen-sorted.awk: Likewise.
38846         * soft-fp/soft-fp.h: Likewise.
38847         * stdio-common/printf.h: Likewise.
38848         * stdlib/monetary.h: Likewise.
38849         * stdlib/random.c: Likewise.
38850         * stdlib/random_r.c: Likewise.
38851         * sysdeps/generic/Makefile: Likewise.
38852         * sysdeps/gnu/Makefile: Likewise.
38853         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38869         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38881         * sysdeps/mach/hurd/errnos.awk: Likewise.
38882         * sysdeps/mach/hurd/fork.c: Likewise.
38883         * sysdeps/mach/hurd/getcwd.c: Likewise.
38884         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38885         * sysdeps/mach/hurd/mmap.c: Likewise.
38886         * sysdeps/mach/hurd/utimes.c: Likewise.
38887         * sysdeps/mach/hurd/xmknod.c: Likewise.
38888         * sysdeps/posix/profil.c: Likewise.
38889         * sysdeps/posix/readdir_r.c: Likewise.
38890         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38891         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38892         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38893         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38894         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38895         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38896         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38897         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38899         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38901         * sysdeps/pthread/lio_listio.c: Likewise.
38902         * sysdeps/sparc/dl-procinfo.h: Likewise.
38903         * sysdeps/unix/i386/sysdep.S: Likewise.
38904         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38905         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38906         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38907         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38909         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38910         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38911         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38912         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38913         * sysdeps/wordsize-32/divdi3.c: Likewise.
38914         * time/sys/time.h: Likewise.
38915         * wcsmbs/Makefile: Likewise.
38917 2013-01-01  David S. Miller  <davem@davemloft.net>
38919         * po/fr.po: Update from translation team.
38921         * catgets/gencat.c: Update copyright year.
38922         * csu/version.c: Likewise.
38923         * debug/catchsegv.sh: Likewise.
38924         * debug/pcprofiledump.c: Likewise.
38925         * debug/xtrace.sh: Likewise.
38926         * elf/ldconfig.c: Likewise.
38927         * elf/ldd.bash.in: Likewise.
38928         * elf/pldd.c: Likewise.
38929         * elf/sotruss.ksh: Likewise.
38930         * elf/sprof.c: Likewise.
38931         * iconv/iconv_prog.c: Likewise.
38932         * iconv/iconvconfig.c: Likewise.
38933         * locale/programs/locale.c: Likewise.
38934         * locale/programs/localedef.c: Likewise.
38935         * login/programs/pt_chown.c: Likewise.
38936         * malloc/memusage.sh: Likewise.
38937         * malloc/memusagestat.c: Likewise.
38938         * malloc/mtrace.pl: Likewise.
38939         * nscd/nscd.c: Likewise.
38940         * nss/getent.c: Likewise.
38941         * nss/makedb.c: Likewise.
38942         * posix/getconf.c: Likewise.
38944 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38946         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38947         numbers.
38949 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38951         * math/bits/mathcalls.h (modf): Use __nonnull.
38953 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38955         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38956         (split): Use macro CN instead of the bare value.
38957         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38958         could be used.
38959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38960         instead of the bare value.
38961         (power1): Likewise.
38963 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38965         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38966         __ATAN_TWOM.
38967         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38969         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38970         their values.
38971         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38972         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38973         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38974         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38976 2012-12-28  Andreas Jaeger  <aj@suse.de>
38978         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38979         values are from Linux 3.7.
38981         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38982         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38984 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38986         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38987         TRUE case.
38989         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38990         (norm): Likewise.
38991         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38992         variables with preprocessor constants.
38993         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38994         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38995         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38997 2012-12-27  Bruno Haible  <bruno@clisp.org>
38999         [BZ #14317]
39000         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39001         only if needed.
39003 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39006         and use variable directly.
39007         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39009         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39010         MPONE.
39011         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39013         variable MPONE.
39014         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39015         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39016         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39017         include directive.  Remove local variable MPONE.
39018         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39019         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39020         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39022 2012-12-25  David S. Miller  <davem@davemloft.net>
39024         * version.h (RELEASE): Set to "development".
39025         (VERSION): Set to "2.17.90".
39026         * NEWS: Add 2.18 section.
39028 2012-12-21  David S. Miller  <davem@davemloft.net>
39030         * po/hr.po: Update from translation team.
39032 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39034         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39036 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39038         * NEWS:  Mention new memcpy for MIPS.
39040 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39042         * manual/contrib.texi (Contributors): Spelling correction.
39044 2012-12-15  David S. Miller  <davem@davemloft.net>
39046         * po/ru.po: Update from translation team.
39048 2012-12-13  David S. Miller  <davem@davemloft.net>
39050         * NEWS: Mention IFUNC testsuite enhancements.
39052         * po/pl.po: Update from translation team.
39053         * po/bg.po: Likewise.
39055         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39056         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39058 2012-12-11  David S. Miller  <davem@davemloft.net>
39060         * po/sv.po: Update from translation team.
39062         * po/vi.po: Update from translation team.
39064         * po/cs.po: Update from translation team.
39066         * po/de.po: Update from translation team.
39067         * po/eo.po: Likewise.
39068         * po/nl.po: Likewise.
39070 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39072         [BZ #14246]
39073         * manual/argp.texi (Argp Helper Functions): Move node to follow
39074         Argp Parsing State.
39076         [BZ #14872]
39077         * manual/conf.texi (Limits on File System Capacity): Mention if
39078         terminating null is included in the max size.
39080 2012-12-10  Andreas Jaeger  <aj@suse.de>
39082         * po/cs.po: Update from translation team.
39084 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39086         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39087         void pointer and cast to uintptr_t.
39088         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39089         path.
39090         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39091         * sysdeps/s390/s390-64/memset.S: Likewise.
39093 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39095         [BZ #14833]
39096         * menual/message.texi (Message Translation): Fix typos.
39097         (Helper programs for gettext): Likewise.
39099 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39101         [BZ #14898]
39102         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39103         Change to -1.
39105 2012-12-07  David S. Miller  <davem@davemloft.net>
39107         * po/libc.pot: Update.
39109 2012-12-07  Richard Henderson  <rth@redhat.com>
39111         [BZ #10114]
39112         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39113         normal/normal case to before the switch.
39114         (_FP_DIV): Likewise.
39116 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39117             Mike Frysinger  <vapier@gentoo.org>
39119         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39120         check for __NR_fadvise64_64.
39122 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39124         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39125         0, not just to plain "0" as a statement.
39126         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39127         with cw.
39129 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39131         * NEWS: Use sourceware.org in Bugzilla URL.
39133 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39136         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39138         * stdio-common/tst-put-error.c (do_test): Add newline to the
39139         padded test to ensure flush.
39141 2012-12-05  Jeff Law  <law@redhat.com>
39143         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39145 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39147         * README: Don't refer to ports add-on as distributed separately.
39148         Mention AArch64 in list of systems supported in the ports add-on.
39150         * LICENSES: Add more non-FSF copyright and license notices.
39152         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39153         ((unused)).
39155         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39157         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39158         10000 as width of padded output.
39160 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39162         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39164         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39165         variable LX with __attribute__ ((unused)).
39166         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39167         Likewise.
39168         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39169         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39170         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39171         with __attribute__ ((unused)).
39173 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39175         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39177 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39179         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39180         (CFLAGS-nldbl-acos.c): New variable.
39181         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39182         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39183         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39184         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39185         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39186         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39187         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39188         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39189         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39190         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39191         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39192         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39193         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39194         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39195         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39196         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39197         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39198         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39199         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39200         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39201         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39202         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39203         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39204         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39205         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39206         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39207         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39208         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39209         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39210         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39211         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39212         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39213         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39214         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39215         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39216         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39217         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39218         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39219         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39220         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39221         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39222         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39223         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39224         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39225         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39226         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39227         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39228         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39229         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39230         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39231         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39232         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39233         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39234         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39235         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39236         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39237         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39238         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39239         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39240         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39241         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39242         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39243         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39244         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39245         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39246         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39247         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39248         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39249         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39250         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39251         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39252         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39253         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39254         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39255         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39256         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39257         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39258         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39259         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39260         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39261         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39262         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39263         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39264         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39265         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39266         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39267         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39268         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39269         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39270         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39271         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39272         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39273         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39274         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39275         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39276         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39277         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39280         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39282         [BZ #14914]
39283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39284         whole low double instead of just low 47 bits when splitting values
39285         into two parts.
39287 2012-12-03  Allan McRae  <allan@archlinux.org>
39289         * manual/stdio.texi (Predefined Printf Handlers): Remove
39290         @hsep and @vsep usage.
39292 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39294         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39295         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39297 2012-12-03  Jeff Law  <law@redhat.com>
39299         * time/sys/time.h (settimeofday): Do not mark TV argument
39300         as __nonnull.
39302 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39304         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39305         when currently writing and seek to current position when not.
39306         * libio/Makefile (tests): Remove bug-fclose1.
39307         * libio/bug-fclose1.c: Delete.
39309 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39311         * manual/arith.texi (feenableexcept): Fix typo.
39312         (fedisableexcept): Likewise.
39314 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39316         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39317         second, differently-typed declaration, rather than a cast.
39319 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39321         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39322         * include/rpc/svc.h: ... here.
39324 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39326         [BZ #13013]
39327         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39328         depending n and resplen2 to catch cases where answer
39329         equals answerp2.
39331 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39333         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39334         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39336 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39340 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39342         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39344 2012-11-28  Jeff Law  <law@redhat.com>
39346         [BZ #13761]
39347         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39348         dataset_temporary.  Track alloca usage into alloca_used.
39349         If dataset is large allocate and release it via malloc/free.
39351 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39353         [BZ #14197]
39354         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39356 2012-11-28  David S. Miller  <davem@davemloft.net>
39358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39360 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39362         [BZ #14803]
39363         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39364         of pi/2 rounded to nearest to 64 bits.
39365         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39366         nearest to 64 bits.
39367         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39368         bits.
39370 2012-11-28  Jeff Law <law@redhat.com>
39371             Martin Osvald <mosvald@redhat.com>
39373         [BZ #14889]
39374         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39375         * sunrpc/svc.c: Include time.h.
39376         (__svc_accept_failed): New function.
39377         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39378         any reason other than EINTR, call __svc_accept_failed.
39379         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39380         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39382 2012-11-28  Andreas Schwab  <schwab@suse.de>
39384         * scripts/abilist.awk: Also handle indirect functions in .opd
39385         section.
39387 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39389         [BZ #13881]
39390         * sysdeps/x86/fpu/powl_helper.c: New file.
39391         * sysdeps/x86/fpu/Makefile: Likewise.
39392         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39393         (p3): New object.
39394         (__ieee754_powl): Use __powl_helper for finite arguments except
39395         integer exponents below 8.
39396         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39397         (p3): New object.
39398         (__ieee754_powl): Use __powl_helper for finite arguments except
39399         integer exponents below 8.
39400         * math/libm-test.inc (pow_test): Add more tests and enable some
39401         previously disabled tests.
39402         * sysdeps/i386/fpu/libm-test-ulps: Update.
39403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39405 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39406             Carlos O'Donell  <carlos_odonell@mentor.com>
39408         * nss/makedb.c (is_prime): Assert that input is odd and greater
39409         than 4.  Note that fact in a comment too.
39410         (next_prime): Add 4 to input.
39412 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39414         [BZ #11741]
39415         * libio/Makefile (tests): Add test case tst-fwrite-error.
39416         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39417         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39418         * libio/tst-fwrite-error.c: New test case.
39420 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39422         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39423         before casting to void *.
39424         * include/libc-internal.h (__pointer_type): New macro.
39425         (__integer_if_pointer_type_sub): Likewise.
39426         (__integer_if_pointer_type): Likewise.
39427         (cast_to_integer): Likewise.
39428         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39429         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39430         before casting to atomic64_t.
39431         (atomic_exchange_acq): Likewise.
39432         (__arch_exchange_and_add_body): Likewise.
39433         (__arch_add_body): Likewise.
39434         (atomic_add_negative): Likewise.
39435         (atomic_add_zero): Likewise.
39437 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39439         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39440         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39441         (add_fdes): Likewise.
39442         (linear_search_fdes): Likewise.
39443         (binary_search_unencoded_fdes): Likewise.
39445 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39447         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39449 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39451         * configure.in: Autodetect C++ header directories.
39452         * configure: Regenerated.
39454 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39456         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39458 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39462 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39464         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39465         LDBL_MANT_DIG == 106]: Disable some tests.
39466         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39467         Likewise.
39468         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39469         Likewise.
39471         [BZ #14871]
39472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39473         input for small inputs.  Return +/- pi/2 for large inputs.
39474         * math/libm-test.inc (atan_test): Add more tests.
39476         * sysdeps/generic/unwind-dw2-fde-glibc.c
39477         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39478         __attribute__ ((unused)).
39480         [BZ #14645]
39481         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39482         x * y if x and y are nonzero and z is zero.
39484         [BZ #14811]
39485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39486         nonzero exponents with absolute value below 0x1p-117 to +/-
39487         0x1p-117.
39489         [BZ #14869]
39490         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39491         up arguments below 2**-450, not just those below 2**-500.
39492         * math/libm-test.inc (hypot_test): Add another test.
39494         [BZ #14868]
39495         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39496         Return a+b for ratio over 2**120, not 2**60.
39497         * math/libm-test.inc (hypot_test): Add another test.
39499         * math/libm-test.inc (clog_test): Use
39500         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39501         (clog10_test): Likewise.
39503         [BZ #6778]
39504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39506 2012-11-22  Andreas Schwab  <schwab@suse.de>
39508         * sysdeps/i386/fpu/libm-test-ulps: Update.
39510 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39512         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39513         printf output with newline.
39515 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39517         [BZ #14865]
39518         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39519         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39520         -z nodlopen, -z initfirst and -z execstack support.
39521         * configure: Regenerated.
39523         * elf/elf.h (DF_1_NODIRECT): New macro.
39524         (DF_1_IGNMULDEF): Likewise.
39525         (DF_1_NOKSYMS): Likewise.
39526         (DF_1_NOHDR): Likewise.
39527         (DF_1_EDITED): Likewise.
39528         (DF_1_NORELOC): Likewise.
39529         (DF_1_SYMINTPOSE): Likewise.
39530         (DF_1_GLOBAUDIT): Likewise.
39531         (DF_1_SINGLETON): Likewise.
39532         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39533         DT_1_SUPPORTED_MASK bits.
39534         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39536 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39538         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39540 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39542         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39543         macro.
39545         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39546         (sendmmsg): Move declarations...
39547         * socket/sys/socket.h: ... here.
39548         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39549         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39550         include it from...
39551         * socket/recvmmsg.c: ... this new file.
39552         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39553         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39554         definition of __sendmmsg hidden.
39555         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39556         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39557         Move ENOSYS stub into and include it from...
39558         * socket/sendmmsg.c: ... this new file.
39559         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39560         (sysdep_routines): Move recvmmsg and sendmmsg...
39561         * socket/Makefile (routines): ... here.
39562         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39563         (GLIBC_PRIVATE): Add __sendmmsg.
39564         * include/sys/socket.h (__sendmmsg): Add declarations.
39565         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39566         sendmmsg.
39568 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39570         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39571         variable I1 with __attribute__ ((unused)).
39572         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39574 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39576         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39577         DUMMY variables with __attribute__ ((unused)).
39579         * bits/byteswap.h: Include <bits/types.h>.
39580         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39582 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39584         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39585         string_t.  Do not manually set errno.
39586         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39587         length with __strnlen.  Make sure to both set errno and return it on
39588         failure.
39590 2012-11-19  David S. Miller  <davem@davemloft.net>
39592         With help from Joseph Myers.
39593         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39594         very large arguments properly.
39595         * math/libm-test.inc (atan_test): New tests.
39596         (atan2_test): New tests.
39597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39600 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39602         [BZ #14856]
39603         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39604         Define to 3.
39606         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39607         [POSIX] (EADDRNOTAVAIL): Likewise.
39608         [POSIX] (EAFNOSUPPORT): Likewise.
39609         [POSIX] (EALREADY): Likewise.
39610         [POSIX] (ECONNABORTED): Likewise.
39611         [POSIX] (ECONNREFUSED): Likewise.
39612         [POSIX] (ECONNRESET): Likewise.
39613         [POSIX] (EDESTADDRREQ): Likewise.
39614         [POSIX] (EDQUOT): Likewise.
39615         [POSIX] (EHOSTUNREACH): Likewise.
39616         [POSIX] (EIDRM): Likewise.
39617         [POSIX] (EISCONN): Likewise.
39618         [POSIX] (ELOOP): Likewise.
39619         [POSIX] (EMULTIHOP): Likewise.
39620         [POSIX] (ENETDOWN): Likewise.
39621         [POSIX] (ENETUNREACH): Likewise.
39622         [POSIX] (ENOBUFS): Likewise.
39623         [POSIX] (ENODATA): Likewise.
39624         [POSIX] (ENOLINK): Likewise.
39625         [POSIX] (ENOMSG): Likewise.
39626         [POSIX] (ENOPROTOOPT): Likewise.
39627         [POSIX] (ENOSR): Likewise.
39628         [POSIX] (ENOSTR): Likewise.
39629         [POSIX] (ENOTCONN): Likewise.
39630         [POSIX] (ENOTSOCK): Likewise.
39631         [POSIX] (EOPNOTSUPP): Likewise.
39632         [POSIX] (EOVERFLOW): Likewise.
39633         [POSIX] (EPROTO): Likewise.
39634         [POSIX] (EPROTONOSUPPORT): Likewise.
39635         [POSIX] (EPROTOTYPE): Likewise.
39636         [POSIX] (ESTALE): Likewise.
39637         [POSIX] (ETIME): Likewise.
39638         [POSIX] (ETXTBSY): Likewise.
39639         [POSIX] (EWOULDBLOCK): Likewise.
39640         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39641         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39642         [POSIX] (SEEK_CUR): Likewise.
39643         [POSIX] (SEEK_END): Likewise.
39644         [POSIX || UNIX98] (mode_t): Do not require.
39645         [POSIX] (off_t): Likewise.
39646         [POSIX] (pid_t): Likewise.
39647         [POSIX] (sys/stat.h): Do not allow header.
39648         [POSIX] (unistd.h): Likewise.
39649         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39650         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39651         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39652         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39653         require.
39654         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39655         sigevent): Specify elements.
39656         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39657         entry.
39658         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39659         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39661         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39662         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39663         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39664         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39665         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39666         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39667         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39668         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39669         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39670         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39671         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39672         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39673         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39674         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39675         Likewise.
39676         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39677         Likewise.
39678         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39679         Likewise.
39680         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39681         Likewise.
39682         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39683         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39684         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39685         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39686         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39687         Specify lower bound on value.
39688         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39689         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39690         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39691         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39692         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39693         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39694         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39695         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39696         value.
39697         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39698         as optional.
39699         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39700         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39701         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39702         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39703         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39704         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39705         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39706         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39707         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39708         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39709         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39710         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39711         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39712         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39713         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39714         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39715         entry.
39716         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39717         optional.
39718         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39719         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39720         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39721         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39722         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39723         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39724         Likewise.
39725         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39726         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39727         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39728         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39729         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39730         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39731         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39732         as optional.
39733         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39735         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39736         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39737         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39738         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39739         specify as optional.
39740         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39741         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39742         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39743         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39744         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39745         [XPG3] (NL_LANGMAX): Likewise.
39746         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39747         [POSIX || XPG3] (NL_NMAX): Likewise.
39748         [POSIX || XPG3] (NL_SETMAX): Likewise.
39749         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39750         [XPG3] (NZERO): Likewise.
39751         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39752         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39753         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39754         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39755         (REG_ERANGE): Expect.
39756         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39757         optional-constant.
39758         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39759         Use (void) in prototype.
39760         [POSIX] (*_t): Allow.
39761         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39762         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39763         (WRDE_BADVAL): Expect.
39765         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39766         expect.
39767         [XPG3 || XPG4] (O_RSYNC): Likewise.
39768         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39769         Likewise.
39770         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39771         [XPG3 || XPG4] (sigqueue): Likewise.
39772         [XPG3 || XPG4] (sigtimedwait): Likewise.
39773         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39774         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39775         [XPG3 || XPG4] (vsnprintf): Likewise.
39776         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39777         Likewise.
39778         [XPG3 || XPG4] (blksize_t): Likewise.
39779         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39780         Likewise.
39781         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39782         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39783         [XPG3 || XPG4] (struct itimerspec): Likewise.
39784         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39785         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39786         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39787         [XPG3 || XPG4] (clockid_t): Likewise.
39788         [XPG3 || XPG4] (timer_t): Likewise.
39789         [XPG3 || XPG4] (clock_getres): Likewise.
39790         [XPG3 || XPG4] (clock_gettime): Likewise.
39791         [XPG3 || XPG4] (clock_settime): Likewise.
39792         [XPG3 || XPG4] (nanosleep): Likewise.
39793         [XPG3 || XPG4] (timer_create): Likewise.
39794         [XPG3 || XPG4] (timer_delete): Likewise.
39795         [XPG3 || XPG4] (timer_gettime): Likewise.
39796         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39797         [XPG3 || XPG4] (timer_settime): Likewise.
39798         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39799         [XPG3 || XPG4] (getlogin_r): Likewise.
39800         [XPG3 || XPG4] (pread): Likewise.
39801         [XPG3 || XPG4] (pthread_atfork): Likewise.
39802         [XPG3 || XPG4] (pwrite): Likewise.
39804         [BZ #14835]
39805         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39806         <bits/siginfo.h>.
39808 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39810         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39811         finalizing MALLSTREAM.
39813         * sysdeps/mach/hurd/syncfs.c: New file.
39815 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39817         [BZ #14719]
39818         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39819         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39820         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39821         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39822         (_nss_dns_gethostbyname4_r): Likewise.
39823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39824         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39826 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39828         [BZ #13763]
39829         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39831 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39833         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39834         * elf/cache.c (print_entry): Print ",AArch64" for
39835         FLAG_AARCH64_LIB64
39837         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39838         * elf/cache.c (print_entry): Print ",hard-float" for
39839         FLAG_ARM_LIBHF.
39841 2012-11-18  David S. Miller  <davem@davemloft.net>
39843         With help from Joseph Myers.
39844         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39845         cutoff to 2**-13.
39846         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39847         cutoff to 2**-25.
39848         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39849         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39850         small.
39851         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39852         * math/libm-test.inc (y0_test): New tests.
39853         (y1_test): New tests.
39854         * sysdeps/i386/fpu/libm-test-ulps: Update.
39855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39858 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39860         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39861         64-bit targets.
39862         * configure: Regenerated.
39864 2012-11-17  David S. Miller  <davem@davemloft.net>
39866         [BZ #14811]
39867         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39868         nonzero exponents with absolute value below 0x1p-128 to +/-
39869         0x1p-128.
39871 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39873         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39875         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39877         * posix/getconf-speclist.c: New file.
39878         * posix/posix-envs.def: Likewise.
39879         * posix/confstr.c (START_ENV_GROUP): New macro.
39880         (END_ENV_GROUP): Likewise.
39881         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39882         (KNOWN_PRESENT_ENV_STRING): Likewise.
39883         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39884         (UNKNOWN_ENVIRONMENT): Likewise.
39885         (confstr): Include posix-envs.def instead of handling
39886         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39887         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39888         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39889         (END_ENV_GROUP): Likewise.
39890         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39891         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39892         (UNKNOWN_ENVIRONMENT): Likewise.
39893         (__sysconf): Include posix-envs.def instead of handling associated
39894         cases directly here.
39895         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39896         preprocessing getconf-speclist.c rather than running getconf or
39897         generating empty file.
39899 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39901         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39903 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39905         [BZ #14672]
39906         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39908 2012-11-16  David S. Miller  <davem@davemloft.net>
39910         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39911         smaller than LDBL_EPSILON/2.0L, just return xm1.
39913 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39915         * elf/tst-array1.c (init): Set constructor priority to 1000.
39916         (fini): Set destructor priority to 1000.
39917         * elf/tst-array2dep.c: Likewise.
39919 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39921         [BZ #11741]
39922         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39923         (_IO_new_file_xsputn): Also return EOF if none of the input
39924         data was written when overflow failed.
39925         * libio/iopadn.c (_IO_padn): Likewise.
39926         * libio/iowpadn.c (_IO_wpadn): Likewise.
39927         * stdio-common/tst-put-error.c: Add copyright notice.
39928         (do_test): Add case for printing padded string.
39929         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39930         _IO_padn returned error.
39931         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39932         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39933         return EOF.
39935 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39937         * libio/libioP.h: Add comment note that the references to C++
39938         bits are now obsolete.
39940 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39942         * math/libm-test.inc (check_complex): Use asprintf.
39944 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39946         * debug/pcprofiledump.c (print_version): Update copyright year.
39947         * malloc/memusagestat.c (print_version): Likewise.
39949 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39951         [BZ #14831]
39952         * elf/Makefile (tests): Add tst-audit8.
39953         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39954         ($(objpfx)tst-audit8.out): New target.
39955         (tst-audit8-ENV): New variable.
39956         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39957         audit if l_reloc_result is NULL.
39958         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39959         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39960         * elf/tst-audit8.c: New file.
39962 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39964         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39965         * misc/Makefile (CFLAGS-select.c): Define.
39966         * posix/Makefile (CFLAGS-pause.c): Define.
39968 2012-11-13  David S. Miller  <davem@davemloft.net>
39970         * crypt/Makefile: Move test targets after toplevel Rules
39971         inclusion.  Grab any necessary sysdep routines when linking.
39972         * crypt/md5.c (md5_process_block): Remove define, we will always
39973         name it __md5_process_block.
39974         (md5_finish_ctx): Update md5_process_block call.
39975         (md5_stream): Likewise.
39976         (md5_process_bytes): Likewise.
39977         (md5_process_block): Rename to __md5_process_block and move to ...
39978         * crypt/md5-block.c: ... here.
39979         * crypt/sha256.c (sha256_process_block): Move to ...
39980         * crypt/sha256-block.c: ... here.
39981         * crypt/sha512.c (sha512_process_block): Move to ...
39982         * crypt/sha512-block.c: ... here.
39983         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39984         path.
39985         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39986         * sysdeps/sparc/sparc64/multiarch/Makefile
39987         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39988         crypt subdir.
39989         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39990         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39991         multiarch changes.
39992         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39993         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39994         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39995         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39996         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39997         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39998         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39999         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40000         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40001         file.
40002         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40003         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40004         file.
40005         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40007 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40009         * timezone/tzselect.ksh: Update from tzcode git revision
40010         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40011         * timezone/zdump.c: Likewise.
40012         * timezone/zic.c: Likewise.
40013         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40014         in TZVERSION setting, not $(PKGVERSION).
40015         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40016         REPORT_BUGS_TO settings.
40018         [BZ #14838]
40019         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40020         macro.
40022 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40024         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40025         detection to immediately after _FP_ROUND().
40026         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40027         bits are 0.
40029 2012-11-11  David S. Miller  <davem@davemloft.net>
40031         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40032         inttypes.h
40033         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40034         __close rather than their public counterparts.
40036 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40038         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40039         file.
40040         [UNIX98] (sem_timedwait): Do not expect.
40041         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40042         [XPG4 || UNIX98] (sockatmark): Do not expect.
40043         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40044         (clock_getcpuclockid): Do not expect.
40045         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40046         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40047         Do not expect.
40048         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40049         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40050         [UNIX98] (vwscanf): Likewise.
40051         [UNIX98] (vswscanf): Likewise.
40053 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40055         * timezone/version.h: Remove file.
40056         * timezone/README: Do not refer to version.h.
40057         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40058         $(objpfx)version.h.
40059         ($(objpfx)zdump.o): Likewise.
40060         ($(objpfx)version.h): New target.
40062         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40063         2012i.
40064         * timezone/README: Don't mention modification to tzselect.ksh.
40065         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40066         work on unmodified tzselect.ksh.  Substitute version numbers in
40067         tzselect.ksh.
40069         * Makefile (format-me): Remove.
40070         (INSTALL): Adjust indentation.  Use commands directly instead of
40071         using $(format-me).
40073         * aclocal.m4 (ACX_PKGVERSION): New macro.
40074         (ACX_BUGURL): Likewise.
40075         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40076         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40077         (REPORT_BUGS_TO): Likewise.
40078         * configure: Regenerated.
40079         * config.h.in (PKGVERSION): New macro.
40080         (REPORT_BUGS_TO): Likewise.
40081         * config.make.in (PKGVERSION): New variable.
40082         (PKGVERSION_TEXI): Likewise.
40083         (REPORT_BUGS_TO): Likewise.
40084         (REPORT_BUGS_TEXI): Likewise.
40085         * Makefile (format-me): Use -I$(common-objpfx)manual.
40086         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40087         ($(common-objpfx)manual/%): New target.
40088         (manual/%): Remove target.
40089         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40090         (print_version): Use PKGVERSION.
40091         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40092         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40093         and REPORT_BUGS_TO.
40094         ($(objpfx)xtrace): Likewise.
40095         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40096         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40097         (print_version): Use PKGVERSION.
40098         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40099         (do_version): Use PKGVERSION.
40100         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40101         REPORT_BUGS_TO.
40102         (common-ldd-rewrite): Likewise.
40103         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40104         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40105         (print_version): Use PKGVERSION.
40106         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40107         * elf/pldd.c (argp_program_bug_address): Remove variable.
40108         (more_help): New function.
40109         (argp): Use more_help.
40110         (print_version): Use PKGVERSION.
40111         * elf/sln.c (main): Use PKGVERSION.
40112         (usage): Use REPORT_BUGS_TO.
40113         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40114         (top level): Use PKGVERSION.
40115         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40116         (print_version): Use PKGVERSION.
40117         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40118         (print_version): Use PKGVERSION.
40119         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40120         (print_version): Use PKGVERSION.
40121         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40122         (print_version): Use PKGVERSION.
40123         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40124         (print_version): Use PKGVERSION.
40125         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40126         (print_version): Use PKGVERSION.
40127         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40128         and BUGURL.
40129         ($(objpfx)memusage): Likewise.
40130         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40131         (do_version): Use PKGVERSION.
40132         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40133         (print_version): Use PKGVERSION.
40134         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40135         ($PKGVERSION): New variable.
40136         ($REPORT_BUGS_TO): Likewise.
40137         (usage): Use $REPORT_BUGS_TO.
40138         (top level): Use $PKGVERSION.
40139         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40140         ($(objpfx)pkgvers.texi): New rule.
40141         ($(objpfx)stamp-pkgvers): Likewise.
40142         * manual/install.texi: Include pkgvers.texi.
40143         (--with-pkgversion): Document new configure option.
40144         (--with-bugurl): Likewise.
40145         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40146         than necessarily for this particular distribution.  Use
40147         REPORT_BUGS_TO for where to report bugs.
40148         * INSTALL: Regenerated.
40149         * manual/libc.texinfo: Include pkgvers.texi.
40150         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40151         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40152         (print_version): Use PKGVERSION.
40153         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40154         (print_version): Use PKGVERSION.
40155         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40156         (print_version): Use PKGVERSION.
40157         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40158         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40159         macro.
40160         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40161         (print_version): Use PKGVERSION.
40162         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40163         (print_version): Use PKGVERSION.
40164         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40165         and PKGVERSION.
40167         * timezone/checktab.awk: Update from tzcode 2012i.
40168         * timezone/ialloc.c: Likewise.
40169         * timezone/private.h: Likewise.
40170         * timezone/scheck.c: Likewise.
40171         * timezone/tzfile.h: Likewise.
40172         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40173         (TZVERSION): Hardcode tzcode version number.
40174         * timezone/zdump.c: Update from tzcode 2012i.
40175         * timezone/zic.c: Likewise.
40176         * timezone/version.h: New file.
40177         * timezone/README: Describe version.h.  Update upstream location.
40179         [BZ #14824]
40180         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40181         (mktemp): Enable declaration.
40182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40186         Likewise.
40187         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40188         Likewise.
40189         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40190         Likewise.
40191         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40192         Likewise.
40193         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40194         Likewise.
40195         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40196         Likewise.
40198         [BZ #14821]
40199         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40200         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40201         for copies of such integer values.
40202         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40203         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40205 2012-11-09  Andreas Jaeger  <aj@suse.de>
40207         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40208         definitions and declarations that are provided by
40209         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40211 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40213         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40214         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40215         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40216         definition.
40218 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40220         * elf/elf.h: Update comment before AArch64 relocations.
40222 2012-11-07  David S. Miller  <davem@davemloft.net>
40224         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40225         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40226         (__start_context): Declare.
40227         (__makecontext_ret): Delete.
40228         (__makecontext): Hook up __start_context instead of
40229         __makecontext_ret.
40230         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40231         (sysdep_routines): Add __start_context when in stdlib.
40233 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40235         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40236         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40237         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40238         hardcoded "nm".
40239         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40240         (READELF): New variable.  Use it instead of hardcoded "readelf".
40242 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40244         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40245         * sysdeps/x86/Makefile: Here.
40246         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40247         * sysdeps/x86/tst-xmmymm.sh: This.
40249 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40251         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40252         expectations.
40253         [UNIX98] (pthread_barrier_t): Do not expect.
40254         [UNIX98] (pthread_barrierattr_t): Likewise.
40255         [UNIX98] (pthread_spinlock_t): Likewise.
40256         [UNIX98] (pthread_barrier_destroy): Likewise.
40257         [UNIX98] (pthread_barrier_init): Likewise.
40258         [UNIX98] (pthread_barrier_wait): Likewise.
40259         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40260         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40261         [UNIX98] (pthread_barrierattr_init): Likewise.
40262         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40263         [UNIX98] (pthread_getcpuclockid): Likewise.
40264         [UNIX98] (pthread_mutex_timedlock): Likewise.
40265         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40266         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40267         [UNIX98] (pthread_sigmask): Likewise.
40268         [UNIX98] (pthread_spin_destroy): Likewise.
40269         [UNIX98] (pthread_spin_init): Likewise.
40270         [UNIX98] (pthread_spin_lock): Likewise.
40271         [UNIX98] (pthread_spin_trylock): Likewise.
40272         [UNIX98] (pthread_spin_unlock): Likewise.
40273         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40274         Do not expect.
40275         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40276         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40277         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40278         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40279         [XPG3 || XPG4] (pthread_key_t): Likewise.
40280         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40281         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40282         [XPG3 || XPG4] (pthread_once_t): Likewise.
40283         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40284         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40285         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40286         [XPG3 || XPG4] (pthread_t): Likewise.
40288         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40289         not expect.
40290         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40292         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40293         Change function return type to int.
40295         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40296         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40297         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40298         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40299         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40300         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40301         [!POSIX] (posix_madvise): Likewise.
40302         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40303         && !UNIX98].
40304         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40305         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40306         (mode_t): Likewise.
40307         (posix_mem_offset): Likewise.
40308         (posix_typed_mem_get_info): Likewise.
40309         (posix_typed_mem_open): Likewise.
40311         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40312         Change condition to [XOPEN2K8].
40314         * conform/conformtest.pl: Preprocess allow-header data with -x c
40315         instead of from stdin.
40316         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40317         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40318         [C99-based standards] (cerfc): Likewise.
40319         [C99-based standards] (cexp2): Likewise.
40320         [C99-based standards] (cexpm1): Likewise.
40321         [C99-based standards] (clog10): Likewise.
40322         [C99-based standards] (clog1p): Likewise.
40323         [C99-based standards] (clog2): Likewise.
40324         [C99-based standards] (clgamma): Likewise.
40325         [C99-based standards] (ctgamma): Likewise.
40326         [C99-based standards] (cerff): Likewise.
40327         [C99-based standards] (cerfcf): Likewise.
40328         [C99-based standards] (cexp2f): Likewise.
40329         [C99-based standards] (cexpm1f): Likewise.
40330         [C99-based standards] (clog10f): Likewise.
40331         [C99-based standards] (clog1pf): Likewise.
40332         [C99-based standards] (clog2f): Likewise.
40333         [C99-based standards] (clgammaf): Likewise.
40334         [C99-based standards] (ctgammaf): Likewise.
40335         [C99-based standards] (cerfl): Likewise.
40336         [C99-based standards] (cerfcl): Likewise.
40337         [C99-based standards] (cexp2l): Likewise.
40338         [C99-based standards] (cexpm1l): Likewise.
40339         [C99-based standards] (clog10l): Likewise.
40340         [C99-based standards] (clog1pl): Likewise.
40341         [C99-based standards] (clog2l): Likewise.
40342         [C99-based standards] (clgammal): Likewise.
40343         [C99-based standards] (ctgammal): Likewise.
40344         * conform/data/inttypes.h-data [C99-based standards]: Include
40345         stdint.h-data.  Remove all expectations for stdint.h contents.
40346         [C99-based standards] (PRI*): Do not allow.
40347         [C99-based standards] (SCN*): Likewise.
40348         [C99-based standards] (*_t): Likewise.
40349         [C99-based-standards] (PRId8): Expect macro.
40350         [C99-based-standards] (PRIi8): Likewise.
40351         [C99-based-standards] (PRIo8): Likewise.
40352         [C99-based-standards] (PRIu8): Likewise.
40353         [C99-based-standards] (PRIx8): Likewise.
40354         [C99-based-standards] (PRIX8): Likewise.
40355         [C99-based-standards] (SCNd8): Likewise.
40356         [C99-based-standards] (SCNi8): Likewise.
40357         [C99-based-standards] (SCNo8): Likewise.
40358         [C99-based-standards] (SCNu8): Likewise.
40359         [C99-based-standards] (SCNx8): Likewise.
40360         [C99-based-standards] (PRIdLEAST8): Likewise.
40361         [C99-based-standards] (PRIiLEAST8): Likewise.
40362         [C99-based-standards] (PRIoLEAST8): Likewise.
40363         [C99-based-standards] (PRIuLEAST8): Likewise.
40364         [C99-based-standards] (PRIxLEAST8): Likewise.
40365         [C99-based-standards] (PRIXLEAST8): Likewise.
40366         [C99-based-standards] (SCNdLEAST8): Likewise.
40367         [C99-based-standards] (SCNiLEAST8): Likewise.
40368         [C99-based-standards] (SCNoLEAST8): Likewise.
40369         [C99-based-standards] (SCNuLEAST8): Likewise.
40370         [C99-based-standards] (SCNxLEAST8): Likewise.
40371         [C99-based-standards] (PRIdFAST8): Likewise.
40372         [C99-based-standards] (PRIiFAST8): Likewise.
40373         [C99-based-standards] (PRIoFAST8): Likewise.
40374         [C99-based-standards] (PRIuFAST8): Likewise.
40375         [C99-based-standards] (PRIxFAST8): Likewise.
40376         [C99-based-standards] (PRIXFAST8): Likewise.
40377         [C99-based-standards] (SCNdFAST8): Likewise.
40378         [C99-based-standards] (SCNiFAST8): Likewise.
40379         [C99-based-standards] (SCNoFAST8): Likewise.
40380         [C99-based-standards] (SCNuFAST8): Likewise.
40381         [C99-based-standards] (SCNxFAST8): Likewise.
40382         [C99-based-standards] (PRId16): Likewise.
40383         [C99-based-standards] (PRIi16): Likewise.
40384         [C99-based-standards] (PRIo16): Likewise.
40385         [C99-based-standards] (PRIu16): Likewise.
40386         [C99-based-standards] (PRIx16): Likewise.
40387         [C99-based-standards] (PRIX16): Likewise.
40388         [C99-based-standards] (SCNd16): Likewise.
40389         [C99-based-standards] (SCNi16): Likewise.
40390         [C99-based-standards] (SCNo16): Likewise.
40391         [C99-based-standards] (SCNu16): Likewise.
40392         [C99-based-standards] (SCNx16): Likewise.
40393         [C99-based-standards] (PRIdLEAST16): Likewise.
40394         [C99-based-standards] (PRIiLEAST16): Likewise.
40395         [C99-based-standards] (PRIoLEAST16): Likewise.
40396         [C99-based-standards] (PRIuLEAST16): Likewise.
40397         [C99-based-standards] (PRIxLEAST16): Likewise.
40398         [C99-based-standards] (PRIXLEAST16): Likewise.
40399         [C99-based-standards] (SCNdLEAST16): Likewise.
40400         [C99-based-standards] (SCNiLEAST16): Likewise.
40401         [C99-based-standards] (SCNoLEAST16): Likewise.
40402         [C99-based-standards] (SCNuLEAST16): Likewise.
40403         [C99-based-standards] (SCNxLEAST16): Likewise.
40404         [C99-based-standards] (PRIdFAST16): Likewise.
40405         [C99-based-standards] (PRIiFAST16): Likewise.
40406         [C99-based-standards] (PRIoFAST16): Likewise.
40407         [C99-based-standards] (PRIuFAST16): Likewise.
40408         [C99-based-standards] (PRIxFAST16): Likewise.
40409         [C99-based-standards] (PRIXFAST16): Likewise.
40410         [C99-based-standards] (SCNdFAST16): Likewise.
40411         [C99-based-standards] (SCNiFAST16): Likewise.
40412         [C99-based-standards] (SCNoFAST16): Likewise.
40413         [C99-based-standards] (SCNuFAST16): Likewise.
40414         [C99-based-standards] (SCNxFAST16): Likewise.
40415         [C99-based-standards] (PRId32): Likewise.
40416         [C99-based-standards] (PRIi32): Likewise.
40417         [C99-based-standards] (PRIo32): Likewise.
40418         [C99-based-standards] (PRIu32): Likewise.
40419         [C99-based-standards] (PRIx32): Likewise.
40420         [C99-based-standards] (PRIX32): Likewise.
40421         [C99-based-standards] (SCNd32): Likewise.
40422         [C99-based-standards] (SCNi32): Likewise.
40423         [C99-based-standards] (SCNo32): Likewise.
40424         [C99-based-standards] (SCNu32): Likewise.
40425         [C99-based-standards] (SCNx32): Likewise.
40426         [C99-based-standards] (PRIdLEAST32): Likewise.
40427         [C99-based-standards] (PRIiLEAST32): Likewise.
40428         [C99-based-standards] (PRIoLEAST32): Likewise.
40429         [C99-based-standards] (PRIuLEAST32): Likewise.
40430         [C99-based-standards] (PRIxLEAST32): Likewise.
40431         [C99-based-standards] (PRIXLEAST32): Likewise.
40432         [C99-based-standards] (SCNdLEAST32): Likewise.
40433         [C99-based-standards] (SCNiLEAST32): Likewise.
40434         [C99-based-standards] (SCNoLEAST32): Likewise.
40435         [C99-based-standards] (SCNuLEAST32): Likewise.
40436         [C99-based-standards] (SCNxLEAST32): Likewise.
40437         [C99-based-standards] (PRIdFAST32): Likewise.
40438         [C99-based-standards] (PRIiFAST32): Likewise.
40439         [C99-based-standards] (PRIoFAST32): Likewise.
40440         [C99-based-standards] (PRIuFAST32): Likewise.
40441         [C99-based-standards] (PRIxFAST32): Likewise.
40442         [C99-based-standards] (PRIXFAST32): Likewise.
40443         [C99-based-standards] (SCNdFAST32): Likewise.
40444         [C99-based-standards] (SCNiFAST32): Likewise.
40445         [C99-based-standards] (SCNoFAST32): Likewise.
40446         [C99-based-standards] (SCNuFAST32): Likewise.
40447         [C99-based-standards] (SCNxFAST32): Likewise.
40448         [C99-based-standards] (PRId64): Likewise.
40449         [C99-based-standards] (PRIi64): Likewise.
40450         [C99-based-standards] (PRIo64): Likewise.
40451         [C99-based-standards] (PRIu64): Likewise.
40452         [C99-based-standards] (PRIx64): Likewise.
40453         [C99-based-standards] (PRIX64): Likewise.
40454         [C99-based-standards] (SCNd64): Likewise.
40455         [C99-based-standards] (SCNi64): Likewise.
40456         [C99-based-standards] (SCNo64): Likewise.
40457         [C99-based-standards] (SCNu64): Likewise.
40458         [C99-based-standards] (SCNx64): Likewise.
40459         [C99-based-standards] (PRIdLEAST64): Likewise.
40460         [C99-based-standards] (PRIiLEAST64): Likewise.
40461         [C99-based-standards] (PRIoLEAST64): Likewise.
40462         [C99-based-standards] (PRIuLEAST64): Likewise.
40463         [C99-based-standards] (PRIxLEAST64): Likewise.
40464         [C99-based-standards] (PRIXLEAST64): Likewise.
40465         [C99-based-standards] (SCNdLEAST64): Likewise.
40466         [C99-based-standards] (SCNiLEAST64): Likewise.
40467         [C99-based-standards] (SCNoLEAST64): Likewise.
40468         [C99-based-standards] (SCNuLEAST64): Likewise.
40469         [C99-based-standards] (SCNxLEAST64): Likewise.
40470         [C99-based-standards] (PRIdFAST64): Likewise.
40471         [C99-based-standards] (PRIiFAST64): Likewise.
40472         [C99-based-standards] (PRIoFAST64): Likewise.
40473         [C99-based-standards] (PRIuFAST64): Likewise.
40474         [C99-based-standards] (PRIxFAST64): Likewise.
40475         [C99-based-standards] (PRIXFAST64): Likewise.
40476         [C99-based-standards] (SCNdFAST64): Likewise.
40477         [C99-based-standards] (SCNiFAST64): Likewise.
40478         [C99-based-standards] (SCNoFAST64): Likewise.
40479         [C99-based-standards] (SCNuFAST64): Likewise.
40480         [C99-based-standards] (SCNxFAST64): Likewise.
40481         [C99-based-standards] (PRIdMAX): Likewise.
40482         [C99-based-standards] (PRIiMAX): Likewise.
40483         [C99-based-standards] (PRIoMAX): Likewise.
40484         [C99-based-standards] (PRIuMAX): Likewise.
40485         [C99-based-standards] (PRIxMAX): Likewise.
40486         [C99-based-standards] (PRIXMAX): Likewise.
40487         [C99-based-standards] (SCNdMAX): Likewise.
40488         [C99-based-standards] (SCNiMAX): Likewise.
40489         [C99-based-standards] (SCNoMAX): Likewise.
40490         [C99-based-standards] (SCNuMAX): Likewise.
40491         [C99-based-standards] (SCNxMAX): Likewise.
40492         [C99-based-standards] (PRIdPTR): Likewise.
40493         [C99-based-standards] (PRIiPTR): Likewise.
40494         [C99-based-standards] (PRIoPTR): Likewise.
40495         [C99-based-standards] (PRIuPTR): Likewise.
40496         [C99-based-standards] (PRIxPTR): Likewise.
40497         [C99-based-standards] (PRIXPTR): Likewise.
40498         [C99-based-standards] (SCNdPTR): Likewise.
40499         [C99-based-standards] (SCNiPTR): Likewise.
40500         [C99-based-standards] (SCNoPTR): Likewise.
40501         [C99-based-standards] (SCNuPTR): Likewise.
40502         [C99-based-standards] (SCNxPTR): Likewise.
40503         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40504         allow.
40505         * conform/data/stdint.h-data: Update comments to clarify
40506         requirements.
40507         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40508         type.
40509         [C99-based standards] (INT8_MAX): Likewise.
40510         [C99-based standards] (INT16_MIN): Likewise.
40511         [C99-based standards] (INT16_MAX): Likewise.
40512         [C99-based standards] (INT32_MIN): Likewise.
40513         [C99-based standards] (INT32_MAX): Likewise.
40514         [C99-based standards] (INT64_MIN): Likewise.
40515         [C99-based standards] (INT64_MAX): Likewise.
40516         [C99-based standards] (UINT8_MAX): Likewise.
40517         [C99-based standards] (UINT16_MAX): Likewise.
40518         [C99-based standards] (UINT32_MAX): Likewise.
40519         [C99-based standards] (UINT64_MAX): Likewise.
40520         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40521         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40522         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40523         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40524         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40525         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40526         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40527         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40528         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40529         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40530         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40531         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40532         [C99-based standards] (INT_FAST8_MIN): Likewise.
40533         [C99-based standards] (INT_FAST8_MAX): Likewise.
40534         [C99-based standards] (INT_FAST16_MIN): Likewise.
40535         [C99-based standards] (INT_FAST16_MAX): Likewise.
40536         [C99-based standards] (INT_FAST32_MIN): Likewise.
40537         [C99-based standards] (INT_FAST32_MAX): Likewise.
40538         [C99-based standards] (INT_FAST64_MIN): Likewise.
40539         [C99-based standards] (INT_FAST64_MAX): Likewise.
40540         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40541         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40542         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40543         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40544         [C99-based standards] (INTPTR_MIN): Likewise.
40545         [C99-based standards] (INTPTR_MAX): Likewise.
40546         [C99-based standards] (UINTPTR_MAX): Likewise.
40547         [C99-based standards] (INTMAX_MIN): Likewise.
40548         [C99-based standards] (INTMAX_MAX): Likewise.
40549         [C99-based standards] (UINTMAX_MAX): Likewise.
40550         [C99-based standards] (PTRDIFF_MIN): Likewise.
40551         [C99-based standards] (PTRDIFF_MAX): Likewise.
40552         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40553         [C99-based standards] (SIZE_MAX): Likewise.
40554         [C99-based standards] (WCHAR_MAX): Likewise.
40555         [C99-based standards] (WINT_MAX): Likewise.
40556         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40557         constraint on value.
40558         [C99-based standards] (WCHAR_MIN): Likewise.
40559         [C99-based standards] (WINT_MIN): Likewise.
40560         [C99-based standards] (*_t): Allow.
40561         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40562         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40563         Include math.h-data and complex.h-data.  Remove all expectations
40564         of math.h and complex.h contents.
40565         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40566         at end of line.
40567         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40568         (struct tm): Expect tag.
40569         [C99-based-standards] (wcstof): Expect function.
40570         [C99-based-standards] (wcstold): Likewise.
40571         [C99-based-standards] (wcstoll): Likewise.
40572         [C99-based-standards] (wcstoull): Likewise.
40573         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40574         macro-int-constant.  Specify type.
40575         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40576         constraint on value.
40577         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40578         Specify type.
40579         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40580         Specify value.
40581         [ISO C standards]: Do not allow headers.
40582         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40583         wcs[abcdefghijklmnopqrstuvwxyz]*.
40584         [ISO C standards] (*_t): Do not allow.
40585         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40586         Expect function.
40587         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40588         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40589         Specify type.
40590         [ISO C standards]: Do not allow headers.
40591         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40592         is[abcdefghijklmnopqrstuvwxyz]*.
40593         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40594         to[abcdefghijklmnopqrstuvwxyz]*.
40595         [ISO C standards] (*_t): Do not allow.
40596         * conform/data/stdalign.h-data: New file.
40597         * conform/data/stdbool.h-data: Likewise.
40598         * conform/data/stdnoreturn.h-data: Likewise.
40600 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40602         [BZ #14815]
40603         * manual/filesys.texi (Directory Entries): Typo fix.
40604         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40606 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40608         * elf/elf.h (EM_AARCH64): New macro.
40609         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40610         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40611         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40612         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40613         (R_AARCH64_TLSDESC): Likewise.
40614         (NT_ARM_TLS): Likewise.
40615         (NT_ARM_HW_BREAK): Likewise.
40616         (NT_ARM_HW_WATCH): Likewise.
40618 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40620         [BZ #14811]
40621         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40622         (__ieee754_powl): Saturate nonzero exponents with absolute value
40623         below 0x1p-79 to +/- 0x1p-79.
40624         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40625         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40626         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40627         nonzero exponents with absolute value below 0x1p-32 to +/-
40628         0x1p-32.
40629         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40630         (__ieee754_powl): Saturate nonzero exponents with absolute value
40631         below 0x1p-79 to +/- 0x1p-79.
40632         * math/libm-test.inc (pow_test): Add more tests.
40634 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40636         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40637         _dl_s390_cap_flags with kernel. Increase string length.
40638         (_dl_s390_platforms): Add z196 and zEC12.
40640 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40642         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40643         Change XOPEN21K to XOPEN2K.
40645 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40647         * string/memmove.c: Use memcpy when possible.
40649 2012-11-06  Andreas Jaeger  <aj@suse.de>
40651         * po/eo.po: Update from translation team.
40653 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40655         [BZ #14793]
40656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40657         exponent and small x and y exponents, scale x or y up.  Increase
40658         by 2 the exponent used in scaling up.
40659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40661         * math/libm-test.inc (fma_test): Add more tests.
40662         (fma_test_towardzero): Likewise.
40663         (fma_test_downward): Likewise.
40664         (fma_test_upward): Likewise.
40666 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40668         [BZ #14805]
40669         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40670         fenv_t *.
40672         [BZ #14801]
40673         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40674         namespace for names of struct fields.
40675         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40676         fenv_t fields.
40677         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40678         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40680 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40682         [BZ #3665]
40683         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40685 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40687         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40688         PTR_DEMANGLE.
40690         [BZ #5246]
40691         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40692         PTR_DEMANGLE.
40694 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40696         [BZ #14797]
40697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40698         definitely overflow as x * y not x * y + z.
40699         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40701         * math/libm-test.inc (fma_test): Add more tests.
40702         (fma_test_towardzero): Likewise.
40703         (fma_test_downward): Likewise.
40704         (fma_test_upward): Likewise.
40706 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40708         [BZ #157]
40710         * include/stub-tag.h: Remove file.
40711         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40712         '#include' of it.
40713         * manual/maint.texi (Porting): Don't reference it.
40714         * Makerules ($(objpfx)stubs): Likewise.
40715         * dirent/closedir.c: Don't include <stub-tag.h>.
40716         * dirent/dirfd.c: Likewise.
40717         * dirent/fdopendir.c: Likewise.
40718         * dirent/getdents.c: Likewise.
40719         * dirent/getdents64.c: Likewise.
40720         * dirent/opendir.c: Likewise.
40721         * dirent/readdir.c: Likewise.
40722         * dirent/readdir64.c: Likewise.
40723         * dirent/readdir64_r.c: Likewise.
40724         * dirent/readdir_r.c: Likewise.
40725         * dirent/rewinddir.c: Likewise.
40726         * dirent/seekdir.c: Likewise.
40727         * dirent/telldir.c: Likewise.
40728         * gmon/profil.c: Likewise.
40729         * grp/setgroups.c: Likewise.
40730         * inet/if_index.c: Likewise.
40731         * io/access.c: Likewise.
40732         * io/chdir.c: Likewise.
40733         * io/chmod.c: Likewise.
40734         * io/chown.c: Likewise.
40735         * io/close.c: Likewise.
40736         * io/dup.c: Likewise.
40737         * io/dup2.c: Likewise.
40738         * io/dup3.c: Likewise.
40739         * io/euidaccess.c: Likewise.
40740         * io/faccessat.c: Likewise.
40741         * io/fchdir.c: Likewise.
40742         * io/fchmod.c: Likewise.
40743         * io/fchmodat.c: Likewise.
40744         * io/fchown.c: Likewise.
40745         * io/fchownat.c: Likewise.
40746         * io/fcntl.c: Likewise.
40747         * io/flock.c: Likewise.
40748         * io/fstatfs.c: Likewise.
40749         * io/fstatfs64.c: Likewise.
40750         * io/fstatvfs.c: Likewise.
40751         * io/fstatvfs64.c: Likewise.
40752         * io/futimens.c: Likewise.
40753         * io/fxstat.c: Likewise.
40754         * io/fxstat64.c: Likewise.
40755         * io/fxstatat.c: Likewise.
40756         * io/fxstatat64.c: Likewise.
40757         * io/getcwd.c: Likewise.
40758         * io/isatty.c: Likewise.
40759         * io/lchmod.c: Likewise.
40760         * io/lchown.c: Likewise.
40761         * io/link.c: Likewise.
40762         * io/linkat.c: Likewise.
40763         * io/lseek.c: Likewise.
40764         * io/lseek64.c: Likewise.
40765         * io/lxstat64.c: Likewise.
40766         * io/mkdir.c: Likewise.
40767         * io/mkdirat.c: Likewise.
40768         * io/mkfifo.c: Likewise.
40769         * io/mkfifoat.c: Likewise.
40770         * io/open.c: Likewise.
40771         * io/open64.c: Likewise.
40772         * io/openat.c: Likewise.
40773         * io/openat64.c: Likewise.
40774         * io/pipe.c: Likewise.
40775         * io/pipe2.c: Likewise.
40776         * io/poll.c: Likewise.
40777         * io/posix_fadvise.c: Likewise.
40778         * io/posix_fadvise64.c: Likewise.
40779         * io/posix_fallocate.c: Likewise.
40780         * io/posix_fallocate64.c: Likewise.
40781         * io/read.c: Likewise.
40782         * io/readlink.c: Likewise.
40783         * io/readlinkat.c: Likewise.
40784         * io/rmdir.c: Likewise.
40785         * io/sendfile.c: Likewise.
40786         * io/sendfile64.c: Likewise.
40787         * io/statfs.c: Likewise.
40788         * io/statfs64.c: Likewise.
40789         * io/statvfs.c: Likewise.
40790         * io/statvfs64.c: Likewise.
40791         * io/symlink.c: Likewise.
40792         * io/symlinkat.c: Likewise.
40793         * io/ttyname.c: Likewise.
40794         * io/ttyname_r.c: Likewise.
40795         * io/umask.c: Likewise.
40796         * io/unlink.c: Likewise.
40797         * io/unlinkat.c: Likewise.
40798         * io/utime.c: Likewise.
40799         * io/utimensat.c: Likewise.
40800         * io/write.c: Likewise.
40801         * io/xmknod.c: Likewise.
40802         * io/xmknodat.c: Likewise.
40803         * io/xstat.c: Likewise.
40804         * io/xstat64.c: Likewise.
40805         * login/getpt.c: Likewise.
40806         * login/grantpt.c: Likewise.
40807         * login/unlockpt.c: Likewise.
40808         * math/e_acoshl.c: Likewise.
40809         * math/e_acosl.c: Likewise.
40810         * math/e_asinl.c: Likewise.
40811         * math/e_atan2l.c: Likewise.
40812         * math/e_atanhl.c: Likewise.
40813         * math/e_coshl.c: Likewise.
40814         * math/e_expl.c: Likewise.
40815         * math/e_fmodl.c: Likewise.
40816         * math/e_gammal_r.c: Likewise.
40817         * math/e_hypotl.c: Likewise.
40818         * math/e_j0l.c: Likewise.
40819         * math/e_j1l.c: Likewise.
40820         * math/e_jnl.c: Likewise.
40821         * math/e_lgammal_r.c: Likewise.
40822         * math/e_log10l.c: Likewise.
40823         * math/e_log2l.c: Likewise.
40824         * math/e_logl.c: Likewise.
40825         * math/e_powl.c: Likewise.
40826         * math/e_rem_pio2l.c: Likewise.
40827         * math/e_sinhl.c: Likewise.
40828         * math/e_sqrtl.c: Likewise.
40829         * math/fclrexcpt.c: Likewise.
40830         * math/fedisblxcpt.c: Likewise.
40831         * math/feenablxcpt.c: Likewise.
40832         * math/fegetenv.c: Likewise.
40833         * math/fegetexcept.c: Likewise.
40834         * math/fegetround.c: Likewise.
40835         * math/feholdexcpt.c: Likewise.
40836         * math/fesetenv.c: Likewise.
40837         * math/fesetround.c: Likewise.
40838         * math/feupdateenv.c: Likewise.
40839         * math/fgetexcptflg.c: Likewise.
40840         * math/fraiseexcpt.c: Likewise.
40841         * math/fsetexcptflg.c: Likewise.
40842         * math/ftestexcept.c: Likewise.
40843         * math/k_cosl.c: Likewise.
40844         * math/k_rem_pio2l.c: Likewise.
40845         * math/k_sinl.c: Likewise.
40846         * math/k_tanl.c: Likewise.
40847         * math/s_asinhl.c: Likewise.
40848         * math/s_atanl.c: Likewise.
40849         * math/s_cbrtl.c: Likewise.
40850         * math/s_erfl.c: Likewise.
40851         * math/s_expm1l.c: Likewise.
40852         * math/s_log1pl.c: Likewise.
40853         * math/s_tanhl.c: Likewise.
40854         * misc/acct.c: Likewise.
40855         * misc/brk.c: Likewise.
40856         * misc/chflags.c: Likewise.
40857         * misc/chroot.c: Likewise.
40858         * misc/fchflags.c: Likewise.
40859         * misc/fgetxattr.c: Likewise.
40860         * misc/flistxattr.c: Likewise.
40861         * misc/fremovexattr.c: Likewise.
40862         * misc/fsetxattr.c: Likewise.
40863         * misc/fsync.c: Likewise.
40864         * misc/ftruncate.c: Likewise.
40865         * misc/futimes.c: Likewise.
40866         * misc/futimesat.c: Likewise.
40867         * misc/getdomain.c: Likewise.
40868         * misc/getdtsz.c: Likewise.
40869         * misc/gethostid.c: Likewise.
40870         * misc/gethostname.c: Likewise.
40871         * misc/getloadavg.c: Likewise.
40872         * misc/getpagesize.c: Likewise.
40873         * misc/getsysstats.c: Likewise.
40874         * misc/getxattr.c: Likewise.
40875         * misc/gtty.c: Likewise.
40876         * misc/ioctl.c: Likewise.
40877         * misc/lgetxattr.c: Likewise.
40878         * misc/listxattr.c: Likewise.
40879         * misc/llistxattr.c: Likewise.
40880         * misc/lremovexattr.c: Likewise.
40881         * misc/lsetxattr.c: Likewise.
40882         * misc/lutimes.c: Likewise.
40883         * misc/madvise.c: Likewise.
40884         * misc/mincore.c: Likewise.
40885         * misc/mlock.c: Likewise.
40886         * misc/mlockall.c: Likewise.
40887         * misc/mmap.c: Likewise.
40888         * misc/mprotect.c: Likewise.
40889         * misc/msync.c: Likewise.
40890         * misc/munlock.c: Likewise.
40891         * misc/munlockall.c: Likewise.
40892         * misc/munmap.c: Likewise.
40893         * misc/preadv.c: Likewise.
40894         * misc/preadv64.c: Likewise.
40895         * misc/ptrace.c: Likewise.
40896         * misc/pwritev.c: Likewise.
40897         * misc/pwritev64.c: Likewise.
40898         * misc/readv.c: Likewise.
40899         * misc/reboot.c: Likewise.
40900         * misc/remap_file_pages.c: Likewise.
40901         * misc/removexattr.c: Likewise.
40902         * misc/revoke.c: Likewise.
40903         * misc/select.c: Likewise.
40904         * misc/setdomain.c: Likewise.
40905         * misc/setegid.c: Likewise.
40906         * misc/seteuid.c: Likewise.
40907         * misc/sethostid.c: Likewise.
40908         * misc/sethostname.c: Likewise.
40909         * misc/setregid.c: Likewise.
40910         * misc/setreuid.c: Likewise.
40911         * misc/setxattr.c: Likewise.
40912         * misc/sstk.c: Likewise.
40913         * misc/stty.c: Likewise.
40914         * misc/swapoff.c: Likewise.
40915         * misc/swapon.c: Likewise.
40916         * misc/sync.c: Likewise.
40917         * misc/syncfs.c: Likewise.
40918         * misc/syscall.c: Likewise.
40919         * misc/truncate.c: Likewise.
40920         * misc/ualarm.c: Likewise.
40921         * misc/usleep.c: Likewise.
40922         * misc/ustat.c: Likewise.
40923         * misc/utimes.c: Likewise.
40924         * misc/vhangup.c: Likewise.
40925         * misc/writev.c: Likewise.
40926         * posix/_exit.c: Likewise.
40927         * posix/alarm.c: Likewise.
40928         * posix/execve.c: Likewise.
40929         * posix/fexecve.c: Likewise.
40930         * posix/fork.c: Likewise.
40931         * posix/fpathconf.c: Likewise.
40932         * posix/getaddrinfo.c: Likewise.
40933         * posix/getegid.c: Likewise.
40934         * posix/geteuid.c: Likewise.
40935         * posix/getgid.c: Likewise.
40936         * posix/getgroups.c: Likewise.
40937         * posix/getlogin.c: Likewise.
40938         * posix/getlogin_r.c: Likewise.
40939         * posix/getpgid.c: Likewise.
40940         * posix/getpid.c: Likewise.
40941         * posix/getppid.c: Likewise.
40942         * posix/getresgid.c: Likewise.
40943         * posix/getresuid.c: Likewise.
40944         * posix/getsid.c: Likewise.
40945         * posix/getuid.c: Likewise.
40946         * posix/glob64.c: Likewise.
40947         * posix/nanosleep.c: Likewise.
40948         * posix/pathconf.c: Likewise.
40949         * posix/pause.c: Likewise.
40950         * posix/posix_madvise.c: Likewise.
40951         * posix/pread.c: Likewise.
40952         * posix/pread64.c: Likewise.
40953         * posix/pwrite.c: Likewise.
40954         * posix/pwrite64.c: Likewise.
40955         * posix/sched_getaffinity.c: Likewise.
40956         * posix/sched_getp.c: Likewise.
40957         * posix/sched_gets.c: Likewise.
40958         * posix/sched_primax.c: Likewise.
40959         * posix/sched_primin.c: Likewise.
40960         * posix/sched_rr_gi.c: Likewise.
40961         * posix/sched_setaffinity.c: Likewise.
40962         * posix/sched_setp.c: Likewise.
40963         * posix/sched_sets.c: Likewise.
40964         * posix/sched_yield.c: Likewise.
40965         * posix/setgid.c: Likewise.
40966         * posix/setlogin.c: Likewise.
40967         * posix/setpgid.c: Likewise.
40968         * posix/setresgid.c: Likewise.
40969         * posix/setresuid.c: Likewise.
40970         * posix/setsid.c: Likewise.
40971         * posix/setuid.c: Likewise.
40972         * posix/sleep.c: Likewise.
40973         * posix/spawni.c: Likewise.
40974         * posix/sysconf.c: Likewise.
40975         * posix/times.c: Likewise.
40976         * posix/wait.c: Likewise.
40977         * posix/wait3.c: Likewise.
40978         * posix/wait4.c: Likewise.
40979         * posix/waitpid.c: Likewise.
40980         * resolv/gai_sigqueue.c: Likewise.
40981         * resource/getpriority.c: Likewise.
40982         * resource/getrlimit.c: Likewise.
40983         * resource/getrusage.c: Likewise.
40984         * resource/nice.c: Likewise.
40985         * resource/setpriority.c: Likewise.
40986         * resource/setrlimit.c: Likewise.
40987         * resource/ulimit.c: Likewise.
40988         * rt/aio_cancel.c: Likewise.
40989         * rt/aio_fsync.c: Likewise.
40990         * rt/aio_read.c: Likewise.
40991         * rt/aio_sigqueue.c: Likewise.
40992         * rt/aio_suspend.c: Likewise.
40993         * rt/aio_write.c: Likewise.
40994         * rt/clock_getres.c: Likewise.
40995         * rt/clock_gettime.c: Likewise.
40996         * rt/clock_nanosleep.c: Likewise.
40997         * rt/clock_settime.c: Likewise.
40998         * rt/lio_listio.c: Likewise.
40999         * rt/mq_close.c: Likewise.
41000         * rt/mq_getattr.c: Likewise.
41001         * rt/mq_notify.c: Likewise.
41002         * rt/mq_open.c: Likewise.
41003         * rt/mq_receive.c: Likewise.
41004         * rt/mq_send.c: Likewise.
41005         * rt/mq_setattr.c: Likewise.
41006         * rt/mq_timedreceive.c: Likewise.
41007         * rt/mq_timedsend.c: Likewise.
41008         * rt/mq_unlink.c: Likewise.
41009         * rt/shm_open.c: Likewise.
41010         * rt/shm_unlink.c: Likewise.
41011         * rt/timer_create.c: Likewise.
41012         * rt/timer_delete.c: Likewise.
41013         * rt/timer_getoverr.c: Likewise.
41014         * rt/timer_gettime.c: Likewise.
41015         * rt/timer_settime.c: Likewise.
41016         * setjmp/__longjmp.c: Likewise.
41017         * setjmp/setjmp.c: Likewise.
41018         * signal/kill.c: Likewise.
41019         * signal/killpg.c: Likewise.
41020         * signal/raise.c: Likewise.
41021         * signal/sigaction.c: Likewise.
41022         * signal/sigaltstack.c: Likewise.
41023         * signal/sigblock.c: Likewise.
41024         * signal/sigignore.c: Likewise.
41025         * signal/sigintr.c: Likewise.
41026         * signal/signal.c: Likewise.
41027         * signal/sigpause.c: Likewise.
41028         * signal/sigpending.c: Likewise.
41029         * signal/sigqueue.c: Likewise.
41030         * signal/sigreturn.c: Likewise.
41031         * signal/sigset.c: Likewise.
41032         * signal/sigsetmask.c: Likewise.
41033         * signal/sigstack.c: Likewise.
41034         * signal/sigsuspend.c: Likewise.
41035         * signal/sigtimedwait.c: Likewise.
41036         * signal/sigvec.c: Likewise.
41037         * signal/sigwait.c: Likewise.
41038         * signal/sigwaitinfo.c: Likewise.
41039         * signal/sysv_signal.c: Likewise.
41040         * socket/accept.c: Likewise.
41041         * socket/accept4.c: Likewise.
41042         * socket/bind.c: Likewise.
41043         * socket/connect.c: Likewise.
41044         * socket/getpeername.c: Likewise.
41045         * socket/getsockname.c: Likewise.
41046         * socket/getsockopt.c: Likewise.
41047         * socket/isfdtype.c: Likewise.
41048         * socket/listen.c: Likewise.
41049         * socket/recv.c: Likewise.
41050         * socket/recvfrom.c: Likewise.
41051         * socket/recvmsg.c: Likewise.
41052         * socket/send.c: Likewise.
41053         * socket/sendmsg.c: Likewise.
41054         * socket/sendto.c: Likewise.
41055         * socket/setsockopt.c: Likewise.
41056         * socket/shutdown.c: Likewise.
41057         * socket/sockatmark.c: Likewise.
41058         * socket/socket.c: Likewise.
41059         * socket/socketpair.c: Likewise.
41060         * stdio-common/ctermid.c: Likewise.
41061         * stdio-common/cuserid.c: Likewise.
41062         * stdio-common/remove.c: Likewise.
41063         * stdio-common/rename.c: Likewise.
41064         * stdio-common/renameat.c: Likewise.
41065         * stdio-common/tempname.c: Likewise.
41066         * stdlib/getcontext.c: Likewise.
41067         * stdlib/makecontext.c: Likewise.
41068         * stdlib/setcontext.c: Likewise.
41069         * stdlib/swapcontext.c: Likewise.
41070         * stdlib/system.c: Likewise.
41071         * streams/fattach.c: Likewise.
41072         * streams/fdetach.c: Likewise.
41073         * streams/getmsg.c: Likewise.
41074         * streams/getpmsg.c: Likewise.
41075         * streams/putmsg.c: Likewise.
41076         * streams/putpmsg.c: Likewise.
41077         * sysdeps/unix/bsd/getpt.c: Likewise.
41078         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41079         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41080         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41082         Likewise.
41083         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41084         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41085         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41086         * sysvipc/msgctl.c: Likewise.
41087         * sysvipc/msgget.c: Likewise.
41088         * sysvipc/msgrcv.c: Likewise.
41089         * sysvipc/msgsnd.c: Likewise.
41090         * sysvipc/semctl.c: Likewise.
41091         * sysvipc/semget.c: Likewise.
41092         * sysvipc/semop.c: Likewise.
41093         * sysvipc/semtimedop.c: Likewise.
41094         * sysvipc/shmat.c: Likewise.
41095         * sysvipc/shmctl.c: Likewise.
41096         * sysvipc/shmdt.c: Likewise.
41097         * sysvipc/shmget.c: Likewise.
41098         * termios/tcdrain.c: Likewise.
41099         * termios/tcflow.c: Likewise.
41100         * termios/tcflush.c: Likewise.
41101         * termios/tcgetattr.c: Likewise.
41102         * termios/tcgetpgrp.c: Likewise.
41103         * termios/tcsendbrk.c: Likewise.
41104         * termios/tcsetattr.c: Likewise.
41105         * termios/tcsetpgrp.c: Likewise.
41106         * time/adjtime.c: Likewise.
41107         * time/clock.c: Likewise.
41108         * time/getitimer.c: Likewise.
41109         * time/gettimeofday.c: Likewise.
41110         * time/setitimer.c: Likewise.
41111         * time/settimeofday.c: Likewise.
41112         * time/stime.c: Likewise.
41113         * time/time.c: Likewise.
41115 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41117         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41118         /usr/old/bin.
41120         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41121         instead of spaces.
41122         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41124 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41126         [BZ #14796]
41127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41128         FE_TONEAREST before applying Dekker multiplication and Knuth
41129         addition.  Clear inexact exceptions and check for exact zero
41130         results afterwards.
41131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41134         * math/libm-test.inc (fma_test): Add more tests.
41135         (fma_test_towardzero): Likewise.
41136         (fma_test_downward): Likewise.
41137         (fma_test_upward): Likewise.
41138         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41139         function.
41140         (libc_fesetround): New macro.
41141         (libc_fesetroundf): Likewise.
41142         (libc_fesetroundl): Likewise.
41143         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41144         function.
41145         (libc_fesetround_387): Likewise.
41146         (libc_fesetroundf): New macro.
41147         (libc_fesetround): Likewise.
41148         (libc_fesetroundl): Likewise.
41149         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41150         function.
41151         (libc_fesetroundf): New macro.
41152         (libc_fesetround): Likewise.
41153         (libc_fesetroundl): Likewise.
41154         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41155         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41156         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41157         libm_hidden_ver.
41158         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41159         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41160         libm_hidden_def.
41161         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41162         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41163         libm_hidden_ver.
41164         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41165         libm_hidden_def.
41167         [BZ #3439]
41168         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41169         integer constant usable in #if and use that to give value to enum
41170         constant.
41171         (FE_DIVBYZERO): Likewise.
41172         (FE_UNDERFLOW): Likewise.
41173         (FE_OVERFLOW): Likewise.
41174         (FE_INVALID): Likewise.
41175         (FE_INVALID_SNAN): Likewise.
41176         (FE_INVALID_ISI): Likewise.
41177         (FE_INVALID_IDI): Likewise.
41178         (FE_INVALID_ZDZ): Likewise.
41179         (FE_INVALID_IMZ): Likewise.
41180         (FE_INVALID_COMPARE): Likewise.
41181         (FE_INVALID_SOFTWARE): Likewise.
41182         (FE_INVALID_SQRT): Likewise.
41183         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41184         (FE_TONEAREST): Likewise.
41185         (FE_TOWARDZERO): Likewise.
41186         (FE_UPWARD): Likewise.
41187         (FE_DOWNWARD): Likewise.
41188         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41189         (FE_DIVBYZERO): Likewise.
41190         (FE_OVERFLOW): Likewise.
41191         (FE_UNDERFLOW): Likewise.
41192         (FE_INEXACT): Likewise.
41193         (FE_TONEAREST): Likewise.
41194         (FE_DOWNWARD): Likewise.
41195         (FE_UPWARD): Likewise.
41196         (FE_TOWARDZERO): Likewise.
41197         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41198         (FE_UNDERFLOW): Likewise.
41199         (FE_OVERFLOW): Likewise.
41200         (FE_DIVBYZERO): Likewise.
41201         (FE_INVALID): Likewise.
41202         (FE_TONEAREST): Likewise.
41203         (FE_TOWARDZERO): Likewise.
41204         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41205         (FE_OVERFLOW): Likewise.
41206         (FE_UNDERFLOW): Likewise.
41207         (FE_DIVBYZERO): Likewise.
41208         (FE_INEXACT): Likewise.
41209         (FE_TONEAREST): Likewise.
41210         (FE_TOWARDZERO): Likewise.
41211         (FE_UPWARD): Likewise.
41212         (FE_DOWNWARD): Likewise.
41213         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41214         (FE_DIVBYZERO): Likewise.
41215         (FE_OVERFLOW): Likewise.
41216         (FE_UNDERFLOW): Likewise.
41217         (FE_INEXACT): Likewise.
41218         (FE_TONEAREST): Likewise.
41219         (FE_DOWNWARD): Likewise.
41220         (FE_UPWARD): Likewise.
41221         (FE_TOWARDZERO): Likewise.
41223 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41225         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41227 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41229         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41230         commands.  Quote $PWD.
41231         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41232         -x" by "export".
41233         (remove_newlines): Remove.
41235 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41237         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41238         * stdlib/stdlib.h (atof): Moved to ...
41239         * include/bits/stdlib-float.h: Here.  New file.
41240         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41241         * stdlib/bits/stdlib-float.h: New file.
41242         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41243         -mno-sse -mno-mmx.
41244         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41245         <xmmintrin.h>.
41247 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41249         * conform/conformtest.pl (@headers): Add fenv.h.
41250         * conform/data/fenv.h-data: New file.
41251         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41252         include of <math/fenv.h>.
41254         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41255         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41256         && !UNIX98].  Enables tests for XOPEN2K8.
41257         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41258         POSIX2008]: Likewise.
41260         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41261         (struct rusage): Do not expect type or its members.
41263         [BZ #3439]
41264         * math/math.h (FP_NAN): Define macro to integer constant usable in
41265         #if and use that to give value to enum constant.
41266         (FP_INFINITE): Likewise.
41267         (FP_ZERO): Likewise.
41268         (FP_SUBNORMAL): Likewise.
41269         (FP_NORMAL): Likewise.
41271 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41273         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41274         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41275         arguments.
41277 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41279         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41280         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41281         autoconf-time if not.
41282         * configure.in: Remove AC_PREREQ.
41284 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41286         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41287         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41288         of the internal implementation.
41290 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41292         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41293         except include of <misc/sys/syslog.h>.
41295 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41298         function returns with a NULL context exit with zero.
41300 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41302         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41304 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41306         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41307         (run_program_cmd): This.
41308         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41309         (tst_langinfo): New variable.  Use it.
41311 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41313         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41314         floating point opcodes.
41316 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41318         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41319         variable.
41321         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41323         * sysdeps/mach/hurd/powerpc: Remove directory.
41324         * sysdeps/mach/powerpc: Likewise.
41326 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41328         * scripts/check-local-headers.sh: Ignore c++ headers.
41330 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41332         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41333         __libc_cleanup_region_start argument.
41335 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41337         [BZ #14784]
41338         [BZ #14785]
41339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41340         x * y using scaling, not as x * y + z.
41341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41343         * math/libm-test.inc (fma_test): Add more tests.
41344         (fma_test_towardzero): Likewise.
41345         (fma_test_downward): Likewise.
41346         (fma_test_upward): Likewise.
41348 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41350         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41352 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41354         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41355         New variable.
41357 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41359         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41361 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41364         Fix sort order.
41365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41366         Likewise.
41368 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41371         Fix the order of the list for glibc 2.17.
41372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41373         Likewise.
41375 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41379 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41381         [BZ #14610]
41382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41383         for low part of x being zero before using __atanl (y).
41384         * math/libm-test.inc (atan2_test): Add another test.
41386         * manual/install.texi (Configuring and compiling): Document
41387         general use of test-wrapper and test-wrapper-env.
41388         * INSTALL: Regenerated.
41390         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41391         (__fma): Do not extract and scale down low bits on after-rounding
41392         systems when result rounded to normal precision would have normal
41393         exponent.
41394         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41395         (__fmal): Do not extract and scale down low bits on after-rounding
41396         systems when result rounded to normal precision would have normal
41397         exponent.
41398         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41399         (__fmal): Do not extract and scale down low bits on after-rounding
41400         systems when result rounded to normal precision would have normal
41401         exponent.
41402         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41403         macro.
41404         (fma_test): Add more tests.
41405         (fma_test_towardzero): Likewise.
41406         (fma_test_downward): Likewise.
41407         (fma_test_upward): Likewise.
41409 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41411         * sysdeps/i386/tininess.h: Renamed to ...
41412         * sysdeps/x86/tininess.h: This.
41413         * sysdeps/x86_64/tininess.h: Removed.
41415 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41417         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41418         input.  Use $(build-program-cmd).
41419         ($(objpfx)tst-array1-static.out): Likewise.
41420         ($(objpfx)tst-array2.out): Likewise.
41421         ($(objpfx)tst-array3.out): Likewise.
41422         ($(objpfx)tst-array4.out): Likewise.
41423         ($(objpfx)tst-array5.out): Likewise.
41424         ($(objpfx)tst-array5-static.out): Likewise.
41426 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41428         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41429         if defined.
41431         * nss/nsswitch.h (nss_interface_function): Provide new
41432         macro for use with NSS functions.
41433         * grp/initgroups.c: Use new macro.
41434         * nss/getXXbyYY.c: Likewise.
41435         * nss/getXXbyYY_r.c: Likewise.
41436         * nss/getXXent.c: Likewise.
41437         * nss/getXXent_r.c: Likewise.
41438         * sysdeps/posix/getaddrinfo.c: Likewise.
41440 2012-10-30  Andreas Jaeger  <aj@suse.de>
41442         * po/ru.po: Update Russion translation from translation project.
41444 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41446         [BZ #14152]
41447         [BZ #14783]
41448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41449         result and shift together with sticky bit instead of replicating
41450         round-to-nearest rounding.
41451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41453         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41454         missing underflow exceptions.
41455         (fma_test_towardzero): Add more tests.
41456         (fma_test_downward): Likewise.
41457         (fma_test_upward): Likewise.
41459         [BZ #14047]
41460         * sysdeps/generic/tininess.h: New file.
41461         * sysdeps/i386/tininess.h: Likewise.
41462         * sysdeps/sh/tininess.h: Likewise.
41463         * sysdeps/x86_64/tininess.h: Likewise.
41464         * stdlib/tst-strtod-underflow.c: Likewise.
41465         * stdlib/tst-tininess.c: Likewise.
41466         * stdlib/strtod_l.c: Include <tininess.h>.
41467         (round_and_return): Do not set errno for exact underflow cases.
41468         Force an underflow exception when setting errno for underflow.
41469         Determine underflow based on rounding to normal precision if
41470         TININESS_AFTER_ROUNDING.
41471         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41472         ERANGE for exact underflow cases.
41473         * stdlib/Makefile (tests): Add tst-tininess and
41474         tst-strtod-underflow.
41475         ($(objpfx)tst-tininess): Use $(link-libm).
41476         ($(objpfx)tst-strtod-underflow): Likewise.
41478 2012-10-30  Andreas Jaeger  <aj@suse.de>
41480         [BZ#14767]
41481         * elf/Makefile (tests): Remove conditional for have-initfini-array
41482         since this is now always required and the variable does not exist
41483         anymore.
41484         (tests-static): Likewise.
41485         (modules-names): Likewise.
41487         * po/eo.po: Add Esperanto translation from translation project.
41489         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41490         merged with constructor/destructor.
41491         (init_array): Likewise.
41492         * elf/tst-array2dep.c (fini_array): Likewise.
41493         (init_array): Likewise.
41495 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41497         * manual/message.texi: Delete @cartouche tags.
41499 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41501         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41502         EOPNOTSUPP.
41503         * sysdeps/mach/hurd/fsync.c: Likewise.
41505         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41506         [_POSIX_REALTIME_SIGNALS]: Change condition to
41507         [_POSIX_REALTIME_SIGNALS > 0].
41509 2012-10-27  Andreas Jaeger  <aj@suse.de>
41511         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41512         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41514         [__WORDSIZE != 64]: Likewise.
41516 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41518         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41519         *  iconvdata/tst-tables.sh: Likewise.
41521 2012-10-25  David S. Miller  <davem@davemloft.net>
41523         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41524         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41525         of strtoull.
41527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41528         ifunc-impl-list.c
41529         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41530         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41531         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41532         file.
41534 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41537         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41538         __getdirentries.
41540 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41541             Jim Blandy  <jimb@codesourcery.com>
41543         * scripts/cross-test-ssh.sh: New file.
41544         * manual/install.texi (Configuring and compiling): Document use of
41545         cross-test-ssh.sh.
41546         * INSTALL: Regenerated.
41548 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41550         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41551         EOPNOTSUPP.
41553 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41555         * Makeconfig (run-program-prefix): Fix comment.
41557 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41558             Jim Blandy  <jimb@codesourcery.com>
41560         * Makeconfig (test-wrapper): New variable,
41561         (test-wrapper-env): Likewise.
41562         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41563         (run-built-tests): Define to yes.
41564         (run-program-prefix): Use $(test-wrapper).
41565         (built-program-cmd): Likewise.
41566         * Rules (make-test-out): Use $(test-wrapper-env) and
41567         $(host-built-program-cmd).
41568         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41569         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41570         tst-pathopt.sh.
41571         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41572         $(test-wrapper-env) to tst-rtld-load-self.sh.
41573         ($(objpfx)order2.out): Use $(test-wrapper).
41574         ($(objpfx)tst-initorder.out): Likewise.
41575         ($(objpfx)tst-initorder2.out): Likewise.
41576         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41577         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41578         (test_wrapper_env): New variable.  Use it to run ld.so.
41579         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41580         Use it to run ld.so.
41581         (test_wrapper_env): Likewise.
41582         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41583         $(test-wrapper) to run-iconv-test.sh.
41584         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41585         (ICONV): Use $test_wrapper.
41586         * posix/Makefile ($(objpfx)globtest.out): Pass
41587         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41588         globtest.sh, not $(run-program-prefix).
41589         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41590         (test_wrapper): Likewise.
41591         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41592         set together with run_via_rtld_prefix.
41593         (run_program_prefix): Define in terms of test_wrapper and
41594         run_via_rtld_prefix.
41596 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41598         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41599         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41600         Targets removed.
41602         [BZ #14743]
41603         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41604         Declare __clock_getres, __clock_gettime, __clock_settime,
41605         __clock_nanosleep, and __clock_getcpuclockid.
41606         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41607         Remove librt_hidden_def (clock_gettime).
41608         * sysdeps/unix/clock_gettime.c: Likewise.
41609         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41610         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41611         * rt/clock_getres.c: Define __clock_getres as an alias.
41612         * sysdeps/posix/clock_getres.c: Likewise.
41613         * rt/clock_settime.c: Define __clock_settime as an alias.
41614         * sysdeps/unix/clock_settime.c: Likewise.
41615         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41616         * sysdeps/unix/clock_nanosleep.c: Likewise.
41617         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41618         * rt/clock-compat.c: New file.
41619         * rt/Makefile (librt-routines): Add clock-compat and move
41620         $(clock-routines) to ...
41621         (routines): ... here, new variable.
41622         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41623         Don't add get_clockfreq here.
41624         * rt/Versions (libc: GLIBC_2.17): New version set.
41625         Add clock_* symbols here.
41626         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41627         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41628         (GLIBC_2.17): Add clock_* symbols.
41629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41631         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41633         Likewise.
41634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41635         Likewise.
41636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41640         * NEWS: Mention the move.
41642         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41643         Use __open, __read, __close rather than their public counterparts.
41644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41645         (__get_clockfreq_via_cpuinfo): Likewise.
41646         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41647         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41649         * config.h.in (HAVE_IFUNC): New #undef.
41650         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41651         was successful.
41652         * configure: Regenerated.
41654 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41656         * configure.in: Move READELF check to start of file.
41657         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41658         libc_cv_asm_gnu_indirect_function in the process.
41659         * configure: Regenerated.
41661 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41663         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41664         send the output to /dev/null.
41665         (libc_cv_cc_with_libunwind): Likewise.
41666         (libc_cv_as_noexecstack): Likewise.
41667         * configure: Regenerate.
41669 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41671         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41673         * posix/globtest.sh (TMPDIR): Do not set.
41674         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41675         (testout): Likewise.
41677 2012-10-24  Andreas Jaeger  <aj@suse.de>
41679         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41680         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41681         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41682         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41683         posix_fadvise64, posix_fallocate64.
41685         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41686         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41687         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41688         Likewise.
41689         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41690         Likewise.
41691         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41694         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41695         <bits/fcntl-linux.h>.
41696         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41699         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41700         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41701         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41702         [__WORDSIZE != 64]: Likewise.
41704 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41706         * Makeconfig (run-built-tests): New variable.
41707         * Rules [$(cross-compiling) = yes]: Change condition to
41708         [$(run-built-tests) = no].
41709         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41710         to [$(run-built-tests) = yes].
41711         * elf/Makefile [$(cross-compiling) = no]: Likewise
41712         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41713         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41714         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41715         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41716         * io/Makefile [$(cross-compiling) = no]: Likewise.
41717         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41718         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41719         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41720         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41721         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41722         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41723         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41724         * string/Makefile [$(cross-compiling) = no]: Likewise.
41726         * posix/Makefile ($(objpfx)globtest.out): Pass
41727         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41728         $(rtld-installed-name).
41729         * posix/globtest.sh (elf_objpfx): Remove variable.
41730         (rtld_installed_name): Likewise.
41731         (library_path): Likewise.
41732         (run_program_prefix): New variable.  Use for running globtest
41733         binary.
41735 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41736             Joseph Myers  <joseph@codesourcery.com>
41738         * Makeconfig (host-built-program-cmd): New variable.
41739         * elf/Makefile (tst-stackguard1-ARGS): Use
41740         $(host-built-program-cmd).
41741         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41742         (tst-spawn-ARGS): Likewise.
41743         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41745 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41746             Jim Blandy  <jimb@codesourcery.com>
41748         * Makeconfig (run-via-rtld-prefix): New variable.
41749         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41750         (built-program-cmd): Likewise.
41752 2012-10-22  Andreas Jaeger  <aj@suse.de>
41754         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41755         __O_RSYNC if it exists, otherwise to O_SYNC.
41757 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41758             Joseph Myers  <joseph@codesourcery.com>
41760         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41761         /dev/null.
41762         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41763         from /dev/null
41764         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41765         /dev/null.
41767 2012-10-22  Andreas Jaeger  <aj@suse.de>
41769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41770         Define always.
41771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41774         bits/fcntl-linux.h.
41776         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41777         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41779         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41780         to __O_LARGEFILE.
41781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41782         to __O_LARGEFILE.
41784 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41785             Joseph Myers  <joseph@codesourcery.com>
41787         * config.make.in (NM): New variable.
41789 2012-10-21  Andreas Jaeger  <aj@suse.de>
41791         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41792         definitions and declarations that are provided by
41793         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41795 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41797         [BZ #14683]
41798         * elf/Makefile (tests-static): Add tst-leaks1-static.
41799         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41800         ($(objpfx)tst-leaks1-static): New rule.
41801         ($(objpfx)tst-leaks1-static-mem): Likewise.
41802         (tst-leaks1-static-ENV): New macro.
41803         * elf/dl-open.c (dl_open_worker): Check the main application
41804         only if SHARED is defined.
41805         * elf/tst-leaks1-static.c: New file.
41807 2012-10-20  Andreas Jaeger  <aj@suse.de>
41809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41810         generic values for Linux.
41811         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41812         and declarations that are provided by <bits/fcntl-linux.h> and
41813         include <bits/fcntl-linux.h>.
41814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41815         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41817 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41819         * io/fcntl.h: Move include of <bits/types.h> to the top and
41820         include it unconditionally.
41822 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41824         * wcsmbs/Makefile (tests-ifunc): New variable.
41825         (tests): Add $(tests-ifunc).
41826         * wcsmbs/test-wcschr-ifunc.c: New file.
41827         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41828         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41829         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41830         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41831         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41833         * string/Makefile (tests-ifunc): New variable.
41834         (tests): Add $(tests-ifunc).
41835         * string/test-memccpy.c (TEST_NAME): New macro.
41836         * string/test-memchr.c (TEST_NAME): Likewise.
41837         * string/test-memcmp.c (TEST_NAME): Likewise.
41838         * string/test-memcpy.c (TEST_NAME): Likewise.
41839         * string/test-memmem.c (TEST_NAME): Likewise.
41840         * string/test-memmove.c (TEST_NAME): Likewise.
41841         * string/test-memset.c (TEST_NAME): Likewise.
41842         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41843         * string/test-stpcpy.c (TEST_NAME): Likewise.
41844         * string/test-stpncpy.c (TEST_NAME): Likewise.
41845         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41846         * string/test-strcasestr.c (TEST_NAME): Likewise.
41847         * string/test-strcat.c (TEST_NAME): Likewise.
41848         * string/test-strchr.c (TEST_NAME): Likewise.
41849         * string/test-strcmp.c(TEST_NAME): Likewise.
41850         * string/test-strcpy.c (TEST_NAME): Likewise.
41851         * string/test-strcspn.c (TEST_NAME): Likewise.
41852         * string/test-strlen.c (TEST_NAME): Likewise.
41853         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41854         * string/test-strncmp.c (TEST_NAME): Likewise.
41855         * string/test-strncpy.c (TEST_NAME): Likewise.
41856         * string/test-strnlen.c (TEST_NAME): Likewise.
41857         * string/test-strpbrk.c (TEST_NAME): Likewise.
41858         * string/test-strrchr.c (TEST_NAME): Likewise.
41859         * string/test-strspn.c (TEST_NAME): Likewise.
41860         * string/test-strstr.c (TEST_NAME): Likewise.
41861         * string/test-bcopy-ifunc.c: New file.
41862         * string/test-bzero-ifunc.c: Likewise.
41863         * string/test-memccpy-ifunc.c: Likewise.
41864         * string/test-memchr-ifunc.c: Likewise.
41865         * string/test-memcmp-ifunc.c: Likewise.
41866         * string/test-memcpy-ifunc.c: Likewise.
41867         * string/test-memmem-ifunc.c: Likewise.
41868         * string/test-memmove-ifunc.c: Likewise.
41869         * string/test-mempcpy-ifunc.c: Likewise.
41870         * string/test-memset-ifunc.c: Likewise.
41871         * string/test-rawmemchr-ifunc.c: Likewise.
41872         * string/test-stpcpy-ifunc.c: Likewise.
41873         * string/test-stpncpy-ifunc.c: Likewise.
41874         * string/test-strcasecmp-ifunc.c: Likewise.
41875         * string/test-strcasestr-ifunc.c: Likewise.
41876         * string/test-strcat-ifunc.c: Likewise.
41877         * string/test-strchr-ifunc.c: Likewise.
41878         * string/test-strchrnul-ifunc.c: Likewise.
41879         * string/test-strcmp-ifunc.c: Likewise.
41880         * string/test-strcpy-ifunc.c: Likewise.
41881         * string/test-strcspn-ifunc.c: Likewise.
41882         * string/test-strlen-ifunc.c: Likewise.
41883         * string/test-strncasecmp-ifunc.c: Likewise.
41884         * string/test-strncat-ifunc.c: Likewise.
41885         * string/test-strncmp-ifunc.c: Likewise.
41886         * string/test-strncpy-ifunc.c: Likewise.
41887         * string/test-strnlen-ifunc.c: Likewise.
41888         * string/test-strpbrk-ifunc.c: Likewise.
41889         * string/test-strrchr-ifunc.c: Likewise.
41890         * string/test-strspn-ifunc.c: Likewise.
41891         * string/test-strstr-ifunc.c: Likewise.
41893         * debug/Makefile (tests-ifunc): New variable.
41894         (tests): Add $(tests-ifunc).
41895         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41896         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41897         * debug/test-stpcpy_chk-ifunc.c: New file.
41898         * debug/test-strcpy_chk-ifunc.c: Likewise.
41900 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41902         [BZ #13601]
41903         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41904         header is not read in.
41906 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41908         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41909         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41910         directly.  Pass built executable to script as
41911         $(built-program-cmd).
41912         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41913         $testprogram without using LD_LIBRARY_PATH and $ldso.
41915         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41916         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41917         $(rtld-installed-name).
41918         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41919         (rtld_installed_name): Likewise.
41920         (library_path): Likewise.
41921         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41922         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41923         $(run-program-prefix) to tst-tables.sh.
41924         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41925         it to run tst-table-from and tst-table-to.
41926         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41927         Pass it to tst-table.sh.
41928         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41929         $(run-program-prefix) to tst-gettext.sh.
41930         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41931         tst-translit.sh.
41932         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41933         tst-gettext2.sh.
41934         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41935         to run tst-gettext.
41936         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41937         to run tst-gettext2.
41938         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41939         to run tst-translit.
41940         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41941         $(run-program-prefix) to tst-mtrace.sh.
41942         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41943         to run tst-mtrace.
41944         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41945         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41946         $(rtld-installed-name).
41947         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41948         (rtld_installed_name): Likewise.
41949         (run_program_prefix): New variable.  Use it to run wordexp-test.
41951         * Makeconfig (ARCH): Remove all definitions.
41952         (machine): Likewise.
41953         [ARCH]: Remove conditional code.
41954         [!objdir]: Give error.
41955         [!objdir] (objpfx): Remove.
41956         [!objdir] (common-objpfx): Likewise.
41957         [!objdir] (common-objdir): Likewise.
41958         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41959         AC_CONFIG_FILES call.
41960         * configure: Regenerated.
41962         [BZ #13888]
41963         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41964         or TMPDIR.
41965         (testout): Likewise.
41967         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41968         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41969         $(rtld-installed-name).
41970         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41971         (rtld_installed_name): Likwise.
41972         (runit): Remove function.
41973         (run_getconf): New variable,  Use it for running getconf binary.
41975 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41977         [BZ #14716]
41978         * string/test-memmem.c (check_result): New function.
41979         (do_one_test): Use it.
41980         (check1): New function.
41981         (test_main): Use it.
41983 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41985         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41987 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41989         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41990         (_G_LSEEK64): Likewise.
41991         (_G_MMAP64): Likewise.
41992         (_G_FSTAT64): Likewise.
41993         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41994         (_G_LSEEK64): Likewise.
41995         (_G_MMAP64): Likewise.
41996         (_G_FSTAT64): Likewise.
41997         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41998         unconditional.  Call __mmap64 directly.
41999         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42000         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42001         __lseek64 directly.
42002         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42003         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42004         __mmap64 directly.
42005         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42006         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42007         __lseek64 directly.
42008         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42009         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42010         __lseek64 directly.
42011         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42012         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42013         __lseek64 directly.
42014         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42015         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42016         __fxstat64 directly.
42017         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42018         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42019         unconditional.
42020         (freopen64) [!_G_OPEN64]: Remove conditional code.
42021         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42022         unconditional.
42023         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42024         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42025         unconditional.
42026         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42027         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42028         unconditional.
42029         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42030         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42031         unconditional.
42032         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42033         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42034         unconditional.
42035         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42036         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42037         unconditional.
42038         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42039         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42040         unconditional.
42041         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42043 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42045         [BZ #12140]
42046         * manual/memory.texi (Malloc Tunable Parameters): Add note
42047         about free list pointers overwriting some perturb bytes.
42048         Wording suggested by Roland McGrath.
42050 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42052         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42053         (lgamma_test): Likewise.
42054         (tgamma_test): Likewise.
42056 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42058         [BZ #14700]
42059         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42060         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42062 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42064         * NEWS: Mention BZ #14716.
42065         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42066         when removing AVAILABLE1_USES_J macro.
42068 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42070         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42071         (__bswap_64): __uint64_t for unsigned 64-bit int.
42073 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42075         * include/string.h (memmem): Declare libc hidden alias.
42076         * string/memmem.c (memmem): Define libc hidden alias.
42077         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42078         __read, __close instead of open, read, close.
42080 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42083         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42084         global and hidden.
42085         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42086         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42087         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42088         Likewise.
42089         (__rawmemchr_sse2): Likewise.
42090         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42091         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42092         (__strchr_sse2): Likewise.
42093         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42094         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42095         (__strcasecmp_sse2): Likewise.
42096         (__strncasecmp_sse2): Likewise.
42097         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42098         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42099         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42100         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42101         (__strrchr_sse2): Likewise.
42102         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42103         ifunc-impl-list.c.
42104         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42106         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42107         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42108         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42109         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42110         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42111         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42112         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42113         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42114         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42115         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42116         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42117         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42118         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42119         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42120         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42121         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42122         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42123         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42124         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42125         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42126         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42127         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42128         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42129         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42130         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42131         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42132         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42133         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42135         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42136         global and hidden.
42137         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42138         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42139         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42140         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42141         Likewise.
42142         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42143         Likewise.
42144         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42145         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42146         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42147         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42148         ifunc-impl-list.c.
42149         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42150         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42151         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42152         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42153         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42154         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42155         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42156         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42157         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42158         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42159         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42160         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42161         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42162         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42163         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42164         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42165         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42166         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42167         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42168         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42169         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42170         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42171         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42172         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42173         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42174         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42175         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42176         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42177         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42178         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42179         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42180         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42181         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42182         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42183         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42184         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42185         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42186         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42187         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42188         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42189         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42191         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42192         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42193         * include/ifunc-impl-list.h: New file.
42194         * misc/ifunc-impl-list.c: Likewise.
42195         * misc/Makefile (routines): Add ifunc-impl-list.
42196         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42197         * string/test-string.h: Include <ifunc-impl-list.h>.
42198         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42199         TEST_NAME]: New variables.
42200         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42201         are defined.
42202         (test_init): Call __libc_ifunc_impl_list to initialize
42203         func_list if TEST_IFUNC and TEST_NAME are defined.
42205         * string/Makefile (strop-tests): Add bcopy and bzero.
42206         * string/test-bcopy.c: New file.
42207         * string/test-bzero.c: Likewise.
42208         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42209         defined.
42210         * string/test-memset.c: Support bzero test if TEST_BZERO is
42211         defined.
42212         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42213         __libc_memmove.
42214         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42215         __libc_memset.
42216         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42217         of memset.
42219 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42221         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42222         * configure: Regenerated.
42224         * Makeconfig (+link-static-before-libc): Don't include
42225         $(link-static-libc).
42227         * libio/libio.h (_IO_pos_t): Remove.
42229 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42231         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42232         McGrath.
42234 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42236         * crypt/crypt-entry.c: Include fips-private.h.
42237         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42238         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42239         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42240         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42242 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42244         * crypt/crypt-private.h: Include stdbool.h.
42245         (_ufc_setup_salt_r): Return bool.
42246         * crypt/crypt-entry.c: Include errno.h.
42247         (__crypt_r): Return NULL with EINVAL for bad salt.
42248         * crypt/crypt_util.c (bad_for_salt): New.
42249         (_ufc_setup_salt_r): Check that salt is long enough and within
42250         the specified alphabet.
42251         * crypt/badsalttest.c: New file.
42252         * crypt/Makefile (tests): Add it.
42253         ($(objpfx)badsalttest): New.
42255 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42257         * NEWS: Add entry for BZ #14602.
42259 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42261         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42262         type-generic.
42263         * math/libm-test.inc: Update comment listing what functions and
42264         macros are tested.
42265         (isgreater_test): New function.
42266         (isgreaterequal_test): Likewise.
42267         (isless_test): Likewise.
42268         (islessequal_test): Likewise.
42269         (islessgreater_test): Likewise.
42270         (isunordered_test): Likewise.
42271         (main): Call the new functions.
42273 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42275         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42276         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42277         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42278         * sysdeps/i386/configure: Regenerated.
42279         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42280         * sysdeps/mach/configure: Regenerated.
42281         * sysdeps/mach/hurd/configure: Regenerated.
42282         * sysdeps/powerpc/configure: Regenerated.
42283         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42284         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42285         * sysdeps/s390/s390-32/configure: Regenerated.
42286         * sysdeps/s390/s390-64/configure: Regenerated.
42287         * sysdeps/sh/configure: Regenerated.
42288         * sysdeps/sparc/configure: Regenerated.
42289         * sysdeps/unix/sysv/linux/configure: Regenerated.
42290         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42291         * sysdeps/x86_64/configure: Regenerated.
42293         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42294         defined.  Don't check if MAP is NULL.
42296 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42298         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42299         (_G_stat64): Likewise.
42300         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42301         (_G_stat64): Likewise.
42302         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42303         instead of struct _G_stat64.
42304         * libio/fileops.c (mmap_remap_check): Likewise.
42305         (decide_maybe_mmap): Likewise.
42306         (_IO_new_file_seekoff): Likewise.
42307         (_IO_file_stat): Likewise.
42308         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42309         _G_off64_t.
42310         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42311         instead of struct _G_stat64.
42312         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42314 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42316         [BZ #14602]
42317         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42318         Replace with ...
42319         (CHECK_EOL): New macro.
42320         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42321         CHECK_EOL.
42322         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42323         Replace with CHECK_EOL.
42324         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42325         Replace with CHECK_EOL.
42327 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42329         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42330         type-generic.
42331         * math/libm-test.inc: Update comment listing what functions and
42332         macros are tested.
42333         (finite_test): New function.
42334         (isinf_test): Likewise.
42335         (isnan_test): Likewise.
42336         (fpclassify_test): Test subnormal input.
42337         (isfinite_test): Likewise.
42338         (isnormal_test): Likewise.
42339         (main): Call the new functions.
42341 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42343         [BZ #14660]
42344         * Makerules (%.dynsym): Force C locale when running
42345         $(OBJDUMP) --dynamic-syms.
42347 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42349         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42350         <stdint.h>.
42352 2012-10-06  David S. Miller  <davem@davemloft.net>
42354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42355         upper 32-bits of the length value in %o2 since we use branch-on-register
42356         tests which consider the entire 64-bit register.
42358 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42360         * string/test-strstr.c (check2): Add a test for page boundary.
42362 2012-10-05  David S. Miller  <davem@davemloft.net>
42364         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42365         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42366         file.
42367         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42368         sysdep_routines.
42369         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42370         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42371         and bzero when HWCAP_SPARC_CRYPTO is present.
42373 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42375         [BZ #14602]
42376         * string/test-strstr.c (check2): New function.
42377         (test_main): Call check2.
42379         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42380         and bug-strchr1.
42381         * string/bug-strcasestr1.c (do_test): Moved to ...
42382         * string/test-strcasestr.c (check1): Here.  New function.
42383         (do_one_test): Break out result checking code into ...
42384         (check_result): This.  New function.
42385         (do_one_test): Call check_result.
42386         (test_main): Call check1.
42387         * string/bug-strchr1.c (do_test): Moved to ...
42388         * string/test-strchr.c (check1): Here.  New function.
42389         (do_one_test): Break out result checking code into ...
42390         (check_result): This.  New function.
42391         (do_one_test): Call check_result.
42392         (test_main): Call check1.
42393         * string/bug-strstr1.c (main): Moved to ...
42394         * string/test-strstr.c (check1): Here.  New function.
42395         (do_one_test): Break out result checking code into ...
42396         (check_result): This.  New function.
42397         (do_one_test): Call check_result.
42398         (test_main): Call check1.
42399         * string/bug-strcasestr1.c: Removed.
42400         * string/bug-strchr1.c: Likewise.
42401         * string/bug-strstr1.c: Likewise.
42403         * elf/Makefile (dl-routines): Add hwcaps.
42404         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42405         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42406         (_dl_important_hwcaps): Moved to ...
42407         * elf/dl-hwcaps.c: Here.  New file.
42408         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42410         [BZ #14557]
42411         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42412         if IS_IN_rtld isn't defined.
42414         * elf/dl-support.c (_dl_sysinfo_map): New.
42415         Include "get-dynamic-info.h" and "setup-vdso.h".
42416         (_dl_non_dynamic_init): Call setup_vdso.
42417         * elf/dynamic-link.h: Don't include <assert.h>.
42418         (elf_get_dynamic_info): Moved to ...
42419         * elf/get-dynamic-info.h: Here.  New file.
42420         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42421         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42422         * elf/setup-vdso.h: Here.  New file.
42423         * elf/rtld.c: Include "setup-vdso.h".
42424         (dl_main): Call setup_vdso.
42426 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42428         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42429         creal in comment listing functions tested.  List finite, isinf,
42430         isnan, isless, islessequal, isgreater, isgreaterequal,
42431         islessgreater, isunordered, lgamma_r and pow10 as functions and
42432         macros not tested.  Mention which functions not tested are aliases
42433         for other functions.  Fix typo.  Note that signs of NaNs are not
42434         tested.
42436         * scripts/config.guess: Update from config.git.
42437         * scripts/config.sub: Likewise.
42439 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42441         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42442         * misc/madvise.c (madvise): Renamed to __madvise.
42443         Make madvise a weak alias.
42444         * include/sys/mman.h: Declare __madvise.
42445         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42446         * sysdeps/unix/syscalls.list
42447         (madvise): Make __madvise the strong name, and madvise a weak alias.
42448         * sysdeps/unix/sysv/linux/syscalls.list
42449         (madvise, mmap): Remove redundant entries.
42450         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42451         * malloc/malloc.c (mtrim): Likewise.
42452         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42454 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42456         * sysdeps/mach/hurd/dl-cache.c: File removed.
42457         * config.h.in (USE_LDCONFIG): New #undef.
42458         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42459         * configure: Regenerated.
42460         * elf/Makefile (dl-routines): Add dl-cache only under
42461         [$(use-ldconfig) = yes].
42462         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42463         cache on [USE_LDCONFIG].
42464         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42465         [USE_LDCONFIG].
42466         * elf/rtld.c (dl_main): Likewise.
42468 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42470         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42471         _SC_LEVEL4_CACHE_LINESIZE.
42473 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42475         * sysdeps/unix/bsd/confstr.h: File removed.
42477 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42479         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42480         sys/sdt-config.h.
42482 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42484         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42485         Make 'mapoff' field ElfW(Off) rather than off_t.
42487 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42489         * nscd/Makefile: Remove nscd-cflags and all its users.
42490         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42491         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42493         [BZ #10631]
42494         * malloc.c (malloc_printerr): Clarify error message.
42496 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42498         [BZ #14648]
42499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42500         Set bit_FMA_Usable if FMA is supported.
42501         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42502         macro.
42503         (bit_FMA4_Usable): Updated.
42504         (index_FMA_Usable): New macro.
42505         (CPUID_FMA): Likewise
42506         (HAS_FMA): Defined with bit_FMA_Usable.
42508 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42510         * bits/types.h (__swblk_t): Type removed.
42511         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42512         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42514         (__SWBLK_T_TYPE): Likewise.
42515         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42516         (__SWBLK_T_TYPE): Likewise.
42517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42518         (__SWBLK_T_TYPE): Likewise.
42519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42520         (__SWBLK_T_TYPE): Likewise.
42522 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42523             Honza Horak <hhorak@redhat.com>
42525         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42526         (xdr_mapname): Use YPMAXMAP as maxsize.
42527         (xdr_peername): Use YPMAXPEER as maxsize.
42528         (xdr_keydat): Use YPAXRECORD as maxsize.
42529         (xdr_valdat): Use YPMAXRECORD as maxsize.
42531 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42533         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42535         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42536         * csu/init-first.c: ... here.
42537         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42538         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42539         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42540         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42541         * sysdeps/i386/init-first.c: File removed.
42542         * sysdeps/sh/init-first.c: File removed.
42544 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42546         [BZ #14645]
42547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42548         if x * y might underflow to zero and z is zero.
42549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42551         * math/libm-test.inc (min_subnorm_value): New variable.
42552         (fma_test): Add more tests.
42553         (fma_test_towardzero): Likewise.
42554         (fma_test_downward): Likewise
42555         (fma_test_upward): Likewise.
42556         (initialize): Set min_subnorm_value.
42558 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42560         [BZ #14638]
42561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42562         0 + 0.
42563         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42564         mode for addition resulting in exact zero.
42565         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42566         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42567         exact 0 + 0.
42568         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42569         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42570         * math/libm-test.inc (fma_test): Add more tests.
42571         (fma_test_towardzero): New function.
42572         (fma_test_downward): Likewise.
42573         (fma_test_upward): Likewise.
42574         (main): Call the new functions.
42576 2012-09-28  David S. Miller  <davem@davemloft.net>
42578         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42580 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42582         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42583         instead of SIGALRM.
42585         * sysdeps/gnu/_G_config.h: Moved to ...
42586         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42587         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42588         * sysdeps/generic/_G_config.h: ... here.
42590         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42592         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42594         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42595         Conditionalize target on [libnss_test1.so-version].
42597         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42599         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42600         (elfobjdir): Move out of conditionals.
42602         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42603         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42604         (__nss_lookup_function): Conditionalize label remove_from_tree on
42605         [!DO_STATIC_NSS || SHARED], matching its only use.
42607 2012-09-28  David S. Miller  <davem@davemloft.net>
42609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42610         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42611         file.
42612         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42613         sysdep_routines.
42614         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42616         when HWCAP_SPARC_CRYPTO is present.
42618 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42620         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42622 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42624         [BZ #6530]
42625         * stdio-common/vfprintf.c (process_string_arg): Revert
42626         2000-07-22 change.
42628 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42630         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42631         for testcase.
42632         * stdio-common/tst-sprintf.c: Include <locale.h>
42633         (main): Test sprintf's handling of incomplete multibyte
42634         characters.
42636 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42638         * elf/dl-runtime.c (VERSYMIDX): Removed.
42639         * elf/dl-version.c (VERSYMIDX): Likewise.
42640         * elf/do-rel.h (VERSYMIDX): Likewise.
42641         (VALIDX): Likewise.
42642         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42643         * elf/rtld.c (VALIDX): Likewise.
42644         (ADDRIDX): Likewise.
42645         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42646         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42647         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42648         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42649         (VALIDX): Likewise.
42650         (ADDRIDX): Likewise.
42652 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42654         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42656 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42658         [BZ #11438]
42659         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42660         to global scope.
42661         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42662         addresses are in the same scope as 192.0.2/24.
42663         * posix/gai.conf: Document new scope table defaults.
42665 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42667         [BZ #5298]
42668         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42669         for ftell.  Compute offsets from write pointers instead.
42670         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42672 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42674         [BZ #14543]
42675         * libio/Makefile (tests): New test case tst-fseek.
42676         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42677         combination works in wide mode.
42678         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42679         state when the external buffer state changes.
42681 2012-09-27  David S. Miller  <davem@davemloft.net>
42683         [BZ #14376]
42684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42685         pass reloc->r_addend in as the 'high' argument to
42686         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42690 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42692         * rt/tst-aio2.c: Include <pthread.h>.
42693         * rt/tst-aio3.c: Likewise.
42695 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42697         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42699 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42701         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42702         contents on [SHARED].
42704 2012-09-26  Marek Polacek  <polacek@redhat.com>
42706         [BZ #14530]
42707         [BZ #13741]
42708         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42709         for C++ and GCC <4.3 as well as for non GCC compilers.
42711 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42715 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42717         * Makefile.in (all, install): Declare with .PHONY.
42718         Reported by Michael Hope <michael.hope@linaro.org>.
42720 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42722         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42723         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42724         system header.
42725         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42726         Likewise.
42727         (sydep_routines): Add the new and the internal functions.
42728         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42729         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42731         (GLIBC_2.17): Add the new function.
42732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42733         (GLIBC_2.17): Likewise.
42734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42735         (GLIBC_2.17): Likewise.
42736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42737         (GLIBC_2.17): Likewise.
42738         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42740 2012-09-25  Alan Modra  <amodra@gmail.com>
42742         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42743         Add release barrier before setting once_control to say
42744         initialisation is done.  Add hints on lwarx.  Use macro in
42745         place of isync.
42746         (clear_once_control): Add release barrier.
42748 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42750         [BZ #13629]
42751         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42752         specially.
42753         * math/s_clog10.c (__clog10): Likewise.
42754         * math/s_clog10f.c (__clog10f): Likewise.
42755         * math/s_clog10l.c (__clog10l): Likewise.
42756         * math/s_clogf.c (__clogf): Likewise.
42757         * math/s_clogl.c (__clogl): Likewise.
42758         * math/Makefile (libm-calls): Add x2y2m1.
42759         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42760         (__x2y2m1): Likewise.
42761         (__x2y2m1l): Likewise.
42762         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42763         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42766         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42767         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42768         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42769         * sysdeps/i386/fpu/libm-test-ulps: Update.
42770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42772         [BZ #14621]
42773         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42774         int as type of variable DEPTH.
42775         (glob): Use size_t instead of int as type of variables NEWCOUNT
42776         and OLD_PATHC.
42778 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42780         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42781         Add s_sincosf-sse2.
42782         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42783         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42784         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42785         macros for using routine as __sincosf_ia32.
42786         Use macro for function declaration and weak_alias.
42787         * sysdeps/i386/fpu/libm-test-ulps: Update.
42789         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42792         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42793         subnormal argument.
42794         * math/s_cexpf.c (__cexpf): Likewise.
42795         * math/s_csinf.c (__csinf): Likewise.
42796         * math/s_csinhf.c (__csinhf): Likewise.
42797         * math/s_ctanf.c (__ctanf): Likewise.
42798         * math/s_ctanhf.c (__ctanhf): Likewise.
42799         * math/s_ccosh.c (__ccoshf): Likewise.
42800         * math/s_cexp.c (__cexpl): Likewise.
42801         * math/s_csin.c (__csin): Likewise.
42802         * math/s_csinh.c (__csinh): Likewise.
42803         * math/s_ctan.c (__ctan): Likewise.
42804         * math/s_ctanh.c (ctanh): Likewise.
42805         * math/s_ccoshl.c (__ccoshl): Likewise.
42806         * math/s_cexpl.c (__cexpl): Likewise.
42807         * math/s_csinl.c (__csinl): Likewise.
42808         * math/s_csinhl.c (__csinhl): Likewise.
42809         * math/s_ctanl.c (__ctanl): Likewise.
42810         * math/s_ctanhl.c (__ctanhl): Likewise.
42812 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42814         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42815         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42816         (_IO_off_t): Define to __off_t, not _G_off_t.
42817         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42818         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42819         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42820         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42821         type of __dummy and __dummy2 fields.
42822         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42823         (_G_ssize_t): Likewise.
42824         (_G_off_t): Likewise.
42825         (_G_pid_t): Likewise.
42826         (_G_uid_t): Likewise.
42827         (_G_wchar_t): Likewise.
42828         (_G_wint_t): Likewise.
42829         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42830         (_G_ssize_t): Likewise.
42831         (_G_off_t): Likewise.
42832         (_G_pid_t): Likewise.
42833         (_G_uid_t): Likewise.
42834         (_G_wchar_t): Likewise.
42835         (_G_wint_t): Likewise.
42836         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42837         (_G_ssize_t): Likewise.
42838         (_G_off_t): Likewise.
42839         (_G_pid_t): Likewise.
42840         (_G_uid_t): Likewise.
42841         (_G_wchar_t): Likewise.
42842         (_G_wint_t): Likewise.
42844 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42846         * malloc/arena.c: Include malloc-sysdep.h.
42847         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42848         is sufficient to shrink the heap or an unmap is needed.
42849         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42850         new function check_may_shrink_heap.
42851         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42852         new function check_may_shrink_heap.
42854 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42856         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42857         comments.
42859 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42861         * catgets/test-gencat.sh: Add "set -e".
42862         * elf/tst-pathopt.sh: Likewise.
42863         * grp/tst_fgetgrent.sh: Likewise.
42864         * iconvdata/run-iconv-test.sh: Likewise.
42865         * intl/tst-gettext.sh: Likewise.
42866         * intl/tst-gettext2.sh: Likewise.
42867         * intl/tst-gettext4.sh: Likewise.
42868         * intl/tst-gettext6.sh: Likewise.
42869         * intl/tst-translit.sh: Likewise.
42870         * io/ftwtest-sh: Likewise.
42871         * libio/test-freopen.sh: Likewise.
42872         * malloc/tst-mtrace.sh: Likewise.
42873         * posix/globtest.sh: Likewise.
42874         * posix/tst-getconf.sh: Likewise.
42875         * posix/wordexp-tst.sh: Likewise.
42876         * stdio-common/tst-printf.sh: Likewise.
42877         * stdio-common/tst-unbputc.sh: Likewise.
42878         * stdlib/tst-fmtmsg.sh: Likewise.
42879         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42880         * catgets/Makefile: Do not specify -e option when running
42881         testsuite shell scripts.
42882         * elf/Makefile: Likewise.
42883         * grp/Makefile: Likewise.
42884         * iconvdata/Makefile: Likewise.
42885         * intl/Makefile: Likewise.
42886         * io/Makefile: Likewise.
42887         * libio/Makefile: Likewise.
42888         * malloc/Makefile: Likewise.
42889         * posix/Makefile: Likewise.
42890         * stdio-common/Makefile: Likewise.
42891         * stdlib/Makefile: Likewise.
42892         * sysdeps/x86_64/Makefile: Likewise.
42894         * io/ftwtest-sh: Add copyright header.
42895         * posix/globtest.sh: Likewise.
42896         * posix/tst-getconf.sh: Likewise.
42897         * posix/wordexp-tst.sh: Likewise.
42898         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42900 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42902         [BZ #13679]
42903         * Makeconfig (+link): Defined as $(+link-static) if
42904         $(build-shared) isn't yes.
42905         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42906         isn't yes.
42907         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42909         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42911         [BZ #14562]
42912         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42913         new chunk size with MALLOC_ALIGN_MASK.
42915 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42917         [BZ #5044]
42918         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42919         <rounding-mode.h>.
42920         (__printf_fphex): Determine rounding using get_rounding_mode and
42921         round_away.
42922         * stdio-common/tst-printf-round.c (struct hex_test): New
42923         structure.
42924         (hex_tests): New variable.
42925         (test_hex_in_one_mode): New function.
42926         (do_test): Also run tests for hex float output.
42928 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42930         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42931         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42932         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42933         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42934         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42935         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42936         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42937         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42939 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42941         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42942         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42943         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42944         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42946 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42948         [BZ #14579]
42949         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42950         mode only.
42951         * elf/tst-rtld-load-self.sh: New test.
42952         * elf/Makefile: Run it.
42954 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42956         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42957         (tst-writev-ENV): Remove.
42958         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42960 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42962         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42964 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42966         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42967         unconditional.
42968         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42969         Likewise.
42970         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42971         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42972         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42973         Likewise.
42975 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42977         [BZ #14587]
42978         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42979         * config.make.in (have-cpp-asm-debuginfo): Removed.
42980         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42981         * configure: Regenerated.
42983 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42985         [BZ #5044]
42986         * stdio-common/printf_fp.c: Include <stdbool.h> and
42987         <rounding-mode.h>.
42988         (___printf_fp): Determine rounding using get_rounding_mode and
42989         round_away.
42990         * stdio-common/tst-printf-round.c: New file.
42991         * stdio-common/Makefile (tests): Add tst-printf-round.
42992         (link-libm): New variable.
42993         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42995 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42997         [BZ #14576]
42998         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42999         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43000         Likewise.
43001         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43002         Likewise.
43004 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43006         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43007         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43008         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43009         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43011 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43013         [BZ #14518]
43014         * include/rounding-mode.h: New file.
43015         * sysdeps/generic/get-rounding-mode.h: Likewise.
43016         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43017         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43018         (MAX_VALUE): New macro.
43019         (MIN_VALUE): Likewise.
43020         (overflow_value): New function.
43021         (underflow_value): Likewise.
43022         (round_and_return): Use overflow_value and underflow_value to
43023         determine return values in overflow and underflow cases.  Use
43024         round_away to determine rounding depending on rounding mode.
43025         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43026         determine return values in overflow and underflow cases.
43027         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43028         (struct test_results): New structure.
43029         (struct test): Use struct test_results to store expected results
43030         for all rounding modes.
43031         (TEST): Include expected results for all rounding modes.
43032         (test_in_one_mode): New function.
43033         (do_test): Use test_in_one_mode to compute and check results.
43034         Check results for all rounding modes.
43035         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43036         $(link-libm).
43038 2012-12-09  Allan McRae  <allan@archlinux.org>
43040         * sysdeps/i386/fpu/libm-test-ulps: Update
43042 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43044         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43045         (_G_int32_t): Likewise.
43046         (_G_uint16_t): Likewise.
43047         (_G_uint32_t): Likewise.
43048         (_G_HAVE_BOOL): Likewise.
43049         (_G_HAVE_ATEXIT): Likewise.
43050         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43051         (_G_HAVE_IO_FILE_OPEN): Likewise.
43052         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43053         (_G_int32_t): Likewise.
43054         (_G_uint16_t): Likewise.
43055         (_G_uint32_t): Likewise.
43056         (_G_HAVE_BOOL): Likewise.
43057         (_G_HAVE_ATEXIT): Likewise.
43058         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43059         (_G_HAVE_IO_FILE_OPEN): Likewise.
43060         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43061         (_G_int32_t): Likewise.
43062         (_G_uint16_t): Likewise.
43063         (_G_uint32_t): Likewise.
43064         (_G_HAVE_BOOL): Likewise.
43065         (_G_HAVE_ATEXIT): Likewise.
43066         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43067         (_G_HAVE_IO_FILE_OPEN): Likewise.
43069 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43071         * csu/libc-tls.c: Update copyright years.
43073 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43075         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43076         [!_G_USING_THUNKS]: Remove conditional code.
43077         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43078         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43080         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43081         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43082         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43083         (_G_VTABLE_LABEL_PREFIX): Likewise.
43084         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43085         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43086         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43087         (_G_VTABLE_LABEL_PREFIX): Likewise.
43088         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43089         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43090         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43091         (_G_VTABLE_LABEL_PREFIX): Likewise.
43092         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43094 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43096         * libio/Makefile: Include ../Makeconfig before tests.
43097         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43098         only if $(build-shared) is yes.
43100         * iconv/gconv_db.c: Update copyright years.
43102 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43104         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43105         unwind info if defined PIC. Fix special cases description.
43106         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43108         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43109         DP_HI_MASK entry.
43110         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43112 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43114         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43116         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43117         is NULL.
43119         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43120         (LDLIBS-tst-chk4): This.
43121         (LDFLAGS-tst-chk5): Renamed to ...
43122         (LDLIBS-tst-chk5): This.
43123         (LDFLAGS-tst-chk6): Renamed to ...
43124         (LDLIBS-tst-chk6): This.
43125         (LDFLAGS-tst-lfschk4): Renamed to ...
43126         (LDLIBS-tst-lfschk4): This.
43127         (LDFLAGS-tst-lfschk5): Renamed to ...
43128         (LDLIBS-tst-lfschk5): This.
43129         (LDFLAGS-tst-lfschk6): Renamed to ...
43130         (LDLIBS-tst-lfschk6): This.
43132         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43133         on $(common-objpfx)soversions.mk.
43135 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43137         [BZ #10014]
43138         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43139         example host name.
43141 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43143         * malloc/arena.c (arena_get_retry): New function that gets
43144         another arena for the caller to try its request on.
43145         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43146         current arena cannot fulfill the request.
43147         (__libc_memalign): Likewise.
43148         (__libc_memalign): Likewise.
43149         (__libc_pvalloc): Likewise.
43150         (__libc_calloc): Likewise.
43152 2012-09-05  John Tobey  <john.tobey@gmail.com>
43154         [BZ #13542]
43155         * manual/arith.texi (Operations on Complex): Fix description
43156         of carg branch cut.
43158 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43160         [BZ #10014]
43161         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43162         host name.
43164         [BZ #10038]
43165         * manual/memory.texi (Memory): Make order of menu items match
43166         order of sections.
43168 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43170         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43171         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43172         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43174 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43176         * csu/libc-tls.c (static_dtv): Renamed to ...
43177         (_dl_static_dtv): This.  Make it global.
43178         (_dl_initial_dtv): Removed.
43179         (__libc_setup_tls): Updated.
43180         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43181         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43182         DL_INITIAL_DTV.
43184 2012-09-06  Petr Machata  <pmachata@redhat.com>
43186         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43187         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43188         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43189         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43191 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43193         [BZ #14545]
43194         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43195         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43196         freeing dtv[-1].
43198 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43200         [BZ #14544]
43201         * Makeconfig (link-static-before-libc): Replace $(+prector)
43202         with $(+prectorT).
43203         (link-static-after-libc): Replace $(+postctor) with
43204         $(+postctorT).
43205         (link-bounded): Replace $(+prector)/$(+postctor) with
43206         $(+prectorT)/$(+postctorT).
43207         (+prectorT): New macro.
43208         (+postctorT): Likewise.
43210 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43212         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43213         (round_str): Handle values above the maximum for IBM long double
43214         as inexact.
43215         * stdlib/tst-strtod-round.c (tests): Regenerated.
43217 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43219         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43220         assembler flag.
43221         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43222         zarch_nohighgprs around the zarch optimized routines.
43223         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43224         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43225         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43226         for zarch.
43228 2012-09-05  David S. Miller  <davem@davemloft.net>
43230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43232         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43233         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43234         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43235         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43236         entries.
43238 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43240         * malloc/arena.c: Fold copyright years.
43241         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43243 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43245         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43247 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43249         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43251 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43253         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43254         change internal state upon failure.
43256 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43258         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43259         * malloc/memusage.c (mmap): Likewise.
43260         (mmap64, mremap): Likewise.  Adjust name in comment.
43262 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43264         * libio/fileops.c: Fix typos in comments.
43265         * libio/oldfileops.c: Likewise.
43266         * libio/wfileops.c: Likewise.
43268 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43270         [BZ #1349]
43271         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43272         (tst-malloc-usable-ENV): Set environment for test case.
43273         * malloc/hooks.c (malloc_check_get_size): New function to get
43274         requested size.
43275         * malloc/malloc.c (musable): Use malloc_check_get_size.
43276         * malloc/tst-malloc-usable.c: New test case.
43278 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43280         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43282 2012-09-05  Allan McRae  <allan@archlinux.org>
43284         [BZ #13966]
43285         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43286         determine header location.
43287         * configure: Regenerated.
43289 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43291         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43292         float format.
43293         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43294         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43295         format.
43296         (test): Regenerate.
43298 2012-09-04  David S. Miller  <davem@davemloft.net>
43300         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43301         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43302         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43304 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43306         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43307         failures.
43309         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43311 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43313         [BZ #9914]
43314         * libio/iogetdelim.c: Include <limits.h>.
43315         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43316         + len + 1 would overflow.
43318 2012-09-03  Andreas Jaeger  <aj@suse.de>
43320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43321         * sysdeps/i386/fpu/libm-test-ulps: Update.
43323 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43325         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43326         Add s_sinf-sse2, s_conf-sse2.
43328         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43329         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43330         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43331         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43333         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43334         for using routine as __sinf_ia32.
43335         Use macro for function declaration and weak_alias.
43336         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43337         for using routine as __cosf_ia32.
43338         Use macro for function declaration and weak_alias.
43340         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43341         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43343         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43344         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43347         * math/libm-test.inc (cos_test): Add more test cases.
43348         (sin_test): Likewise.
43349         (sincos_test): Likewise.
43351 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43353         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43354         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43355         hidden.
43356         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43358 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43360         [BZ #14538]
43361         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43362         first element of the GOT.
43363         (elf_machine_load_address): Return the difference between
43364         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43366 2012-09-01  Allan McRae  <allan@archlinux.org>
43368         [BZ #13412]
43369         * configure.in (AWK): Require gawk version 3.0 or later.
43370         * configure: Regenerated.
43372 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43374         * sysdeps/unix/sysv/linux/kernel-features.h
43375         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43377         [__NR_clock_getres]: Make code unconditional.
43378         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43379         (clock_getcpuclockid): Remove code left unreachable by removal of
43380         conditionals.
43381         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43382         code unconditional.
43383         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43384         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43385         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43386         Make code unconditional.
43387         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43388         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43389         * sysdeps/unix/sysv/linux/clock_settime.c
43390         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43391         conditional code.
43392         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43393         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43395 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43397         [BZ #14476]
43398         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43399         scripts/test-installation.pl.
43401         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43402         and $ld_so_version if it is set.
43404 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43406         [BZ #14516]
43407         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43408         failure if reading from procfs failed.
43409         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43411 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43413         * sysdeps/unix/sysv/linux/kernel-features.h
43414         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43415         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43416         Remove conditional code.
43417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43418         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43419         Remove conditional code.
43420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43421         * sysdeps/unix/sysv/linux/i386/fxstat.c
43422         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43424         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43425         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43426         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43427         * sysdeps/unix/sysv/linux/i386/lxstat.c
43428         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43429         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43430         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43431         Remove conditional code.
43432         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43433         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43434         Remove conditional code.
43435         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43436         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43437         <kernel-features.h>.
43438         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43439         Remove.
43440         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43441         Remove conditional code.
43442         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43443         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43444         Remove conditional.
43446 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43448         [BZ #5400]
43449         * NEWS: Add fixed bug number.
43451 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43453         [BZ #14519]
43454         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43455         underflowing exponent in case of negative sign.
43456         * stdlib/tst-strtod-round-data: Add more tests.
43457         * stdlib/tst-strtod-round.c (tests): Regenerated.
43459         [BZ #3479]
43460         * stdlib/strtod_l.c (NDIG): Remove.
43461         (HEXNDIG): Likewise.
43462         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43463         smallest representable value.
43464         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43465         lie within an exact representation of 1/2 ulp of the result.
43466         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43467         unconditionally.
43468         (TENS_P9_IDX): Define unconditionally.
43469         (TENS_P9_SIZE): Likewise.
43470         (TENS_P10_IDX): Likewise.
43471         (TENS_P10_SIZE): Likewise.
43472         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43473         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43474         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43475         entries for 10^2^13 and 10^2^14.
43476         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43477         (TENS_P13_IDX): Define.
43478         (TENS_P13_SIZE): Likewise.
43479         (TENS_P14_IDX): Likewise.
43480         (TENS_P14_SIZE): Likewise.
43481         (_fpioconst_pow10): Change array size to
43482         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43483         unconditional.
43484         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43485         1024]: Add entries for 10^2^13 and 10^2^14.
43486         [LAST_POW10 > _LAST_POW10]: Remove #error.
43487         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43488         (_fpioconst_pow10): Change array size to
43489         FPIOCONST_POW10_ARRAY_SIZE.
43490         * stdlib/gen-fpioconst.c: New file.
43491         * stdlib/gen-tst-strtod-round.c: Likewise.
43492         * stdlib/tst-strtod-round-data: Likewise.
43493         * stdlib/tst-strtod-round.c: Likewise.
43494         * stdlib/Makefile (tests): Add tst-strtod-round.
43496         [BZ #14459]
43497         * stdlib/strtod_l.c: Include <stdint.h>.
43498         (NDEBUG): Do not define.
43499         (round_and_return): Change EXPONENT parameter to type intmax_t.
43500         Rearrange calculations to avoid internal overflow possibilities.
43501         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43502         Rearrange calculations to avoid internal overflow possibilities.
43503         Assert that number fits inside MPNSIZE limbs.
43504         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43505         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43506         calculations and add assertions to avoid internal overflow
43507         possibilities.  Add casts to avoid signed/unsigned operations.
43508         * stdlib/tst-strtod-overflow.c: New file.
43509         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43511 2012-08-25  Marek Polacek  <polacek@redhat.com>
43513         * time/time.h: Fix some typos in comments.
43515 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43517         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43518         * posix/tst-rfc3484-2.c: Likewise.
43519         * posix/tst-rfc3484-3.c: Likewise.
43521 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43523         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43524         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43526 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43528         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43529         #include of fxstatat64.c.
43531 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43533         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43534         * shadow/getspent_r.c: Likewise.
43535         * shadow/getspnam.c: Likewise.
43536         * shadow/getspnam_r.c: Likewise.
43537         * gshadow/getsgent.c: Likewise.
43538         * gshadow/getsgent_r.c: Likewise.
43539         * gshadow/getsgnam.c: Likewise.
43540         * gshadow/getsgnam_r.c: Likewise.
43541         * inet/getnetbyad.c: Likewise.
43542         * inet/getnetbyad_r.c: Likewise.
43543         * inet/getnetbynm.c: Likewise.
43544         * inet/getnetbynm_r.c: Likewise.
43545         * inet/getnetent.c: Likewise.
43546         * inet/getnetent_r.c: Likewise.
43547         * inet/getproto.c: Likewise.
43548         * inet/getproto_r.c: Likewise.
43549         * inet/getprtent.c: Likewise.
43550         * inet/getprtent_r.c: Likewise.
43551         * inet/getprtname.c: Likewise.
43552         * inet/getprtname_r.c: Likewise.
43553         * inet/getrpcbyname.c: Likewise.
43554         * inet/getrpcbyname_r.c: Likewise.
43555         * inet/getrpcbynumber.c: Likewise.
43556         * inet/getrpcbynumber_r.c: Likewise.
43557         * inet/getrpcent.c: Likewise.
43558         * inet/getrpcent_r.c: Likewise.
43559         * inet/getaliasent.c: Likewise.
43560         * inet/getaliasent_r.c: Likewise.
43561         * inet/getaliasname.c: Likewise.
43562         * inet/getaliasname_r.c: Likewise.
43563         * nscd/getgrgid_r.c: Likewise.
43564         * nscd/getgrnam_r.c: Likewise.
43565         * nscd/gethstbyad_r.c: Likewise.
43566         * nscd/gethstbynm3_r.c: Likewise.
43567         * nscd/getpwnam_r.c: Likewise.
43568         * nscd/getpwuid_r.c: Likewise.
43569         * nscd/getsrvbynm_r.c: Likewise.
43570         * nscd/getsrvbypt_r.c: Likewise.
43571         * nscd/gai.c: Likewise.
43573         * configure.in (build_nscd): New substituted variable, set
43574         by --disable-build-nscd and defaults to $use_nscd.
43575         * configure: Regenerated.
43576         * config.make.in (build-nscd): New substituted variable.
43577         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43578         Change conditional to require [$(build-nscd) = yes] as well.
43579         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43581         [BZ# 13696]
43582         * configure.in (use_nscd): New substituted variable, set by
43583         --disable-nscd.  If enabled, define USE_NSCD.
43584         * configure: Regenerated.
43585         * config.h.in: Add USE_NSCD.
43586         * config.make.in (use-nscd): New substituted variable.
43587         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43588         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43589         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43590         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43591         (CFLAGS-getgrnam_r.c): Likewise.
43592         (CFLAGS-initgroups.c): Likewise.
43593         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43594         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43595         Variables removed.
43596         * inet/getnetgrent_r.c
43597         (nscd_setnetgrent): New function, broken out of ...
43598         (setnetgrent): ... here.  Call it.
43599         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43600         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43601         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43602         * nscd/Makefile (routines, aux): Move definitions after include of
43603         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43604         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43605         Conditionalize on [USE_NSCD].
43606         (is_nscd, nscd_init_cb): Likewise.
43607         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43608         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43609         * nss/nss_db/db-init.c: Likewise.
43610         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43611         [USE_NSCD].
43612         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43613         (make_request): Use it.
43614         (cache_valid_p): New function.
43615         (__check_pf): Use it.
43616         * NEWS: Add item for --disable-nscd.
43618 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43620         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43621         to support sed >= 4.2.1-20-ga9bf076.
43622         * configure: Regenerated.
43624 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43626         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43627         Conditionalize whole body on [IREL].
43629 2012-08-22  Jeff Law <law@redhat.com>
43631         [BZ #14505]
43632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43633         if the family is PF_UNSPEC.
43635 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43637         * Makerules (lib-version): Rename from V.
43638         (install-lib-nosubdir): Change V to lib-version.
43640 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43642         [BZ #14252]
43643         * powerpc32/power6/wcschr.c: New file.
43644         * powerpc32/power6/wcscpy.c: New file.
43645         * powerpc32/power6/wcsrchr.c: New file.
43646         * powerpc64/power6/wcschr.c: New file.
43647         * powerpc64/power6/wcscpy.c: New file.
43648         * powerpc64/power6/wcsrchr.c: New file.
43650 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43652         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43653         (two_way_short_needle): Use it.
43654         * string/strstr.c (AVAILABLE1_USES_J): Define.
43655         * string/strcasestr.c: Likewise.
43657         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43658         array references.
43659         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43661         [BZ #11607]
43662         * NEWS: Add an entry.
43663         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43664         define their defaults.
43665         (two_way_short_needle): Detect end-of-string on-the-fly.
43666         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43667         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43668         * string/bug-strcasestr1.c: New test.
43669         * string/Makefile: Run it.
43671 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43673         [BZ #11607]
43674         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43675         the first character.
43677 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43679         * csu/elf-init.c (__libc_csu_irel): Function removed.
43680         * csu/libc-start.c (apply_irel): New function.
43681         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43683 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43685         * sysdeps/unix/sysv/linux/kernel-features.h
43686         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43687         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43688         <kernel-features.h>.
43689         [__NR_fadvise64_64]: Make code unconditional.
43690         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43691         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43692         !__NR_fadvise64_64)]: Likewise.
43693         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43694         !__NR_fadvise64_64))]: Likewise.
43695         [__NR_fadvise64]: Make code unconditional.
43696         [!__NR_fadvise64]: Remove conditional code.
43697         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43698         <kernel-features.h>.
43699         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43700         unconditional.
43701         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43702         conditional code.
43703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43704         not include <kernel-features.h>.
43705         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43706         unconditional.
43707         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43708         conditional code.
43709         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43710         include <kernel-features.h>.
43711         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43712         unconditional.
43713         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43714         conditional code.
43716 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43718         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43719         slight instruction rearrangements per scrollpipe analysis.
43720         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43722 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43724         * manual/syslog.texi (syslog; vsyslog, closelog):
43725         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43726         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43728         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43729         DSOCAPS to match condition on defining it.
43731 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43733         * sysdeps/unix/sysv/linux/kernel-features.h
43734         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43736         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43737         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43739         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43740         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43742         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43743         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43745         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43746         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43748         * sysdeps/unix/sysv/linux/kernel-features.h
43749         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43750         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43751         unconditional.
43752         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43753         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43754         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43755         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43756         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43757         Make code unconditional.
43758         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43759         (__mmap64) [!__NR_mmap2]: Likewise.
43760         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43761         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43762         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43763         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43764         [__NR_mmap2]: Make code unconditional.
43765         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43766         (__mmap64) [!__NR_mmap2]: Likewise.
43768 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43770         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43772 2012-08-18  Andreas Jaeger  <aj@suse.de>
43774         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43776 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43778         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43779         * include/unistd.h (__have_sock_cloexec): Likewise.
43780         (__have_pipe2): Likewise.
43781         (__have_dup3): Likewise.
43783 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43785         [BZ #9685]
43786         * include/unistd.h (__have_pipe2): Change define into an extern int.
43787         (__have_dup3): Likewise.
43788         * socket/have_sock_cloexec.c: Include fcntl.h.
43789         (__have_pipe2): New variable.
43790         (__have_dup3): Likewise.
43792 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43794         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43796 2012-08-17  Marek Polacek  <polacek@redhat.com>
43798         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43799         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43801 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43803         * configure.in: Add AC_SUBST for sysheaders.
43804         * configure: Regenerated.
43805         * config.make.in (sysheaders): New substituted variable.
43807         * sysdeps/unix/mkfifo.c: Moved ...
43808         * sysdeps/posix/mkfifo.c: ... here.
43809         * sysdeps/unix/mkfifoat.c: Moved ...
43810         * sysdeps/posix/mkfifoat.c: ... here.
43812         * sysdeps/unix/utime.c: Moved ...
43813         * sysdeps/posix/utime.c: ... here.
43815         * sysdeps/unix/time.c: Moved ...
43816         * sysdeps/posix/time.c: ... here.
43817         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43818         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43820         * sysdeps/unix/nice.c: Moved ...
43821         * sysdeps/posix/nice.c: ... here.
43823         * sysdeps/unix/alarm.c: Moved ...
43824         * sysdeps/posix/alarm.c: ... here.
43826         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43828 2012-08-17  Jeff Law <law@redhat.com>
43830         * intl/Makefile (codeset_mo): New variable.
43831         ($(codeset_mo)): New target.
43832         (tst-codeset.out): Depend on that.  Remove explicit rule.
43833         (tst-gettext3.out, tst-gettext5.out): Likewise.
43834         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43835         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43836         * intl/tst-codeset.sh: Remove.
43837         * intl/tst-gettext3.sh: Likewise.
43838         * intl/tst-gettext5.sh: Likewise.
43840 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43842         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43843         * sysdeps/unix/syscalls.list: ... here.
43845         * sysdeps/posix/getaddrinfo.c
43846         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43847         (gaiconf_init, gaiconf_reload): Use them.
43848         [!_STATBUF_ST_NSEC]
43849         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43850         Define using time_t rather than struct timespec.
43852         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43853         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43854         Macros removed.
43855         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43856         [!NO_THREADS].
43857         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43858         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43859         Likewise.
43861         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43862         __libc_cleanup_push argument.
43864         * bits/param.h: New file.
43865         * misc/sys/param.h: New file.
43866         * include/sys/param.h: New file.
43867         * misc/Makefile (headers): Add bits/param.h.
43868         * sysdeps/generic/sys/param.h: File removed.
43869         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43870         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43871         * sysdeps/mach/hurd/bits/param.h: New file.
43872         * sysdeps/mach/hurd/sys/param.h: File removed.
43874         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43875         last change.
43877         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43878         [_IO_MTSAFE_IO].
43879         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43880         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43881         New macros.
43883         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43884         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43885         rather than -D_IO_MTSAFE_IO conditionally.
43886         * stdio-common/Makefile (CPPFLAGS): Likewise.
43887         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43888         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43889         Use $(libio-mtsafe).
43890         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43891         of -D_IO_MTSAFE_IO.
43892         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43893         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43894         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43895         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43896         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43897         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43898         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43899         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43900         (CFLAGS-fread_u_chk.c): Likewise.
43901         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43902         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43903         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43904         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43905         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43906         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43907         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43908         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43909         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43911         * libio/Makefile: Test [$(libc-reentrant) = yes]
43912         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43914         * Makeconfig
43915         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43916         * sysdeps/pthread/configure: File removed.
43917         * sysdeps/pthread/Makeconfig: New file.
43918         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43919         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43921 2012-08-16  Gary Benson  <gbenson@redhat.com>
43923         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43924         unmapping the first object in a namespace.
43926 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43928         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43929         (__internal_setnetgrent): ... this.  Add internal_function to
43930         definition.  Add libc_hidden_def.
43931         (setnetgrent): Update caller.
43932         (internal_endnetgrent): Renamed to ...
43933         (__internal_endnetgrent): ... this.  Add internal_function to
43934         definition.  Add libc_hidden_def.
43935         (endnetgrent): Update caller.
43936         (internal_getnetgrent_r): Renamed to ...
43937         (__internal_getnetgrent_r): ... this.  Add internal_function to
43938         definition.  Add libc_hidden_def.
43939         (__getnetgrent_r): Update caller.
43940         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43942 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43944         * stdlib/longlong.h: Update from GCC.
43946 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43948         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43949         on _QL, which is set by umul_ppmm but never used.
43950         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43951         variables, which are set by GMP macros but never used.
43952         * stdio-common/_itowa.c (_itowa): Likewise.
43953         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43954         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43956 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43958         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43959         struct La_sh_regs is not constant.
43960         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43961         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43962         and struct La_sparc64_regs are not constant.
43964 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43966         * sysdeps/unix/sysv/linux/kernel-features.h
43967         (__ASSUME_POSIX_TIMERS): Remove.
43968         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43969         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43970         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43971         Make code unconditional.
43972         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43973         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43974         Make code unconditional.
43975         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43976         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43977         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43978         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43979         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43980         Make code unconditional.
43981         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43982         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43983         (__libc_missing_posix_timers): Remove.
43985 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43987         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43988         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43990         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43992         * elf/dl-sym.c: Include <stdlib.h>.
43994         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43995         constants, which avoids warnings in 32-bit builds.
43997         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43998         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44000         * misc/lseek.c: File moved to ...
44001         * io/lseek.c: ... here.
44003         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44005         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44006         shifting LEN more than 31 bits at once.
44008 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44010         [BZ #14195]
44011         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44012         segmentation fault for a case of two empty input strings.
44013         * string/test-strncasecmp.c (check1): Renamed to...
44014         (bz12205): ...this.
44015         (bz14195): Add new testcase for two empty input strings and N > 0.
44016         (test_main): Call new testcase, adapt for renamed function.
44018 2012-08-15  Andreas Jaeger  <aj@suse.de>
44020         [BZ #14090]
44021         * crypt/md5test2.c: New test, based on test supplied by Serge
44022         Belyshev <belyshev@depni.sinp.msu.ru>.
44023         * crypt/Makefile (xtests): Add md5test-giant..
44024         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44026 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44028         [BZ #14090]
44029         * crypt/md5.c (md5_process_block): Don't assume the buffer
44030         length is less than 2**32.
44031         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44032         length is less than 2**64.
44034 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44036         * string/str-two-way.h: Include <sys/param.h>.
44037         (MAX): Macro removed.
44039         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44040         Move #define and #undef of memmove to just before and after
44041         including <string.h>.
44043         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44044         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44045         and after including <string.h>.  Move declarations of
44046         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44047         to before #include "string/memmove.c".
44049         * include/dirent.h: Declare __getdirentries.
44051         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44052         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44054 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44056         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44057         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44058         * sysdeps/i386/configure: Regenerated.
44059         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44060         STABS_CURRENT_FILE, and STABS_FUN.
44061         (END): Remove call to STABS_FUN_END.
44062         (STABS_CURRENT_FILE1): Delete.
44063         (STABS_CURRENT_FILE): Likewise.
44064         (STABS_FUN): Likewise.
44065         (STABS_FUN_END): Likewise.
44066         (STABS_FUN2): Likewise.
44067         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44068         * sysdeps/x86_64/configure: Regenerated.
44070 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44072         * elf/dl-open.c: Include <atomic.h>.
44073         * elf/dl-lookup.c: Likewise.
44075 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44077         * sysdeps/unix/sysv/linux/kernel-features.h
44078         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44079         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44080         unconditionally.
44081         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44082         unconditionally.
44083         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44084         condition on __ASSUME_CLONE_THREAD_FLAGS.
44086 2012-08-14  Andreas Jaeger  <aj@suse.de>
44088         * sysdeps/i386/fpu/libm-test-ulps: Update.
44090 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44092         * include/atomic.h (atomic_exchange_and_add): Split into ...
44093         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44094         New atomic macros.
44096 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44100 2012-08-13  Jeff Law <law@redhat.com>
44102         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44103         null byte in the output string.
44105 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44107         * sysdeps/unix/sysv/linux/kernel-features.h
44108         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44109         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44110         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44111         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44112         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44113         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44114         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44116 2012-08-09  Jeff Law <law@redhat.com>
44118         [BZ #13939]
44119         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44120         When avoid_arena is set, don't retry in the that arena.  Pick the
44121         next one, whatever it might be.
44122         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44123         (arena_lock): Pass in new parameter to arena_get2.
44124         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44125         arena_get2.
44126         (__libc_malloc): Unify retrying after main arena failure with
44127         __libc_memalign version.
44128         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44130 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44132         [BZ #14166]
44133         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44134         to __redirect_strstr.
44135         (__strstr_sse42): Use typeof __redirect_strstr.
44136         (__strstr_ia32): Likewise.
44137         (__libc_strstr): New prototype.
44138         (strstr): Renamed to ...
44139         (__libc_strstr): This.
44140         (strstr): New strong alias of __libc_strstr.
44141         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44142         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44143         __redirect_time.
44144         Include <time.h>.
44145         (__libc_time): New prototype.
44146         (time_ifunc): Replace time with __libc_time.
44147         (time): New strong alias and hidden definition of __libc_time.
44148         (__GI_time): Remove strong alias.
44149         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44150         Include <stddef.h>.
44151         (memmove): Redefined to __redirect_memmove.
44152         (__memmove_sse2): Use typeof __redirect_memmove.
44153         (__memmove_ssse3): Likewise.
44154         (__memmove_ssse3_back): Likewise.
44155         (__libc_memmove): New prototype.
44156         (memmove): Renamed to ...
44157         (__libc_memmove): This.
44158         (memmove): New strong alias of __libc_memmove.
44160 2012-08-08  Mark Salter  <msalter@redhat.com>
44162         * elf/elf.h
44163         (R_MN10300_TLS_GD): Define.
44164         (R_MN10300_TLS_LD): Likewise.
44165         (R_MN10300_TLS_LDO): Likewise.
44166         (R_MN10300_TLS_GOTIE): Likewise.
44167         (R_MN10300_TLS_IE): Likewise.
44168         (R_MN10300_TLS_LE): Likewise.
44169         (R_MN10300_TLS_DTPMOD): Likewise.
44170         (R_MN10300_TLS_DTPOFF): Likewise.
44171         (R_MN10300_TLS_TPOFF): Likewise.
44172         (R_MN10300_SYM_DIFF): Likewise.
44173         (R_MN10300_ALIGN): Likewise.
44174         (R_MN10300_NUM): Update.
44176 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44178         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44179         Remove.
44181 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44183         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44185         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44186         sysdeps/unix -> sysdeps/posix move.
44187         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44189 2012-08-07      Allan McRae     <allan@archlinux.org>
44191         [BZ #14303]
44192         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44193         (SUNOS_CPP): Likewise.
44194         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44195         not found.
44196         (open_input): Call CPP using execvp.
44198 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44200         * sysdeps/unix/sysv/linux/kernel-features.h
44201         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44202         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44203         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44204         (__ASSUME_WAITID_SYSCALL): Likewise.
44205         * sysdeps/unix/sysv/linux/dl-execstack.c
44206         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44207         code unconditional.
44208         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44209         conditional code.
44210         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44211         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44212         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44213         code.
44214         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44215         unconditional.
44216         [__ASSUME_WAITID_SYSCALL]: Likewise.
44217         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44219 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44221         * sysdeps/unix/closedir.c: Renamed to ...
44222         * sysdeps/posix/closedir.c: ... here.
44223         * sysdeps/unix/dirfd.c: Renamed to ...
44224         * sysdeps/posix/dirfd.c: ... here.
44225         * sysdeps/unix/dirstream.h: Renamed to ...
44226         * sysdeps/posix/dirstream.h: ... here.
44227         * sysdeps/unix/fdopendir.c: Renamed to ...
44228         * sysdeps/posix/fdopendir.c: ... here.
44229         * sysdeps/unix/opendir.c: Renamed to ...
44230         * sysdeps/posix/opendir.c: ... here.
44231         * sysdeps/unix/readdir.c: Renamed to ...
44232         * sysdeps/posix/readdir.c: ... here.
44233         * sysdeps/unix/readdir_r.c: Renamed to ...
44234         * sysdeps/posix/readdir_r.c: ... here.
44235         * sysdeps/unix/rewinddir.c: Renamed to ...
44236         * sysdeps/posix/rewinddir.c: ... here.
44237         * sysdeps/unix/seekdir.c: Renamed to ...
44238         * sysdeps/posix/seekdir.c: ... here.
44239         * sysdeps/unix/telldir.c: Renamed to ...
44240         * sysdeps/posix/telldir.c: ... here.
44241         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44242         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44243         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44244         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44246         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44247         * bits/fcntl.h: ... here.
44249         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44250         not 0.
44251         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44252         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44253         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44254         (struct flock): Move l_start, l_len to the beginning.
44255         Use __pid_t for l_pid.
44256         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44257         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44258         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44259         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44260         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44261         [__USE_LARGEFILE64] (struct flock64): New type.
44262         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44264         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44265         * bits/dirent.h: ... here.
44267         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44268         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44270 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44272         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44273         Change from 2.6.0 to 2.6.16.
44274         * sysdeps/unix/sysv/linux/configure: Regenerated.
44275         * sysdeps/unix/sysv/linux/kernel-features.h
44276         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44277         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44278         version.
44279         (__ASSUME_UTIMES): Likewise.
44280         (__ASSUME_CLONE_STOPPED): Remove.
44281         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44282         architectures, not kernel version.
44283         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44284         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44285         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44286         (__ASSUME_WAITID_SYSCALL): Likewise.
44287         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44288         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44289         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44290         refer to older versions.
44292 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44294         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44295         Define alphasort64 as an alias.
44296         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44297         Define versionsort64 as an alias.
44298         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44299         Define scandir64 as an alias.
44300         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44301         Define scandirat64 as an alias.
44302         * dirent/alphasort64.c (alphasort64):
44303         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44304         * dirent/versionsort64.c: Likewise.
44305         * dirent/scandir64.c: Likewise.
44306         * dirent/scandirat64.c: Likewise.
44307         * sysdeps/wordsize-64/alphasort.c: File removed.
44308         * sysdeps/wordsize-64/alphasort64.c: File removed.
44309         * sysdeps/wordsize-64/scandir.c: File removed.
44310         * sysdeps/wordsize-64/scandir64.c: File removed.
44311         * sysdeps/wordsize-64/scandirat.c: File removed.
44312         * sysdeps/wordsize-64/scandirat64.c: File removed.
44313         * sysdeps/wordsize-64/versionsort.c: File removed.
44314         * sysdeps/wordsize-64/versionsort64.c: File removed.
44315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44316         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44317         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44318         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44319         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44320         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44321         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44322         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44324         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44326         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44328         [defined __arch64__ || defined __sparcv9]
44329         (__INO_T_MATCHES_INO64_T): New macro.
44330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44331         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44332         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44333         * sysdeps/unix/sysv/linux/bits/dirent.h
44334         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44335         (_DIRENT_MATCHES_DIRENT64): New macro.
44337         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44338         Define lockf64 as an alias.
44339         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44340         Define fseeko64 as an alias.
44341         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44342         Define ftello64 as an alias.
44343         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44344         Define _IO_fgetpos64 and fgetpos64 as aliases.
44345         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44346         Define _IO_fsetpos64 and fsetpos64 as aliases.
44347         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44348         Conditionalize body on this.
44349         * libio/fseeko64.c: Likewise.
44350         * libio/ftello64.c: Likewise.
44351         * libio/iofgetpos64.c: Likewise.
44352         * libio/iofsetpos64.c: Likewise.
44353         * sysdeps/wordsize-64/lockf.c: File removed.
44354         * sysdeps/wordsize-64/lockf64.c: File removed.
44355         * sysdeps/wordsize-64/fseeko.c: File removed.
44356         * sysdeps/wordsize-64/fseeko64.c: File removed.
44357         * sysdeps/wordsize-64/ftello.c: File removed.
44358         * sysdeps/wordsize-64/ftello64.c: File removed.
44359         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44360         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44361         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44362         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44363         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44364         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44365         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44366         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44367         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44368         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44369         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44371         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44372         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44374         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44375         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44376         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44377         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44378         [defined __arch64__ || defined __sparcv9]
44379         (__OFF_T_MATCHES_OFF64_T): New macro.
44380         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44381         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44382         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44383         (__OFF_T_MATCHES_OFF64_T): New macro.
44385 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44387         * stdlib/secure-getenv.c (__secure_getenv): Replace
44388         GLIBC_2_16 with GLIBC_2_17.
44390 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44392         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44393         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44395 2012-08-03  David S. Miller  <davem@davemloft.net>
44397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44399 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44402         Remove.
44403         (__ASSUME_CORRECT_SI_PID): Likewise.
44404         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44405         (__ASSUME_TMPFS_NAME): Likewise.
44406         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44407         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44408         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44409         (HAVE_AUX_SECURE): Make definition unconditional.
44410         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44411         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44413 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44415         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44416         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44417         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44418         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44419         __eloop_threshold instead of SYMLOOP_MAX.
44421         * sysdeps/generic/eloop-threshold.h: New file.
44422         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44423         of MAXSYMLINKS.
44424         * elf/chroot_canon.c (chroot_canon): Likewise.
44426 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44428         [BZ #13717]
44429         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44430         Change to 2.6.0 everywhere.
44431         * sysdeps/unix/sysv/linux/configure: Regenerated.
44432         * sysdeps/unix/sysv/linux/kernel-features.h
44433         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44434         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44435         kernel versions.
44436         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44437         (__ASSUME_FUTEX_REQUEUE): Remove.
44438         (__ASSUME_STATFS64): Define unconditionally.
44439         (__ASSUME_AT_SECURE): Likewise.
44440         (__ASSUME_CORRECT_SI_PID): Likewise.
44441         (__ASSUME_TGKILL): Define without depending on kernel version for
44442         i386.
44443         (__ASSUME_UTIMES): Likewise.
44444         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44445         kernel version.
44446         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44447         (__ASSUME_TMPFS_NAME): Likewise.
44448         * README: Update reference to Linux kernel versions.
44450 2012-08-02  Marek Polacek  <polacek@redhat.com>
44452         [BZ# 14150]
44453         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44454         libc_cv_asm_type_prefix with %.
44455         * configure: Regenerated.
44456         * include/libc-symbols.h: Remove comment about
44457         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44458         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44459         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44460         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44461         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44462         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44463         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44464         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44465         * elf/tst-unique2mod1.c: Likewise.
44466         * elf/tst-unique1mod2.c: Likewise.
44467         * elf/tst-unique1mod1.c: Likewise.
44468         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44469         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44470         Replace ASM_TYPE_DIRECTIVE with .type.
44471         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44472         * sysdeps/i386/sysdep.h: Likewise.
44473         * sysdeps/x86_64/sysdep.h: Likewise.
44474         * sysdeps/sh/sysdep.h: Likewise.
44475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44476         Do not define ASM_TYPE_DIRECTIVE.
44477         * sysdeps/powerpc/sysdep.h: Likewise.
44478         * sysdeps/powerpc/powerpc32/sysdep.h:
44479         Replace ASM_TYPE_DIRECTIVE with .type.
44480         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44481         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44482         * sysdeps/i386/fpu/e_powf.S: Likewise.
44483         * sysdeps/i386/fpu/e_expl.S: Likewise.
44484         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44485         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44486         * sysdeps/i386/fpu/e_pow.S: Likewise.
44487         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44488         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44489         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44490         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44491         * sysdeps/i386/fpu/e_log2.S: Likewise.
44492         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44493         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44494         * sysdeps/i386/fpu/e_powl.S: Likewise.
44495         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44496         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44497         * sysdeps/i386/fpu/e_logl.S: Likewise.
44498         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44499         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44500         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44501         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44502         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44503         * sysdeps/i386/fpu/e_log.S: Likewise.
44504         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44505         * sysdeps/i386/fpu/e_logf.S: Likewise.
44506         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44507         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44508         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44509         * sysdeps/i386/fpu/e_log10.S: Likewise.
44510         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44511         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44512         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44513         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44514         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44515         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44516         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44517         * sysdeps/i386/i686/strtok.S: Likewise.
44518         * sysdeps/i386/i386-mcount.S: Likewise.
44519         * sysdeps/i386/strtok.S: Likewise.
44520         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44521         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44522         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44523         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44524         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44525         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44526         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44527         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44528         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44529         * sysdeps/x86_64/_mcount.S: Likewise.
44530         * sysdeps/x86_64/strtok.S: Likewise.
44531         * sysdeps/sh/_mcount.S: Likewise.
44533 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44535         * libio/iofopen.c: Include <fcntl.h>.
44536         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44537         (_IO_fopen64, fopen64): Define as aliases.
44538         * libio/iofopen64.c: Include <fcntl.h>.
44539         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44540         Conditionalize body on this.
44541         * sysdeps/wordsize-64/iofopen.c: File removed.
44542         * sysdeps/wordsize-64/iofopen64.c: File removed.
44544 2012-08-01  Marek Polacek  <polacek@redhat.com>
44546         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44547         Use dlfcn directly instead of a variable.
44548         (binfmt-subdir): Do not define.
44549         (dlfcn): Likewise.
44551 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44553         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44554         Remove all definitions.
44555         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44556         <kernel-features.h>.
44557         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44558         (miss_F_GETOWN_EX): Remove all definitions.
44559         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44560         macro definition.
44561         [!__ASSUME_FCNTL64]: Remove conditional code.
44562         [__ASSUME_FCNTL64]: Make code unconditional.
44563         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44564         <kernel-features.h>.
44565         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44566         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44567         (lockf64) [__NR_fcntl64]: Make code unconditional.
44568         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44570         * sysdeps/unix/sysv/linux/kernel-features.h
44571         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44572         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44573         Make code unconditional.
44574         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44575         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44577         [__NR_vfork]: Make code unconditional.
44578         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44579         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44581         [__NR_vfork]: Make code unconditional.
44582         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44583         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44585 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44587         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44588         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44590         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44591         Define mkstemp64 as an alias.
44592         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44593         Define mkstemps64 as an alias.
44594         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44595         Define mkostemp64 as an alias.
44596         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44597         Define mkostemps64 as an alias.
44598         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44599         Conditionalize body on this.
44600         * misc/mkostemp64.c: Likewise.
44601         * misc/mkostemps64.c: Likewise.
44602         * misc/mkstemps64.c: Likewise.
44603         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44604         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44605         * sysdeps/wordsize-64/mkostemp.c: File removed.
44606         * sysdeps/wordsize-64/mkstemp.c: File removed.
44607         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44608         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44609         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44610         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44612         [BZ #14138]
44613         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44614         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44615         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44616         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44618         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44619         compat_symbol macros from <shlib-compat.h> rather than the underlying
44620         default_symbol_version and symbol_version macros, so that DEFAULT
44621         lines in shlib-versions are respected.
44622         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44624 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44626         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44627         Declare with warn_unused_result.
44628         (setgid, setregid, setegid, setresgid): Likewise.
44629         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44630         Likewise.
44631         * WUR-REPORT: Remove set*id functions.
44633 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44635         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44637 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44639         [BZ #10191]
44640         * include/sys/socket.h (__libc_accept, __libc_accept4):
44641         Add attribute_hidden.
44642         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44644         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44645         use of PTR_MANGLE.
44646         * inet/getnetgrent_r.c (setup): Likewise.
44648         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44650 2012-07-31  David S. Miller  <davem@davemloft.net>
44652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44654 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44656         [BZ #13629]
44657         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44658         value between 1.0 and 2.0 and smaller part has absolute value less
44659         than 1.0.
44660         * math/s_clog10.c (__clog10): Likewise.
44661         * math/s_clog10f.c (__clog10f): Likewise.
44662         * math/s_clog10l.c (__clog10l): Likewise.
44663         * math/s_clogf.c (__clogf): Likewise.
44664         * math/s_clogl.c (__clogl): Likewise.
44665         * math/libm-test.inc (clog_test): Add more tests.
44666         (clog10_test): Likewise.
44667         * sysdeps/i386/fpu/libm-test-ulps: Update.
44668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44670 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44672         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44673         Exit with zero in case no suitable GID is found, and write a
44674         message to standard error.
44676 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44678         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44679         rather than to 1.
44680         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44681         (MAXPATHLEN): Removed.
44682         (NOGROUP, NODEV): New macros.
44683         (setbit, clrbit, isset, isclr): New macros.
44684         (howmany, roundup, powerof2): New macros.
44685         (DEV_BSIZE): New macro.
44687         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44688         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44690         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44691         definition on [!__NO_LONG_DOUBLE_MATH].
44693         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44694         PTR_MANGLE and PTR_DEMANGLE.
44696         * socket/accept4.c (accept4): Rename to __libc_accept4.
44697         Define accept4 as a weak alias.
44699         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44700         on [_DIRENT_HAVE_D_TYPE].
44701         * io/ftw.c (ftw_dir): Likewise.
44703         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44705         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44707         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44708         Use the BSD numbers rather than the arbitrary ones we had.
44709         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44710         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44711         (SIGXCPU, SIGXFSZ): New macros.
44712         (_NSIG): Now 32.
44714         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44715         initializer on [_LIBC_REENTRANT].
44717         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44718         definitions inside [_POSIX_MAPPED_FILES].
44720         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44722         * dirent/opendir.c: Include <fcntl.h>.
44724         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44725         (__libc_getspecific): Likewise.
44726         (__libc_key_create): Likewise.
44728         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44729         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44730         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44731         (tmpfile64): Define as alias.
44732         * sysdeps/wordsize-64/tmpfile.c: File removed.
44733         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44734         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44735         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44737         * stdio-common/vfscanf.c: Include <stdbool.h>.
44738         * nss/makedb.c: Likewise.
44739         * stdio-common/_i18n_number.h: Likewise.
44740         * argp/argp-help.c: Likewise.
44741         * posix/wordexp.c: Likewise.
44742         * sysdeps/posix/spawni.c: Likewise.
44743         * nss/nss_files/files-initgroups.c: Likewise.
44744         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44745         * nss/nss_files/files-initgroups.c: Likewise.
44746         * nss/nss_db/db-netgrp.c: Likewise.
44747         * nss/nss_db/db-initgroups.c: Likewise.
44748         * io/fchmodat.c: Include <sys/stat.h>.
44750         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44751         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44753         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44754         [HAVE_MMAP].
44756         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44757         Add multiple inclusion protection.
44759 2012-07-27  David S. Miller  <davem@davemloft.net>
44761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44763 2012-07-27  Gary Benson  <gbenson@redhat.com>
44765         [BZ #14298]
44766         * elf/rtld.c: Include <stap-probe.h>.
44767         (dl_main): Added static probes "init_start" and "init_complete".
44768         * elf/dl-load.c: Include <stap-probe.h>.
44769         (lose): Take new parameter "nsid".
44770         Added static probe "map_failed".
44771         (_dl_map_object_from_fd): Pass namespace id to lose.
44772         Added static probe "map_start".
44773         (open_verify): Pass namespace id to lose.
44774         * elf/dl-open.c: Include <stap-probe.h>.
44775         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44776         and "reloc_complete".
44777         * elf/dl-close.c: Include <stap-probe.h>.
44778         (_dl_close_worker): Added static probes "unmap_start" and
44779         "unmap_complete".
44780         * elf/rtld-debugger-interface.txt: New file documenting the above.
44782 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44784         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44785         rather than a string variable.
44786         * sunrpc/rpc_main.c (h_output): Likewise.
44787         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44789 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44791         * inet/check_native.c: New file.
44793 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44795         [BZ #13629]
44796         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44797         if larger part has absolute value 1.0.
44798         * math/s_clog10.c (__clog10): Likewise.
44799         * math/s_clog10f.c (__clog10f): Likewise.
44800         * math/s_clog10l.c (__clog10l): Likewise.
44801         * math/s_clogf.c (__clogf): Likewise.
44802         * math/s_clogl.c (__clogl): Likewise.
44803         * math/libm-test.inc (clog_test): Add more tests.
44804         (clog10_test): Likewise.
44805         * sysdeps/i386/fpu/libm-test-ulps: Update.
44806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44808         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44809         (pltexit): Likewise.
44810         (La_regs): Likewise.
44811         (La_retval): Likewise.
44812         (int_retval): Likewise.
44813         Update #error for removed macros to refer only to definitions in
44814         tst-audit.h.
44815         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44816         macro.
44817         (pltexit): Likewise.
44818         (La_regs): Likewise.
44819         (La_retval): Likewise.
44820         (int_retval): Likewise.
44821         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44822         macro.
44823         (pltexit): Likewise.
44824         (La_regs): Likewise.
44825         (La_retval): Likewise.
44826         (int_retval): Likewise.
44827         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44828         macro.
44829         (pltexit): Likewise.
44830         (La_regs): Likewise.
44831         (La_retval): Likewise.
44832         (int_retval): Likewise.
44833         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44834         macro.
44835         (pltexit): Likewise.
44836         (La_regs): Likewise.
44837         (La_retval): Likewise.
44838         (int_retval): Likewise.
44839         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44840         macro.
44841         (pltexit): Likewise.
44842         (La_regs): Likewise.
44843         (La_retval): Likewise.
44844         (int_retval): Likewise.
44845         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44846         macro.
44847         (pltexit): Likewise.
44848         (La_regs): Likewise.
44849         (La_retval): Likewise.
44850         (int_retval): Likewise.
44851         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44852         macro definitions in tst-audit.h.
44853         * sysdeps/i386/tst-audit.h: New file.
44854         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44855         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44856         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44857         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44858         * sysdeps/sh/tst-audit.h: Likewise.
44859         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44860         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44861         * sysdeps/x86_64/tst-audit.h: Likewise.
44863 2012-07-26  Andreas Jaeger  <aj@suse.de>
44865         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44866         ptrace.
44868         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44869         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44870         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44871         PTRACE_O_MASK.
44872         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44873         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44874         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44876         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44877         value.
44879         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44880         _sigsys.
44881         (si_call_addr, si_syscall, si_arch): Define new macro.
44882         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44883         _sigsys.
44884         (si_call_addr, si_syscall, si_arch): Define new marcro.
44885         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44886         _sigsys.
44887         (si_call_addr, si_syscall, si_arch): Define new macro.
44888         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44889         _sigsys.
44890         (si_call_addr, si_syscall, si_arch): Define new macro.
44892 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44894         [BZ #13717]
44895         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44896         Change to 2.4.21 where previously 2.4.1.
44897         * sysdeps/unix/sysv/linux/configure: Regenerated.
44898         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44899         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44900         Linux kernel version.
44901         (__ASSUME_STD_AUXV): Remove.
44902         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44903         kernel version.
44904         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44905         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44906         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44907         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44908         (__ASSUME_NETLINK_SUPPORT): Likewise.
44909         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44910         (__no_netlink_support): Remove conditional definition.
44911         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44912         Remove.
44913         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44914         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44915         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44916         (if_nameindex_ioctl): Remove.
44917         (if_nameindex_netlink): Do not handle __no_netlink_support.
44918         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44919         code.
44920         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44921         Remove conditional code.
44922         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44923         code.
44924         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44925         unconditional.
44926         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44927         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44928         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44929         Remove.
44930         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44931         [!__ASSUME_STD_AUXV]: Remove conditional code.
44932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44933         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44934         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44936         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44937         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44938         code.
44939         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44941         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44942         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44943         conditional code.
44944         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44946         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44947         code.
44948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44949         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44950         conditional code.
44951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44952         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44953         code unconditional.
44954         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44955         conditional code.
44956         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44957         unconditional.
44958         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44959         conditional code.
44960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44961         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44962         unconditional.
44963         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44964         conditional code.
44965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44966         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44967         code unconditional.
44968         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44969         conditional code.
44970         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44971         unconditional.
44972         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44973         conditional code.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44975         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44976         code unconditional.
44977         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44978         conditional code.
44979         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44980         unconditional.
44981         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44982         conditional code.
44984 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44986         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44987         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44988         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44989         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44990         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44991         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44992         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44993         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44994         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44995         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44996         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44997         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44998         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44999         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45000         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45001         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45002         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45003         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45004         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45006         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45007         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45008         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45010 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45012         * Versions.def: Add GLIBC_2.17.
45013         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45014         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45015         Introduce __libc_secure_getenv.
45016         * stdlib/Versions (2.17): Add secure_getenv
45017         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45018         * stdlib/secure-getenv.c: Rename __secure_getenv to
45019         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45020         symbol __secure_getenv for GLIBC_2.0.
45021         * stdlib/tst-secure-getenv.c: New.
45022         * stdlib/Makefile (tests): Add testcase.
45023         * manual/startup.texi (Environment Access): Document
45024         secure_getenv.
45025         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45026         __libc_secure_getenv.
45027         * inet/ruserpass.c (ruserpass): Likewise.
45028         * malloc/mtrace.c (mtrace): Likewise.
45029         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45030         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45031         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45032         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45033         HAVE_SECURE_GETENV.
45034         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45035         __secure_getenv to __libc_secure_getenv.
45036         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45038         Likewise.
45039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45040         Likewise.
45041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45049 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45051         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45052         (struct La_i86_retval): Likewise.
45053         (struct La_x86_64_regs): Likewise.
45054         (struct La_x86_64_retval): Likewise.
45055         (struct La_x32_regs): Likewise.
45056         (struct La_x32_retval): Likewise.
45057         (struct La_ppc32_regs): Likewise.
45058         (struct La_ppc32_retval): Likewise.
45059         (struct La_ppc64_regs): Likewise.
45060         (struct La_ppc64_retval): Likewise.
45061         (struct La_sh_regs): Likewise.
45062         (struct La_sh_retval): Likewise.
45063         (struct La_s390_32_regs): Likewise.
45064         (struct La_s390_32_retval): Likewise.
45065         (struct La_s390_64_regs): Likewise.
45066         (struct La_s390_64_retval): Likewise.
45067         (struct La_sparc32_regs): Likewise.
45068         (struct La_sparc32_retval): Likewise.
45069         (struct La_sparc64_regs): Likewise.
45070         (struct La_sparc64_retval): Likewise.
45071         (struct audit_ifaces): Remove architecture-specific pltenter and
45072         pltexit members.
45073         * sysdeps/i386/ldsodefs.h: New file.
45074         * sysdeps/powerpc/ldsodefs.h: Likewise.
45075         * sysdeps/s390/ldsodefs.h: Likewise.
45076         * sysdeps/sh/ldsodefs.h: Likewise.
45077         * sysdeps/sparc/ldsodefs.h: Likewise.
45078         * sysdeps/x86_64/ldsodefs.h: Likewise.
45080 2012-07-25  Marek Polacek  <polacek@redhat.com>
45082         [BZ #6808]
45083         * math/libm-test.inc (yn_test): Add another test.
45084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45085         to ERANGE when the result is +-Inf.
45086         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45087         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45088         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45089         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45091 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45093         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45094         equal to 0.
45095         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45096         clock_t.
45097         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45099 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45101         * configure.in <sysdeps resolving>: Correct printing
45102         Implies_before.
45103         * configure: Regenerate.
45105 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45107         * math/w_ilogb.c: Include <limits.h>.
45108         * math/w_ilogbl.c: Likewise.
45110 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45112         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45113         va_copy.  Document allowing for unavailable va_copy only as
45114         pre-C99 compatibility.
45115         * manual/string.texi (Copying and Concatenation): Use va_copy
45116         instead of __va_copy in concat example.
45118 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45120         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45121         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45122         it if not null.
45124         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45125         with O_NOLINK passed to __file_name_lookup.
45127         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45128         with O_NOLINK passed to __file_name_lookup.
45130         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45131         negative N or less than NGIDS.
45133         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45134         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45135         enough.  Use memcpy instead of strncpy.
45137 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45139         * elf/Makefile (check-data): Remove.
45140         (localplt.data): New vpath directive.
45141         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45142         instead of $(check-data).
45143         * scripts/data/localplt-generic.data: Move to ...
45144         * sysdeps/generic/localplt.data: ... here.
45145         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45146         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45147         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45149         ... here.
45150         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45152         ... here.
45153         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45155         ... here.
45156         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45158         ... here.
45159         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45161         ... here.
45162         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45164         ... here.
45166 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45168         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45169         PPC32 and PPC64 files.
45170         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45171         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45173 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45175         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45176         __makecontext_ret to ...
45177         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45178         ... here and call exit if uc_link is NULL.  New file.
45179         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45180         __makecontext_ret.S.
45181         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45182         __makecontext_ret to ...
45183         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45184         ... here and call exit if uc_link is NULL.  New file.
45185         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45186         __makecontext_ret.S.
45188 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45190         * elf/elf.h (R_390_IRELATIVE): New definition.
45191         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45192         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45193         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45194         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45195         (elf_machine_lazy_rel): Likewise.
45196         * sysdeps/s390/dl-irel.h: New file.
45197         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45198         * sysdeps/s390/s390-64/memset.S: New asm code.
45199         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45200         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45201         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45202         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45203         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45204         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45205         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45206         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45207         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45208         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45209         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45210         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45211         * sysdeps/s390/s390-32/memset.S: New asm code.
45212         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45214 2012-07-17  Marek Polacek  <polacek@redhat.com>
45216         [BZ #14349]
45217         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45218         * sysdeps/s390/s390-64/configure.in: Likewise.
45219         * sysdeps/sparc/configure.in: Likewise.
45220         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45221         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45222         * sysdeps/i386/configure.in: Likewise.
45223         * sysdeps/x86_64/configure.in: Likewise.
45224         * sysdeps/sh/configure.in: Likewise.
45225         * sysdeps/s390/s390-32/configure: Regenerated.
45226         * sysdeps/s390/s390-64/configure: Likewise.
45227         * sysdeps/x86_64/configure: Likewise.
45228         * sysdeps/sh/configure: Likewise.
45229         * sysdeps/powerpc/powerpc64/configure: Likewise.
45230         * sysdeps/powerpc/powerpc32/configure: Likewise.
45231         * sysdeps/sparc/configure: Likwise.
45232         * sysdeps/i386/configure: Likewise.
45234         * elf/dl-open.c: Comment fixes.
45236 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45238         * Makefile [CXX] (check-data): Remove.
45239         [CXX] (c++-types.data): New vpath directive.
45240         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45241         vpath.  Do not allow for C++ type data being missing.
45242         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45243         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45244         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45245         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45246         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45247         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45248         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45250         ... here.
45251         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45253         ... here.
45254         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45256         ... here.
45257         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45259         ... here.
45260         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45262         ... here.
45263         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45265         ... here.
45266         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45268         ... here.
45269         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45272         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45273         definitions to architecture-specific files.
45274         (TLS_IE): Likewise.
45275         (TLS_LD): Likewise.
45276         (TLS_GD): Likewise.
45277         * sysdeps/i386/tls-macros.h: New file.
45278         * sysdeps/powerpc/tls-macros.h: Likewise.
45279         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45280         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45281         * sysdeps/sh/tls-macros.h: Likewise.
45282         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45283         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45284         * sysdeps/x86_64/tls-macros.h: Likewise.
45286 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45288         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45289         zero value for regular exit case.
45291         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45292         (__start_context): Preserve zero value for regular exit case.
45294 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45295             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45297         * manual/setjmp.texi (setcontext): Clarify normal process
45298         termination when uc_link is the null pointer.
45299         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45300         exit call.
45302 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45304         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45305         preprocessor.  Test for each exception mask separately.
45307 2012-07-16  Andreas Jaeger  <aj@suse.de>
45309         * po/ru.po: Update from translation team.
45311 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45313         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45314         equal to 0.
45315         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45316         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45317         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45318         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45319         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45321 2012-07-13  Andreas Jaeger  <aj@suse.de>
45323         * po/fr.po: Update from translation team.
45325 2012-07-12  Marek Polacek  <polacek@redhat.com>
45327         [BZ #14173]
45328         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45329         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45330         loop condition.
45332 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45334         [BZ #13717]
45335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45336         Change to 2.4.1 where previously 2.4.0.
45337         * sysdeps/unix/sysv/linux/configure: Regenerated.
45338         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45339         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45340         version.
45341         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45342         (__ASSUME_AT_CLKTCK): Remove.
45343         (__ASSUME_AT_PAGESIZE): Likewise.
45344         (__ASSUME_AT_XID): Likewise.
45345         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45346         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45347         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45348         unconditionally.
45349         (HAVE_AUX_PAGESIZE): Likewise.
45350         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45351         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45352         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45354 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45356         [BZ #14307]
45357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45358         the temporary buffer used to invoke __gethostbyname2_r,
45359         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45360         host_data / struct gaih_addrtuple.
45361         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45362         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45363         header file nss/nsswitch.h.
45364         * nss/nsswitch.h (global scope): Add definition of implementation
45365         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45366         resolv/nss_dns/dns-host.c).
45368 2012-07-11  Andreas Jaeger  <aj@suse.de>
45370         * po/fr.po: Update from translation team.
45372         * po/sv.po: Update from translation team
45373         * po/fr.po: Another update from translation team.
45375 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45377         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45378         for subnormals or multiply small sinh result by itself.
45379         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45382 2012-07-11  David S. Miller  <davem@davemloft.net>
45384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45386 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45388         [BZ #14347]
45389         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45390         (INTERNAL_MARK): Shift it here.
45392 2012-07-10  Marek Polacek  <polacek@redhat.com>
45394         [BZ #14151]
45395         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45396         libc_cv_asm_global_directive with .globl.
45397         * configure: Regenerated.
45398         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45399         with .globl.
45400         * sysdeps/i386/configure: Regenerated.
45401         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45402         with .globl.
45403         * sysdeps/x86_64/configure: Regenerated.
45404         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45405         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45406         * elf/tst-unique2mod2.c: Likewise.
45407         * elf/tst-unique2mod1.c: Likewise.
45408         * elf/tst-unique1mod2.c: Likewise.
45409         * elf/tst-unique1mod1.c: Likewise.
45410         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45411         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45413         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45414         * sysdeps/mach/sysdep.h: Likewise.
45415         * sysdeps/i386/sysdep.h: Likewise.
45416         * sysdeps/i386/i386-mcount.S: Likewise.
45417         * sysdeps/x86_64/_mcount.S: Likewise.
45418         * sysdeps/x86_64/sysdep.h: Likewise.
45419         * sysdeps/sh/_mcount.S: Likewise.
45420         * sysdeps/sh/sysdep.h: Likewise.
45421         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45422         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45423         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45424         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45425         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45426         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45427         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45428         * locale/localeinfo.h: Likewise.
45429         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45430         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45432 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45434         [BZ #14336]
45435         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45436         system".
45437         * manual/message.texi (The Uniforum approach): Likewise.
45438         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45439         (glibc iconv Implementation): Likewise.
45441 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45443         [BZ #14337]
45444         * math/s_clog.c (__clog): Avoid scaling a value down where that
45445         could result in underflow.
45446         * math/s_clog10.c (__clog10): Likewise.
45447         * math/s_clog10f.c (__clog10f): Likewise.
45448         * math/s_clog10l.c (__clog10l): Likewise.
45449         * math/s_clogf.c (__clogf): Likewise.
45450         * math/s_clogl.c (__clogl): Likewise.
45451         * math/libm-test.inc (clog_test): Add more tests.
45452         (clog10_test): Likewise.
45453         * sysdeps/i386/fpu/libm-test-ulps: Update.
45454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45456 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45458         [BZ #14283]
45459         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45460         by 7 not 8 to examine high bit of fractional part.
45462         [BZ #14042]
45463         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45464         for call to __mcount_internal.
45465         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45466         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45467         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45469 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45471         [BZ #14154]
45472         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45473         approximation for values within 0x1p-13f of an odd multiple of
45474         pi/4.
45475         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45476         exception.  Add more tests.
45477         * sysdeps/i386/fpu/libm-test-ulps: Update.
45479         [BZ #6778]
45480         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45481         inputs and return -1 for them.  Do not check for +Inf in case not
45482         reachable for +Inf.
45483         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45484         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45485         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45486         and return -1 for them.  Do not check for +Inf in case not
45487         reachable for +Inf.
45488         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45489         define.
45490         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45491         and return -1 for them.  Do not check for +Inf in case not
45492         reachable for +Inf.
45493         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45494         spurious underflow.
45495         * sysdeps/i386/fpu/libm-test-ulps: Update.
45496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45498 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45500         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45502 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45504         [BZ #14157]
45505         [BZ #14331]
45506         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45507         could result in spurious underflow.  Scale down values above
45508         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45509         * math/s_csqrtf.c (__csqrtf): Likewise.
45510         * math/s_csqrtl.c (__csqrtl): Likewise.
45511         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45512         spurious underflow.
45513         * sysdeps/i386/fpu/libm-test-ulps: Update.
45514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45516 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45518         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45519         xopen-msg.sed.
45520         * catgets/xopen-msg.awk: New file.
45521         * catgets/xopen-msg.sed: Removed.
45523         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45524         po2text.sed.
45525         * intl/po2test.awk: New file.
45526         * intl/po2test.sed: Removed.
45528 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45530         [BZ #14328]
45531         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45532         or multiply small sinh result by itself.
45533         * math/s_ctanf.c (__ctanf): Likewise.
45534         * math/s_ctanh.c (__ctanh): Likewise.
45535         * math/s_ctanhf.c (__ctanhf): Likewise.
45536         * math/s_ctanhl.c (__ctanhl): Likewise.
45537         * math/s_ctanl.c (__ctanl): Likewise.
45538         * math/libm-test.inc (ctan_test_tonearest): New function.
45539         (ctan_test_towardzero): Likewise.
45540         (ctan_test_downward): Likewise.
45541         (ctan_test_upward): Likewise.
45542         (ctanh_test_tonearest): Likewise.
45543         (ctanh_test_towardzero): Likewise.
45544         (ctanh_test_downward): Likewise.
45545         (ctanh_test_upward): Likewise.
45546         (main): Call these new functions.
45547         * sysdeps/i386/fpu/libm-test-ulps: Update.
45548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45550 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45552         * .gitignore: Delete /ports entry.
45554 2012-07-03  Andreas Jaeger  <aj@suse.de>
45556         * po/bg.po: Update from translation team.
45557         * po/cs.po: Likewise.
45558         * po/de.po: Likewise.
45559         * po/hr.po: Likewise.
45560         * po/nl.pl: Likewise.
45561         * po/pl.po: Likewise.
45562         * po/vi.po: Likewise.
45564 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45566         * Makeconfig [!+link] (+link-before-libc): New variable.
45567         [!+link] (+link-after-libc): Likewise.
45568         [!+link] (+link-tests): Likewise.
45569         [!+link] (+link): Define in terms of $(+link-before-libc) and
45570         $(+link-after-libc).
45571         [!+link-static] (+link-static-before-libc): New variable.
45572         [!+link-static] (+link-static-after-libc): Likewise.
45573         [!+link-static] (+link-static-tests): Likewise.
45574         [!+link-static] (+link-static): Define in terms of
45575         $(+link-static-before-libc) and $(+link-static-after-libc).
45576         [build-shared] (link-libc-before-gnulib): New variable.
45577         [build-shared] (link-libc-tests): Likewise.
45578         [build-shared] (link-libc): Define in terms of
45579         $(link-libc-before-gnulib).
45580         [!build-shared] (link-libc-tests): New variable.
45581         (link-libc-static-tests): New variable.
45582         [!gnulib] (gnulib-arch): New variable.
45583         [!gnulib] (gnulib-tests): Likewise.
45584         [!gnulib] (static-gnulib-arch): Likewise.
45585         [!gnulib] (static-gnulib-tests): Likewise.
45586         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45587         Define with "=" instead of ":=".
45588         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45589         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45590         * Rules (binaries-all-notests): New variable.
45591         (binaries-all-tests): Likewise.
45592         (binaries-static-notests): Likewise.
45593         (binaries-static-tests): Likewise.
45594         (binaries-all): Define using $(binaries-all-notests) and
45595         $(binaries-all-tests).
45596         (binaries-static): Define using $(binaries-static-notests) and
45597         $(binaries-static-tests).
45598         (binaries-shared-tests): New variable.
45599         (binaries-shared-notests): Likewise.
45600         (binaries-shared): Remove variable.
45601         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45602         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45603         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45604         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45605         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45606         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45607         * elf/Makefile (sln-modules): New variable.
45608         (extra-objs): Add $(sln-modules:=.o).
45609         (ldconfig-modules): Add static-stubs.
45610         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45611         * elf/static-stubs.c: New file.
45613         [BZ #14283]
45614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45615         by 7 not 8 to examine high bit of fractional part.  Use volatile
45616         variables when splitting into final array of floats if
45617         __FLT_EVAL_METHOD__ != 0.
45618         * math/libm-test.inc (cos_test): Add another test.
45619         (sin_test): Likewise.
45620         * sysdeps/i386/fpu/libm-test-ulps: Update.
45622         [BZ #14273]
45623         * math/libm-test.inc (cosh_test): Add more tests.
45625         * version.h (RELEASE): Set to "development".
45626         (VERSION): Set to "2.16.90".
45628 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45630         * NEWS: Update copyright. Remove last-updated date.
45631         Mention math library bug fixes and timezone data changes.
45632         * README: Mention GNU/Hurd, x32, and HPPA support status.
45634 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45636         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45638 2012-06-27  Andreas Jaeger  <aj@suse.de>
45640         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45642 2012-06-25  Andreas Jaeger  <aj@suse.de>
45644         * sysdeps/s390/fpu/libm-test-ulps: Update.
45646 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45647             Thomas Schwinge  <thomas@codesourcery.com>
45649         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45650         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45651         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45652         fanotify_mark.
45654 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45656         * sysdeps/mach/start.c: Remove file.
45657         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45658         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45659         * sysdeps/sh/init-first.c: Likewise.
45661         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45662         registers for frame unwinding purposes, add CFI directives.
45663         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45664         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45665         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45666         Likewise.
45668         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45669         __fortify_fail returning.
45670         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45672         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45673         sysdeps/sh/____longjmp_chk.S.
45674         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45675         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45676         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45677         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45679         * sysdeps/sh/abort-instr.h: New file.
45680         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45681         process in case exit returns.
45683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45684         initialize the GOT register before use.
45686         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45687         calculation of ARGC > 4.
45689         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45690         meaningful names to some local labels.
45692 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45693             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45695         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45696         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45697         (__arch_compare_and_exchange_val_16_acq): Likewise.
45698         (__arch_compare_and_exchange_val_32_acq): Likewise.
45699         (atomic_exchange_and_add): Fix gUSA sequence.
45700         (atomic_add): Likewise.
45701         (atomic_add_negative): Likewise.
45702         (atomic_add_zero): Likewise.
45703         (atomic_bit_test_set): Likewise.
45705 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45707         [BZ #13579]
45708         * include/link.h (struct link_map): Add l_free_initfini.
45709         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45710         l_initfini.
45711         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45712         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45713         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45714         set.
45716 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45718         * configure.in: Use AC_LANG_SOURCE.
45719         * configure: Regenerate.
45721 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45723         * configure.in (libc_cv_localstatedir): New substituted variable.
45724         * configure: Regenerated.
45725         * config.make.in (localstatedir): New variable, substituted from
45726         libc_cv_localstatedir.
45727         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45728         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45729         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45730         * sysdeps/gnu/configure: Regenerated.
45732 2012-06-21  Jeff Law  <law@redhat.com>
45734         [BZ #14277]
45735         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45736         free.  Simplify list management for _LIBC case.
45738 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45740         [BZ #14273]
45741         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45742         Clear sign bit of 64-bit integer value before comparing against
45743         overflow value.
45745         * sysdeps/mach/configure: Regenerated.
45747 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45749         [BZ #14278]
45750         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45752 2012-06-21  Jeff Law  <law@redhat.com>
45754         [BZ #13882]
45755         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45756         uint16_t for elements in the "seen" array to avoid char overflows.
45757         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45758         * elf/dl-open.c (dl_open_worker): Likewise.
45760 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45762         * scripts/list-sources.sh: Scan PORTS for translations.
45763         * po/libc.pot: Regenerated.
45765 2012-06-21  Andreas Jaeger  <aj@suse.de>
45767         [BZ #12194]
45768         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45769         warning.
45770         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45771         * bits/byteswap-16.h (__bswap_16): Likewise.
45772         * bits/byteswap.h (__bswap_constant_16): Likewise.
45774 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45776         [BZ #14117]
45777         * sysdeps/i386/fpu_control.h: Removed.
45778         * sysdeps/x86_64/fpu_control.h: Moved to ...
45779         * sysdeps/x86/fpu_control.h: Here.
45781         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45782         (_FPU_SETCW): Likewise.
45784 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45786         [BZ #14117]
45787         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45788         * sysdeps/x86/fpu/bits/mathinline.h: This.
45789         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45791         [BZ #14050]
45792         [BZ #14117]
45793         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45794         functions if __x86_64__ is defined.
45796 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45798         * string/endian.h: Add !__ASSEMBLER__ condition for including
45799         conversion interfaces.
45801 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45803         [BZ #14241]
45804         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45805         of ABS(x) in calculating zero to negative powers other than odd
45806         integers.
45807         * math/libm-test.inc (pow_test): Add more tests.
45809 2012-06-15  Andreas Jaeger  <aj@suse.de>
45811         * manual/contrib.texi (Contributors): Update entry of Liubov
45812         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45813         Machado Filho.
45815 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45817         * string/string.h: Add __wur to GNU version of strerror_r.
45819 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45821         [BZ #14229]
45822         * string/Makefile (tests): Add tst-strtok_r.
45823         * string/tst-strtok_r.c: New file.
45824         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45825         RAX_LP/RDX_LP on SAVE_PTR.
45827 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45829         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45831 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45833         * libm_test.inc (csqrt_test): Allow more spurious underflow
45834         exceptions.
45835         (j0_test): Likewise.
45836         (j1_test): Likewise.
45837         (y0_test): Likewise.
45838         (y1_test): Likewise.
45840 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45842         * po/Makefile (libc.pot): Use UTF-8 charset.
45844 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45846         [BZ #14210]
45847         Suppress sign-conversion warning from FD_SET.
45848         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45849         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45850         not unsigned long int.
45851         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45853 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45855         [BZ #14050]
45856         [BZ #14117]
45857         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45858         __extern_always_inline instead of __extern_inline.
45859         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45860         (__signbit): Likewise.
45861         (__signbitl): Support C++ namespace.
45862         (lrintf): New inline function.
45863         (lrint): Likewise.
45864         (llrintf): Likewise.
45865         (llrint): Likewise.
45866         (fmaxf): Likewise.
45867         (fmax): Likewise.
45868         (fminf): Likewise.
45869         (fmin): Likewise.
45870         (rint): Likewise.
45871         (rintf): Likewise.
45872         (ceil): Likewise.
45873         (ceilf): Likewise.
45874         (floor): Likewise.
45875         (floorf): Likewise.
45876         (nearbyint): Likewise.
45877         (nearbyintf): Likewise.
45879 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45882         non-default versions.
45884 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45886         [BZ #14218]
45887         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45889 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45891         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45892         (FE_UPWARD, FE_DOWNWARD): Don't define.
45893         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45894         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45896         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45897         reading it.
45898         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45899         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45901 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45903         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45904         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45905         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45906         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45908 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45910         [BZ #14117]
45911         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45912         * sysdeps/i386/fpu/Implies: New file.
45913         * sysdeps/x86_64/fpu/Implies: Likewise.
45914         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45915         * sysdeps/x86/fpu/bits/fenv.h: This.
45917         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45918         __SSE_MATH__.
45920 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45922         [BZ #14134]
45923         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45924         character 0xffff that matches the last element of the
45925         conversion table.
45927 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45930         fmodl commit.
45932 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45935         values higher than 25.6283.
45937 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45940         subnormal exponent extraction and add some __builtin_expect.
45941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45942         Fix for subnormal mantissa calculation.
45944 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45946         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45947         cpu2 is -1 and errno is not ENOSYS.
45949 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45951         [BZ #14117]
45952         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45953         * sysdeps/x86/bits/string.h: This.
45954         * sysdeps/x86_64/bits/string.h: Removed.
45956         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45957         if not compiling for x86-64, but compiling for >= i486.
45959         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45960         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45962         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45963         New macro from Linux kernel 3.4.0.
45964         (FP_XSTATE_MAGIC2): Likewise.
45965         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45966         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45967         (struct _fpx_sw_bytes): New struct.
45968         (struct _xsave_hdr): Likewise.
45969         (struct _ymmh_state): Likewise.
45970         (struct _xstate): Likewise.
45972         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45973         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45974         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45975         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45976         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45977         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45979         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45980         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45981         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45982         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45983         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45984         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45986 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45988         [BZ #13743]
45989         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45990         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45991         (sysdep_headers): Include sys/platform/ppc.h.
45992         * sysdeps/powerpc/test-gettimebase.c: Test for
45993         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45994         * manual/Makefile (appendices): Include platform.texi.
45995         * manual/contrib.texi (Contributors): Update @node pointers.
45996         * manual/maint.texi (Maintenance): Likewise.
45997         (Platform): New node.
45998         * manual/platform.texi: New file.  Document the new features.
46000 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46001             Jakub Jelinek  <jakub@redhat.com>
46003         [BZ #14188]
46004         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46005         where __builtin_expect is unavailable.
46007 2012-06-03  David S. Miller  <davem@davemloft.net>
46009         * stdlib/longlong.h: Updated from GCC.
46011 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46013         [BZ #14042]
46014         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46015         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46016         __mcount_internal.
46017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46018         (GLIBC_2.16): Likewise.
46020 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46022         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46024 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46027         (default-abi): New variable.
46028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46029         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46030         variable.
46031         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46032         Likewise.
46033         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46034         Likewise.
46035         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46036         Likewise.
46038         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46039         definition.  Document in comment.
46041 2012-06-01  David S. Miller  <davem@davemloft.net>
46043         * stdlib/longlong.h: Updated from GCC.
46045 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46047         [BZ #14117]
46048         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46049         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46050         sys/debugreg.h sys/io.h here.
46051         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46052         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46053         sys/io.h.
46054         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46055         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46056         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46057         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46058         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46059         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46061         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46062         Define only if __x86_64__ is defined.
46064 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #14048]
46067         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46068         Use int64_t for variable i.
46069         * math/libm-test.inc (fmod_test): Add more tests.
46071         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46072         z computation is not scheduled after fetestexcept.
46073         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46074         Use math_force_eval instead of asm to ensure calculation scheduled
46075         before exception test.
46076         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46077         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46079 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46082         computation is not scheduled after fetestexcept.
46084 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46086         [BZ #14117]
46087         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46088         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46090 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46092         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46093         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46095 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46097         [BZ #14117]
46098         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46099         <bits/wordsize.h>.
46100         (__WCHAR_MIN): Support __WORDSIZE == 64.
46101         (__WCHAR_MAX): Likewise.
46103         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46104         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46106         [BZ #14183]
46107         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46108         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46110         [BZ #14117]
46111         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46112         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46114         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46115         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46118         Defined to 1 if __x86_64__ isn't defined.
46119         (_STAT_VER_LINUX_OLD): New.
46120         (st_atime): Remove duplicate.
46121         (st_mtime): Likewise.
46122         (st_ctime): Likewise.
46124 2012-05-31  David S. Miller  <davem@davemloft.net>
46126         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46127         entries.
46129 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46131         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46132         gen-libm-test.pl.
46134         [BZ #14132]
46135         * elf/dl-reloc.c: Include <_itoa.h>.
46136         (_dl_reloc_bad_type): Remove use of INTUSE.
46137         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46138         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46139         * stdio-common/psiginfo.c (psiginfo): Likewise.
46140         * stdio-common/psignal.c (psignal): Likewise.
46141         * string/strsignal.c (strsignal): Likewise.
46142         * include/signal.h (_sys_siglist): Declare hidden proto.
46143         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46144         INTVARDEF with libc_hidden_data_def.
46145         * stdio-common/itoa-udigits.c: Likewise.
46146         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46147         (_itoa_lower_digits_internal): Remove declaration.
46148         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46149         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46150         (_sys_sigabbrev_internal): Remove aliases.
46151         (_sys_siglist): Define hidden alias.
46153 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46156         bits/sysctl.h.
46158 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46160         [BZ #14117]
46161         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46162         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46164         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46165         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46166         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46167         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46168         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46169         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46171         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46172         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46173         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46175         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46176         with __addr.
46177         (insw): Likewise.
46178         (insl): Likewise.
46179         (outsb): Likewise.
46180         (outsw): Likewise.
46181         (outsl): Likewise.
46183         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46184         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46185         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46187         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46188         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46189         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46190         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46191         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46192         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46194         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46195         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46197         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46198         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46200         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46202         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46204         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46205         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46206         to ...
46207         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46209         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46210         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46211         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46213         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46214         for x86-64.
46215         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46217 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46219         * math/math.h (M_El): Use two more decimal places.
46220         (M_LOG2El): Likewise.
46221         (M_LOG10El): Likewise.
46222         (M_LN2l): Likewise.
46223         (M_LN10l): Likewise.
46224         (M_PIl): Likewise.
46225         (M_PI_2l): Likewise.
46226         (M_PI_4l): Likewise.
46227         (M_1_PIl): Likewise.
46228         (M_2_PIl): Likewise.
46229         (M_2_SQRTPIl): Likewise.
46230         (M_SQRT2l): Likewise.
46231         (M_SQRT1_2l): Likewise.
46233 2012-05-31  David S. Miller  <davem@davemloft.net>
46235         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46236         values between float registers.
46237         * sysdeps/sparc/sparc64/memset.S: Likewise.
46238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46240 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46242         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46243         -D_FORTIFY_SOURCE=1.
46244         (CPPFLAGS-tst-longjmp_chk.c): Define.
46245         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46246         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46247         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46248         CFLAGS-tst-wchar-h.c.
46250 2012-05-31  Marek Polacek  <polacek@redhat.com>
46252         [BZ #14132]
46253         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46254         __endmntent_internal): Remove declaration.
46255         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46256         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46257         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46259 2012-05-30  David S. Miller  <davem@davemloft.net>
46261         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46262         (___Q_simulate_exceptions): Use real FP ops rather than writing
46263         into the %fsr.
46264         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46265         Likewise.
46267 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46269         [BZ #14117]
46270         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46271         * sysdeps/x86/bits/xtitypes.h: This.
46273         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46274         * sysdeps/x86/bits/wordsize.h: This.
46276         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46277         * sysdeps/x86/bits/huge_vall.h: This.
46279         * sysdeps/i386/bits/select.h: Removed.
46280         * sysdeps/x86_64/bits/select.h: Renamed to ...
46281         * sysdeps/x86/bits/select.h: This.
46283         * sysdeps/i386/bits/setjmp.h: Removed.
46284         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46285         * sysdeps/x86/bits/setjmp.h: This.
46287         * sysdeps/i386/bits/mathdef.h: Removed.
46288         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46289         * sysdeps/x86/bits/mathdef.h: This.
46291 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46293         [BZ #14132]
46294         * include/sys/socket.h (__connect_internal)
46295         (__libc_sa_len_internal): Remove declaration.
46296         (__connect, __libc_sa_len): Declare hidden_proto.
46297         (SA_LEN): Remove use of INTUSE.
46298         * socket/connect.c: Add libc_hidden_def.
46299         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46300         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46301         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46302         alias.
46303         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46304         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46305         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46306         of adding _internal alias.
46308 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46310         [BZ #14117]
46311         * sysdeps/i386/bits/link.h: Removed.
46312         * sysdeps/i386/bits/linkmap.h: Likewise.
46313         * sysdeps/x86_64/bits/link.h: Renamed to ...
46314         * sysdeps/x86/bits/link.h: This.
46315         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46316         * sysdeps/x86/bits/linkmap.h: This.
46318         * sysdeps/i386/bits/endian.h: Removed.
46319         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46320         * sysdeps/x86/bits/endian.h: This.
46322         * sysdeps/i386/bits/byteswap.h: Removed.
46323         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46324         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46325         * sysdeps/x86/bits/byteswap.h: This.
46326         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46327         * sysdeps/x86/bits/byteswap-16.h: This.
46328         * sysdeps/i386/Implies: Add x86.
46329         * sysdeps/x86_64/Implies: Likewise.
46331 2012-05-30  David S. Miller  <davem@davemloft.net>
46333         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46334         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46335         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46336         (FP_TRAPPING_EXCEPTIONS): Define.
46337         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46338         (FP_TRAPPING_EXCEPTIONS): Define.
46339         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46340         subnormals only when inexact has been signalled or underflow
46341         exceptions are enabled.
46342         (_FP_PACK_CANONICAL): Likewise.
46344 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46346         [BZ #14183]
46347         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46348         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46350 2012-05-30  Richard Henderson  <rth@twiddle.net>
46352         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46353         with #ifndef NOT_IN_libc.
46355         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46356         marked to avoid plt entry.
46358 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46360         [BZ #14112]
46361         * Makeconfig (default-abi): New macro.
46362         (abi-includes): Likewise.
46363         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46364         $(abi-$(default-abi)-lib-soname) for soname if defined.
46365         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46366         abi-variants.
46367         * Makefile (installed-stubs): Likewise.
46368         * include/stubs-biarch.h: Removed.
46369         * scripts/lib-names.awk: Only handle one library at a time.
46370         * scripts/soversions.awk: Remove WORDSIZE support.
46371         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46372         entries.
46373         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46374         Removed.
46375         (syscall-list-default-condition): Likewise.
46376         (syscall-list-default-condition): Likewise.
46377         (syscall-list-includes): Likewise.
46378         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46379         syscall-list-* with abi-*.  Handle undefined abi-variants.
46380         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46381         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46382         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46383         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46384         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46385         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46386         Removed.
46387         (syscall-list-32-options): Likewise.
46388         (syscall-list-32-condition): Likewise.
46389         (syscall-list-64-options): Likewise.
46390         (syscall-list-64-condition): Likewise.
46391         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46392         macro.
46393         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46394         Renamed to ...
46395         (abi-*): This.
46396         (abi-64-ld-soname): New macro.
46397         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46398         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46399         Renamed to ...
46400         (abi-*): This.
46401         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46402         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46404 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46406         * sysdeps/unix/sysv/linux/kernel-features.h
46407         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46408         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46409         include <kernel-features.h>.
46410         [!__NR_ftruncate64]: Remove conditional code.
46411         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46412         [__NR_ftruncate64]: Make code unconditional.
46413         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46414         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46415         include <kernel-features.h>.
46416         [!__NR_ftruncate64]: Remove conditional code.
46417         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46418         [__NR_ftruncate64]: Make code unconditional.
46419         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46421         include <kernel-features.h>.
46422         [!__NR_ftruncate64]: Remove conditional code.
46423         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46424         [__NR_ftruncate64]: Make code unconditional.
46425         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46427         include <kernel-features.h>.
46428         [!__NR_ftruncate64]: Remove conditional code.
46429         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46430         [__NR_ftruncate64]: Make code unconditional.
46431         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46433         * configure.in (libc_cv_fpie): Weaken to a compile test using
46434         LIBC_TRY_CC_OPTION.
46435         * configure: Regenerated.
46437 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46443         Refreshed.
46444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46450         Refreshed.
46452 2012-05-27  David S. Miller  <davem@davemloft.net>
46454         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46455         (___Q_zero): New.
46456         (__Q_simulate_exceptions): Return void.  Change to simulate
46457         exceptions by writing into the %fsr.
46458         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46459         (__Qp_handle_exceptions): Likewise.
46460         (numbers): Delete.
46461         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46462         __Qp_handle_exceptions.
46463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46464         __Qp_handle_exceptions.
46465         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46466         as unused and give dummy FP_RND_NEAREST initializer.
46467         (FP_INHIBIT_RESULTS): Define.
46468         (___Q_simulate_exceptions): Update declaration.
46469         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46470         formatting.
46471         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46472         as unused and give dummy FP_RND_NEAREST initializer.
46473         (__Qp_handle_exceptions): Update declaration.
46474         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46475         formatting.
46477 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46479         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46480         the temporary FPU control word.
46481         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46482         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46483         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46484         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46485         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46486         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46487         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46488         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46489         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46490         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46491         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46493 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46495         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46496         fields.
46498 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46500         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46501         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46502         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46503         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46504         Likewise.
46505         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46506         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46507         Likewise.
46509 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46511         * po/h.po: Update from translation team.
46513 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46515         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46517         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46518         handling of denormals.
46519         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46520         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46521         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46522         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46523         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46526         Likewise.
46528 2012-05-26  Marek Polacek  <polacek@redhat.com>
46530         [BZ #14152]
46531         * math/libm-test.inc (fma_test): Don't always expect underflow
46532         exception.
46534 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46536         [BZ #12416]
46537         * elf/tst-execstack.c: Include stackinfo.h.
46538         (do_test): Adjust test case to ensure that pthread_getattr_np
46539         behaviour remains the same after marking stack executable.
46541 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46543         * sysdeps/unix/sysv/linux/kernel-features.h
46544         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46545         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46546         kernel-features.h.
46547         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46548         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46549         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46550         kernel-features.h.
46551         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46552         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46554 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46556         * configure.in: Define the default includes to being none.
46557         * configure: Regenerated.
46559 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46561         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46562         * sysdeps/x86_64/setjmp.S: Likewise.
46563         * sysdeps/i386/bsd-setjmp.S: Likewise.
46564         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46565         * sysdeps/i386/setjmp.S: Likewise.
46566         * sysdeps/i386/__longjmp.S: Likewise.
46567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46568         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46570         * include/stap-probe.h: New file.
46571         * configure.in: Handle --enable-systemtap.
46572         * configure: Regenerated.
46573         * config.h.in (USE_STAP_PROBE): New #undef.
46574         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46575         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46576         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46578 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46580         [BZ #13717]
46581         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46582         to 2.4.0 where earlier.
46583         * sysdeps/unix/sysv/linux/configure: Regenerated.
46584         * sysdeps/unix/sysv/linux/i386/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/i386/fchown.c: Do not include
46589         <kernel-features.h>.
46590         [__ASSUME_32BITUIDS]: Make code unconditional.
46591         [!__ASSUME_32BITUIDS]: Remove conditional code.
46592         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46593         [__ASSUME_32BITUIDS]: Make code unconditional.
46594         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46595         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46596         <kernel-features.h>.
46597         [__ASSUME_32BITUIDS]: Make code unconditional.
46598         [!__ASSUME_32BITUIDS]: Remove conditional code.
46599         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46600         <kernel-features.h>.
46601         [__ASSUME_32BITUIDS]: Make code unconditional.
46602         [!__ASSUME_32BITUIDS]: Remove conditional code.
46603         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46604         <kernel-features.h>.
46605         [__ASSUME_32BITUIDS]: Make code unconditional.
46606         [!__ASSUME_32BITUIDS]: Remove conditional code.
46607         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46608         <kernel-features.h>.
46609         [__ASSUME_32BITUIDS]: Make code unconditional.
46610         [!__ASSUME_32BITUIDS]: Remove conditional code.
46611         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46612         <kernel-features.h>.
46613         [__ASSUME_32BITUIDS]: Make code unconditional.
46614         [!__ASSUME_32BITUIDS]: Remove conditional code.
46615         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46616         <kernel-features.h>.
46617         [__ASSUME_32BITUIDS]: Make code unconditional.
46618         [!__ASSUME_32BITUIDS]: Remove conditional code.
46619         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46620         <kernel-features.h>.
46621         [__ASSUME_32BITUIDS]: Make code unconditional.
46622         [!__ASSUME_32BITUIDS]: Remove conditional code.
46623         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46624         <kernel-features.h>.
46625         [__ASSUME_32BITUIDS]: Make code unconditional.
46626         [!__ASSUME_32BITUIDS]: Remove conditional code.
46627         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46628         <kernel-features.h>.
46629         [__ASSUME_32BITUIDS]: Make code unconditional.
46630         [!__ASSUME_32BITUIDS]: Remove conditional code.
46631         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46632         <kernel-features.h>.
46633         [__ASSUME_32BITUIDS]: Make code unconditional.
46634         [!__ASSUME_32BITUIDS]: Remove conditional code.
46635         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46636         <kernel-features.h>.
46637         [__NR_setresgid] (__setresgid): Do not declare.
46638         [__ASSUME_32BITUIDS]: Make code unconditional.
46639         [!__ASSUME_32BITUIDS]: Remove conditional code.
46640         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46641         <kernel-features.h>.
46642         [__NR_setresuid] (__setresuid): Do not declare.
46643         [__ASSUME_32BITUIDS]: Make code unconditional.
46644         [!__ASSUME_32BITUIDS]: Remove conditional code.
46645         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46646         <kernel-features.h>.
46647         [__ASSUME_32BITUIDS]: Make code unconditional.
46648         [!__ASSUME_32BITUIDS]: Remove conditional code.
46649         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46650         <kernel-features.h>.
46651         [__ASSUME_32BITUIDS]: Make code unconditional.
46652         [!__ASSUME_32BITUIDS]: Remove conditional code.
46653         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46654         <kernel-features.h>.
46655         [__ASSUME_32BITUIDS]: Make code unconditional.
46656         [!__ASSUME_32BITUIDS]: Remove conditional code.
46657         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46658         <kernel-features.h>.
46659         [__ASSUME_32BITUIDS]: Make code unconditional.
46660         [!__ASSUME_32BITUIDS]: Remove conditional code.
46661         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46662         <kernel-features.h>.
46663         [__ASSUME_32BITUIDS]: Make code unconditional.
46664         [!__ASSUME_32BITUIDS]: Remove conditional code.
46665         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46666         <kernel-features.h>.
46667         [__ASSUME_32BITUIDS]: Make code unconditional.
46668         [!__ASSUME_32BITUIDS]: Remove conditional code.
46669         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46670         <kernel-features.h>.
46671         [__ASSUME_32BITUIDS]: Make code unconditional.
46672         [!__ASSUME_32BITUIDS]: Remove conditional code.
46673         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46674         <kernel-features.h>.
46675         [__ASSUME_32BITUIDS]: Make code unconditional.
46676         [!__ASSUME_32BITUIDS]: Remove conditional code.
46677         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46678         <kernel-features.h>.
46679         [__ASSUME_32BITUIDS]: Make code unconditional.
46680         [!__ASSUME_32BITUIDS]: Remove conditional code.
46681         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46682         <kernel-features.h>.
46683         [__ASSUME_32BITUIDS]: Make code unconditional.
46684         [!__ASSUME_32BITUIDS]: Remove conditional code.
46685         * sysdeps/unix/sysv/linux/kernel-features.h
46686         (__ASSUME_SETRESUID_SYSCALL): Remove.
46687         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46688         (__ASSUME_32BITUIDS): Likewise.
46689         (__ASSUME_LDT_WORKS): Likewise.
46690         (__ASSUME_O_DIRECTORY): Likewise.
46691         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46692         architecture but not kernel version.
46693         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46694         (__ASSUME_MMAP2_SYSCALL): Likewise.
46695         (__ASSUME_STAT64_SYSCALL): Likewise.
46696         (__ASSUME_IPC64): Likewise.
46697         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46698         <kernel-features.h>.
46699         [__ASSUME_32BITUIDS]: Make code unconditional.
46700         [!__ASSUME_32BITUIDS]: Remove conditional code.
46701         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46702         <kernel-features.h>.
46703         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46704         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46705         132096]: Remove conditional code.
46706         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46707         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46708         <kernel-features.h>.
46709         [__ASSUME_32BITUIDS]: Make code unconditional.
46710         [!__ASSUME_32BITUIDS]: Remove conditional code.
46711         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46712         <kernel-features.h>.
46713         [__ASSUME_32BITUIDS]: Make code unconditional.
46714         [!__ASSUME_32BITUIDS]: Remove conditional code.
46715         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46716         <kernel-features.h>.
46717         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46718         unconditional.
46719         (__setresgid): Do not declare.
46720         [__ASSUME_32BITUIDS]: Make code unconditional.
46721         [!__ASSUME_32BITUIDS]: Remove conditional code.
46722         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46723         <kernel-features.h>.
46724         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46725         unconditional.
46726         (__setresuid): Do not declare.
46727         [__ASSUME_32BITUIDS]: Make code unconditional.
46728         [!__ASSUME_32BITUIDS]: Remove conditional code.
46729         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46730         <kernel-features.h>.
46731         [__ASSUME_32BITUIDS]: Make code unconditional.
46732         [!__ASSUME_32BITUIDS]: Remove conditional code.
46733         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46734         <kernel-features.h>.
46735         [__ASSUME_32BITUIDS]: Make code unconditional.
46736         [!__ASSUME_32BITUIDS]: Remove conditional code.
46738 2012-05-25  Richard Henderson  <rth@twiddle.net>
46740         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46741         dl_hwcap to ifunc resolver.
46742         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46743         elf_ifunc_invoke.
46744         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46745         dl_hwcap to ifunc resolver.
46746         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46748 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46750         [BZ #14153]
46751         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46752         for |x| <= 2**-26, not 2**-57.
46753         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46754         exception.
46756 2012-05-24  Jeff Law  <law@redhat.com>
46758         * stdio-common/Makefile (tests): Add bug25.
46759         * stdio-common/bug25.c: New test.
46761 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46763         [BZ #13576]
46764         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46765         multiple of MALLOC_ALIGNMENT in size.
46766         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46768 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46770         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46771         Require >= 256.
46772         (FILENAME_MAX): Use macro-int-constant.
46773         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46774         (_IOFBF): Use macro-int-constant.
46775         (_IOLBF): Likewise.
46776         (_IONBF): Likewise.
46777         (SEEK_CUR): Likewise.
46778         (SEEK_END): Likewise.
46779         (SEEK_SET): Likewise.
46780         (TMP_MAX): Likewise.
46781         (EOF): Use macro-int-constant.  Require < 0.
46782         (NULL): Use macro-constant.  Require == 0.
46783         (stdin): Require type to be FILE *.
46784         (stdout): Likewise.
46785         (stderr): Likewise.
46786         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46787         macro-int-constant.
46788         (EXIT_SUCCESS): Likewise.
46789         (NULL): Use macro-constant.  Require == 0.
46790         (RAND_MAX): Use macro-int-constant.
46791         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46792         [C99-based standards] (strtof): Require function.
46793         [C99-based standards] (strtold): Likewise.
46794         [C99-based standards] (strtoll): Likewise.
46795         [C99-based standards] (strtoull): Likewise.
46796         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46797         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46798         [ISO || ISO99 || ISO11] (math.h): Likewise.
46799         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46800         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46801         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46803 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46805         [BZ #14132]
46806         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46807         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46808         * intl/dgettext.c (DCGETTEXT): Likewise.
46809         * intl/gettext.c (DCGETTEXT): Likewise.
46810         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46811         * posix/regex_internal.h (gettext): Likewise.
46812         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46813         Remove declaration.
46814         * include/argz.h (__argz_count_internal)
46815         (__argz_stringify_internal): Remove declaration.
46816         (__argz_count, __argz_stringify): Declare hidden proto.
46817         * intl/dcgettext.c: Remove use of INTDEF.
46818         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46819         * string/argz-stringify.c: Likewise.
46820         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46821         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46822         Declare hidden proto.
46823         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46824         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46825         Declare hidden proto.
46826         * include/stdio.h (__asprintf_internal): Don't declare.
46827         (__asprintf): Don't define as macro.  Declare hidden proto.
46828         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46829         (__fsetlocking): Declare hidden proto.
46830         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46831         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46832         hidden proto.
46833         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46834         (_IO_setlinebuf): Remove use of INTUSE.
46835         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46836         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46837         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46838         Remove declaration.
46839         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46840         (_IO_do_flush): Remove use of INTUSE.
46841         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46842         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46843         (_IO_adjust_column, _IO_least_wmarker)
46844         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46845         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46846         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46847         (_IO_default_doallocate, _IO_wdefault_doallocate)
46848         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46849         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46850         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46851         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46852         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46853         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46854         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46855         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46856         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46857         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46858         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46859         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46860         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46861         proto.
46862         (_IO_flush_all_internal, _IO_adjust_column_internal)
46863         (_IO_default_uflow_internal, _IO_default_finish_internal)
46864         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46865         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46866         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46867         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46868         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46869         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46870         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46871         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46872         (_IO_file_close_internal, _IO_file_close_it_internal)
46873         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46874         (_IO_file_init_internal, _IO_file_attach_internal)
46875         (_IO_file_fopen_internal, _IO_file_read_internal)
46876         (_IO_file_sync_internal, _IO_file_seek_internal)
46877         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46878         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46879         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46880         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46881         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46882         (_IO_list_all_internal, _IO_link_in_internal)
46883         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46884         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46885         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46886         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46887         (_IO_do_write_internal, _IO_padn_internal)
46888         (_IO_getline_info_internal, _IO_getline_internal)
46889         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46890         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46891         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46892         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46893         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46894         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46895         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46896         with libc_hidden_ver, remove use of INTUSE.
46897         * libio/genops.c: Likewise.
46898         * libio/freopen.c: Likewise.
46899         * libio/freopen64.c: Likewise.
46900         * libio/iofclose.c: Likewise.
46901         * libio/iofdopen.c: Likewise.
46902         * libio/iofflush.c: Likewise.
46903         * libio/iofflush_u.c: Likewise.
46904         * libio/iofgets.c: Likewise.
46905         * libio/iofgets_u.c: Likewise.
46906         * libio/iofopen.c: Likewise.
46907         * libio/iofopncook.c: Likewise.
46908         * libio/iofread.c: Likewise.
46909         * libio/iofread_u.c: Likewise.
46910         * libio/ioftell.c: Likewise.
46911         * libio/iofwrite.c: Likewise.
46912         * libio/iogetline.c: Likewise.
46913         * libio/iogets.c: Likewise.
46914         * libio/iogetwline.c: Likewise.
46915         * libio/iopadn.c: Likewise.
46916         * libio/iopopen.c: Likewise.
46917         * libio/ioseekoff.c: Likewise.
46918         * libio/ioseekpos.c: Likewise.
46919         * libio/iosetbuffer.c: Likewise.
46920         * libio/iosetvbuf.c: Likewise.
46921         * libio/ioungetc.c: Likewise.
46922         * libio/ioungetwc.c: Likewise.
46923         * libio/iovdprintf.c: Likewise.
46924         * libio/iovsprintf.c: Likewise.
46925         * libio/iovsscanf.c: Likewise.
46926         * libio/memstream.c: Likewise.
46927         * libio/obprintf.c: Likewise.
46928         * libio/oldfileops.c: Likewise.
46929         * libio/oldiofclose.c: Likewise.
46930         * libio/oldiofdopen.c: Likewise.
46931         * libio/oldiofopen.c: Likewise.
46932         * libio/oldiopopen.c: Likewise.
46933         * libio/oldstdfiles.c: Likewise.
46934         * libio/putc.c: Likewise.
46935         * libio/setbuf.c: Likewise.
46936         * libio/setlinebuf.c: Likewise.
46937         * libio/stdfiles.c: Likewise.
46938         * libio/strops.c: Likewise.
46939         * libio/vasprintf.c: Likewise.
46940         * libio/vscanf.c: Likewise.
46941         * libio/vsnprintf.c: Likewise.
46942         * libio/vswprintf.c: Likewise.
46943         * libio/wfiledoalloc.c: Likewise.
46944         * libio/wfileops.c: Likewise.
46945         * libio/wgenops.c: Likewise.
46946         * libio/wmemstream.c: Likewise.
46947         * libio/wstrops.c: Likewise.
46948         * libio/__fpurge.c: Likewise.
46949         * libio/__fsetlocking.c: Likewise.
46950         * assert/assert.c: Likewise.
46951         * debug/fgets_chk.c: Likewise.
46952         * debug/fgets_u_chk.c: Likewise.
46953         * debug/fread_chk.c: Likewise.
46954         * debug/fread_u_chk.c: Likewise.
46955         * debug/gets_chk.c: Likewise.
46956         * debug/obprintf_chk.c: Likewise.
46957         * debug/vasprintf_chk.c: Likewise.
46958         * debug/vdprintf_chk.c: Likewise.
46959         * debug/vsnprintf_chk.c: Likewise.
46960         * debug/vsprintf_chk.c: Likewise.
46961         * malloc/mtrace.c: Likewise.
46962         * misc/error.c: Likewise.
46963         * misc/syslog.c: Likewise.
46964         * stdio-common/asprintf.c: Likewise.
46965         * stdio-common/fxprintf.c: Likewise.
46966         * stdio-common/getw.c: Likewise.
46967         * stdio-common/isoc99_fscanf.c: Likewise.
46968         * stdio-common/isoc99_scanf.c: Likewise.
46969         * stdio-common/isoc99_vfscanf.c: Likewise.
46970         * stdio-common/isoc99_vscanf.c: Likewise.
46971         * stdio-common/isoc99_vsscanf.c: Likewise.
46972         * stdio-common/printf-prs.c: Likewise.
46973         * stdio-common/printf_fp.c: Likewise.
46974         * stdio-common/printf_fphex.c: Likewise.
46975         * stdio-common/printf_size.c: Likewise.
46976         * stdio-common/putw.c: Likewise.
46977         * stdio-common/scanf.c: Likewise.
46978         * stdio-common/sprintf.c: Likewise.
46979         * stdio-common/tmpfile.c: Likewise.
46980         * stdio-common/vfprintf.c: Likewise.
46981         * stdio-common/vfscanf.c: Likewise.
46982         * stdlib/strfmon_l.c: Likewise.
46983         * sunrpc/openchild.c: Likewise.
46984         * sunrpc/xdr_stdio.c: Likewise.
46985         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46986         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46988 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46990         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46992         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46993         in the third column, to generate for the shared library an IFUNC
46994         that uses _dl_vdso_vsym.
46995         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46996         * Makeconfig (object-suffixes-noshared): New variable.
46998         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46999         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47000         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47001         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47003         [BZ #14132]
47004         * include/sys/time.h (__gettimeofday): Remove macro.
47005         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47006         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47007         Remove INTDEF.
47008         (__gettimeofday): Add libc_hidden_def.
47009         (gettimeofday): Add libc_hidden_weak.
47010         * sysdeps/mach/gettimeofday.c: Likewise.
47011         * sysdeps/posix/gettimeofday.c: Likewise.
47012         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47013         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47015         (__gettimeofday_internal): Remove strong_alias.
47016         (__gettimeofday): Add libc_hidden_def.
47017         (gettimeofday): Add libc_hidden_weak.
47018         * sysdeps/unix/syscalls.list (gettimeofday):
47019         Remove __gettimeofday_internal alias.
47021 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47022             H.J. Lu  <hongjiu.lu@intel.com>
47024         [BZ #12495]
47025         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47026         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47027         (largebin_index_32_big): New.
47028         (largebin_index): Use it for 16-byte alignment.
47029         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47030         correction with front_misalign.
47032 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47036         Likewise.
47037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47038         Likewise.
47039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47040         Likewise.
47041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47042         Likewise.
47043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47044         Likewise.
47045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47046         Likewise.
47047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47048         Likewise.
47049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47050         Likewise.
47051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47052         Likewise.
47053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47054         Likewise.
47055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47056         Likewise.
47057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47058         Likewise.
47060         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47061         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47065         [BZ #10846]
47066         [BZ #14036]
47067         * math/libm-test.inc (exp_test): Add test from bug 14036.
47068         (pow_test): Add test from bug 10846.
47070         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47071         and other flags.
47072         (special_function): Do not include flags in test name.
47073         (parse_args): Likewise.
47074         * sysdeps/i386/fpu/libm-test-ulps: Update.
47075         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47076         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47077         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47080         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47081         exceptions.
47082         * math/libm-test.inc ("Philosophy"): Update comment about
47083         exception testing.
47084         (UNDERFLOW_EXCEPTION): New macro.
47085         (UNDERFLOW_EXCEPTION_OK): Likewise.
47086         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47087         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47088         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47089         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47090         (INVALID_EXCEPTION_OK): Update value.
47091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47092         (OVERFLOW_EXCEPTION_OK): Likewise.
47093         (IGNORE_ZERO_INF_SIGN): Likewise.
47094         (test_exceptions): Handle underflow exceptions.
47095         (acos_test): Update for underflow exception expectations.
47096         (cexp_test): Likewise.
47097         (clog_test): Likewise.
47098         (clog10_test): Likewise.
47099         (csqrt_test): Likewise.
47100         (ctan_test): Likewise.
47101         (ctanh_test): Likewise.
47102         (exp_test): Likewise.
47103         (exp10_test): Likewise.
47104         (exp2_test): Likewise.
47105         (expm1_test): Likewise.
47106         (fma_test): Likewise.
47107         (j0_test): Likewise.
47108         (jn_test): Likewise.
47109         (nexttoward_test): Likewise.
47110         (pow_test): Likewise.
47111         (scalbn_test): Likewise.
47112         (scalbln_test): Likewise.
47113         (tan_test): Likewise.
47114         (y1_test): Likewise.
47115         * sysdeps/i386/fpu/libm-test-ulps: Update.
47116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47118 2012-05-23  David S. Miller  <davem@davemloft.net>
47120         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47121         (__libc_sigaction): Remove unused local variables.
47123 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47125         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47127 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47129         mktime: avoid signed integer overflow
47130         * time/mktime.c (__mktime_internal): Do not mishandle the case
47131         where diff == INT_MIN.
47133         mktime: simplify computation of average
47134         * time/mktime.c (ranged_convert): Use new time_t_avg function
47135         instead of rolling our own (probably-slower) code.
47137         mktime: do not assume signed right shift propagates sign bit
47138         * time/mktime.c (isdst_differ): New static function.
47139         (__mktime_internal): No need to normalize tm_isdst now.
47140         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47141         tm_isdst values.
47143         mktime: merge another wrapv change from gnulib
47144         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47145         from some compilers.
47147         mktime: remove incorrect attempt at unusual arithmetics
47148         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47149         The code didn't really work on such machines anyway.
47150         (TYPE_MINIMUM): Assume two's complement.
47151         (twos_complement_arithmetic): Verify that long_int and time_t
47152         are two's complement (or unsigned, in the latter case).
47154         mktime: check signed shifts on long_int and time_t, too
47155         * time/mktime.c (SHR): Check that shifts work as desired
47156         on the types long_int and time_t too, as SHR is used on
47157         such types.
47159         mktime: do not assume 'long' is wide enough
47160         * time/mktime.c (verify): Move decl up.
47161         (long_int): New type.
47162         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47163         to remove assumption in the code that 'long' is wide enough to
47164         store year values.  This assumption is not true on x32 and on
47165         some non-glibc platforms.
47167         mktime: merge wrapv change from gnulib
47168         * time/mktime.c (WRAPV): New macro.
47169         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47170         (guess_time_tm, __mktime_internal): Do not assume that signed
47171         integer overflow wraps around; modern compilers generate code
47172         where this assumption is no longer valid.
47174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47176         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47177         Replace "jmp L(pseudo_end)" with "ret".
47178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47179         Likewise.
47181 2012-05-23  Andreas Jaeger  <aj@suse.de>
47183         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47184         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47186 2012-05-23  Andreas Jaeger  <aj@suse.de>
47187             Maximilian Attems  <max@stro.at>
47189         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47190         New macros.
47192 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47195         code so that pseudo_end is just ret and the stack pointer is
47196         correct also for static library in error case.
47198 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47200         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47201         move to syscalls.list.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47207         * manual/install.texi (Running make install): Do not mention Linux
47208         kernel version for which pt_chown is not needed.
47209         (Linux): Do not mention problems with nscd with 2.0 kernels.
47210         * INSTALL: Regenerated.
47212 2012-05-23  Andreas Jaeger  <aj@suse.de>
47214         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47215         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47216         macro.
47217         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47218         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47219         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47220         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47221         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47222         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47223         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47224         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47225         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47226         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47227         * sysdeps/unix/sysv/linux/bits/in.h
47228         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47230 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47232         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47233         (PREPARE_VERSION): Just use assert instead, it will be elided
47234         under [NDEBUG] anyway.
47236 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47238         * sysdeps/unix/sysv/linux/Makefile: Include
47239         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47240         (sysdep_routines): Remove sysctl.
47241         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47242         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47244         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47245         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47247 2012-05-22  Andreas Jaeger  <aj@suse.de>
47249         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47250         that pseudo_end is just ret and the stack pointer is correct also
47251         for static library in error case.
47253 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47255         [BZ #14122]
47256         * nss/nsswitch.c (defconfig_entries): New variable.
47257         (__nss_database_lookup): Don't leak defconfig entries.
47258         (nss_parse_service_list): Don't leak on error paths.
47259         (free_database_entries): New function.
47260         (free_defconfig): New function.
47261         (free_mem): Move common code to free_database_entries.
47263 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47265         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47266         Add arch_prctl.
47267         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47269         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47270         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47272         New macro.
47273         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47274         (INTERNAL_SYSCALL_TYPES): Likewise.
47275         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47276         (LOAD_REGS_TYPES_[1-6]): Likewise.
47277         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47278         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47280 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47282         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47283         copysignl for GLIBC_2_0.
47284         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47285         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47287         logbl for GLIBC_2_0.
47288         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47289         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47291 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47293         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47294         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47296         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47297         Use "neg %eax".
47299         * time/mktime.c: Update copyright years.
47301 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47303         mktime: merge comment-quoting-style change from gnulib
47304         * time/mktime.c: Quote 'like this' in comments.
47305         The GNU coding standards suggest that we no longer quote `like this',
47306         as "`" and "'" are typically rendered asymmetrically nowadays.
47307         The typical gnulib style is to quote 'like this' when quoting
47308         code, and "like this" when quoting English.
47310         * time/mktime.c (compile-command): Add "-I.".
47312         mktime: merge mktime-internal.h change from gnulib
47313         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47315         mktime: merge time_r change from gnulib
47316         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47318         mktime: merge DEBUG change from gnulib
47319         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47320         case system <time.h> has a #define.
47322         mktime: merge <sys/types.h> change from gnulib
47323         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47324         since <time.t> is now guaranteed to define time_t.
47326         mktime: merge HAVE_CONFIG_H change from gnulib
47327         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47329 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47332         Use "neg %eax".
47334         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47335         __rlim_t cast.
47336         (struct rusage): Use anonymous union to pad each field to
47337         __syscall_slong_t.
47339 2012-05-21  David S. Miller  <davem@davemloft.net>
47341         * Makefules (o-iterator): Remove .s cases.
47342         (compile-command.s): Delete.
47343         (COMPILE.s): Delete.
47344         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47346 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47348         * configure.in (libc_cv_predef_stack_protector): Only consider
47349         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47350         * configure: Regenerated.
47352 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47355         New macro.  Use R*LP on int and pointer.
47356         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47357         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47358         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47359         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47361         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47362         [__WORDSIZE_TIME64_COMPAT32] instead of
47363         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47364         (struct utmp): Likewise.
47365         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47366         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47367         Renamed to ...
47368         (__WORDSIZE_TIME64_COMPAT32): This.
47369         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47370         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47371         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47372         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47373         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47374         (__WORDSIZE_TIME64_COMPAT32): New macro.
47376 2012-05-21  Andreas Jaeger  <aj@suse.de>
47378         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47379         only if [SHARED]. Add prototype for __wcschr_ia32.
47381 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47383         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47384         of %rbp unmolested in the jmp_buf while mangling the low bits.
47385         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47386         unmolested high bits of %rbp while demangling the low bits.
47387         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47389 2012-05-21  Andreas Jaeger  <aj@suse.de>
47391         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47392         * sunrpc/svc_simple.c: Use it for registerrpc.
47393         * sunrpc/xcrypt.c: Use it for passwd2des.
47395         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47397 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47399         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47400         Don't define if [__SYSCALL_WORDSIZE != 32].
47401         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47402         New macro.
47404 2012-05-21  Bruno Haible  <bruno@clisp.org>
47405             Andreas Jaeger  <aj@suse.de>
47407         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47408         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47409         inptr and inend for must_buffer_ch.
47410         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47411         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47412         * stdio-common/Makefile (tests): Remove bug15.
47413         (bug15-ENV): Remove macro.
47414         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47415         anymore.
47417 2012-05-19  Andreas Jaeger  <aj@suse.de>
47418             Roland McGrath  <roland@hack.frob.com>
47420         * manual/contrib.texi: Completely rewritten. It contains now an
47421         alphabetical list of contributors and their contributions.
47423 2012-05-21  Richard Henderson  <rth@twiddle.net>
47425         * misc/getauxval.c (__getauxval): Use unsigned long int.
47426         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47427         (getauxval): Use unsigned long int.
47429 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47431         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47433 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47435         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47436         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47437         __alignof__ (long double).
47439 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47443 2012-05-20  Richard Henderson  <rth@twiddle.net>
47445         * misc/getauxval.c: New file.
47446         * misc/sys/auxv.h: New file.
47447         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47448         (routines): Add getauxval.
47449         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47450         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47451         * elf/dl-sysdep.c (_dl_auxv): Remove.
47452         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47453         * elf/dl-support.c (_dl_auxv): New variable.
47454         (_dl_aux_init): Initialize it.
47455         * manual/startup.texi (Auxiliary Vector): New node.
47456         * sysdeps/generic/bits/hwcap.h: New file.
47457         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47458         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47459         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47460         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47461         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47462         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47464         Update.
47465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47474 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47478 2012-05-19  David S. Miller  <davem@davemloft.net>
47480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47482 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47484         [BZ #14123]
47485         * math/s_ccosh.c: Include <float.h>
47486         (__ccosh): Avoid internal overflow calculating sinh and cosh
47487         values before multiplying by sin and cos values.
47488         * math/s_ccoshf.c: Likewise.
47489         * math/s_ccoshl.c: Likewise.
47490         * math/s_csin.c: Likewise.
47491         * math/s_csinf.c: Likewise.
47492         * math/s_csinl.c: Likewise.
47493         * math/s_csinh.c: Likewise.
47494         * math/s_csinhf.c: Likewise.
47495         * math/s_csinhl.c: Likewise.
47496         * math/libm-test.inc (ccos_test): Add more tests.
47497         (ccosh_test): Likewise.
47498         (csin_test): Likewise.
47499         (csinh_test): Likewise.
47500         * sysdeps/i386/fpu/libm-test-ulps: Update.
47501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47503 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47505         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47506         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47508         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47510 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47512         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47513         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47514         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47515         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47516         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47517         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47518         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47519         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47520         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47521         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47522         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47523         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47524         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47525         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47526         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47527         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47528         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47529         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47530         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47531         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47532         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47533         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47534         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47535         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47536         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47537         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47538         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47539         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47540         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47541         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47542         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47544 2012-05-18  Andreas Jaeger  <aj@suse.de>
47546         * csu/.gitignore: Delete.
47548 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47550         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47551         (timex): Use __syscall_slong_t.
47553 2012-05-18  Andreas Jaeger  <aj@suse.de>
47554             Carlos O'Donell  <carlos_odonell@mentor.com>
47556         * manual/install.texi (Configuring and compiling): Update
47557         description about files modified in the source directory.
47558         * INSTALL: Regenerated.
47560 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47562         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47563         value.  Use "or" to set return value to -1.
47564         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47565         negate return value.
47567 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47569         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47570         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47571         failure if the compiler has Graphite support disabled.
47572         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47573         Likewise.
47574         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47575         (CFLAGS-memmove.c): Likewise.
47576         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47577         Likewise.
47579 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47581         * sysdeps/x86_64/x32/_itoa.h: New file.
47583         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47584         getdents system call only if kernel and user dirents have the
47585         same d_ino and d_off.
47587         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47588         LLONG_MAX != LONG_MAX.
47589         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47590         (_fitoa_word): Likewise.
47592         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47593         years.
47594         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47595         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47596         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47598         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47599         include <bits/wordsize.h>.  Check __x86_64__ instead of
47600         __WORDSIZE.
47601         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47602         if __x86_64__ is defined.  Use anonymous union on fpstate.
47604         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47605         anonymous union.
47607 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47609         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47610         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47611         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47612         Refer to _rtld_local_ro instead of _rtld_global_ro.
47613         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47614         Likewise.
47615         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47616         Likewise.
47617         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47618         Likewise.
47619         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47620         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47621         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47623         * sysdeps/powerpc/powerpc32/dl-machine.c
47624         (__elf_machine_runtime_setup) [PROF]: Don't reference
47625         _dl_prof_resolve.
47627 2012-05-18  Andreas Jaeger  <aj@suse.de>
47629         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47630         function only available for GCCs before 3.4 since GCC 3.4
47631         introduced a builtin.
47632         (lrint): Likewise.
47633         (llrintf): Likewise.
47634         (llrint): Likewise.
47635         (fmaxf): Likewise.
47636         (fmax): Likewise.
47637         (fminf): Likewise.
47638         (fmin): Likewise.
47639         (rint): Likewise.
47640         (rintf): Likewise.
47641         (nearbyint): Likewise.
47642         (nearbyintf): Likewise.
47643         (ceil): Likewise.
47644         (ceilf): Likewise.
47645         (floor): Likewise.
47646         (floorf): Likewise.
47648 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47650         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47651         on both fields and cast pointer to __syscall_ulong_t.
47653         * bits/types.h (__fsword_t): New type.
47654         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47655         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47657         (__FSWORD_T_TYPE): Likewise.
47658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47659         (__FSWORD_T_TYPE): Likewise.
47660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47661         (__FSWORD_T_TYPE): Likewise.
47662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47663         (__FSWORD_T_TYPE): Likewise.
47664         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47665         __SWORD_TYPE with __fsword_t.
47666         (statfs64): Likewise.
47668 2012-05-17  David S. Miller  <davem@davemloft.net>
47670         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47672 2012-05-17  Andreas Jaeger  <aj@suse.de>
47674         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47675         warning.
47677 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47679         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47681 2012-05-17  Andreas Jaeger  <aj@suse.de>
47683         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47684         when it is used.
47686 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47688         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47690 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47692         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47693         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47695 2012-05-17  Andreas Jaeger  <aj@suse.de>
47696             Carlos O'Donell  <carlos_odonell@mentor.com>
47698         [BZ #14059]
47699         * sysdeps/x86_64/multiarch/init-arch.h
47700         (bit_YMM_Usable): Rename to...
47701         (bit_AVX_Usable): ... this.
47702         (bit_FMA4_Usable): New macro.
47703         (bit_XMM_state): New macro.
47704         (bit_YMM_state): New macro.
47705         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47706         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47707         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47708         (CPUID_OSXSAVE): New macro.
47709         (CPUID_AVX): New macro.
47710         (CPUID_FMA4): New macro.
47711         (index_YMM_Usable): Rename to...
47712         (index_AVX_Usable): ... this.
47713         (HAS_AVX): Use HAS_ARCH_FEATURE.
47714         (HAS_FMA4): Likewise.
47715         (HAS_YMM_USABLE): Remove.
47716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47717         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47718         are present.
47719         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47720         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47721         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47722         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47723         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47725 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47727         * math/libm-test.c: Support platforms without multiple rounding modes.
47728         * math/bug-nextafter.c: Support platforms without FP exceptions.
47729         * math/bug-nexttoward.c: Likewise.
47730         * math/test-fenv.c: Likewise.
47731         * math/test-misc.c: Likewise.
47732         * stdlib/bug-getcontext.c: Likewise.
47734 2012-05-17  Andreas Jaeger  <aj@suse.de>
47736         * manual/examples/search.c (critter_cmp): Change signature to
47737         avoid warnings.
47738         * manual/string.texi (Collation Functions): Likewise.
47740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47742         * bits/types.h: Fold copyright years.
47743         * bits/typesizes.h: Likewise.
47744         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47748         * time/time.h: Likewise.
47750 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47752         [BZ #208]
47753         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47754         in instead of returning them.  Return void.
47755         (__libc_mallinfo): Accumulate over all arenas.
47756         (__malloc_stats): Adjust for change in int_mallinfo interface.
47758 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47760         [BZ #10375]
47761         * configure.in (NM): Add AC_CHECK_TOOL for it.
47762         (libc_extra_cflags): New substituted variable.
47763         Check for -fstack-protector being used implicitly.
47764         * configure: Regenerated.
47765         * config.make.in (config-extra-cflags): New variable,
47766         gets @libc_extra_cflags@.
47767         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47769         [BZ #10375]
47770         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47771         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47772         * configure: Regenerated.
47773         * config.make.in (CPPUNDEFS): New substituted variable.
47774         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47775         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47776         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47778 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47780         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47781         (mq_attr): Use __syscall_slong_t.
47783 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47785         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47786         Check __x86_64__ instead of __WORDSIZE.
47787         (_STAT_VER_LINUX): Likewise.
47788         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47789         __syscall_ulong_t and __syscall_slong_t.
47790         (stat64): Likewise.
47792 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47798         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47800 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47802         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47803         __syscall_ulong_t.
47805         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47806         include <bits/wordsize.h>.  Check __x86_64__ instead of
47807         __WORDSIZE.
47808         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47809         defined.
47810         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47813         include <bits/wordsize.h>.  Check __x86_64__ instead of
47814         __WORDSIZE.
47815         (user_regs_struct): Use "__extension__ unsigned long long"
47816         instead of "unsigned long" if __x86_64__ is defined.
47817         (user): Likewise.  Pad after pointer field if __ILP32__ is
47818         defined.
47820 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47822         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47823         versions 5 to 9.
47824         * configure: Regenerated.
47825         * manual/install.texi (texinfo): Increase version requirement to
47826         4.5 or later.
47827         * INSTALL: Regenerated.
47829         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47833         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47835         * sysdeps/x86_64/x32/ffs.c: New file.
47837         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47838         __syscall_ulong_t.
47839         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47840         defined.  Use __syscall_ulong_t.
47841         (shminfo): Use __syscall_ulong_t.
47842         (shm_info): Likewise.
47844         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47845         __syscall_ulong_t.
47847         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47848         <bits/wordsize.h>.
47849         (msgqnum_t): Use __syscall_ulong_t.
47850         (msglen_t): Likewise.
47851         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47852         __syscall_ulong_t.
47854         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47855         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47857         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47859         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47860         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47862         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47863         __syscall_slong_t.
47865         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47866         include <bits/wordsize.h>.  Check __x86_64__ instead of
47867         __WORDSIZE.
47869         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47870         "unsigned long long int" if __x86_64__ is defined.
47871         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47874         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47875         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47877         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47878         <stdint.h>.
47879         (GET_PC): Cast to uintptr_t first.
47880         (GET_FRAME): Likewise.
47881         (GET_STACK): Likewise.
47883         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47884         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47886         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47888         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47889         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47890         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47891         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47892         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47893         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47894         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47896         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47897         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47898         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47901         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47903         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47904         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47905         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47906         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47907         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47908         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47909         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47910         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47911         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47913 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47915         * Makerules (+depfiles): Also collect depfiles from .oS in
47916         $(extra-objs).
47917         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47918         .oS, $(libnldbl-routines)).
47920         * Makerules (native-compile-mkdep-flags): Define.
47921         * sunrpc/Makefile (extra-objs): Add $(addprefix
47922         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47923         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47924         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47925         calling $(make-target-directory).
47927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47929         * bits/types.h (__snseconds_t): Removed.
47930         * time/time.h (struct timespec): Replace __snseconds_t with
47931         __syscall_slong_t.
47932         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47933         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47934         Likewise.
47935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47936         (__SNSECONDS_T_TYPE): Likewise.
47937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47938         (__SNSECONDS_T_TYPE): Likewise.
47939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47940         (__SNSECONDS_T_TYPE): Likewise.
47942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47944         * sysdeps/mach/hurd/bits/typesizes.h
47945         (__SYSCALL_SLONG_TYPE): New macro.
47946         (__SYSCALL_ULONG_TYPE): Likewise.
47948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47950         * bits/types.h (__syscall_slong_t): New type.
47951         (__syscall_ulong_t): Likewise.
47953         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47954         (__SYSCALL_ULONG_TYPE): Likewise.
47955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47956         (__SYSCALL_SLONG_TYPE): Likewise.
47957         (__SYSCALL_ULONG_TYPE): Likewise.
47958         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47959         (__SYSCALL_SLONG_TYPE): Likewise.
47960         (__SYSCALL_ULONG_TYPE): Likewise.
47961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47962         (__SYSCALL_SLONG_TYPE): Likewise.
47963         (__SYSCALL_ULONG_TYPE): Likewise.
47965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47967         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47968         Add sigaltstack-offsets.sym.
47969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47970         <sigaltstack-offsets.h>.
47971         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47972         longjmp_msg pointer.
47973         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47974         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47975         signal stack.
47976         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47978 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47980         * elf/stackguard-macros.h: Remove file.
47981         * sysdeps/generic/stackguard-macros.h: New file.
47982         * sysdeps/i386/stackguard-macros.h: Likewise.
47983         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47984         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47985         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47986         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47987         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47988         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47989         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47990         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47991         <elf/stackguard-macros.h>.
47993         [BZ #14109]
47994         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47995         __aligned__ in attribute.
47996         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47997         (gregset_t): Likewise.
47999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48001         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48002         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48003         * sysdeps/x86_64/x32/Implies-after: New file.
48005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48007         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48008         and access return value for _dl_profile_fixup.  Use R10_LP to
48009         load frame size.
48011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48013         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48017         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48018         * sysdeps/x86_64/x32/sysdep.h: New file.
48020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48022         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48023         * sysdeps/x86_64/setjmp.S: Likewise.
48025 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48027         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48028         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48029         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48030         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48031         remove unused global constant.
48033 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48035         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48036         include of <not-cancel.h>.
48038 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48040         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48042 2012-05-15  Jeff Law  <law@redhat.com>
48043             Andreas Jaeger  <aj@suse.de>
48045         [BZ #13594]
48046         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48047         out from...
48048         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48049         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48050         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48051         code changing __hst_map_handle.map.
48053 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48055         * configure.in (sysnames): Look for Implies-before and Implies-after
48056         files.
48057         * configure: Regenerated.
48059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48061         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48062         8-byte data alignment with LP_SIZE alignment.
48064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48066         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48067         into R10_LP.
48069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48071         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48075         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48076         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48078         Likewise.
48079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48083         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48084         (stackinfo_sub_sp): Likewise.
48086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48088         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48089         RAX_LP.
48091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48093         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48094         into R*_LP.
48096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48099         sizes into R*_LP.
48101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48103         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48107         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48108         into R11_LP and load __x86_64_shared_cache_size_half into
48109         R8_LP.
48111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48113         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48114         R8_LP.
48116 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48119         logb for POWER7.
48120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48121         logbf for POWER7.
48122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48123         logbl for POWER7.
48124         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48125         powerpc32/power7/fpu/s_logb.c via #include.
48126         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48127         powerpc32/power7/fpu/s_logbf.c via #include.
48128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48129         powerpc32/power7/fpu/s_logbl.c via #include.
48131 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48133         * README.libm: Remove file.
48135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48137         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48138         count for x32.  Use R*_LP and omit operand-size suffix.
48140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48142         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48143         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48144         * sysdeps/x86_64/x32/shlib-versions: New file.
48146 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48148         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48149         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48150         Use _dl_fatal_printf instead.
48152 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48154         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48155         set if not set by the user.  Do not allow for being unset.
48156         * sysdeps/unix/sysv/linux/configure: Regenerated.
48158 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48160         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48161         the `q' suffix from lea and replace .quad with ASM_ADDR.
48163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48166         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48167         instead of $17.
48168         (PTR_DEMANGLE): Likewise.
48170 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48172         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48173         (LP_OP): Likewise.
48174         (ASM_ADDR): Likewise.
48175         (RAX_LP): Likewise.
48176         (RBP_LP): Likewise.
48177         (RBX_LP): Likewise.
48178         (RCX_LP): Likewise.
48179         (RDI_LP): Likewise.
48180         (RSI_LP): Likewise.
48181         (RSP_LP): Likewise.
48182         (R8_LP): Likewise.
48183         (R9_LP): Likewise.
48184         (R10_LP): Likewise.
48185         (R10_LP): Likewise.
48186         (R11_LP): Likewise.
48187         (R12_LP): Likewise.
48188         (R13_LP): Likewise.
48189         (R14_LP): Likewise.
48190         (R15_LP): Likewise.
48192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48194         * sysdeps/x86_64/x32/dl-machine.h: New file.
48196 2012-05-14  Andreas Jaeger  <aj@suse.de>
48198         * manual/Makefile (subdir): Remove export of subdir.
48199         (all): Remove target.
48200         (.PHONY): Remove all from list.
48201         (mkinstalldirs): Remove.
48202         (.PHONY): Remove installdirs from list.
48203         ($(inst_infodir)/libc.info): Use make-target-directory.
48204         (installdirs): Remove.
48205         (subdir_%): Remove.
48206         (glibc-targets): Remove.
48207         (lib): Remove.
48208         (stubs): Remove.
48209         ($(objpfx)stubs ../po/manual.pot): Remove.
48210         ($(objpfx)stamp%): Remove.
48211         (make-target-directory): Remove.
48212         (subdir_install): Remove.
48213         (routines): Remove.
48214         (aux): Remove.
48215         (sources): Remove.
48216         (objects): Remove.
48217         (headers): Remove.
48219         [BZ #13750]
48220         * manual/.gitignore: Remove, it's not needed anymore.
48221         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48222         all files in it.
48223         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48224         directory.
48225         (texis): Renamed to $(objpfx)texis.
48226         (texis-path): New, contains path to generated files.
48227         (chapters.%): Use texis-path for complete path, add extra argument
48228         libc-texinfo.sh.
48229         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48230         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48231         (summary,texi, stamp-summary): Use complete path of
48232         files. Generate files in build dir.
48233         (dir-add.texi): Build in build dir.
48234         (libm-err.texi,stamp-libm-err): Likewise.
48235         (version.texi, stamp-version): Likewise.
48236         (.%c.texi): Likewise.
48237         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48238         (mostlyclean): Remove target.
48239         (realclean): Remove target.
48240         (generated): Add new variable with contents from mostlyclean and
48241         realclean, remove entries duplicated in common-mostlyclean, add
48242         stamp-libm-err and stamp-version.
48243         (generated-dirs): Add libc directory.
48244         ($(inst_infodir)/libc.info): Install files from build dir.
48246         * manual/install.texi (Configuring and compiling): Adjust since
48247         the info files are not part of the tar ball anymore.
48249 2012-05-14  Andreas Jaeger  <aj@suse.de>
48251         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48252         variable.
48254 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48256         [BZ #13717]
48257         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48258         to 2.2.0 where earlier.
48259         * sysdeps/unix/sysv/linux/configure: Regenerated.
48260         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48261         Remove conditional code.
48262         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48263         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48264         Remove conditional code.
48265         [!__NR_lchown]: Likewise.
48266         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48267         [__NR_lchown]: Likewise.
48268         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48269         comment referencing __ASSUME_LCHOWN_SYSCALL.
48270         * sysdeps/unix/sysv/linux/i386/sigaction.c
48271         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48272         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48273         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48274         Remove conditional code.
48275         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48276         (__protocol_available): Remove #if 0 code.
48277         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48278         conditional code.
48279         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48280         * sysdeps/unix/sysv/linux/kernel-features.h
48281         (__ASSUME_GETCWD_SYSCALL): Don't define.
48282         (__ASSUME_REALTIME_SIGNALS): Likewise.
48283         (__ASSUME_PREAD_SYSCALL): Likewise.
48284         (__ASSUME_PWRITE_SYSCALL): Likewise.
48285         (__ASSUME_POLL_SYSCALL): Likewise.
48286         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48287         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48288         non-SPARC.
48289         (__ASSUME_SIOCGIFNAME): Don't define.
48290         (__ASSUME_MSG_NOSIGNAL): Likewise.
48291         (__ASSUME_SENDFILE): Define unconditionally.
48292         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48293         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48294         conditional code.
48295         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48296         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48297         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48298         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48299         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48300         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48301         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48303         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48304         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48306         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48309         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48310         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48315         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48316         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48318         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48321         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48324         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48326         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48327         Remove conditional code.
48328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48329         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48330         Remove conditional code.
48331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48332         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48333         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48334         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48335         Remove conditional code.
48336         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48337         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48338         Remove conditional code.
48339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48340         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48341         Remove conditional code.
48342         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48343         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48344         Remove conditional code.
48345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48346         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48347         Remove conditional code.
48348         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48349         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48350         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48352         * sysdeps/unix/sysv/linux/sigaction.c
48353         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48354         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48355         * sysdeps/unix/sysv/linux/sigpending.c
48356         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48357         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48358         * sysdeps/unix/sysv/linux/sigprocmask.c
48359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48361         * sysdeps/unix/sysv/linux/sigsuspend.c
48362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48364         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48365         (__libc_missing_rt_sigs): Remove.
48366         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48367         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48368         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48369         Remove conditional code.
48370         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48371         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48372         return 1.
48373         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48374         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48375         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48376         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48378 2012-05-14  Andreas Jaeger  <aj@suse.de>
48380         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48381         it's not used in glibc.
48382         (__coshm1): Likewise.
48383         (__acosh1p): Likewise.
48384         (__sgn): Likewise.
48386         * manual/string.texi (Copying and Concatenation): Add missing
48387         variable in concat example.
48388         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48392         [BZ #14103]
48393         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48394         __builtin_clzl with __builtin_clzll.
48396 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48398         [BZ #14104]
48399         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48400         libc_freeres_ptr.
48402 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48404         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48405         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48406         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48407         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48409 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48411         * NEWS: Update ia64 info.
48413 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48415         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48416         used as bcopy.
48418 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48420         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48421         * sysdeps/unix/syscalls.list (dup3): Likewise.
48422         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48423         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48425 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48427         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48428         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48430 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48432         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48433         thread pointer.
48434         (TLS_IE): Use mov/add instead of movq/addq to load thread
48435         pointer.
48436         (TLS_GD_PREFIX): New.
48437         (TLS_GD): Use it.
48439 2012-05-11  David S. Miller  <davem@davemloft.net>
48441         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48442         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48443         (_FPU_SETCW): Likewise.
48445 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48447         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48448         is 32-byte aligned.
48450 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48452         [BZ #11837]
48453         * iconvdata/gb18030.c: Update tables.
48454         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48455         characters specially.
48456         (BODY for TO_LOOP): Add encoding of missing ranges.
48458 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48460         [BZ #13673]
48461         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48462         * sysdeps/mach/hurd/dup3.c: Likewise.
48463         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48464         * sysdeps/powerpc/memmove.c:: Likewise.
48466 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48469         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48471 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48473         * elf/elf.h (R_X86_64_RELATIVE64): New.
48474         (R_X86_64_NUM): Updated.
48475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48476         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48477         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48478         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48479         tst-quad1pie tst-quad2pie
48480         (modules-names): Add tst-quadmod1 tst-quadmod2.
48481         ($(objpfx)tst-quad1): New dependency.
48482         ($(objpfx)tst-quad2): Likewise.
48483         ($(objpfx)tst-quad1pie): Likewise.
48484         ($(objpfx)tst-quad2pie): Likewise.
48485         * sysdeps/x86_64/tst-quad1.c: New file.
48486         * sysdeps/x86_64/tst-quad1pie.c: New file.
48487         * sysdeps/x86_64/tst-quad2.c: Likewise.
48488         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48489         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48490         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48491         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48492         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48496         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48497         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48498         * streams/stropts.h (t_scalar_t): Define type.
48500         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48501         (_PATH_PRESERVE): Set to "/var/lib".
48502         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48504         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48505         instead of int.
48507         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48508         if __dir_mkfile succeeded.
48510         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48511         checking for _hurd_dtablesize.  Unlock it right after having
48512         finished _hurd_dtable allocation.
48514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48516         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48517         * sysdeps/mach/hurd/configure: Regenerated.
48518         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48519         special-casing to...
48520         * sysdeps/gnu/configure.in: ... this new file.
48521         * sysdeps/unix/sysv/linux/configure: Regenerated.
48522         * sysdeps/gnu/configure: New generated file.
48524         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48525         for Linux: use nsec instead of usec, as well as:
48526         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48527         members of type struct timespec.
48528         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48529         New macros.
48530         (struct stat64): Likewise.
48531         (_STATBUF_ST_NSEC): New macro.
48532         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48534         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48535         __strtoul_internal rather than strtoul.
48537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48539         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48540         and reject them.
48542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48544         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48545         which preserves existing values.
48546         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48548 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48550         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48551         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48552         greater than FD_SETSIZE.
48554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48556         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48557         allocated, call __vm_protect to finish enabling the existing space, and
48558         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48559         allocate the remainder.
48561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48563         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48564         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48568         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48569         sysdeps/mach/hurd/readlink.c.
48571         * posix/tst-sysconf.c (posix_options): Only use
48572         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48573         _POSIX_SYNCHRONIZED_IO when they are defined
48574         * sysdeps/mach/hurd/bits/posix_opt.h:
48575         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48576         (_XOPEN_REALTIME): Undefine macro.
48577         (_XOPEN_REALTIME_THREADS): Undefine macro.
48578         (_XOPEN_SHM): Undefine macro.
48579         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48580         macro to -1.
48581         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48582         macro to -1.
48583         (_POSIX_ASYNC_IO): Undefine macro.
48584         (_POSIX_PRIORITIZED_IO): Undefine macro.
48585         (_POSIX_SPIN_LOCKS): Define macro to -1.
48587         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48588         SA_NODEFER, SA_RESETHAND.
48589         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48590         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48591         F_DUPFD_CLOEXEC.
48593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48595         * elf/Makefile (pldd-modules): Define unconditionally.
48597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48599         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48603         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48604         Return ENOENT when name is empty.
48605         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48609         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48611         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48615         Fix mlock in all cases except non-readable pages.
48616         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48617         instead of VM_PROT_ALL as parameter to __vm_wire function.
48619         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48620         (__mkdir): When path is `/', just fail with EEXIST.
48621         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48625         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48626         <sys/uio.h> (for writev).
48627         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48628         and <sys/param.h> (for MIN).
48630 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48632         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48633         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48634         if interrupted.
48636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48638         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48639         Depend on against $(link-rpcuserlibs).
48641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48643         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48644         (__libc_stack_end): Do not use attribute_relro.
48645         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48646         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48647         to libthread-provided value.
48648         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48649         attribute_relro.
48651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48653         [BZ #3748]
48654         * bits/libc-lock.h (__libc_once_get): New macro.
48655         * sysdeps/mach/bits/libc-lock.h: Likewise.
48656         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48657         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48658         instead of using implementation details.
48660         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48661         * libio/freopen.c: Likewise.
48662         * libio/freopen64.c: Likewise.
48663         * misc/syslog.c: Likewise.
48664         * nscd/connections.c: Likewise.
48665         * nscd/netgroupcache.c: Likewise.
48666         * sysdeps/posix/getcwd.c: Likewise.
48668 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48670         * math/w_ilogbf.c: Add #include <limits.h>.
48672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48674         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48675         path instead of returning without unlocking.
48677         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48678         immediate-write ioctls.
48679         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48683         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48684         __builtin_frame_address instead of making assumptions about the
48685         location of the return address relative to DATA.  Force early load of
48686         the return address.
48687         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48688         __builtin_frame_address.
48690         dup3 for GNU Hurd.
48691         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48692         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48693         implement dup3 and do some further code clean-ups.
48694         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48695         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48699         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48701         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48702         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48703         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48704         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48705         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48706         d->port.lock.
48708         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48709         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48710         when handler == SIG_ERR, not when handler != SIG_ERR.
48712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48714         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48715         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48716         definitions.
48718         accept4 for GNU Hurd.
48719         * include/sys/socket.h (__libc_accept4): New prototype.
48720         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48721         to implement __libc_accept4.
48722         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48723         __libc_accept4.
48724         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48726         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48727         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48728         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48729         signal-defines.sym.
48731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48733         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48737         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48738         assertion on O_CLOEXEC flag.
48739         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48740         * hurd/intern-fd.c: Likewise.
48741         * hurd/port2fd.c: Likewise.
48743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48745         [BZ #3906]
48746         * bits/in.h (IPV6_PKTINFO): Define new macro.
48747         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48749 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48751         [BZ #13954]
48752         [BZ #13955]
48753         [BZ #13956]
48754         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48756         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48757         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48759         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48760         * math/libm-test.inc (logb_test) : Additional logb tests.
48762 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48763             Andreas Jaeger  <aj@suse.de>
48765         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48766         * configure: Regenerated.
48767         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48768         * config.make.in (link-obsolete-rpc): New substituted variable.
48769         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48770         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48771         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48772         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48773         so that libc.a contains the symbols.
48774         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48775         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48776         * sunrpc/auth_none.c: Likewise.
48777         * sunrpc/auth_unix.c: Likewise.
48778         * sunrpc/authdes_prot.c: Likewise.
48779         * sunrpc/authuxprot.c: Likewise.
48780         * sunrpc/clnt_gen.c: Likewise.
48781         * sunrpc/clnt_perr.c: Likewise.
48782         * sunrpc/clnt_raw.c: Likewise.
48783         * sunrpc/clnt_simp.c: Likewise.
48784         * sunrpc/clnt_tcp.c: Likewise.
48785         * sunrpc/clnt_udp.c: Likewise.
48786         * sunrpc/clnt_unix.c: Likewise.
48787         * sunrpc/des_crypt.c: Likewise.
48788         * sunrpc/des_soft.c: Likewise.
48789         * sunrpc/get_myaddr.c: Likewise.
48790         * sunrpc/key_call.c: Likewise.
48791         * sunrpc/key_prot.c: Likewise.
48792         * sunrpc/netname.c: Likewise.
48793         * sunrpc/pm_getmaps.c: Likewise.
48794         * sunrpc/pm_getport.c: Likewise.
48795         * sunrpc/pmap_clnt.c: Likewise.
48796         * sunrpc/pmap_prot.c: Likewise.
48797         * sunrpc/pmap_prot2.c: Likewise.
48798         * sunrpc/pmap_rmt.c: Likewise.
48799         * sunrpc/publickey.c: Likewise.
48800         * sunrpc/rpc_cmsg.c: Likewise.
48801         * sunrpc/rpc_common.c: Likewise.
48802         * sunrpc/rpc_dtable.c: Likewise.
48803         * sunrpc/rpc_prot.c: Likewise.
48804         * sunrpc/rpc_thread.c: Likewise.
48805         * sunrpc/rtime.c: Likewise.
48806         * sunrpc/svc.c: Likewise.
48807         * sunrpc/svc_auth.c: Likewise.
48808         * sunrpc/svc_raw.c: Likewise.
48809         * sunrpc/svc_run.c: Likewise.
48810         * sunrpc/svc_tcp.c: Likewise.
48811         * sunrpc/svc_udp.c: Likewise.
48812         * sunrpc/svc_unix.c: Likewise.
48813         * sunrpc/svcauth_des.c: Likewise.
48814         * sunrpc/xcrypt.c: Likewise.
48815         * sunrpc/xdr.c: Likewise.
48816         * sunrpc/xdr_array.c: Likewise.
48817         * sunrpc/xdr_float.c: Likewise.
48818         * sunrpc/xdr_intXX_t.c: Likewise.
48819         * sunrpc/xdr_mem.c: Likewise.
48820         * sunrpc/xdr_rec.c: Likewise.
48821         * sunrpc/xdr_ref.c: Likewise.
48822         * sunrpc/xdr_sizeof.c: Likewise.
48823         * sunrpc/xdr_stdio.c: Likewise.
48825 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48828         change.  Update copyright years.
48830 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48832         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48834 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48835             Joseph Myers  <joseph@codesourcery.com>
48836             Paul Pluzhnikov  <ppluzhnikov@google.com>
48838         [BZ #14012]
48839         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48840         requiring rpcgen.
48841         [cross-compiling] (extra-libs): Likewise.
48842         [cross-compiling] (extra-libs-others): Likewise.
48843         [cross-compiling] (librpcsvc-routines): Likewise.
48844         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48845         [cross-compiling] (omit-deps): Likewise.
48846         (sunrpc-CPPFLAGS): New variable.
48847         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48848         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48849         (cross-rpcgen-objs): New variable.
48850         (extra-objs): Append $(cross-rpcgen-objs).
48851         ($(cross-rpcgen-objs)): New rule.
48852         ($(objpfx)cross-rpcgen): Likewise.
48853         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48854         comment.
48855         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48856         ($(objpfx)x%.stmp): Likewise.
48857         * sunrpc/proto.h [IS_IN_build] (_): Define.
48858         [IS_IN_build] (_libc_intl_domainname): Likewise.
48860 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48862         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48863         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48864         and R_X86_64_TPOFF64.
48866 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48868         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48869         sysdeps/unix/sysv/syscalls.list.
48870         (stime): Likewise.
48871         (utime): Likewise.
48872         * sysdeps/unix/sysv/syscalls.list: Remove file.
48874 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48876         [BZ #3440]
48877         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48878         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48879         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48880         (__LC_IDENTIFICATION): Make these macros useful in #if
48881         expressions, as required by C99.
48883 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48885         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48886         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48887         after this.
48889 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48891         * stdlib/longlong.h: Updated from GCC.
48893 2012-05-09  Andreas Jaeger  <aj@suse.de>
48895         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48896         default is first entry.
48897         (run_mode): Set type.
48898         (main): Remove informal message about syslog.
48899         (options): Fix typo.
48901         [BZ #14053]
48902         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48903         to asm.
48904         (lrint): Likewise.
48905         (llrintf): Likewise.
48906         (llrint): Likewise.
48907         (rint): Likewise.
48908         (rintf): Likewise.
48909         (nearbyint): Likewise.
48910         (nearbyintf): Likewise.
48912 2012-05-09  Andreas Jaeger  <aj@suse.de>
48913             Pedro Alves  <palves@redhat.com>
48915         * nscd/nscd.c (run_mode): Use enum.
48916         (main): Cleanup coding style issue.
48918 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48919             Andreas Jaeger  <aj@suse.de>
48921         * nscd/nscd.c (go_background): Replaced with...
48922         (run_mode): ... this.
48923         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48924         (options): Add -F --foreground.
48925         (main): Implement it.
48926         (parse_opt): Parse it.
48928 2012-05-09  Andreas Jaeger  <aj@suse.de>
48930         [BZ #14083]
48931         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48932         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48933         -Wconversion warning.
48934         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48935         Likewise.
48937 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48939         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48940         == 0.
48941         (LC_ALL): Use macro-int-constant.
48942         (LC_COLLATE): Likewise.
48943         (LC_CTYPE): Likewise.
48944         (LC_MESSAGES): Likewise.
48945         (LC_MONETARY): Likewise.
48946         (LC_NUMERIC): Likewise.
48947         (LC_TIME): Likewise.
48948         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48949         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48950         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48951         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48952         Specify type.
48953         [C99-based standards] (float_t): Expect type.
48954         [C99-based standards] (double_t): Expect type.
48955         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48956         type.
48957         [C99-based standards] (HUGE_VALL): Likewise.
48958         [C99-based standards] (INFINITY): Likewise.
48959         [C99-based standards] (NAN): Likewise.
48960         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48961         [C99-based standards] (FP_NAN): Likewise.
48962         [C99-based standards] (FP_NORMAL): Likewise.
48963         [C99-based standards] (FP_SUBNORMAL): Likewise.
48964         [C99-based standards] (FP_ZERO): Likewise.
48965         [C99-based standards] (FP_FAST_FMA): Use
48966         optional-macro-int-constant.  Specify type.  Require == 1.
48967         [C99-based standards] (FP_FAST_FMAF): Likewise.
48968         [C99-based standards] (FP_FAST_FMAL): Likewise.
48969         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48970         [C99-based standards] (FP_ILOGBNAN): Likewise.
48971         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48972         Specify type.
48973         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48974         [C99-based standards] (math_errhandling): Specify type.
48975         [ISO99 || ISO11] (signgam): Do not allow.
48976         [non-C99-based standards] (copysignf): Do not allow.
48977         [non-C99-based standards] (exp2f): Likewise.
48978         [non-C99-based standards] (log2f): Likewise.
48979         [non-C99-based standards] (modff): Allow.
48980         [non-C99-based standards] (erff): Do not allow.
48981         [non-C99-based standards] (erfcf): Likewise.
48982         [non-C99-based standards] (gammaf): Likewise.
48983         [non-C99-based standards] (hypotf): Likewise.
48984         [non-C99-based standards] (j0f): Likewise.
48985         [non-C99-based standards] (j1f): Likewise.
48986         [non-C99-based standards] (jnf): Likewise.
48987         [non-C99-based standards] (lgammaf): Likewise.
48988         [non-C99-based standards] (tgammaf): Likewise.
48989         [non-C99-based standards] (y0f): Likewise.
48990         [non-C99-based standards] (y1f): Likewise.
48991         [non-C99-based standards] (ynf): Likewise.
48992         [non-C99-based standards] (isnanf): Likewise.
48993         [non-C99-based standards] (acoshf): Likewise.
48994         [non-C99-based standards] (asinhf): Likewise.
48995         [non-C99-based standards] (atanhf): Likewise.
48996         [non-C99-based standards] (cbrtf): Likewise.
48997         [non-C99-based standards] (expm1f): Likewise.
48998         [non-C99-based standards] (ilogbf): Likewise.
48999         [non-C99-based standards] (log1pf): Likewise.
49000         [non-C99-based standards] (logbf): Likewise.
49001         [non-C99-based standards] (nextafterf): Likewise.
49002         [non-C99-based standards] (remainderf): Likewise.
49003         [non-C99-based standards] (rintf): Likewise.
49004         [non-C99-based standards] (scalbf): Likewise.
49005         [non-C99-based standards] (copysignl): Likewise.
49006         [non-C99-based standards] (exp2l): Likewise.
49007         [non-C99-based standards] (log2l): Likewise.
49008         [non-C99-based standards] (modfl): Allow.
49009         [non-C99-based standards] (erfl): Do not allow.
49010         [non-C99-based standards] (erfcl): Likewise.
49011         [non-C99-based standards] (gammal): Likewise.
49012         [non-C99-based standards] (hypotl): Likewise.
49013         [non-C99-based standards] (j0l): Likewise.
49014         [non-C99-based standards] (j1l): Likewise.
49015         [non-C99-based standards] (jnl): Likewise.
49016         [non-C99-based standards] (lgammal): Likewise.
49017         [non-C99-based standards] (tgammal): Likewise.
49018         [non-C99-based standards] (y0l): Likewise.
49019         [non-C99-based standards] (y1l): Likewise.
49020         [non-C99-based standards] (ynl): Likewise.
49021         [non-C99-based standards] (isnanl): Likewise.
49022         [non-C99-based standards] (acoshl): Likewise.
49023         [non-C99-based standards] (asinhl): Likewise.
49024         [non-C99-based standards] (atanhl): Likewise.
49025         [non-C99-based standards] (cbrtl): Likewise.
49026         [non-C99-based standards] (expm1l): Likewise.
49027         [non-C99-based standards] (ilogbl): Likewise.
49028         [non-C99-based standards] (log1pl): Likewise.
49029         [non-C99-based standards] (logbl): Likewise.
49030         [non-C99-based standards] (nextafterl): Likewise.
49031         [non-C99-based standards] (remainderl): Likewise.
49032         [non-C99-based standards] (rintl): Likewise.
49033         [non-C99-based standards] (scalbl): Likewise.
49034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49035         [non-C99-based standards] (FP_*): Do not allow.
49036         [C99-based standards] (FP_*): Change to
49037         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49038         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49039         allow.
49040         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49041         (SIG_ERR): Likewise.
49042         [X/Open-based standards] (SIG_HOLD): Likewise.
49043         (SIG_IGN): Likewise.
49044         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49045         positive value.
49046         (SIGFPE): Likewise.
49047         (SIGILL): Likewise.
49048         (SIGINT): Likewise.
49049         (SIGSEGV): Likewise.
49050         (SIGTER): Likewise.
49051         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49052         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49053         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49054         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49055         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49056         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49057         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49058         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49059         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49060         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49061         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49062         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49063         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49064         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49065         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49066         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49067         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49068         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49069         [X/Open-based standards] (SIGTRAP): Likewise.
49070         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49071         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49072         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49073         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49074         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49075         allow.
49077 2012-05-08  Ian Wienand  <ianw@vmware.com>
49079         [BZ #14080]
49080         * time/tzset.c (__tzset_parse_tz): Update default rules for
49081         daylight time changes in the Energy Policy Act of 2005.
49083 2012-05-09  Andreas Jaeger  <aj@suse.de>
49085         [BZ #13983]
49086         * elf/ldconfig.c (parse_conf): Change string to make clear that
49087         ldconfig only issued a warning if ld.so.conf does not exist.
49089 2012-05-08  David S. Miller  <davem@davemloft.net>
49091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49092         movxtod instead of popping the value on the stack.
49094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49096 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49098         * config.h.in: Add HAVE_ARM_PCS_VFP.
49100 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49102         [BZ #13979]
49103         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49104         checking but the checks are disabled for any reason.
49106 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49108         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49109         and ELF64_R_TYPE with ELFW(R_TYPE).
49111 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49113         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49114         (ulimit): Likewise.
49116         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49117         (settimeofday): Likewise.
49119 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49121         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49122         a struct th_u2 inside the union, and move tu_block/tu_code into
49123         a new th_u3 union of tu_block/tu_code inside of that.  Move
49124         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49125         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49126         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49127         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49128         (th_stuff): Change to th_u1.tu_stuff.
49129         (th_data): Define.
49130         (th_msg): Change to th_u1.th_u2.tu_data.
49132 2012-05-07  David S. Miller  <davem@davemloft.net>
49134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49136         [BZ #14074]
49137         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49138         (SETUP_PIC_REG): Use it.
49139         (SETUP_PIC_REG_LEAF): Use it.
49141 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49143         [BZ #13885]
49144         [BZ #13923]
49145         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49146         USE_AS_EXPM1L.
49147         (EXPL_FINITE): Likewise.
49148         (FLDLOG): Likewise.
49149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49150         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49151         e_expl.S.
49152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49153         USE_AS_EXPM1L.
49154         (EXPL_FINITE): Likewise.
49155         (FLDLOG): Likewise.
49156         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49157         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49158         e_expl.S.
49159         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49160         test of -max_value argument for long double.
49161         * sysdeps/i386/fpu/libm-test-ulps: Update.
49162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49164 2012-05-06  David S. Miller  <davem@davemloft.net>
49166         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49167         quad soft-float symbols whose references which are compiler
49168         generated.
49169         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49171 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49173         [BZ #13884]
49174         [BZ #13914]
49175         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49176         USE_AS_EXP10L.
49177         (EXPL_FINITE): Likewise.
49178         (FLDLOG): Likewise.
49179         (c0): Likewise.
49180         (c1): Likewise.
49181         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49182         Adjust comments for base varying.
49183         (__expl_finite): Change alias to EXPL_FINITE.
49184         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49185         e_expl.S.
49186         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49187         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49188         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49189         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49190         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49191         USE_AS_EXP10L.
49192         (EXPL_FINITE): Likewise.
49193         (FLDLOG): Likewise.
49194         (c0): Likewise.
49195         (c1): Likewise.
49196         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49197         Adjust comments for base varying.
49198         (__expl_finite): Change alias to EXPL_FINITE.
49199         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49200         tests for bugs.
49201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49203         [BZ #14064]
49204         * math/libm-test.inc (check_float_internal): Correct ulp
49205         calculation for subnormal expected results.
49207 2012-05-06  Andreas Jaeger  <aj@suse.de>
49209         * Makeconfig (+math-flags): New, set to -frounding-math.
49210         (+cflags): Add +math-flags so that all of glibc gets compiled with
49211         it.
49213         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49215 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49217         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49218         Disable one test.
49220         [BZ #13787]
49221         [BZ #13922]
49222         [BZ #14036]
49223         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49224         (__ieee754_expl): Allow for and saturate large arguments.
49225         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49226         (u_threshold): Likewise.
49227         (__exp): Call __ieee754_exp before checking for overflow and
49228         underflow.
49229         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49230         (u_threshold): Likewise.
49231         (__expf): Call __ieee754_expf before checking for overflow and
49232         underflow.
49233         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49234         (u_threshold): Likewise.
49235         (__expl): Call __ieee754_expl before checking for overflow and
49236         underflow.
49237         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49238         (__ieee754_expl): Allow for and saturate large arguments.
49239         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49240         missing overflow exception on overflow.
49241         (expm1_test): Do not allow missing overflow exception on overflow.
49243         * sysdeps/i386/fpu/e_expl.c: Move to ...
49244         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49245         rather than using inline asm.
49246         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49247         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49248         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49250         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49251         (nice): Likewise.
49252         (poll): Likewise.
49253         (signal): Likewise.
49254         (time): Likewise.
49255         (times): Likewise.
49257 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49259         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49260         sysdeps/unix/common/syscalls.list.
49261         (fchmod): Likewise.
49262         (fchown): Likewise.
49263         (ftruncate): Likewise.
49264         (getrusage): Likewise.
49265         (gettimeofday): Likewise.
49266         (setpgid): Likewise.
49267         (setregid): Likewise.
49268         (setreuid): Likewise.
49269         (sigaction): Likewise.
49270         (truncate): Likewise.
49271         (vhangup): Likewise.
49272         * sysdeps/unix/common/syscalls.list: Remove file.
49273         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49274         * sysdeps/unix/sysv/linux/Implies: Likewise.
49276 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49278         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49280         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49281         Moved to ...
49282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49283         Here.
49284         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49285         to ...
49286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49287         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49288         to ...
49289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49290         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49291         to ...
49292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49293         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49294         to ...
49295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49296         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49297         to ...
49298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49299         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49300         to ...
49301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49302         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49303         to ...
49304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49305         Here.
49306         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49307         to ...
49308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49309         Here.
49310         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49311         to ...
49312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49313         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49314         Moved to ...
49315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49316         Here.
49317         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49318         to ...
49319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49321 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49323         * sysdeps/unix/common/bits/dirent.h: Remove file.
49324         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49326         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49327         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49328         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49329         * sysdeps/unix/bsd/isatty.c: Likewise.
49330         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49331         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49332         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49334 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49336         [BZ #13563]
49337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49338         long double comparison inaccuracies.
49339         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49342 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49344         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49345         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49347 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49349         [BZ #14049]
49350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49351         nonzero digits before rounding a hex value.
49352         * stdlib/tst-strtod.c (tests): Add another test.
49354 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49356         * sysdeps/s390/fpu/libm-test-ulps: Update.
49358 2012-05-03  Andreas Jaeger  <aj@suse.de>
49360         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49361         does not get optimized out.
49362         (malloc_opt_barrier): New.
49364 2012-05-03  Andreas Jaeger  <aj@suse.de>
49365             Roland McGrath  <roland@hack.frob.com>
49367         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49368         intermediate file deletion.
49369         (generated): Add .symlist files.
49371 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49373         [BZ #13775]
49374         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49375         Redirect under this condition.
49376         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49377         [__USE_GNU] (__dprintf_chk): Not under this condition.
49378         [__USE_GNU] (__vdprintf_chk): Likewise.
49379         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49380         under this condition.
49381         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49382         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49383         [__USE_XOPEN2K8] (vdprintf): Likewise.
49384         [__USE_GNU] (__dprintf_chk): Not under this condition.
49385         [__USE_GNU] (__vdprintf_chk): Likewise.
49386         [__USE_GNU] (dprintf): Likewise.
49387         [__USE_GNU] (vdprintf): Likewise.
49389 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49391         * elf/Makefile (common-generated): Set this instead of generated for
49392         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49393         $(all-built-dso)-derived lists.
49395 2012-05-03  Andreas Jaeger  <aj@suse.de>
49397         * sysdeps/i386/fpu/libm-test-ulps: Update.
49399         * FAQ: Removed.
49400         * FAQ.in: Likewise.
49401         * scripts/gen-FAQ.pl: Likewise.
49402         * manual/install.texi (Installation): Point to online location of
49403         FAQ.
49404         * Makefile (files-for-dist): Remove FAQ.
49405         (FAQ): Remove.
49407 2012-05-02  Allan McRae  <allan@archlinux.org>
49409         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49410         (LDFLAGS-reldepmod5.so): Likewise.
49411         (LDFLAGS-reldep6mod1.so): Likewise.
49412         (LDFLAGS-reldep6mod4.so): Likewise.
49413         (LDFLAGS-reldep8mod3.so): Likewise.
49414         (LDFLAGS-unload4mod1.so): Likewise.
49415         (LDFLAGS-unload4mod2.so): Likewise.
49416         (LDFLAGS-tst-initorder): Likewise.
49417         (LDFLAGS-tst-initordera2.so): Likewise.
49418         (LDFLAGS-tst-initordera3.so): Likewise.
49419         (LDFLAGS-tst-initordera4.so): Likewise.
49420         (LDFLAGS-tst-initorderb2.so): Likewise.
49421         (LDFLAGS-noload): Likewise.
49422         (LDFLAGS-next): Likewise.
49423         (LDFLAGS-order2mod1.so): Likewise.
49424         (LDFLAGS-order2mod2.so): Likewise.
49425         (LDFLAGS-tst-initorder2): Likewise.
49426         (LDFLAGS-tst-initorder2a.so): Likewise.
49427         (LDFLAGS-tst-initorder2b.so): Likewise.
49428         (LDFLAGS-tst-initorder2c.so): Likewise.
49429         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49431 2012-05-02  David S. Miller  <davem@davemloft.net>
49433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49435 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49437         [BZ #14055]
49438         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49440 2012-05-02  Andreas Jaeger  <aj@suse.de>
49442         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49443         since we manipulate rounding mode.
49444         (CPPFLAGS-test-idouble.c): Likewise.
49445         (CPPFLAGS-test-ifloat.c): Likewise.
49446         (CFLAGS-test-ldouble.c): Likewise.
49447         (CFLAGS-test-double.c): Likewise.
49448         (CFLAGS-test-float.c): Likewise.
49449         (CFLAGS-test-misc.c): Likewise.
49450         (CFLAGS-test-test-fenv.c): Likewise.
49452 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49454         [BZ #2550]
49455         [BZ #2570]
49456         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49457         comparisons to determine direction to adjust input.
49459 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49461         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49462         output to the target.
49464         * scripts/localplt.awk: New file.
49465         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49466         (check-localplt-CFLAGS): Variable removed.
49467         ($(all-built-dso:=.jmprel)): New static pattern rule.
49468         (generated): Add those targets.
49469         (localplt-built-dso): New variable.
49470         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49472         * elf/check-localplt.c: File removed.
49474         * scripts/check-execstack.awk: New file.
49475         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49476         (check-execstack-CFLAGS): Variable removed.
49477         ($(objpfx)check-execstack.h): Target removed.
49478         ($(objpfx)execstack-default): New target.
49479         (generated): Add that instead of check-execstack.h.
49480         ($(all-built-dso:=.phdr)): New static pattern rule.
49481         (generated): Add those targets.
49482         * elf/check-execstack.c: File removed.
49484         * scripts/check-textrel.awk: New file.
49485         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49486         (check-textrel-CFLAGS): Variable removed.
49487         (all-built-dso): Use := to define.o
49488         ($(all-built-dso:=.dyn)): New static pattern rule.
49489         (generated): Add those targets.
49490         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49491         * config.make.in (READELF): New substituted variable.
49492         * elf/check-textrel.c: File removed.
49494 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49496         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49497         allow.
49498         * conform/data/ctype.h-data [C99-based standards] (isblank):
49499         Expect function.
49500         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49501         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49503         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49504         Specify type.  Require positive value.
49505         (EILSEQ): Likewise.
49506         (ERANGE): Likewise.
49507         [ISO || POSIX] (EILSEQ): Do not expect.
49508         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49509         Specify type.  Require positive value.
49510         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49511         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49512         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49513         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49514         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49515         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49516         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49517         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49518         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49519         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49520         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49521         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49522         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49523         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49524         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49525         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49526         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49527         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49528         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49529         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49530         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49531         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49532         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49533         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49534         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49535         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49536         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49537         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49538         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49539         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49540         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49541         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49542         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49543         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49544         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49545         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49546         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49547         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49548         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49549         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49550         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49551         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49552         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49553         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49554         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49555         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49556         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49557         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49558         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49559         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49560         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49561         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49562         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49563         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49564         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49565         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49566         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49567         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49568         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49569         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49570         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49571         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49572         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49573         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49574         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49575         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49576         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49577         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49578         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49579         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49580         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49581         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49582         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49583         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49584         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49585         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49586         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49587         Require >= 2.
49588         (FLT_ROUNDS): Expect as macro, not constant.
49589         (FLT_MANT_DIG): Use macro-int-constant.
49590         (DBL_MANT_DIG): Likewise.
49591         (LDBL_MANT_DIG): Likewise.
49592         (FLT_DIG): Likewise.
49593         (DBL_DIG): Likewise.
49594         (LDBL_DIG): Likewise.
49595         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49596         (DBL_MIN_EXP): Likewise.
49597         (LDBL_MIN_EXP): Likewise.
49598         (FLT_MAX_EXP): Use macro-int-constant.
49599         (DBL_MAX_EXP): Likewise.
49600         (LDBL_MAX_EXP): Likewise.
49601         (FLT_MAX_10_EXP): Likewise.
49602         (DBL_MAX_10_EXP): Likewise.
49603         (LDBL_MAX_10_EXP): Likewise.
49604         (FLT_MAX): Use macro-constant.
49605         (DBL_MAX): Likewise.
49606         (LDBL_MAX): Likewise.
49607         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49608         (DBL_EPSILON): Likewise.
49609         (LDBL_EPSILON): Likewise.
49610         (FLT_MIN): Likewise.
49611         (DBL_MIN): Likewise.
49612         (LDBL_MIN): Likewise.
49613         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49614         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49615         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49616         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49617         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49618         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49619         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49620         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49621         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49622         [ISO11] (FLT_TRUE_MIN): Likewise.
49623         [ISO11] (LDBL_TRUE_MIN): Likewise.
49624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49625         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49626         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49627         (SCHAR_MAX): Likewise.
49628         (UCHAR_MAX): Likewise.
49629         (CHAR_MIN): Likewise.
49630         (CHAR_MAX): Likewise.
49631         (MB_LEN_MAX): Use macro-int-constant.
49632         (SHRT_MIN): Use macro-int-constant.  Specify type.
49633         (SHRT_MAX): Likewise.
49634         (USHRT_MAX): Likewise.
49635         (INT_MAX): Likewise.
49636         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49637         bound negative.
49638         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49639         bound with "U".
49640         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49641         bound with "L".
49642         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49643         bound negative.  Suffix upper bound with "L".
49644         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49645         bound with "UL".
49646         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49647         Specify type.
49648         [C99-based standards] (LLONG_MAX): Likewise.
49649         [C99-based standards] (ULLONG_MAX): Likewise.
49650         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49651         == 0.
49652         [ISO11] (max_align_t): Require type.
49653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49655         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49656         from $CFLAGS, without defining away __attribute__ calls.
49657         (checknamespace): Use $CFLAGS_namespace.
49659         * conform/conformtest.pl (@keywords): Only include C99 keywords
49660         for standards based on C99 or C11.
49662         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49663         Disable tests.
49664         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49665         UNIX98]: Likewise.
49667         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49668         usability of symbols in #if.
49670         * conform/conformtest.pl: If macro or constant types start
49671         "promoted:", expect the symbol to be of the following type
49672         promoted by the integer promotions.
49674         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49675         in one place.  Also handle "macro-constant".
49677         * conform/conformtest.pl: Only accept expected macro values with
49678         "==".  Parse all "macro" lines in one place.
49679         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49681         * conform/conformtest.pl: Handle braced types on "constant" lines
49682         instead of handling "typed-constant".
49683         * conform/data/signal.h-data: Use "constant" instead of
49684         "typed-constant".
49686         * conform/conformtest.pl: Handle "optional-" at start of lines in
49687         one place rather than duplicating several cases.  Handle each
49688         format of "macro" line with initial "optional-".
49690         * conform/conformtest.pl: Only accept expected constant or
49691         optional-constant values with "==".  Parse all "constant" lines in
49692         one place.  Parse all "optional-constant" lines in one place.
49693         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49694         * conform/data/fmtmsg.h-data: Likewise.
49695         * conform/data/netinet/in.h-data: Likewise.
49696         * conform/data/tar.h-data: Likewise.
49697         * conform/data/limits.h-data: Use "==" form on "constant" and
49698         "optional-constant" lines.
49700         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49701         Use -std=c99 for XOPEN2K.
49702         (@knownproblems): Remove.
49703         (newtoken): Don't check %isknown.
49705         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49706         Do not expect macro.
49707         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49708         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49709         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49710         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49711         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49712         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49713         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49714         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49715         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49716         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49717         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49718         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49719         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49720         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49721         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49722         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49723         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49724         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49725         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49726         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49727         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49728         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49729         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49730         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49731         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49732         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49733         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49734         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49735         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49736         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49737         [XPG3] (acosh): Likewise.
49738         [XPG3] (asinh): Likewise.
49739         [XPG3] (atanh): Likewise.
49740         [XPG3] (cbrt): Likewise.
49741         [XPG3] (expm1): Likewise.
49742         [XPG3] (ilogb): Likewise.
49743         [XPG3] (log1p): Likewise.
49744         [XPG3] (logb): Likewise.
49745         [XPG3] (nextafter): Likewise.
49746         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49747         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49748         [XPG3] (remainder): Likewise.
49749         [XPG3] (rint): Likewise.
49750         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49751         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49752         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49753         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49754         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49755         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49756         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49757         [UNIX98 || XOPEN2K] (scalb): Expect.
49758         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49759         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49760         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49761         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49762         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49763         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49764         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49765         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49766         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49767         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49768         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49769         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49770         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49771         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49772         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49773         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49774         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49775         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49776         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49777         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49778         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49779         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49780         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49781         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49782         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49783         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49784         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49785         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49786         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49787         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49788         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49789         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49790         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49791         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49792         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49793         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49794         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49795         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49796         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49797         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49798         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49799         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49800         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49801         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49802         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49803         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49804         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49805         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49806         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49807         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49808         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49809         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49810         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49811         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49812         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49813         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49814         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49815         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49816         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49817         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49818         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49819         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49820         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49821         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49822         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49823         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49824         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49825         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49826         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49827         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49828         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49829         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49830         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49831         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49832         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49833         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49834         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49835         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49836         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49837         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49838         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49839         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49840         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49841         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49842         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49843         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49844         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49845         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49846         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49847         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49848         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49849         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49850         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49851         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49852         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49853         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49854         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49855         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49856         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49857         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49858         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49859         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49860         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49861         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49862         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49863         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49864         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49865         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49866         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49867         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49868         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49869         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49870         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49871         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49872         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49873         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49874         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49875         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49876         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49877         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49878         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49879         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49880         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49881         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49882         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49883         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49884         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49885         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49886         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49887         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49888         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49889         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49890         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49891         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49892         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49893         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49894         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49896         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49897         _XOPEN_SOURCE_EXTENDED for XPG4.
49899         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49901         * Makeconfig (localtime): Remove variable.
49902         (inst_localtime-file): Likewise.
49904 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49907         Update.
49908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49909         Update.
49910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49911         Update.
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49913         Update.
49914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49915         Update.
49916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49917         Update.
49918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49919         Update.
49920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49921         Update.
49922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49923         Update.
49925 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49927         [BZ #2550]
49928         [BZ #2570]
49929         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49930         comparisons to determine direction to adjust input.
49931         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49932         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49934         Likewise.
49935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49936         Likewise.
49937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49938         Likewise.
49939         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49940         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49941         Likewise.
49942         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49943         Likewise.
49944         * math/libm-test.inc (nexttoward_test): Add more tests.
49946 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49948         [BZ #14040]
49949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49950         in version GLIBC_2.1, not GLIBC_2.0.
49951         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49952         Likewise.
49954 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49956         [BZ #13942]
49957         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49958         (1 - x) * (1 + x).
49959         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49960         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49961         * math/libm-test.inc (acos_test): Add more tests.
49962         (asin_test): Likewise.
49963         * sysdeps/i386/fpu/libm-test-ulps: Update.
49964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49966         [BZ #14034]
49967         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49968         of square root.
49969         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49970         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49971         * math/libm-test.inc (acos_test_tonearest): New function.
49972         (acos_test_towardzero): Likewise.
49973         (acos_test_downward): Likewise.
49974         (acos_test_upward): Likewise.
49975         (asin_test_tonearest): Likewise.
49976         (asin_test_towardzero): Likewise.
49977         (asin_test_downward): Likewise.
49978         (asin_test_upward): Likewise.
49979         (main): Call the new functions.
49980         * sysdeps/i386/fpu/libm-test-ulps: Update.
49981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49983         [BZ #13884]
49984         [BZ #13924]
49985         * math/e_exp10.c: Include <float.h>.
49986         (__ieee754_exp10): Handle underflow here rather than multiplying
49987         large negative argument by M_LN10.
49988         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49989         of __ieee754_expf.
49990         * math/e_exp10l.c: Include <float.h>.
49991         (__ieee754_exp10l): Handle underflow here rather than multiplying
49992         large negative argument by M_LN10l.
49993         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49994         spurious overflow exception on underflow.
49996 2012-04-29  Marek Polacek  <polacek@redhat.com>
49998         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49999         (__fortify_function): New macro.
50000         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50001         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50002         __extern_always_inline.
50003         * libio/bits/stdio2.h: Likewise.
50004         * libio/bits/stdio.h: Likewise.
50005         * string/string.h: Likewise.
50006         * string/bits/string3.h: Likewise.
50007         * include/stdio.h: Likewise.
50008         * stdlib/bits/stdlib.h: Likewise.
50009         * stdlib/stdlib.h: Likewise.
50010         * rt/bits/mqueue2.h: Likewise.
50011         * rt/mqueue.h: Likewise.
50012         * posix/bits/unistd.h: Likewise.
50013         * posix/unistd.h: Likewise.
50014         * io/bits/poll2.h: Likewise.
50015         * io/bits/fcntl2.h: Likewise.
50016         * io/fcntl.h: Likewise.
50017         * io/sys/poll.h: Likewise.
50018         * misc/bits/syslog.h: Likewise.
50019         * misc/bits/syslog-ldbl.h: Likewise.
50020         * misc/sys/syslog.h: Likewise.
50021         * socket/bits/socket2.h: Likewise.
50022         * socket/sys/socket.h: Likewise.
50023         * debug/tst-chk1.c: Likewise.
50024         * wcsmbs/bits/wchar2.h: Likewise.
50025         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50026         * wcsmbs/wchar.h: Likewise.
50028 2012-04-29  Andreas Jaeger  <aj@suse.de>
50030         * Makerules (tests): Remove enable-check-abi protection.
50031         (check-abi-warn): Remove.
50032         (check-abi-%): Remove check-abi-warn usage.
50034         * configure.in: Remove check-abi configure option.
50035         * configure: Regenerated.
50036         * config.make.in (enable-check-abi): Remove.
50038 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50040         [BZ #14033]
50041         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50042         double functions to double *_finite functions.
50044         [BZ #13941]
50045         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50046         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50047         LDBL_MIN_EXP.
50048         * stdio-common/Makefile (tests): Add tst-sprintf3.
50049         * stdio-common/tst-sprintf3.c: New file.
50051         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50052         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50054 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50056         * conform/conformtest.pl: Remove duplicate typed-constant
50057         handling.
50059 2012-04-28  David S. Miller  <davem@davemloft.net>
50061         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50062         (check-abi-%): Remove AWK script prerequisite and explicit
50063         abilist directory.
50064         (check-abi): Rewrite to just diff the symlist with the abilist.
50065         (config-tls, config-abi-config): Delete, no longer used.
50066         (update-abi-%): Remove AWK script and explicit abilist directory.
50067         (update-abi): Rewrite to simply compare and conditionally copy the
50068         symlist and the sysdep abilist file.  Remove update-abi-config
50069         checks.
50070         * abilist/ld.abilist: Remove.
50071         * abilist/libBrokenLocale.abilist: Remove.
50072         * abilist/libanl.abilist: Remove.
50073         * abilist/libcrypt.abilist: Remove.
50074         * abilist/libdl.abilist: Remove.
50075         * abilist/librt.abilist: Remove.
50076         * abilist/libthread_db.abilist: Remove.
50077         * abilist/libutil.abilist: Remove.
50078         * scripts/extract-abilist.awk: Remove.
50079         * scripts/merge-abilist.awk: Remove.
50080         * sysdeps/generic/libcidn.abilist: New file.
50081         * sysdeps/generic/libnss_compat.abilist: New file.
50082         * sysdeps/generic/libnss_db.abilist: New file.
50083         * sysdeps/generic/libnss_dns.abilist: New file.
50084         * sysdeps/generic/libnss_files.abilist: New file.
50085         * sysdeps/generic/libnss_hesiod.abilist: New file.
50086         * sysdeps/generic/libnss_nis.abilist: New file.
50087         * sysdeps/generic/libnss_nisplus.abilist: New file.
50088         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50089         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50090         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50091         file.
50092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50093         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50094         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50095         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50096         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50097         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50098         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50099         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50100         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50101         file.
50102         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50103         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50104         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50105         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50106         file.
50107         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50108         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50109         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50110         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50111         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50112         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50113         file.
50114         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50115         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50116         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50117         file.
50118         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50120         New file.
50121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50122         New file.
50123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50124         New file.
50125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50126         New file.
50127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50128         New file.
50129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50130         New file.
50131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50132         New file.
50133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50134         New file.
50135         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50136         New file.
50137         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50138         New file.
50139         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50140         New file.
50141         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50142         New file.
50143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50144         New file.
50145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50146         file.
50147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50148         New file.
50149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50150         New file.
50151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50152         file.
50153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50154         New file.
50155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50156         New file.
50157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50158         file.
50159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50160         New file.
50161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50162         New file.
50163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50164         New file.
50165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50166         New file.
50167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50168         New file.
50169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50170         New file.
50171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50173         file.
50174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50175         New file.
50176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50177         file.
50178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50179         file.
50180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50181         file.
50182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50183         file.
50184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50185         file.
50186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50187         New file.
50188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50189         file.
50190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50191         file.
50192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50193         New file.
50194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50195         file.
50196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50198         file.
50199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50200         New file.
50201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50202         file.
50203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50204         file.
50205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50206         file.
50207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50208         file.
50209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50210         file.
50211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50212         New file.
50213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50214         file.
50215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50216         file.
50217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50218         New file.
50219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50220         file.
50221         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50222         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50223         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50224         file.
50225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50226         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50227         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50228         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50229         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50230         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50231         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50232         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50233         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50234         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50237         file.
50238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50239         New file.
50240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50241         file.
50242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50243         file.
50244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50245         file.
50246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50247         file.
50248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50249         file.
50250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50251         New file.
50252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50253         New file.
50254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50255         file.
50256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50257         New file.
50258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50259         file.
50260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50262         file.
50263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50264         New file.
50265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50266         file.
50267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50268         file.
50269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50270         file.
50271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50272         file.
50273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50274         file.
50275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50276         New file.
50277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50278         New file.
50279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50280         file.
50281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50282         New file.
50283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50284         file.
50286 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50288         * conform/conformtest.pl: Fix typo in handling typed-constant from
50289         allow-header.
50291 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50293         * README: Cut down references to pre-2.6 Linux kernels and
50294         Linuxthreads.  Update lists of configurations in libc and ports
50295         and sort alphabetically.  Say "or newer" with Linux kernel version
50296         requirements.
50298         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50300 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50302         [BZ #887]
50303         * math/libm-test.inc (logb_test_downward): New test to expose
50304         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50305         rounding mode.
50307 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #14027]
50310         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50311         to be done.
50312         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50313         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50315 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50317         * sysdeps/unix/i386/brk.S: Remove file.
50318         * sysdeps/unix/i386/dl-brk.S: Likewise.
50319         * sysdeps/unix/i386/pipe.S: Likewise.
50320         * sysdeps/unix/i386/sigreturn.S: Likewise.
50321         * sysdeps/unix/i386/syscall.S: Likewise.
50322         * sysdeps/unix/i386/vfork.S: Likewise.
50323         * sysdeps/unix/i386/wait.S: Likewise.
50325         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50326         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50328         * configure.in (arm*-none*): Do not allow without
50329         --enable-hacker-mode.
50330         (netbsd*): Remove case setting base_os.
50331         (386bsd*): Likewise.
50332         (freebsd*): Likewise.
50333         (bsdi*): Likewise.
50334         (osf*): Likewise.
50335         (sunos*): Likewise.
50336         (ultrix*): Likewise.
50337         (newsos*): Likewise.
50338         (dynix*): Likewise.
50339         (*bsd*): Likewise.
50340         (sysv*): Likewise.
50341         (isc*): Likewise.
50342         (esix*): Likewise.
50343         (sco*): Likewise.
50344         (minix*): Likewise.
50345         (irix4*): Likewise.
50346         (irix6*): Likewise.
50347         (solaris[2-9]*): Likewise.
50348         (none): Likewise.
50349         * configure: Regenerated.
50351 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50353         [BZ #11521]
50354         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50355         overflow or cancellation in calculating denominator.
50356         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50358         down expression to avoid unexpected rounding in newer GCCs.
50359         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50361 2012-04-26  David S. Miller  <davem@davemloft.net>
50363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50364         long-double compat symbols.
50365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50379 2012-04-25  David S. Miller  <davem@davemloft.net>
50381         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50382         HWCAP_* values only after the memory barriers have been defined.
50383         (atomic_full_barrier): Define.
50384         (atomic_read_barrier): Define.
50385         (atomic_write_barrier): Define.
50387 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50389         * shlib-versions: Add libgcc_s version information.
50390         * sysdeps/generic/libgcc_s.h: Remove.
50391         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50392         libgcc_s.h.
50393         * sysdeps/gnu/unwind-resume.c: Likewise.
50394         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50396 2012-04-25  David S. Miller  <davem@davemloft.net>
50398         * sysdeps/unix/sparc/brk.S: Delete.
50399         * sysdeps/unix/sparc/dl-brk.S: Delete.
50400         * sysdeps/unix/sparc/pipe.S: Delete.
50401         * sysdeps/unix/sparc/sysdep.S: Delete.
50402         * sysdeps/unix/sparc/sysdep.h: Delete.
50403         * sysdeps/unix/sparc/vfork.S: Delete.
50404         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50405         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50407         (ret_ERRVAL, r0, r1, MOVE): Define.
50408         (JUMPTARGET): Remove.
50409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50410         sysdeps/unix/sparc/sysdep.h
50411         (ENTRY, END): Remove.
50412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50414 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50416         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50417         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50418         -DIS_IN_build.
50420         * timezone/README: Update upstream location and email address for
50421         tzcode and tzdata.
50422         * timezone/zdump.c: Update from tzcode 2012b.
50423         * timezone/zic.c: Likewise.
50425         * configure.in (libc_cv_as_needed): Remove test.
50426         * configure: Regenerated.
50427         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50428         conditional definition.
50429         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50430         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50431         * config.make.in (have-as-needed): Remove variable.
50433 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50434             Paul Pluzhnikov  <ppluzhnikov@google.com>
50436         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50437         strings correctly.
50439 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50441         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50442         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50443         * sysdeps/sh/strlen.S: Likewise.
50445 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50447         * sysdeps/unix/fork.S: Remove file.
50448         * sysdeps/unix/i386/fork.S: Likewise.
50449         * sysdeps/unix/sparc/fork.S: Likewise.
50451         * sysdeps/unix/system.c: Remove file.
50452         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50454         * sysdeps/unix/getegid.S: Remove file.
50455         * sysdeps/unix/geteuid.S: Likewise.
50457 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50459         * scripts/check-localplt.awk: New file.
50460         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50461         of diff.
50462         * scripts/data/localplt-generic.data: Add a comment.
50464         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50465         NODE when __dir_mkfile failed.
50466         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50467         Reported by Ludovic Courtès <ludo@gnu.org>.
50469 2012-04-24  Andreas Jaeger  <aj@suse.de>
50471         * Makerules (common-clean): Also remove gen-as-const-headers
50472         files.
50474 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50476         * Makerules (native-compile): Do not change working directory for
50477         build.  Use $(OUTPUT_OPTION) in command.
50478         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50480 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50482         [BZ #13886]
50483         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50484         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50485         * math/libm-test.inc (floor_test): Add more tests.
50486         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50488 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50490         * sysdeps/unix/getdents.c: Remove file.
50491         * sysdeps/unix/sysv/getdents.c: Likewise.
50492         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50494         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50495         sysdeps/unix/mman/syscalls.list.
50496         (mmap): Likewise.
50497         (mprotect): Likewise.
50498         (msync): Likewise.
50499         (munmap): Likewise.
50500         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50501         * sysdeps/unix/mman/syscalls.list: Remove.
50502         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50504         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50505         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50506         * configure: Regenerated.
50507         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50508         $(libgcc_s_suffix).
50509         * config.make.in (libgcc_s_suffix): Remove variable.
50511 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50513         * sysdeps/unix/sysv/gethostname.c: Move to ...
50514         * sysdeps/posix/gethostname.c: ... here.
50516         * sysdeps/unix/execve.S: Remove file.
50518         * sysdeps/unix/_exit.S: Remove file.
50520 2012-04-23  Andreas Jaeger  <aj@suse.de>
50522         [BZ #13739]
50523         * manual/Makefile: Remove make dist support, there's no
50524         need for a stand-alone documentation tar ball.
50525         (TEXI2DVI): Define always, it's not in Makeconfig.
50526         (dist): Removed.
50527         (tar-it): Removed.
50528         (edition): Removed.
50529         (glibc-doc-$(edition).tar): Removed
50530         (%.Z): Removed.
50531         (%.gz): Removed.
50532         (%.uu): Removed.
50533         (ETAGS): Remove, it's in Makeconfig.
50534         (move-if-change): Remove, it's in Makeconfig.
50536 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50538         [BZ #13970]
50539         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50540         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50541         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50542         (strtod_l, strtof_l, strtold_l): Remove __wur.
50543         It is not necessarily an error to ignore strtol's return value.
50544         One can reliably look at the stored endptr to decide whether
50545         the number had valid syntax.
50547 2012-04-21  Andreas Jaeger  <aj@suse.de>
50549         [BZ #13739]
50550         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50552 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50554         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50555         * sysdeps/unix/sysv/Versions: Remove file.
50557 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50559         [BZ #13927]
50560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50562 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50564         [BZ #7064]
50565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50566         version from __vm86.
50568 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50570         * sysdeps/unix/common/lxstat.c: Remove file.
50571         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50573         * sysdeps/unix/sysv/Makefile: Remove file.
50575         * sysdeps/unix/sysv/direct.h: Remove file.
50577         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50578         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50579         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50580         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50581         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50582         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50583         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50585         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50587         * sysdeps/unix/xmknod.c: Remove file.
50588         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50590         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50592         * sysdeps/unix/sysv/i386/time.S: Remove file.
50594         * sysdeps/unix/fxstat.c: Remove file.
50595         * sysdeps/unix/xstat.c: Likewise.
50596         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50598         * sysdeps/unix/sysv/sigaction.c: Remove file.
50600         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50601         (sysdep_headers): Remove variable.
50602         [termio.h not in sysdep_headers] (generated): Likewise.
50603         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50604         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50605         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50606         * sysdeps/unix/sysv/tcflow.c: Likewise.
50607         * sysdeps/unix/sysv/tcflush.c: Likewise.
50608         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50609         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50610         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50611         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50612         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50614         * sysdeps/unix/siglist.c: Remove file.
50616         * sysdeps/unix/getppid.S: Remove file.
50618         * sysdeps/unix/mkdir.c: Remove file.
50619         * sysdeps/unix/rmdir.c: Likewise.
50621 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50623         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50624         ERR_MAX value.
50625         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50626         errlist-compat value.
50628 2012-04-18  David S. Miller  <davem@davemloft.net>
50630         * sysdeps/generic/memcopy.h (reg_char): Delete.
50631         * debug/strcat_chk.c: Use char, not reg_char.
50632         * debug/strcpy_chk.c: Likewise.
50633         * debug/strncat_chk.c: Likewise.
50634         * debug/strncpy_chk.c: Likewise.
50635         * string/memchr.c: Likewise.
50636         * string/memrchr.c: Likewise.
50637         * string/rawmemchr.c: Likewise.
50638         * string/strcat.c: Likewise.
50639         * string/strchr.c: Likewise.
50640         * string/strchrnul.c: Likewise.
50641         * string/strcmp.c: Likewise.
50642         * string/strcpy.c: Likewise.
50643         * string/strncat.c: Likewise.
50644         * string/strncmp.c: Likewise.
50645         * string/strncpy.c: Likewise.
50647 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50649         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50650         __builtin_memcopy is called when src and dest ranges are known to not
50651         overlap.
50653 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50655         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50656         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50657         fwd_align_merge macro call.
50658         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50659         bwd_align_merge macro call.
50660         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50662 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50664         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50665         bwd_align_merge macros.
50666         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50667         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50668         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50670 2012-04-18  David S. Miller  <davem@davemloft.net>
50672         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50674 2012-04-18  Andreas Jaeger  <aj@suse.de>
50676         [BZ# 6794]
50677         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50678         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50679         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50681         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50682         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50683         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50685         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50686         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50687         Adjust for changed ldbl-128 files.
50689         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50690         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50691         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50693 2012-04-17  David S. Miller  <davem@davemloft.net>
50695         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50697 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50699         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50700         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50701         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50702         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50703         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50704         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50706 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50708         [BZ #6794]
50709         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50710         * math/libm-test.inc: Add ilogb errno and exception tests.
50711         * math/w_ilogb.c: New file: ilogb wrapper.
50712         * math/w_ilogbf.c: New file: ilogbf wrapper.
50713         * math/w_ilogbl.c: New file: ilogbl wrapper.
50714         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50715         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50716         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50717         exception being thrown with 0.0 as argument.
50718         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50719         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50720         exception being thrown with 0.0 as argument.
50721         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50722         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50723         exception being thrown with 0.0 as argument.
50724         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50725         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50726         exception being thrown with 0.0 as argument.
50727         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50728         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50729         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50730         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50731         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50732         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50733         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50734         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50735         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50737 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50739         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50740         with altivec.
50742 2012-04-16  Marek Polacek  <polacek@redhat.com>
50744         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50746 2012-04-16  Marek Polacek  <polacek@redhat.com>
50748         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50749         operands of fdivp instruction.
50751 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50753         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50754         * elf/tst-auditmod3b.c: Likewise.
50755         * elf/tst-auditmod4b.c: Likewise.
50756         * elf/tst-auditmod5b.c: Likewise.
50757         * elf/tst-auditmod6b.c: Likewise.
50758         * elf/tst-auditmod6c.c: Likewise.
50759         * elf/tst-auditmod7b.c: Likewise.
50760         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50761         * sysdeps/x86_64/preconfigure.in: Likewise.
50762         * sysdeps/x86_64/preconfigure: Regenerated.
50764 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50766         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50767         __ILP32__.
50769 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50771         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50772         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50774 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50776         [BZ #13973]
50777         * locale/iso-639.def: Fix gl language name. Spotted by
50778         Yaron Shahrabani.
50780 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50782         [BZ #2074]
50783         * libio/libio.h (__io_write_fn): Update comment.
50785 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50787         [BZ #2074]
50788         * stdio.texi (Hook Functions): The user provided writer function
50789         is not allowed to return -1.
50791 2012-04-11  David S. Miller  <davem@davemloft.net>
50793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50795 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50797         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50798         Add a leading slash to rtkaio.
50800 2012-04-11  Jim Meyering  <meyering@redhat.com>
50802         [BZ #11959]
50803         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50804         It is not necessarily an error to ignore fwrite's return
50805         value.  One can reliably use ferror to test for errors after
50806         the fact.
50808 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50810         * bits/types.h (__snseconds_t): New type.
50811         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50813         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50815         (__SNSECONDS_T_TYPE): Likewise.
50816         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50817         (__SNSECONDS_T_TYPE): Likewise.
50818         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50819         (__SNSECONDS_T_TYPE): Likewise.
50821 2012-04-10  Andreas Jaeger  <aj@suse.de>
50823         [BZ #2636]
50824         * manual/time.texi (Processor Time): Return type of times is
50825         elapsed real time since an arbitrary point in the past.
50826         (CPU Time): Move CLK_TCK from here...
50827         (Processor Time): ...to here.  Correct description.
50828         * manual/conf.texi (Constants for Sysconf): Correct description of
50829         _SC_CLK_TCK.
50831 2012-04-10  David S. Miller  <davem@davemloft.net>
50833         [BZ #13967]
50834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50835         where the is a gap between DT_REL(A) and DT_JMPREL.
50837 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50839         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50840         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50841         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50843 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50845         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50846         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50847         (dl_main): Handle --inhibit-cache.
50848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50849         _dl_inhibit_cache.
50850         * elf/dl-load.c (_dl_map_object): Use it.
50851         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50853 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50855         [BZ #13872]
50856         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50857         (__ieee754_powl): Saturate large exponents rather than testing for
50858         overflow of y*log2(x).
50859         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50860         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50861         exceptions.
50863         [BZ #11521]
50864         * math/s_ctan.c: Include <float.h>.
50865         (__ctan): Avoid internal overflow or cancellation in calculating
50866         denominator.
50867         * math/s_ctanf.c: Likewise.
50868         * math/s_ctanl.c: Likewise.
50869         * math/s_ctanh.c: Likewise.
50870         * math/s_ctanhf.c: Likewise.
50871         * math/s_ctanhl.c: Likewise.
50872         * math/libm-test.inc (ctan_test): Add more tests.
50873         (ctanh_test): Likewise.
50874         * sysdeps/i386/fpu/libm-test-ulps: Update.
50875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50877 2012-04-09  Andreas Jaeger  <aj@suse.de>
50879         [BZ #6894]
50880         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50881         is an optional BSD extension.
50883         [BZ #10254]
50884         * manual/stdio.texi (Opening Streams): Document additional fopen
50885         parameters.
50887 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50889         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50890         %eax without telling the compiler.
50892 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50894         [BZ # 13963]
50895         * manual/install.texi: Use sourceware.org.
50897 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50899         [BZ #13873]
50900         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50901         (__ieee754_pow): Generate overflow and underflow using huge*huge
50902         and tiny*tiny rather than just returning constant infinity or zero
50903         for large exponents.
50904         * math/libm-test.inc (pow_test): Require overflow exceptions for
50905         applicable cases of large exponents.
50907         [BZ #706]
50908         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50909         (__ieee754_pow): Use iterative multiplication algorithm only for
50910         integer exponents with absolute value below 1024.  Check for odd
50911         integer exponents when using algorithm for real exponents.
50912         * math/libm-test.inc (pow_test): Add more tests.
50913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50915 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50917         [BZ #13705]
50918         * math/libm-test.inc (exp_test): Do not allow overflow exception
50919         on underflow test.
50921 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50923         [BZ #13705]
50924         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50925         instead of __kernel_standard_f.
50927 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50929         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50930         * sysdeps/x86_64/memset_chk.S: Likewise.
50932 2012-04-08  Andreas Jaeger  <aj@suse.de>
50934         [BZ #10153]
50935         * manual/startup.texi (Environment Access): Describe return value
50936         for putenv and setenv.
50938         [BZ #6895]
50939         * manual/filesys.texi (Directory Entries): Add description for
50940         DT_LNK.
50942         [BZ #6890]
50943         * manual/filesys.texi (Directory Entries): Clarify that it's file
50944         system not operating system in the description of DT_UNKNOWN.
50946         [BZ #6578]
50947         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50949 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50951         [BZ #6649]
50952         * manual/llio.texi (Opening and Closing Files): Add cross
50953         reference to explain mode argument.
50955 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50957         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50958         * sysdeps/x86_64/memset_chk.S: Likewise.
50960 2012-04-07  David S. Miller  <davem@davemloft.net>
50962         * elf/elf.h (R_SPARC_WDISP10): Define.
50963         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50964         R_SPARC_SIZE32.
50965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50966         R_SPARC_SIZE64 and R_SPARC_H34.
50968 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50970         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50971         conditions and remove no longer applicable assertion.
50973 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50975         * bits/byteswap.h: Include <features.h>.
50976         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50977         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50979 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50981         * bits/byteswap.h (__bswap_16): Removed.
50982         Include <bits/byteswap-16.h> to get __bswap_16.
50983         * sysdeps/i386/bits/byteswap.h: Likewise.
50984         * sysdeps/s390/bits/byteswap.h: Likewise.
50985         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50986         * bits/byteswap-16.h: New file.
50987         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50988         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50989         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50990         * string/Makefile (headers): Add bits/byteswap-16.h.
50992 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50994         [BZ #13895]
50995         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50996         extra indirection.
50997         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50998         * nss/tst-nss-static.c: New.
51000 2012-04-06  Robert Millan  <rmh@gnu.org>
51002         [BZ #6486]
51003         * manual/llio.texi (File Position Primitive): lseek
51004         refers to WHENCE when it really means OFFSET.
51006 2012-04-06  Andreas Jaeger  <aj@suse.de>
51008         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51009         strncmp declarations.
51011         * abilist/libc.abilist: Add __poll and __ppoll.
51013 2012-04-05  David S. Miller  <davem@davemloft.net>
51015         * scripts/check-local-headers.sh: Accept a host triplet in the
51016         path matched by the exclude regexp.
51018         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51019         definition.
51020         * sysdeps/powerpc/powerpc32/dl-machine.h
51021         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51022         * sysdeps/s390/s390-32/dl-machine.h
51023         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51024         * sysdeps/sparc/sparc32/dl-machine.h
51025         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51026         * sysdeps/sparc/sparc64/dl-machine.h
51027         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51029         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51030         lazy binding.
51031         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51032         undefined symbol errors.
51034         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51035         DT_NEEDED entries.
51037 2012-04-05  Michael Matz  <matz@suse.de>
51039         [BZ #13592]
51040         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51042 2012-04-05  Andreas Jaeger  <aj@suse.de>
51044         [BZ #13908]
51045         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51046         comment.
51048 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51050         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51051         which ROUND is no valid rounding mode.
51053 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51055         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51056         read again.
51057         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51059 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51061         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51062         an exception using FPU order intentionally.
51064 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51066         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51067         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51068         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51069         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51071 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51073         [BZ #12340]
51074         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51075         EINVAL when BUFLEN is too smal.
51077 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51079         [BZ #13553]
51080         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51081         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51083 2012-04-03  Andreas Jaeger  <aj@suse.de>
51085         [BZ #13938]
51086         * manual/setjmp.texi (System V contexts): Fix sentence.
51088         [BZ #13926]
51089         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51090         New macro for this case.
51091         [!__GNUC__] (__bswap_64): New inline function for this case.
51092         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51093         * bits/byteswap.h: Likewise.
51094         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51095         ull, guard with __GLIBC_HAVE_LONG_LONG.
51097         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51098         __GLIBC_HAVE_LONG_LONG.
51100         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51101         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51103 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51105         [BZ #13691]
51106         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51107         inptr and inend, rather than using last_ch.
51109 2012-04-02  David S. Miller  <davem@davemloft.net>
51111         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51112         * stdio-common/printf-parse.h (read_int): Change return type to
51113         'int', return -1 on INT_MAX overflow.
51114         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51115         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51116         overflows INT_MAX.  Check for overflow of in-format-string precision
51117         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51118         SIZE_MAX not INT_MAX for integer overflow test.
51119         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51120         skip the construct in the format string but do not record anything.
51121         * stdio-common/bug22.c: Adjust to test both width/prevision
51122         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51123         explicitly for proper errno values.
51125 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51127         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51128         CHAR_MAX.
51129         * string/test-strcmp.c [! WIDE]: Likewise.
51130         * time/tst-mktime2.c: Likewise for INT_MAX.
51131         * string/test-string.h: #include <sys/param.h> for MIN.
51133         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51134         * sysdeps/i386/init-first.c (init): Likewise.
51135         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51136         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51137         * sysdeps/sh/init-first.c (init): Likewise.
51139 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51141         * po/ru.po: Update from translation team.
51142         * po/vi.po: Likewise.
51144 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51146         * resolv/nss_dns/dns-host.c: Merge copyright years.
51148 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51150         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51151         Optimize memcpy with prefetch if
51152         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51153         src, dst pointers have unequal 16 byte alignments.
51155 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51157         [BZ #13928]
51158         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51159         from a CNAME entry and return the minimum ttl for the query.
51160         (gaih_getanswer_slice): Likewise.
51162 2012-03-30  Jeff Law  <law@redhat.com>
51164         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51165         due to long keys.
51166         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51167         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51169         * resolv/nss_dns/dns-host.c: Update copyright year.
51171 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51173         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51174         requests to save a system call.  Fix check that all bytes are sent.
51176         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51177         comments for sendmmsg.
51179 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51181         [BZ #13691]
51182         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51183         with only 1 character between 0x0041 and 0x01b0.
51184         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51185         * wcsmbs/tst-mbsnrtowcs.c: New file.
51187 2012-03-29  David S. Miller  <davem@davemloft.net>
51189         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51190         small copies by hand.
51192 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51194         [BZ #13761]
51195         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51196         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51197         group memberships.
51199 2012-03-28  David S. Miller  <davem@davemloft.net>
51201         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51202         that branches into memcpy.
51203         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51206         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51208         bits.
51209         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51210         implementation too.
51211         * sysdeps/sparc/mempcpy.S: New file.
51213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51214         the IFUNC routine in the libc case.
51215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51217         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51218         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51219         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51220         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51221         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51222         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51223         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51224         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51226         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51227         loop to 256 bytes instead of 64 bytes and fix test signedness.
51229         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51230         * sysdeps/sparc/sparc32/Makefile: rather than here...
51231         * sysdeps/sparc/sparc64/Makefile: and here.
51233 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51235         * malloc/mallocbug.c: Avoid warnings about unused variables.
51237 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51239         [BZ #13760]
51240         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51241         in the right place. Discard and retry query if response is
51242         larger than input buffer size.
51244 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51246         [BZ #369]
51247         [BZ #2678]
51248         [BZ #3866]
51249         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51250         x for large integer exponent.
51251         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51253         sign of result as needed afterwards.
51254         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51255         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51256         result for underflowing pow the same as for overflow.
51257         (__kernel_standard_l): Handle powl overflow and underflow here
51258         rather than calling __kernel_standard.
51259         * math/libm-test.inc (pow_test): Add more tests.
51261         [BZ #3868]
51262         [BZ #13879]
51263         [BZ #13910]
51264         [BZ #13911]
51265         [BZ #13912]
51266         [BZ #13913]
51267         [BZ #13915]
51268         [BZ #13916]
51269         [BZ #13917]
51270         [BZ #13918]
51271         [BZ #13919]
51272         [BZ #13920]
51273         [BZ #13921]
51274         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51275         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51276         (__kernel_standard_l): New function.
51277         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51278         __kernel_standard.
51279         * math/w_acosl.c (__acosl): Likewise.
51280         * math/w_asinl.c (__asinl): Likewise.
51281         * math/w_atan2l.c (__atan2l): Likewise.
51282         * math/w_atanhl.c (__atanhl): Likewise.
51283         * math/w_coshl.c (__coshl): Likewise.
51284         * math/w_exp10l.c (__exp10l): Likewise.
51285         * math/w_exp2l.c (__exp2l): Likewise.
51286         * math/w_fmodl.c (__fmodl): Likewise.
51287         * math/w_hypotl.c (__hypotl): Likewise.
51288         * math/w_j0l.c (__j0l, __y0l): Likewise.
51289         * math/w_j1l.c (__j1l, __y1l): Likewise.
51290         * math/w_jnl.c (__jnl, __ynl): Likewise.
51291         * math/w_lgammal.c (__lgammal): Likewise.
51292         * math/w_log10l.c (__log10l): Likewise.
51293         * math/w_log2l.c (__log2l): Likewise.
51294         * math/w_logl.c (__logl): Likewise.
51295         * math/w_powl.c (__powl): Likewise.
51296         * math/w_remainderl.c (__remainderl): Likewise.
51297         * math/w_scalbl.c (sysv_scalbl): Likewise.
51298         * math/w_sinhl.c (__sinhl): Likewise.
51299         * math/w_sqrtl.c (__sqrtl): Likewise.
51300         * math/w_tgammal.c (__tgammal): Likewise.
51301         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51302         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51303         * math/libm-test.inc (acos_test): Add more tests.
51304         (acosh_test): Likewise.
51305         (asin_test): Likewise.
51306         (atanh_test): Likewise.
51307         (exp_test): Likewise.
51308         (exp10_test): Likewise.
51309         (exp2_test): Likewise.
51310         (expm1_test): Likewise.
51311         (lgamma_test): Likewise.
51312         (log_test): Likewise.
51313         (log10_test): Likewise.
51314         (log1p_test): Likewise.
51315         (log2_test): Likewise.
51316         (pow_test): Do not allow some spurious overflow exceptions.
51317         (sqrt_test): Add more tests.
51318         (tgamma_test): Likewise.
51319         (y0_test): Likewise.
51320         (y1_test): Likewise.
51321         (yn_test): Likewise.
51323 2012-03-27  Anton Blanchard  <anton@samba.org>
51325         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51326         MAP_HUGETLB.
51327         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51328         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51329         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51331 2012-03-27  David S. Miller  <davem@davemloft.net>
51333         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51335         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51336         have-as-vis3 check.
51338 2012-03-27  Andreas Jaeger  <aj@suse.de>
51340         * sysdeps/x86_64/elf/configure.in: Moved to ...
51341         * sysdeps/x86_64/configure.in: ... here.
51342         * sysdeps/x86_64/elf/start.S: Moved to ...
51343         * sysdeps/x86_64/start.S: ... here.
51344         * sysdeps/x86_64/elf/configure: Delete.
51346         * sysdeps/x86_64/configure.in: Merge contents from
51347         sysdeps/i386/configure.in (without i686 check).
51349         * sysdeps/i386/elf/Versions: Merge into ...
51350         * sysdeps/i386/Versions: ... this.
51351         * sysdeps/i386/elf/Versions: Delete file.
51352         * sysdeps/i386/elf/start.S: Moved to ...
51353         * sysdeps/i386/start.S: ...here.
51354         * sysdeps/i386/elf/configure.in: Merge into...
51355         * sysdeps/i386/configure.in: ...here.
51356         * sysdeps/i386/elf/configure.in: Delete file.
51357         * sysdeps/i386/elf/configure: Delete file.
51359         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51360         * debug/backtracesyms.c: ... here.
51361         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51362         * debug/backtracesymsfd.c: ... here.
51363         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51364         * sysdeps/generic/ifunc-sel.h: ... here.
51366         * sysdeps/unix/i386/start.c: Delete file.
51367         * sysdeps/unix/sparc/start.c: Delete file.
51368         * sysdeps/unix/start.c: Delete file.
51370         * sysdeps/sh/elf/configure.in: Moved to ...
51371         * sysdeps/sh/configure.in: ... here.
51372         * sysdeps/sh/elf/start.S: Moved to ...
51373         * sysdeps/sh/start.S: ... here.
51374         * sysdeps/sh/elf/configure: Delete file.
51376         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51377         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51378         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51379         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51380         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51381         * sysdeps/powerpc/powerpc64/start.S: here.
51382         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51383         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51384         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51385         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51386         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51388         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51389         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51390         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51391         * sysdeps/powerpc/powerpc32/start.S: ... here.
51392         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51393         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51394         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51396         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51397         * sysdeps/powerpc/ifunc-sel.h: ... here.
51398         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51399         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51401         * sysdeps/sparc/elf/configure.in: Moved to ...
51402         * sysdeps/sparc/configure.in: ... here.
51403         * sysdeps/sparc/elf/configure: Delete file.
51404         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51405         * sysdeps/sparc/sparc32/start.S: ... here.
51406         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51407         * sysdeps/sparc/sparc64/start.S: ... here.
51408         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51409         * sysdeps/sparc/sparc32/Makefile: ... this.
51410         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51411         * sysdeps/sparc/sparc64/Makefile: ... this.
51413         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51414         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51415         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51416         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51417         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51418         * sysdeps/s390/s390-32/setjmp.S: ... here.
51419         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51420         * sysdeps/s390/s390-32/configure.in: ... here.
51421         * sysdeps/s390/s390-32/elf/configure: Delete file.
51422         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51423         * sysdeps/s390/s390-32/start.S: ... here.
51425         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51426         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51427         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51428         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51429         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51430         * sysdeps/s390/s390-64/setjmp.S: ... here.
51431         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51432         * sysdeps/s390/s390-64/configure.in: ... here
51433         * sysdeps/s390/s390-64/elf/configure: Delete file.
51434         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51435         * sysdeps/s390/s390-64/start.S: ... here.
51436         * sysdeps/s390/s390-64/elf/configure: Delete.
51438         * configure.in: Remove support for elf directories in sysdeps.
51440         * configure: Regenerated.
51441         * sysdeps/i386/configure: Regenerated.
51442         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51443         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51444         * sysdeps/s390/s390-32/configure: Regenerated.
51445         * sysdeps/s390/s390-64/configure: Regenerated.
51446         * sysdeps/sh/configure: Regenerated.
51447         * sysdeps/sparc/configure: Regenerated.
51448         * sysdeps/x86_64/configure: Regenerated.
51450 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51454         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51455         denormal result into account.
51457 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51459         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51460         Reported by Allan McRae <allan@archlinux.org>.
51462 2012-03-23  Jeff Law  <law@redhat.com>
51464         * nss/getnssent.c (__nss_getent): Fix typo.
51466 2012-03-23  David S. Miller  <davem@davemloft.net>
51468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51470 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51472         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51473         to pad to uint64_t for each field.
51474         (dl_tls_index): Replace unsigned long with uint64_t.
51476 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51477         Paul Pluzhnikov  <ppluzhnikov@google.com>
51479         [BZ #6528]
51480         * grp/Makefile (otherlibs): Don't set it.
51481         * inet/Makefile (otherlibs): Likewise.
51482         * login/Makefile (otherlibs): Likewise.
51483         * nscd/Makefile (otherlibs): Likewise.
51484         * posix/Makefile (otherlibs): Likewise.
51485         * pwd/Makefile (otherlibs): Likewise.
51486         * rt/Makefile (otherlibs): Likewise.
51487         * sunrpc/Makefile (otherlibs): Likewise.
51488         * nss/Makefile (otherlibs): Likewise.
51489         Add libnss_files to routines and static-only-routines.
51490         ($(objpfx)getent): Remove rule.
51491         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51492         static-only-routines.
51494 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51496         [BZ #13892]
51497         * math/s_cexp.c: Include <float.h>.
51498         (__cexp): Handle exp result overflowing not necessarily
51499         overflowing both real and imaginary parts of result.
51500         * math/s_cexpf.c: Likewise.
51501         * math/s_cexpl.c: Likewise.
51502         * math/libm-test.inc (cexp_test): Add more tests.
51503         * sysdeps/i386/fpu/libm-test-ulps: Update.
51504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51506 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51508         * include/link.h (ELFW): New macro.
51509         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51510         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51512 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51514         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51515         with uint64_t.
51517 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51519         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51520         declaration.
51521         (struct La_x32_retval): Likewise.
51523 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51525         * sysdeps/x86_64/preconfigure.in: New file.
51526         * sysdeps/x86_64/preconfigure: New generated file.
51528 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51530         [BZ #13824]
51531         * math/e_exp2l.c: Include <float.h>.
51532         (__ieee754_exp2l): Handle overflow and underflow cases
51533         separately.  Only pass fractional part of argument to
51534         __ieee754_expl.
51535         * math/libm-test.inc (exp2_test): Add more tests.
51537         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51538         negating x to take absolute value.
51539         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51540         Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51543         Likewise.
51544         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51545         computing low part if x was negated.
51546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51548 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51550         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51551         la_x32_gnu_pltexit.
51552         (pltexit): Cast int_retval to ptrdiff_t.
51553         * elf/tst-auditmod3b.c: Likewise.
51554         * elf/tst-auditmod4b.c: Likewise.
51555         * elf/tst-auditmod5b.c: Likewise.
51556         * elf/tst-auditmod6b.c: Likewise.
51557         * elf/tst-auditmod6c.c: Likewise.
51558         * elf/tst-auditmod7b.c: Likewise.
51560         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51561         and x32_gnu_pltexit.
51563         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51564         __ELF_NATIVE_CLASS.
51565         (La_x32_regs): New macro.
51566         (La_x32_retval): Likewise.
51567         (la_x32_gnu_pltenter): New function prototype.
51568         (la_x32_gnu_pltexit): Likewise.
51570 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51573         exponent.
51575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51577         * configure.in (libc_cv_cc_nofma): Check for option to disable
51578         generation of FMA instructions.
51579         * configure: Regenerate.
51580         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51581         * sysdeps/ieee754/dbl-64/Makefile: New file.
51582         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51583         Remove brandred-fma4.
51584         (CFLAGS-brandred-fma4.c): Remove.
51585         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51586         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51587         define.
51588         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51589         define.
51591 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51593         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51594         LLONG_MAX != LONG_MAX.
51595         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51596         (_fitoa_word): Likewise.
51597         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51598         LLONG_MAX != LONG_MAX.
51599         * stdio-common/_itowa.h: Include <_itoa.h>.
51600         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51601         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51602         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51603         only if not defined.
51604         (_ITOA_WORD_TYPE): Likewise.
51605         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51606         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51608 2012-03-21  David S. Miller  <davem@davemloft.net>
51610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51612 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51614         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51615         of x86_64 when setting libc_cv_slibdir, libdir and
51616         libc_cv_localedir.
51617         * sysdeps/unix/sysv/linux/configure: Regenerated.
51619 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51621         * manual/lang.texi (Old Varargs): Remove section.
51622         (How Variadic): Update menu.
51623         (va_start): Do not mention varargs.h.
51625 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51626             Joseph Myers  <joseph@codesourcery.com>
51628         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51629         link test.
51630         * configure: Regenerated.
51632 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51634         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51635         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51636         conformtest.pl
51638 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51640         * NOTES: Remove.
51641         * Makefile (files-for-dist): Remove NOTES.
51642         (NOTES): Remove rule.
51643         * README: Don't refer to NOTES.
51644         * manual/creature.texi: Don't include macros.texi.
51645         * manual/intro.texi (creature.texi): Remove comment referring to
51646         NOTES.
51648         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51649         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51650         * configure: Regenerated.
51651         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51652         LIBC_TRY_CC_OPTION.
51653         (libc_cv_as_i686): Likewise.
51654         (libc_cv_cc_avx): Likewise.
51655         (libc_cv_cc_sse2avx): Likewise.
51656         (libc_cv_cc_fma4): Likewise.
51657         (libc_cv_cc_novzeroupper): Likewise.
51658         * sysdeps/i386/configure: Regenerated.
51660         [BZ #13883]
51661         * sysdeps/i386/fpu/s_cexp.S: Remove.
51662         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51663         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51664         * math/libm-test.inc (cexp_test): Add more tests.
51665         * sysdeps/i386/fpu/libm-test-ulps: Update.
51666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51668 2012-03-21  Allan McRae  <allan@archlinux.org>
51670         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51672 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51674         [BZ #13871]
51675         * math/w_exp2.c: Do not include <float.h>.
51676         (o_threshold, u_threshold): Remove.
51677         (__exp2): Calculate result before checking finiteness and calling
51678         __kernel_standard.
51679         * math/w_exp2f.c: Likewise.
51680         * math/w_exp2l.c: Likewise.
51681         * math/libm-test.inc (exp2_test): Require overflow exception for
51682         1e6 input.
51684         [BZ #3866]
51685         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51686         range of signed 64-bit integers before using fistpll.  Remove
51687         checks for whether integers fit in mantissa bits.
51688         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51689         the range of signed 32-bit integers before using fistpl.  Remove
51690         checks for whether integers fit in mantissa bits.
51691         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51692         (__ieee754_powl): Test for y outside the range of signed 64-bit
51693         integers before using fistpll.  Reduce 64-bit values to 63-bit
51694         ones as needed.
51695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51696         divide-by-zero is raised for zero to large negative powers.
51697         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51698         (__ieee754_powl): Test for y outside the range of signed 64-bit
51699         integers before using fistpll.  Reduce 64-bit values to 63-bit
51700         ones as needed.
51701         * math/libm-test.inc (pow_test): Add more tests.
51703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51705         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51706         <stdio-common/_itoa.h>.
51707         * debug/segfault.c: Likewise.
51708         * elf/dl-cache.c: Likewise.
51709         * elf/dl-minimal.c: Likewise.
51710         * elf/dl-misc.c: Likewise.
51711         * elf/dl-sysdep.c: Likewise.
51712         * elf/dl-version.c: Likewise.
51713         * elf/rtld.c: Likewise.
51714         * hurd/hurdsock.c: Likewise.
51715         * hurd/lookup-retry.c: Likewise.
51716         * malloc/malloc.c: Likewise.
51717         * malloc/mtrace.c: Likewise.
51718         * nscd/nscd_getgr_r.c: Likewise.
51719         * nscd/nscd_getpw_r.c: Likewise.
51720         * nscd/nscd_getserv_r.c: Likewise.
51721         * posix/getopt_init.c: Likewise.
51722         * posix/wordexp.c: Likewise.
51723         * stdio-common/_itoa.c: Likewise.
51724         * stdio-common/printf_fphex.c: Likewise.
51725         * stdio-common/vfprintf.c: Likewise.
51726         * string/_strerror.c: Likewise.
51727         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51728         * sysdeps/i386/i686/hp-timing.h: Likewise.
51729         * sysdeps/mach/_strerror.c: Likewise.
51730         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51731         * sysdeps/mach/hurd/sethostid.c: Likewise.
51732         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51733         * sysdeps/mach/xpg-strerror.c: Likewise.
51734         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51735         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51736         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51737         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51738         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51739         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51740         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51741         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51742         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51743         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51744         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51745         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51746         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51747         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51748         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51749         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51750         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51751         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51752         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51753         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51754         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51756         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51758         * stdio-common/_itoa.h: Moved to ...
51759         * sysdeps/generic/_itoa.h: Here.
51761         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51763         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51764         instead of "_itoa.h" and "_itowa.h".
51765         * stdio-common/vfprintf.: Likewise.
51767 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51769         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51770         <bits/wordsize.h>.
51771         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51772         (__signbit): Likwise.
51773         (llrintf): Likwise.
51774         (llrint): Likwise.
51776 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51778         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51779         __WORDSIZE != 64.
51781 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51783         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51784         OVERFLOW_EXCEPTION_OK.
51785         * math/libm-test.inc ("Philosophy"): Update comment about
51786         exception testing.
51787         (OVERFLOW_EXCEPTION): Define.
51788         (OVERFLOW_EXCEPTION_OK): Likewise.
51789         (INVALID_EXCEPTION_OK): Renumber.
51790         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51791         (IGNORE_ZERO_INF_SIGN): Likewise.
51792         (test_exceptions): Handle FE_OVERFLOW.
51793         (exp10_test): Expect overflow exceptions.
51794         (exp2_test): Likewise.
51795         (expm1_test): Likewise.
51796         (nextafter_test): Likewise.
51797         (pow_test): Likewise.
51798         (scalbn_test): Likewise.
51799         (scalbln_test): Likewise.
51801 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51803         * sysdeps/x86_64/bits/atomic.h
51804         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51805         64bit integer.
51806         (atomic_exchange_acq): Likewise.
51807         (__arch_exchange_and_add_body): Likewise.
51808         (__arch_add_body): Likewise.
51809         (atomic_add_negative): Likewise.
51810         (atomic_add_zero): Likewise.
51812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51814         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51815         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51817 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51819         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51820         Check __x86_64__ instead of __WORDSIZE.
51822 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51824         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51826 2012-03-19  David S. Miller  <davem@davemloft.net>
51828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51830         * sysdeps/sparc/fpu/fenv_private.h: New file.
51831         * sysdeps/sparc/fpu/math_private.h: Use it.
51832         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51833         Remove.
51834         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51835         (libc_feholdexcept_setroundl): Remove.
51836         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51837         Remove.
51838         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51839         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51843         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51844         int64_t instead of long int.
51845         (INSERT_WORDS64): Likwise.
51847 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51849         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51850         _Unwind_GetCFA return to _Unwind_Ptr first.
51852 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51854         [BZ #13629]
51855         * math/s_clog.c: Include <float.h>.
51856         (__clog): Scale large or subnormal inputs.
51857         * math/s_clogf.c: Likewise.
51858         * math/s_clogl.c: Likewise.
51859         * math/s_clog10.c: Include <float.h>.
51860         (M_LOG10_2): Define.
51861         (__clog10): Scale large or subnormal inputs.
51862         * math/s_clog10f.c: Likewise.
51863         * math/s_clog10l.c: Likewise.
51864         * math/libm-test.inc (clog_test): Add more tests.
51865         (clog10_test): Likewise.
51866         * sysdeps/i386/fpu/libm-test-ulps: Update.
51867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51869         [BZ #11451]
51870         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51871         x and y.
51872         * math/libm-test.inc (atan2_test): Add another test.
51874         * Makerules (common-objdir-compile): Remove.
51875         * sysdeps/unix/Makefile (config-generated): Do not add
51876         $(unix-generated) to variable.
51877         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51878         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51879         Remove rule.
51880         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51881         Likewise.
51882         [generic bits/local_lim.h] (before-compile): Do not append to
51883         variable.
51884         [generic bits/local_lim.h] (common-generated): Likewise.
51885         [generic sys/param.h] (before-compile): Do not append to variable.
51886         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51887         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51888         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51889         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51890         include.
51891         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51892         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51893         [generic sys/param.h] ($(addprefix
51894         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51895         [generic sys/param.h] (common-generated): Do not append to
51896         variable.
51897         [generic sys/param.h] (sysdep_headers): Likewise.
51898         [generic bits/errno.h] (before-compile): Do not append to
51899         variable.
51900         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51901         rule.
51902         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51903         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51904         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51905         [generic bits/errno.h] (common-generated): Do not append to
51906         variable.
51907         [generic bits/ioctls.h] (before-compile): Do not append to
51908         variable.
51909         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51910         rule.
51911         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51912         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51913         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51914         rule.
51915         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51916         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51917         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51918         [generic bits/ioctls.h] (common-generated): Do not append to
51919         variable.
51920         [generic sys/syscall.h] (syscall.h): Remove variable.
51921         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51922         rule.
51923         [generic sys/syscall.h] (before-compile): Do not append to
51924         variable.
51925         [generic sys/syscall.h] (common-generated): Likewise.
51926         * sysdeps/unix/errnos-tmpl.c: Remove file.
51927         * sysdeps/unix/errnos.awk: Likewise.
51928         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51929         * sysdeps/unix/ioctls.awk: Likewise.
51930         * sysdeps/unix/mk-local_lim.c: Likewise.
51931         * sysdeps/unix/snarf-ioctls: Likewise.
51933 2012-03-19  Richard Henderson  <rth@twiddle.net>
51935         * sysdeps/i386/fpu/fenv_private.h: New file.
51936         * sysdeps/i386/fpu/math_private.h: Use it.
51937         (math_opt_barrier, math_force_eval): Remove.
51938         (libc_feholdexcept_setround_53bit): Remove.
51939         (libc_feupdateenv_53bit): Remove.
51940         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51941         (math_opt_barrier, math_force_eval): Remove.
51942         (libc_feholdexcept): Remove.
51943         (libc_feholdexcept_setround): Remove.
51944         (libc_fetestexcept, libc_fesetenv): Remove.
51945         (libc_feupdateenv_test): Remove.
51946         (libc_feupdateenv, libc_feholdsetround): Remove.
51947         (libc_feresetround): Remove.
51949         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51950         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51952         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51953         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51954         (libc_feupdateenv_testl): New.
51955         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51956         (libc_feupdateenv_testf): New.
51957         (libc_feupdateenv): Use libc_feupdateenv_test.
51958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51961         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51962         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51963         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51964         (libc_feresetround_noex): New.
51965         (libc_feresetround_noexf): New.
51966         (libc_feresetround_noexl): New.
51967         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51968         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51969         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51970         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51971         SET_RESTORE_ROUND.
51972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51974         (__cos): Likewise.
51975         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51976         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51977         SET_RESTORE_ROUND_NOEX.
51978         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51979         SET_RESTORE_ROUND_NOEXF.
51980         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51981         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51982         (libc_feholdsetroundf): New.
51983         (libc_feresetround, libc_feresetroundf): New.
51985         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51986         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51987         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51989         * sysdeps/generic/math_private.h: Include <fenv.h>.
51990         (default_libc_feholdexcept): New.
51991         (default_libc_feholdexcept_setround): New.
51992         (default_libc_fesetenv, default_libc_feupdateenv): New.
51993         (libc_feholdexcept): Only define if undefined.
51994         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51995         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51996         (libc_feholdexcept_setroundl): Likewise.
51997         (libc_feholdexcept_setround_53bit): Likewise.
51998         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51999         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52000         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52001         (libc_feupdateenv_53bit): Likewise.
52002         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52003         (libc_feholdexcept): Convert from macro to inline function.
52004         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52005         (libc_fesetenv, libc_feupdateenv): Likewise.
52007         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52008         not previously defined.
52009         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52010         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52011         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52012         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52013         * sysdeps/ieee754/flt-32/math_private.h: New file.
52014         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52015         math_private.h below SET_FLOAT_WORD.
52016         (__isnan, __isinf_ns, __finite): Remove.
52017         (__isnanf, __isinf_nsf, __finitef): Remove.
52019 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52023 2012-03-17  David S. Miller  <davem@davemloft.net>
52025         [BZ #6471]
52026         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52027         for 2.16.
52029 2012-03-16  David S. Miller  <davem@davemloft.net>
52031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52032         warnings.
52034         [BZ #6471]
52035         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52036         properly.
52037         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52038         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52039         sysdep_routines when subdir is sysvipc.
52040         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52041         __getshmlba helper.
52043         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52045 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52047         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52048         [__LP64__].
52050 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52052         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52053         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52054         (__lround): Renamed to ...
52055         (__llround): This.  Replace long int with long long int.
52056         Define lround functions as aliases of llround functions.
52057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52059 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52061         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52062         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52063         adresses to uintptr_t.  Replace "long int" and "unsigned long
52064         int" with "greg_t" on va_arg.
52066 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52068         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52069         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52071         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52072         Move e_machine check before EI_CLASS check.  Handle x32
52073         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52074         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52075         SKIP_EM_IA_64 and include
52076         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52078         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52079         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52080         (add_system_dir): New macro.
52082         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52083         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52085 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52087         [BZ #2551]
52088         [BZ #2552]
52089         [BZ #2553]
52090         [BZ #2554]
52091         [BZ #2562]
52092         [BZ #2563]
52093         [BZ #2565]
52094         [BZ #2566]
52095         [BZ #2576]
52096         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52097         (y0): Likewise.
52098         * math/w_j0f.c (j0f): Likewise.
52099         (y0f): Likewise.
52100         * math/w_j0l.c (__j0l): Likewise.
52101         (__y0l): Likewise.
52102         * math/w_j1.c (j1): Likewise.
52103         (y1): Likewise.
52104         * math/w_j1f.c (j1f): Likewise.
52105         (y1f): Likewise.
52106         * math/w_j1l.c (__j1l): Likewise.
52107         (__y1l): Likewise.
52108         * math/w_jn.c (jn): Likewise.
52109         (yn): Likewise.
52110         * math/w_jnf.c (jnf): Likewise.
52111         (ynf): Likewise.
52112         * math/w_jnl.c (__jnl): Likewise.
52113         (__ynl): Likewise.
52114         * math/libm-test.inc (j0_test): Add more tests.
52115         (j1_test): Likewise.
52116         (jn_test): Likewise.  Add trailing semicolon to existing test.
52117         (y0_test): Likewise.
52118         (y1_test): Likewise.
52119         * sysdeps/i386/fpu/libm-test-ulps: Update.
52120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52122         [BZ #13851]
52123         [BZ #13854]
52124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52125         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52126         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52127         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52128         (__tanl): Set errno for infinite argument.
52129         * sysdeps/i386/fpu/mptan.c: Remove.
52130         * sysdeps/i386/fpu/s_tan.S: Likewise.
52131         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52132         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52133         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52134         * math/libm-test.inc (tan_test): Add more tests and enable more
52135         tests for double and long double.
52136         * sysdeps/i386/fpu/libm-test-ulps: Update.
52137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52139 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52141         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52142         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52144 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52146         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52147         * configure.in: Use it for both main tree and add-ons.
52148         * configure: Regenerated.
52150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52152         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52154 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52156         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52157         in comment.
52159         [BZ #13851]
52160         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52161         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52162         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52163         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52164         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52165         infinite argument.
52166         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52167         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52168         != 0 for prec == 2.
52169         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52170         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52171         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52172         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52173         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52174         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52175         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52176         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52177         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52178         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52179         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52180         * math/libm-test.inc (cos_test): Add more tests and enable more
52181         tests for long double.
52182         (sin_test): Likewise.
52183         (sincos_test): Likewise.
52184         * sysdeps/i386/fpu/libm-test-ulps: Update.
52185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52187 2012-03-16  David S. Miller  <davem@davemloft.net>
52189         * sysdeps/sparc/fpu/math_private.h: New file.
52191 2012-03-15  David S. Miller  <davem@davemloft.net>
52193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52194         file.
52195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52197         file.
52198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52204         sysdep routines.
52205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52207         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52208         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52210         * sysdeps/sparc/sparc-ifunc.h: New file.
52211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52212         sparc-ifunc.h
52213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52215         Likewise.
52216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52217         Likewise.
52218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52222         Likewise.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52228         Likewise.
52229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52230         Likewise.
52231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52254         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52256 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52258         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52259         scaling.
52260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52262 2012-03-15  Andreas Jaeger  <aj@suse.de>
52264         [BZ #13852]
52265         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52266         ieee754/flt-32 implementation for sin, cos and sincos.
52267         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52268         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52269         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52270         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52271         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52272         ieee754/flt-32 implementation for tan.
52274         * math/libm-test.inc (cos_test): Enable some large input tests for
52275         float as well
52276         (sin_test): Likewise.
52277         (sincos_test): Likewise.
52278         (tan_test): Add tests for large input.
52280         * sysdeps/i386/fpu/libm-test-ulps: Update.
52282 2012-03-15  Andreas Jaeger  <aj@suse.de>
52284         [BZ #13658]
52285         * math/libm-test.inc (cos_test): Add more test cases.
52286         (sin_test): Likewise.
52287         (sincos_test): Likewise.
52289 2012-03-15  Andreas Jaeger  <aj@suse.de>
52291         [BZ #13837]
52292         * math/libm-test.inc (cos_test): Add a test case for large input
52293         value.
52294         (sin_test): Likewise.
52295         (sincos_test): Likewise.
52297 2012-03-15  Andreas Jaeger  <aj@suse.de>
52298             Joseph Myers  <joseph@codesourcery.com>
52300         [BZ #13658]
52301         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52302         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52303         * sysdeps/i386/fpu/branred.c: Likewise.
52304         * sysdeps/i386/fpu/dosincos.c: Likewise.
52305         * sysdeps/i386/fpu/mpa.c: Likewise.
52306         * sysdeps/i386/fpu/s_cos.S: Likewise.
52307         * sysdeps/i386/fpu/s_sin.S: Likewise.
52308         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52309         * sysdeps/i386/fpu/sincos32.c: Likewise.
52311         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52312         Define.
52313         (libc_feupdateenv_53bit): Define.
52314         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52315         Define.
52316         (libc_feupdateenv_53bit): Define.
52318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52319         53 bit (without extend i386 double precision).
52321         * math/libm-test.inc (sincos_test): Add tests for large input.
52322         (sin): Likewise.
52323         (cos): Likewise.
52325         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52327 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52331 2012-03-15  David S. Miller  <davem@davemloft.net>
52333         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52334         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52335         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52336         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52349         file.
52350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52352         file.
52353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52355         file.
52356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52358         file.
52359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52361         fmin/fmax sysdep routines.
52362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52364 2012-03-14  David S. Miller  <davem@davemloft.net>
52366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52394         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52395         routines.
52396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52397         file.
52398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52400         file.
52401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52403         file.
52404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52406         file.
52407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52409         file.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52412         file.
52413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52414         file.
52415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52416         file.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52418         file.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52420         New file.
52421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52422         file.
52423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52424         file.
52425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52427         file.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52430         file.
52431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52433         file.
52434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52436         VIS3 routines.
52438         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52439         New file.
52441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52443         * sysdeps/sparc/configure.in: New file.
52444         * sysdeps/sparc/configure: Generate.
52445         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52446         * configure: Regenerate.
52447         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52448         * config.make.in (have-as-vis3): New.
52449         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52450         available use -Av9d instead of -Av9a.
52451         * sysdeps/sparc/sparc64/Makefile: Likewise.
52452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52454         New file.
52455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52456         file.
52457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52458         New file.
52459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52460         file.
52461         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52462         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52467         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52468         fzeros/fnegs to load 0x80000000 into a float register instead of
52469         using the stack.
52470         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52472 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52475         bits/syscall.h.
52476         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52477         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52478         ($(inst_includedir)/bits/syscall.h): Remove rule.
52479         ($(objpfx)bits/syscall.d): Include instead of
52480         $(objpfx)syscall-list.d.
52481         (generated): Change syscall-list.h and syscall-list.d to
52482         bits/syscall.h and bits/syscall.d.
52484 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52486         [BZ #13846]
52487         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52489 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52491         [BZ #13841]
52492         * math/s_csqrt.c: Include <float.h>.
52493         (__csqrt): Scale large or subnormal inputs.
52494         * math/s_csqrtf.c: Likewise.
52495         * math/s_csqrtl.c: Likewise.
52496         * math/libm-test.inc (csqrt_test): Add more tests.
52497         * sysdeps/i386/fpu/libm-test-ulps: Update.
52498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52500         [BZ #13840]
52501         * math/libm-test.inc (hypot_test): Add more tests.
52503 2012-03-13  David S. Miller  <davem@davemloft.net>
52505         [BZ #13840]
52506         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52507         double-precision for the calculation instead of scaling.
52509 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52511         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52512         manipulate bits before adding and subtracting TWO52[sx].
52513         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52514         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52515         Likewise.
52516         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52518 2012-03-13  David S. Miller  <davem@davemloft.net>
52520         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52521         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52523         rtld-global-offsets.h
52524         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52526         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52527         large parameters.
52529         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52531         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52532         'err' in the ifdef scope in which it is actually used.
52534         * nss/nss_db/db-init.c: Include string.h
52536 2012-03-12  David S. Miller  <davem@davemloft.net>
52538         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52539         masking out of the most significant byte of random value used.
52540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52541         Fix coding style in previous change.
52543         * sysdeps/unix/sysv/linux/kernel-features.h
52544         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52545         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52546         expression.
52547         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52548         later.
52550 2012-03-11  David S. Miller  <davem@davemloft.net>
52552         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52553         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52554         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52555         for 'resultvar' otherwise things get truncated on 64-bit.
52557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52558         Fix masking out of the most significant byte of random value used.
52560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52562 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52566 2012-03-09  David S. Miller  <davem@davemloft.net>
52568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52569         variables with appropriate CPP guards.
52570         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52571         from the frame pointer, not the stack pointer.  Correct layout
52572         comments.  Fix test on resulting framesize and the management of
52573         the outregs buffer for pltexit.  Preserve floating point return
52574         values across _dl_call_pltexit call.
52575         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52576         framesize and the management of the outregs buffer for pltexit.
52577         Preserve floating point return values across _dl_call_pltexit
52578         call.
52579         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52580         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52581         (la_sparc64_gnu_pltexit): New functions.
52582         (print_exit): Fix format string for return register value.
52584 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52586         * sunrpc/Makefile (others): Add rpcgen.
52587         ($(objpfx)rpcgen): Remove special build rule and dependency on
52588         libc.
52589         * sunrpc/rpcgen.c: New file.
52591 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52593         [BZ #13673]
52594         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52595         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52596         * sysdeps/i386/crti.S: Likewise.
52597         * sysdeps/i386/crtn.S: Likewise.
52598         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52599         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52600         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52601         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52602         * sysdeps/sh/crti.S: Likewise.
52603         * sysdeps/sh/crtn.S: Likewise.
52604         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52606         [BZ #13673]
52607         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52608         with URL.
52609         * locale/programs/locfile-kw.gperf: Likewise.
52610         * locale/programs/charmap-kw.h: Regenerated.
52611         * locale/programs/locfile-kw.h: Likewise.
52613         [BZ #13673]
52614         * intl/plural.y: Replace FSF snail mail address with URL.
52615         * intl/plural.c: Regenerated.
52617 2012-03-09  Richard Henderson  <rth@twiddle.net>
52619         * include/math_private.h: Remove file.
52620         * math/math_private.h: Move file ...
52621         * sysdeps/generic/math_private.h: ... here.
52623         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52624         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52625         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52627         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52628         and <math_private.h>.
52629         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52630         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52631         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52632         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52633         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52634         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52635         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52637         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52638         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52640         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52641         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52642         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52643         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52644         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52645         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52647         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52648         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52650         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52651         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52653         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52654         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52655         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52656         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52659         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52660         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52661         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52662         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52663         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52664         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52665         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52666         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52667         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52669         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52670         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52671         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52672         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52673         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52675         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52676         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52678         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52679         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52680         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52681         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52682         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52683         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52684         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52685         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52686         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52687         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52688         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52691         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52692         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52693         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52694         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52695         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52708         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52709         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52710         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52712         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52713         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52716         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52717         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52718         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52719         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52720         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52721         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52722         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52723         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52724         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52725         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52726         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52727         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52729         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52730         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52731         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52732         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52733         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52734         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52735         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52736         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52737         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52739         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52740         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52741         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52742         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52743         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52744         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52745         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52746         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52747         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52748         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52750         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52751         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52752         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52753         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52754         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52755         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52756         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52757         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52758         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52759         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52760         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52761         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52762         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52763         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52764         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52765         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52766         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52767         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52768         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52769         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52770         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52771         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52772         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52773         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52774         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52775         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52776         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52777         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52778         * sysdeps/ieee754/k_standard.c: Likewise.
52779         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52780         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52781         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52782         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52783         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52784         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52785         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52786         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52787         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52788         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52789         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52791         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52792         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52793         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52794         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52795         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52796         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52797         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52798         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52799         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52800         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52801         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52802         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52803         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52804         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52805         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52806         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52807         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52808         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52809         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52810         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52811         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52812         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52813         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52814         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52815         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52816         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52817         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52818         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52819         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52820         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52821         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52822         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52823         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52824         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52825         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52828         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52830         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52831         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52832         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52835         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52836         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52837         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52838         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52839         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52840         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52841         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52842         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52843         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52845         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52846         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52847         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52851         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52852         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52855         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52856         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52858         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52859         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52860         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52861         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52864         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52865         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52866         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52867         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52869         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52870         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52871         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52872         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52875         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52876         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52877         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52878         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52882         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52883         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52884         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52885         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52886         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52887         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52888         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52891         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52893         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52894         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52895         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52896         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52897         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52899         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52900         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52901         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52903         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52904         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52905         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52906         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52907         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52908         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52909         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52911         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52912         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52914         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52915         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52916         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52917         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52918         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52919         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52920         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52921         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52922         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52923         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52924         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52925         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52926         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52928         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52929         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52930         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52934         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52935         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52936         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52937         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52938         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52939         * sysdeps/ieee754/s_lib_version.c: Likewise.
52940         * sysdeps/ieee754/s_matherr.c: Likewise.
52941         * sysdeps/ieee754/s_signgam.c: Likewise.
52942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52944         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52945         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52946         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52947         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52948         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52949         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52950         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52951         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52952         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52953         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52954         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52955         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52956         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52959         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52960         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52964 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52966         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52967         * sunrpc/rpc_main.c: Likewise.
52968         * sunrpc/rpc_svcout.c: Likewise.
52970 2012-03-09  David S. Miller  <davem@davemloft.net>
52972         * include/math_private.h: New file.
52974 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52976         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52977         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52978         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52979         from <bits/socket_type.h>.
52980         (enum __socket_type): Don't define here.
52981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52983         bits/socket_type.h.
52985         [BZ #13566]
52986         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52987         checking __USE_GNU.
52989         * Makerules ($(inst_includedir)/%.h): New rule.
52990         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52991         (install-others): Remove variable setting.
52992         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52994 2012-03-08  Richard Henderson  <rth@twiddle.net>
52996         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52997         from macro to inline function; merge with the
52998         !__LIBC_INTERNAL_MATH_INLINES version.
52999         (__ieee754_sqrtf): Likewise.
53001         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53002         to inline function.
53003         (__rintf, __floor, __floorf): Likewise.
53005         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53006         macro to inline function.
53007         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53009         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53010         not <math/math_private.h>.
53012 2012-03-08  David S. Miller  <davem@davemloft.net>
53014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53015         copyright year.
53016         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53018 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53020         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53021         normalization.
53022         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53023         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53025 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53027         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53028         be defined individually, they must be defined as a block.  Define
53029         S for printing a string instead of hidint the different by using a
53030         macro for adding the 'l'.
53031         * stdio-common/tst-fphex-wide.c: Adjust.
53033 2012-03-07  Marek Polacek  <polacek@redhat.com>
53035         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53037 2012-03-08  Marek Polacek  <polacek@redhat.com>
53039         [BZ #13806]
53040         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53041         * stdio-common/tst-fphex.c: Define a few macros to make the
53042         test reusable.  Use them.
53043         * stdio-common/tst-fphex-wide.c: New file.
53045 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53047         [BZ #6911]
53048         * manual/macros.texi (gnusystems): New macro.
53049         (nongnusystems): Likewise.
53050         (gnulinuxhurdsystems): Likewise.
53051         (gnuhurdsystems): Likewise..
53052         (gnulinuxsystems): Likewise.
53053         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53054         variants of the GNU system, not "GNU system".
53055         * manual/conf.texi: Likewise.
53056         * manual/errno.texi: Likewise.  Update example of errno macro
53057         expansion.
53058         * manual/filesys.texi: Likewise.
53059         (getumask): Document as specific to GNU/Hurd.
53060         * manual/install.texi: Likewise.  Reword some references to
53061         GNU/Linux.
53062         * manual/intro.texi: Likewise.
53063         * manual/io.texi: Likewise.
53064         (File Name Portability): Detail which constraints are inapplicable
53065         to all GNU systems and which are only inapplicable to GNU/Hurd.
53066         * manual/job.texi: Likewise.
53067         * manual/llio.texi: Likewise.
53068         (O_NOCTTY): Document as present on GNU/Linux.
53069         * manual/maint.texi: Likewise.
53070         * manual/memory.texi: Likewise.
53071         * manual/pattern.texi: Likewise.
53072         * manual/pipe.texi: Likewise.
53073         * manual/process.texi: Likewise.
53074         * manual/resource.texi: Likewise.
53075         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53076         child on GNU/Hurd.
53077         * manual/setjmp.texi: Likewise.
53078         * manual/signal.texi: Likewise.
53079         * manual/startup.texi: Likewise.
53080         * manual/stdio.texi: Likewise.
53081         * manual/terminal.texi: Likewise.
53082         (ONLCR): Document as POSIX.
53083         (OXTABS): Document availability on GNU/Linux as XTABS.
53084         (ONOEOT): Document availability separately from other bits.
53085         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53086         * manual/time.texi: Likewise.
53087         * manual/users.texi: Likewise.
53088         * INSTALL: Regenerated.
53089         * sysdeps/gnu/errlist.c: Regenerated.
53091         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53092         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53093         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53094         puts.
53095         * configure: Regenerated.
53097 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53099         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53100         default includes instead of AC_HEADER_CHECK.
53101         * sysdeps/i386/configure: Regenerated.
53103         [BZ #10716]
53104         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53105         * math/s_cacoshf.c (__cacoshf): Likewise.
53106         * math/s_cacoshl.c (__cacoshl): Likewise.
53107         * math/s_casinh.c (__casinh): Set signs of result from argument.
53108         * math/s_casinhf.c (__casinhf): Likewise.
53109         * math/s_casinhl.c (__casinhl): Likewise.
53110         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53111         (casinh_test): Add more tests.
53112         * sysdeps/i386/fpu/libm-test-ulps: Update.
53113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53115 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53117         * po/zh_TW.po: Update from translation team.
53119         * login/Makefile (distribute): Remove variable.
53120         * catgets/Makefile: Likewise.
53121         * mach/Makefile: Likewise.
53122         * malloc/Makefile: Likewise.
53123         * misc/Makefile: Likewise.
53124         * iconv/Makefile: Likewise.
53125         * nscd/Makefile: Likewise.
53126         * hurd/Makefile: Likewise.
53127         * manual/Makefile: Likewise.
53128         * locale/Makefile: Likewise.
53129         * intl/Makefile: Likewise.
53130         * conform/Makefile: Likewise.
53131         * nss/Makefile: Likewise.
53132         * time/Makefile: Likewise.
53133         * soft-fp/Makefile: Likewise.
53134         * dirent/Makefile: Likewise.
53135         * gmon/Makefile: Likewise.
53136         * po/Makefile: Likewise.
53137         * rt/Makefile: Likewise.
53138         * socket/Makefile: Likewise.
53139         * math/Makefile: Likewise.
53140         * signal/Makefile: Likewise.
53141         * debug/Makefile: Likewise.
53142         * elf/Makefile: Likewise.
53143         * timezone/Makefile: Likewise.
53144         * stdlib/Makefile: Likewise.
53145         * iconvdata/Makefile: Likewise.
53146         * sunrpc/Makefile: Likewise.
53147         * io/Makefile: Likewise.
53148         * argp/Makefile: Likewise.
53149         * inet/Makefile: Likewise.
53150         * hesiod/Makefile: Likewise.
53151         * grp/Makefile: Likewise.
53152         * csu/Makefile: Likewise.
53153         * wctype/Makefile: Likewise.
53154         * crypt/Makefile: Likewise.
53155         * libio/Makefile: Likewise.
53156         * string/Makefile: Likewise.
53157         * nis/Makefile: Likewise.
53158         * resolv/Makefile: Likewise.
53159         * stdio-common/Makefile: Likewise.
53160         * wcsmbs/Makefile: Likewise.
53161         * dlfcn/Makefile: Likewise.
53162         * posix/Makefile: Likewise.
53164         [BZ #6959]
53165         * timezone/Makefile: Don't install timezone files, just the programs
53166         and scripts.
53168 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53170         * nss/databases.def: Add missing gshadow entry.
53172         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53174 2012-03-06  Marek Polacek  <polacek@redhat.com>
53176         [BZ #13726]
53177         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53178         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53179         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53180         * stdio-common/tst-long-dbl-fphex.c: New file.
53182 2012-03-06  David S. Miller  <davem@davemloft.net>
53184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53185         (set_obp_int): New function.
53186         (get_obp_int): New function.
53187         (__get_clockfreq_via_dev_openprom): Likewise.
53188         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53189         Avoid unused variable warnings on 'val' and use builtin_expect.
53190         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53191         __builtin_expect.
53192         (INLINE_CLONE_SYSCALL): Likewise.
53194 2012-03-05  David S. Miller  <davem@davemloft.net>
53196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53198 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53203         only for |x| >= 40.
53204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53206 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53209         Replace gettimeofday with __vdso_gettimeofday.
53211         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53212         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53213         __vdso_clock_gettime and __vdso_getcpu.
53215         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53216         time with __vdso_time.
53218 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53220         * manual/lang.texi (size_t): Note types to which size_t may be
53221         equivalent with the GNU C Library, but do not describe when
53222         differences between them are significant.
53224 2012-03-05  Andreas Jaeger  <aj@suse.de>
53226         * sysdeps/i386/fpu/libm-test-ulps: Update.
53228 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53230         [BZ #3976]
53231         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53232         (__ieee754_pow): Save and restore rounding mode and use
53233         round-to-nearest for main computations.
53234         * math/libm-test.inc (pow_test_tonearest): New function.
53235         (pow_test_towardzero): Likewise.
53236         (pow_test_downward): Likewise.
53237         (pow_test_upward): Likewise.
53238         (main): Call the new functions.
53239         * sysdeps/i386/fpu/libm-test-ulps: Update.
53240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53242         [BZ #3976]
53243         * math/libm-test.inc (cosh_test_tonearest): New function.
53244         (cosh_test_towardzero): Likewise.
53245         (cosh_test_downward): Likewise.
53246         (cosh_test_upward): Likewise.
53247         (sinh_test_tonearest): Likewise.
53248         (sinh_test_towardzero): Likewise.
53249         (sinh_test_downward): Likewise.
53250         (sinh_test_upward): Likewise.
53251         (main): Call the new functions.
53252         * sysdeps/i386/fpu/libm-test-ulps: Update.
53253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53255 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53257         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53258         default stack guard is set in last bytes.
53259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53261 2012-03-05  Kees Cook  <keescook@chromium.org>
53263         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53265         [BZ #13656]
53266         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53267         possibly allocate from heap instead of stack.
53268         * stdio-common/bug-vfprintf-nargs.c: New file.
53269         * stdio-common/Makefile (tests): Add nargs overflow test.
53271 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53275 2012-03-03  Marek Polacek  <polacek@redhat.com>
53277         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53278         * math/math_private.h: Likewise.
53279         * stdlib/tst-strtod.c: Likewise.
53280         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53281         * sysdeps/x86_64/bits/atomic.h: Likewise.
53283 2012-03-02  David S. Miller  <davem@davemloft.net>
53285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53289         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53290         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53291         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53292         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53294 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53296         [BZ #13792]
53297         * manual/examples/README: New file, says the example source files
53298         can be used under GPL>=2.
53299         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53300         line containing just "*/".
53301         * manual/examples/add.c: Add copyright header (GPL>=2).
53302         * manual/examples/argp-ex1.c: Likewise.
53303         * manual/examples/argp-ex2.c: Likewise.
53304         * manual/examples/argp-ex3.c: Likewise.
53305         * manual/examples/argp-ex4.c: Likewise.
53306         * manual/examples/atexit.c: Likewise.
53307         * manual/examples/db.c: Likewise.
53308         * manual/examples/dir.c: Likewise.
53309         * manual/examples/dir2.c: Likewise.
53310         * manual/examples/execinfo.c: Likewise.
53311         * manual/examples/filecli.c: Likewise.
53312         * manual/examples/filesrv.c: Likewise.
53313         * manual/examples/fmtmsgexpl.c: Likewise.
53314         * manual/examples/genpass.c: Likewise.
53315         * manual/examples/inetcli.c: Likewise.
53316         * manual/examples/inetsrv.c: Likewise.
53317         * manual/examples/isockad.c: Likewise.
53318         * manual/examples/longopt.c: Likewise.
53319         * manual/examples/memopen.c: Likewise.
53320         * manual/examples/memstrm.c: Likewise.
53321         * manual/examples/mkfsock.c: Likewise.
53322         * manual/examples/mkisock.c: Likewise.
53323         * manual/examples/mygetpass.c: Likewise.
53324         * manual/examples/pipe.c: Likewise.
53325         * manual/examples/popen.c: Likewise.
53326         * manual/examples/rprintf.c: Likewise.
53327         * manual/examples/search.c: Likewise.
53328         * manual/examples/select.c: Likewise.
53329         * manual/examples/setjmp.c: Likewise.
53330         * manual/examples/sigh1.c: Likewise.
53331         * manual/examples/sigusr.c: Likewise.
53332         * manual/examples/stpcpy.c: Likewise.
53333         * manual/examples/strdupa.c: Likewise.
53334         * manual/examples/strftim.c: Likewise.
53335         * manual/examples/strncat.c: Likewise.
53336         * manual/examples/subopt.c: Likewise.
53337         * manual/examples/swapcontext.c: Likewise.
53338         * manual/examples/termios.c: Likewise.
53339         * manual/examples/testopt.c: Likewise.
53340         * manual/examples/testpass.c: Likewise.
53341         * manual/examples/timeval_subtract.c: Likewise.
53343         [BZ #13792]
53344         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53345         function to ...
53346         * manual/timeval_subtract.c.texi: ... here, new file.
53348 2012-03-02  David S. Miller  <davem@davemloft.net>
53350         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53352 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53354         [BZ #3976]
53355         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53356         (__sin): Save and restore rounding mode and use round-to-nearest
53357         for all computations.
53358         (__cos): Save and restore rounding mode and use round-to-nearest
53359         for all computations.
53360         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53361         <fenv.h>.
53362         (tan): Save and restore rounding mode and use round-to-nearest for
53363         all computations.
53364         * math/libm-test.inc (cos_test_tonearest): New function.
53365         (cos_test_towardzero): Likewise.
53366         (cos_test_downward): Likewise.
53367         (cos_test_upward): Likewise.
53368         (sin_test_tonearest): Likewise.
53369         (sin_test_towardzero): Likewise.
53370         (sin_test_downward): Likewise.
53371         (sin_test_upward): Likewise.
53372         (tan_test_tonearest): Likewise.
53373         (tan_test_towardzero): Likewise.
53374         (tan_test_downward): Likewise.
53375         (tan_test_upward): Likewise.
53376         (main): Call the new functions.
53377         * sysdeps/i386/fpu/libm-test-ulps: Update.
53378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53380         [BZ #10135]
53381         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53382         small n, then large n, before computing and testing k+n.
53383         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53384         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53385         Likewise.
53386         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53387         Likewise.
53388         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53389         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53395         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53396         * math/libm-test.inc (scalbn_test): Add more tests.
53397         (scalbln_test): Likewise.
53399         * manual/filesys.texi (mode_t): Describe constraints on size and
53400         signedness, not exact equivalence to a particular type.
53401         (ino_t): Likewise.
53402         (ino64_t): Likewise.
53403         (dev_t): Likewise.
53404         (nlink_t): Likewise.
53405         (blkcnt_t): Likewise.
53406         (blkcnt64_t): Likewise.
53407         * manual/llio.texi (off_t): Likewise.
53409         [BZ #3976]
53410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53411         (__ieee754_exp): Save and restore rounding mode and use
53412         round-to-nearest for all computations.
53413         * math/libm-test.inc (exp_test_tonearest): New function.
53414         (exp_test_towardzero): Likewise.
53415         (exp_test_downward): Likewise.
53416         (exp_test_upward): Likewise.
53417         (main): Call the new functions.
53418         * sysdeps/i386/fpu/libm-test-ulps: Update.
53419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53421 2012-03-01  Chris Demetriou  <cgd@google.com>
53423         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53424         have predictable order.
53426 2012-03-01  David S. Miller  <davem@davemloft.net>
53428         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53430         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53431         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53432         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53433         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53435         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53436         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53437         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53439         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53440         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53441         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53442         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53443         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53447         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53448         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53449         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53451         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53452         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53453         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53454         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53455         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53457         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53458         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53459         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53460         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53461         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53464         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53465         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53467         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53468         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53469         * sysdeps/sparc/elf/configure: Regenerated.
53471 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53473         * configure.in (AS, LD): Require binutils 2.20 or later.
53474         * configure: Regenerated.
53475         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53476         as required minimum version.
53477         * INSTALL: Regenerated.
53479         [BZ #2541]
53480         [BZ #4108]
53481         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53482         before squaring exponent.
53483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53484         bottom long double and 27 bits of top long double before squaring
53485         exponent.
53486         * math/libm-test.inc (erfc_test): Add more tests.
53487         * sysdeps/i386/fpu/libm-test-ulps: Update.
53488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53491 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53493         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53494         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53495         containing bit-fields.
53496         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53497         * soft-fp/single.h (_FP_UNION_S): Likewise.
53498         * soft-fp/double.h (_FP_UNION_D): Likewise.
53500 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53502         [BZ #13786]
53503         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53504         not include ../strcmp.S.
53505         [USE_AS_STRNCASECMP_L]: Likewise.
53506         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53507         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53508         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53509         (__strncasecmp_l_ia32): Define as alias to
53510         __strncasecmp_l_nonascii.
53512         [BZ #5794]
53513         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53514         * sysdeps/i386/fpu/libm-test-ulps: Update.
53515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53517         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53520 2012-02-29  Jeff Law  <law@redhat.com>
53522         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53523         out of bounds read.
53525 2012-02-29  Marek Polacek  <polacek@redhat.com>
53527         [BZ #13706]
53528         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53529         * elf/Makefile: Add rules to run tst-unused-dep.out.
53531 2012-02-28  David S. Miller  <davem@davemloft.net>
53533         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53534         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53535         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53536         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53537         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53538         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53542         * math/libm-test.inc (llround_test): Move one test from
53543         lround_test.  Use TEST_f_L in moved test.
53544         (lround_test): Move misplaced test to llround_test.  Add testcase
53545         from bug 2561.
53547 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53549         * sysdeps/x86_64/fpu/e_expf.S: New file.
53550         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53552 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53554         [BZ #13637]
53555         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53556         of remain_len that may cause incomplete multi-byte character and
53557         false match.
53558         * posix/bug-regex33.c: New file.
53559         * posix/Makefile (tests): Add bug-regex33.
53561 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53563         * manual/macros.texi: New file.
53564         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53565         * manual/libc.texinfo: Include macros.texi.
53566         * manual/creatute.texi: Likewise.
53567         * manual/install.texi: Likewise.
53568         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53569         @glibcadj{} in references to the GNU C Library.
53570         * manual/charset.texi: Likewise.
53571         * manual/conf.texi: Likewise.
53572         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53573         when not using those macros.
53574         * manual/creature.texi: Likewise.
53575         * manual/crypt.texi: Likewise.
53576         * manual/errno.texi: Likewise.
53577         * manual/filesys.texi: Likewise.
53578         * manual/header.texi: Likewise.
53579         * manual/install.texi: Likewise.
53580         * manual/intro.texi: Likewise.
53581         * manual/io.texi: Likewise.
53582         * manual/job.texi: Likewise.
53583         * manual/lang.texi: Likewise.
53584         * manual/libc.texiinfo: Likewise.
53585         * manual/llio.texi: Likewise.
53586         * manual/locale.texi: Likewise.
53587         * manual/maint.texi: Likewise.
53588         * manual/math.texi: Likewise.
53589         * manual/memory.texi: Likewise.
53590         * manual/message.texi: Likewise.
53591         * manual/nss.texi: Likewise.
53592         * manual/pattern.texi: Likewise.
53593         * manual/process.texi: Likewise.
53594         * manual/resource.texi: Likewise.
53595         * manual/search.texi: Likewise.
53596         * manual/setjmp.texi: Likewise.
53597         * manual/signal.texi: Likewise.
53598         * manual/socket.texi: Likewise.
53599         * manual/startup.texi: Likewise.
53600         * manual/stdio.texi: Likewise.
53601         * manual/string.texi: Likewise.
53602         * manual/sysinfo.texi: Likewise.
53603         * manual/syslog.texi: Likewise.
53604         * manual/terminal.texi: Likewise.
53605         * manual/time.texi: Likewise.
53606         * manual/users.texi: Likewise.
53607         * INSTALL: Regenerated.
53608         * NOTES: Regenerated.
53609         * sysdeps/gnu/errlist.c: Regenerated.
53611 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53613         * include/dirent.h: Include <dirstream.h> before
53614         <dirent/dirent.h>.
53616 2012-02-28  David S. Miller  <davem@davemloft.net>
53618         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53619         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53620         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53621         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53623 2012-02-27  David S. Miller  <davem@davemloft.net>
53625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53627         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53628         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53631         frame pointer instead of stack pointer relative arg slot.
53632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53633         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53634         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53636 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53638         [BZ #3992]
53639         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53641 2012-02-27  David S. Miller  <davem@davemloft.net>
53643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53647         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53648         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53649         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53650         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53652 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53654         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53655         later.  Allow versions 5-9.
53656         * configure: Regenerated.
53657         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53658         required minimum version and 4.6 as recommended version.  Do not
53659         mention bugs in GCC 2.7 and 2.8.
53660         * INSTALL: Regenerated.
53662 2012-02-27  David S. Miller  <davem@davemloft.net>
53664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53668         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53669         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53670         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53671         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53673         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53674         manipulate bits before adding and subtracting TWO112[sx].
53675         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53677 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53679         [BZ #13775]
53680         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53681         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53682         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53683         being in POSIX, because they are in 1003.1-2008.
53685         * rt/tst-aio.c: Include <fcntl.h>.
53686         * rt/tst-aio7.c: Likewise.
53687         * rt/tst-aio64.c: Likewise.
53689         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53691 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53693         * manual/install.texi (--with-headers): Describe headers as
53694         interface headers, not private headers.
53695         (Specific advice for GNU/Linux systems): Describe use of headers
53696         from "make headers_install", not private headers from older
53697         kernels.
53698         * INSTALL: Regenerated.
53699         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53700         Change to 2.6.19.
53701         * sysdeps/unix/sysv/linux/configure: Regenerated.
53703         * manual/llio.texi (fclean): Remove documentation.
53705         * manual/Makefile (libc-texi-generated): New variable.  Include
53706         version.texi.
53707         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53708         $(libc-texi-generated), not duplicated list of files.
53709         (version.texi, stamp-version): New rules.
53710         (realclean): Remove $(libc-texi-generated), not individual files
53711         from that list.  Do not remove dir-add.texinfo.
53712         * manual/libc.texinfo: Comment out uses of edition numbers and
53713         references to printed manual.  Remove last-updated dates.
53714         (EDITION): Comment out.
53715         (ISBN): Likewise.
53716         (VERSION, UPDATED): Remove.
53717         (version.texi): Include.
53719 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53721         * sysdeps/posix/spawni.c: Include <signal.h>.
53722         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53723         * sysdeps/pthread/aio_fsync.c: Likewise.
53725 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53727         * conform/Makefile (tests): Run only when not cross-compiling and
53728         when fast-check is not defined.
53730         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53731         * conform/data/limits.h-data: Fixes for POSIX2008.
53732         * conform/run-conformtest.sh: Run all tests.
53733         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53734         headers.
53735         * include/bits/dlfcn.h: Likewise.
53736         * include/langinfo.h: Likewise.
53737         * include/monetary.h: Likewise.
53738         * include/sys/poll.h: Likewise.
53740         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53741         for __USE_GNU.
53742         * posix/spawn.h: Define __need_sigset_t.
53743         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53744         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53745         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53746         to get sigevent_t only.
53747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53748         only for __USE_GNU.
53749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53750         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53751         process_vm_writev only for __USE_GNU.
53752         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53754         * conform/Makefile: For now ignore errors from run-conformtest.
53755         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53756         POSIX to avoid namespace pollution.  Don't prepend headers.
53757         * conform/data/aio.h-data: Fixes for POSIX testing.
53758         * conform/data/fcntl.h-data: Likewise.
53759         * conform/data/glob.h-data: Likewise.
53760         * conform/data/grp.h-data: Likewise.
53761         * conform/data/pthread.h-data: Likewise.
53762         * conform/data/pwd.h-data: Likewise.
53763         * conform/data/signal.h-data: Likewise.
53764         * conform/data/spawn.h-data: Likewise.
53765         * conform/data/stdio.h-data: Likewise.
53766         * conform/data/stdlib.h-data: Likewise.
53767         * conform/data/stropts.h-data: Likewise.
53768         * conform/data/sys/mman.h-data: Likewise.
53769         * conform/data/sys/stat.h-data: Likewise.
53770         * conform/data/sys/types.h-data: Likewise.
53771         * conform/data/sys/wait.h-data: Likewise.
53772         * conform/data/time.h-data: Likewise.
53773         * conform/data/unistd.h-data: Likewise.
53774         * conform/data/utime.h-data: Likewise.
53776         * io/sys/stat.h: fchmod was always in POSIX.
53777         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53778         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53779         * rt/aio.h: Define __need_timespec before including <time.h>.
53780         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53781         struct.  Add forward declaration of pthread_attr_t and use it in
53782         sigevent.
53783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53785         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53786         always remove CLK_TCK definition.
53788 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53790         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53792 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53794         * conform/run-conformtest.sh: New file.
53795         * conform/Makefile: Run run-conformtest for tests.
53796         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53797         support.
53799         * conform/data/uchar.h-data: New file.
53800         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53801         * conform/data/arpa/inet.h-data: Likewise.
53802         * conform/data/assert.h-data: Likewise.
53803         * conform/data/complex.h-data: Likewise.
53804         * conform/data/cpio.h-data: Likewise.
53805         * conform/data/ctype.h-data: Likewise.
53806         * conform/data/dirent.h-data: Likewise.
53807         * conform/data/dlfcn.h-data: Likewise.
53808         * conform/data/errno.h-data: Likewise.
53809         * conform/data/fcntl.h-data: Likewise.
53810         * conform/data/float.h-data: Likewise.
53811         * conform/data/fmtmsg.h-data: Likewise.
53812         * conform/data/fnmatch.h-data: Likewise.
53813         * conform/data/ftw.h-data: Likewise.
53814         * conform/data/glob.h-data: Likewise.
53815         * conform/data/grp.h-data: Likewise.
53816         * conform/data/iconv.h-data: Likewise.
53817         * conform/data/inttypes.h-data: Likewise.
53818         * conform/data/langinfo.h-data: Likewise.
53819         * conform/data/libgen.h-data: Likewise.
53820         * conform/data/limits.h-data: Likewise.
53821         * conform/data/locale.h-data: Likewise.
53822         * conform/data/math.h-data: Likewise.
53823         * conform/data/monetary.h-data: Likewise.
53824         * conform/data/mqueue.h-data: Likewise.
53825         * conform/data/ndbm.h-data: Likewise.
53826         * conform/data/net/if.h-data: Likewise.
53827         * conform/data/netdb.h-data: Likewise.
53828         * conform/data/netinet/in.h-data: Likewise.
53829         * conform/data/nl_types.h-data: Likewise.
53830         * conform/data/poll.h-data: Likewise.
53831         * conform/data/pthread.h-data: Likewise.
53832         * conform/data/pwd.h-data: Likewise.
53833         * conform/data/regex.h-data: Likewise.
53834         * conform/data/sched.h-data: Likewise.
53835         * conform/data/search.h-data: Likewise.
53836         * conform/data/semaphore.h-data: Likewise.
53837         * conform/data/setjmp.h-data: Likewise.
53838         * conform/data/signal.h-data: Likewise.
53839         * conform/data/spawn.h-data: Likewise.
53840         * conform/data/stdarg.h-data: Likewise.
53841         * conform/data/stdio.h-data: Likewise.
53842         * conform/data/stdlib.h-data: Likewise.
53843         * conform/data/string.h-data: Likewise.
53844         * conform/data/strings.h-data: Likewise.
53845         * conform/data/stropts.h-data: Likewise.
53846         * conform/data/sys/ipc.h-data: Likewise.
53847         * conform/data/sys/mman.h-data: Likewise.
53848         * conform/data/sys/msg.h-data: Likewise.
53849         * conform/data/sys/resource.h-data: Likewise.
53850         * conform/data/sys/select.h-data: Likewise.
53851         * conform/data/sys/sem.h-data: Likewise.
53852         * conform/data/sys/shm.h-data: Likewise.
53853         * conform/data/sys/socket.h-data: Likewise.
53854         * conform/data/sys/stat.h-data: Likewise.
53855         * conform/data/sys/statvfs.h-data: Likewise.
53856         * conform/data/sys/time.h-data: Likewise.
53857         * conform/data/sys/timeb.h-data: Likewise.
53858         * conform/data/sys/times.h-data: Likewise.
53859         * conform/data/sys/types.h-data: Likewise.
53860         * conform/data/sys/uio.h-data: Likewise.
53861         * conform/data/sys/un.h-data: Likewise.
53862         * conform/data/sys/utsname.h-data: Likewise.
53863         * conform/data/sys/wait.h-data: Likewise.
53864         * conform/data/syslog.h-data: Likewise.
53865         * conform/data/tar.h-data: Likewise.
53866         * conform/data/termios.h-data: Likewise.
53867         * conform/data/utime.h-data: Likewise.
53868         * conform/data/utmpx.h-data: Likewise.
53869         * conform/data/varargs.h-data: Likewise.
53870         * conform/data/wchar.h-data: Likewise.
53871         * conform/data/wctype.h-data: Likewise.
53872         * conform/data/wordexp.h-data: Likewise.
53874         * include/stropts.h: New file.
53875         * include/uchar.h: New file.
53876         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53877         * include/assert.h: Likewise.
53878         * include/ctype.h: Likewise.
53879         * include/dirent.h: Likewise.
53880         * include/dlfcn.h: Likewise.
53881         * include/fcntl.h: Likewise.
53882         * include/fnmatch.h: Likewise.
53883         * include/glob.h: Likewise.
53884         * include/grp.h: Likewise.
53885         * include/libio.h: Likewise.
53886         * include/locale.h: Likewise.
53887         * include/math.h: Likewise.
53888         * include/net/if.h: Likewise.
53889         * include/netdb.h: Likewise.
53890         * include/netinet/in.h: Likewise.
53891         * include/pthread.h: Likewise.
53892         * include/pwd.h: Likewise.
53893         * include/regex.h: Likewise.
53894         * include/sched.h: Likewise.
53895         * include/search.h: Likewise.
53896         * include/setjmp.h: Likewise.
53897         * include/signal.h: Likewise.
53898         * include/stdio.h: Likewise.
53899         * include/stdlib.h: Likewise.
53900         * include/string.h: Likewise.
53901         * include/sys/cdefs.h: Likewise.
53902         * include/sys/mman.h: Likewise.
53903         * include/sys/msg.h: Likewise.
53904         * include/sys/resource.h: Likewise.
53905         * include/sys/select.h: Likewise.
53906         * include/sys/socket.h: Likewise.
53907         * include/sys/stat.h: Likewise.
53908         * include/sys/statvfs.h: Likewise.
53909         * include/sys/time.h: Likewise.
53910         * include/sys/times.h: Likewise.
53911         * include/sys/uio.h: Likewise.
53912         * include/sys/utsname.h: Likewise.
53913         * include/sys/wait.h: Likewise.
53914         * include/termios.h: Likewise.
53915         * include/time.h: Likewise.
53916         * include/ulimit.h: Likewise.
53917         * include/unistd.h: Likewise.
53918         * include/utime.h: Likewise.
53919         * include/wchar.h: Likewise.
53920         * include/wctype.h: Likewise.
53921         * include/wordexp.h: Likewise.
53923         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53925         * time/time.h: TIME_UTC must be a macro.
53926         Make timespec_get available for ISO C11 only as well.
53928 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53930         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53931         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53933 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53935         * configure.in: Use -o not -a in test for unsupported multi-arch.
53937 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53939         * manual/texinfo.tex: Update to version 2012-01-19.16.
53941 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53943         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53945 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53947         [BZ #13738]
53948         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53949         * manual/fdl-1.3.texi: New file.
53950         * manual/fdl-1.1.texi: File removed.
53952         [BZ #13738]
53953         * manual/libc.texinfo (FDL_VERSION): New @set.
53954         Use it for mention of FDL in cover text.
53955         (Documentation License): Use it in @include file name.
53957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53958             Roland McGrath  <roland@hack.frob.com>
53960         [BZ #5461]
53961         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53962         (not LONG_LONG_MAX and LONG_LONG_MIN.
53963         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53964         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53965         name.
53966         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53970         [BZ #2547]
53971         [BZ #11365]
53972         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53973         manipulate bits before adding and subtracting TWO23[sx].
53974         * math/libm-test.inc (nearbyint_test): Add more tests.
53976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53978         [BZ #2548]
53979         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53980         bits before adding and subtracting TWO23[sx].
53981         * math/libm-test.inc (rint_test): Add more tests.
53982         (rint_test_tonearest): Likewise.
53983         (rint_test_towardzero): Likewise.
53984         (rint_test_downward): Likewise.
53985         (rint_test_upward: Likewise.
53987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53989         [BZ #10110]
53990         * include/stdc-predef.h: New file.  Extracted from features.h.
53991         * include/features.h: Include stdc-predef.h.
53992         * Makefile (headers): Add stdc-predef.h.
53993         * CONFORMANCE (Compiler limitations): Update.
53995 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53997         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53999 2012-02-21  David S. Miller  <davem@davemloft.net>
54001         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54002         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54004 2012-02-20  David S. Miller  <davem@davemloft.net>
54006         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54007         using a normal save/restore sequence, rather than allocating a
54008         dummy stack frame just to store a frame pointer and restore.
54009         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54011 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54013         * manual/install.texi: Fix stray word in line-wrapped comment.
54015 2012-02-20  David S. Miller  <davem@davemloft.net>
54017         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54018         both binutils and gcc support GOTDATA.
54020         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54021         "rd %pc" in the PIC register setup sequences.
54023         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54024         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54025         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54026         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54027         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54030         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54032         (SYSCALL_ERROR_HANDLER): Likewise.
54033         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54034         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54036         (SYSCALL_ERROR_HANDLER): Likewise.
54038         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54039         (HAVE_GCC_GOTDATA): New.
54040         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54041         relocation support in both binutils and gcc.
54042         * sysdeps/sparc/elf/configure: Regenerate.
54044         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54045         * sysdeps/sparc/sparc32/elf/configure: Delete.
54046         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54047         * sysdeps/sparc/sparc64/elf/configure: Delete.
54048         * sysdeps/sparc/elf/configure.in: New file.
54049         * sysdeps/sparc/elf/configure: Generate.
54051         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54052         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54053         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54054         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54055         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54057 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54059         * manual/install.texi: Do not mention specific glibc version
54060         numbers.
54061         * manual/libc.texinfo (VERSION, UPDATED): Update.
54062         (@copying): Use @copyright{} and range of years.
54064 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54066         [BZ #13695]
54067         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54068         [crti.S not in sysdirs] (generated): Do not append.
54069         [crti.S not in sysdirs] (omit-deps): Likewise.
54070         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54071         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54072         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54073         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54074         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54075         Likewise.
54076         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54077         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54078         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54079         * csu/defs.awk: Remove file.
54080         * sysdeps/generic/initfini.c: Likewise.
54081         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54082         variable.
54083         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54084         Likewise.
54086 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54088         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54089         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54090         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54091         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54092         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54093         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54094         <bits/epoll.h>.
54095         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54096         (__EPOLL_PACKED): Define to empty if not defined by
54097         <bits/epoll.h>.
54098         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54100         bits/epoll.h.
54102 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54104         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54105         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54106         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54107         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54108         <bits/timerfd.h>.
54109         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54111         bits/timerfd.h.
54113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54115         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54116         in C locale.
54117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54118         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54119         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54122 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54125         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54127 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54129         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54130         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54131         defined.
54132         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54133         Likewise.
54134         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54135         entry for 2.16.
54137 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54139         * math/w_acos.c: Use non-signaling floating-point comparisons.
54140         * math/w_acosf.c: Likewise.
54141         * math/w_acosh.c: Likewise.
54142         * math/w_acoshf.c: Likewise.
54143         * math/w_acoshl.c: Likewise.
54144         * math/w_acosl.c: Likewise.
54145         * math/w_asin.c: Likewise.
54146         * math/w_asinf.c: Likewise.
54147         * math/w_asinl.c: Likewise.
54148         * math/w_atanh.c: Likewise.
54149         * math/w_atanhf.c: Likewise.
54150         * math/w_atanhl.c: Likewise.
54151         * math/w_exp2.c: Likewise.
54152         * math/w_exp2f.c: Likewise.
54153         * math/w_exp2l.c: Likewise.
54154         * math/w_j0.c: Likewise.
54155         * math/w_j0f.c: Likewise.
54156         * math/w_j0l.c: Likewise.
54157         * math/w_j1.c: Likewise.
54158         * math/w_j1f.c: Likewise.
54159         * math/w_j1l.c: Likewise.
54160         * math/w_jn.c: Likewise.
54161         * math/w_jnf.c: Likewise.
54162         * math/w_log.c: Likewise.
54163         * math/w_log10.c: Likewise.
54164         * math/w_log10f.c: Likewise.
54165         * math/w_log10l.c: Likewise.
54166         * math/w_log2.c: Likewise.
54167         * math/w_log2f.c: Likewise.
54168         * math/w_log2l.c: Likewise.
54169         * math/w_logf.c: Likewise.
54170         * math/w_logl.c: Likewise.
54171         * math/w_sqrt.c: Likewise.
54172         * math/w_sqrtf.c: Likewise.
54173         * math/w_sqrtl.c: Likewise.
54174         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54175         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54176         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54177         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54178         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54182         [BZ #9739]
54183         * manual/string.texi (strnlen): Use correct parameter name in
54184         equivalent expression.
54186 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54188         [BZ #11174]
54189         * manual/users.texi (seteuid): Consistently use neweuid for
54190         argument name.
54192 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54194         [BZ #13704]
54195         * manual/nss.texi (Services in the NSS configuration): Correct
54196         list of services in example configuration file.
54198 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54200         [BZ #11322]
54201         * manual/arith.texi: Remove statements about negative zero
54202         behaving identically to zero.
54204 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54206         [BZ #5993]
54207         * manual/install.texi: Do not document upgrading from libc5.
54209 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54211         [BZ #4596]
54212         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54214 2012-02-18  David S. Miller  <davem@davemloft.net>
54216         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54217         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54218         %o7 across the call.
54219         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54220         instead.
54221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54222         SETUP_PIC_REG_LEAF.
54223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54224         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54225         * sysdeps/sparc/crtn.S: Likewise.
54227 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54229         * aout/Makefile: Remove.
54231 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54233         [BZ #13058]
54234         * manual/examples/argp-ex1.c (main): Format definition in GNU
54235         style.
54236         * manual/examples/argp-ex2.c (main): Likewise.
54237         * manual/examples/argp-ex3.c (main): Likewise.
54238         * manual/examples/argp-ex4.c (main): Likewise.
54239         * manual/examples/longopt.c (main): Use new-style prototype
54240         definition.
54241         * manual/examples/strncat.c (main): Specify return type and use
54242         (void) for arguments.
54243         * manual/examples/subopt.c (main): Use char **argv argument.
54245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54247         [BZ #5077]
54248         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54249         rounding modes.
54251 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54253         [BZ #6907]
54254         * manual/string.texi (strchr): Change when strchrnul is
54255         recommended.
54257 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54259         [BZ #174]
54260         * manual/locale.texi (setlocale): Document LOCPATH.
54262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54264         [BZ #10210]
54265         * manual/process.texi (execle): Move @dots{} before last argument.
54267 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54269         [BZ #12047]
54270         * manual/charset.texi (Generic Charset Conversion): Fix typo
54271         (LC_TYPE -> LC_CTYPE).
54273 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54275         [BZ #5805]
54276         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54277         (scalbnf): Likewise.
54278         (scalbnl): Likewise.
54279         (scalbln): Likewise.
54280         (scalblnf): Likewise.
54281         (scalblnl): Likewise.
54282         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54283         (vwarnx): Likewise.
54284         (verr): Likewise.
54285         (verrx): Likewise.
54286         * manual/filesys.texi (telldir): Use braces around return type.
54287         * manual/llio.texi (mmap): Add space after comma.
54288         (mmap64): Likewise.
54289         * manual/math.texi (jn): Use @var{} on parameter names.
54290         (jnf): Likewise.
54291         (jnl): Likewise.
54292         (yn): Likewise.
54293         (ynf): Likewise.
54294         (ynl): Likewise.
54295         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54296         line.
54297         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54298         "...".
54299         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54300         (sched_get_priority_max): Likewise.
54301         * manual/signal.texi (sigvec): Add space after comma.
54302         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54303         names.
54304         (if_indextoname): Likewise.
54305         (if_freenameindex): Likewise.
54306         (sendto): Use ',' instead of '.' in prototype.
54307         * manual/startup.texi (syscall): Use @dots{} instead of literal
54308         "...".
54309         * manual/stdio.texi (__fpending): Separate initial words of
54310         paragraph from @deftypefun line.
54311         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54312         "...".
54313         (vsyslog): Use @var{} on parameter names.
54314         * manual/terminal.texi (stty): Use @var{} on parameter names.
54315         * manual/users.texi (getutmp): Use @var{} on parameter names.
54316         (getutmpx): Likewise.
54318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54320         [BZ #6884]
54321         * manual/stdio.texi (fopen): Fix typos in description of
54322         ",ccs=STRING".
54324 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54326         [BZ #4026]
54327         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54328         get clock_id definition.
54330 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54332         [BZ #4822]
54333         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54334         (madvise): Cast every argument to void on its own.
54336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54338         [BZ #9902]
54339         * manual/startup.texi (Exit Status): Fix typo.
54341 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54343         [BZ #10140]
54344         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54345         * manual/examples/argp-ex2.c: Likewise.
54346         * manual/examples/argp-ex3.c: Likewise.
54348 2012-02-16  Richard Henderson  <rth@redhat.com>
54350         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54351         * sysdeps/s390/s390-32/initfini.c: Remove.
54352         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54353         * sysdeps/s390/s390-64/initfini.c: Remove.
54355 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54357         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54358         compiler output for sysdeps/generic/initfini.c.
54359         * sysdeps/sh/elf/initfini.c: Remove file.
54361 2012-02-16  David S. Miller  <davem@davemloft.net>
54363         [BZ #11494]
54364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54366         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54367         * sysdeps/sparc/crti.S: New file.
54368         * sysdeps/sparc/crtn.S: New file.
54369         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54370         * sysdeps/sparc/sparc64/Makefile: Likewise.
54372 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54374         [BZ #3335]
54375         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54377 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54379         [BZ #4822]
54380         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54382         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54383         (write, read, close): Likewise.
54384         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54386 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54388         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54389         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54390         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54391         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54392         <bits/signalfd.h>.
54393         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54395         bits/signalfd.h.
54397 2012-02-14  Marek Polacek  <polacek@redhat.com>
54399         * sysdeps/x86_64/crti.S: New file.
54400         * sysdeps/x86_64/crtn.S: New file.
54401         * sysdeps/x86_64/elf/initfini.c: Remove file.
54403 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54405         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54406         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54407         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54408         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54409         <bits/inotify.h>.
54410         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54412         bits/inotify.h.
54414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54416         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54417         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54418         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54419         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54420         <bits/eventfd.h>.
54421         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54423         bits/eventfd.h.
54425 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54427         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54428         __feraiseexcept instead of feraiseexcept.
54430         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54431         nanosleep invocations.
54432         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54433         strings, and add error checking for a nanosleep invocations.
54435 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54437         Replace FSF snail mail address with URLs, as per GNU coding standards.
54438         Most of the snail mail addresses were wrong anyway, and omitting
54439         them makes the source code easier to maintain.  Almost all of the
54440         changes are to license notices and to locale LC_IDENTIFICATION
54441         addresses, except for this one:
54442         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54443         not its snail mail address.
54445 2012-02-09  Richard Henderson  <rth@twiddle.net>
54447         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54448         of kernel-features.h.
54450         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54452 2012-02-08  Marek Polacek  <polacek@redhat.com>
54454         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54455         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54456         * sysdeps/gnu/_G_config.h: Likewise.
54457         * sysdeps/generic/_G_config.h: Likewise.
54459 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54461         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54462         tests.
54463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54465         * sysdeps/powerpc/powerpc32/crti.S: New file.
54466         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54467         * sysdeps/powerpc/powerpc64/crti.S: New file.
54468         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54470         * Makeconfig (have-initfini): Don't set.
54471         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54472         * configure.in (nopic_initfini): Don't substitute.
54473         * config.h.in (HAVE_INITFINI): Don't #undef.
54474         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54475         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54477 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54479         Support crti.S and crtn.S provided directly by architectures.
54480         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54481         [crti.S in sysdirs] (omit-deps): Likewise.
54482         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54483         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54484         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54485         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54486         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54487         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54488         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54489         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54490         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54491         compiler output for sysdeps/generic/initfini.c.
54492         * sysdeps/i386/elf/Makefile: Remove file.
54493         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54495 2012-02-07  Marek Polacek  <polacek@redhat.com>
54497         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54498         * sysdeps/gnu/_G_config.h: Likewise.
54499         * sysdeps/mach/hurd/_G_config.h: Likewise.
54501 2012-02-07  Marek Polacek  <polacek@redhat.com>
54503         * math/Makefile (tests): Add tst-CMPLX2.
54504         * math/tst-CMPLX2.c: New file.
54506 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54508         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54510         * math/libm-test.inc (jn_test): Add missing L suffix.
54512 2012-02-06  Marek Polacek  <polacek@redhat.com>
54514         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54515         * sysdeps/i386/fpu/e_powf.S: Likewise.
54516         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54517         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54518         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54519         * sysdeps/i386/fpu/e_pow.S: Likewise.
54520         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54521         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54522         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54523         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54524         * sysdeps/i386/fpu/e_log2.S: Likewise.
54525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54526         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54527         * sysdeps/i386/fpu/e_powl.S: Likewise.
54528         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54529         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54530         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54531         * sysdeps/i386/fpu/e_logl.S: Likewise.
54532         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54533         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54534         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54535         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54536         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54537         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54538         * sysdeps/i386/fpu/e_log.S: Likewise.
54539         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54540         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54541         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54542         * sysdeps/i386/fpu/e_logf.S: Likewise.
54543         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54544         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54545         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54546         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54547         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54548         * sysdeps/i386/fpu/e_log10.S: Likewise.
54549         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54551         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54552         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54554         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54555         * sysdeps/i386/asm-syntax.h: Likewise.
54556         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54557         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54558         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54559         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54560         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54561         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54562         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54563         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54565         * sysdeps/powerpc/sysdep.h: Likewise.
54566         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54567         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54569 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54571         [BZ #411]
54572         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54574 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54576         * sysdeps/i386/sysdep.h: Include <features.h>.
54577         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54578         version.
54580 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54582         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54583         Define.
54584         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54585         LOAD_PIC_REG_STR.
54587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54589         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54590         (SETUP_PIC_REG): Use GET_PC_THUNK.
54591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54592         macro.
54594 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54596         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54597         for non-PIC compilation.
54598         (SETUP_PIC_REG): Add .p2align directive.
54599         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54600         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54601         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54602         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54603         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54604         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54605         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54607         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54608         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54609         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54610         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54611         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54612         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54613         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54614         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54615         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54616         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54617         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54618         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54619         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54621         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54622         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54623         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54624         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54625         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54626         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54627         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54628         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54629         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54630         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54631         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54632         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54633         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54634         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54635         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54636         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54637         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54638         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54639         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54641 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54643         * math/tst-CMPLX.c: Include <stdio.h>.
54645 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54647         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54648         float.
54649         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54650         * sysdeps/sparc/bits/mathdef.h: Likewise.
54652 2012-01-31  Marek Polacek  <polacek@redhat.com>
54654         * libio/libio.h: Don't define _PARAMS.
54655         * locale/programs/config.h: Don't define PARAMS.
54656         * stdlib/strtol_l.c: Likewise.
54657         (__strtol_l): Remove PARAMS from the prototype.
54659 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54661         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54662         names.  Just use the correct names.  Remove unnecessary wrapper
54663         functions.
54664         * malloc/arena.c: Likewise.
54665         * malloc/hooks.c: Likewise.
54667         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54668         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54669         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54671 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54673         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54674         into tail calls.
54675         (update_get_addr): New function.
54676         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54677         GET_ADDR_MODULE parameter.
54679 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54681         * crypt/cert.c: Remove __STDC__ conditionals.
54682         * crypt/crypt-entry.c: Likewise.
54683         * crypt/crypt_util.c: Likewise.
54684         * libio/filedoalloc.c: Likewise.
54685         * libio/fileops.c: Likewise.
54686         * libio/genops.c: Likewise.
54687         * libio/iofclose.c: Likewise.
54688         * libio/iofdopen.c: Likewise.
54689         * libio/iofopen.c: Likewise.
54690         * libio/iofopen64.c: Likewise.
54691         * libio/iogetdelim.c: Likewise.
54692         * libio/iopopen.c: Likewise.
54693         * libio/obprintf.c: Likewise.
54694         * libio/oldfileops.c: Likewise.
54695         * libio/oldiofclose.c: Likewise.
54696         * libio/oldiofdopen.c: Likewise.
54697         * libio/oldiofopen.c: Likewise.
54698         * libio/oldiopopen.c: Likewise.
54699         * libio/wfiledoalloc.c: Likewise.
54700         * libio/wgenops.c: Likewise.
54701         * locale/programs/xmalloc.c: Likewise.
54702         * misc/syslog.c: Likewise.
54703         * stdio-common/xbug.c: Likewise.
54704         * string/memchr.c: Likewise.
54705         * string/memcmp.c: Likewise.
54706         * string/memrchr.c: Likewise.
54707         * string/rawmemchr.c: Likewise.
54708         * sysdeps/posix/getcwd.c: Likewise.
54709         * time/strftime_l.c: Likewise.
54711 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54713         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54714         * config.make.in (config-cflags-sse2avx): Define.
54715         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54716         Fix typo.
54718 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54720         * scripts/config.guess: Update from upstream config git repository.
54721         * scripts/config.sub: Likewise.
54723 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54725         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54726         (EM_NUM): Update.
54727         (R_TILEPRO_*, R_TILEGX_*): New macros.
54729         * scripts/firstversions.awk: Fix bug in version range handling.
54731         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54733         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54735         * include/sys/epoll.h: New file.
54736         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54737         libc_hidden_def.
54739 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54741         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54742         Avoid unnecessary __WORDSIZE == 64 test.
54743         (fmaxf): Use VEX format if possible.
54744         (fmax): Likewise.
54745         (fminf): Likewise.
54746         (fmin): Likewise.
54748         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54749         * math/math_private.h: Remove libc_fegetround* and
54750         libc_fesetround*.
54751         * sysdeps/i386/configure.in: Check for -msse2avx.
54752         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54753         also if SSE2AVX is defined.
54754         Remove libc_fegetround* and libc_fesetround*.
54755         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54756         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54757         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54758         of HAS_YMM_USABLE.
54759         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54760         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54761         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54762         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54763         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54765         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54767 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54769         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54770         size is not set.
54771         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54773 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54775         [BZ #13618]
54776         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54777         relocation.
54778         * Makeconfig (libm): Define.
54779         * elf/Makefile: Add rules to build and run tst-relsort1.
54780         * elf/tst-relsort1.c: New file.
54781         * elf/tst-relsort1mod1.c: New file.
54782         * elf/tst-relsort1mod2.c: New file.
54784 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54786         * math/s_ldexp.c: Remove __STDC__ conditionals.
54787         * math/s_ldexpf.c: Likewise.
54788         * math/s_ldexpl.c: Likewise.
54789         * math/s_nextafter.c: Likewise.
54790         * math/s_nexttowardf.c: Likewise.
54791         * math/s_significand.c: Likewise.
54792         * math/s_significandf.c: Likewise.
54793         * math/s_significandl.c: Likewise.
54794         * math/w_jnl.c: Likewise.
54795         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54796         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54797         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54798         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54799         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54800         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54801         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54804         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54805         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54806         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54807         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54808         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54809         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54811         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54812         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54814         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54815         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54816         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54817         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54818         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54819         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54820         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54821         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54822         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54823         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54824         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54825         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54826         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54829         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54830         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54831         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54832         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54833         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54834         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54835         * sysdeps/ieee754/k_standard.c: Likewise.
54836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54837         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54839         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54840         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54841         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54842         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54843         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54844         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54845         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54847         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54848         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54849         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54850         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54852         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54853         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54854         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54856         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54857         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54858         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54860         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54861         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54865         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54866         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54867         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54868         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54897         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54902         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54911         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54915         * sysdeps/ieee754/s_matherr.c: Likewise.
54916         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54917         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54921 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54923         * crypt/md5.h: Remove __STDC__ conditionals.
54924         * libio/libioP.h: Likewise.
54925         * locale/programs/config.h: Likewise.
54926         * sysdeps/generic/sysdep.h: Likewise.
54927         * sysdeps/i386/asm-syntax.h: Likewise.
54928         * sysdeps/s390/asm-syntax.h: Likewise.
54929         * sysdeps/unix/sysdep.h: Likewise.
54930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54933 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54935         * libio/libio.h: Remove __STDC__ conditionals.
54936         * malloc/obstack.h: Likewise.
54937         * math/complex.h: Likewise.
54938         * math/math.h: Likewise.
54939         * sysdeps/generic/_G_config.h: Likewise.
54940         * sysdeps/gnu/_G_config.h: Likewise.
54941         * sysdeps/mach/hurd/_G_config.h: Likewise.
54942         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54943         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54944         * sysdeps/sparc/bits/mathdef.h: Likewise.
54946 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54948         [BZ #13583]
54949         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54950         Clean up HAS_* macros.
54951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54952         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54953         possible.
54954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54955         HAS_AVX.
54956         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54957         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54958         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54959         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54960         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54962 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54964         * elf/tst-unique3.cc (gets): Remove declaration.
54965         * elf/tst-unique3lib.cc (gets): Likewise.
54966         * elf/tst-unique3lib2.cc (gets): Likewise.
54967         * elf/tst-unique4.cc (gets): Likewise.
54969 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54971         * include/stdio.h: Add C++ protection.  Add gets declarations and
54972         definitions.
54973         * debug/tst-chk1.c: Don't declare gets here.
54974         * stdio-common/tst-gets.c: Likewise.
54976 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54978         * posix/glob: Remove directory.
54980 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54982         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54984 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54986         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54987         of the non-standard EPFNOSUPPORT.
54989 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54991         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54992         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54993         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54995 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54997         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54999 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55001         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55002         transient errors.
55003         * nscd/grpcache.c (cache_addgr): Likewise.
55004         * nscd/hstcache.c (cache_addhst): Likewise.
55005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55006         * nscd/pwdcache.c (cache_addpw): Likewise.
55007         * nscd/servicescache.c (cache_addserv): Likewise.
55009 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55011         * malloc/malloc.c: Various cleanups.
55012         * malloc/hooks.c: Likewise.
55014         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55015         * stdlib/bug-fmtmsg1.c: New file.
55017         * stdlib/fmtmsg.c (init): Add missing unlock.
55018         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55020 2012-01-12  Marek Polacek  <polacek@redhat.com>
55022         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55023         and _GNU_SOURCE.
55025 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55027         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55028         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55029         macro to ensure uniqueness of label name.
55030         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55031         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55033 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55035         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55038         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55040         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55042 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55044         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55046         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55047         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55048         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55050         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55052         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55053         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55054         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55055         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55057         * math/bits/math-finite.h: Add ldexp support.
55059 2012-01-10  Marek Polacek  <polacek@redhat.com>
55061         * locale/programs/localedef.h (show_archive_content): Add noreturn
55062         attribute.
55064 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55066         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55068 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55070         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55072         * io/Makefile (headers): Add bits/poll2.h.
55074 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55077         typo #include statement.
55079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55081         * include/sys/cdefs.h: Define __attribute_alloc_size.
55082         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55083         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55084         * elf/pldd.c: Likewise.
55085         * iconv/iconv_charmap.c: Likewise.
55086         * iconv/iconvconfig.c: Likewise.
55087         * iconv/strtab.c: Likewise.
55088         * locale/programs/locale.c: Likewise.
55089         * locale/programs/localedef.h: Likewise.
55090         * locale/programs/simple-hash.c: Likewise.
55091         * nscd/nscd.h: Likewise.
55092         * nss/makedb.c: Likewise.
55093         * sysdeps/generic/ldconfig.h: Likewise.
55094         * locale/programs/localedef.c: Remove xmalloc prototype.
55095         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55097 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55100         appropriate.
55102 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55104         * math/Makefile (tests): Add tst-CMPLX.
55105         * math/tst-CMPLX.c: New file.
55107         * math/complex.h (CMPLXL): Fix typo.
55109         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55110         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55111         GLIBC_2.16.
55112         * debug/tst-chk1.c: Add poll and ppoll tests.
55113         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55114         * include/sys/poll.h: Add hidden proto for ppoll.
55115         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55116         * sysdeps/mach/hurd/ppoll.c: Likewise.
55117         * io/ppoll.c: Likewise.
55118         * debug/poll_chk.c: New file.
55119         * debug/ppoll_chk.c: New file.
55120         * include/bits/poll2.h: New file.
55121         * io/bits/poll2.h: New file.
55123         [BZ #1350]
55124         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55126         * configure.in: static is always set to yes.  Remove.
55127         * config.make.in: Don't set build-static.
55128         * Makeconfig: Remove use of build-static.
55129         * dlfcn/Makefile: Likewise.
55130         * elf/Makefile: Likewise.
55131         * math/Makefile: Likewise.
55132         * misc/Makefile: Likewise.
55133         * nptl/Makefile: Likewise.
55134         * sysdeps/mach/hurd/Makefile: Likewise.
55136         * configure.in: PWD_P is not used anymore.
55137         * config.make.in: Remove PWD_P entry.
55139         * configure.in: Remove last remnants of RANLIB.
55140         No need to check for signed size_t anymore.
55141         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55142         and IA-64.
55143         Remove __builtin_expect test because we require at least gcc 3.4.
55144         * aclocal.m4: Likewise.
55146         * wcsmbs/mbrtoc16.c: Implement using towc function.
55147         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55148         * wcsmbs/wcsmbsload.c: Likewise.
55149         * iconv/gconv_simple.c: Likewise.
55150         * iconv/gconv_int.h: Likewise.
55151         * iconv/gconv_builtin.h: Likewise.
55152         * iconv/iconv_prog.c: Remove CHAR16 handling.
55154         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55156         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55158         * configure.in: Remove --with-elf and --enable-bounded options.
55159         Dont set base_machine for ia64.  More non-ELF conditions removed.
55160         Remove testing and setting of leading underscore information.
55161         * config.make.in (build-bounded): Set to no.
55162         * config.h.in: Remove NO_UNDERSCORES entry.
55163         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55164         them.
55165         * csu/start.c: Remove !NO_UNDERSCORE code.
55166         * locale/localeinfo.h: Likewise.
55167         * sysdeps/generic/machine-gmon.h: Likewise.
55168         * sysdeps/generic/sysdep.h: Likewise.
55169         * sysdeps/i386/sysdep.h: Likewise.
55170         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55171         * sysdeps/mach/sysdep.h: Likewise.
55172         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55174         * sysdeps/sh/sysdep.h: Likewise.
55175         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55176         * sysdeps/unix/i386/sysdep.S: Likewise.
55177         * sysdeps/unix/sparc/start.c: Likewise.
55178         * sysdeps/unix/sparc/sysdep.S: Likewise.
55179         * sysdeps/unix/sparc/sysdep.h: Likewise.
55180         * sysdeps/unix/start.c: Likewise.
55181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55182         * sysdeps/x86_64/sysdep.h: Likewise.
55184 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55186         [BZ #13553]
55187         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55188         for non-gcc.
55189         * argp/argp-fmtstream.h: Use const instead __const.
55190         * argp/argp.h: Likewise.
55191         * assert/assert.h: Likewise.
55192         * bits/fenv.h: Likewise.
55193         * bits/sched.h: Likewise.
55194         * bits/sigset.h: Likewise.
55195         * bits/sigthread.h: Likewise.
55196         * catgets/nl_types.h: Likewise.
55197         * conform/data/pthread.h-data: Likewise.
55198         * crypt/crypt-private.h: Likewise.
55199         * crypt/crypt.h: Likewise.
55200         * crypt/crypt_util.c: Likewise.
55201         * ctype/ctype.h: Likewise.
55202         * debug/execinfo.h: Likewise.
55203         * debug/mbsnrtowcs_chk.c: Likewise.
55204         * debug/mbsrtowcs_chk.c: Likewise.
55205         * debug/wcsnrtombs_chk.c: Likewise.
55206         * debug/wcsrtombs_chk.c: Likewise.
55207         * debug/wcstombs_chk.c: Likewise.
55208         * dirent/dirent.h: Likewise.
55209         * dlfcn/dlfcn.h: Likewise.
55210         * elf/neededtest4.c: Likewise.
55211         * grp/grp.h: Likewise.
55212         * gshadow/gshadow.h: Likewise.
55213         * iconv/gconv.h: Likewise.
55214         * iconv/gconv_int.h: Likewise.
55215         * iconv/gconv_simple.c: Likewise.
55216         * iconv/iconv.h: Likewise.
55217         * iconv/loop.c: Likewise.
55218         * iconv/skeleton.c: Likewise.
55219         * include/aio.h: Likewise.
55220         * include/aliases.h: Likewise.
55221         * include/argz.h: Likewise.
55222         * include/arpa/inet.h: Likewise.
55223         * include/assert.h: Likewise.
55224         * include/dirent.h: Likewise.
55225         * include/dlfcn.h: Likewise.
55226         * include/execinfo.h: Likewise.
55227         * include/fcntl.h: Likewise.
55228         * include/fenv.h: Likewise.
55229         * include/glob.h: Likewise.
55230         * include/grp.h: Likewise.
55231         * include/libintl.h: Likewise.
55232         * include/mntent.h: Likewise.
55233         * include/netdb.h: Likewise.
55234         * include/pwd.h: Likewise.
55235         * include/rpc/netdb.h: Likewise.
55236         * include/sched.h: Likewise.
55237         * include/search.h: Likewise.
55238         * include/shadow.h: Likewise.
55239         * include/signal.h: Likewise.
55240         * include/stdio.h: Likewise.
55241         * include/stdlib.h: Likewise.
55242         * include/string.h: Likewise.
55243         * include/sys/socket.h: Likewise.
55244         * include/sys/stat.h: Likewise.
55245         * include/sys/statfs.h: Likewise.
55246         * include/sys/statvfs.h: Likewise.
55247         * include/sys/syslog.h: Likewise.
55248         * include/sys/time.h: Likewise.
55249         * include/sys/uio.h: Likewise.
55250         * include/time.h: Likewise.
55251         * include/unistd.h: Likewise.
55252         * include/utmp.h: Likewise.
55253         * include/wchar.h: Likewise.
55254         * include/wctype.h: Likewise.
55255         * inet/aliases.h: Likewise.
55256         * inet/arpa/inet.h: Likewise.
55257         * inet/netinet/ether.h: Likewise.
55258         * inet/netinet/in.h: Likewise.
55259         * intl/libintl.h: Likewise.
55260         * io/bits/fcntl2.h: Likewise.
55261         * io/fcntl.h: Likewise.
55262         * io/ftw.h: Likewise.
55263         * io/sys/poll.h: Likewise.
55264         * io/sys/stat.h: Likewise.
55265         * io/sys/statfs.h: Likewise.
55266         * io/sys/statvfs.h: Likewise.
55267         * io/utime.h: Likewise.
55268         * libio/bits/stdio.h: Likewise.
55269         * libio/bits/stdio2.h: Likewise.
55270         * libio/libio.h: Likewise.
55271         * libio/libioP.h: Likewise.
55272         * libio/stdio.h: Likewise.
55273         * locale/lc-ctype.c: Likewise.
55274         * locale/locale.h: Likewise.
55275         * login/utmp.h: Likewise.
55276         * malloc/arena.c: Likewise.
55277         * malloc/malloc.c: Likewise.
55278         * malloc/malloc.h: Likewise.
55279         * malloc/mcheck.c: Likewise.
55280         * malloc/mtrace.c: Likewise.
55281         * math/bits/mathcalls.h: Likewise.
55282         * math/fenv.h: Likewise.
55283         * math/math_private.h: Likewise.
55284         * misc/bits/error.h: Likewise.
55285         * misc/bits/syslog.h: Likewise.
55286         * misc/err.h: Likewise.
55287         * misc/error.h: Likewise.
55288         * misc/fstab.h: Likewise.
55289         * misc/mntent.h: Likewise.
55290         * misc/regexp.h: Likewise.
55291         * misc/search.h: Likewise.
55292         * misc/sgtty.h: Likewise.
55293         * misc/sys/mman.h: Likewise.
55294         * misc/sys/syslog.h: Likewise.
55295         * misc/sys/uio.h: Likewise.
55296         * misc/sys/xattr.h: Likewise.
55297         * misc/ttyent.h: Likewise.
55298         * nis/rpcsvc/ypclnt.h: Likewise.
55299         * nss/nss.h: Likewise.
55300         * posix/bits/unistd.h: Likewise.
55301         * posix/fnmatch.h: Likewise.
55302         * posix/glob.h: Likewise.
55303         * posix/sched.h: Likewise.
55304         * posix/spawn.h: Likewise.
55305         * posix/sys/wait.h: Likewise.
55306         * posix/unistd.h: Likewise.
55307         * posix/wordexp.h: Likewise.
55308         * pwd/pwd.h: Likewise.
55309         * resolv/netdb.h: Likewise.
55310         * resource/sys/resource.h: Likewise.
55311         * rt/aio.h: Likewise.
55312         * rt/bits/mqueue2.h: Likewise.
55313         * rt/mqueue.h: Likewise.
55314         * shadow/shadow.h: Likewise.
55315         * signal/signal.h: Likewise.
55316         * socket/send.c: Likewise.
55317         * socket/sendto.c: Likewise.
55318         * socket/sys/socket.h: Likewise.
55319         * stdio-common/printf.h: Likewise.
55320         * stdlib/bits/stdlib.h: Likewise.
55321         * stdlib/fmtmsg.h: Likewise.
55322         * stdlib/monetary.h: Likewise.
55323         * stdlib/stdlib.h: Likewise.
55324         * stdlib/ucontext.h: Likewise.
55325         * streams/stropts.h: Likewise.
55326         * string/argz.h: Likewise.
55327         * string/bits/string2.h: Likewise.
55328         * string/string.h: Likewise.
55329         * string/strings.h: Likewise.
55330         * sunrpc/rpc/auth.h: Likewise.
55331         * sunrpc/rpc/auth_des.h: Likewise.
55332         * sunrpc/rpc/clnt.h: Likewise.
55333         * sunrpc/rpc/netdb.h: Likewise.
55334         * sunrpc/rpc/pmap_clnt.h: Likewise.
55335         * sunrpc/rpc/xdr.h: Likewise.
55336         * sysdeps/generic/inttypes.h: Likewise.
55337         * sysdeps/generic/net/if.h: Likewise.
55338         * sysdeps/generic/sys/swap.h: Likewise.
55339         * sysdeps/gnu/net/if.h: Likewise.
55340         * sysdeps/gnu/utmpx.h: Likewise.
55341         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55342         * sysdeps/i386/i486/bits/string.h: Likewise.
55343         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55344         * sysdeps/s390/bits/string.h: Likewise.
55345         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55346         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55347         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55348         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55349         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55350         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55351         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55352         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55353         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55354         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55355         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55356         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55357         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55358         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55359         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55360         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55361         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55364         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55365         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55366         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55367         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55368         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55369         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55370         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55371         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55372         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55373         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55374         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55375         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55376         * sysvipc/sys/ipc.h: Likewise.
55377         * sysvipc/sys/msg.h: Likewise.
55378         * sysvipc/sys/sem.h: Likewise.
55379         * sysvipc/sys/shm.h: Likewise.
55380         * termios/termios.h: Likewise.
55381         * time/sys/time.h: Likewise.
55382         * time/time.h: Likewise.
55383         * wcsmbs/bits/wchar2.h: Likewise.
55384         * wcsmbs/uchar.h: Likewise.
55385         * wcsmbs/wchar.h: Likewise.
55386         * wctype/wctype.h: Likewise.
55388         [BZ #13551]
55389         * Makeconfig: Remove all but ELF support including AIX support.
55390         * Makerules: Likewise.
55391         * config.h.in: Likewise.
55392         * config.make.in: Likewise.
55393         * configure: Likewise.
55394         * configure.in: Likewise.
55395         * csu/Makefile: Likewise.
55396         * csu/version.c: Likewise.
55397         * debug/Makefile: Likewise.
55398         * dlfcn/Makefile: Likewise.
55399         * elf/Makefile: Likewise.
55400         * extra-lib.mk: Likewise.
55401         * iconv/Makefile: Likewise.
55402         * include/libc-symbols.h: Likewise.
55403         * include/shlib-compat.h: Likewise.
55404         * resolv/Makefile: Likewise.
55405         * resolv/res_libc.c: Likewise.
55406         * rt/Makefile: Likewise.
55407         * sysdeps/i386/asm-syntax.h: Likewise.
55408         * sysdeps/i386/sysdep.h: Likewise.
55409         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55410         * sysdeps/mach/sysdep.h: Likewise.
55411         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55412         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55413         * sysdeps/s390/asm-syntax.h: Likewise.
55414         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55416         * sysdeps/sh/sysdep.h: Likewise.
55417         * sysdeps/unix/sparc/sysdep.h: Likewise.
55418         * sysdeps/wordsize-32/divdi3.c: Likewise.
55419         * sysdeps/x86_64/sysdep.h: Likewise.
55421         * argp/Versions: Remove _argp_unlock_xxx.
55423         [BZ #13559]
55424         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55425         * abilist/libBrokenLocale.abilist: Likewise.
55426         * abilist/libanl.abilist: Likewise.
55427         * abilist/libc.abilist: Likewise.
55428         * abilist/libcrypt.abilist: Likewise.
55429         * abilist/libdl.abilist: Likewise.
55430         * abilist/libm.abilist: Likewise.
55431         * abilist/libnsl.abilist: Likewise.
55432         * abilist/libpthread.abilist: Likewise.
55433         * abilist/libresolv.abilist: Likewise.
55434         * abilist/librt.abilist: Likewise.
55435         * abilist/libthread_db.abilist: Likewise.
55436         * abilist/libutil.abilist: Likewise.
55437         * abilist/libnss_db.abilist: New file.
55439         * scripts/abilist.awk: Add support for indirect functions.
55441         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55443         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55445         * shlib-versions: Remove entries for ports architectures.
55447         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55448         files in ports.
55449         * elf/stackguard-macros.h: Remove support for IA-64.
55450         * elf/tst-auditmod1.c: Likewise.
55451         * sysdeps/generic/ldsodefs.h: Likewise.
55453         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55454         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55455         configure files.
55457         [BZ #13552]
55458         * configure.in: Remove --enable-omitfp support.
55459         * FAQ.in: Adjust.
55460         * config.make.in: Likewise.
55461         * Makeconfig: Likewise.
55462         * manual/install.texi: Likewise.
55464         In case anyone cares, the IA-64 architecture could move to ports.
55465         * sysdeps/ia64/*: Removed.
55466         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55467         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55469         [BZ #13555]
55470         * configure.in: Remove entries for unsupported architectures.
55472         [BZ #13533]
55473         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55474         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55475         routines.
55476         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55477         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55478         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55479         fall back to using wcrtomb.
55480         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55481         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55482         renaming.
55483         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55484         * wcsmbs/tst-c16c32-1.c: New file.
55486         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55487         local variable.
55489         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55491         * elf/tst-unique3.cc: Add explicit declaration of gets.
55492         * elf/tst-unique3lib.cc: Likewise.
55493         * elf/tst-unique3lib2.cc: Likewise.
55494         * elf/tst-unique4.cc: Likewise.
55496         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55498 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55500         [BZ #13566]
55501         * assert/assert.h (static_assert): Don't define for C++.
55502         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55503         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55505 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55507         * iconv/loop.c (single loop): Fix assertion in storing of
55508         remaining bytes.
55510         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55512 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55514         * posix/getconf.c: Update copyright year.
55515         * nss/getent.c: Likewise.
55516         * nss/makedb.c: Likewise.
55517         * iconv/iconvconfig.c: Likewise.
55518         * iconv/iconv_prog.c: Likewise.
55519         * elf/ldconfig.c: Likewise.
55520         * elf/pldd.c: Likewise.
55521         * elf/sotruss.ksh: Likewise.
55522         * catgets/gencat.c: Likewise.
55523         * csu/version.c: Likewise.
55524         * elf/ldd.bash.in: Likewise.
55525         * elf/sprof.c (print_version): Likewise.
55526         * locale/programs/locale.c: Likewise.
55527         * locale/programs/localedef.c: Likewise.
55528         * login/programs/pt_chown.c: Likewise.
55529         * nscd/nscd.c (print_version): Likewise.
55530         * debug/xtrace.sh: Likewise.
55531         * malloc/memusage.sh: Likewise.
55532         * malloc/mtrace.pl: Likewise.
55533         * debug/catchsegv.sh: Likewise.
55535 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55537         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55538         pure attribute.
55540 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55542         [BZ #13533]
55543         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55544         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55545         transformations.
55546         * iconv/gconv_int.h: Likewise.
55547         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55548         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55549         from libc for GLIBC_2.16.
55550         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55551         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55552         * wcsmbs/uchar.h: Really define mbstate_t.
55553         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55554         * wcsmbs/c16rtomb.c: New file.
55555         * wcsmbs/mbrtoc16.c: New file.
55556         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55557         for C/POSIX locale.
55558         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55559         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55561         * wcsmbs/wchar.h: Add missing __restrict.
55563 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55565         [BZ #13532]
55566         * time/Makefile (routines): Add timespec_get.
55567         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55568         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55569         timespec for ISO C11.
55570         * time/timespec_get.c: New file.
55571         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55572         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55574         [BZ #13531]
55575         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55576         * stdlib/stdlib.h: Declare aligned_alloc.
55577         * Versions.def: Add GLIBC_2.16 for libc.
55578         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55580         [BZ 13527]
55581         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55582         ISO C11.
55584         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55585         code.
55587         [BZ #13528]
55588         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55590         [BZ #13529]
55591         * assert/assert.h (static_assert): Define.
55593         * version.h: Update for 2.16 development version.
55595         [BZ #13526]
55596         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55597         _ISOC11_SOURCE.
55599         * version.h (RELEASE): Bump for 2.15 release.
55600         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55602         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55603         Patch by Marek Polacek <mpolacek@redhat.com>.
55605         * bits/byteswap.h: Protect long long constants with __extension__.
55606         * sysdeps/i386/bits/byteswap.h: Likewise.
55607         * sysdeps/ia64/bits/byteswap.h: Likewise.
55608         * sysdeps/s390/bits/byteswap.h: Likewise.
55609         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55611 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55613         [BZ #13540]
55614         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55615         destination buffer.
55616         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55618 2011-12-23  Marek Polacek  <polacek@redhat.com>
55620         * elf/dl-addr.c (determine_info): Add inline keyword.
55621         * elf/tst-auditmod4b.c (check_avx): Likewise.
55622         * elf/tst-auditmod6b.c (check_avx): Likewise.
55623         * elf/tst-auditmod6c.c (check_avx): Likewise.
55624         * elf/tst-auditmod7b.c (check_avx): Likewise.
55626 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55628         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55629         !__SSE_MATH__.
55631 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55633         [BZ #13540]
55634         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55635         processing for last bytes.
55637 2011-08-06  Bruno Haible  <bruno@clisp.org>
55639         [BZ #13061]
55640         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55641         U+0385, not to U+1FEE.
55643         [BZ #13062]
55644         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55645         entry for U+00A5 U+0301.
55647 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55649         [BZ #13166]
55650         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55651         buffer for the output is too small.
55653         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55654         optimization.
55656         [BZ #13185]
55657         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55658         SSE flags if possible.
55660 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55662         [BZ #13540]
55663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55664         processing for last bytes.
55666 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55669         (syscall-list-default-options, syscall-list-default-condition)
55670         (syscall-list-includes): Define.
55671         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55672         list of ABIs and options and #if conditions for each ABI.  Do not
55673         handle common syscalls between ABIs specially.
55674         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55675         Remove.
55676         (syscall-list-variants, syscall-list-32bit-options)
55677         (syscall-list-32bit-condition, syscall-list-64bit-options)
55678         (syscall-list-64bit-condition): Define.
55679         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55680         (syscall-list-variants, syscall-list-32bit-options)
55681         (syscall-list-32bit-condition, syscall-list-64bit-options)
55682         (syscall-list-64bit-condition): Define.
55683         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55684         Remove.
55685         (syscall-list-variants, syscall-list-32bit-options)
55686         (syscall-list-32bit-condition, syscall-list-64bit-options)
55687         (syscall-list-64bit-condition): Define.
55688         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55689         Remove.
55690         (syscall-list-variants, syscall-list-32bit-options)
55691         (syscall-list-32bit-condition, syscall-list-64bit-options)
55692         (syscall-list-64bit-condition): Define.
55694 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55696         * locale/iso-639.def: Add brx entry.
55698         [BZ #13328]
55699         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55700         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55702         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55703         __feraiseexcept_renamed.
55705 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55707         [BZ #13538]
55708         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55709         EPOLLET with unsigned values.
55710         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55713         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55714         to large cancellation.
55715         * math/s_cacoshf.c: Likewise.
55716         * math/s_cacoshl.c: Likewise.
55718 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55720         [BZ #13305]
55721         [BZ #12786]
55722         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55723         * math/s_cacoshf.c: Likewise.
55724         * math/s_cacoshl.c: Likewise.
55726 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55728         [BZ #13439]
55729         * iconv/gconv.h: Define __GCONV_SWAP.
55730         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55731         * iconvdata/utf-16.c: Likewise.
55732         * iconvdata/utf-32.c: Likewise.
55734 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55736         [BZ #13524]
55737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55738         numerator after shifting it by one limb.
55740 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55742         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55743         under [__USE_EXTERN_INLINES].
55745 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55747         [BZ #13446]
55748         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55750 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55752         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55753         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55754         optimized code.
55755         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55756         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55757         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55758         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55759         for strncasecmp/strncasecmp_l compilation.
55760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55761         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55763 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55765         [BZ #13484]
55766         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55767         of __asm__.
55769 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55771         [BZ #13506]
55772         * time/tzfile.c (__tzfile_read): Check values from file header.
55774 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55776         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55777         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55778         * powerpc/powerpc32/dl-start.S: Likewise.
55779         * powerpc/powerpc32/elf/start.S: Likewise.
55780         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55781         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55782         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55783         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55784         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55785         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55786         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55787         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55788         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55789         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55790         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55791         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55792         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55793         * powerpc/powerpc32/memset.S: Likewise.
55794         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55795         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55796         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55797         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55798         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55799         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55800         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55801         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55802         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55803         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55804         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55805         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55806         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55808 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55810         * math/libm-test.inc: Added more nearbyint tests.
55811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55812         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55816 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55818         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55819         FD_CLOEXEC.
55821 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55823         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55824         Add wcscpy-ssse3 wcscpy-c.
55825         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55826         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55827         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55828         * sysdeps/x86_64/wcschr.S: New file.
55829         * sysdeps/x86_64/wcsrchr.S: New file.
55830         * string/test-strcmp.c: Remove checking of wcscmp function for
55831         wrong alignments.
55832         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55833         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55834         wcsrchr-sse2 wcsrchr-c.
55835         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55836         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55837         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55838         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55839         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55840         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55841         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55842         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55843         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55844         * wcsmbc/wcschr.c (WCSCHR): New macro.
55846 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55848         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55849         * wcsmbs/test-wcsrchr.c: New file.
55850         * string/test-strrchr.c: Add wcsrchr support.
55851         (WIDE): New macro.
55852         * wcsmbs/test-wcscpy.c: New file.
55853         * string/test-strcpy.c: Add wcscpy support.
55854         (WIDE): New macro.
55856 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55858         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55859         the inner loop.
55861 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55863         [BZ #13472]
55864         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55866 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55868         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55869         Minor optimizations.
55871         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55872         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55873         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55875 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55877         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55878         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55879         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55880         for gcc to avoid warnings.
55881         * inet/Makefile (tests): Add tst-checks.
55882         * inet/tst-checks.c: New file.
55884         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55885         warning.
55887         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55888         __wmemcmp_sse2.
55890         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55891         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55893         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55895 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55897         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55898         problem.
55900         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55902 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55904         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55905         conditional on GCC version.
55906         (__arch_compare_and_exchange_val_8_acq)
55907         (__arch_compare_and_exchange_val_16_acq)
55908         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55909         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55910         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55912 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55914         * sysdeps/sh/backtrace.c: New file.
55916 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55918         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55919         parenthesis.
55921 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55923         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55924         falling back to utime.
55926 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55928         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55929         expectations for float.
55931 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55933         * locale/weight.h (findidx): Add parameter len.
55934         * locale/weightwc.h (findidx): Likewise.
55935         * posix/fnmatch_loop.c (FCT): Adjust caller.
55936         * posix/regcomp.c (build_equiv_class): Likewise.
55937         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55938         * posix/regexec.c (check_node_accept_bytes): Likewise.
55939         * string/strcoll_l.c (STRCOLL): Likewise.
55940         * string/strxfrm_l.c (STRXFRM): Likewise.
55942 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55944         * Makefile.in: Remove CVSOPT handling.
55945         * configure.in: Remove use of AC_REVISION.
55946         * iconvdata/Makefile (distribute): No need to filter out CVS.
55947         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55948         handling.
55950 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55953         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55954         [USE_AS_STRNCASECMP_L]: Likewise.
55955         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55956         NO_TLS_DIRECT_SEG_REFS.
55957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55958         Fix argument offsets for non-PIC.
55959         [USE_AS_STRNCASECMP_L]: Likewise.
55960         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55961         NO_TLS_DIRECT_SEG_REFS.
55963 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55965         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55966         O_CLOEXEC.
55967         * locale/loadlocale.c (_nl_load_locale): Likewise.
55969 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55971         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55972         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55973         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55974         (SYSCALL_GETTIME): Set errno on error.
55976         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55977         count references to noai6ai_cached.
55979 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55981         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55983         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55984         FD_CLOEXEC for /proc/self/maps.
55986         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55987         FD_CLOEXEC for /proc/meminfo.
55989         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55990         gai.conf.
55992         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55993         FD_CLOEXEC for given file.
55995         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55997         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55998         FD_CLOEXEC for /etc/hosts.
55999         (_gethtent): Likewise.
56001         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56003         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56004         cancellation and set FD_CLOEXEC for /etc/netgroup.
56006         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56007         reading /etc/publickey.
56009         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56010         allow cancellation when reading /etc/group.
56012         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56013         cancellation.
56014         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56016         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56017         when using data file.
56019         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56021         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56022         (write_nis_obj): Use "c" and "e" in fopen.
56024         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56026         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56028         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56030         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56032         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56033         locale.alias.
56035         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56037         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56039         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56041         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56042         file parsing and set FD_CLOEXEC.
56044 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56046         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56048 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56050         * malloc/arena.c (arena_get2): Don't call reused_arena when
56051         _int_new_arena failed.
56053 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56055         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56056         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56060         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56061         to compile strcasecmp and strncasecmp.
56062         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56063         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56067 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56069         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56070         locale-defines.sym to gen-as-const-headers.
56071         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56072         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56074         to compile strcasecmp and strncasecmp.
56075         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56076         strcasecmp_l and strncasecmp_l.
56077         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56078         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56079         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56080         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56081         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56082         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56083         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56084         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56085         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56086         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56087         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56089 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56091         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56092         result of SYSDEP_GETTIME_CPU to retval.
56093         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56094         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56096         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56097         variable.
56099         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56100         mantissa words.
56101         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56103         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56104         from unused variable.
56106         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56107         DWARF definitions.
56108         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56109         for assembling.
56111         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56112         over namespaces.
56114         * sunrpc/rpc_prot.c (rejected): Fix case value.
56116         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56117         unsigned long long int to avoid warnings in shift.
56119         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56120         of use of trans.
56121         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56122         variable tmp.
56124         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56125         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56126         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56128         * nis/nis_table.c (nis_list): Use variable of correct type for
56129         result of __follow_path call.
56131 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56133         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56134         of math functions ceil, trunc, floor, round, and sqrt, when
56135         avaliable on the platform.
56136         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56137         name clash.
56138         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56139         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56140         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56142 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56144         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56147 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56149         * include/unistd.h: Fix __readlink return type.
56150         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56152 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56154         * stdlib/ucontext.h: Undo last change for makecontext.
56156 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56158         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56160         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56161         * setjmp/setjmp.h: Mark functions as non-leaf.
56162         * setjmp/bits/setjmp2.h: Likewise.
56163         * stdlib/ucontext.h: Likewise.
56165 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56167         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56168         (reused_arena): Don't check arena limit.
56169         (arena_get2): Atomically check arena limit.
56171 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56173         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56174         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56177         instructions.
56179 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56181         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56182         handler when locking.
56184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56185         Fix size of allocated buffer.
56187 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56189         [BZ #10103]
56190         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56191         declarations for long double functions.
56192         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56194         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56196 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56198         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56199         installed.
56201         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56202         is disabled.
56204 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56206         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56208 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56210         * include/alloca.h (stackinfo_alloca_round): Define.
56211         (extend_alloca): Use it.
56212         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56213         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56214         here.
56216         * scripts/check-local-headers.sh: Ignore libaudit.h.
56218         * nscd/Makefile (extra-objs): Make recursively expanded.
56220 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56222         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56225         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56226         * posix/tst-rfc3484-2.c: Likewise.
56227         * posix/tst-rfc3484-3.c: Likewise.
56229         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56230         process_vm_writev.
56231         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56232         process_vm_writev.
56233         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56234         process_vm_writev from libc using GLIBC_2.15 version.
56236         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56238 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56240         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56241         stack usage.
56243 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56245         [BZ #13367]
56246         * nss/getent.c (initgroups_keys): Show error message in case no group
56247         names are given.
56249         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56250         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56251         __bump_nl_timestamp.
56252         * nscd/connections (nscd_init): When host database is served open
56253         netlink socket and request notification about configuration changes.
56254         (main_loop_poll): Track netlink file descriptor and bump timestamp
56255         in case data becomes available.
56256         (main_loop_epoll): Likewise.
56257         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56258         (database_pers_head): Add extra_data fileds.
56259         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56260         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56261         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56262         Adjust caller.
56263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56264         in6ai data, call __free_in6ai.
56265         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56266         Add -DHAVE_NETLINK.
56267         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56268         interface information.  Reuse previous data if netlink timestamp
56269         is not changed.
56270         (__bump_nl_timestamp): New function.
56271         (__free_in6ai): New function.
56273 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56275         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56276         close_not_cancel_no_status here.
56277         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56279 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56281         [BZ #13276]
56282         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56283         return value.
56285         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56286         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56287         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56289 2011-07-03  Andreas Jaeger  <aj@suse.de>
56291         [BZ #10709]
56292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56293         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56294         * math/libm-test.inc (sin_test): Add test case.
56296 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56298         [BZ #13337]
56299         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56300         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56302         * elf/chroot_canon.c (chroot_canon): Cleanups.
56304         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56306         [BZ #13335]
56307         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56308         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56310         * string/test-strchr.c: Make usable for strchrnul testing.
56311         * string/test-strchrnul.c: New file.
56312         * string/Makefile (strop-tests): Add strchrnul.
56314         * po/it.po: Update from translation team.
56315         * po/es.po: Likewise.
56317 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56319         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56320         the three constants needed as parameters.  Drop the others.
56321         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56322         __m128i_strloadu_tolower.
56323         Create and initialize variable zero and use it in all the places
56324         where _mm_setzero_si128 was used.
56326         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56327         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56328         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56329         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56330         anymore.
56331         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56332         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56333         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56334         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56335         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56336         __mpranred, __mptan.
56337         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56338         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56339         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56340         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56341         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56342         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56343         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56344         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56345         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56347 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56349         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56350         redefine if SHARED.
56351         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56354         wide char related routines to wcsmbs subdir.
56356 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56358         [BZ #13344]
56359         * misc/sys/cdefs.h (__THROWNL): Define.
56360         * posix/unistd.h: Use __THREADNL instead of __THREAD
56361         for memory synchronization functions.
56363 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56365         [BZ #13349]
56366         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56367         doesn't exist.
56368         * manual/stdio.texi (Obstack Streams): Node removed.
56370 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56372         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56373         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56376         * math/math_private.h (math_force_eval): Allow non-addressable
56377         arguments.
56378         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56380 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56382         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56383         file is not needed.
56385         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56387         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56388         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56391         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56392         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56393         Add AVX variants.
56394         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56395         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56396         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56397         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56398         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56399         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56400         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56401         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56402         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56403         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56404         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56405         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56407         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56408         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56409         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56410         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56411         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56412         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56414         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56415         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56417         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56418         place.  Use VEX encoding when compiling for AVX.
56420 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56422         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56423         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56425         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56427 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56429         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56430         useless if() expression.
56431         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56435         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56439         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56440         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56442         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56443         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56445         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56447         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56448         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56449         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56451         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56453 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56455         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56456         condition.
56457         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56459 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56461         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56462         .text section.  Avoid duplicate constants.
56463         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56471         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56472         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56473         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56474         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56475         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56476         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56477         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56479         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56480         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56481         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56483         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56484         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56485         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56487         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56488         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56489         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56490         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56491         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56492         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56493         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56494         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56496         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56497         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56498         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56499         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56500         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56501         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56502         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56503         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56504         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56505         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56506         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56507         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56509 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56511         * sysdeps/x86_64/dla.h: Move to ...
56512         * sysdeps/x86_64/fpu/dla.h: ...here.
56513         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56514         situations.  Use __builtin_fma only for gcc 4.6 and up.
56516         * config.make.in: Add have-mfma4 entry.
56517         * configure.in: Substitute libc_cv_cc_fma4.
56518         * math/Makefile (dbl-only-routines): Add sincostab.
56519         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56520         Use __sincostab not sincos.
56521         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56522         name is a macro.
56523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56527         using __copysign.
56528         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56529         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56530         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56531         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56532         and __inv.
56533         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56534         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56535         __copysign.
56536         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56537         define aliases when function name is a macro.
56538         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56539         sysdeps/ieee754/dbl-64/sincos.tbl.
56540         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56541         fma4-enabled routines.
56542         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56543         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56544         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56545         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56546         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56547         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56548         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56549         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56550         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56551         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56552         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56553         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56554         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56555         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56557         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56558         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56559         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56560         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56562         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56563         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56564         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56565         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56569         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56570         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56571         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56573         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56574         rename.
56575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56584 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56586         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56588 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56592         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56593         prediction.
56594         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56596         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56597         Remove unused variable magic_bits.
56598         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56600         * string/strnlen.c: Define and use STRNLEN macro.
56601         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56602         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56604         * wcsmbs/wcslen.c: Define and use WCSLEN.
56605         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56606         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56607         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56608         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56609         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56610         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56613 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56616         strnlen-sse2-no-bsf.
56617         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56618         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56619         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56620         Add strnlen support.
56621         (USE_AS_STRNLEN): New macro.
56622         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56623         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56624         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56625         * sysdeps/x86_64/wcslen.S: New file.
56627 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56629         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56630         XMM-moves are used for copying on small sizes.
56632 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56634         * wcsmbs/Makefile (strop-tests): Add wcschr.
56635         * wcsmbs/test-wcschr.c: New file.
56636         * string/test-strchr.c: Update.
56637         Add wcschr support.
56638         (WIDE): New macro.
56640 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56642         * wcsmbs/Makefile (strop-tests): Add wcslen.
56643         * wcsmbs/test-wcslen.c: New file.
56644         * string/test-strlen.c: Update.
56645         Add wcslen support.
56646         (WIDE): New macro.
56648 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56650         * po/it.po: Update from translation team.
56652 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56654         * sysdeps/x86_64/wcscmp.S: Update.
56655         Fix wrong comparison semantics.
56656         wcscmp shall use signed comparison not unsigned.
56657         Don't use substraction to avoid overflow bug.
56658         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56659         * wcsmbc/wcscmp.c: Likewise.
56660         * string/test-strcmp.c: Likewise.
56661         Add new tests to check cases with negative values.
56663 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56665         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56666         * sysdeps/x86_64/dla.h: ...here.  New file.
56667         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56672         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56673         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56674         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56675         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56677 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56680         __ynl_finite aliases.
56682 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56686         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56687         define DLA_FMA.
56688         [DLA_FMA] (EMULV): Use DLA_FMA.
56689         [DLA_FMA] (MUL12): Use EMULV.
56690         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56691         that are not needed.
56692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56697         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56700 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56702         * math/s_nan.c: Undef __nan.
56703         * math/s_nanf.c: Undef __nanf.
56704         * math/s_nanl.c: Undef __nanl.
56705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56706         "math_private.h".
56708 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56710         * math/s_catan.c: Add branch predictions.
56711         * math/s_catanf.c: Likewise.
56712         * math/s_catanh.c: Likewise.
56713         * math/s_catanhf.c: Likewise.
56714         * math/s_catanhl.c: Likewise.
56715         * math/s_catanl.c: Likewise.
56716         * math/s_cexp.c: Likewise.
56717         * math/s_cexpf.c: Likewise.
56718         * math/s_cexpl.c: Likewise.
56719         * math/s_clog.c: Likewise.
56720         * math/s_clog10.c: Likewise.
56721         * math/s_clog10f.c: Likewise.
56722         * math/s_clog10l.c: Likewise.
56723         * math/s_clogf.c: Likewise.
56724         * math/s_clogl.c: Likewise.
56725         * math/s_csqrt.c: Likewise.
56726         * math/s_csqrtf.c: Likewise.
56727         * math/s_csqrtl.c: Likewise.
56728         * math/s_ctanf.c: Likewise.
56729         * math/s_ctanh.c: Likewise.
56730         * math/s_ctanhf.c: Likewise.
56731         * math/s_ctanhl.c: Likewise.
56732         * math/s_ctanl.c: Likewise.
56734         * math/math_private.h: Define __nan, __nanf, __nanl.
56735         * math/s_cacosh.c: Include <math_private.h>.
56736         * math/s_cacoshl.c: Likewise.
56737         * math/s_casinh.c: Likewise.
56738         * math/s_casinhf.c: Likewise.
56739         * math/s_casinhl.c: Likewise.
56740         * math/s_ccos.c: Rely entire on ccosh.
56741         * math/s_ccosf.c: Rely entire on ccoshf.
56742         * math/s_ccosl.c: Rely entirely on ccoshl.
56743         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56744         Remove tests for FE_INVALID.
56745         * math/s_ccoshf.c: Likewise.
56746         * math/s_ccoshl.c: Likewise.
56747         * math/s_csin.c: Likewise.
56748         * math/s_csinf.c: Likewise.
56749         * math/s_csinh.c Likewise.
56750         * math/s_csinhf.c: Likewise.
56751         * math/s_csinhl.c: Likewise.
56752         * math/s_csinl.c: Likewise.
56753         * math/s_ctan.c: Likewise.
56754         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56755         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56756         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56758 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56761         compilation problems.
56763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56764         __builtin_expect.
56766 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56768         * sysdeps/i386/configure.in: Test for -mfma4 option.
56769         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56770         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56771         COMMON_CPUID_INDEX_80000001.
56772         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56773         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56774         use it if FMA3 is not supported.
56775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56777         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56778         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56780 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56782         [BZ #12892]
56783         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56784         it would create a cycle with a link time dependency.
56786 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56788         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56789         instruction.
56790         * string/Makefile (strop-tests): Add rawmemchr.
56791         * string/test-rawmemchr.c: New file.
56793         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56794         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56795         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56796         when compiling str{,n}casecmp and when AVX is available.  Hook up
56797         new optimized code in initializers.
56799 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56801         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56802         __feraiseexcept instead of feraiseexcept.
56804 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56806         * math/math_private.h: Define defaults for libc_fetestexcept and
56807         libc_feupdateenv.
56808         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56809         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56810         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56811         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56812         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56813         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56814         libc_fetestexcept and libc_feupdateenv.
56816         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56817         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56818         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56819         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56820         libc_feholdexcept_setround.
56822         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56823         Add s_nearbyint-c and s_nearbyintf-c.
56824         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56825         nearbyintf inlines.
56826         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56827         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56828         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56829         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56831         * math/math_private.h: Define defaults for libc_fegetround,
56832         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56833         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56834         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56835         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56836         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56837         standard functions.
56838         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56839         Remove comments and hacks for old compiler versions.
56840         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56841         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56842         libc_feholdexceptl.
56844 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56846         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56847         (__feraiseexcept_renamed): Add __NTH.
56848         (feraiseexcept): Add __NTH.  Rename local variables to fix
56849         namespace violations.
56851 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56853         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56855         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56857         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56858         recently added interfaces.
56859         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56861         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56862         about macro parameter expansion.
56864         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56865         __NO_MATH_INLINES is defined.  Cleanups.
56867         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56868         and __floorf is target has SSE4.1.
56869         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56870         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56871         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56872         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56874         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56875         name.
56876         (floorf): Likewise.
56878         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56880 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56882         * misc/sys/cdefs.h: Fix last change.
56884         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56885         database lookup.
56887 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56889         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56891         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56893         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56894         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56896         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56898         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56899         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56900         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56901         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56902         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56903         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56904         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56905         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56906         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56907         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56908         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56909         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56910         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56911         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56912         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56914         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56915         ceil, ceilf, floor, floorf.
56917         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56918         Perform IRELATIVE relocations last.
56920         * elf/do-rel.h: Add another parameter nrelative, replacing the
56921         local variable with the same name.  Change name of the function
56922         to end in Rel or Rela (uppercase).
56923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56924         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56925         elf_dynamic_do_##reloc function.
56927 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56929         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56930         is sufficient, at least on modern CPUs.
56932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56934         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56937         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56938         __expl_finite.
56939         * math/bits/math-finite.h: Add entries for exp.
56940         * math/e_expl.c: Add __*_finite alias.
56941         * sysdeps/i386/fpu/e_exp.S: Likewise.
56942         * sysdeps/i386/fpu/e_expf.S: Likewise.
56943         * sysdeps/i386/fpu/e_expl.c: Likewise.
56944         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56946         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56948         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56950         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56952         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56953         is sufficient, at least on modern CPUs.
56955         * ctype/ctype-info.c (__ctype_init): Define.
56956         * include/ctype.h (__ctype_init): Declare.
56957         (__ctype_b_loc): The variable is always initialized.
56958         (__ctype_toupper_loc): Likewise.
56959         (__ctype_tolower_loc): Likewise.
56960         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56961         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56963 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56965         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56967         * configure.in: Also look in $cxxmachine/include for C++ system
56968         headers.
56970 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56972         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56973         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56974         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56975         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56976         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56977         (USE_AS_WMEMCMP): New macro.
56978         Fixing indents.
56979         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56980         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56981         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56982         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56984         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56985         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56986         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56987         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56988         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56989         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56990         (USE_AS_WMEMCMP): New macro.
56991         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56992         * sysdeps/string/test-memcmp.c: Update.
56993         Fix simple_wmemcmp.
56994         Add new tests.
56995         * wcsmbs/wmemcmp.c: Update.
56996         (WMEMCMP): New macro.
56997         Fix overflow bug.
56999 2011-10-12  Andreas Jaeger  <aj@suse.de>
57001         [BZ #13268]
57002         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57004 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57006         * libio/iofwide.c (do_length): Avoid warning.
57008         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57010 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57012         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57014         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57015         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57016         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57017         * sysdeps/i386/i686/fpu/e_log.S: New file.
57018         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57019         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57021         * ctype/ctype.h: Add support for inlined isXXX functions when
57022         compiling C++ code.
57024 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57026         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57030 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57032         [BZ #13291]
57033         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57035 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57037         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57038         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57039         feraiseexcept.
57041         * sysdeps/x86_64/memrchr.S: Check for zero size.
57043         * string/stratcliff.c: Add memrchr tests.
57045 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57048         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57049         rawmemchr-sse2 rawmemchr-sse2-bsf.
57050         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57051         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57052         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57053         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57054         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57055         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57056         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57057         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57058         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57059         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57060         * string/memrchr.c (MEMRCHR): New macro.
57062 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57064         Add integration with gcc's -ffinite-math-only and optimize wrapper
57065         functions in libm.
57066         * Versions.def: Define GLIBC_2.15 version for libm.
57067         * math/Makefile (headers): Add bits/math-finite.h.
57068         * math/bits/math-finite.h: New file.
57069         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57070         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57071         * math/e_acoshl.c: Add __*_finite alias.
57072         * math/e_acosl.c: Likewise.
57073         * math/e_asinl.c: Likewise.
57074         * math/e_atan2l.c: Likewise.
57075         * math/e_atanhl.c: Likewise.
57076         * math/e_coshl.c: Likewise.
57077         * math/e_exp10.c: Likewise.
57078         * math/e_exp10f.c: Likewise.
57079         * math/e_exp10l.c: Likewise.
57080         * math/e_exp2l.c: Likewise.
57081         * math/e_fmodl.c: Likewise.
57082         * math/e_gammal_r.c: Likewise.
57083         * math/e_hypotl.c: Likewise.
57084         * math/e_j0l.c: Likewise.
57085         * math/e_j1l.c: Likewise.
57086         * math/e_jnl.c: Likewise.
57087         * math/e_lgammal_r.c: Likewise.
57088         * math/e_log10l.c: Likewise.
57089         * math/e_log2l.c: Likewise.
57090         * math/e_logl.c: Likewise.
57091         * math/e_powl.c: Likewise.
57092         * math/e_sinhl.c: Likewise.
57093         * math/e_sqrtl.c: Likewise.
57094         * math/e_scalb.c: Completely rewritten and optimized.
57095         * math/e_scalbf.c: Likewise.
57096         * math/e_scalbl.c: Likewise.
57097         * math/w_acos.c: Likewise.
57098         * math/w_acosf.c: Likewise.
57099         * math/w_acosl.c: Likewise.
57100         * math/w_acosh.c: Likewise.
57101         * math/w_acoshf.c: Likewise.
57102         * math/w_acoshl.c: Likewise.
57103         * math/w_asin.c: Likewise.
57104         * math/w_asinf.c: Likewise.
57105         * math/w_asinl.c: Likewise.
57106         * math/w_atan2.c: Likewise.
57107         * math/w_atan2f.c: Likewise.
57108         * math/w_atan2l.c: Likewise.
57109         * math/w_atanh.c: Likewise.
57110         * math/w_atanhf.c: Likewise.
57111         * math/w_atanhl.c: Likewise.
57112         * math/w_exp10.c: Likewise.
57113         * math/w_exp10f.c: Likewise.
57114         * math/w_exp10l.c: Likewise.
57115         * math/w_fmod.c: Likewise.
57116         * math/w_fmodf.c: Likewise.
57117         * math/w_fmodl.c: Likewise.
57118         * math/w_j0.c: Likewise.
57119         * math/w_j0f.c: Likewise.
57120         * math/w_j0l.c: Likewise.
57121         * math/w_j1.c: Likewise.
57122         * math/w_j1f.c: Likewise.
57123         * math/w_j1l.c: Likewise.
57124         * math/w_jn.c: Likewise.
57125         * math/w_jnf.c: Likewise.
57126         * math/w_log.c: Likewise.
57127         * math/w_logf.c: Likewise.
57128         * math/w_logl.c: Likewise.
57129         * math/w_log10.c: Likewise.
57130         * math/w_log10f.c: Likewise.
57131         * math/w_log10l.c: Likewise.
57132         * math/w_log2.c: Likewise.
57133         * math/w_log2f.c: Likewise.
57134         * math/w_log2l.c: Likewise.
57135         * math/w_pow.c: Likewise.
57136         * math/w_powf.c: Likewise.
57137         * math/w_powl.c: Likewise.
57138         * math/w_remainder.c: Likewise.
57139         * math/w_remainderf.c: Likewise.
57140         * math/w_remainderl.c: Likewise.
57141         * math/w_scalb.c: Likewise.
57142         * math/w_scalbf.c: Likewise.
57143         * math/w_scalbl.c: Likewise.
57144         * math/w_sqrt.c: Likewise.
57145         * math/w_sqrtf.c: Likewise.
57146         * math/w_sqrtl.c: Likewise.
57147         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57148         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57149         used.
57150         * math/math_private.h: Declare __kernel_standard_f.
57151         * math/w_cosh.c: Remove cruft and optimize a bit.
57152         * math/w_coshf.c: Likewise.
57153         * math/w_coshl.c: Likewise.
57154         * math/w_exp2.c: Likewise.
57155         * math/w_exp2f.c: Likewise.
57156         * math/w_exp2l.c: Likewise.
57157         * math/w_hypot.c: Likewise.
57158         * math/w_hypotf.c: Likewise.
57159         * math/w_hypotl.c: Likewise.
57160         * math/w_lgamma.c: Likewise.
57161         * math/w_lgamma_r.c: Likewise.
57162         * math/w_lgammaf.c: Likewise.
57163         * math/w_lgammaf_r.c: Likewise.
57164         * math/w_lgammal.c: Likewise.
57165         * math/w_lgammal_r.c: Likewise.
57166         * math/w_sinh.c: Likewise.
57167         * math/w_sinhf.c: Likewise.
57168         * math/w_sinhl.c: Likewise.
57169         * math/w_tgamma.c: Likewise.
57170         * math/w_tgammaf.c: Likewise.
57171         * math/w_tgammal.c: Likewise.
57172         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57173         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57174         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57175         Minor optimizations.  Pretty printing.  Remove cruft.
57176         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57178         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57180         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57181         * sysdeps/i386/fpu/e_asin.S: Likewise.
57182         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57183         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57184         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57185         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57186         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57187         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57188         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57189         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57190         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57191         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57192         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57193         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57194         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57195         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57196         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57197         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57198         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57199         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57200         * sysdeps/i386/fpu/e_log.S: Likewise.
57201         * sysdeps/i386/fpu/e_log10.S: Likewise.
57202         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57204         * sysdeps/i386/fpu/e_log2.S: Likewise.
57205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57206         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57207         * sysdeps/i386/fpu/e_logf.S: Likewise.
57208         * sysdeps/i386/fpu/e_logl.S: Likewise.
57209         * sysdeps/i386/fpu/e_pow.S: Likewise.
57210         * sysdeps/i386/fpu/e_powf.S: Likewise.
57211         * sysdeps/i386/fpu/e_powl.S: Likewise.
57212         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57213         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57214         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57215         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57218         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57219         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57220         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57221         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57222         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57224         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57225         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57226         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57227         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57228         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57229         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57230         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57231         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57232         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57234         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57235         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57237         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57242         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57243         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57244         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57245         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57246         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57247         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57248         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57249         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57250         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57251         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57252         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57253         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57255         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57256         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57257         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57258         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57259         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57260         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57261         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57262         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57263         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57264         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57266         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57268         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57269         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57270         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57271         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57272         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57273         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57274         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57275         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57276         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57277         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57278         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57279         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57280         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57281         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57284         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57285         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57286         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57289         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57292         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57295         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57297         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57299         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57300         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57302         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57303         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57304         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57305         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57306         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57307         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57308         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57309         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57310         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57311         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57312         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57313         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57314         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57315         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57316         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57317         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57318         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57319         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57320         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57321         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57322         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57323         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57324         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57325         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57327         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57328         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57329         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57330         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57331         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57332         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57333         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57334         (__isnanf): Likewise.
57335         (__isinf_ns): Likewise.
57336         (__isinf_nsf): Likewise.
57337         (__finite): Likewise.
57338         (__finitef): Likewise.
57339         (__ieee754_sqrt): Define as macro.
57340         (__ieee754_sqrtf): Define as macro.
57341         (__ieee754_sqrtl): Define as macro.
57342         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57343         inlined copy.
57344         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57345         __FINITE_MATH_ONLY__ consistent.
57346         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57348 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57350         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57351         of rawmemchr.
57353         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57355 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57357         * po/ja.po: Update from translation team.
57359 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57361         * locale/programs/locarchive.c (prepare_address_space): New function.
57362         (create_archive, enlarge_archive, open_archive): Use it.
57364         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57365         inside [SHARED], where it is used.
57367         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57369         * nss/getent.c (netgroup_keys): Remove unused variable.
57370         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57372 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57374         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57375         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57376         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57377         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57378         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57379         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57380         * math/Makefile (libm-calls): Add s_isinf_ns.
57381         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57382         * math/multc3.c: Likewise.
57383         * math/s_casin.c: Likewise.
57384         * math/s_casinf.c: Likewise.
57385         * math/s_casinl.c: Likewise.
57386         * math/s_ccos.c: Likewise.
57387         * math/s_ccosf.c: Likewise.
57388         * math/s_ccosl.c: Likewise.
57389         * math/s_ctan.c: Likewise.
57390         * math/s_ctanf.c: Likewise.
57391         * math/s_ctanh.c: Likewise.
57392         * math/s_ctanhf.c: Likewise.
57393         * math/s_ctanhl.c: Likewise.
57394         * math/s_ctanl.c: Likewise.
57395         * math/w_fmod.c: Likewise.
57396         * math/w_fmodf.c: Likewise.
57397         * math/w_fmodl.c: Likewise.
57398         * math/w_remainder.c: Likewise.
57399         * math/w_remainderf.c: Likewise.
57400         * math/w_remainderl.c: Likewise.
57401         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57402         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57405         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57406         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57407         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57408         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57410         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57411         of the number.
57412         * stdio-common/printf_fphex.c: Likewise.
57413         * stdio-common/printf_size.c: Likewise.
57415         * math/e_exp10.c: Include math_private.h using <...> not "...".
57416         * math/e_exp10f.c: Likewise.
57417         * math/e_exp10l.c: Likewise.
57418         * math/e_exp2l.c: Likewise.
57419         * math/e_j0l.c: Likewise.
57420         * math/e_j1l.c: Likewise.
57421         * math/e_jnl.c: Likewise.
57422         * math/e_lgammal_r.c: Likewise.
57423         * math/e_rem_pio2l.c: Likewise.
57424         * math/e_scalb.c: Likewise.
57425         * math/e_scalbf.c: Likewise.
57426         * math/e_scalbl.c: Likewise.
57427         * math/k_cosl.c: Likewise.
57428         * math/k_sinl.c: Likewise.
57429         * math/k_tanl.c: Likewise.
57430         * math/s_cacoshf.c: Likewise.
57431         * math/s_catan.c: Likewise.
57432         * math/s_catanf.c: Likewise.
57433         * math/s_catanh.c: Likewise.
57434         * math/s_catanhf.c: Likewise.
57435         * math/s_catanhl.c: Likewise.
57436         * math/s_catanl.c: Likewise.
57437         * math/s_ccosh.c: Likewise.
57438         * math/s_ccoshf.c: Likewise.
57439         * math/s_ccoshl.c: Likewise.
57440         * math/s_cexp.c: Likewise.
57441         * math/s_cexpf.c: Likewise.
57442         * math/s_cexpl.c: Likewise.
57443         * math/s_clog.c: Likewise.
57444         * math/s_clog10.c: Likewise.
57445         * math/s_clog10f.c: Likewise.
57446         * math/s_clog10l.c: Likewise.
57447         * math/s_clogf.c: Likewise.
57448         * math/s_clogl.c: Likewise.
57449         * math/s_csin.c: Likewise.
57450         * math/s_csinf.c: Likewise.
57451         * math/s_csinh.c: Likewise.
57452         * math/s_csinhf.c: Likewise.
57453         * math/s_csinhl.c: Likewise.
57454         * math/s_csinl.c: Likewise.
57455         * math/s_csqrt.c: Likewise.
57456         * math/s_csqrtf.c: Likewise.
57457         * math/s_csqrtl.c: Likewise.
57458         * math/s_ctan.c: Likewise.
57459         * math/s_ctanf.c: Likewise.
57460         * math/s_ctanh.c: Likewise.
57461         * math/s_ctanhf.c: Likewise.
57462         * math/s_ctanhl.c: Likewise.
57463         * math/s_ctanl.c: Likewise.
57464         * math/s_ldexp.c: Likewise.
57465         * math/s_ldexpf.c: Likewise.
57466         * math/s_ldexpl.c: Likewise.
57467         * math/s_significand.c: Likewise.
57468         * math/s_significandf.c: Likewise.
57469         * math/s_significandl.c: Likewise.
57470         * math/w_acos.c: Likewise.
57471         * math/w_acosf.c: Likewise.
57472         * math/w_acosh.c: Likewise.
57473         * math/w_acoshf.c: Likewise.
57474         * math/w_acoshl.c: Likewise.
57475         * math/w_acosl.c: Likewise.
57476         * math/w_asin.c: Likewise.
57477         * math/w_asinf.c: Likewise.
57478         * math/w_asinl.c: Likewise.
57479         * math/w_atan2.c: Likewise.
57480         * math/w_atan2f.c: Likewise.
57481         * math/w_atan2l.c: Likewise.
57482         * math/w_atanh.c: Likewise.
57483         * math/w_atanhf.c: Likewise.
57484         * math/w_atanhl.c: Likewise.
57485         * math/w_cosh.c: Likewise.
57486         * math/w_coshf.c: Likewise.
57487         * math/w_coshl.c: Likewise.
57488         * math/w_dremf.c: Likewise.
57489         * math/w_exp10.c: Likewise.
57490         * math/w_exp10f.c: Likewise.
57491         * math/w_exp10l.c: Likewise.
57492         * math/w_exp2.c: Likewise.
57493         * math/w_exp2f.c: Likewise.
57494         * math/w_fmod.c: Likewise.
57495         * math/w_fmodf.c: Likewise.
57496         * math/w_fmodl.c: Likewise.
57497         * math/w_hypot.c: Likewise.
57498         * math/w_hypotf.c: Likewise.
57499         * math/w_hypotl.c: Likewise.
57500         * math/w_j0.c: Likewise.
57501         * math/w_j0f.c: Likewise.
57502         * math/w_j0l.c: Likewise.
57503         * math/w_j1.c: Likewise.
57504         * math/w_j1f.c: Likewise.
57505         * math/w_j1l.c: Likewise.
57506         * math/w_jn.c: Likewise.
57507         * math/w_jnf.c: Likewise.
57508         * math/w_jnl.c: Likewise.
57509         * math/w_lgamma.c: Likewise.
57510         * math/w_lgamma_r.c: Likewise.
57511         * math/w_lgammaf.c: Likewise.
57512         * math/w_lgammaf_r.c: Likewise.
57513         * math/w_lgammal.c: Likewise.
57514         * math/w_lgammal_r.c: Likewise.
57515         * math/w_log.c: Likewise.
57516         * math/w_log10.c: Likewise.
57517         * math/w_log10f.c: Likewise.
57518         * math/w_log10l.c: Likewise.
57519         * math/w_log2.c: Likewise.
57520         * math/w_log2f.c: Likewise.
57521         * math/w_log2l.c: Likewise.
57522         * math/w_logf.c: Likewise.
57523         * math/w_logl.c: Likewise.
57524         * math/w_pow.c: Likewise.
57525         * math/w_powf.c: Likewise.
57526         * math/w_powl.c: Likewise.
57527         * math/w_remainder.c: Likewise.
57528         * math/w_remainderf.c: Likewise.
57529         * math/w_remainderl.c: Likewise.
57530         * math/w_scalb.c: Likewise.
57531         * math/w_scalbf.c: Likewise.
57532         * math/w_scalbl.c: Likewise.
57533         * math/w_sinh.c: Likewise.
57534         * math/w_sinhf.c: Likewise.
57535         * math/w_sinhl.c: Likewise.
57536         * math/w_sqrt.c: Likewise.
57537         * math/w_sqrtf.c: Likewise.
57538         * math/w_sqrtl.c: Likewise.
57539         * math/w_tgamma.c: Likewise.
57540         * math/w_tgammaf.c: Likewise.
57541         * math/w_tgammal.c: Likewise.
57543         * po/ja.po: Update from translation team.
57545 2011-09-29  Andreas Jaeger  <aj@suse.de>
57547         [BZ #13179]
57548         * sunrpc/netname.c (netname2host): Fix logic.
57550         [BZ #6779]
57551         [BZ #6783]
57552         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57553         correctly.
57554         * math/w_remainder.c (__remainder): Likewise.
57555         * math/w_remainderf.c (__remainderf): Likewise.
57556         * math/libm-test.inc (remainder_test): Add test cases.
57558 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57560         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57561         sdiv_qrnnd.
57563 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57565         * string/test-memcmp.c: Avoid unncessary #defines.
57566         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57568 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57570         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57571         Use new sse2 version for core i3 - i7 as it's faster
57572         than sse42 version.
57573         (bit_Prefer_PMINUB_for_stringop): New.
57574         * sysdeps/x86_64/rawmemchr.S: Update.
57575         Replace with faster SSE2 version.
57576         * sysdeps/x86_64/memrchr.S: New file.
57577         * sysdeps/x86_64/memchr.S: Update.
57578         Replace with faster SSE2 version.
57580 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57582         * elf/dl-load.c (lose): Add cast to avoid warning.
57584 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57586         * po/ca.po: Update from translation team.
57588         * inet/getnetgrent_r.c: Hook up nscd.
57589         * nscd/Makefile (routines): Add nscd_netgroup.
57590         (nscd-modules): Add netgroupcache.
57591         (CFLAGS-netgroupcache.c): Define.
57592         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57593         (cache_search): Add const to second parameter.
57594         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57595         INNETGR.
57596         (dbs): Add netgrdb entry.
57597         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57598         (verify_persistent_db): Handle netgrdb.
57599         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57600         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57601         GETFDNETGR.
57602         (netgroup_response_header): Define.
57603         (innetgroup_response_header): Define.
57604         (datahead): Add netgroup_response_header and innetgroup_response_header
57605         elements.
57606         * nscd/nscd.conf: Add entries for netgroup cache.
57607         * nscd/nscd.h (dbtype): Add netgrdb.
57608         (_PATH_NSCD_NETGROUP_DB): Define.
57609         (netgroup_iov_disabled): Declare.
57610         (xmalloc, xcalloc, xrealloc): Move declarations here.
57611         (cache_search): Adjust prototype.
57612         Add netgroup-related prototypes.
57613         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57614         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57615         (__nscd_innetgr): Declare.
57616         * nscd/selinux.c (perms): Use access_vector_t as element type and
57617         add netgroup-related initializers.
57618         * nscd/netgroupcache.c: New file.
57619         * nscd/nscd_netgroup.c: New file.
57620         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57621         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57622         For four parameters use innetgr.
57623         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57624         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57625         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57626         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57628         * nscd/connections.c (register_traced_file): Don't register file
57629         for disabled databases.
57631 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57633         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57635         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57636         from tree and freeing node.
57638 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57640         * nss/nsswitch.c (__nss_database_lookup): Handle
57641         nss_parse_service_list out of memory case.
57643 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57645         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57646         out of memory case.
57648 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57650         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57651         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57652         pass it down.
57653         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57654         elf_machine_rela, elf_machine_lazy_rel.
57655         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57656         (ELF_DYNAMIC_DO_REL): Likewise.
57657         (ELF_DYNAMIC_DO_RELA): Likewise.
57658         (ELF_DYNAMIC_RELOCATE): Likewise.
57659         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57660         to ELF_DYNAMIC_DO_REL.
57661         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57662         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57663         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57664         elf_machine_rela.
57665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57666         skip_ifunc, don't call ifunc function if non-zero.
57667         (elf_machine_rela): Likewise.
57668         (elf_machine_lazy_rel): Likewise.
57669         (elf_machine_lazy_rela): Likewise.
57670         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57671         (elf_machine_lazy_rel): Likewise.
57672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57673         Likewise.
57674         (elf_machine_lazy_rel): Likewise.
57675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57676         Likewise.
57677         (elf_machine_lazy_rel): Likewise.
57678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57679         (elf_machine_lazy_rel): Likewise.
57680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57681         (elf_machine_lazy_rel): Likewise.
57682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57683         (elf_machine_lazy_rel): Likewise.
57684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57685         (elf_machine_lazy_rel): Likewise.
57686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57687         (elf_machine_lazy_rel): Likewise.
57688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57689         (elf_machine_lazy_rel): Likewise.
57691 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57693         * nss/nss_files/files-init.c (_nss_files_init): Use static
57694         initialization for all the *_traced_file variables.
57696 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57698         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57700 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57702         [BZ #13226]
57703         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57705 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57707         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57708         Reread the line before reparsing it.
57710 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57712         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57714 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57715             Maxim Kuvyrkov  <maxim@codesourcery.com>
57716             Joseph Myers  <joseph@codesourcery.com>
57718         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57719         if needed for __stack_chk_guard.
57721 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57723         * sysdeps/posix/spawni.c (script_execute): Always define it.
57724         It will be optimized away if unused.
57725         (maybe_script_execute): New function.
57726         (__spawni): Call it.
57728         * Makerules: Don't include tls.make.
57729         (config-tls): Always set to thread.
57730         * tls.make.c: File removed.
57732 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57734         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57735         * config.make.in (CPPFLAGS-config): New substituted variable.
57737 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57739         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57741         [BZ #13192]
57742         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57743         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57745 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57747         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57748         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57749         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57750         (CALL_FAIL): Likewise.
57751         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57752         (CALL_FAIL): Macro removed.
57753         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57755 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57757         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57758         for __FINITE_MATH_ONLY__ == 1.
57760 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57762         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57763         __ieee754_sqrt instead of sqrt.
57764         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57765         __ieee754_sqrtf instead of sqrtf.
57766         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57767         __floorf instead of floorf.
57768         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57769         __floorf, __truncf instead of floorf, truncf.
57771 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57773         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57775         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57776         __extern_always_inline.
57777         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57778         32-bit.
57780 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57782         * elf/rtld.c (dl_main): Also relocate in dependency order when
57783         doing symbol dependency testing.
57785 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57788         Always define `refsym'.
57790 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57792         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57793         (__FD_ELT): Renamed from __FDELT.
57794         * misc/bits/select2.h (__FD_ELT): Likewise.
57795         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57796         __FD_MASK instead of __FDELT, __FDMASK.
57797         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57798         Likewise.
57799         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57800         Likewise.
57802         * elf/Makefile (gen-ldd): Fix pattern.
57804         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57805         (init_tls): Likewise.
57807 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57811 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57813         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57814         `struct cmsghdr *' instead of `void *'.
57815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57816         Likewise.
57818 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57820         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57821         if non-absolute.
57822         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57823         ldd_rewrite_script.
57825 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57827         * configure.in: Remove --with-tls option.
57828         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57829         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57830         out in case it is missing.
57831         * sysdeps/ia64/elf/configure.in: Likewise.
57832         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57833         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57834         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57835         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57836         * sysdeps/sh/elf/configure.in: Likewise.
57837         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57838         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57839         * sysdeps/x86_64/elf/configure.in: Likewise.
57840         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57841         * sysdeps/mach/hurd/tls.h: Likewise.
57843         [BZ #13067]
57844         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57846         [BZ #13090]
57847         * configure.in: Fix use of AC_INIT.
57849         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57851 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57853         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57854         __set_errno.
57855         * malloc/hooks.c: Likewise.
57857         [BZ #11929]
57858         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57859         variables statically.
57860         (narenas): Initialize.
57861         (list_lock): Initialize.
57862         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57863         initializtion of main_arena and list_lock.  Small cleanups.
57864         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57865         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57866         Add initializers to main_arena and mp_.
57867         (malloc_state): Remove pagesize member.  Change all users to use
57868         GLRO(dl_pagesize).
57870         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57871         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57872         is always initialized.
57874         * malloc/malloc.c: Removed unused configurations and dead code.
57875         * malloc/arena.c: Likewise.
57876         * malloc/hooks.c: Likewise.
57877         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57879         * include/tls.h: Removed.  USE___THREAD must always be defined.
57880         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57881         * elf/dl-libc.c: Likewise.
57882         * elf/dl-tsd.c: Likewise.
57883         * include/errno.h: Likewise.
57884         * include/netdb.h: Likewise.
57885         * include/resolv.h: Likewise.
57886         * inet/herrno-loc.c: Likewise.
57887         * inet/herrno.c: Likewise.
57888         * malloc/arena.c: Likewise.
57889         * malloc/hooks.c: Likewise.
57890         * malloc/malloc.c: Likewise.
57891         * resolv/res-state.c: Likewise.
57892         * resolv/res_libc.c: Likewise.
57893         * sysdeps/i386/dl-machine.h: Likewise.
57894         * sysdeps/ia64/dl-machine.h: Likewise.
57895         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57896         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57897         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57898         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57899         * sysdeps/sh/dl-machine.h: Likewise.
57900         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57901         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57902         * sysdeps/unix/i386/sysdep.S: Likewise.
57903         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57904         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57913         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57914         * sysdeps/x86_64/dl-machine.h: Likewise.
57915         * tls.make.c: Likewise.
57917         * configure.in: Remove --with-__thread option.  Make tests for
57918         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57919         tls_model attribute fail if no support is available.  Remove
57920         USE_IN_LIBIO.
57921         * Makeconfig: Adjust for dropped configure option.  All features are
57922         now mandatory.
57923         * Makerules: Likewise.
57924         * Versions.def: Likewise.
57925         * argp/argp-fmtstream.c: Likewise.
57926         * argp/argp-fmtstream.h: Likewise.
57927         * argp/argp-help.c: Likewise.
57928         * assert/assert.c: Likewise.
57929         * config.h.in: Likewise.
57930         * config.make.in: Likewise.
57931         * configure: Likewise.
57932         * configure.in: Likewise.
57933         * csu/Versions: Likewise.
57934         * csu/init.c: Likewise.
57935         * elf/tst-audit2.c: Likewise.
57936         * elf/tst-tls10.c: Likewise.
57937         * elf/tst-tls10.h: Likewise.
57938         * elf/tst-tls11.c: Likewise.
57939         * elf/tst-tls12.c: Likewise.
57940         * elf/tst-tls14.c: Likewise.
57941         * elf/tst-tlsmod11.c: Likewise.
57942         * elf/tst-tlsmod12.c: Likewise.
57943         * elf/tst-tlsmod13.c: Likewise.
57944         * elf/tst-tlsmod13a.c: Likewise.
57945         * elf/tst-tlsmod14a.c: Likewise.
57946         * elf/tst-tlsmod15b.c: Likewise.
57947         * elf/tst-tlsmod16a.c: Likewise.
57948         * elf/tst-tlsmod16b.c: Likewise.
57949         * elf/tst-tlsmod7.c: Likewise.
57950         * elf/tst-tlsmod8.c: Likewise.
57951         * elf/tst-tlsmod9.c: Likewise.
57952         * gmon/gmon.c: Likewise.
57953         * grp/fgetgrent_r.c: Likewise.
57954         * grp/putgrent.c: Likewise.
57955         * hurd/fopenport.c: Likewise.
57956         * include/libc-symbols.h: Likewise.
57957         * include/tls.h: Likewise.
57958         * intl/gettextP.h: Likewise.
57959         * intl/loadinfo.h: Likewise.
57960         * locale/global-locale.c: Likewise.
57961         * locale/localeinfo.h: Likewise.
57962         * mach/devstream.c: Likewise.
57963         * malloc/arena.c: Likewise.
57964         * malloc/set-freeres.c: Likewise.
57965         * misc/err.c: Likewise.
57966         * misc/getttyent.c: Likewise.
57967         * misc/mntent_r.c: Likewise.
57968         * posix/getopt.c: Likewise.
57969         * posix/wordexp.c: Likewise.
57970         * pwd/fgetpwent_r.c: Likewise.
57971         * resolv/Versions: Likewise.
57972         * resolv/res_hconf.c: Likewise.
57973         * shadow/fgetspent_r.c: Likewise.
57974         * shadow/putspent.c: Likewise.
57975         * stdio-common/printf_fphex.c: Likewise.
57976         * stdio-common/tmpfile.c: Likewise.
57977         * stdlib/abort.c: Likewise.
57978         * stdlib/fmtmsg.c: Likewise.
57979         * sunrpc/auth_unix.c: Likewise.
57980         * sunrpc/clnt_perr.c: Likewise.
57981         * sunrpc/clnt_tcp.c: Likewise.
57982         * sunrpc/clnt_udp.c: Likewise.
57983         * sunrpc/clnt_unix.c: Likewise.
57984         * sunrpc/openchild.c: Likewise.
57985         * sunrpc/svc_simple.c: Likewise.
57986         * sunrpc/svc_tcp.c: Likewise.
57987         * sunrpc/svc_udp.c: Likewise.
57988         * sunrpc/svc_unix.c: Likewise.
57989         * sunrpc/xdr.c: Likewise.
57990         * sunrpc/xdr_array.c: Likewise.
57991         * sunrpc/xdr_rec.c: Likewise.
57992         * sunrpc/xdr_ref.c: Likewise.
57993         * sunrpc/xdr_stdio.c: Likewise.
57995 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57997         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57999 2011-07-03  Andreas Jaeger  <aj@suse.de>
58001         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58002         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58003         regenerate with gen-libm-tests.pl.
58005 2010-05-12  Petr Baudis  <pasky@suse.cz>
58007         [BZ #11589]
58008         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58009         around j0() zero points by switching to j1().
58010         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58013         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58015 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58017         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58018         instead of 0.
58019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58020         instead of 0.
58021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58022         Patch in part by Pavel Roskin <proski@gnu.org>.
58024         [BZ #13138]
58025         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58026         realloc.
58027         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58028         Free memory block if necessary.
58030         [BZ #12847]
58031         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58032         be NULL.  Don't lock in this case.
58034 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58036         * elf/elf.h (ELFOSABI_GNU): New macro.
58037         (ELFOSABI_LINUX): Define to that.
58039 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58041         * string/strncat.c (strncat): Undef the symbol in case it has been
58042         defined in bits/string.h.
58044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58046         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58048         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58049         link map.
58051 2011-08-17  Andreas Jaeger  <aj@suse.de>
58053         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58055 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58056             Ian Lance Taylor  <iant@google.com>
58058         * math/libm-test.inc (lround_test): New testcase.
58059         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58061 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58063         * Makefile: Remove support for automatic cvs check-ins.
58064         * Makerules: Likewise.
58065         * config.make.in: Likewise.
58066         * configure.in: Likewise.
58067         * intl/Makefile: Likewise.
58068         * locale/Makefile: Likewise.
58069         * po/Makefile: Likewise.
58070         * posix/Makefile: Likewise.
58071         * sysdeps/gnu/Makefile: Likewise.
58072         * sysdeps/mach/hurd/Makefile: Likewise.
58073         * sysdeps/sparc/sparc32/Makefile: Likewise.
58075         [BZ #13118]
58076         * posix/Makefile (bug-regex32-ENV): Define.
58077         Patch by John Stanley <jpsinthemix@verizon.net>.
58079         * misc/Makefile (headers): Add bits/select2.h.
58080         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58081         * misc/bits/select2.h: New file.
58082         * include/bits/select2.h: New file.
58083         * debug/Makefile (routines): Add fdelt_chk.
58084         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58085         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58086         FD_ISSET.
58087         * debug/fdelt_chk.c: New file.
58089         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58090         * wcsmbs/test-wmemcmp.c: Likewise.
58091         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58092         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58094 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58096         * string/Makefile (strop-tests): Add memcmp.
58097         * string/test-wmemcmp.c: New file.
58098         * string/test-memcmp.c: Add wmemcmp support.
58100 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58102         [BZ #13153]
58103         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58104         2011-07-19 change.
58106         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58107         garbage value in a __mach_port_mod_refs call in the cases of the
58108         task-self and thread-self ports.
58110 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58112         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58114 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58116         * elf/dl-load.c (lose): Check for non-null L.
58118 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58120         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58122         * elf/dl-libc.c (dlerror_run): Pass back error code from
58123         dl_catch_error.
58125         [BZ #13123]
58126         * elf/dl-load.c (lose): Free l_origin if it is valid.
58128         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58129         names.
58130         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58133         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58134         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58135         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58137 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58139         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58140         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58141         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58142         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58143         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58144         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58145         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58146         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58147         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58148         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58150 2011-08-15  Alan Modra  <amodra@gmail.com>
58152         [BZ #13092]
58153         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58154         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58155         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58156         ppc_mcount to static-only-routines.
58157         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58158         __mcount_internal.
58159         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58160         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58162 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58164         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58165         for finite and infinity parameters.
58167 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58170         and add nop instructions for throughput optimization.
58171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58173 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58176         aligned copy for power7 with vector-scalar instructions.
58177         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58179 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58182         AVX check.
58184 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58186         [BZ #13144]
58187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58188         last change.
58190 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58192         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58193         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58194         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58196         clock_gettime.
58198 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58200         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58201         Forgot to demangle the pointer.
58203         * sysdeps/i386/sysdep.h: Define atom_text_section.
58204         * sysdeps/x86_64/sysdep.h: Likewise.
58205         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58206         section with atom_text_section.
58207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58208         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58209         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58210         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58211         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58213         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58215         already be defined.  Change to take two parameters and don't assign
58216         result to variable.  Adjust all users.
58217         Define INTERNAL_GETTIME if not already defined.
58218         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58219         call.
58220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58221         HAVE_CLOCK_GETTIME_VSYSCALL.
58222         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58225         gettimeofday vsyscall, just use time.
58227 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58230         <errno.h>.
58232 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58234         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58235         syscall on x86-64.
58236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58237         syscall.
58238         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58240         syscall if possible.
58242 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58244         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58245         e_ident.  Don't pass to find_mapsXX.
58246         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58248 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58251         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58252         * sysdeps/x86_64/multiarch/strchr.S: Update.
58253         Check bit_slow_BSF bit.
58254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58255         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58258 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58260         [BZ #13134]
58261         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58262         before glibc 2.15.
58263         (tryshell): Define.
58264         (__spawni): Change last parameter to be flag.  Test
58265         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58266         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58267         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58268         * posix/spawni.c: Likewise.
58269         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58270         * posix/spawnp.c: Likewise.  Change normal version to use
58271         SPAWN_XFLAGS_USE_PATH.
58272         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58273         SPAWN_XFLAGS_TRY_SHELL.
58275         [BZ #13150]
58276         * posix/glob.h: Remove gcc 1.x support.
58278         [BZ #13068]
58279         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58281 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58284         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58285         strrchr-sse2-bsf
58286         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58287         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58288         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58290         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58291         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58293 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58295         * sysdeps/x86_64/wcscmp.S: New file.
58297         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58298         wcscmp-c wcscmp-sse2
58299         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58300         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58301         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58302         * wcsmbs/wcscmp.c: Allow renaming.
58304 2011-09-05  David S. Miller  <davem@davemloft.net>
58306         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58307         stack slot, rather than the struct return pointer slot.
58308         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58309         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58311         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58315         * po/ja.po: Update from translation team.
58317         [BZ #13144]
58318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58319         kernel in 64-bit binaries.
58321 2011-09-01  David S. Miller  <davem@davemloft.net>
58323         * elf/elf.h (HWCAP_SPARC_*): Move to..
58324         * sysdeps/sparc/sysdep.h: this new file and add new values.
58325         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58326         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58327         _DL_HWCAP_COUNT to 24.
58328         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58329         entries.
58330         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58331         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58332         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58334         instead of magic constants.
58335         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58337 2011-08-31  David S. Miller  <davem@davemloft.net>
58339         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58341         Reimplement to do errno handling inline.
58342         (SYSCALL_ERROR_HANDLER): New macro.
58343         (__SYSCALL_STRING): Do not do errno handling in asm.
58344         (__CLONE_SYSCALL_STRING): Delete.
58345         (__INTERNAL_SYSCALL_STRING): Delete.
58346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58347         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58348         (PSEUDO): Reimplement to do errno handling inline.
58349         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58350         (SYSCALL_ERROR_HANDLER): New macro.
58351         (__SYSCALL_STRING): Do not do errno handling in asm.
58352         (__CLONE_SYSCALL_STRING): Delete.
58353         (__INTERNAL_SYSCALL_STRING): Delete.
58354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58355         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58356         i386.
58357         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58358         (inline_syscall*): Add 'err' argument.
58359         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58360         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58361         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58362         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58364         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58365         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58367 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58369         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58371 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58373         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58374         directive.
58376 2011-08-24  David S. Miller  <davem@davemloft.net>
58378         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58380 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58382         * elf/Makefile: Add rules to build and run unload8 test.
58383         * elf/unload8.c: New file.
58384         * elf/unload8mod1.c: New file.
58385         * elf/unload8mod1x.c: New file.
58386         * elf/unload8mod2.c: New file.
58387         * elf/unload8mod3.c: New file.
58389         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58390         it wasn't used.
58392 2011-08-23  David S. Miller  <davem@davemloft.net>
58394         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58395         subtract stack bias.
58396         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58397         %sp not %fp in calculations.
58398         (_JMPBUF_UNWINDS_ADJ): Likewise.
58400         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58401         (aio_suspend): Call it to force an exception region around the
58402         AIO_MISC_WAIT() invocation.
58404 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58406         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58407         backslash.
58409 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58411         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58412         protection macro.
58413         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58414         and <dl-machine.h>.
58415         (Elf64_FuncDesc): Remove.
58417 2011-08-22  David S. Miller  <davem@davemloft.net>
58419         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58420         sigaltstack check, add missing cfi directives.
58421         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58422         missing cfi directives, and sigaltstack handling.
58424 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58426         [BZ #11724]
58427         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58428         object is seen twice.
58429         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58431         * elf/Makefile (distribute): Add tst-initorder2.c.
58432         (tests): Add tst-initorder2.
58433         (modules-names): Add tst-initorder2a tst-initorder2b
58434         tst-initorder2c tst-initorder2d.  Add rules to build them.
58435         ($(objpfx)tst-initorder2.out): New rule.
58436         * elf/tst-initorder2.c: New file.
58437         * elf/tst-initorder2.exp: New file.
58439 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58441         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58443         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58444         dependencies back to end of function.
58446         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58447         $(elfobjdir)/ld.so.
58449 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58452         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58453         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58454         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58455         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58456         of __vdso_gettimeofday.
58457         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58458         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58459         attribute_hidden.
58460         (_libc_vdso_platform_setup): Remove initialization of
58461         __vdso_gettimeofday and __vdso_time.
58463 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58465         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58466         and fgetc_unlocked.
58467         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58468         getc_unlocked.
58470         * elf/dl-open.c (add_to_global): Report additions to the global scope
58471         for LD_DEBUG=scopes.
58472         (dl_open_worker): Also print scope of newly loaded dependencies.
58473         (_dl_show_scope): Indicate if there is no scope.
58475         [BZ #13114]
58476         * stdio-common/Makefile (tests): Add bug24.
58477         * stdio-common/bug24.c: New file.
58479 2011-08-19  Andreas Jaeger  <aj@suse.de>
58481         [BZ #13114]
58482         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58483         non-existant file when using close-on-exec mode.
58485 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58488         the very first instruction.
58490         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58491         the CFI state in the end.
58492         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58493         inclusion of dl-trampoline.h.
58494         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58496 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58498         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58499         expectations for long double.
58501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58502         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58504 2011-08-14  David S. Miller  <davem@davemloft.net>
58506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58507         artificual limit depends upon the system page size.
58509 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58511         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58512         * resolv/Makefile: Define CFLAGS-libresolv.
58514 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58516         * nss/makedb.c (compute_tables): Make variables used in nested
58517         function static.
58519 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58521         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58522         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58523         if buffer was too small.
58525         * elf/pldd.c (main): Attach to all threads in the process.
58526         Rewrite /proc handling to use *at functions.
58528 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58530         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58531         specifies first scope to show.
58532         (dl_open_worker): Update callers.  Move printing scope of new
58533         object to before the relocation.
58534         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58535         * sysdeps/generic/ldsodefs.h: Update declaration.
58537         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58538         string for the scope number.
58540 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58542         * nscd/servicescache.c (cache_addserv): Make sure written is always
58543         initialized.
58545 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58547         * sysdeps/i386/i486/bits/atomic.h
58548         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58549         statement expression, so as to suppress "set but not used" warning.
58550         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58552         * string/strncat.c (STRNCAT): Use prototype definition.
58554         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58555         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58556         -Iprograms here.
58557         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58558         (localedef-modules): Add localedef.
58559         (locale-modules): Add locale.
58561         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58562         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58563         to avoid a warning.
58565 2011-08-14  David S. Miller  <davem@davemloft.net>
58567         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58568         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58570 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58572         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58573         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58574         * elf/rtld.c (dl_main): Set l_name of vDSO.
58575         Call _dl_show_scope when DL_DEBUG_SCOPES.
58576         (process_dl_debug): Recognize scopes flag and also set it for all.
58577         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58578         Declare _dl_show_scope.
58580         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58581         (do_dlopen): Pass caller_dlopen to dl_open.
58582         (__libc_dlopen_mode): Initialize caller_dlopen.
58584         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58585         of libc.  Make tolower call locale-independent.  Optimize a bit by
58586         using isdigit instead of isalnum.
58587         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58589 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58591         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58592         was a dependency or dynamically loaded.
58594 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58596         * intl/l10nflist.c: Allow architecture-specific pop function.
58597         * sysdeps/x86_64/l10nflist.c: New file.
58599         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58600         classification.
58602 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58604         * include/dirent.h: Add libc_hidden_proto for scandirat and
58605         scandirat64.  Don't declare __scandirat64.
58606         * dirent/scandirat.c: Add libc_hidden_def.
58607         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58608         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58610 2011-08-10  David S. Miller  <davem@davemloft.net>
58612         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58613         enum.
58614         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58616         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58618 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58620         * Versions.def [libc]: Add GLIBC_2.15.
58621         * dirent/Makefile (routines): Add scandirat and scandirat64.
58622         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58623         GLIBC_2.15.
58624         * dirent/dirent.h: Declare scandirat and scandirat64.
58625         * dirent/scandirat.c: New file.
58626         * dirent/scandirat64.c: New file.
58627         * sysdeps/wordsize-64/scandirat.c: New file.
58628         * sysdeps/wordsize-64/scandirat64.c: New file.
58629         * dirent/opendir.c: Define opendirat.
58630         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58631         using scandirat.
58632         * dirent/scandir64.c: Adjust for scandir.c change.
58633         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58634         __scandirat64, and __scandir_cancel_handler.
58635         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58636         additional parameter and use openat instead of open (outside of ld.so).
58637         Add new __opendir as wrapper around __opendirat.
58638         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58639         here without requiring old scandirat implementation.
58641 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58643         * dirent/scandir.c (cancel_handler): Renamed to
58644         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58645         defined.  Adjust users.
58646         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58649 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58651         * string/test-string.h (IMPL): Use __STRING to expand name and then
58652         stringify it.
58654         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58655         of cleanups.
58657 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58659         * string/Makefile: Update.
58660         (strop-tests): Append strncat.
58661         * string/test-wcscmp.c: New file.
58662         New comprehensive test for wcscmp.
58663         * string/test-strcmp.c: Update.
58664         (WIDE): New define.
58666 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58668         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58669         line.
58671 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58674         encoding to ACE if AI_IDN.
58676 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58679         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58681 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58684         Fix overflow bug in strncat.
58685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58687         * string/test-strncat.c: Update.
58688         Add new tests for checking overflow bugs.
58690 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58693         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58694         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58695         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58696         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58697         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58698         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58699         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58700         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58703         (USE_AS_STRCAT): Define.
58704         Add strcat and strncat support.
58705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58707 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58709         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58710         __n bigger than INT_MAX+1.
58711         (__strncmp_g): Likewise.
58713 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58715         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58716         * libio/stido.h: Likewise.
58718         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58719         (AF_NFC): Define.
58720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58721         (AF_NFC): Define.
58723         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58726         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58729         [BZ #13021]
58730         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58731         installed.
58733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58734         typo.
58735         (_dl_x86_64_save_sse): Likewise.
58737 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58739         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58740         OSXSAVE.
58741         (_dl_x86_64_save_sse): Likewise.
58743         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58745         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58747 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58749         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58750         change.
58751         (_dl_x86_64_save_sse): Use correct AVX check.
58753 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58756         bug in strncpy/strncat.
58757         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58759 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58761         * string/tester.c (test_strcat): Add tests for different alignments
58762         of source and destination.
58763         (test_strncat): Likewise.
58765 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58767         [BZ #12852]
58768         * posix/glob.c (glob): Check passed in values before using them in
58769         expressions to avoid some overflows.
58770         (glob_in_dir): Likewise.
58772         [BZ #13007]
58773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58774         check for AVX enablement so that we don't crash with old kernels and
58775         new hardware.
58776         * elf/tst-audit4.c: Add same checks here.
58777         * elf/tst-audit6.c: Likewise.
58779         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58781 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58783         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58785 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58787         * po/cs.po: Update from translation team.
58788         * po/bg.po: Likewise.
58790 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58792         * misc/sys/cdefs.h: Add support for const attribute.
58793         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58794         to gnu_dev_{major,minor,makedev} functions.
58796 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58798         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58800 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58802         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58803         strlen results.
58805 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58808         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58809         register in order to avoid conflicts with the soft frame pointer
58810         being held in r11 when necessary.
58811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58812         (INTERNAL_VSYSCALL_NCS): Likewise.
58814 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58816         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58817         * elf/dl-fini.c (_dl_fini): Adjust caller.
58818         * elf/dl-close.c (_dl_close_worker): Likewise.
58819         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58821 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58823         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58824         "aux_cache->nlibs < 0".
58826         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58827         in the reload-count case.
58829 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58832         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58833         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58834         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58835         * sysdeps/x86_64/multiarch/strcat.S: New file.
58836         * sysdeps/x86_64/multiarch/strncat.S: New file.
58837         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58839         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58840         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58842         (USE_AS_STRCAT): Define.
58843         Add strcat and strncat support.
58844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58845         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58846         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58847         * string/strncat.c: Update.
58848         (USE_AS_STRNCAT): Define.
58849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58850         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58851         and i7.
58852         * sysdeps/x86_64/multiarch/init-arch.h
58853         (bit_Prefer_PMINUB_for_stringop): New.
58854         (index_Prefer_PMINUB_for_stringop): Likewise.
58855         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58856         bit_Prefer_PMINUB_for_stringop.
58858 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58860         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58861         buffer64.
58862         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58863         of casting of buffer.
58864         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58865         buffer32 and buffer64.
58866         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58867         writes instead of casting of buffer.
58868         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58869         buffer32.
58870         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58871         casting of buffer.
58873 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58875         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58877 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58879         * nscd/nscd.c (termination_handler): Don't do anything for a database
58880         if it has not yet been initialized.
58882 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58884         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58886 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58888         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58890 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58892         * po/nl.po: Update from translation team.
58893         * po/sv.po: Likewise.
58895 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58897         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58898         now disallowed by GCC.
58900         * configure.in (use-default-link): Default to yes if a test -shared
58901         link meets our qualifications.
58902         * configure: Regenerated.
58904         * config.make.in (output-format): New variable.
58905         * configure.in: Check for ld --print-output-format support.
58906         * configure: Regenerated.
58907         * Makerules ($(common-objpfx)format.lds)
58908         [$(output-format) != unknown]: Just use $(output-format),
58909         instead of the linker-script munging.
58911 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58913         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58914         of $(common-objpfx)shlib.lds.
58915         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58917         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58918         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58920         * configure.in (-z relro check): Adjust test code to add a large
58921         writable data section after it.
58922         * configure: Regenerated.
58924 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58926         * configure.in (-z relro check): Fix test code to make the variable
58927         truly const.
58928         * configure: Regenerated.
58930 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58932         * nscd/nscd.h (struct traced_file): Define.
58933         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58934         elements.  Add traced_files.
58935         (inotify_fd): Declare.
58936         (register_traced_file): Declare.
58937         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58938         (inotify_fd): Export.
58939         (resolv_conf_descr): Remove.
58940         (nscd_init): Move inotify descriptor creation to main.
58941         Don't register files for notification here.
58942         (register_traced_file): New function.
58943         (invalidate_cache): Don't use reset_res to determine whether to call
58944         res_init, go through the list of registered files.
58945         (main_loop_poll): The inotify descriptors are now stored in the
58946         structures for the traced files.
58947         (main_loop_epoll): Likewise
58948         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58949         to __nss_disable_nscd.
58950         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58951         for a database anymore.  Check the records for all the registered
58952         files instead.
58953         * nss/Makefile (libnss_files-routines): Add files-init.
58954         (libnss_db-routines): Add db-init.
58955         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58956         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58957         * nss/nss_db/db-init.c: New file.
58958         * nss/nss_files/files-init.c: New file.
58959         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58960         __nss_lookup_function.
58961         (__nss_lookup_function): Call nss_load_library.
58962         (nss_load_all_libraries): New function.
58963         (__nss_disable_nscd): Take parameter with callback function for files
58964         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58965         used for the cached services.
58966         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58967         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58968         options for features to all the files in nscd.
58970         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58972 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58974         * csu/elf-init.c (__libc_csu_init): Comment typo.
58976 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58978         * po/pl.po: Update from translation team.
58979         * po/ja.po: Likewise.
58980         * po/ru.po: Likewise.
58981         * po/ko.po: Likewise.
58982         * po/fr.po: Likewise.
58984 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58986         * configure.in (.ctors/.dtors header and trailer check):
58987         Use an empirical test on a built program.
58988         * configure: Regenerated.
58990         * configure.in (-z relro check): Use an empirical test on a built DSO.
58991         Detect, but do not require, on ia64.
58992         * configure: Regenerated.
58994         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58995         Update tests that use readelf to use $READELF instead.
58996         * configure: Regenerated.
58998 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59000         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59001         if the result is not used.
59003 2011-07-05  Andreas Jaeger  <aj@suse.de>
59005         [BZ#9696]
59006         * stdlib/tst-strtod.c: Add testcase.
59008 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59010         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59011         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59012         The latter has a higher limit.  Take additional parameter to pass to
59013         the new function.
59014         (__pathconf): Pass file to __statfs_link_max.
59015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59016         __statfs_link_max.
59017         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59018         __statfs_link_max.
59020         [BZ #12868]
59021         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59023         Handle Lustre.
59024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59025         (__statfs_filesize_max): Likewise.
59026         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59028 2011-07-05  Andreas Jaeger  <aj@suse.de>
59030         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59032 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59034         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59035         `status' variable.
59036         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59037         Likewise.
59039 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59041         * Makefile (strop-tests): Add strncat.
59042         * string/test-strncat.c: New file.
59044 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59046         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59048 2011-06-21  Andreas Jaeger  <aj@suse.de>
59050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59051         Copy rule from iconvdata/Makefile.
59053 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59055         [BZ #12922]
59056         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59057         but no long options are defined, just return 'W'.
59059 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59061         [BZ #9696]
59062         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59066         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59067         netgroups to read.
59068         (innetgr): Likewise.
59070 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59072         * config.make.in (install_root): Default to $(DESTDIR).
59074 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59076         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59078 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59080         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59082         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59083         containing directory rather than embedding absolute directory names.
59085         * scripts/check-local-headers.sh: Rewritten using awk.
59086         Match by word, not by line.  Print error messages for matches.
59087         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59089         * Makerules [shlib-lds-flags empty]:
59090         ($(common-objpfx)libc_pic.opts): New target.
59091         ($(common-objpfx)libc_pic.os.clean): New target.
59092         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59094         * config.make.in (OBJCOPY): New variable.
59095         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59096         * configure: Regenerated.
59098         * config.make.in (use-default-link): New variable.
59099         * configure.in (use_default_link): Grok --with-default-link to set it.
59100         * configure: Regenerated.
59101         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59102         (shlib-lds, shlib-lds-flags): Define to empty.
59104         * Makerules (shlib-lds): New variable.
59105         (shlib-lds-flags): New variable.
59106         (build-shlib, build-moduile, build-module-asneeded): Use it.
59107         ($(common-objpfx)libc.so): Use $(shlib-lds).
59108         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59109         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59111         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59112         DT_FLAGS/DT_FLAGS_1 with zero flags.
59114         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59115         linker script munging.
59117 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59119         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59120         as 128-bit value.
59121         * crypt/sha512.c (sha512_process_block): Perform total addition using
59122         128-bit if possible.
59123         (__sha512_finish_ctx): Likewise.
59124         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59125         as 64-bit value.
59126         * crypt/sha256.c (SWAP64): Define.
59127         (sha256_process_block): Perform total addition using 64-bit if
59128         possible.
59129         (__sha256_finish_ctx): Likewise.
59131 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59133         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59135         * nscd/hstcache.c (cache_addhst): Likewise.
59136         * nscd/grpcache.c (cache_addgr): Likewise.
59137         * nscd/aicache.c (addhstaiX): Likewise
59138         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59140 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59142         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59144         * nscd/hstcache.c (cache_addhst): Likewise.
59145         * nscd/grpcache.c (cache_addgr): Likewise.
59146         * nscd/aicache.c (addhstaiX): Likewise
59148 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59150         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59151         domain only when needed.
59153 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59156         is always restored.
59158 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59160         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59161         are re-adding the entry.
59162         * nscd/servicescache.c (cache_addserv): Likewise.
59164 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59166         * sysdeps/generic/dl-irel.h: fix protection against multiple
59167         inclusions.
59168         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59170 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59172         [BZ #12935]
59173         * malloc/memusage.sh: Fix quoting in message.
59174         * debug/xtrace.sh: Likewise.
59176         * configure.in: Remove support for --experimental-malloc option, make
59177         it the default.
59178         * config.make.in: Likewise.
59179         * malloc/Makefile: Likewise.
59181 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59183         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59184         two-byte characters.
59186 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59188         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59189         AC_CACHE_CHECK invocation.
59190         * configure: Regenerated.
59192         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59194 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59196         [BZ #12350]
59197         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59198         bit from old_res_options.
59200         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59202         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59203         value type for setfct.
59205 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59208         __gettimeofday instead of gettimeofday.
59210 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59212         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59214 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59216         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59219         info.
59221 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59224         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59225         strcpy-sse2-unaligned strncpy-sse2-unaligned
59226         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59227         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59228         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59229         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59230         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59231         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59232         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59233         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59234         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59235         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59236         (STRCPY): Support SSE2 and SSSE3 versions.
59238 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59240         [BZ #12874]
59241         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59242         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59243         kernels which artificially limit size of requests.
59245 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59248         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59249         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59250         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59251         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59252         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59253         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59254         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59256         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59257         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59258         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59259         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59260         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59261         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59263         Enable unaligned load optimization for Intel Core i3, i5 and i7
59264         processors.
59265         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59266         Define.
59267         (index_Fast_Unaligned_Load): Define.
59268         (HAS_FAST_UNALIGNED_LOAD): Define.
59270 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59272         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59274 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59276         [BZ #12907]
59277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59278         until it is clear that the information is realy needed.
59279         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59281 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59288         /sys/devices/system/cpu/online if it is usable.
59290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59291         reading the information from the /proc filesystem to once a second.
59293 2011-06-21  Andreas Jaeger  <aj@suse.de>
59295         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59296         NULL after inclusion of kernel headers.
59298 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59300         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59301         calls to internal_setent.
59303         [BZ #12885]
59304         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59305         addresses using gethostbyname4_r ignore IPv4 addresses.
59307         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59308         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59310         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59312 2011-06-20  David S. Miller  <davem@davemloft.net>
59314         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59315         inclusions.
59316         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59318         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59319         (elf_irel): Use it.
59320         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59321         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59322         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59323         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59324         * sysdeps/x86_64/dl-irel.h: Likewise.
59326         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59327         * elf/dl-sym.c: Likewise.
59329 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59331         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59332         need to dereference resplen2.
59334 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59336         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59338 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59340         * Makeconfig: Define vardbdir and inst_vardbdir.
59341         * nss/Makefile: Add rules to install db-Makefile.
59343         * nss/nss_db/db-XXX.c: Cleanup.
59345         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59346         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59347         GLIBC_PRIVATE.
59348         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59349         * nss/makedb.c: Implement -g option to specify that value strings
59350         are generated and should not be added to table iterated over for
59351         get*ent calls.
59352         * nss/nss_db/db-initgroups.c: New file.
59354         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59355         interface.
59357         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59358         (internal_getgrouplist): Adjust to name change.
59359         Update use_initgroups_entry if this is not the first call.
59360         * nss/databases.def: Add initgroups entry.
59362         * nss/makedb.c (compute_tables): Check result of multiple hash table
59363         sizes to minimize maximum chain length.
59365 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59367         * Versions.def: Add entry for libnss_db.
59368         * shlib-versions: Likewise.
59369         * nss/Makefile: Add rules to build libnss_db.
59370         * nss/Versions: Add libnss_db information.  Organize libnss_files
59371         entries better.
59372         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59373         makedb progra.  Some minor improvements to generate smaller files.
59374         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59375         here from...
59376         * nss/makedb.c: ...here.
59377         Improve database format to be smaller and require less memory at
59378         runtime.
59379         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59380         db anymore.
59381         * nss/nss_db/db-netgrp.c: Likewise.
59382         * nss/nss_db/db-open.c: Likewise.
59383         * nss/nss_files/flies-XXX.x: Adjust comments.
59384         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59385         * nss/nss_files/files-grp.c: Likewise.
59386         * nss/nss_files/files-hosts.c: Likewise.
59387         * nss/nss_files/files-network.c: Likewise.
59388         * nss/nss_files/files-proto.c: Likewise.
59389         * nss/nss_files/files-pwd.c: Likewise.
59390         * nss/nss_files/files-rpc.c: Likewise.
59391         * nss/nss_files/files-service.c: Likewise.
59392         * nss/nss_files/files-sgrp.c: Likewise.
59393         * nss/nss_files/files-spwd.c: Likewise.
59394         * nss/nss_db/db-alias.c: Removed.
59395         * nss/nss_db/dummy-db.h: Removed.
59397 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59399         * nss/makedb.c: Rewritten to not use database library.
59400         * nss/Makefile: Update to build new makedb program.
59402 2011-06-14  Andreas Jaeger  <aj@suse.de>
59404         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59405         memset declaration.
59407 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59410         tmpbuf.
59412 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59414         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59415         * elf/Makefile ($(objpfx)ld.so): Likewise.
59417         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59418         Don't list ld.so twice in dependencies.
59420         * posix/bug-regex31.c: Include <stdlib.h>.
59422         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59424         * nis/nss_compat/compat-spwd.c
59425         (getspent_next_nss_netgr): Remove unused variable.
59426         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59428         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59429         nonmembers" output to use the right array.
59431         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59433         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59435         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59436         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59437         * catgets/gencat.c (read_input_file): Likewise.
59438         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59440         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59441         variable definition inside #if's controlling its use.
59443         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59445         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59447         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59449         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59450         unreachable code.
59452         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59454         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59455         * configure: Regenerated.
59457         * Makerules: Revert last change.
59458         * elf/Makefile: Likewise.
59460 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59462         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59463         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59464         (reloc-link): Likewise.
59466 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59468         * elf/Makefile: Add rules to build pldd.
59469         * elf/pldd.c: New file.
59470         * elf/pldd-xx.c: New file.
59472 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59474         * version.h: Update for 2.15 development version.
59476 2011-06-07  David S. Miller  <davem@davemloft.net>
59478         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59479         ifuncs.
59480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59481         elf_machine_lazy_rel): Likewise.
59482         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59484         elf_machine_lazy_rel): Likewise.
59485         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59486         dl_hwcap via passed in argument.
59487         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59488         Likewise.
59490 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59492         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59494 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59496         [BZ #12849]
59497         * manual/fdl-1.1.texi: New file, verbatim from:
59498         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59499         * manual/lgpl-2.1.texi: New file, verbatim from:
59500         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59501         * manual/Makefile (licenses): New variable, list those new file names.
59502         (texis): Use it.
59503         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59505         * manual/fdl.texi: File removed.
59506         * manual/lesser.texi: File removed.
59507         * manual/libc.texinfo (Copying, Documentation License):
59508         Use new @include file names, put @appendix directive before @include.
59510 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59512         [BZ #12841]
59513         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59514         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59515         (mq_open): Add __NTH.
59517 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59520         Assume Intel Core i3/i5/i7 processor if AVX is available.
59522 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59525         typo.
59527 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59529         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59530         memory.  Use alloca_account.  Fix memory leak when retrying.
59532 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59534         * version.h (RELEASE): Bump for 2.14 release.
59535         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59537         * config.make.in (RANLIB): Remove entry.
59539 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59541         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59542         (libc.pot): Work around missing support for .ksh extension in xgettext.
59544         [BZ #12684]
59545         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59546         if both request failed.
59547         (send_dg): In case of server errors clear resplen or *resplen2.
59549         [BZ #12454]
59550         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59551         when there are multiple maps.
59552         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59553         (_dl_fini): Remove test here.
59555         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59557 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59559         [BZ #12350]
59560         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59561         bit from old_res_options.
59562         (gaih_inet): Likewise.
59564         [BZ #11099]
59565         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59566         as signed.
59568         * resolv/res_init.c (res_setoptions): Make the code more compact.
59570         [BZ #11558]
59571         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59572         set RES_USEVC.
59574         [BZ #11634]
59575         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59577         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59579         [BZ #11781]
59580         * malloc/malloc.h: Declare malloc hook variables as volatile.
59582         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59583         in last patch.
59585         [BZ #11799]
59586         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59587         raise in the comment.
59588         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59590         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59592 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59594         [BZ #12811]
59595         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59596         grow the buffers more if it already has to be sufficient.
59597         (build_wcs_upper_buffer): Likewise.
59598         * posix/regexec.c (check_matching): Likewise.
59599         (clean_state_log_if_needed): Likewise.
59600         (extend_buffers): Don't enlarge buffers beyond size of the input
59601         buffer.
59602         Patches mostly by Emil Wojak <emil@wojak.eu>.
59603         * posix/bug-regex32.c: New file.
59604         * posix/Makefile (tests): Add bug-regex32.
59606         * locale/findlocale.c (_nl_find_locale): Return right away if
59607         _nl_explode_name failed.
59608         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59610         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59612         * debug/xtrace.sh: Unify messages.
59613         * malloc/memusage.sh: Likewise.
59615         [BZ #12813]
59616         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59617         time symbol from vDSO.  Substitute with vsyscall if not available.
59618         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59619         __vdso_time.
59621         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59622         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59623         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59624         Add sendmmsg and internal_sendmmsg.
59625         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59626         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59627         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59629         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59630         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59633 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59635         [BZ #12813]
59636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59637         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59638         available.
59639         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59640         __vdso_getcpu.
59642         [BZ #12814]
59643         * iconvdata/Makefile (tests): Add bug-iconv9.
59644         * iconvdata/bug-iconv9.c: New file.
59646 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59648         [BZ #12814]
59649         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59651 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59653         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59654         (struct user_regs_struct): Change intcs field back to cs.
59656 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59658         * po/ja.po: Update from translation team.
59660 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59662         [BZ #12795]
59663         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59666 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59668         * stdlib/longlong.h: Update from GCC.
59670 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59672         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59673         parameter name.
59674         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59675         Add parameter name.
59676         (__sysconf): Pass it down.
59678 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59680         [BZ #12671]
59681         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59682         some situations.
59683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59684         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59685         add in in __libc_use_alloca calls.  Adjust callers.
59686         (glob): Use malloc in some situations.
59688         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59689         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59690         pltexit.
59692 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59694         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59695         and CLOCK_BOOTTIME_ALARM.
59697         [BZ #12782]
59698         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59699         is returned.
59701         * string/_strerror.c (__strerror_r): Print negative errors as signed
59702         numbers.
59704         [BZ #12777]
59705         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59706         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59707         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59709         * configure.in: Fix typo in redirection and correct removal of test
59710         files in two cases.
59712         [BZ #12788]
59713         * locale/setlocale.c (new_composite_name): Fix test to check for
59714         identical name of all categories.
59716         [BZ #12792]
59717         * libio/filedoalloc.c (local_isatty): New function.
59718         (_IO_file_doallocate): Use local_isatty.
59719         * stdio-common/perror.c (perror): In case a new stream is used
59720         forward the stream error.
59721         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59722         error flag.
59724 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59726         [BZ #11869]
59727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59728         alloca.
59729         * include/alloca.h (extend_alloca_account): Define.
59731         [BZ #11857]
59732         * posix/regex.h: Fix comments with documentation of user-accessible
59733         fields after compilation and describe correct free'ing of pattern
59734         after re_compile_pattern.
59735         Patch by Reuben Thomas <rrt@sc3d.org>.
59737 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59739         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59740         and -mno-altivec to prevent the compiler from using Altivec and/or
59741         VSX instructions when the corresponding registers are not available.
59743 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59745         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59747 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59749         * libio/freopen.c (freopen): Use __dup2, not dup2.
59750         * libio/freopen64.c (freopen64): Likewise.
59752 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59754         [BZ #12775]
59755         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59756         * math/Makefile (tests): Add test-powl.
59757         (CFLAGS-test-powl.c): Define.
59758         * math/test-powl.c: New file.
59760 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59762         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59764 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59766         [BZ #11837]
59767         * iconvdata/gb18030.c: Update to GB18020-2005.
59769 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59771         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59772         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59773         Patch by Aharon Robbins <arnold@skeeve.com>.
59775         [BZ #11892]
59776         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59777         on the stack.
59779         [BZ #11895]
59780         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59781         through underflows.
59783         [BZ #12766]
59784         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59785         point to strings before performing equality test for error_one_per_line
59786         mode.
59788         [BZ #11697]
59789         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59791         [BZ #11820]
59792         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59793         (struct user_fpregs_struct): Avoid __uint*_t types.
59795         [BZ #6420]
59796         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59797         symbol info.  Use it instead of calling _dl_addr locally.
59798         (lock_and_info): New function.
59799         (tr_freehook): Call lock_and_info and pass symbol info as additional
59800         parameter to tr_where.
59801         (tr_mallochook): Likewise.
59802         (tr_reallochook): Likewise.
59803         (tr_memalignhook): Likewise.
59805         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59806         used and couldn't be at all thread-safe.
59808 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59810         * libio/freopen.c (freopen): Don't close old file descriptor
59811         before the new one is opened.  Instead dup the new file descriptor
59812         to the old one after the new stream is created.
59813         * libio/freopen64.c (freopen64): Likewise.
59814         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59815         * libio/fileops.c (_IO_new_file_close_it): Handle new
59816         _IO_FLAGS2_NOCLOSE flag.
59817         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59818         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59819         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59820         _IO_FLAGS2_NOCLOSE flag.
59821         * include/unistd.h: Add hidden_proto for dup3.
59822         Define __have_dup3.
59823         * io/dup3.c: Define hidden symbol.
59824         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59826         [BZ #7101]
59827         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59828         when an incomplete long option is used.
59829         * posix/tst-getopt_long1.c: New file.
59830         * posix/Makefile (tests): Add tst-getopt_long1.
59832         [BZ #10138]
59833         * scripts/config.guess: Update from autoconf-2.68.
59834         * scripts/config.sub: Likewise.
59836         [BZ #10157]
59837         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59838         tests into ...
59839         (has_cpuclock): ...this.  New function.
59840         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59841         macro here based on has_cpuclock code.
59843         [BZ #10149]
59844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59845         First byte (not low byte) is now always NUL.
59846         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59849         Use non-cancelable interfaces.
59851         [BZ #9809]
59852         * locale/iso-639.def: Add entry for Sorani.
59854         [BZ #11901]
59855         * include/stdlib.h: Move include protection to the right place.
59856         Define abort_msg_s.  Declare __abort_msg with it.
59857         * stdlib/abort.c (__abort_msg): Adjust type.
59858         * assert/assert.c (__assert_fail_base): New function.  Majority
59859         of code from __assert_fail.  Allocate memory for __abort_msg with
59860         mmap.
59861         (__assert_fail): Now call __assert_fail_base.
59862         * assert/assert-perr.c: Remove bulk of implementation.  Use
59863         __assert_fail_base.
59864         * include/assert.hL Declare __assert_fail_base.
59865         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59866         mmap.
59867         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59869 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59871         [BZ #11952]
59872         [BZ #12453]
59873         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59874         until all modules are registered in the DTV.
59875         * elf/Makefile: Add rules to build and run tst-tls19.
59876         * elf/tst-tls19.c: New file.
59877         * elf/tst-tls19mod1.c: New file.
59878         * elf/tst-tls19mod2.c: New file.
59879         * elf/tst-tls19mod3.c: New file.
59880         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59882         [BZ #12083]
59883         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59884         correctly.
59886         [BZ #12601]
59887         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59888         two-byte sequence errors.
59889         * iconvdata/Makefile (tests): Add bug-iconv8.
59890         * iconvdata/bug-iconv8.c: New file.
59892         [BZ #12626]
59893         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59894         buf2 definition.
59896         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59898         [BZ #12432]
59899         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59900         (dummy_getcfa): New function.
59901         (init): Get _Unwind_GetCFA address, use dummy if not found.
59902         (backtrace_helper): In recursion check, also check whether CFA changes.
59903         (__backtrace): Completely initialize arg.
59905         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59906         storing incomplete byte sequence in state object.  Avoid testing for
59907         guaranteed too small input if we know there is enough data available.
59909 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59911         * Makeconfig (+link-pie): Indent.
59912         * Rules (binaries-pie): Define if $(have-fpie) and
59913         $(build-shared).
59914         (binaries-shared): Also filter out $(binaries-pie).
59915         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59916         * nscd/Makefile (others-pie): Add nscd.
59917         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59918         ($(objpfx)nscd): Remove command override.
59919         * login/Makefile (others-pie): Add pt_chown.
59920         ($(objpfx)pt_chown): Remove command override.
59921         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59922         remove command overrides.
59924 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59926         * libio/tst_putwc.c: Fix error messages.
59928         [BZ #12724]
59929         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59930         currently writing and seek to current position when not.
59931         * libio/Makefile (tests): Add bug-fclose1.
59932         * libio/bug-fclose1.c: New file.
59934 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59936         [BZ #12511]
59937         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59938         don't set DF_1_NODELETE here.
59939         (do_lookup_x): When entering new entry test for copy relocation
59940         and if necessary set DF_1_NODELETE flag.
59941         * elf/tst-unique4.cc: New file.
59942         * elf/tst-unique4.h: New file.
59943         * elf/tst-unique4lib.cc: New file.
59944         * elf/Makefile: Add rules to build and run tst-unique4.
59945         Patch by Piotr Bury <pbury@goahead.com>.
59947 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59949         [BZ #12052]
59950         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59952         [BZ #12625]
59953         * misc/mntent_r.c (addmntent): Flush the stream after the output
59955         [BZ #12393]
59956         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59957         (is_trusted_path_normalize): Skip initial colon.  Append slash
59958         to empty buffer.  Duplicate is_trusted_path code but allow
59959         constructed patch to be prefix.
59960         (is_dst): Allow $ORIGIN followed by /.
59961         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59962         Correct testing of result of is_trusted_path_normalize
59963         (decompose_rpath): Fix warning.
59965 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59967         [BZ #11257]
59968         * grp/initgroups.c (internal_getgrouplist): When we found the service
59969         list through the initgroups entry in nsswitch.conf do not always
59970         continue on a successful lookup.  Don't always use the
59971         __nss_group_database value if it is set.
59972         * nss/nsswitch.conf (initgroups): Change action for successful db
59973         lookup to continue for compatibility.
59975 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59977         [BZ #11532]
59978         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59979         and CP774 modules.
59980         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59981         and CP774 modules.
59982         * iconvdata/tst-tables.sh: Likewise.
59983         * iconvdata/cp770.c: New file.
59984         * iconvdata/cp771.c: New file.
59985         * iconvdata/cp772.c: New file.
59986         * iconvdata/cp773.c: New file.
59987         * iconvdata/cp774.c: New file.
59988         * iconvdata/testdata/CP770: New file.
59989         * iconvdata/testdata/CP770..UTF8: New file.
59990         * iconvdata/testdata/CP771: New file.
59991         * iconvdata/testdata/CP771..UTF8: New file.
59992         * iconvdata/testdata/CP772: New file.
59993         * iconvdata/testdata/CP772..UTF8: New file.
59994         * iconvdata/testdata/CP773: New file.
59995         * iconvdata/testdata/CP773..UTF8: New file.
59996         * iconvdata/testdata/CP774: New file.
59997         * iconvdata/testdata/CP774..UTF8: New file.
59999         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60000         END CHARMAP line.
60001         * iconvdata/gen-8bit-gap.sh: Likewise.
60002         * iconvdata/gen-8bit.sh: Likewise.
60004         * locale/iso-639.def: Add ary entry.
60006         [BZ #11258]
60007         * locale/C-translit.h.in: Add U20A1 transliteration.
60009         [BZ #12178]
60010         * locale/iso-639.def: Add wae entry.
60011         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60013         [BZ #12545]
60014         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60015         for n.
60017         [BZ #12711]
60018         * locale/C-translit.h.in: Add entry for U20B9.
60019         Patch by pravin.d.s@gmail.com.
60021 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60023         [BZ #12713]
60024         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60025         ENAMETOOLONG use generic getcwd.
60026         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60027         in rtld.  Use *stat64.
60028         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60029         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60030         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60031         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60032         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60033         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60034         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60035         __fstatat64 macros.
60036         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60037         * dirent/rewinddir.c: Add libc_hidden_def.
60038         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60039         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60041         * include/dirent.h (__alloc_dir): Add flags parameter.
60042         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60043         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60044         __alloc_dir.
60045         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60046         from fdopendir if O_CLOEXEC is already set.
60048 2011-03-15  Alan Modra  <amodra@gmail.com>
60050         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60051         l_tls_firstbyte_offset non-zero.  Save padding offset in
60052         l_tls_firstbyte_offset for later use.
60053         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60054         freeing static tls block.
60056 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60058         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60059         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60060         being defined by the kernel headers.
60062 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60064         [BZ #12734]
60065         * resolv/resolv.h: Define RES_NOTLDQUERY.
60066         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60067         no-tld-query and set RES_NOTLDQUERY.
60068         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60069         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60070         modern BIND to search name as TLD unless forbidden.
60072 2011-05-07  Petr Baudis  <pasky@suse.cz>
60073             Ulrich Drepper  <drepper@gmail.com>
60075         [BZ #12393]
60076         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60077         (is_trusted_path): ...to here.
60078         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60079         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60080         using is_trusted_path_normalize() in setuid scripts.
60082 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60084         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60085         __BEGIN/__END_DECLS.
60087 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60089         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60090         NSS_STATUS_NOTFOUND if no record was found.
60092 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60094         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60095         (headers-not-in-tirpc): Remove rpc/netdb.h
60096         * resolv/netdb.h: Revert last change.
60098 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60100         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60101         circular dependency between libgcc.a and libc.a.
60103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60105         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60106         * nis/Makefile: Don't install rpcsvc/*.
60107         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60108         instead of <rpc/types.h>.
60109         (MAXHOSTNAMELEN): Define.
60111 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60113         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60115 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60117         [BZ #12714]
60118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60119         gethostbyname4_r when IPv6 results are possible.
60121 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60123         [BZ #12723]
60124         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60125         _PC_PIPE_BUF handling.
60127 2011-04-30  Bruno Haible  <bruno@clisp.org>
60129         [BZ #12717]
60130         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60131         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60132         to 'int'.
60133         * inet/getnameinfo.c (getnameinfo): Likewise.
60135 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60137         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60138         to groups setting in database lookup.
60139         * nss/nsswitch.conf: Add initgroups entry.
60141 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60143         [BZ #12685]
60144         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60145         mode string.
60146         Patch by Eric Blake <eblake@redhat.com>.
60148 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60150         * sunrpc/Makefile (need-export-routines): Add svc_run.
60151         (routines): Remove svc_run.
60152         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60153         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60154         * sunrpc/svc_run.c (svc_run): Likewise.
60155         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60157 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60160         problem in reallocation in last patch.
60162 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60164         * sunrpc/Makefile: Move inclusion of Rules.
60166 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60168         * nss/nss_files/files-initgroups.c: New file.
60169         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60170         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60171         _nss_files_initgroups_dyn.
60173 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60175         * elf/elf.h (R_ARM_IRELATIVE): Define.
60177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60179         * po/ru.po: Update from translation team.
60181 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60183         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60184         dependencies.
60186 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60188         [BZ #12653]
60189         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60190         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60191         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60192         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60195 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60197         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60198         differing bytes.
60199         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60201         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60203 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60205         [BZ #12420]
60206         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60207         storing it.
60208         * stdlib/bug-getcontext.c: New file.
60209         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60211 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60213         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60214         instructions into .machine "z9-109".
60215         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60216         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60218 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60220         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60221         between environment variables and auxiliary vector.
60223 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60225         * Makefile: Add rules to build linkobj/libc.so.
60226         * include/libc-symbols.h: Define libc_hidden_nolink.
60227         * include/rpc/auth.h: Mark functions which are to be hidden.
60228         * include/rpc/auth_des.h: Likewise.
60229         * include/rpc/auth_unix.h: Likewise.
60230         * include/rpc/clnt.h: Likewise.
60231         * include/rpc/des_crypt.h: Likewise.
60232         * include/rpc/key_prot.h: Likewise.
60233         * include/rpc/pmap_clnt.h: Likewise.
60234         * include/rpc/pmap_prot.h: Likewise.
60235         * include/rpc/pmap_rmt.h: Likewise.
60236         * include/rpc/rpc_msg.h: Likewise.
60237         * include/rpc/svc.h: Likewise.
60238         * include/rpc/svc_auth.h: Likewise.
60239         * include/rpc/xdr.h: Likewise.
60240         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60241         * nss/Makefile: Likewise.
60242         * sunrpc/Makefile: Don't install headers.  Build library with normal
60243         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60244         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60245         for the compat linking library.  Remove use of INTDEF/INTUSE.
60246         * sunrpc/auth_none.c: Likewise.
60247         * sunrpc/auth_unix.c: Likewise.
60248         * sunrpc/authdes_prot.c: Likewise.
60249         * sunrpc/authuxprot.c: Likewise.
60250         * sunrpc/clnt_gen.c: Likewise.
60251         * sunrpc/clnt_perr.c: Likewise.
60252         * sunrpc/clnt_raw.c: Likewise.
60253         * sunrpc/clnt_simp.c: Likewise.
60254         * sunrpc/clnt_tcp.c: Likewise.
60255         * sunrpc/clnt_udp.c: Likewise.
60256         * sunrpc/clnt_unix.c: Likewise.
60257         * sunrpc/des_crypt.c: Likewise.
60258         * sunrpc/des_soft.c: Likewise.
60259         * sunrpc/get_myaddr.c: Likewise.
60260         * sunrpc/key_call.c: Likewise.
60261         * sunrpc/key_prot.c: Likewise.
60262         * sunrpc/netname.c: Likewise.
60263         * sunrpc/pm_getmaps.c: Likewise.
60264         * sunrpc/pm_getport.c: Likewise.
60265         * sunrpc/pmap_clnt.c: Likewise.
60266         * sunrpc/pmap_prot.c: Likewise.
60267         * sunrpc/pmap_prot2.c: Likewise.
60268         * sunrpc/pmap_rmt.c: Likewise.
60269         * sunrpc/publickey.c: Likewise.
60270         * sunrpc/rpc_cmsg.c: Likewise.
60271         * sunrpc/rpc_common.c: Likewise.
60272         * sunrpc/rpc_dtable.c: Likewise.
60273         * sunrpc/rpc_prot.c: Likewise.
60274         * sunrpc/rpc_thread.c: Likewise.
60275         * sunrpc/rtime.c: Likewise.
60276         * sunrpc/svc.c: Likewise.
60277         * sunrpc/svc_auth.c: Likewise.
60278         * sunrpc/svc_authux.c: Likewise.
60279         * sunrpc/svc_raw.c: Likewise.
60280         * sunrpc/svc_run.c: Likewise.
60281         * sunrpc/svc_simple.c: Likewise.
60282         * sunrpc/svc_tcp.c: Likewise.
60283         * sunrpc/svc_udp.c: Likewise.
60284         * sunrpc/svc_unix.c: Likewise.
60285         * sunrpc/svcauth_des.c: Likewise.
60286         * sunrpc/xcrypt.c: Likewise.
60287         * sunrpc/xdr.c: Likewise.
60288         * sunrpc/xdr_array.c: Likewise.
60289         * sunrpc/xdr_float.c: Likewise.
60290         * sunrpc/xdr_intXX_t.c: Likewise.
60291         * sunrpc/xdr_mem.c: Likewise.
60292         * sunrpc/xdr_rec.c: Likewise.
60293         * sunrpc/xdr_ref.c: Likewise.
60294         * sunrpc/xdr_sizeof.c: Likewise.
60295         * sunrpc/xdr_stdio.c: Likewise.
60297 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60299         [BZ #12650]
60300         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60301         * sysdeps/ia64/dl-tls.h: Likewise.
60302         * sysdeps/powerpc/dl-tls.h: Likewise.
60303         * sysdeps/s390/dl-tls.h: Likewise.
60304         * sysdeps/sh/dl-tls.h: Likewise.
60305         * sysdeps/sparc/dl-tls.h: Likewise.
60306         * sysdeps/x86_64/dl-tls.h: Likewise.
60307         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60309 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60311         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60312         rpath element also skip the following colon.
60313         (expand_dynamic_string_token): Add is_path parameter and pass
60314         down to DL_DST_REQUIRED and _dl_dst_substitute.
60315         (decompose_rpath): Call expand_dynamic_string_token with
60316         non-zero is_path.  Ignore empty rpaths.
60317         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60318         with zero is_path.
60320 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60323         Make cancelable.
60325 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60327         [BZ #12655]
60328         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60329         Patch by Filipe David Manana <fdmanana@apache.org>.
60331 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60334         Maintain aligned stack.
60335         (CHECK_RSP): Remove unused macro.
60337 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60339         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60340         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60342 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60344         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60346         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60348 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60350         [BZ #12518]
60351         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60352         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60353         * sysdeps/x86_64/memmove.c: New file.
60354         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60355         (memcpy): Renamed to ...
60356         (__new_memcpy): This.
60357         (memcpy): Provide GLIBC_2_14 memcpy.
60358         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60359         (memcpy): Provide GLIBC_2_2_5 memcpy.
60361 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60363         [BZ #12631]
60364         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60366 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60368         * misc/syncfs.c: New file.
60369         * misc/Makefile (routines): Add syncfs.
60370         * posix/unistd.h: Declare syncfs.
60371         * sysdeps/unix/syscalls.list: Add syncfs.
60373 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60375         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60376         open_by_handle_at.
60377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60382         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60383         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60385 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60387         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60388         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60393         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60395         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60396         sync_file_range.c with -fexceptions.
60397         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60398         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60399         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60400         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60401         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60402         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60404         sync_file_range as cancellation point
60405         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60406         now a wrapper around __call_sync_file_range with cancellation handling.
60407         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60408         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60409         function name to __call_sync_file_range.
60410         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60411         Add call_sync_file_range.
60413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60416         bits/timex.h.
60418 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60420         * iconv/iconv.h: Fix typo in comment.
60421         * io/fcntl.h: Likewise.
60422         * libio/stdio.h: Likewise.
60423         * posix/spawn.h: Likewise.
60424         * posix/unistd.h: Likewise.
60425         * stdlib/stdlib.h: Likewise.
60426         * time/time.h: Likewise.
60427         * wcsmbs/wchar.h: Likewise.
60429         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60430         open_by_handle): Add.
60431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60432         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60433         Augment a few comments.
60434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60439         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60440         open_by_handle.
60442         * io/fcntl.h (AT_EMPTY_PATH): Define.
60444 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60446         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60447         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60448         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60449         to...
60450         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60451         * Versions.def: Add GLIBC_2.14.
60452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60453         Export.
60455 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60457         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60458         round counter.
60459         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60461 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60463         [BZ #12597]
60464         * string/test-strncmp.c (do_page_test): New function.
60465         (check2): Likewise.
60466         (test_main): Call check2.
60467         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60469 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60471         [BZ #12587]
60472         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60473         Handle cache information in CPU leaf 4.
60474         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60476 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60478         [BZ #12583]
60479         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60480         character representation.
60481         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60483 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60485         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60486         END(__isnan) to END(__isnanf) to match function entry point/label
60487         EALIGN(__isnanf,...).
60489 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60491         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60493 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60495         [BZ #12510]
60496         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60497         copy from the symbol referenced in the relocation to initialize the
60498         used variable.
60499         Patch by Piotr Bury <pbury@goahead.com>.
60500         * elf/Makefile: Add rules to build and tst-unique3.
60501         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60502         * elf/tst-unique3.cc: New file.
60503         * elf/tst-unique3.h: New file.
60504         * elf/tst-unique3lib.cc: New file.
60505         * elf/tst-unique3lib2.cc: New file.
60507         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60509 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60511         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60512         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60513         to _start.
60515 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60517         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60518         to-be-loaded object along a path to loader is ld.so.
60520 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60521             Ulrich Drepper  <drepper@gmail.com>
60523         * sysdeps/x86_64/memset.S: After aligning destination, code
60524         branches to different locations depending on the value of
60525         misalignment, when multiarch is enabled. Fix this.
60527 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60529         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60530         Set _x86_64_preferred_memory_instruction for AMD processsors.
60531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60532         Set bit_Prefer_SSE_for_memop for AMD processors.
60534 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60536         * libio/fmemopen.c (fmemopen): Optimize a bit.
60538 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60540         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60542 2011-03-03  Roland McGrath  <roland@redhat.com>
60544         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60546 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60548         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60549         __bzero_ultra1 instead of __memset_ultra1.
60551 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60552             Ulrich Drepper  <drepper@gmail.com>
60554         [BZ #12509]
60555         * include/link.h (struct link_map): Add l_orig_initfini.
60556         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60557         returning unsuccessfully.
60558         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60559         close of a file loaded at startup, restore the original l_initfini
60560         list.
60561         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60562         list, store the pointer.
60563         * elf/Makefile ($(objpfx)noload-mem): New rule.
60564         (noload-ENV): Define.
60565         (tests): Add $(objpfx)noload-mem.
60566         * elf/noload.c: Include <memcheck.h>.
60567         (main): Call mtrace.  Close all opened handles.
60569 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60571         [BZ #12454]
60572         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60573         dependencies are missing.
60575 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60577         Fix __if_freereq crash: Unlike the generic version which uses free,
60578         Hurd needs munmap.
60579         * sysdeps/mach/hurd/ifreq.h: New file.
60581 2011-01-27  Petr Baudis  <pasky@suse.cz>
60582             Ulrich Drepper  <drepper@gmail.com>
60584         [BZ 12445]#
60585         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60586         to extend_alloca().
60587         * stdio-common/bug23.c: New file.
60588         * stdio-common/Makefile (tests): Add bug23.
60590 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60591             Ulrich Drepper  <drepper@gmail.com>
60593         [BZ #12489]
60594         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60595         before performing relro protection.  At old place add assertion
60596         to make sure nothing changed.
60598 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60599             Glauber de Oliveira Costa  <glommer@gmail.com>
60601         * elf/elf.h: Add new ARM TLS relocs.
60603 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60606         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60607         cast from r3.
60608         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60609         'tests' variable.
60610         * sysdeps/wordsize-64/tst-writev.c: New file.
60612 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60614         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60615         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60616         insns in _dl_start to prevent a TOC reference before relocs are
60617         resolved.
60619 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60621         [BZ #12469]
60622         * Makeconfig: Remove RANLIB definition.
60623         * Makerules: Don't use RANLIB.
60624         * aclocal.m4: Remove ranlib test.
60625         * configure.in: No need to check for ranlib.
60626         * elf/rtld-Rules: Don't use RANLIB.
60628 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60630         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60631         protection macro.
60632         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60633         inclusion protection macro.
60635         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60636         SIGRTMIN and SIGRTMAX and print information in that case only when
60637         SIGRTMIN is defined.
60639 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60641         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60642         arginfo fn returning -1.
60644         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60645         and thousands string is zero terminated.
60647 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60650         sysdeps/unix/sysv/linux/bits/socket.h.
60652 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60654         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60655         (__CPU_COUNT): Remove old macros.
60656         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60657         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60658         (__CPU_ALLOC, __CPU_FREE): Add macros.
60659         (__sched_cpualloc, __sched_cpufree): Add declarations.
60661 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60663         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60664         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60665         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60666         (readdhstai): Return value of addhstaiX call.
60667         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60668         (addgrbyX): Return value returned by cache_addgr.
60669         (readdgrbyname): Return value returned by addgrbyX.
60670         (readdgrbygid): Likewise.
60671         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60672         (addpwbyX): Return value returned by cache_addpw.
60673         (readdpwbyname): Return value returned by addhstbyX.
60674         (readdpwbyuid): Likewise.
60675         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60676         (addservbyX): Return value returned by cache_addserv.
60677         (readdservbyname): Return value returned by addservbyX:
60678         (readdservbyport): Likewise.
60679         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60680         (addhstbyX): Return value returned by cache_addhst.
60681         (readdhstbyname): Return value returned by addhstbyX.
60682         (readdhstbyaddr): Likewise.
60683         (readdhstbynamev6): Likewise.
60684         (readdhstbyaddrv6): Likewise.
60685         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60686         (readdinitgroups): Return value returned by addinitgroupsX.
60687         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60688         (prune_cache): Keep track of timeout value of re-added entries.
60689         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60690         * nscd/nscd.h: Adjust prototypes of readd* functions.
60692 2011-02-04  Roland McGrath  <roland@redhat.com>
60694         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60695         (nis_stats): Likewise.
60696         * nis/nis_modify.c (nis_modify): Likewise.
60697         * nis/nis_remove.c (nis_remove): Likewise.
60698         * nis/nis_add.c (nis_add): Likewise.
60700         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60702         * posix/fnmatch_loop.c: Add some consts.
60704         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60706 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60708         [BZ #12460]
60709         * config.make.in (config-cflags-novzeroupper): Define.
60710         * configure.in: Substitute libc_cv_cc_novzeroupper.
60711         * elf/Makefile (AVX-CFLAGS): Define.
60712         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60713         (CFLAGS-tst-auditmod4a.c): Likewise.
60714         (CFLAGS-tst-auditmod4b.c): Likewise.
60715         (CFLAGS-tst-auditmod6b.c): Likewise.
60716         (CFLAGS-tst-auditmod6c.c): Likewise.
60717         (CFLAGS-tst-auditmod7b.c): Likewise.
60718         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60720 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60722         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60723         function to the callback.
60724         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60726 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60728         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60729         of errno.
60731 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60733         [BZ #11724]
60734         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60735         of constructors.
60736         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60737         of destructors.
60738         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60740         [BZ #11724]
60741         * elf/Makefile: Add rules to build and run new test.
60742         * elf/tst-initorder.c: New file.
60743         * elf/tst-initorder.exp: New file.
60744         * elf/tst-initordera1.c: New file.
60745         * elf/tst-initordera2.c: New file.
60746         * elf/tst-initordera3.c: New file.
60747         * elf/tst-initordera4.c: New file.
60748         * elf/tst-initorderb1.c: New file.
60749         * elf/tst-initorderb2.c: New file.
60750         * elf/tst-order-a1.c: New file.
60751         * elf/tst-order-a2.c: New file.
60752         * elf/tst-order-a3.c: New file.
60753         * elf/tst-order-a4.c: New file.
60754         * elf/tst-order-b1.c: New file.
60755         * elf/tst-order-b2.c: New file.
60756         * elf/tst-order-main.c: New file.
60757         New test case by George Gensure <werkt0@gmail.com>.
60759 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60762         decoding ACE if AI_CANONIDN.
60764 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60766         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60768 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60770         * version.h (RELEASE): Bump for 2.13 release.
60771         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60773         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60775         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60776         MADV_NOHUGEPAGE.
60777         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60778         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60780         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60784         * posix/getconf.c: Update copyright year.
60785         * catgets/gencat.c: Likewise.
60786         * csu/version.c: Likewise.
60787         * debug/catchsegv.sh: Likewise.
60788         * debug/xtrace.sh: Likewise.
60789         * elf/ldconfig.c: Likewise.
60790         * elf/ldd.bash.in: Likewise.
60791         * elf/sprof.c (print_version): Likewise.
60792         * iconv/iconv_prog.c: Likewise.
60793         * iconv/iconvconfig.c: Likewise.
60794         * locale/programs/locale.c: Likewise.
60795         * locale/programs/localedef.c: Likewise.
60796         * malloc/memusage.sh: Likewise.
60797         * malloc/mtrace.pl: Likewise.
60798         * nscd/nscd.c (print_version): Likewise.
60799         * nss/getent.c: Likewise.
60801         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60802         PF_CAIF, and PF_ALG.
60803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60805 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60807         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60808         (modules-names): Use them.
60809         (ifunc-test-modules, ifunc-pie-tests): Define.
60810         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60811         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60812         (test-extras): Likewise.
60813         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60814         $(compile-command.c).
60815         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60816         (all-built-dso): Define.
60817         (check-textrel.out, check-execstack.out): Depend on it.
60819         * configure.in: Don't override --enable-multi-arch.
60821 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60823         [BZ #6812]
60824         * nscd/hstcache.c (tryagain): Define.
60825         (cache_addhst): Return tryagain not notfound for temporary errors.
60826         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60827         failed.
60829 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60831         [BZ #10563]
60832         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60833         to make the syscall.
60834         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60836         [BZ #12378]
60837         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60838         and fall back to matching as normal character if the string ends before
60839         the matching ']' is found.  This is what POSIX requires.
60840         * posix/testfnm.c: Adjust test result.
60841         * posix/globtest.sh: Adjust test result.  Add new test.
60842         * posix/tst-fnmatch.input: Likewise.
60843         * posix/tst-fnmatch2.c: Add new test.
60845 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60847         * elf/Makefile (check-execstack): Revert last change.  Depend on
60848         check-execstack.h.
60849         (check-execstack.h): New target.
60850         (generated): Add check-execstack.h.
60851         * elf/check-execstack.c: Include "check-execstack.h".
60852         (main): Revert last change.
60853         (handle_file): Return zero if GNU_STACK is absent and
60854         DEFAULT_STACK_PERMS doesn't include PF_X.
60856 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60858         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60859         in child fails because the descriptor is already closed.
60860         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60861         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60862         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60864         [BZ #12397]
60865         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60866         syscall.
60868         [BZ #10484]
60869         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60870         temporary buffer used to handle multi lookups locally.
60871         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60873 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60875         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60876         loader is ld.so.
60878 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60880         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60881         alignment for SSE2.
60883 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60885         [BZ #12394]
60886         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60887         characters.  When rounding increased number of integer digits recompute
60888         number of groups.
60889         * stdio-common/tst-grouping.c: New file.
60890         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60892 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60894         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60895         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60897         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60898         void.
60899         * bits/select.h: Likewise.
60901 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60903         * po/ja.po: Update from translation team.
60905 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60907         [BZ #11155]
60908         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60909         implementation just like for lxstat, fxstatat, et al.
60911 2010-12-27  Jim Meyering  <meyering@redhat.com>
60913         [BZ #12348]
60914         * posix/regexec.c (build_trtable): Return failure indication upon
60915         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60917 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60919         [BZ #12201]
60920         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60921         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60925         [BZ #12207]
60926         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60928         [BZ #12204]
60929         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60930         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60932 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60934         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60935         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60936         script has SORT_BY_INIT_PRIORITY.
60937         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60938         NO_CTORS_DTORS_SECTIONS is defined.
60939         * elf/soinit.c: Likewise.
60940         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60941         NO_CTORS_DTORS_SECTIONS is defined.
60942         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60943         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60944         * sysdeps/sh/init-first.c: Likewise.
60945         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60947 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60949         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60950         always use the slow path.
60952 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60954         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60955         similar rule which adds the sysdep directories to the header search in
60956         order to pick up the correct platform stackinfo.h.
60957         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60958         perform test if it is, otherwise return successfully without testing.
60959         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60960         DEFAULT_STACK_PERMS define in stackinfo.h.
60961         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60962         defined in stackinfo.h.
60963         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60964         DEFAULT_STACK_PERMS defined in stackinfo.h.
60965         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60966         * sysdeps/ia64/stackinfo.h: Likewise.
60967         * sysdeps/s390/stackinfo.h: Likewise.
60968         * sysdeps/sh/stackinfo.h: Likewise.
60969         * sysdeps/sparc/stackinfo.h: Likewise.
60970         * sysdeps/x86_64/stackinfo.h: Likewise.
60971         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60972         PF_X for powerpc64.  Retain PF_X for powerpc32.
60974 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60976         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60977         accurately.
60978         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60979         GETDENTS_64BIT_ALIGNED.
60981 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60983         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60985 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60987         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60988         _GNU_SOURCE.
60990         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60991         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60992         Remove __restrict.
60993         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60994         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60996 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60998         [BZ #11655]
60999         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61000         are initialized.
61002 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61004         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61006 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61008         * po/it.po: Update from translation team.
61010 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61013         unused codes.
61015 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61017         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61019 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61021         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61022         specially.
61023         (gaih_getanswer_slice): Likewise.
61025 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61029 2010-05-31  Petr Baudis  <pasky@suse.cz>
61031         [BZ #11149]
61032         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61033         silently even in the chroot mode.
61035 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61037         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61038         last patch a bit.  Pretty printing
61040 2010-05-31  Petr Baudis <pasky@suse.cz>
61042         [BZ #10085]
61043         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61044         initialization of skip_initgroups_dyn.
61046 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61048         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61051 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61053         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61055 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61057         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61058         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61059         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61060         ($(objpfx)tst-fnmatch-mem): New rule.
61061         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61062         * posix/tst-fnmatch.c (main): Call mtrace.
61064 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61067         Support Intel processor model 6 and model 0x2c.
61069 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61071         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61072           signed comparison.
61074 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61076         [BZ #12205]
61077         * string/test-strncasecmp.c (check_result): New function.
61078         (do_one_test): Use it.
61079         (check1): New function.
61080         (test_main): Use it.
61081         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61082         Support strcasecmp and strncasecmp.
61084 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61086         [BZ #12194]
61087         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61088         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61090 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61092         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61093         IFUNC support.
61094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61095         memset-x86-64.
61096         * sysdeps/x86_64/multiarch/bzero.S: New file.
61097         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61098         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61099         * sysdeps/x86_64/multiarch/memset.S: New file.
61100         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61102         Set bit_Prefer_SSE_for_memop for Intel processors.
61103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61104         Define.
61105         (index_Prefer_SSE_for_memop): Define.
61106         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61108 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61110         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61111         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61113 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61115         [BZ #12191]
61116         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61117         (__x86_64_raw_data_cache_size_half): Likewise.
61118         (__x86_64_raw_shared_cache_size): Likewise.
61119         (__x86_64_raw_shared_cache_size_half): Likewise.
61121         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61122         (__x86_64_raw_data_cache_size_half): Likewise.
61123         (__x86_64_raw_shared_cache_size): Likewise.
61124         (__x86_64_raw_shared_cache_size_half): Likewise.
61125         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61126         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61127         and __x86_64_raw_shared_cache_size_half.  Round
61128         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61129         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61130         to multiple of 256 bytes.
61132 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61134         [BZ #12167]
61135         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61136         of inacessible symlinks.  Verify result of symlink before returning it.
61137         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61138         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61140 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61142         * math/math.h (isinf): Fix typo in comment.
61144 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61146         * po/da.po: Update from translation team.
61148 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61150         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61151         is added to the list.
61153 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61154             Ulrich Drepper  <drepper@gmail.com>
61156         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61157         the global list here.  Move code to...
61158         (_dl_add_to_namespace_list): ...here.  New function.
61159         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61160         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61161         * elf/dl-load.c (lose): Don't remove the element from the list.
61162         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61163         (_dl_map_object): Likewise.
61165 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61167         [BZ #12159]
61168         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61169         into all bytes of SSE register.
61170         Patch by Richard Li <richardpku@gmail.com>.
61172 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61174         [BZ #12140]
61175         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61176         perturbing.
61178 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61180         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61181         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61182         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61183         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61185         submachine.
61186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61188 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61190         * include/dlfcn.h (__RTLD_SECURE): Define.
61191         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61192         mode & __RTLD_SECURE instead.
61193         (open_path): Rename preloaded parameter to secure.
61194         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61195         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61196         * elf/dl-deps.c (openaux): Likewise.
61197         * elf/rtld.c (struct map_args): Remove is_preloaded.
61198         (map_doit): Don't use it.
61199         (dl_main): Likewise.
61200         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61201         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61203 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61205         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61206         (sysd-rules-targets): Remove duplicates.
61207         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61208         rtld-%.$o dependency.
61210 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61212         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61213         _dl_map_object do it.
61215 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61217         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61218         fast fma builtins, define the macros in the C99 standard.
61219         (FP_FAST_FMAF): Likewise.
61220         (FP_FAST_FMAL): Likewise.
61221         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61223         * bits/mathdef.h: Update copyright year.
61224         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61226 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61228         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61229         builtins, define the macros in the C99 standard.
61230         (FP_FAST_FMAF): Likewise.
61231         (FP_FAST_FMAL): Likewise.
61232         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61233         multiply/add.
61234         (FP_FAST_FMAF): Likewise.
61236 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61238         [BZ #3268]
61239         * math/libm-test.inc (fma_test): Some new testcases.
61240         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61242         y and infinite z.  Do multiplication by C already in long double.
61243         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61245         y and infinite z.  Do bitwise or of inexact bit into u.d.
61246         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61247         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61248         * sysdeps/i386/fpu/s_fma.S: Removed.
61249         * sysdeps/i386/fpu/s_fmal.S: Removed.
61251 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61253         [BZ #3268]
61254         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61256         computation is not scheduled after fetestexcept.  Fix value
61257         of minimum denormal long double.
61259 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61261         [BZ #3268]
61262         * math/libm-test.inc (fma_test): Add some more tests.
61263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61264         correctly.
61266 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61268         * scripts/data/localplt-s390-linux-gnu.data: New file.
61269         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61271 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61273         [BZ #3268]
61274         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61275         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61276         instead of dbl-64.
61277         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61278         inlines.
61279         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61281         if one of x and y is very large and the other is subnormal.
61282         * sysdeps/s390/fpu/s_fmaf.c: New file.
61283         * sysdeps/s390/fpu/s_fma.c: New file.
61284         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61285         * sysdeps/powerpc/fpu/s_fma.S: New file.
61286         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61287         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61288         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61290 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61292         [BZ #3268]
61293         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61294         fma tests.
61295         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61296         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61297         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61298         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61299         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61300         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61301         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61303 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61305         [BZ #12078]
61306         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61307         * posix/bug-regex31.input: Add test case.
61309 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61311         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61312         * posix/bug-regex31.input: New file.
61314         [BZ #12078]
61315         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61316         (parse_sub_exp): Fix last change, use postorder.
61318         * posix/bug-regex31.c: New file.
61319         * posix/Makefile: Add rules to build and run bug-regex31.
61321         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61323         [BZ #12078]
61324         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61326         [BZ #12108]
61327         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61328         to have entries in sys_siglist.
61330         [BZ #12093]
61331         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61332         be NULL.
61334 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61336         [BZ #3268]
61337         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61338         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61339         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61340         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61341         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61342         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61343         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61344         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61345         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61346         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61347         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61348         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61349         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61350         * math/ftestexcept.c (fetestexcept): Likewise.
61351         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61352         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61353         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61354         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61355         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61356         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61357         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61359 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #12107]
61362         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61363         newline.
61365 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61367         * string/bug-strstr1.c: New file.
61368         * string/Makefile: Add rules to build and run bug-strstr1.
61370 2010-10-05  Eric Blake  <eblake@redhat.com>
61372         [BZ #12092]
61373         * string/str-two-way.h (two_way_long_needle): Always clear memory
61374         when skipping input due to the shift table.
61376 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61378         [BZ #12005]
61379         * malloc/mcheck.c: Handle large requests.
61381         [BZ #12077]
61382         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61383         for strncmp and strncasecmp.
61384         * string/stratcliff.c: Add tests for strcmp and strncmp.
61385         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61387 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61389         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61390         __set_fpscr.
61392 2010-09-30  Andreas Jaeger  <aj@suse.de>
61394         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61395         (CGROUP_SUPER_MAGIC): Define.
61396         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61397         Handle btrfs and cgroup file systems.
61398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61399         Likewise.
61401 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61403         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61404         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61406 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61408         [BZ #12067]
61409         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61410         trying to locate the ELF header.
61412 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61414         [BZ #11611]
61415         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61416         Mask out sign-bit copies when constructing f_fsid.
61418 2010-09-24  Petr Baudis <pasky@suse.cz>
61420         * debug/stack_chk_fail_local.c: Add missing licence exception.
61421         * debug/warning-nop.c: Likewise.
61423 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61425         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61426         implementing getdents64 using getdents syscall, set d_type if
61427         __ASSUME_GETDENTS32_D_TYPE.
61429 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61431         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61432         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61434 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61436         [BZ #12037]
61437         * posix/unistd.h: Undo change of feature selection for ftruncate from
61438         2010-01-11.
61440 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61442         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61443         detection.
61445 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61447         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61448         fanotify_mark.
61449         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61451 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61453         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61454         variables after CHECK_SP call.
61455         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61457 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61458             Ulrich Drepper  <drepper@redhat.com>
61460         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61461         re-relocationg ld.so.
61462         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61463         _dl_init_paths call.
61464         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61465         here anymore.
61467 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61469         * resolv/res_init.c (__res_vinit): Count the default server we added.
61471 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61472             Ulrich Drepper  <drepper@redhat.com>
61474         [BZ #11968]
61475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61476         (____longjmp_chk): Use %ebx for saving value across system call.
61477         Add unwind info.
61479 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61481         * manual/Makefile: Don't mix pattern rules with normal rules.
61483 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61485         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61486         operation.
61487         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61488         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61489         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61490         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61492         Likewise.
61494 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61496         [BZ #11979]
61497         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61498         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61500 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61502         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61503         * sysdeps/x86_64/addmul_1.S: Likewise.
61504         * sysdeps/x86_64/lshift.S: Likewise.
61505         * sysdeps/x86_64/mul_1.S: Likewise.
61506         * sysdeps/x86_64/rshift.S: Likewise.
61507         * sysdeps/x86_64/sub_n.S: Likewise.
61508         * sysdeps/x86_64/submul_1.S: Likewise.
61510 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61512         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61513         Define __sched_param instead of SCHED_* and sched_param when
61514         <bits/sched.h> is included with __need_schedparam defined.
61515         * bits/sched.h [__need_schedparam]
61516         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61517         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61518         (__defined_schedparam): Define to 1.
61519         (__sched_param): New structure, identical to sched_param.
61520         (__need_schedparam): Undefine.
61522 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61525         (epoll_create1): Declare.
61527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61529 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61531         [BZ #7066]
61532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61533         shifting retval into place.
61535 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61537         * nis/rpcsvc/nis.h: Update copyright notice.
61538         * nis/rpcsvc/nis.x: Likewise.
61539         * nis/rpcsvc/nis_callback.h: Likewise.
61540         * nis/rpcsvc/nis_callback.x: Likewise.
61541         * nis/rpcsvc/nis_object.x: Likewise.
61542         * nis/rpcsvc/nis_tags.h: Likewise.
61543         * nis/rpcsvc/yp.h: Likewise.
61544         * nis/rpcsvc/yp.x: Likewise.
61545         * nis/rpcsvc/ypupd.h: Likewise.
61546         * nis/yp_xdr.c: Likewise.
61547         * nis/ypupdate_xdr.c: Likewise.
61549         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61550         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61551         (pmap_getport): Use __libc_rpc_getport.
61552         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61553         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61554         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61556 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61559         fanotify_mark.
61561 2010-08-27  Roland McGrath  <roland@redhat.com>
61563         * sysdeps/i386/i686/multiarch/Makefile
61564         (CFLAGS-varshift.c): New variable.
61566 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61568         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61569         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61573         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61575 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61577         * sysdeps/x86_64/strlen.S: Unroll the loop.
61578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61579         strlen-sse2 strlen-sse2-bsf.
61580         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61581         __strlen_no_bsf if bit_Slow_BSF is set.
61582         (__strlen_sse42): Removed.
61583         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61584         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61586 2010-08-25  Roland McGrath  <roland@redhat.com>
61588         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61589         * sysdeps/x86_64/multiarch/varshift.c: New file.
61590         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61591         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61592         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61593         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61595 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61598         strlen-sse2 strlen-sse2-bsf.
61599         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61600         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61601         (__strlen_sse2): Removed.
61602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61605         bit_Slow_BSF for Atom.
61606         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61607         (index_Slow_BSF): Define.
61608         (HAS_SLOW_BSF): Define.
61610 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61612         [BZ #10851]
61613         * resolv/res_init.c (__res_vinit): When no server address at all
61614         is given default to loopback.
61616 2010-08-24  Roland McGrath  <roland@redhat.com>
61618         * configure.in: Remove config-name.h generation.
61619         * configure: Regenerated.
61620         * config-name.in: File removed.
61621         * scripts/config-uname.sh: New file.
61622         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61623         ($(objdir)config-name.h): New target.
61625         * sunrpc/rpc_parse.h: Avoid nested comment.
61627 2010-08-24  Richard Henderson  <rth@redhat.com>
61628             Ulrich Drepper  <drepper@redhat.com>
61629             H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61633         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61634         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61635         _mm_alignr_epi8 with _mm_loadu_si128.
61636         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61637         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61638         (__m128i_shift_right): Removed.
61639         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61640         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61641         * sysdeps/x86_64/multiarch/varshift.h: New file.
61642         * sysdeps/x86_64/multiarch/varshift.S: New file.
61644 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61646         * configure.in: Move assembler checks to before sysdep dir checking.
61648 2010-08-20  Petr Baudis  <pasky@suse.cz>
61650         * LICENSES: Sync the sunrpc license.
61652 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61654         * sunrpc/auth_des.c: Update copyright notice once again.
61655         * sunrpc/auth_none.c: Likewise.
61656         * sunrpc/auth_unix.c: Likewise.
61657         * sunrpc/authdes_prot.c: Likewise.
61658         * sunrpc/authuxprot.c: Likewise.
61659         * sunrpc/bindrsvprt.c: Likewise.
61660         * sunrpc/clnt_gen.c: Likewise.
61661         * sunrpc/clnt_perr.c: Likewise.
61662         * sunrpc/clnt_raw.c: Likewise.
61663         * sunrpc/clnt_simp.c: Likewise.
61664         * sunrpc/clnt_tcp.c: Likewise.
61665         * sunrpc/clnt_udp.c: Likewise.
61666         * sunrpc/clnt_unix.c: Likewise.
61667         * sunrpc/des_crypt.c: Likewise.
61668         * sunrpc/des_soft.c: Likewise.
61669         * sunrpc/get_myaddr.c: Likewise.
61670         * sunrpc/getrpcport.c: Likewise.
61671         * sunrpc/key_call.c: Likewise.
61672         * sunrpc/key_prot.c: Likewise.
61673         * sunrpc/openchild.c: Likewise.
61674         * sunrpc/pm_getmaps.c: Likewise.
61675         * sunrpc/pm_getport.c: Likewise.
61676         * sunrpc/pmap_clnt.c: Likewise.
61677         * sunrpc/pmap_prot.c: Likewise.
61678         * sunrpc/pmap_prot2.c: Likewise.
61679         * sunrpc/pmap_rmt.c: Likewise.
61680         * sunrpc/rpc/auth.h: Likewise.
61681         * sunrpc/rpc/auth_unix.h: Likewise.
61682         * sunrpc/rpc/clnt.h: Likewise.
61683         * sunrpc/rpc/des_crypt.h: Likewise.
61684         * sunrpc/rpc/key_prot.h: Likewise.
61685         * sunrpc/rpc/netdb.h: Likewise.
61686         * sunrpc/rpc/pmap_clnt.h: Likewise.
61687         * sunrpc/rpc/pmap_prot.h: Likewise.
61688         * sunrpc/rpc/pmap_rmt.h: Likewise.
61689         * sunrpc/rpc/rpc.h: Likewise.
61690         * sunrpc/rpc/rpc_des.h: Likewise.
61691         * sunrpc/rpc/rpc_msg.h: Likewise.
61692         * sunrpc/rpc/svc.h: Likewise.
61693         * sunrpc/rpc/svc_auth.h: Likewise.
61694         * sunrpc/rpc/types.h: Likewise.
61695         * sunrpc/rpc/xdr.h: Likewise.
61696         * sunrpc/rpc_clntout.c: Likewise.
61697         * sunrpc/rpc_cmsg.c: Likewise.
61698         * sunrpc/rpc_common.c: Likewise.
61699         * sunrpc/rpc_cout.c: Likewise.
61700         * sunrpc/rpc_dtable.c: Likewise.
61701         * sunrpc/rpc_hout.c: Likewise.
61702         * sunrpc/rpc_main.c: Likewise.
61703         * sunrpc/rpc_parse.c: Likewise.
61704         * sunrpc/rpc_parse.h: Likewise.
61705         * sunrpc/rpc_prot.c: Likewise.
61706         * sunrpc/rpc_sample.c: Likewise.
61707         * sunrpc/rpc_scan.c: Likewise.
61708         * sunrpc/rpc_scan.h: Likewise.
61709         * sunrpc/rpc_svcout.c: Likewise.
61710         * sunrpc/rpc_tblout.c: Likewise.
61711         * sunrpc/rpc_util.c: Likewise.
61712         * sunrpc/rpc_util.h: Likewise.
61713         * sunrpc/rpcinfo.c: Likewise.
61714         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61715         * sunrpc/rpcsvc/key_prot.x: Likewise.
61716         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61717         * sunrpc/rpcsvc/mount.x: Likewise.
61718         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61719         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61720         * sunrpc/rpcsvc/rex.x: Likewise.
61721         * sunrpc/rpcsvc/rstat.x: Likewise.
61722         * sunrpc/rpcsvc/rusers.x: Likewise.
61723         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61724         * sunrpc/rpcsvc/spray.x: Likewise.
61725         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61726         * sunrpc/rtime.c: Likewise.
61727         * sunrpc/svc.c: Likewise.
61728         * sunrpc/svc_auth.c: Likewise.
61729         * sunrpc/svc_authux.c: Likewise.
61730         * sunrpc/svc_raw.c: Likewise.
61731         * sunrpc/svc_run.c: Likewise.
61732         * sunrpc/svc_simple.c: Likewise.
61733         * sunrpc/svc_tcp.c: Likewise.
61734         * sunrpc/svc_udp.c: Likewise.
61735         * sunrpc/svc_unix.c: Likewise.
61736         * sunrpc/svcauth_des.c: Likewise.
61737         * sunrpc/xcrypt.c: Likewise.
61738         * sunrpc/xdr.c: Likewise.
61739         * sunrpc/xdr_array.c: Likewise.
61740         * sunrpc/xdr_float.c: Likewise.
61741         * sunrpc/xdr_mem.c: Likewise.
61742         * sunrpc/xdr_rec.c: Likewise.
61743         * sunrpc/xdr_ref.c: Likewise.
61744         * sunrpc/xdr_sizeof.c: Likewise.
61745         * sunrpc/xdr_stdio.c: Likewise.
61747         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61748         handling.
61750 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61752         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61754 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61756         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61757         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61758         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61759         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61760         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61761         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61763         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61765         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61766         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61767         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61768         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61771 2010-07-26  Anton Blanchard  <anton@samba.org>
61773         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61774         * malloc/arena.c (heap_trim): Likewise.
61776 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61778         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61779         here.  Not...
61780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61781         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61783 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61785         * sysdeps/i386/elf/Makefile: New file.
61787 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61789         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61790         from fanotify_init.
61791         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61792         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61794 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61796         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61797         of strncasecmp_l.
61798         * sysdeps/multiarch/strcmp.S: Likewise.
61800 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61802         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61803         strncase_l-nonascii.
61804         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61805         Add strncase_l-ssse3.
61806         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61807         * sysdeps/x86_64/strcmp.S: Likewise.
61808         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61809         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61810         * sysdeps/x86_64/strncase.S: New file.
61811         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61812         * sysdeps/x86_64/strncase_l.S: New file.
61813         * string/Makefile (strop-tests): Add strncasecmp.
61814         * string/test-strncasecmp.c: New file.
61816         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61817         warning.
61819         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61820         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61822 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61824         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61826 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61828         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61830         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61832 2010-05-01  Alan Modra  <amodra@gmail.com>
61834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61835         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61836         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61837         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61838         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61839         tidying.  Don't tail-call __sigjmp_save for static lib.
61840         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61841         save location.
61842         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61843         (CALL_MCOUNT): Add eh info, and nop after bl.
61844         (TAIL_CALL_SYSCALL_ERROR): New macro.
61845         (PSEUDO_RET): Use it.
61846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61847         Correct save location of integer regs and cr.
61848         (_dl_profile_resolve): Correct cr save location.  Delete nops
61849         after bl when SHARED.  Reduce cfi size a little by better
61850         placement of cfi directives.
61851         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61852         make a stack frame.  Instead use parm save area as a temp.
61853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61854         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61856         Don't make a stack frame for parent, use parm save area.
61857         Increase child stack frame to 112 bytes.  Don't save unused reg,
61858         and adjust reg usage.  Set up cfi on error recovery and
61859         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61861         (__makecontext): Add dummy nop after jump to exit.
61862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61863         Use correct parm save area and cr save, reduce stack frame.
61864         Correct cfi for possible PSEUDO_RET frame setup.
61865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61866         Branch to local label emitted by PSEUDO_RET rather than
61867         __syscall_error.
61869 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61871         [BZ #11904]
61872         * locale/programs/locale.c (print_assignment): New function.
61873         (show_locale_vars): Use it.
61875 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61877         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61878         field.
61879         (struct statfs64): Likewise.
61880         (_STATFS_F_FLAGS): Define.
61881         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61882         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61883         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61884         (ST_VALID): Define locally.
61885         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61886         __statvfs_getflags, use the provided value.
61887         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61888         __ASSUME_STATFS_F_FLAGS.
61890         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61892         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61893         Add sys/fanotify.h.
61894         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61895         fanotify_mask for GLIBC_2.13.
61896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61897         fanotify_init and fanotify_mark.
61898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61899         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61901         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61902         Add prlimit.
61903         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61904         prlimit64 for GLIBC_2.13.
61905         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61906         prlimit64.
61907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61908         syscall.
61909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61911         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61912         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61914         add prlimit alias.
61915         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61917         [BZ #11903]
61918         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61919         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61921         * nss/Makefile: Add rules to build and run tst-nss-test1.
61922         * shlib-versions: Add entry for libnss_test1.
61923         * nss/nss_test1.c: New file.
61924         * nss/tst-nss-test1.c: New file.
61926         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61927         (__nss_configure_lookup): Set appropriate entry in
61928         __nss_configure_lookup to true.
61929         * nss/nsswitch.h: Define enum with indeces of databases in
61930         databases and __nss_database_custom arrays.  Declare
61931         __nss_database_custom.
61932         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61933         to avoid using nscd when custom rules are installed.
61934         * nss/getXXbyYY_r.c: Likewise.
61935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61937         * nss/nss_files/files-parse.c: Whitespace fixes.
61939 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61941         [BZ #11883]
61942         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61943         * posix/fnmatch_loop.c: Likewise.
61945 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61947         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61948         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61949         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61950         * Versions.def [GLIBC_2.13]: Add.
61952 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61954         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61955         Also fail if tpwd after pwuid call is NULL.
61957 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61959         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61960         when converting to ms.
61962 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61964         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61965         EOPNOTSUPP errors with ENOTTY.
61966         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61967         EOPNOTSUPP errors with ENOTTY.
61969 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61971         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61972         Add strcasecmp_l-ssse3.
61973         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61974         strcasecmp.
61975         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61976         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61977         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61979 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61981         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61983         * string/Makefile (strop-tests): Add strcasecmp.
61984         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61985         strcasecmp_l-nonascii.
61986         (gen-as-const-headers): Add locale-defines.sym.
61987         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61988         * sysdeps/x86_64/strcasecmp.S: New file.
61989         * sysdeps/x86_64/strcasecmp_l.S: New file.
61990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61991         * sysdeps/x86_64/locale-defines.sym: New file.
61992         * string/test-strcasecmp.c: New file.
61994         * string/test-strcasestr.c: Test both ends of the range of characters.
61995         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61997 2010-07-29  Roland McGrath  <roland@redhat.com>
61999         [BZ #11856]
62000         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62002 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62004         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62005         for ld.so.
62007 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62009         * manual/memory.texi (Malloc Tunable Parameters): Document
62010         M_PERTURB.
62012 2010-07-26  Roland McGrath  <roland@redhat.com>
62014         [BZ #11840]
62015         * configure.in (-fgnu89-inline check): Set and substitute
62016         gnu89_inline, not libc_cv_gnu89_inline.
62017         * configure: Regenerated.
62018         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62020 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62022         * string/test-strnlen.c: New file.
62023         * string/Makefile (strop-tests): Add strnlen.
62024         * string/tester.c (test_strnlen): Add a few more test cases.
62025         * string/tst-strlen.c: Better error reporting.
62027         * sysdeps/x86_64/strnlen.S: New file.
62029 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62032         lower-latency instructions.
62034 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62036         * string/test-strcasestr.c: New file.
62037         * string/test-strstr.c: New file.
62038         * string/Makefile (strop-tests): Add strstr and strcasestr.
62039         * string/str-two-way.h: Don't undefine MAX.
62040         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62042 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62045         strcasestr-nonascii.
62046         (CFLAGS-strcasestr-nonascii.c): Define.
62047         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62049         Remove unused attribute.
62051 2010-07-20  Roland McGrath  <roland@redhat.com>
62053         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62054         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62055         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62056         like LD_HWCAP_MASK can disable hwcaps.
62058 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62060         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62062 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62064         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62065         call in strcasestr.
62066         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62067         __strcasestr_sse42_nonascii.
62068         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62069         strcasestr-nonascii.c.
62070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62072 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62075         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62077         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62079 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62082         fcntl.
62084 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62086         [BZ #11577]
62087         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62088         dl_signal_cerror.
62090 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62093         _PC_PIPE_BUF using F_GETPIPE_SZ.
62095 2010-07-05  Roland McGrath  <roland@redhat.com>
62097         * manual/arith.texi (Rounding Functions): Fix rint description
62098         implicit in round description.
62100 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62102         * elf/Makefile: Fix linking for a few tests to make recent linker
62103         happy.
62105 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62107         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62108         $(common-objpfx)libc_nonshared.a.
62110 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62112         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62113         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62114         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62115         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62116         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62117         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62118         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62119         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62134         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62135         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62136         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62137         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62138         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62139         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62140         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62141         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62142         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62143         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62144         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62145         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62161 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62163         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62164         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62165         * string/memmove.c (memmove): Renamed to ...
62166         (MEMMOVE): ...this.  Default to memmove.
62167         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62168         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62169         (END_CHK): Define.
62170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62171         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62172         mempcpy-ssse3-back memmove-ssse3-back.
62173         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62174         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62176         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62177         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62178         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62179         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62180         * sysdeps/x86_64/multiarch/memmove.c: New file.
62181         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62182         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62183         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62184         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62187         Define.
62188         (index_Fast_Copy_Backward): Define.
62189         (HAS_ARCH_FEATURE): Define.
62190         (HAS_FAST_REP_STRING): Define.
62191         (HAS_FAST_COPY_BACKWARD): Define.
62193 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62195         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62196         Restore proper fallback handling.
62198 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62200         [BZ #11701]
62201         * posix/group_member.c (__group_member): Correct checking loop.
62203         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62204         OOM in getpwuid_r correctly.  Return error number when the caller
62205         should return, otherwise -1.
62206         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62207         call returning > 0 value.
62208         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62210 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62212         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62213         libc_nonshared.a from targets in modules-names.
62215 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62217         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62218         requires it.
62220 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62222         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62223         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62227 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62229         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62231 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62233         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62234         and F_GETPIPE_SZ.
62235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62236         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62242 2010-06-14  Roland McGrath  <roland@redhat.com>
62244         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62246 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62248         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62249         __REDIRECT followed by __THROW.
62250         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62251         * posix/getopt.h (getopt): Likewise.
62253 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62255         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62256         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62257         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62258         in AT_FLAGS.
62259         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62260         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62262 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62266 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62268         [BZ #11640]
62269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62270         Properly check family and model.
62272 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62274         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62276 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62278         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62280 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62282         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62283         symbol reference.
62285 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62287         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62288         symbol reference.
62290 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62292         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62293         and internal_recvmmsg.
62294         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62295         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62296         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62297         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62299         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62300         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62301         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62303 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62305         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62307 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62309         POWER7 optimizations.
62310         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62311         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62313 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62315         * version.h: Update for 2.13 development version.
62317 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62319         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62320         exceptions.  Return 0.
62322 2010-05-07  Roland McGrath  <roland@redhat.com>
62324         * elf/ldconfig.c (main): Add a const.
62326 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62328         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62329         (args_options): Add no-idn option.
62330         (ahosts_keys_int): Add idn_flags to ai_flags.
62331         (parse_option): Handle 'i' option to clear idn_flags.
62333         * malloc/malloc.c (_int_free): Possible race in the most recently
62334         added check.  Only act on the data if no current modification
62335         happened.
62337 See ChangeLog.17 for earlier changes.