m68k: update libm test ULPs
[glibc.git] / ChangeLog
blob8a2d7a71911089abafed852097f94d727bef906f
1 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7         [BZ #18696]
8         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9         si_addr_bnd.
10         (si_lower): New.
11         (si_upper): Likewise.
13 2015-07-16  David S. Miller  <davem@davemloft.net>
15         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20         buffer.
21         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22         fail output information.
24 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27         and strstr-ppc64..
28         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
36         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
37         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
38         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
39         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
41 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
43         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
44         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
45         rtld_hidden_proto.
46         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
48 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50         * tst-nodelete-opened.c (do_test): Add comment to clarify how
51         the test can fail.
53         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
55         [BZ #18676]
56         * elf/tst-nodelete-opened.c: New test case.
57         * elf/tst-nodelete-opened-lib.c: New test case module.
58         * elf/Makefile (tests, modules-names): Use them.
59         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
60         early.
62 2015-07-15  David S. Miller  <davem@davemloft.net>
64         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
65         futex-intenal.h
66         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
67         * sysdeps/sparc/sparc64/Makefile: Likewise.
68         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
69         Remove space from macro define.
70         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
72 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
74         [BZ #17475]
75         * locale/iso-639.def: Update Bhili and Tulu language codes as
76         per iso639-3.
78 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
80         * elf/tst-leaks1.c (main): Converted to ...
81         (do_test): ... this.
82         (TEST_FUNCTION): New macro.
83         Include test-skeleton.c.
84         * localedata/tst-langinfo.c (main): Converted to ...
85         (do_test): ... this.
86         (TEST_FUNCTION): New macro.
87         Include test-skeleton.c.
88         * math/test-fpucw.c (main): Converted to ...
89         (do_test): ... this.
90         (TEST_FUNCTION): New macro.
91         Include test-skeleton.c.
92         * math/test-tgmath.c (main): Converted to ...
93         (do_test): ... this.
94         (TEST_FUNCTION): New macro.
95         Include test-skeleton.c.
96         * math/test-tgmath2.c (main): Converted to ...
97         (do_test): ... this.
98         (TEST_FUNCTION): New macro.
99         Include test-skeleton.c.
100         * setjmp/tst-setjmp.c (main): Converted to ...
101         (do_test): ... this.
102         (TEST_FUNCTION): New macro.
103         Include test-skeleton.c.
104         * stdio-common/tst-sscanf.c (main): Converted to ...
105         (do_test): ... this.
106         (TEST_FUNCTION): New macro.
107         Include test-skeleton.c.
108         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
109         (do_test): ... this.
110         (TEST_FUNCTION): New macro.
111         Include test-skeleton.c.
113         * elf/tst-audit9.c (main): Converted to ...
114         (do_test): ... this.
115         (TEST_FUNCTION): New macro.
116         Include test-skeleton.c.
118 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
120         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
122 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
124         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
125         New variable.
127 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
129         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
131 2015-07-14  Roland McGrath  <roland@hack.frob.com>
133         * sysdeps/generic/dl-fileid.h: New file.
134         * sysdeps/posix/dl-fileid.h: New file.
135         * sysdeps/nacl/dl-fileid.h: New file.
136         * include/link.h: Include <dl-fileid.h>.
137         (struct link_map): Replace l_dev and l_ino with l_file_id.
138         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
139         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
140         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
142 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
144         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
146 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
148         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
149         Add iff $CXX is set.
150         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
151         Likewise.
152         (tst-nodelete-zmodiff): Likewise.
153         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
155 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
157         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
159 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
161         * sysdeps/aarch64/fpu/math_private.h
162         (define math_opt_barrier): Add AArch64 version.
163         (math_force_eval): Likewise.
165 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
167         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
169 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
171         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
172         %ld with %jd and cast to intmax_t.
173         (do_test_length_zero): Likewise.
175 2015-07-10  Roland McGrath  <roland@hack.frob.com>
177         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
179 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
181         * sysdeps/tile/libm-test-ulps: Regenerated.
183         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
184         Comment out the whole function, not just its body.
186 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
188         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
189         locks.
191         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
193 2015-07-10  Torvald Riegel  <triegel@redhat.com>
195         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
196         (sem_assume_only_signals_cause_futex_EINTR): Remove.
198 2015-07-10  Torvald Riegel  <triegel@redhat.com>
200         * sysdeps/nptl/futex-internal.h: New file.
201         * sysdeps/nacl/futex-internal.h: New file.
202         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
203         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
204         error checking.
205         (setxid_unmark_thread): Likewise.
206         (__nptl_setxid): Likewise.
207         (__wait_lookup_done): Likewise.
208         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
209         * nptl/nptl-init.c (sighandler_setxid): Likewise.
210         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
211         * nptl/pthread_once.c (clear_once_control): Likewise.
212         (__pthread_once_slow): Likewise.
213         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
214         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
215         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
216         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
217         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
218         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
219         Likewise.
220         (__pthread_rwlock_rdlock): Likewise.
221         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
222         Likewise.
223         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
224         Likewise.
225         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
226         Likewise.
227         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
228         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
229         Likewise.
230         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
231         __ASSUME_PRIVATE_FUTEX check.
232         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
233         Check that shared futexes are supported.
234         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
235         wrappers with error checking.
236         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
237         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
238         * nptl/pthread_barrierattr_setpshared.c
239         (pthread_barrierattr_setpshared): Check that shared futexes are
240         supported.
241         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
242         Likewise.
243         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
244         Likewise.
245         * nptl/sem_init.c (futex_private_if_supported): Remove.
246         (__new_sem_init): Adapt and check that shared futexes are supported.
247         * nptl/sem_open.c (sem_open): Likewise.
248         * nptl/sem_post.c (futex_wake): Remove.
249         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
250         (do_futex_wait): Use futex wrappers with error checking.
251         * nptl/sem_wait.c: Include lowlevellock.h.
252         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
253         Use futex_supports_pshared.
254         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
255         Use futex wrappers with error checking.
256         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
257         Likewise.
258         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
259         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
260         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
261         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
262         (futex_wake): Likewise.
263         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
264         (do_futex_wait): Use futex wrappers with error checking.
265         (__new_sem_wait_slow): Update EINTR handling.
266         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
268 2015-07-09  Martin Sebor  <msebor@redhat.com>
270         [BZ #18435]
271         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
272         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
273         * nptl/Makefile (test-xfail-tst-once5): Define.
275 2015-07-09  Roland McGrath  <roland@hack.frob.com>
277         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
278         * elf/dl-minimal.c: For readability, reorder some definitions and
279         introduce more page breaks.  Include <stdio.h>.
280         (__libc_fatal): New function.
282         * include/unistd.h: Add rtld_hidden_proto for _exit.
283         * posix/_exit.c: Add rtld_hidden_def.
284         * sysdeps/mach/hurd/_exit.c: Likewise.
285         * sysdeps/nacl/_exit.c: Likewise.
286         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
287         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
289 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
292         bndmov encoding with zero displacement.
294 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
295             H.J. Lu  <hongjiu.lu@intel.com>
297         [BZ #18134]
298         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
299         * sysdeps/i386/configure: Regenerated.
300         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
301         (_dl_runtime_profile): Save and restore Intel MPX return bound
302         registers when calling _dl_call_pltexit.  Add
303         PRESERVE_BND_REGS_PREFIX before return.
304         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
305         (LRV_BND1_OFFSET): Likewise.
306         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
307         lrv_bnd1.
308         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
309         typo in bndmov encoding.
310         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
311         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
312         branch instructions to preserve bounds.
314 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
317         [GLIBC_2.22]: Add fmemopen.
319 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
321         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
322         returns an error, also try to use host port from __mach_host_self for
323         the __vm_wire call.
324         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
326 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
328         [BZ #18400]
329         [BZ #18648]
330         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
331         Fix pr_uid and pr_gid members.
332         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
333         definition to elf_greg_t.
335 2015-07-08  Roland McGrath  <roland@hack.frob.com>
337         [BZ #18383]
338         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
339         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
340         * sysdeps/arm/configure: Regenerated.
341         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
342         (test-xfail-tst-tlsalign-static): Variable removed.
344         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
345         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
346         rather than explicit 'ln -s'.
348         * resolv/rpc/netdb.h: New file.
349         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
351 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
353         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
354         length buffers.
355         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
356         test-skeleton.c.
358         [BZ #6544]
359         [BZ #11216]
360         [BZ #12836]
361         [BZ #13151]
362         [BZ #13152]
363         [BZ #14292]
364         * include/stdio.h (fmemopen): Remove hidden prototype.
365         (__fmemopen): Add new hidden prototype.
366         * libio/Makefile: Add oldfmemopen object.
367         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
368         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
369         compliance.
370         * libio/oldfmemopen.c: New file: old fmemopen implementation for
371         symbol compatibility.
372         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
373         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
374         fmemopen.
375         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
376         on append and read mode.
377         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
378         fmemopen.
379         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
380         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
381         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
382         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
383         Likewise.
384         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
385         [GLIBC_2.22]: Likewise.
386         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
387         Likewise.
388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
389         Likewise.
390         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
391         [GLIBC_2.22]: Likewise.
392         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
393         [GLIBC_2.22]: Likewise.
394         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
395         [GLIBC_2.22]: Likewise.
396         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
397         [GLIBC_2.22]: Likewise.
398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
399         [GLIBC_2.22]: Likewise.
400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
401         [GLIBC_2.22]: Likewise.
402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
403         [GLIBC_2.22]: Likewise.
404         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
405         Likewise.
406         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
407         Likewise.
408         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
409         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
410         [GLIBC_2.22]: Likewise.
411         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
412         [GLIBC_2.22]: Likewise.
413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
414         [GLIBC_2.22]: Likewise.
415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
416         [GLIBC_2.22]: Likewise.
417         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
418         Likewise.
419         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
420         Likewise.
421         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
422         Likewise.
423         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
424         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
426 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
428         [BZ #18643]
429         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
430         IPV6_PATHMTU, and IPV6_DONTFRAG.
432 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
434         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
435         and _IO_UNBUFFERED.
436         * libio/oldfileops.c: Likewise.
437         * libio/wfileops.c: Likewise.
439 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
441         * nscd/selinux.c: Delete selinux/flask.h include.
443 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
445         [BZ #18641]
446         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
447         (putpwent): Likewise.
448         (getpwnam): Likewise.
449         (getpwent_r): Likewise.
450         (getpwuid_r): Likewise.
451         (getpwnam_r): Likewise.
452         (fgetpwent_r): Likewise.
454 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
456         [BZ #18557]
457         * inet/rcmd.c (__validuser2_sa): Check user first to
458         short-circuit host check.
460 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
461             Mikhail Ilin  <m.ilin@samsung.com>
463         [BZ #17833]
464         * elf/Makefile (tests): Add tst-nodelete.
465         (modules-names): Add tst-nodelete-uniquemod.
466         (tst-nodelete-uniquemod.so-no-z-defs): New.
467         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
468         (tst-nodelete-zmod.so-no-z-defs): Likewise.
469         ($(objpfx)tst-nodelete): Likewise.
470         ($(objpfx)tst-nodelete.out): Likewise.
471         (LDFLAGS-tst-nodelete): Likewise.
472         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
473         * elf/dl-close.c (_dl_close_worker): Add a parameter to
474         implement forced object deletion.
475         (_dl_close): Pass false to _dl_close_worker.
476         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
477         * elf/tst-nodelete.cc: New file.
478         * elf/tst-nodeletelib.cc: Likewise.
479         * elf/tst-znodeletelib.cc: Likewise.
480         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
482 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
484         [BZ #18508]
485         * stdlib/Makefile ($(objpfx)tst-makecontext3):
486         Depend on $(libdl).
487         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
488         is not called infinitely times.
489         (backtrace_helper): New function.
490         (trace_arg): New struct.
491         (st1): Enlarge stack size.
492         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
493         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
494         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
495         Likewise.
497 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
499         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
501 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
503         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
504         Include sys/types.h instead of bits/types.h.
505         Remove inclusion of bits/wordsize.h.
507 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
509         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
510         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
511         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
512         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
513         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
514         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
516 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
518         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
519         link-defines.sym.
520         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
521         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
522         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
523         and LR_SIZE.
524         * sysdeps/i386/link-defines.sym: New file.
526 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
528         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
529         (modules-names): Add tst-auditmod3a tst-auditmod3b.
530         ($(objpfx)tst-audit3): New rule.
531         ($(objpfx)tst-audit3.out): Likewise.
532         * sysdeps/i386/tst-audit3.c: New file.
533         * sysdeps/i386/tst-audit3.h: Likewise.
534         * sysdeps/i386/tst-auditmod3a.c: Likewise.
535         * sysdeps/i386/tst-auditmod3b.c: Likewise.
537 2015-07-07  Torvald Riegel  <triegel@redhat.com>
539         [BZ #18633]
540         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
541         pointer in C code.
542         (__strcat_c): Likewise.
543         (__strcat_g): Likewise.
545 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
547         [BZ #18592]
548         * misc/sbrk.c: Set errno to ENOMEM on overflow.
550 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
552         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
553         New function.  (__ieee754_sqrtf): New function.
554         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
555         New function.
556         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
557         New function.
559 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
561         * sysdeps/ieee754/support.c: Remove unused file.
563 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
565         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
566         registers instead of d ones so the layout is kernel abi compatible.
567         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
568         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
569         Likewise.
571 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
573         * sysdeps/aarch64/libm-test-ulps: Regenerated.
575 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
577         [BZ #18619]
578         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
579         and return argument in case of subnormal argument.
581 2015-07-01  Martin Sebor  <msebor@redhat.com>
583         [BZ #18435]
584         * nptl/Makefile: Add tst-once5.cc.
585         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
586         Remove macro redefinitions.
587         * nptl/tst-once5.cc: New test.
589 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
591         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
593         * sysdeps/arm/libm-test-ulps: Regenerated.
595         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
596         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
598 2015-06-30  Torvald Riegel  <triegel@redhat.com>
600         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
601         lll_lock_wait_private and lll_futex_wake probes.
603         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
605         Likewise.
606         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
607         atomic_spin_nop.
608         * sysdeps/x86_64/bits/atomic.h: Likewise.
609         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
610         to atomic_spin_nop and move ...
611         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
612         ... here and ...
613         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
614         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
615         atomic_spin_nop instead of BUSY_WAIT_NOP.
616         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
617         Likewise.
618         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
619         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
620         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
621         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
622         instead of atomic_delay.
624 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
626         [BZ #18613]
627         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
628         X_ADJ not X when adjusting exponent.
629         (__ieee754_gamma_r): Do intermediate computations in
630         round-to-nearest then adjust overflowing and underflowing results
631         as needed.
632         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
633         of X_ADJ not X when adjusting exponent.
634         (__ieee754_gammaf_r): Do intermediate computations in
635         round-to-nearest then adjust overflowing and underflowing results
636         as needed.
637         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
638         log of X_ADJ not X when adjusting exponent.
639         (__ieee754_gammal_r): Do intermediate computations in
640         round-to-nearest then adjust overflowing and underflowing results
641         as needed.  Use 1.0L not 1.0f as numerator of division.
642         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
643         log of X_ADJ not X when adjusting exponent.
644         (__ieee754_gammal_r): Do intermediate computations in
645         round-to-nearest then adjust overflowing and underflowing results
646         as needed.  Use 1.0L not 1.0f as numerator of division.
647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
648         of X_ADJ not X when adjusting exponent.
649         (__ieee754_gammal_r): Do intermediate computations in
650         round-to-nearest then adjust overflowing and underflowing results
651         as needed.  Use 1.0L not 1.0f as numerator of division.
652         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
653         to auto-libm-test-in.
654         (tgamma_test): Use ALL_RM_TEST.
655         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
656         tests of tgamma with spurious-overflow.
657         * math/auto-libm-test-out: Regenerated.
658         * math/gen-libm-have-vector-test.sh: Do not check for START.
659         * sysdeps/i386/fpu/libm-test-ulps: Update.
660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
662         [BZ #18612]
663         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
664         arguments, just return 0.5 times the argument, with underflow
665         forced as needed.
666         * math/auto-libm-test-in: Add more tests of j1.
667         * math/auto-libm-test-out: Regenerated.
669         [BZ #16559]
670         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
671         (__ieee754_j1): Force underflow exception for small results.
672         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
673         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
674         (__ieee754_j1f): Force underflow exception for small results.
675         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
676         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
678         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
679         (__ieee754_j1l): Force underflow exception for small results.
680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
681         * math/auto-libm-test-in: Add more tests of j1 and jn.
682         * math/auto-libm-test-out: Regenerated.
684         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
686         (PF_MPLS): Likewise.
687         (AF_IB): Likewise.
688         (AF_MPLS): Likewise.
689         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
690         value and macro.
691         (MS_RMT_MASK): Include MS_LAZYTIME.
693 2015-06-26  Mel Gorman  <mgorman@suse.de>
695         [BZ #18502]
696         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
697         already minimal.
699 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
701         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
702         (DT_MIPS_NUM): Update.
703         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
704         DT_MIPS_RLD_MAP_REL.
706 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
708         [BZ #16559]
709         [BZ #18602]
710         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
711         round-to-nearest internally then recompute results that
712         underflowed to zero in the original rounding mode.
713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
714         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
717         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
718         * sysdeps/i386/fpu/libm-test-ulps: Update.
719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
721 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
723         * NEWS: Fixed description of link with vector math library.
725 2015-06-25  Andreas Schwab  <schwab@suse.de>
727         [BZ #18549]
728         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
729         * libio/test-fmemopen.c (do_test): Add test for it.
731 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
733         [BZ #17841]
734         * Makeconfig (no-pie-ldflag): New.
735         (+link): Set to $(+link-pie) if default to PIE.
736         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
737         * config.make.in (build-pie-default): New.
738         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
739         is default.  AC_SUBST.
740         * configure: Regenerated.
741         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
743 2015-06-24  Roland McGrath  <roland@hack.frob.com>
745         * nptl/descr.h (struct pthread): Change type of field setxid_futex
746         to 'unsigned int'.
748         * resolv/gai_misc.h (struct waitlist): Change type of field
749         counterp to 'volatile unsigned int *'.
750         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
751         FUTEXADDR and OLDVAL.
752         * resolv/getaddrinfo_a.c (getaddrinfo_a):
753         Give local variable TOTAL type 'volatile unsigned int'.
754         (struct async_waitlist): Change type of field counter to 'unsigned int'.
755         * resolv/gai_suspend.c (gai_suspend):
756         Give local variable CNTR type 'unsigned int'.
758         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
759         counterp to 'volatile unsigned int *'.
760         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
761         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
762         (aio_suspend): Give local variable CNTR type 'unsigned int'.
763         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
764         Give local variable TOTAL type 'volatile unsigned int'.
765         (struct async_waitlist): Change type of field counter to 'unsigned int'.
767 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
769         [BZ #18383]
770         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
771         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
772         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
773         comment for i386/x86-64.
774         (test-xfail-tst-tlsalign-extern-static): Removed.
776 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
778         * math/test-double.h: New file.
779         * math/test-float.h: Likewise.
780         * math/test-ldouble.h: Likewise.
781         * math/test-math-inline.h: Likewise.
782         * math/test-math-no-inline.h: Likewise.
783         * math/test-math-scalar.h: Likewise.
784         * math/test-math-vector.h: Likewise.
785         * math/test-vec-loop.h: Remove file.  Contents moved into
786         test-math-vector.h.
787         * math/libm-test.inc (MATHCONST): Do not document macro.
788         * math/test-double.c: Include test-double.h, test-math-no-inline.h
789         and test-math-scalar.h.
790         (FUNC): Remove macro.
791         (FUNC_TEST): Likewise.
792         (FLOAT): Likewise.
793         (MATHCONST): Likewise.
794         (PRINTF_EXPR): Likewise.
795         (PRINTF_XEXPR): Likewise.
796         (PRINTF_NEXPR): Likewise.
797         (TEST_DOUBLE): Likewise.
798         (TEST_MATHVEC): Likewise.
799         (__NO_MATH_INLINES): Likewise.
800         * math/test-float.c: Include test-float.h, test-math-no-inline.h
801         and test-math-scalar.h.
802         (FUNC): Remove macro.
803         (FUNC_TEST): Likewise.
804         (FLOAT): Likewise.
805         (MATHCONST): Likewise.
806         (PRINTF_EXPR): Likewise.
807         (PRINTF_XEXPR): Likewise.
808         (PRINTF_NEXPR): Likewise.
809         (TEST_FLOAT): Likewise.
810         (TEST_MATHVEC): Likewise.
811         (__NO_MATH_INLINES): Likewise.
812         * math/test-idouble.c: Include test-double.h, test-math-inline.h
813         and test-math-scalar.h.
814         (FUNC): Remove macro.
815         (FUNC_TEST): Likewise.
816         (FLOAT): Likewise.
817         (MATHCONST): Likewise.
818         (PRINTF_EXPR): Likewise.
819         (PRINTF_XEXPR): Likewise.
820         (PRINTF_NEXPR): Likewise.
821         (TEST_DOUBLE): Likewise.
822         (TEST_MATHVEC): Likewise.
823         (TEST_INLINE): Likewise.
824         (__NO_MATH_INLINES): Likewise.
825         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
826         test-math-scalar.h.
827         (FUNC): Remove macro.
828         (FUNC_TEST): Likewise.
829         (FLOAT): Likewise.
830         (MATHCONST): Likewise.
831         (PRINTF_EXPR): Likewise.
832         (PRINTF_XEXPR): Likewise.
833         (PRINTF_NEXPR): Likewise.
834         (TEST_FLOAT): Likewise.
835         (TEST_MATHVEC): Likewise.
836         (TEST_INLINE): Likewise.
837         (__NO_MATH_INLINES): Likewise.
838         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
839         and test-math-scalar.h.
840         (FUNC): Remove macro.
841         (FUNC_TEST): Likewise.
842         (FLOAT): Likewise.
843         (MATHCONST): Likewise.
844         (PRINTF_EXPR): Likewise.
845         (PRINTF_XEXPR): Likewise.
846         (PRINTF_NEXPR): Likewise.
847         (TEST_LDOUBLE): Likewise.
848         (TEST_MATHVEC): Likewise.
849         (TEST_INLINE): Likewise.
850         (__NO_MATH_INLINES): Likewise.
851         * math/test-ldouble.c: Include test-ldouble.h,
852         test-math-no-inline.h and test-math-scalar.h.
853         (FUNC): Remove macro.
854         (FUNC_TEST): Likewise.
855         (FLOAT): Likewise.
856         (MATHCONST): Likewise.
857         (PRINTF_EXPR): Likewise.
858         (PRINTF_XEXPR): Likewise.
859         (PRINTF_NEXPR): Likewise.
860         (TEST_LDOUBLE): Likewise.
861         (TEST_MATHVEC): Likewise.
862         (__NO_MATH_INLINES): Likewise.
863         * math/test-double-vlen2.h: Include test-double.h,
864         test-math-no-inline.h and test-math-vector.h.
865         (FLOAT): Remove macro.
866         (FUNC): Likewise.
867         (MATHCONST): Likewise.
868         (PRINTF_EXPR): Likewise.
869         (PRINTF_XEXPR): Likewise.
870         (PRINTF_NEXPR): Likewise.
871         (TEST_DOUBLE): Likewise.
872         (TEST_MATHVEC): Likewise.
873         (__NO_MATH_INLINES): Likewise.
874         (CNCT): Likewise.
875         (CONCAT): Likewise.
876         (WRAPPER_NAME): Likewise.
877         (WRAPPER_DECL): Likewise.
878         (WRAPPER_DECL_ff): Likewise.
879         (WRAPPER_DECL_fFF): Likewise.
880         (VECTOR_WRAPPER): Likewise.
881         (VECTOR_WRAPPER_ff): Likewise.
882         (VECTOR_WRAPPER_fFF): Likewise.
883         (VEC_LEN): New macro.
884         * math/test-double-vlen4.h: Include test-double.h,
885         test-math-no-inline.h and test-math-vector.h.
886         (FLOAT): Remove macro.
887         (FUNC): Likewise.
888         (MATHCONST): Likewise.
889         (PRINTF_EXPR): Likewise.
890         (PRINTF_XEXPR): Likewise.
891         (PRINTF_NEXPR): Likewise.
892         (TEST_DOUBLE): Likewise.
893         (TEST_MATHVEC): Likewise.
894         (__NO_MATH_INLINES): Likewise.
895         (CNCT): Likewise.
896         (CONCAT): Likewise.
897         (WRAPPER_NAME): Likewise.
898         (WRAPPER_DECL): Likewise.
899         (WRAPPER_DECL_ff): Likewise.
900         (WRAPPER_DECL_fFF): Likewise.
901         (VECTOR_WRAPPER): Likewise.
902         (VECTOR_WRAPPER_ff): Likewise.
903         (VECTOR_WRAPPER_fFF): Likewise.
904         (VEC_LEN): New macro.
905         * math/test-double-vlen8.h: Include test-double.h,
906         test-math-no-inline.h and test-math-vector.h.
907         (FLOAT): Remove macro.
908         (FUNC): Likewise.
909         (MATHCONST): Likewise.
910         (PRINTF_EXPR): Likewise.
911         (PRINTF_XEXPR): Likewise.
912         (PRINTF_NEXPR): Likewise.
913         (TEST_DOUBLE): Likewise.
914         (TEST_MATHVEC): Likewise.
915         (__NO_MATH_INLINES): Likewise.
916         (CNCT): Likewise.
917         (CONCAT): Likewise.
918         (WRAPPER_NAME): Likewise.
919         (WRAPPER_DECL): Likewise.
920         (WRAPPER_DECL_ff): Likewise.
921         (WRAPPER_DECL_fFF): Likewise.
922         (VECTOR_WRAPPER): Likewise.
923         (VECTOR_WRAPPER_ff): Likewise.
924         (VECTOR_WRAPPER_fFF): Likewise.
925         (VEC_LEN): New macro.
926         * math/test-float-vlen4.h: Include test-float.h,
927         test-math-no-inline.h and test-math-vector.h.
928         (FLOAT): Remove macro.
929         (FUNC): Likewise.
930         (MATHCONST): Likewise.
931         (PRINTF_EXPR): Likewise.
932         (PRINTF_XEXPR): Likewise.
933         (PRINTF_NEXPR): Likewise.
934         (TEST_FLOAT): Likewise.
935         (TEST_MATHVEC): Likewise.
936         (__NO_MATH_INLINES): Likewise.
937         (CNCT): Likewise.
938         (CONCAT): Likewise.
939         (WRAPPER_NAME): Likewise.
940         (WRAPPER_DECL): Likewise.
941         (WRAPPER_DECL_ff): Likewise.
942         (WRAPPER_DECL_fFF): Likewise.
943         (VECTOR_WRAPPER): Likewise.
944         (VECTOR_WRAPPER_ff): Likewise.
945         (VECTOR_WRAPPER_fFF): Likewise.
946         (VEC_LEN): New macro.
947         * math/test-float-vlen8.h: Include test-float.h,
948         test-math-no-inline.h and test-math-vector.h.
949         (FLOAT): Remove macro.
950         (FUNC): Likewise.
951         (MATHCONST): Likewise.
952         (PRINTF_EXPR): Likewise.
953         (PRINTF_XEXPR): Likewise.
954         (PRINTF_NEXPR): Likewise.
955         (TEST_FLOAT): Likewise.
956         (TEST_MATHVEC): Likewise.
957         (__NO_MATH_INLINES): Likewise.
958         (CNCT): Likewise.
959         (CONCAT): Likewise.
960         (WRAPPER_NAME): Likewise.
961         (WRAPPER_DECL): Likewise.
962         (WRAPPER_DECL_ff): Likewise.
963         (WRAPPER_DECL_fFF): Likewise.
964         (VECTOR_WRAPPER): Likewise.
965         (VECTOR_WRAPPER_ff): Likewise.
966         (VECTOR_WRAPPER_fFF): Likewise.
967         (VEC_LEN): New macro.
968         * math/test-float-vlen16.h: Include test-float.h,
969         test-math-no-inline.h and test-math-vector.h.
970         (FLOAT): Remove macro.
971         (FUNC): Likewise.
972         (MATHCONST): Likewise.
973         (PRINTF_EXPR): Likewise.
974         (PRINTF_XEXPR): Likewise.
975         (PRINTF_NEXPR): Likewise.
976         (TEST_FLOAT): Likewise.
977         (TEST_MATHVEC): Likewise.
978         (__NO_MATH_INLINES): Likewise.
979         (CNCT): Likewise.
980         (CONCAT): Likewise.
981         (WRAPPER_NAME): Likewise.
982         (WRAPPER_DECL): Likewise.
983         (WRAPPER_DECL_ff): Likewise.
984         (WRAPPER_DECL_fFF): Likewise.
985         (VECTOR_WRAPPER): Likewise.
986         (VECTOR_WRAPPER_ff): Likewise.
987         (VECTOR_WRAPPER_fFF): Likewise.
988         (VEC_LEN): New macro.
989         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
990         test-vec-loop.h.
991         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
993         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
994         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
995         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
996         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
997         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
999 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1001         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1002         (__getlogin_r): ... this.
1004 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1006         [BZ #18594]
1007         * math/s_ccosh.c (__ccosh): Compare with least normal value
1008         instead of comparing class with FP_SUBNORMAL.
1009         * math/s_ccoshf.c (__ccoshf): Likewise.
1010         * math/s_ccoshl.c (__ccoshl): Likewise.
1011         * math/s_cexp.c (__cexp): Likewise.
1012         * math/s_cexpf.c (__cexpf): Likewise.
1013         * math/s_cexpl.c (__cexpl): Likewise.
1014         * math/s_csin.c (__csin): Likewise.
1015         * math/s_csinf.c (__csinf): Likewise.
1016         * math/s_csinh.c (__csinh): Likewise.
1017         * math/s_csinhf.c (__csinhf): Likewise.
1018         * math/s_csinhl.c (__csinhl): Likewise.
1019         * math/s_csinl.c (__csinl): Likewise.
1020         * math/s_ctan.c (__ctan): Likewise.
1021         * math/s_ctanf.c (__ctanf): Likewise.
1022         * math/s_ctanh.c (__ctanh): Likewise.
1023         * math/s_ctanhf.c (__ctanhf): Likewise.
1024         * math/s_ctanhl.c (__ctanhl): Likewise.
1025         * math/s_ctanl.c (__ctanl): Likewise.
1026         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1027         csin, csinh, ctan and ctanh.
1028         * math/auto-libm-test-out: Regenerated.
1029         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1030         * sysdeps/i386/fpu/libm-test-ulps: Update.
1031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1033 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1035         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1036         return value is wrong, print the expected value too.
1038 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1040         [BZ #18585]
1041         * elf/readlib.c (is_gdb_python_file): New.
1042         (process_file): Don't issue errors on filenames with -gdb.py
1043         suffix.
1045 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1047         * math/auto-libm-test-in: Add more tests of csin and csinh.
1048         * math/auto-libm-test-out: Regenerated.
1049         * math/libm-test.inc (csin_test_data): Remove tests moved to
1050         auto-libm-test-in.
1051         (csinh_test_data): Likewise.
1053         [BZ #18593]
1054         * math/s_csin.c (__csin): Negate before rather than after possibly
1055         overflowing multiplication.
1056         * math/s_csinf.c (__csinf): Likewise.
1057         * math/s_csinh.c (__csinh): Likewise.
1058         * math/s_csinhf.c (__csinhf): Likewise.
1059         * math/s_csinhl.c (__csinhl): Likewise.
1060         * math/s_csinl.c (__csinl): Likewise.
1061         * math/auto-libm-test-in: Add some tests of csin and csinh.
1062         * math/auto-libm-test-out: Regenerated.
1063         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1064         (csinh_test_data): Likewise.
1065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1067         [BZ #18586]
1068         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1069         underflow exception for small results.
1071 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1075         variable and included header.
1076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1077         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1078         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1079         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1084         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1085         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1086         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1087         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1088         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1089         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1090         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1091         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1093 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1095         [BZ #16526]
1096         [BZ #16538]
1097         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1098         (__sin): Force underflow exception for arguments with small
1099         absolute value.
1100         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1101         (__kernel_sinf): Force underflow exception for arguments with
1102         small absolute value.
1103         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1104         (__kernel_sincosl): Force underflow exception for arguments with
1105         small absolute value.
1106         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1107         (__kernel_sinl): Force underflow exception for arguments with
1108         small absolute value.
1109         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1110         (__kernel_sincosl): Force underflow exception for arguments with
1111         small absolute value.
1112         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1113         (__kernel_sinl): Force underflow exception for arguments with
1114         small absolute value.
1115         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1116         (__kernel_sinl): Force underflow exception for arguments with
1117         small absolute value.
1118         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1119         (__kernel_sinf): Force underflow exception for arguments with
1120         small absolute value.
1121         * math/auto-libm-test-in: Add more tests of sin and sincos.
1122         * math/auto-libm-test-out: Regenerated.
1124         [BZ #18245]
1125         [BZ #18583]
1126         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1127         (__kernel_standard_l): Use feholdexcept and fesetenv around
1128         conversion to double instead of special-casing overflow and
1129         underflow.
1130         * math/libm-test.inc (fmod_test_data): Add more tests.
1131         (remainder_test_data): Likewise.
1132         (sqrt_test_data): Likewise.
1134 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1136         [BZ #17403]
1137         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1138         atomic_read_barrier, atomic_write_barrier): Define.
1139         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1140         atomic_read_barrier, atomic_write_barrier): Define.
1142 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1144         * math/Makefile [$(PERL) != no]
1145         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1146         dependency on libm-test.stmp below the inclusion of Rules.
1148 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1151         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1152         and included header.
1153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1154         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1156         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1161         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1162         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1163         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1164         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1165         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1166         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1167         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1168         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1169         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1170         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1171         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1173 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #18371]
1176         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1177         intermediate but not final result might underflow.
1178         * math/s_csqrtf.c (__csqrtf): Likewise.
1179         * math/s_csqrtl.c (__csqrtl): Likewise.
1180         * math/auto-libm-test-in: Add more tests of csqrt.
1181         * math/auto-libm-test-out: Regenerated.
1182         * sysdeps/i386/fpu/libm-test-ulps: Update.
1184         [BZ #18219]
1185         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1186         threshold on absolute value of exponent for which scaling is used.
1187         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1188         * math/auto-libm-test-in: Add more tests of exp2.
1189         * math/auto-libm-test-out: Regenerated.
1191 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1193         [BZ #17977]
1194         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1195         when initializing interface list, based on the bug analysis
1196         and the patch proposed by Eric Newton.
1197         * resolv/tst-res_hconf_reorder.c: New test.
1198         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1199         tst-res_hconf_reorder.
1200         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1201         and $(shared-thread-library).
1202         (tst-res_hconf_reorder-ENV): New variable.
1204         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1205         in comment.
1207 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1209         [BZ #16353]
1210         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1211         (__expm1): Force underflow exception for arguments with small
1212         absolute value.
1213         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1214         (__expm1f): Force underflow exception for arguments with small
1215         absolute value.
1216         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1217         (__expm1): Force underflow exception for arguments with small
1218         absolute value.
1219         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1220         (__expm1f): Force underflow exception for arguments with small
1221         absolute value.
1222         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1223         Check for small arguments before calling __expm1.
1224         * math/auto-libm-test-in: Do not mark underflow exceptions as
1225         possibly missing for bug 16353.
1226         * math/auto-libm-test-out: Regenerated.
1228 2015-06-22  Andreas Schwab  <schwab@suse.de>
1230         [BZ #18513]
1231         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1232         PTR queries.
1234 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1236         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1238         * string/strcoll_l.c: Remove unused struct element idxnow.
1240 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1242         [BZ #18569]
1243         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1244         underflow and return argument in case of subnormal argument.
1245         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1246         Likewise.
1247         * math/auto-libm-test-in: Add more tests of expm1.
1248         * math/auto-libm-test-out: Regenerated.
1250         [BZ #16361]
1251         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1252         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1253         tiny results.
1254         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1255         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1256         tiny results.
1257         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1258         mark underflow exceptions as possibly missing for bug 16361.
1259         * math/auto-libm-test-out: Regenerated.
1261 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1263         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1264         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1265         Remove variable.
1266         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1267         (test-xfail-XOPEN2K8/utmpx.h/conform).
1269         * conform/conformtest.pl ($xerrors): New variable.
1270         (note_error): New function.
1271         (compiletest): New argument $xfail.  Use not_error.
1272         (runtest): Likewise.
1273         (top level): Handle xfail- lines.  Update calls to compiletest and
1274         runtest.  Handle xfail- and optional- in headers listed with
1275         allow-header.
1276         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1277         (O_EXEC): Likewise.
1278         (O_SEARCH): Likewise.
1279         * conform/data/stropts.h-data (ioctl): Likewise.
1280         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1281         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1282         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1283         (msghdr.msg_controllen): Likewise.
1284         (cmsghdr.cmsg_len): Likewise.
1285         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1286         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1287         variable.
1288         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1289         (test-xfail-XPG4/stropts.h/conform): Likewise.
1290         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1291         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1292         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1293         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1294         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1295         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1296         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1297         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1298         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1299         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1300         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1301         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1302         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1303         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1304         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1305         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1306         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1307         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1308         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1310 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1312         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1313         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1314         definitions for proper unfolding of __MATHDECL_VEC.
1316 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1318         * benchtests/bench-strcoll.c:
1319         Include string.h.
1320         (main): Remove unused variable res.
1322 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1324         * timezone/Makefile (%/UTC %/Universal):
1325         Generate test-result files for UTC and Universal.
1327 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1331 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1333         [BZ #16350]
1334         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1335         for arguments with small absolute value.
1336         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1337         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1338         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1339         (__asinh): Force underflow exception for arguments with small
1340         absolute value.
1341         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1342         (__asinhf): Force underflow exception for arguments with small
1343         absolute value.
1344         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1345         (__asinhl): Force underflow exception for arguments with small
1346         absolute value.
1347         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1348         (__asinhl): Force underflow exception for arguments with small
1349         absolute value.
1350         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1351         (__asinhl): Force underflow exception for arguments with small
1352         absolute value.
1353         * math/auto-libm-test-in: Do not mark underflow exceptions as
1354         possibly missing for bug 16350.
1355         * math/auto-libm-test-out: Regenerated.
1357         * include/bits/ipc.h: Remove file.
1358         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1359         variable.
1360         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1361         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1362         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1363         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1364         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1365         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1366         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1367         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1368         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1370         * math/auto-libm-test-in: Remove spurious underflow allowance for
1371         tests of cexp.
1372         * math/auto-libm-test-out: Regenerated.
1374         [BZ #18558]
1375         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1376         unconditional definition.
1377         (MCAST_BLOCK_SOURCE): Likewise.
1378         (MCAST_UNBLOCK_SOURCE): Likewise.
1379         (MCAST_LEAVE_GROUP): Likewise.
1380         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1381         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1382         (MCAST_MSFILTER): Likewise.
1383         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1384         Remove variable.
1385         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1386         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1387         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1388         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1389         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1391 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1393         * NEWS: Mention addition of x86_64 vector sincosf.
1394         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1395         * math/test-float-vlen4.h: Likewise.
1396         * math/test-float-vlen8.h: Likewise.
1397         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1398         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1399         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1400         * sysdeps/x86_64/fpu/Versions: New versions added.
1401         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1402         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1403         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1404         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1405         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1407         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1408         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1410         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1411         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1412         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1413         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1414         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1415         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1416         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1417         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1418         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1419         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1420         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1421         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1422         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1423         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1424         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1426         * NEWS: Mention addition of x86_64 vector sincos.
1427         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1428         * math/math.h (__MATHDECL_VEC): New macro.
1429         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1430         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1431         declaration under condition.
1432         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1433         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1434         TEST_VEC_LOOP change.
1435         * math/test-double-vlen4.h: Likewise.
1436         * math/test-double-vlen8.h: Likewise.
1437         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1438         * math/test-float-vlen4.h: Likewise.
1439         * math/test-float-vlen8.h: Likewise.
1440         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1441         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1442         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1443         * sysdeps/x86_64/fpu/Versions: New versions added.
1444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1445         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1446         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1447         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1449         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1451         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1453         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1454         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1455         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1456         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1457         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1458         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1459         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1460         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1461         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1462         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1463         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1464         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1465         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1466         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1467         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1469         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1470         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1471         redirections for powf.
1472         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1473         * sysdeps/x86_64/fpu/Versions: New versions added.
1474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1476         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1477         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1478         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1479         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1480         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1483         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1484         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1485         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1486         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1487         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1488         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1489         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1490         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1491         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1492         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1493         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1494         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1495         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1496         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1497         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1498         * math/test-float-vlen16.h: Fixed 2 argument macro.
1499         * math/test-float-vlen4.h: Likewise.
1500         * math/test-float-vlen8.h: Likewise.
1501         * NEWS: Mention addition of x86_64 vector powf.
1503 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1505         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1506         and redefine.
1507         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1508         and redefine.
1509         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1511         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1513         [BZ #18553]
1514         * resource/getpriority.c (getpriority): Rename to __getpriority
1515         and define as weak alias of __getpriority.
1516         * resource/setpriority.c (setpriority): Rename to __setpriority
1517         and define as weak alias of __setpriority.
1518         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1519         __getpriority and define as weak alias of __getpriority.
1520         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1521         __setpriority and define as weak alias of __setpriority.
1522         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1523         strong name.
1524         (setpriority): Use __setpriority as strong name.
1525         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1526         __getpriority and define as weak alias of __getpriority.
1527         * include/sys/resource.h (__getpriority): Declare.  Use
1528         libc_hidden_proto.
1529         (__setpriority): Likewise.
1530         (getpriority): Don't use libc_hidden_proto.
1531         (setpriority): Likewise.
1532         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1533         getpriority.  Call __setpriority instead of setpriority.
1534         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1535         Remove variable.
1537         [BZ #18547]
1538         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1539         as weak alias of __getttynam.  Use prototype function definition.
1540         Call __setttyent, __getttyent and __endttyent instead of
1541         setttyent, getttyent and endttyent.
1542         (getttyent): Rename to __getttyent and define as weak alias of
1543         __getttyent.  Call __setttyent instead of setttyent.  Call
1544         __fgets_unlocked instead of fgets_unlocked.
1545         (setttyent): Rename to __setttyent and define as weak alias of
1546         __setttyent.
1547         (endttyent): Rename to __endttyent and define as weak alias of
1548         __endttyent.
1549         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1550         (__setttyent): Likewise.
1551         (__endttyent): Likewise.
1552         (getttyent): Don't use libc_hidden_proto.
1553         (setttyent): Likewise.
1554         (endttyent): Likewise.
1555         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1556         __endttyent instead of setttyent, getttyent and endttyent.
1557         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1558         Remove variable.
1560         [BZ #18546]
1561         * socket/recv.c (__recv): Use libc_hidden_def.
1562         * socket/socket.c (__socket): Likewise.
1563         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1564         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1565         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1566         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1567         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1568         libc_hidden_def.
1569         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1570         libc_hidden_weak.
1571         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1572         Use libc_hidden_proto.
1573         (__recv): Likewise.
1574         * socket/Versions (libc): Export __recv and __socket at version
1575         GLIBC_PRIVATE.
1576         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1577         instead of recv.
1578         (init_mq_netlink): Call __socket instead of socket.
1579         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1580         Remove variable.
1582         [BZ #18545]
1583         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1584         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1585         hidden_weak.
1586         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1587         define as alias of __mq_timedsend.  Use hidden_weak.
1588         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1589         __mq_timedsend as strong name.
1590         (mq_timedreceive): Use __mq_timedreceive as strong name.
1591         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1592         (__mq_timedreceive): Likewise.
1593         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1594         __mq_timedreceive instead of mq_timedreceive.
1595         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1596         instead of mq_timedsend.
1597         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1598         Remove variable.
1600         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1601         hidden_def and hidden_weak instead of libc_hidden_def and
1602         libc_hidden_weak.
1603         (top level): Refer to hidden_def in comment.
1604         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1605         macro.  Use it instead of libc_hidden_def.
1606         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1607         specify __GI_* name explicitly.
1608         (mq_timedreceive): Likewise.
1609         (mq_setattr): Likewise.
1611         [BZ #18544]
1612         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1613         __pthread_barrier_init and define as weak alias of
1614         __pthread_barrier_init.
1615         * sysdeps/sparc/nptl/pthread_barrier_init.c
1616         (pthread_barrier_init): Likewise.
1617         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1618         __pthread_barrier_wait and define as weak alias of
1619         __pthread_barrier_wait.
1620         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1621         (pthread_barrier_wait): Likewise.
1622         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1623         (pthread_barrier_wait): Likewise.
1624         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1625         (pthread_barrier_wait): Likewise.
1626         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1627         (pthread_barrier_wait): Likewise.
1628         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1629         __pthread_barrier_wait at version GLIBC_PRIVATE.
1630         * include/pthread.h (__pthread_barrier_init): Declare.
1631         (__pthread_barrier_wait): Likewise.
1632         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1633         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1634         (helper_thread): Likewise.
1635         (init_mq_netlink): Call __pthread_barrier_init instead of
1636         pthread_barrier_init.
1638         [BZ #18542]
1639         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1640         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1641         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1642         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1643         vswscanf.
1644         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1645         Remove variable.
1647         [BZ #18540]
1648         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1649         strong alias of _IO_fflush.  Use libc_hidden_def.
1650         * libio/iofflush_u.c (fflush_unlocked): Rename to
1651         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1652         Use libc_hidden_weak.
1653         * include/stdio.h (__fflush_unlocked): Declare.  Use
1654         libc_hidden_proto.
1655         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1656         fflush_unlocked.
1657         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1658         Remove variable.
1660         [BZ #18539]
1661         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1662         define as weak alias of __addseverity.
1663         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1664         Remove variable.
1665         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1666         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1667         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1669         [BZ #18536]
1670         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1671         (__tfind): Likewise.
1672         (__tdelete): Likewise.
1673         (__twalk): Likewise.
1674         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1675         __twalk to GLIBC_PRIVATE.
1676         * include/search.h (__tsearch): Use libc_hidden_proto.
1677         (__tfind): Likewise.
1678         (__tdelete): Likewise.
1679         (__twalk): Likewise.
1680         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1681         Call __tdelete instead of tdelete.
1682         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1683         tfind.  Call __tsearch instead of tsearch.
1684         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1685         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1686         Remove variable.
1687         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1689         [BZ #18534]
1690         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1691         (dprintf): Define as a weak alias of __dprintf, not a strong
1692         alias.
1693         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1694         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1695         dprintf.
1696         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1697         Remove variable.
1698         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1699         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1701         [BZ #18533]
1702         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1703         not a strong alias.
1704         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1705         Remove variable.
1707         [BZ #18532]
1708         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1709         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1710         (in6addr_loopback): Rename to __in6addr_loopback and define as
1711         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1712         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1713         libc_hidden_proto.
1714         (__in6addr_any): Likewise.
1715         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1716         in6addr_any.
1717         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1718         variable.
1719         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1721 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1723         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1724         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1725         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1726         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1727         redirections for pow.
1728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1729         * sysdeps/x86_64/fpu/Versions: New versions added.
1730         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1731         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1732         build of SSE, AVX2 and AVX512 IFUNC versions.
1733         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1734         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1735         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1736         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1737         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1739         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1740         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1741         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1742         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1743         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1744         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1745         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1746         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1747         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1748         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1749         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1750         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1751         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1752         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1753         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1754         * NEWS: Mention addition of x86_64 vector pow.
1756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1757         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1758         redirections for expf.
1759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1760         * sysdeps/x86_64/fpu/Versions: New versions added.
1761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1763         build of SSE, AVX2 and AVX512 IFUNC versions.
1764         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1765         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1766         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1767         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1768         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1770         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1771         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1772         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1773         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1774         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1775         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1776         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1777         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1778         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1779         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1782         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1783         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1784         * NEWS: Mention addition of x86_64 vector expf.
1786         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1787         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1789         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1790         redirections for exp.
1791         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1792         * sysdeps/x86_64/fpu/Versions: New versions added.
1793         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1794         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1795         build of SSE, AVX2 and AVX512 IFUNC versions.
1796         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1797         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1798         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1799         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1800         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1801         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1802         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1803         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1804         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1805         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1806         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1807         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1808         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1809         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1810         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1812         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1813         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1814         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1815         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1816         * NEWS: Mention addition of x86_64 vector exp.
1818         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1819         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1820         redirections for logf.
1821         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1822         * sysdeps/x86_64/fpu/Versions: New versions added.
1823         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1824         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1825         build of SSE, AVX2 and AVX512 IFUNC versions.
1826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1827         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1828         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1829         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1831         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1832         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1833         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1834         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1835         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1836         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1837         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1838         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1839         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1840         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1841         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1842         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1843         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1844         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1845         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1846         * NEWS: Mention addition of x86_64 vector logf.
1848         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1849         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1850         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1851         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1852         redirections for log.
1853         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1854         * sysdeps/x86_64/fpu/Versions: New versions added.
1855         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1856         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1857         build of SSE, AVX2 and AVX512 IFUNC versions.
1858         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1859         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1860         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1861         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1862         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1863         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1864         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1865         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1866         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1867         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1868         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1869         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1870         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1871         test.
1872         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1874         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1875         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1876         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1877         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1878         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1879         * NEWS: Mention addition of x86_64 vector log.
1881 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1883         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1884         cfi_adjust_cfa_offset argument.
1885         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1886         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1888         [BZ #18034]
1889         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1890         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1891         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1892         ordering using ldar.
1893         (_dl_tlsdesc_dynamic): Likewise.
1894         (_dl_tlsdesc_return_lazy): Likewise.
1895         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1896         relaxed atomics instead of volatile and synchronize with release store.
1897         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1898         volatile.
1899         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1901 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1905         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1906         * sysdeps/x86_64/fpu/Versions: New versions added.
1907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1908         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1909         build of SSE, AVX2 and AVX512 IFUNC versions.
1910         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1911         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1912         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1916         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1917         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1918         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1919         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1920         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1921         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1922         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1923         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1924         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1925         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1928         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1929         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1930         * NEWS: Mention addition of x86_64 vector sinf.
1932 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1934         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1935         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1936         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1937         Remove variable.
1938         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1939         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1941 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1943         [BZ #18530]
1944         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1945         strong alias of _IO_fputs.  Use libc_hidden_def.
1946         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1947         and define as weak alias of __fputs_unlocked.  Use
1948         libc_hidden_weak.
1949         * include/stdio.h (__fputs_unlocked): Declare.  Use
1950         libc_hidden_proto.
1951         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1952         fputs_unlocked.
1954         [BZ #18529]
1955         * resolv/netdb.h [__USE_POSIX]: Change condition to
1956         [__USE_XOPEN2K].
1957         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1958         not expect.
1959         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1960         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1961         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1962         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1963         [XPG4 || UNIX98] (AI_ALL): Likewise.
1964         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1965         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1966         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1967         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1968         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1969         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1970         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1971         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1972         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1973         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1974         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1975         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1976         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1977         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1978         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1979         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1980         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1981         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1982         [XPG4 || UNIX98] (gai_strerror): Likewise.
1983         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1984         [XPG4 || UNIX98] (getnameinfo): Likewise.
1986         [BZ #18528]
1987         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1988         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1989         __USE_XOPEN2K8].
1990         (getgrent): Likewise.
1991         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1992         expect.
1993         [XPG3 || POSIX2008] (endgrent): Likewise.
1994         [XPG3] (setgrent): Likewise.
1995         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1996         variable.
1997         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1999         [BZ #18527]
2000         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2001         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2002         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2003         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2004         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2005         * include/unistd.h (__getlogin_r): Declare.  Use
2006         libc_hidden_proto.
2007         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2008         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2009         variable.
2010         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2011         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2012         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2014 2015-06-12  Martin Sebor  <msebor@redhat.com>
2016         [BZ #18512]
2017         * Makerules (check-install-supported): New target.
2018         (install): Add check-install-supported as a dependency.
2019         * manual/install.texi (Installing the C Library): Document
2020         that overriding prefix and exec_prefix is not supported.
2021         Mention DESTDIR.
2022         * INSTALL: Regenerate from the above.
2024 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2026         [BZ #18519]
2027         * posix/Versions (libc): Export __libc_pread at version
2028         GLIBC_PRIVATE.
2029         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2030         instead of pread.
2031         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2032         variable.
2034         [BZ #18522]
2035         * misc/efgcvt_r.c
2036         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2037         (cvt_symbol): Use weak_alias instead of strong_alias.
2038         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2039         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2040         Remove variable.
2041         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2042         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2044         [BZ #18520]
2045         * inet/herrno.c (h_errno): Rename to __h_errno.
2046         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2047         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2048         to __h_errno instead of h_errno.
2049         * nptl/herrno.c (h_errno): Rename to __h_errno.
2050         (__h_errno_location): Refer to __h_errno not h_errno.
2051         * resolv/Versions (h_errno): Rename to __h_errno.
2052         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2053         Remove variable.
2054         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2056 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2058         * configure.ac: More strict check for AVX512 assembler support.
2059         * configure: Regenerated.
2061         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2062         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2064         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2065         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2066         * sysdeps/x86_64/fpu/Versions: New versions added.
2067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2068         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2069         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2070         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2071         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2076         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2077         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2078         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2079         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2080         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2081         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2082         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2083         test.
2084         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2085         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2086         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2087         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2088         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2089         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2090         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2091         * NEWS: Mention addition of x86_64 vector sin.
2093 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2095         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2096         comment.
2098 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2100         [BZ #18479]
2101         * nptl/pt-interp.c: New file.
2102         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2103         Add pt-interp.
2104         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2105         $(common-objpfx)runtime-linker.h.
2107 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2109         * Makeconfig (+interp): Remove unused variable.
2110         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2111         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2112         $(elf-objpfx)runtime-linker.h.
2113         ($(elf-objpfx)runtime-linker.h): Rename to
2114         $(common-objpfx)runtime-linker.h and move ...
2115         * Makerules [$(build-shared) = yes]: ... here.
2116         * elf/interp.c: Include <runtime-linker.h> instead of
2117         <elf/runtime-linker.h>.
2119 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2121         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2122         (__gettimeofday_syscall): Remove vsyscall fallback.
2123         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2124         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2125         Add syscall fallback function.
2126         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2127         if vDSO is not present.
2128         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2129         fallback function.
2130         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2131         present.
2132         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2133         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2135 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2137         [BZ #18497]
2138         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2139         of wcscmp.
2140         (wcscmp): Define as weak alias of WCSCMP.
2141         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2142         wcscoll.
2143         (USE_HIDDEN_DEF): Define.
2144         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2145         __wcscoll.  Don't use libc_hidden_weak.
2146         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2147         wcscmp.
2148         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2149         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2150         __GI_wcscmp.
2151         (weak_alias): Undefine and redefine.
2152         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2153         __wcscmp and define as weak alias of __wcscmp.
2154         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2155         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2156         (__wcscoll): Likewise.
2157         (wcscmp): Don't use libc_hidden_proto.
2158         (wcscoll): Likewise.
2159         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2160         wcscoll.
2161         * posix/regexec.c (check_node_accept_bytes): Likewise.
2162         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2163         variable.
2164         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2165         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2167         [BZ #18507]
2168         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2169         __fstatvfs and define as weak alias of __fstatvfs.  Use
2170         libc_hidden_weak.
2171         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2172         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2173         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2174         Define as alias of __fstatvfs, not fstatvfs.
2175         (fstatvfs64): Likewise.
2176         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2177         Define as alias of __statvfs, not statvfs.
2178         (statvfs64): Likewise.
2179         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2180         Remove variable.
2182 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2185         (HAVE_GETCPU_VSYSCALL): Define.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2187         (HAVE_GETCPU_VSYSCALL): Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2189         * sysdeps/unix/sysv/linux/sched_getcpu.c
2190         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2191         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2192         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2193         prototype.
2194         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2195         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2196         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2198         Define.
2199         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2200         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2201         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2202         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2204 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2206         * sysdeps/x86_64/fpu/Makefile: New file.
2207         * sysdeps/x86_64/fpu/Versions: New file.
2208         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2209         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2210         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2211         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2212         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2213         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2214         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2215         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2216         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2218         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2219         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2220         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2222         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2223         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2224         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2225         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2226         * sysdeps/x86_64/configure: Regenerated.
2227         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2228         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2229         * manual/install.texi (Configuring and compiling): Document
2230         --disable-mathvec.
2231         * INSTALL: Regenerated.
2232         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2234         * math/Makefile: Added rules for vector tests.
2235         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2236         declaration under condition.
2237         * math/test-double-vlen2.h: New file.
2238         * math/test-double-vlen4.h: New file.
2239         * math/test-double-vlen8.h: New file.
2240         * math/test-vec-loop.h: Added initialization macro.
2241         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2243         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2245         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2249         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2251         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2254         * sysdeps/x86_64/fpu/Versions: New versions added.
2255         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2256         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2258         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2259         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2262         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2265         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2266         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2267         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2268         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2269         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2270         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2271         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2272         * NEWS: Mention addition of x86_64 vector cosf.
2274         * math/Makefile: Added CFLAGS for new tests.
2275         * math/test-float-vlen16.h: New file.
2276         * math/test-float-vlen4.h: New file.
2277         * math/test-float-vlen8.h: New file.
2278         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2279         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2280         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2281         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2282         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2283         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2284         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2287         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2288         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2290 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2292         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2293         * locale/programs/ld-ctype.c: Likewise.
2295 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2297         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2298         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2299         bit_ZMM16_31_state): New macro.
2300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2301         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2303 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2305         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2307 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2309         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2311 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2313         [BZ #18498]
2314         * libio/memstream.c (open_memstream): Rename to __open_memstream
2315         and define as weak alias of __open_memstream.
2316         * include/stdio.h (__open_memstream): Declare.  Use
2317         libc_hidden_proto.
2318         (open_memstream): Don't use libc_hidden_proto.
2319         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2320         open_memstream.
2321         * posix/getopt.c (_getopt_internal_r): Likewise.
2322         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2323         variable.
2324         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2325         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2326         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2328         [BZ #18496]
2329         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2330         instead of wcrtomb.
2332         [BZ #18483]
2333         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2334         [__USE_XOPEN2K8].  Remove redundant #endif.
2335         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2336         Remove redundant #if.
2337         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2338         Remove variable.
2339         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2340         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2342         [BZ #18495]
2343         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2344         (__iswlower): Likewise.
2345         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2346         (__iswlower): Likewise.
2347         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2348         instead of towlower.
2349         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2350         instead of iswlower.  Call __towupper instead of towupper.
2351         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2352         instead of iswalnum.
2354 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2356         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2357         errors to stderr.
2359 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2361         [BZ #15661]
2362         [BZ #17322]
2363         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2364         Check for overflow properly.  Check for O_APPEND.  Ignore large
2365         file system block sizes.  Add comments about problems.
2366         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2367         * manual/filesys.texi (Storage Allocation): New node.
2369 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2371         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2372         cancellable syscalls.
2373         (SYS_ify): Add guard to no redefine it.
2374         (INLINE_SYSCALL): Likewise.
2375         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2376         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2377         SYSCALL_CANCEL instead.
2378         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2379         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2380         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2381         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2382         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2383         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2384         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2385         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2386         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2387         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2388         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2389         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2390         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2391         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2392         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2394         Likewise.
2395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2396         (__libc_pread64): Likewise.
2397         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2398         (__libc_preadv): Likewise.
2399         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2400         (__libc_readv64): Likewise.
2401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2402         (__libc_pwrite): Likewise.
2403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2404         (__libc_pwrite64): Likewise.
2405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2406         (__libc_pwritev): Likewise.
2407         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2408         (__libc_pwritev64): Likewise.
2409         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2410         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2411         (sync_file_range): Likewise.
2412         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2413         Likewise.
2414         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2415         Likewise.
2416         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2417         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2418         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2419         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2420         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2421         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2422         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2423         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2427         (__libc_read64): Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2429         Likewise.
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2431         Likewise.
2432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2433         Likewise.
2434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2437         (__libc_pread64): Likewise.
2438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2439         Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2441         (__libc_pwrite64): Likewise.
2442         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2443         (sync_file_range): Likewise.
2444         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2445         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2446         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2447         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2448         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2449         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2450         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2451         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2452         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2453         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2454         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2455         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2456         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2457         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2458         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2459         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2460         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2461         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2462         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2463         Likewise.
2464         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2465         Likewise.
2466         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2467         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2468         Likewise.
2469         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2470         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2471         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2472         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2473         Likewise.
2474         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2475         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2476         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2477         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2478         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2480 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2482         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2483         Include dl-vdso.
2484         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2485         Use VDSO routines for gettimeofday, clock_gettime if
2486         available.
2487         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2488         Declare VDSO symbols.
2489         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2490         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2491         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2492         * sysdeps/unix/sysv/linux/arm/Versions: Add
2493         __vdso_clock_gettime.
2495 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2497         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2498         be an inline implementation regardless of library is built within.
2499         (open_not_cancel_2): Likewise.
2500         (__read_nocancel): Likewise.
2501         (__write_nocancel): Likewise.
2502         (openat_not_cancel): Likewise.
2503         (openat_not_cancel_3): Likewise.
2504         (openat64_not_cancel): Likewise.
2505         (openat64_not_cancel_3): Likewise.
2506         (__close_nocancel): Likewise.
2507         (pause_not_cancel): Likewise.
2508         (nanosleep_not_cancel): Likewise.
2509         (sigsuspend_not_cancel): Likewise.
2511 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2513         [BZ #14958]
2514         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2515         wake-up.
2516         (__pthread_rwlock_rdlock_slow): Likewise.
2517         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2518         Likewise.
2519         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2520         Likewise.
2521         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2522         * nptl/tst-rwlock16.c: New file.
2523         * nptl/Makefile (tests): Add new test.
2525 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2527         [BZ #18324]
2528         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2529         missing wake-up of readers.
2530         * nptl/tst-rwlock15.c: New file.
2531         * nptl/Makefile (tests): Add new test.
2533 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2535         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2536         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2537         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2538         and __nacl_supply_interface_rtld.
2539         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2540         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2541         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2542         Add __nacl_supply_interface_rtld.
2543         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2545 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2547         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2548         isfinite.
2549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2550         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2552 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2554         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2555         __signbit* with standard C99 macros.
2556         * math/e_exp10l.c: Likewise.
2557         * math/e_exp2l.c: Likewise.
2558         * math/e_scalb.c: Likewise.
2559         * math/e_scalbf.c: Likewise.
2560         * math/e_scalbl.c: Likewise.
2561         * math/s_ldexp.c: Likewise.
2562         * math/s_ldexpf.c: Likewise.
2563         * math/s_ldexpl.c: Likewise.
2564         * math/w_atan2.c: Likewise.
2565         * math/w_atan2f.c: Likewise.
2566         * math/w_atan2l.c: Likewise.
2567         * math/w_cosh.c: Likewise.
2568         * math/w_coshf.c: Likewise.
2569         * math/w_coshl.c: Likewise.
2570         * math/w_exp10.c: Likewise.
2571         * math/w_exp10f.c: Likewise.
2572         * math/w_exp10l.c: Likewise.
2573         * math/w_exp2.c: Likewise.
2574         * math/w_exp2f.c: Likewise.
2575         * math/w_exp2l.c: Likewise.
2576         * math/w_fmod.c: Likewise.
2577         * math/w_fmodf.c: Likewise.
2578         * math/w_fmodl.c: Likewise.
2579         * math/w_hypot.c: Likewise.
2580         * math/w_hypotf.c: Likewise.
2581         * math/w_hypotl.c: Likewise.
2582         * math/w_jnl.c: Likewise.
2583         * math/w_lgamma.c: Likewise.
2584         * math/w_lgamma_r.c: Likewise.
2585         * math/w_lgammaf.c: Likewise.
2586         * math/w_lgammaf_r.c: Likewise.
2587         * math/w_lgammal.c: Likewise.
2588         * math/w_lgammal_r.c: Likewise.
2589         * math/w_pow.c: Likewise.
2590         * math/w_powf.c: Likewise.
2591         * math/w_powl.c: Likewise.
2592         * math/w_remainder.c: Likewise.
2593         * math/w_remainderf.c: Likewise.
2594         * math/w_remainderl.c: Likewise.
2595         * math/w_scalb.c: Likewise.
2596         * math/w_scalbf.c: Likewise.
2597         * math/w_scalbl.c: Likewise.
2598         * math/w_scalbln.c: Likewise.
2599         * math/w_scalblnf.c: Likewise.
2600         * math/w_scalblnl.c: Likewise.
2601         * math/w_sinh.c: Likewise.
2602         * math/w_sinhf.c: Likewise.
2603         * math/w_sinhl.c: Likewise.
2604         * math/w_tgamma.c: Likewise.
2605         * math/w_tgammaf.c: Likewise.
2606         * math/w_tgammal.c: Likewise.
2607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2613         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2614         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2615         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2616         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2617         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2618         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2619         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2620         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2621         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2622         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2624         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2625         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2628         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2630         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2631         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2632         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2633         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2634         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2635         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2636         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2637         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2638         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2639         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2640         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2641         * stdio-common/printf_fp.c: Likewise.
2642         * stdio-common/printf_fphex.c: Likewise.
2643         * stdio-common/printf_size.c: Likewise.
2645 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2647         [BZ #18470]
2648         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2649         strnlen.
2650         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2651         Remove variable.
2652         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2653         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2654         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2655         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2656         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2657         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2658         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2659         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2660         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2661         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2663         [BZ #18468]
2664         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2665         weak alias of __wmemchr.  Use libc_hidden_weak.
2666         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2667         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2668         instead of wmemchr.
2670 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2672         [BZ #18383]
2673         * elf/tst-tlsalign-extern.c: New file.
2674         * elf/tst-tlsalign-extern-static.c: New file.
2675         * elf/tst-tlsalign-vars.c: New file.
2676         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2677         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2678         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2679         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2680         (test-xfail-tst-tlsalign-extern-static): New variable.
2682 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2684         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2685         Use variable name _sc_err instead of err.
2686         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2687         instead of ret.
2688         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2689         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2690         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2691         (INLINE_SYSCALL): Likewise.
2693         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2694         * include/string.h (__strnlen): Use libc_hidden_proto.
2695         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2696         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2697         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2698         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2699         (libc_hidden_def): Undefine and redefine.
2700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2701         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2702         __GI_strnlen.
2703         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2704         libc_hidden_def.
2705         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2707         [BZ #18469]
2708         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2709         weak alias of __towlower.  Use libc_hidden_weak.
2710         (towupper): Rename to __towupper and define as weak alias of
2711         __towupper.  Use libc_hidden_weak.
2712         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2713         (__towupper): Likewise.
2714         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2715         __towlower instead of towlower.
2717 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2719         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2720         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2722 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2724         * sysdeps/aarch64/libm-test-ulps: Update.
2726 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2728         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2729         Define.
2730         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2731         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2732         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2733         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2734         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2735         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2736         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2738 2015-06-01  Martin Sebor  <msebor@redhat.com>
2740         [BZ #18116]
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2742         (__setcontext): Use extended four-operand version of mtsf whenever
2743         possible.
2744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2745         (__novec_swapcontext): Likewise.
2747 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2749         * benchtests/scripts/compare_bench.py: New file.
2750         * benchtests/scripts/import_bench.py (mean): New function.
2751         (split_list): Likewise.
2752         (do_for_all_timings): Likewise.
2753         (compress_timings): Likewise.
2755         * benchtests/scripts/import_bench.py: New file.
2756         * benchtests/scripts/validate_benchout.py: Import import_bench
2757         instead of jsonschema.
2758         (validate_bench): Remove function.
2759         (main): Use import_bench.
2761 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2763         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2764         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2766 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2770 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2772         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2773         set THREAD_SELF->tid to a magic value and futex-wake it.
2774         Pass its address to the thread_exit system call.
2775         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2776         bit is clear.
2777         * sysdeps/nacl/lowlevellock.h: New file.
2778         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2780         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2781         Add TIMEOUT to current time, don't subtract it.
2783 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2785         [BZ #18422]
2786         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2787         ($(objpfx)tst-audit2.out): Also depend on
2788         $(objpfx)tst-auditmod9b.so.
2789         * elf/tst-audit2.c: Include <dlfcn.h>.
2790         (calloc_called): New.
2791         (calloc): Allow to be called more than once.
2792         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2794 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2796         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2797         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2799 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2801         * stdlib/monetary.h: Fix comment.
2803 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2805         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2806         Avoid using variables in #defines that might cause shadowing.
2807         (INTERNAL_VSYSCALL_CALL): Likewise.
2809 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2811         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2813         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2814         * nptl/lll_timedlock_wait.c: ... to this new file.
2815         * nptl/Makefile (libpthread-routines): Add it.
2816         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2817         * nptl/lll_timedwait_tid.c: ... to this new file.
2818         * nptl/Makefile (libpthread-routines): Add it.
2819         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2820         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2821         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2822         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2823         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2824         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2825         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2826         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2827         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2828         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2830 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2832         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2833         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2834         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2835         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2836         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2838         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2840         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2841         * sysdeps/unix/sysv/linux/tile/sysdep.h
2842         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2843         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2844         using vDSO syscall macro.
2846 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2848         [BZ #17293]
2849         * uk_UA: Fix sorting order for Ukrainian locale
2851 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2853         * stdlib/monetary.h: Fix comment.
2855 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2857         [BZ #18234]
2858         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2859         st_mtim and st_ctim members.
2860         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2861         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2862         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2863         (struct stat64): Likewise.
2864         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2865         (struct stat64): Likewise.
2866         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2867         (struct stat64): Likewise.
2869 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2871         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2872         Define and include sysdep-vdso.h.
2873         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2878         Define with VDSO_SYMBOL and use PTR_MANGLE.
2879         (__vdso_clock_gettime): Likewise.
2880         (__vdso_clock_getres): Likewise.
2881         (_libc_vdso_platform_setup): Likewise.
2882         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2883         Likewise.
2884         (_libc_vdso_platform_setup): Likewise.
2885         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2886         Likewise.
2887         (__vdso_clock_gettime): Likewise.
2888         (__vdso_clock_getres): Likewise.
2889         (__vdso_get_tbfreq): Likewise.
2890         (__vdso_getcpu): Likewise.
2891         (__vdso_time): Likewise.
2892         (__vdso_sigtramp_rt64): Likewise.
2893         (__vdso_signtramp32): Likewise.
2894         (__vdso_sigtramp_rt32): Likewise.
2895         (_libc_vdso_platform_setup): Likewise.
2896         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2897         Likewise.
2898         (__vdso_clock_gettime): Likewise.
2899         (__vdso_clock_getres): Likewise.
2900         (_libc_vdso_platform_setup): Likewise.
2901         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2902         Likewise.
2903         (__vdso_clock_gettime): Likewise.
2904         (_libc_vdso_platform_setup): Likewise.
2905         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2906         Likewise.
2907         (__vdso_getcpu): Likewise.
2908         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2909         Use VDSO_SYMBOL macro to define.
2910         (__vdso_clock_gettime): Likewise.
2911         (__vdso_clock_getres): Likewise.
2912         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2913         Likewise.
2914         (__vdso_clock_gettime): Likewise.
2915         (__vdso_clock_getres): Likewise.
2916         (__vdso_get_tbfreq): Likewise.
2917         (__vdso_getcpu): Likewise.
2918         (__vdso_time): Likewise.
2919         (__vdso_sigtramp_rt64): Likewise.
2920         (__vdso_signtramp32): Likewise.
2921         (__vdso_sigtramp_rt32): Likewise.
2922         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2923         Likewise.
2924         (__vdso_clock_gettime): Likewise.
2925         (__vdso_clock_getres): Likewise.
2926         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2927         Likewise.
2928         (__vdso_clock_gettime): Likewise.
2929         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2930         Likewise.
2931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2932         macro.
2933         (INTERNAL_VSYSCALL): Likewise.
2934         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2935         Remove macro.
2936         (INTERNAL_VSYSCALL): Likewise.
2937         (INTERNAL_VSYSCALL_NCS): Likewise.
2938         (INTERNAL_VSYSCALL_CALL): New macro.
2939         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2940         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2941         Likewise.
2942         (INTERNAL_VSYSCALL): Likewise.
2943         (INTERNAL_VSYSCALL_NCS): Likewise.
2944         (INTERNAL_VSYSCALL_CALL): New macro.
2945         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2947         (INLINE_VSYSCALL): Remove macro.
2948         (INTERNAL_VSYSCALL): Remove macro.
2949         (INTERNAL_VSYSCALL_NCS): Remove macro.
2950         (INTERNAL_VSYSCALL_CALL): New macro.
2951         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2952         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2953         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2954         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2955         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2957         (INLINE_VSYSCALL): Remove macro.
2958         (INTERNAL_VSYSCALL): Likewise.
2959         (INTERNAL_VSYSCALL_NCS): Likewise.
2960         (INTERNAL_VSYSCALL_CALL): New macro.
2961         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2962         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2963         PTR_DEMANGLE on vDSO pointer.
2964         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2965         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2966         macro.
2967         (INTERNAL_SYSCALL): Likewise.
2968         (INTERNAL_VSYSCALL_NCS): Remove macro.
2969         (INTERNAL_VSYSCALL_CALL): New macro.
2970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2971         Remove macro.
2972         (INTERNAL_VSYSCALL): Likewise.
2973         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2974         sysdep-vdso.h instead of libc-vdso.h.
2975         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2976         definition.
2977         (INLINE_VSYSCALL): Likewise.
2978         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2979         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2980         definition.
2981         (INLINE_VSYSCALL): Likewise.
2982         (INTERNAL_VSYSCALL): Likewise.
2983         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2984         * sysdeps/unix/sysv/linux/timespec_get.c
2985         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2986         (timespec_get): Use ANSI prototype.
2987         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2988         and definition for Linux.
2990 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2992         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2993         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2995 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2997         [BZ #18410]
2998         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2999         for missing DT_PLTRELSZ.
3001 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3003         Remove obsolete aliases that broke 'locale -a'
3004         [BZ #18412]
3005         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3006         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3007         breaking some applications that use 'locale -a' output.
3008         Change the encoding of this file from Latin-1 to ASCII to avoid
3009         other potential problems with people grepping this file.
3011 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3013         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3014         -fasynchronous-unwind-tables.
3015         (CFLAGS-sendto.c): Likewise.
3016         (CFLAGS-sendmsg.c): Likewise.
3017         (CFLAGS-connect.c): Likewise.
3018         (CFLAGS-recvmsg.c): Likewise.
3019         (CFLAGS-recvfrom.c): Likewise.
3020         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3021         (SOCKETCALL): New macro: non-cancellable socketcall.
3022         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3023         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3024         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3025         * sysdeps/unix/sysv/linux/accept.c: New file.
3026         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3027         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3028         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3029         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3030         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3031         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3032         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3033         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3034         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3035         * sysdeps/unix/sysv/linux/send.c: Likewise.
3036         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3037         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3038         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3039         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3040         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3041         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3042         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3043         prototype.
3044         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3045         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3046         instead of __internal_xxx function.
3047         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3048         prototype.
3049         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3050         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3051         instead of __internal_xxx function.
3052         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3053         prototype.
3054         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3055         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3056         instead of __internal_xxx function.
3057         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3058         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3059         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3060         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3061         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3062         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3063         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3064         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3065         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3066         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3067         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3069         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3070         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3071         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3072         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3073         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3074         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3075         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3076         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3079         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3080         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3081         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3082         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3083         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3084         * sysdeps/unix/sysv/linux/send.S: Likewise.
3085         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3086         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3087         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3088         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3089         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3090         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3091         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3092         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3093         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3094         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3095         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3096         socketcall is implemented in GLIBC.
3098 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3100         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3101         (__fma): Ignore uninitialized warnings around packing.
3102         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3103         (__fmaf): Ignore uninitialized warnings around packing.
3104         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3105         (__fmal): Ignore uninitialized warnings around packing.
3107         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3108         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3109         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3110         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3112         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3113         switch statement into default case.
3114         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3116         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3117         a conditional in forcing "inexact".
3118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3119         Likewise.
3121 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3123         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3124         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3125         for each INTERNAL_SYSCALL use.
3127 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3129         [BZ #438]
3130         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3131         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3132         variable.
3134         [BZ #18444]
3135         * string/basename.c (basename): Rename to __basename and define as
3136         weak alias of __basename.  Use libc_hidden_weak.
3137         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3138         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3139         __basename instead of basename.
3140         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3141         Remove variable.
3142         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3144 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3146         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3147         (_IO_JUMPS_FILE_plus): New.
3148         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3149         _IO_CAST_FIELD_ACCESS.
3150         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3151         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3152         * libio/freopen.c (freopen): Likewise.
3153         * libio/freopen64.c (freopen64): Likewise.
3154         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3155         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3156         * libio/iofwide.c (_IO_fwide): Likewise.
3157         * libio/memstream.c (open_memstream): Likewise.
3158         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3159         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3160         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3162 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3164         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3165         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3166         NADJ.
3167         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3168         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3169         NADJ.
3170         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3171         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3172         NADJ.
3174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3175         (p == 4) case.
3177         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3178         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3179         Remove variable.
3180         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3181         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3182         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3184 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3186         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3187         Adjust jump table label generation macros.
3189 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3191         * stdio-common/vfprintf.c (vfprintf): Move local variables
3192         args_malloced, specs, specs_malloced, and the code after
3193         do_positional to the printf_positional function.
3194         (printf_positional): New function.
3196 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3198         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3199         function.
3200         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3201         STEP4_TABLE, process_arg): Move macro definitions
3202         out of the vfprintf function.  (Cosmetic change only.)
3204 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3206         * benchtests/Makefile (stdio-common-bench): Define.
3207         (benchset): Add stdio-common-bench.
3208         * sprintf-inputs: New file.
3209         * sprintf-source.c: New file.
3211 2015-05-21  Andreas Schwab  <schwab@suse.de>
3213         [BZ #13028]
3214         [BZ #17053]
3215         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3216         of struct __res_state.
3217         * resolv/res_send.c (__libc_res_nsend): Likewise.
3218         (get_nsaddr): New function.
3219         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3220         statp directly.
3222 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3224         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3225         -D_POSIX_C_SOURCE=199506L.
3227         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3229         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3230         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3231         Do not mention otherwise.
3232         [POSIX] (_XOPEN_VERSION): Do not expect.
3233         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3234         [POSIX] (_POSIX2_C_BIND): Likewise.
3235         [POSIX] (_POSIX2_VERSION): Likewise.
3236         [POSIX] (_XOPEN_XPG2): Likewise.
3237         [POSIX] (_XOPEN_XPG3): Likewise.
3238         [POSIX] (_XOPEN_XPG4): Likewise.
3239         [POSIX] (_XOPEN_UNIX): Likewise.
3240         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3241         [POSIX] (_POSIX_BARRIERS): Likewise.
3242         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3243         [POSIX] (_POSIX_CPUTIME): Likewise.
3244         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3245         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3246         [POSIX] (_POSIX_SHELL): Likewise.
3247         [POSIX] (_POSIX_SPAWN): Likewise.
3248         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3249         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3250         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3251         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3252         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3253         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3254         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3255         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3256         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3257         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3258         [POSIX] (_POSIX2_PBS): Likewise.
3259         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3260         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3261         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3262         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3263         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3264         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3265         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3266         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3267         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3268         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3269         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3270         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3271         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3272         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3273         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3274         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3275         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3276         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3277         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3278         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3279         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3280         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3281         [POSIX] (_SC_2_C_BIND): Likewise.
3282         [POSIX] (_SC_2_C_VERSION): Likewise.
3283         [POSIX] (_SC_2_PBS): Likewise.
3284         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3285         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3286         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3287         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3288         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3289         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3290         [POSIX] (_SC_BARRIERS): Likewise.
3291         [POSIX] (_SC_BASE): Likewise.
3292         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3293         [POSIX] (_SC_DEVICE_IO): Likewise.
3294         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3295         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3296         [POSIX] (_SC_FD_MGMT): Likewise.
3297         [POSIX] (_SC_FIFO): Likewise.
3298         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3299         [POSIX] (_SC_FILE_LOCKING): Likewise.
3300         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3301         [POSIX] (_SC_IOV_MAX): Likewise.
3302         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3303         [POSIX] (_SC_NETWORKING): Likewise.
3304         [POSIX] (_SC_PAGE_SIZE): Likewise.
3305         [POSIX] (_SC_PASS_MAX): Likewise.
3306         [POSIX] (_SC_PIPE): Likewise.
3307         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3308         [POSIX] (_SC_REGEXP): Likewise.
3309         [POSIX] (_SC_SHELL): Likewise.
3310         [POSIX] (_SC_SIGNALS): Likewise.
3311         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3312         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3313         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3314         [POSIX] (_SC_USER_GROUPS): Likewise.
3315         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3316         [POSIX] (_SC_STREAMS): Likewise.
3317         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3318         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3319         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3320         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3321         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3322         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3323         [POSIX] (_PC_FILESIZEBITS): Likewise.
3324         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3325         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3326         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3327         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3328         [POSIX] (uid_t): Likewise.
3329         [POSIX] (gid_t): Likewise.
3330         [POSIX] (off_t): Likewise.
3331         [POSIX] (pid_t): Likewise.
3332         [POSIX] (cuserid): Allow.
3333         (_SC_2_CHAR_TERM): Require constant.
3334         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3335         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3336         variable.
3338 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3340         * sysdeps/nacl/pthread-pids.h: New file.
3341         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3342         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3344         * nptl/pthread-pids.h: New file.
3345         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3346         * nptl/nptl-init.c: Include <pthread-pids.h>.
3347         (__pthread_initialize_minimal_internal):
3348         Call __pthread_initialize_pids instead of set_tid_address syscall.
3350         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3351         * sysdeps/posix/usleep.c: ... here.
3353 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3355         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3356         call_pselect6 object.
3357         [$(subdir) = io]: Remove call_sync_file_range object.
3358         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3359         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3360         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3361         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3363 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3365         * math/s_cproj.c: Add include "math_private.h".
3366         * math/s_cprojf.c: Likewise.
3367         * math/s_cprojl.c: Likewise.
3369 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #18244]
3372         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3373         high mantissa bit when testing whether P is a NaN.
3374         * math/libm-test.inc (remainder_test_data): Add more tests.
3375         (remquo_test_data): Likewise.
3377         [BZ #18049]
3378         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3379         below -32, return the argument, with underflow if subnormal.
3380         * math/auto-libm-test-in: Add more tests of atanh.
3381         * math/auto-libm-test-out: Regenerated.
3383 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3385         [BZ #18434]
3386         * nptl/tst-sem15.c: New file.
3387         * nptl/Makefile (tests): Add it.
3388         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3389         s/<</>>/ to fix typo in EOVERFLOW check.
3390         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3392 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3394         * manual/strings.texi (envz_remove): Fix typo in safety
3395         annotations.
3397 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3398             Steve Ellcey  <sellcey@imgtec.com>
3400         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3401         in order to avoid strict alias warnings.
3402         (iruserok_af): Ditto for ra.
3404 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3406         [BZ #17581]
3407         * malloc/hooks.c
3408         (magicbyte): Convert to a function and avoid returning 0x01.
3409         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3410         (mem2chunk_check): Fix unsigned comparisons to zero.
3411         Hoist defs of sz and magic.
3413 2015-05-19  Richard Henderson  <rth@redhat.com>
3415         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3417         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3419 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3421         [BZ #16159]
3422         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3423         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3424         (reused_arena): Find a non-corrupt arena.
3425         (heap_trim): Pass arena to unlink.
3426         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3427         malloc_printerr.
3428         (top_check): Likewise.
3429         (free_check): Likewise.
3430         (realloc_check): Likewise.
3431         * malloc/malloc.c (malloc_printerr): Add arena argument.
3432         (unlink): Likewise.
3433         (munmap_chunk): Adjust.
3434         (ARENA_CORRUPTION_BIT): New macro.
3435         (arena_is_corrupt): Likewise.
3436         (set_arena_corrupt): Likewise.
3437         (sysmalloc): Use mmap if there are no usable arenas.
3438         (_int_malloc): Likewise.
3439         (__libc_malloc): Don't fail if arena_get returns NULL.
3440         (_mid_memalign): Likewise.
3441         (__libc_calloc): Likewise.
3442         (__libc_realloc): Adjust for additional argument to
3443         malloc_printerr.
3444         (_int_free): Likewise.
3445         (malloc_consolidate): Likewise.
3446         (_int_realloc): Likewise.
3447         (_int_memalign): Don't touch corrupt arenas.
3448         * malloc/tst-malloc-backtrace.c: New test case.
3450         * Makefile (summarize-tests): Fix return value on success.
3452         * manual/string.texi (Envz Functions): Add envz_remove.
3454 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3456         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3457         (invalid_name): New function, broken out of ...
3458         (__opendirat): ... here.  Call it.
3459         (need_isdir_precheck): New function, broken out of ...
3460         (__opendirat): ... here.  Call it.
3461         Use __fxstatat64, not __xstatat64.
3462         (opendir_oflags): New function, broken out of ...
3463         (__opendirat): ... here.  Call it.
3464         (opendir_tail): New function, broken out of ...
3465         (__opendirat): ... here.  Call it.
3466         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3467         opendir_tail, rather than punting to __opendirat.
3468         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3470 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3472         * .gitignore: Ignore generated *.pyc.
3474 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3476         * include/stdio.h: Define __need_wint_t.
3477         * test-skeleton.c: Avoid `for' loop initial declaration.
3478         * nptl/tst-initializers1.c: Use test-skeleton.c.
3480 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3482         [BZ #18418]
3483         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3485 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3487         [BZ #16352]
3488         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3489         (__ieee754_atanh): Force underflow exception for results with
3490         small absolute value.
3491         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3492         (__ieee754_atanhf): Force underflow exception for results with
3493         small absolute value.
3494         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3495         (__ieee754_atanh): Force underflow exception for results with
3496         small absolute value.
3497         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3498         (__ieee754_atanhf): Force underflow exception for results with
3499         small absolute value.
3500         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3501         (__ieee754_atanhl): Force underflow exception for results with
3502         small absolute value.
3503         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3504         (__ieee754_atanhl): Force underflow exception for results with
3505         small absolute value.
3506         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3507         (__ieee754_atanhl): Force underflow exception for results with
3508         small absolute value.
3509         * math/auto-libm-test-in: Do not allow missing underflow
3510         exceptions from atanh.
3511         * math/auto-libm-test-out: Regenerated.
3513         [BZ #18221]
3514         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3515         2**-28 as threshold for returning x or +/- 1/x.
3516         * math/auto-libm-test-in: Add more tests of tan.
3517         * math/auto-libm-test-out: Regenerated.
3519         [BZ #18220]
3520         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3521         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3522         * math/auto-libm-test-in: Add another test of lgamma.
3523         * math/auto-libm-test-out: Regenerated.
3525 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3527         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3528         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3529         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3530         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3531         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3532         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3533         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3536         (log1): Use fabs.  (my_log2): Use fabs.
3537         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3538         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3539         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3540         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3541         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3542         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3543         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3544         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3545         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3546         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3547         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3549 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3551         [BZ #18217]
3552         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3553         as threshold for returning 1 - x.
3554         * math/auto-libm-test-in: Add more tests of erfc.
3555         * math/auto-libm-test-out: Regenerated.
3557 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3559         [BZ #18196]
3560         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3561         threshold for large arguments.
3562         * math/auto-libm-test-in: Add another test of atan.
3563         * math/auto-libm-test-out: Regenerated.
3565         [BZ #16339]
3566         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3567         (__log1p): Force underflow exception for results with small
3568         absolute value.
3569         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3570         (__log1pf): Force underflow exception for results with small
3571         absolute value.
3572         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3573         (__log1p): Force underflow exception for results with small
3574         absolute value.
3575         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3576         (__log1pf): Force underflow exception for results with small
3577         absolute value.
3578         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3579         (__log1pl): Force underflow exception for results with small
3580         absolute value.
3581         * math/auto-libm-test-in: Do not allow missing underflow
3582         exceptions from log1p.
3583         * math/auto-libm-test-out: Regenerated.
3585 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3586             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3588         [BZ #16704]
3589         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3591 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3593         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3594         (libmvec): New variable.
3595         * configure.ac: Added option for mathvec build.
3596         * configure: Regenerated.
3597         * mathvec/Depend: New file.
3598         * mathvec/Makefile: New file.
3599         * shlib-versions: Added libmvec.
3600         * math/Makefile: Added rule for libm.so installation.
3602         * bits/math-vector.h: New file.
3603         * bits/libm-simd-decl-stubs.h: New header.
3604         * math/Makefile (headers): Added new header
3605         libm-simd-decl-stubs.h.
3606         * math/math.h (__MATHCALL_VEC): New macro.
3608         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3609         for conditions in testing functions.
3610         * math/Makefile: Added call of libm-have-vector-test.sh.
3611         * math/libm-test.inc (HAVE_VECTOR): New macros.
3613         * math/libm-test.inc: START refactored.
3614         * math/test-double.c (TEST_MATHVEC): Add define.
3615         * math/test-float.c: Likewise.
3616         * math/test-idouble.c: Likewise.
3617         * math/test-ifloat.c: Likewise.
3618         * math/test-ildoubl.c: Likewise.
3619         * math/test-ldouble.c: Likewise.
3620         * sysdeps/generic/math-tests-arch.h
3621         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3622         architecture check.
3624         * math/test-double.c (FUNC_TEST): New macro.
3625         * math/test-float.c: Likewise.
3626         * math/test-idouble.c: Likewise.
3627         * math/test-ifloat.c: Likewise.
3628         * math/test-ildoubl.c: Likewise.
3629         * math/test-ldouble.c: Likewise.
3630         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3632 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3634         * sysdeps/nacl/fdopendir.c: New file.
3636         * dirent/scandir-tail.c: New file.
3637         * dirent/scandir64-tail.c: New file.
3638         * dirent/Makefile (routines): Add them.
3639         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3640         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3641         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3642         [!SCANDIR] (SCANDIR_TAIL): New macro.
3643         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3644         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3645         (SCANDIRAT): Macro removed.
3646         (SCANDIR_TAIL): New macro.
3647         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3648         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3649         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3650         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3651         (READDIR): Macro removed.
3652         (SCANDIR_TAIL): New macro.
3653         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3654         (SCANDIR_TAIL): New macro.
3656         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3657         * dirent/scandir-cancel.c: ... to this new file.
3658         * dirent/Makefile (routines): Add it.
3659         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3660         * sysdeps/unix/sysv/linux/i386/scandir64.c
3661         (SKIP_SCANDIR_CANCEL): Macro removed.
3662         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3664         * dirent/tst-scandir.c: New file.
3665         * dirent/tst-scandir64.c: New file.
3666         * dirent/Makefile (tests): Add them.
3668 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3670         [BZ #18409]
3671         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3673 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3675         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3676         list.
3678 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3680         * benchtests/bench-strcoll.c: New benchmark.
3681         * benchtests/Makefile: Generate locales and run benchmark.
3682         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3683         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3684         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3685         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3686         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3687         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3688         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3689         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3690         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3691         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3692         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3693         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3694         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3695         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3696         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3697         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3698         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3699         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3700         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3701         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3702         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3703         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3704         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3705         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3707 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3709         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3710         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3712 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3714         * posix/uname-values.h: New file.
3715         * posix/uname.c: Include that instead of <config-name.h>.
3716         * sysdeps/nacl/uname-values.h: New file.
3717         * sysdeps/arm/nacl/uname-values.h: New file.
3719 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3721         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3722         splitting into fields.
3724 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3726         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3727         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3728         * locale/localeinfo.h: Add enum collation_encoding_type.
3729         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3730         * programs/ld-collate.c (collate_output): Add encoding type info.
3731         * string/strcoll_l.c (STRDIFF): New function.
3732         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3733         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3735 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3737         [BZ #18397]
3738         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3739         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3740         <fpu_control.h> instead of <math/fpu_control.c>.
3741         * sysdeps/mips/mips32/fpu/Makefile: New file.
3743 2015-05-11  Andreas Schwab  <schwab@suse.de>
3745         [BZ #18007]
3746         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3747         nss_endgrent.
3748         (_nss_compat_endgrent): Call nss_endgrent.
3749         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3750         nss_endpwent.
3751         (_nss_compat_endpwent): Call nss_endpwent.
3752         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3753         needent, call nss_setspent only if non-zero.
3754         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3755         (internal_endspent): Don't call nss_endspent.
3756         (_nss_compat_endspent): Call nss_endspent.
3757         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3758         Remove.  All uses removed.
3759         (internal_setent): Remove parameter stayopen, add parameter
3760         stream.  Use it instead of global variable.
3761         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3762         (internal_endent, internal_getent): Add parameter stream.  Use it
3763         instead of global variable.
3764         (CONCAT(_nss_files_end,ENTNAME))
3765         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3766         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3767         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3768         uses removed.
3769         (internal_setent, internal_endent): Add parameter stream.  Use it
3770         instead of global variable.
3771         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3772         stream.
3773         (get_next_alias): Add parameter stream.
3774         (_nss_files_getaliasent_r): Pass global stream.
3775         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3776         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3777         (_nss_files_gethostbyname4_r): Pass local stream to
3778         internal_setent, internal_getent and internal_endent.  Remove
3779         locking.
3781 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3783         * tst-strfmon1.c (tests): Update expected currency symbol.
3785 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3787         * sysdeps/nacl/gethostname.c: New file.
3789 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3791         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3792         and sinh.
3793         * math/auto-libm-test-out: Regenerated.
3794         * sysdeps/i386/fpu/libm-test-ulps: Update.
3795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3799         [BZ #18125]
3800         * stdlib/tst-setcontext3.c: New file.
3801         * stdlib/tst-setcontext3.sh: New file.
3802         * stdlib/Makefile (tests): Add tst-setcontext3.
3803         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3804         to verify test program created output file.
3805         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3806         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3807         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3808         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3810 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3812         [BZ #18383]
3813         * elf/tst-tlsalign.c: New file.
3814         * elf/tst-tlsalign-static.c: New file.
3815         * elf/tst-tlsalign-lib.c: New file.
3816         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3817         (tests-static): Add tst-tlsalign-static.
3818         (modules-names): Add tst-tlsalign-lib.
3819         (test-xfail-tst-tlsalign): New variable.
3820         (test-xfail-tst-tlsalign-static): New variable.
3822         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3823         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3825 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3827         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3828         csqrt, erfc, sin and sincos.
3829         * math/auto-libm-test-out: Regenerated.
3830         * sysdeps/i386/fpu/libm-test-ulps: Update.
3831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3833 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3835         * sysdeps/aarch64/libm-test-ulps: Update.
3837 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3839         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3840         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3841         * math/auto-libm-test-out: Regenerated.
3842         * sysdeps/i386/fpu/libm-test-ulps: Update.
3843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3845 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3847         [BZ #18265]
3848         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3849         (wcsncpy): Likewise.
3851 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3853         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3854         Assume __ASSUME_FALLOCATE is always true.
3855         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3856         (__posix_fallocate64_l64): Likweise.
3857         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3858         (posix_fallocate): Likewise.
3859         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3860         (__posix_fallocate64_l64): Likewise.
3861         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3862         [!__ASSUME_FALLOCATE]: Add comment.
3864 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3866         * sysdeps/unix/sysv/linux/i386/Makefile
3867         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3868         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3869         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3870         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3871         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3872         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3873         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3875 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3877         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3878         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3879         tgamma.
3880         * math/auto-libm-test-out: Regenerated.
3881         * sysdeps/i386/fpu/libm-test-ulps: Update.
3882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3886         * math/auto-libm-test-in: Add more tests of tgamma.
3887         * math/auto-libm-test-out: Regenerated.
3888         * sysdeps/i386/fpu/libm-test-ulps: Update.
3889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3891         * math/auto-libm-test-in: Add more tests of tanh.
3892         * math/auto-libm-test-out: Regenerated.
3893         * sysdeps/i386/fpu/libm-test-ulps: Update.
3894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3896         * math/auto-libm-test-in: Add more tests of tan.
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 cos, sin and sincos.
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         * math/auto-libm-test-in: Add another test of pow.
3907         * math/auto-libm-test-out: Regenerated.
3908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3910         * math/auto-libm-test-in: Add more tests of lgamma.
3911         * math/auto-libm-test-out: Regenerated.
3912         * sysdeps/i386/fpu/libm-test-ulps: Update.
3913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3915         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3916         log1p.
3917         * math/auto-libm-test-out: Regenerated.
3918         * sysdeps/i386/fpu/libm-test-ulps: Update.
3919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3921 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3923         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3924         Elf64_Chdr structs and ELFCOMPRESS constants.
3926 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3928         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3929         expm1.
3930         * math/auto-libm-test-out: Regenerated.
3931         * sysdeps/i386/fpu/libm-test-ulps: Update.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934         * math/auto-libm-test-in: Add more tests of erf and erfc.
3935         * math/auto-libm-test-out: Regenerated.
3936         * sysdeps/i386/fpu/libm-test-ulps: Update.
3937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3941         * config.h.in (HAVE_AARCH64_BE): Add.
3943 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3945         * math/auto-libm-test-in: Add more tests of csqrt.
3946         * math/auto-libm-test-out: Regenerated.
3947         * sysdeps/i386/fpu/libm-test-ulps: Update.
3948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3951         * math/auto-libm-test-out: Regenerated.
3952         * sysdeps/i386/fpu/libm-test-ulps: Update.
3953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3955         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3957 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3959         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3960         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3962         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3963         (euidaccess, eaccess): Define as weak aliases.
3965         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3966         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3967         but __suseconds_t is often 'long int' so some sources assume that
3968         type is being used (e.g. they use %ld to print tv_usec).
3970 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3972         [BZ #18007]
3973         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3974         (CVE-2014-8121)
3975         * nss/tst-nss-getpwent.c: New file.
3976         * nss/Makefile (tests): Add new test.
3978 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3980         [BZ #18346]
3981         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3982         exponents less than 48 as cases where high part of mantissa needs
3983         examining to determine whether argument is integral.
3984         * math/libm-test.inc (round_test_data): Add more tests.
3986 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3988         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3990 2015-04-27  David S. Miller  <davem@davemloft.net>
3992         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3993         __tls_get_addr.
3994         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3996 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3998         [BZ#18333]
3999         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4001 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4003         [BZ#18333]
4004         * time/tzset.c (parse_tzname): Return error on memory allocation
4005         failure.
4006         * test-skeleton.c (struct temp_name_list): Change type of name
4007         member to non-const.
4008         (add_temp_file): Create a copy of the file name.
4009         (delete_temp_files): Deallocate memory.
4010         (create_temp_file): Add comment.
4012 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4014         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4015         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4017 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4019         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4020         * sysdeps/arm/configure: Regenerated.
4022 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4024         [BZ #17715]
4025         * time/tzfile.c (__tzfile_read): Check for large values of
4026         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4027         * time/tzset.c (__tzstring_len): New function, based on the old
4028         __tzstring function.
4029         (__tzstring): Call __tzstring_len.
4030         (parse_tzname): New helper function extracted from
4031         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4032         the input string.
4033         (parse_offset): New helper function extracted from
4034         __tzset_parse_tz.  Replace switch with fallthrough with
4035         initialization before sscanf.
4036         (parse_rule): Likewise.
4037         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4038         new-style function definition.
4039         * timezone/Makefile (tests): Add tst-tzset.
4040         (tst-tzset.out): Dependencies on time zone files.
4041         (tst-tzset-ENV): Set TZDIR.
4042         (testdata/XT%): Copy crafted time zone files.
4043         * timezone/README: Mention crafted time zone files.
4044         * timezone/testdata/XT1, timezone/testdata/XT2,
4045         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4046         files.
4047         * timezone/tst-tzset.c: New test.
4049 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4051         * Makeconfig (+gccwarn): Remove -Winline.
4053 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4055         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4057 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4059         * NEWS: Mention sysconf() cache information support for s390.
4060         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4062 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4064         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4065         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4066         (__nearbyint): Likewise.
4067         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4068         (copysignl): Likewise.
4070 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4072         [BZ #18287]
4073         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4074         based on padding.  (CVE-2015-1781)
4076 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4078         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4079         libc-vdso.h.
4080         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4081         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4082         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4083         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4084         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4085         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4086         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4087         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4088         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4090         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4091         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4092         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4093         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4094         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4095         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4096         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4097         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4098         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4099         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4100         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4101         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4102         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4104 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4106         * stdlib/setenv.c (__add_to_environ):
4107         Dump core quickly if setenv (..., NULL, ...) is called.
4108         This time, do it the right way, and pacify GCC with a pragma.
4110 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4112         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4113         IMAP->l_prev cannot be null, and #if out the code for the contrary
4114         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4115         believe that NS (&_dl_ns[NSID]) could point outside the array.
4117         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4118         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4119         before using NSID as an index.
4121 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4123         [BZ #17825]
4124         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4125         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4126         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4128 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4130         Add preliminary port to Google Native Client on ARM.
4131         * abi-tags (.*-.*-nacl.*): New entry.
4132         * sysdeps/arm/nacl: New directory.
4133         * sysdeps/nacl: New directory.
4135 2015-04-16  David S. Miller  <davem@davemloft.net>
4137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4138         lowlevellock-futex.h
4140 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4142         * sysdeps/tile/configure.ac: New file.
4143         * sysdeps/tile/configure: Regenerated.
4145 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4147         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4148         conditionals for weak_alias and libc_hidden_weak.
4149         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4150         libc_hidden_weak and weak_alias.
4151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4152         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4153         and weak_alias for static one.
4155 2015-04-15  David S. Miller  <davem@davemloft.net>
4157         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4159 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4161         [BZ #18206]
4162         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4163           Use signed comparision instead of substraction to avoid
4164           overflow bug.
4165         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4166           Take the sign of ret.
4167         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4168           Do not expect precise return values. Only the sign matters.
4169         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4170         * wcsmbs/test-wcsncmp.c: New File.
4171         * string/test-strncmp.c: Add wcsncmp support.
4173 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4175         [BZ #6792]
4176         * math/w_log1p.c: New file.
4177         * math/w_log1pf.c: Likewise.
4178         * math/w_log1pl.c: Likewise.
4179         * math/Makefile (libm-calls): Add w_log1p.
4180         * math/s_log1pl.c (log1pl): Remove weak_alias.
4181         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4182         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4183         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4184         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4185         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4186         [NO_LONG_DOUBLE] (log1pl): Likewise.
4187         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4188         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4189         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4190         (log1p): Remove long_double_symbol.
4191         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4192         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4193         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4194         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4195         remove weak_alias for corresponding log1p function.
4196         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4197         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4198         * sysdeps/ia64/fpu/w_log1p.c: New file.
4199         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4200         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4201         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4203 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4205         [BZ #18247]
4206         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4207         decimal exponent by 1.
4208         * stdlib/tst-strtod-round-data: Add more tests.
4209         * stdlib/tst-strtod-round.c (tests): Regenerated.
4211 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4213         * math/auto-libm-test-in: Add more tests of clog and clog10.
4214         * math/auto-libm-test-out: Regenerated.
4215         * sysdeps/i386/fpu/libm-test-ulps: Update.
4216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4218 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4220         * Makeconfig (module-cppflags): Exclude all .v.i files.
4221         (skip-module-cppflags): Variable removed.
4223         * configure.ac (libc_config_ok): Initialize before reading
4224         preconfigure scripts, not after.
4225         * configure: Regenerated.
4227         * test-skeleton.c (TIMEOUT): Move #define to top level.
4228         (main): Grok environment variable TEST_DIRECT.  If set, print
4229         test expectation details into that file and then behave as if
4230         given --direct.
4232 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4234         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4235         warning on 32-bit.
4237 2015-04-08  David S. Miller  <davem@davemloft.net>
4239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4241 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4243         * math/auto-libm-test-in: Add more tests of atanh.
4244         * math/auto-libm-test-out: Regenerated.
4245         * sysdeps/i386/fpu/libm-test-ulps: Update.
4246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4248         * math/auto-libm-test-in: Add more tests of atan.
4249         * math/auto-libm-test-out: Regenerated.
4250         * sysdeps/i386/fpu/libm-test-ulps: Update.
4251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4253 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4255         * elf/pldd.c (main): Rewrite to use struct
4256         scratch_buffer instead of extend_alloca.
4257         * elf/pldd-xx.c (find_maps): Likewise.
4258         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4259         <alloca.h>.
4260         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4261         scratch_buffer instead of extend_alloca.
4262         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4263         grp/compat-initgroups.c.
4264         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4265         Rewrite to use struct scratch_buffer instead of extend_alloca.
4266         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4267         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4269 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4271         * math/auto-libm-test-in: Add more tests of cbrt.
4272         * math/auto-libm-test-out: Regenerated.
4273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4275         * math/auto-libm-test-in: Add more tests of cabs.
4276         * math/auto-libm-test-out: Regenerated.
4277         * sysdeps/i386/fpu/libm-test-ulps: Update.
4278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4280         [BZ #18210]
4281         [BZ #18211]
4282         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4283         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4284         computations.
4285         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4286         clog10.
4287         * math/auto-libm-test-out: Regenerated.
4288         * sysdeps/i386/fpu/libm-test-ulps: Update.
4289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4291         [BZ #18197]
4292         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4293         (atan): Set FE_TONEAREST mode for internal computations.
4294         * math/auto-libm-test-in: Add more tests of atan.
4295         * math/auto-libm-test-out: Regenerated.
4297 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4299         [BZ #17930]
4300         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4302 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4304         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4306 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4308         * include/scratch_buffer.h: New file.
4309         * malloc/scratch_buffer_grow.c: Likewise.
4310         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4311         * malloc/scratch_buffer_set_array_size.c: Likewise.
4312         * malloc/tst-scratch_buffer.c: Likewise.
4313         * malloc/Makefile (routines): Add scratch_buffer_grow.
4314         (tests): Add test case.
4315         * malloc/Versions (GLIBC_PRIVATE): Export
4316         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4317         __libc_scratch_buffer_set_array_size.
4319 2015-04-06  Richard Henderson  <rth@redhat.com>
4321         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4322         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4324         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4325         unsigned int before printing.
4327 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4329         [BZ #17596]
4330         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4331         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4333 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4335         * include/libc-internal.h (libc_max_align_t): Define.
4337 2015-04-02  Andreas Schwab  <schwab@suse.de>
4339         [BZ #16850]
4340         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4342 2015-04-02  Mel Gorman  <mgorman@suse.de>
4344         [BZ #17195]
4345         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4346         as well as the main arena.
4348 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4350         [BZ #18185]
4351         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4352         sharing L2 cache to 2 for Silvermont/Knights Landing.
4354 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4356         [BZ #17711]
4357         * config.make.in (have-protected-data): New.
4358         * configure.ac: Check linker support for protected data symbol.
4359         * configure: Regenerated.
4360         * elf/Makefile (modules-names): Add tst-protected1moda and
4361         tst-protected1modb if $(have-protected-data) is yes.
4362         (tests): Add tst-protected1a and tst-protected1b if
4363         $(have-protected-data) is yes.
4364         ($(objpfx)tst-protected1a): New.
4365         ($(objpfx)tst-protected1b): Likewise.
4366         (tst-protected1modb.so-no-z-defs): Likewise.
4367         * elf/tst-protected1a.c: New file.
4368         * elf/tst-protected1b.c: Likewise.
4369         * elf/tst-protected1mod.h: Likewise.
4370         * elf/tst-protected1moda.c: Likewise.
4371         * elf/tst-protected1modb.c: Likewise.
4373 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4375         [BZ #17711]
4376         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4377         indicates it is called from do_lookup_x on relocation against
4378         protected data, skip the data definion in the executable from
4379         copy reloc.
4380         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4381         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4382         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4383         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4384         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4385         otherwise to 0.
4386         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4387         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4388         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4389         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4390         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4391         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4393 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4395         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4396         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4398 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4400         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4401         THREAD_SETMEM_NC.
4402         * sysdeps/x86_64/nptl/tls.h: Ditto.
4404 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4406         * dlfcn/tststatic.c (main): Converted to ...
4407         (do_test): ... this.
4408         (TEST_FUNCTION): New macro.
4409         Include test-skeleton.c.
4411 2015-03-26  Alan Modra  <amodra@gmail.com>
4413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4414         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4415         zero for undefined weak.
4416         (elf_machine_plt_conflict): Similarly.
4418 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4420         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4421         atanh.
4422         * math/auto-libm-test-out: Regenerated.
4423         * sysdeps/i386/fpu/libm-test-ulps: Update.
4424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4426         * math/auto-libm-test-in: Add another test of asin.
4427         * math/auto-libm-test-out: Regenerated.
4428         * sysdeps/i386/fpu/libm-test-ulps: Update.
4429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4431         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4432         Remove macro.
4433         (LLL_EBX_REG): Likewise.
4434         (LLL_ENTER_KERNEL): Likewise.
4436         * math/auto-libm-test-in: Add more tests of asin.
4437         * math/auto-libm-test-out: Regenerated.
4438         * sysdeps/i386/fpu/libm-test-ulps: Update.
4439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441         [BZ #18138]
4442         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4443         libc_do_syscall_args): New structure.
4444         (INTERNAL_SYSCALL_MAIN_0): New macro.
4445         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4446         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4447         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4448         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4449         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4450         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4451         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4452         Replace conditional definitions by conditional definitions of ....
4453         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4454         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4455         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4456         (libpthread-sysdep_routines): Add libc-do-syscall.
4457         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4458         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4459         to __NR_futex not 240.
4461 2015-03-25  Alan Modra  <amodra@gmail.com>
4463         * NEWS: Advertise TLS optimization.
4464         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4465         (DT_PPC_NUM): Increment.
4466         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4467         (CHECK_STATIC_TLS): Use here.
4468         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4469         TLS descriptors.
4470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4471         * sysdeps/powerpc/dl-tls.c: New file.
4472         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4473         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4474         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4475         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4480 2015-03-25  Alan Modra  <amodra@gmail.com>
4482         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4483         for overlapping .opd entries" to "support...".
4484         * sysdeps/powerpc/powerpc64/configure: Regenerate
4486 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4488         * math/auto-libm-test-in: Add more tests of acos.
4489         * math/auto-libm-test-out: Regenerated.
4490         * sysdeps/i386/fpu/libm-test-ulps: Update.
4491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4493         * math/auto-libm-test-in: Add more tests of expm1.
4494         * math/auto-libm-test-out: Regenerated.
4495         * sysdeps/i386/fpu/libm-test-ulps: Update.
4496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4498 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4500         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4501         * math/auto-libm-test-out: Regenerated.
4502         * sysdeps/i386/fpu/libm-test-ulps: Update.
4503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4505         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4508         * math/auto-libm-test-in: Add more tests of log2.
4509         * math/auto-libm-test-out: Regenerated.
4510         * sysdeps/i386/fpu/libm-test-ulps: Update.
4511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4513 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4515         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4516         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4517         _IO_IS_APPENDING bit in READ_WRITE instead.
4519 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4521         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4522         (__determine_cpumask_size): Replace extend_alloca with a
4523         variable-length array.  Do not treat res == 0 as an error.
4525 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4527         [BZ #18100]
4528         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4529         and integer overflow.
4530         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4531         (main): Add integer overflow tests.
4532         * manual/pattern.texi (Calling Wordexp): Document additional use
4533         for WRDE_SYNTAX.
4535 2015-03-23  Alan Modra  <amodra@gmail.com>
4537         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4538         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4539         and false branch of conditional.
4540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4541         Likewise.
4543 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4545         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4546         libc-modules.h
4547         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4548         unused declaration of _hurd_intr_rpc_msg_in_trap.
4549         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4550         defined instead of whether it is non-zero.
4551         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4552         input constraint instead of both input and output constraint.  Use ecx
4553         clobber instead of %ecx.
4554         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4555         mutex_unlock): Use a statement expression instead of an expression list.
4556         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4557         type to vm_size_t instead of vm_address_t.
4558         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4559         defined instead of whether it is non-zero.
4560         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4561         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4562         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4563         comparisons with mapaddr.
4564         * nscd/nscd-client.h: Include <time.h>.
4565         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4566         9th parameter to __vm_region instead of int.
4567         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4568         * scripts/check-local-headers.sh (exclude): Add device/,
4569         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4570         cthreads.h.
4572 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4574         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4575         to account for alignment padding.
4576         * sysdeps/arm/memmove.S: Likewise.
4578 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4580         * sysdeps/unix/sysv/linux/generic/README: New file.
4582 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4584         [BZ #18138]
4585         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4586         (futex_abstimed_wait)
4587         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4588         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4589         of lll_futex_timed_wait.
4591 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4593         [BZ #17542]
4594         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4596 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4598         [BZ #17090]
4599         [BZ #17620]
4600         [BZ #17621]
4601         [BZ #17628]
4602         * NEWS: Update.
4603         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4604         entries with Static TLS too.  Skip entries past the end of the
4605         allocated DTV, from Alan Modra.
4606         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4607         Static TLS DTV entry set up from...
4608         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4609         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4610         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4611         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4612         for Static TLS.
4613         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4614         that the slot we find is associated with the given map before
4615         using its generation count.
4616         * nptl_db/db_info.c: Include ldsodefs.h.
4617         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4618         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4619         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4620         (link_map::l_tls_offset): New struct field.
4621         (dtv_t::counter): Likewise.
4622         (rtld_global): New struct.
4623         (_rtld_global): New rtld variable.
4624         (dl_tls_dtv_slotinfo_list): New rtld global field.
4625         (dtv_slotinfo_list): New struct.
4626         (dtv_slotinfo): Likewise.
4627         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4628         (td_lookup): Rename to...
4629         (td_mod_lookup): ... this.  Use new mod parameter instead of
4630         LIBPTHREAD_SO.
4631         * nptl_db/td_thr_tlsbase.c: Include link.h.
4632         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4633         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4634         addresses even if the DTV is out of date or missing them.
4635         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4636         index zero-length arrays.
4637         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4638         (td_lookup): Make it a macro implemented in terms of...
4639         (td_mod_lookup): ... this declaration.
4640         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4641         (DB_MAIN_VARIABLE): Likewise.
4643 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4645         [BZ #18134]
4646         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4648 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4650         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4652 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4654         [BZ #18128]
4655         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4656         (atomic_add, atomic_increment_and_test)
4657         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4659 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4661         * stdlib/setenv.c (__add_to_environ):
4662         Dump core quickly if setenv (..., NULL, ...) is called.
4664 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4666         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4667         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4668         all the necessary asm magic in one place.
4669         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4670         using those.
4672 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4674         [BZ #14906]
4675         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4676         traced file mtime. Use consistent log message.
4677         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4678         (register_traced_file): Call install_watches. Always set mtime.
4679         (invalidate_cache): Iterate over all trace files. Call install_watches.
4680         (inotify_check_files): Don't inline. Handle watching parent
4681         directories and configuration file movement in and out.
4682         (handle_inotify_events): New function.
4683         (main_loop_poll): Call handle_inotify_events.
4684         (main_loop_epoll): Likewise.
4685         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4686         (struct traced_file): Use array of inotify fds. Add parent directory,
4687         and basename.
4688         (struct database_dyn): Remove unused file_mtime.
4689         (init_traced_file): New inline function.
4690         (define_traced_file): New macro.
4691         * nss/nss_db/db-init.c: Use define_traced_file.
4692         (_nss_db_init): Use init_traced_file.
4693         * nss/nss_files/files-init.c: Use define_traced_file.
4694         (_nss_files_init): Use init_traced_file.
4696 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4698         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4699         [_LIBC]: Do not include <stdlib.h>.
4700         [!_LIBC] (abort): Remove declaration.
4701         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4702         _FP_STATIC_ASSERT instead of conditionally calling abort.
4703         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4704         (_FP_EXTEND_CNAN): Likewise.
4705         (FP_TRUNC): Likewise.
4706         (__FP_CLZ): Likewise.
4707         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4709 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4711         * manual/string.texi (XPG basename): Fix prototype.
4713 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4715         [BZ #18080]
4716         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4717         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4718         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4719         (__setcontext): Likewise.
4720         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4721         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4722         Call rt_sigprocmask syscall one time to set new signal mask
4723         and retrieve the current signal mask instead of two calls.
4724         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4725         (__swapcontext): Likewise.
4726         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4727         * stdlib/tst-setcontext2.c: New file.
4729 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4731         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4733 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4735         [BZ #18093]
4736         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4737         the wrong size.
4739 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4741         [BZ #18043]
4742         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4744 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4746         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4747         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4748         Remove define.
4749         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4750         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4751         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4752         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4753         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4754         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4755         define.
4756         * nptl_db/td_symbol_list.c (td_lookup): Remove
4757         HAVE_ASM_GLOBAL_DOT_NAME code.
4758         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4759         HAVE_ASM_GLOBAL_DOT_NAME check.
4760         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4761         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4762         (DOT_LABEL): Remove define.
4763         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4764         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4765         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4766         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4767         (__TLS_GET_ADDR): Likewise.
4768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4769         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4771 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4773         [BZ #18111]
4774         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4775         (_FPU_SETCW): Initialize cw from fpsr before storing.
4776         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4777         (fesetexceptflag): Rewrite using fpu_control.h.
4778         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4780 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4782         [BZ #18110]
4783         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4784         asms.
4785         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4787 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4789         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4790         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4791         abort.
4792         (_FP_FMA): Likewise.
4793         (_FP_DIV): Likewise.
4795 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4797         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4798         with 0 in that case.
4799         * Makefile (summarize-tests): New canned sequence, factored out of
4800         commands for targets tests and xtests.  Display summary lines that
4801         don't start with PASS: or XFAIL: rather than ones that do start with
4802         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4803         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4804         do start with ERROR: or FAIL:.
4805         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4806         (except for [$(build-shared) = yes]).
4807         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4808         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4809         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4810         * nptl/Makefile: Revert 2015-03-04 changes.
4811         [$(CXX) empty] (tests-unsupported): New variable.
4812         * debug/Makefile: Likewise.
4814         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4815         gnulib file.  Replace __attribute with __attribute__ throughout.
4817 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4819         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4821 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4823         [BZ #18104]
4824         * math/auto-libm-test-in: Add another test of pow.
4825         * math/auto-libm-test-out: Regenerated.
4827 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4829         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4830         $(config-cflags-nofma).
4832 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4834         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4835         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4836         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4837         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4838         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4839         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4840         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4841         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4842         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4843         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4844         Add comment on closing #endif.
4846 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4848         * posix/wordexp.c (CHAR_IN_SET): New macro.
4849         (parse_param): Use it.
4851 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4853         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4855 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4857         [BZ #18043]
4858         * posix/wordexp.c (parse_param): Fix buffer overflow.
4859         * posix/wordexp-test.c (test_case): Add test case.
4861 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4863         [BZ #18042]
4864         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4865         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4867 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4869         [BZ #18043]
4870         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4871         (do_bz18043): Delete.
4872         (at_page_end): New.
4873         (testit): Refactor to have words at the edge of unreadable page.
4875 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4877         [BZ #16734]
4878         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4879         Cleanup read-only streams as well.
4880         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4882 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4884         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4885         <bits/libc-lockP.h>
4887 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4889         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4890         on [__KERNEL__].
4891         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4892         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4893         * soft-fp/op-common.h (_FP_DECL): Likewise.
4895 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4897         * elf/ifuncdep2.c (global): Replace
4898         __attribute__((visibility("protected"))) with
4899         asm (".protected global").
4900         * elf/ifuncmod1.c (global): Likewise.
4901         * elf/ifuncmod5.c (global): Likewise.
4903 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4905         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4906         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4908 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4910         * manual/install.texi (Configuring and compiling):
4911         Document test-wrapper-env-only.
4912         * INSTALL: Regenerated.
4914 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4916         [BZ #18043]
4917         * posix/wordexp.c (parse_param): Fix buffer overflow.
4918         * posix/wordexp-test.c (do_bz18043): Add test case.
4920 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4922         * time/tst-strptime2.c (do_test): Ensure failing tests are
4923         reported correctly.
4924         * time/tst-strptime3.c (do_test): Likewise.
4926 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4928         Fix aio_error thread-safety.
4929         * sysdeps/pthread/aio_error.c: New file
4930         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4931         synchronization.
4933 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4935         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4936         (group_number, vfprintf): Use it.
4937         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4938         (JUMP, REF): Use it.
4939         (WORK_BUFFER_SIZE): New enum constant.
4940         (process_arg, vfprintf): Use it.
4942 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4944         * manual/errno.texi (Error Messages): Complete example function
4945         by adding missing #define.
4946         (program_invocation_name): Add statement indicating GNU
4947         extension and reference which header file declares the variable.
4948         (program_invocation_short_name): Likewise.
4950 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4952         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4953         compatibility note.
4955 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4957         * Makeconfig (test-wrapper-env-only): New variable.
4958         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4959         then use that with $(test-wrapper-env-only) rather than using
4960         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4962 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4964         [BZ #18082]
4965         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4966         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4967         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4968         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4969         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4970         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4971         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4972         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4973         Likewise.
4974         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4975         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4976         Likewise.
4977         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4978         Likewise.
4979         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4980         Likewise.
4981         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4982         Likewise.
4983         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4985         Likewise.
4986         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4987         Likewise.
4988         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4989         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4991 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4993         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4994         (ETH_ALEN): New macro.
4995         (struct ether_addr): Use it for length of ether_addr_octet.
4997         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4998         (setdb): Don't call __nss_configure_lookup for "rpc".
4999         (do_test): Don't call test_rpc.
5000         (output_rpcent, test_rpc): Functions moved ...
5001         * sunrpc/test-rpcent.c: ... to this new file.
5002         * sunrpc/Makefile (tests): Add it.
5004         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5005         __xpg_sigpause.
5006         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5007         * nptl/tst-signal6.c: Likewise.
5008         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5009         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5011         * configure.ac (libc_cv_cxx_link_ok): New check.
5012         Reset CXX to empty if it fails to link.
5013         * configure: Regenerated.
5014         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5015         bug-atexit3-lib only if $(CXX) is nonempty.
5016         * nptl/Makefile (tests): Likewise for tst-cancel24.
5017         (tests, tests-static): Likewise for tst-cancel24-static.
5018         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5019         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5020         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5021         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5023 2015-03-04  Andreas Schwab  <schwab@suse.de>
5025         [BZ #17631]
5026         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5027         for non-GCC compilers.
5028         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5029         Likewise.
5031 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5033         [BZ #17776]
5034         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5035         integer before bitwise and assembly operations.
5036         (feclearexcept): Likewise.
5037         * math/test-fenvinline.c: New file.
5038         * math/Makefile: Add test-fenvinline test.
5040 2015-03-03  Alan Modra  <amodra@gmail.com>
5042         [BZ #16512]
5043         * scripts/localplt.awk: Strip off symbol version.
5044         * NEWS: Mention bug fix.
5046 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5048         * sysdeps/pthread/timer_routines.c
5049         (timer_free_list, thread_free_list, thread_active_list): Make static.
5051 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5053         [BZ #17779]
5054         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5055         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5056         Undefine.
5057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5058         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5059         Likewise.
5060         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5061         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5062         Likewise.
5064 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5066         [BZ #18036]
5067         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5068         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5070 2015-03-02  Andreas Schwab  <schwab@suse.de>
5072         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5073         variable name.
5075 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5077         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5078         Return error status.
5080 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5082         [BZ #15969]
5083         * locale/findlocale.c (_nl_find_locale): Introduce const
5084         version of loc_name and drop unsafe type casts.
5086 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5088         * dlfcn/tststatic2.c (main): Converted to ...
5089         (do_test): ... this.
5090         (TEST_FUNCTION): New macro.
5091         Include test-skeleton.c.
5093 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5095         [BZ #17711]
5096         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5097         (tests-pie): Add vismain.
5098         (CFLAGS-vismain.c): New.
5099         * elf/vismain.c: Add comments for PIE requirement.
5101 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5103         [BZ #18046]
5104         [BZ #18047]
5105         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5106         0x1p-56L as threshold for just returning the argument.
5107         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5108         0x1p-32L as threshold for just returning the argument.
5109         * math/auto-libm-test-in: Add more tests of atanh.
5110         * math/auto-libm-test-out: Regenerated.
5111         * sysdeps/i386/fpu/libm-test-ulps: Update.
5112         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5114 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5116         * string/bcopy.c (bcopy): Call memmove for performance.
5118 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5120         * string/bzero.c (__bzero): Call memset for performance.
5122 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5124         [BZ #18068]
5125         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5126         to 00100000.
5128 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5130         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5132 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5134         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5135         (__kernel_standard): Use CSTR macro when setting exc.name.
5136         * sysdeps/ieee754/Makefile [$(subdir) = math]
5137         (CFLAGS-k_standard.c): Remove variable.
5139         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5140         setting p and q from "else if" to "else".
5141         (qzero): Likewise.
5142         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5143         (qone): Likewise.
5144         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5145         (qzerof): Likewise.
5146         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5147         (qonef): Likewise.
5148         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5149         (qzero): Likewise.
5150         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5151         (qone): Likewise.
5153         [BZ #18038]
5154         [BZ #18039]
5155         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5156         return pi/2 for arguments below 0x1p-113L.
5157         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5158         return pi/2 for arguments below 0x1p-106L.
5159         * math/auto-libm-test-in: Add more tests of acos.
5160         * math/auto-libm-test-out: Regenerated.
5162         [BZ #16351]
5163         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5164         (MO): New macro.
5165         (__ieee754_asin): Force underflow exception for results with small
5166         absolute value.
5167         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5168         (MO): New macro.
5169         (__ieee754_asinf): Force underflow exception for results with
5170         small absolute value.
5171         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5172         (__ieee754_asin): Force underflow exception for results with small
5173         absolute value.
5174         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5175         (__ieee754_asinf): Force underflow exception for results with
5176         small absolute value.
5177         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5178         (__ieee754_asinl): Force underflow exception for results with
5179         small absolute value.
5180         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5181         (__ieee754_asinl): Force underflow exception for results with
5182         small absolute value.
5183         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5184         (__ieee754_asinl): Force underflow exception for results with
5185         small absolute value.
5186         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5187         Include <math.h>.
5188         * math/auto-libm-test-in: Do not mark underflow exceptions as
5189         possibly missing for bug 16351.
5190         * math/auto-libm-test-out: Regenerated.
5192         [BZ #18030]
5193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5194         of power of 2 down when low part has opposite sign.
5195         * math/libm-test.inc (logb_test_data): Add more tests.
5197 2015-02-26  Andreas Schwab  <schwab@suse.de>
5199         [BZ #18032]
5200         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5201         over collating symbol inside a bracket expression.  Minor cleanup.
5202         * posix/tst-fnmatch3.c (do_test): Add test case.
5204 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5206         [BZ #18029]
5207         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5208         Adjust exponent of power of 2 down when low part has opposite
5209         sign.
5210         * math/libm-test.inc (ilogb_test_data): Add more tests.
5212 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5214         [BZ #15969]
5215         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5216         the previous change.
5218         [BZ #15969]
5219         * locale/findlocale.c (_nl_find_locale): Retry archive search
5220         after alias expansion.
5222 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5224         * iconv/tst-iconv3.c (main): Converted to ...
5225         (do_test): ... this.
5226         (TEST_FUNCTION): New macro.
5227         Include test-skeleton.c.
5229         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5230         (convert): Make function static.
5231         (test_unalign): Likewise.  Add const to argument pointee types.
5232         (main): Replace with static function do_test.
5233         Print "Succeeded." only if RET is zero.
5234         (TEST_FUNCTION): New macro.
5235         Include test-skeleton.c.
5237         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5238         returns a null pointer.
5240 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5242         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5243         to __memcpy_ppc only for static builds.
5245 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5247         [BZ #18020]
5248         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5249         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5250         * math/auto-libm-test-in: Add more tests of asinh.
5251         * math/auto-libm-test-out: Regenerated.
5252         * sysdeps/i386/fpu/libm-test-ulps: Update.
5253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5255 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5257         [BZ #15850]
5258         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5259         and ip6_mtuinfo definitions here.
5260         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5261         in this define too.  Update comment.
5263 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5265         * elf/sprof.c (load_shobj): Tweak error message to match others.
5267 2015-02-24  Kevin Easton  <kevin@guarana.org>
5269         [BZ #16145] (partial fix)
5270         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5271         to reduce lock contention.
5273 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5275         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5276         (struct timex): Update time comment.
5277         (ADJ_SETOFFSET): Define.
5279 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5281         [BZ #18019]
5282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5283         2**56 not 2**28 as threshold for log (2x) formula.
5284         * math/auto-libm-test-in: Add more tests of acosh.
5285         * math/auto-libm-test-out: Regenerated.
5286         * sysdeps/i386/fpu/libm-test-ulps: Update.
5287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5291         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5292         parenthesis around the buf assignment.
5293         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5295 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5297         [BZ #16783]
5298         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5299         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5300         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5301         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5302         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5303         * math/libm-test.inc (scalb_test_data): Add more tests.
5305 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5307         [BZ #17916]
5308         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5309         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5311 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5313         [BZ #17523]
5314         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5315         * io/bits/fcntl2.h (open): Use it.
5316         (openat): Likewise.
5317         * io/open.c (__libc_open): Likewise.
5318         * io/open64.c (__libc_open64): Likewise.
5319         * io/open64_2.c (__open64_2): Likewise.
5320         * io/open_2.c (__open_2): Likewise.
5321         * io/openat.c (__openat): Likewise.
5322         * io/openat64.c (__openat64): Likewise.
5323         * io/openat64_2.c (__openat64_2): Likewise.
5324         * io/openat_2.c (__openat_2): Likewise.
5325         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5326         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5327         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5328         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5329         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5330         (__open_nocancel): Likewise.
5331         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5332         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5333         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5335 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5337         [BZ #14841]
5338         * resolv/gethnamaddr.c (getanswer): Skip logging if
5339         RES_USE_DNSSEC is set.
5340         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5342 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5344         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5346 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5348         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5349         201304L, for Unicode 7.
5351 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5353         [BZ #17836]
5354         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5355         shared library.  Add gmon-start.os otherwise.
5356         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5357         $(objpfx)gmon-start.os if builing shared library.
5358         ($(objpfx)g$(static-start-installed-name)): Likewise.
5360 2015-02-23  Andreas Schwab  <schwab@suse.de>
5362         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5364 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5366         [BZ #17269]
5367         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5368         (enlarge_userbuf): Likewise.
5370 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5372         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5373         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5374         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5375         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5377 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5379         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5380         expression inside statement expression.
5382 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5384         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5385         <sysdeps/nptl/lowlevellock.h> and remove macros and
5386         functions that are now defined there.
5387         (SYS_futex): Remove.
5388         (lll_compare_and_swap): Remove.
5389         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5391 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5393         [BZ #17999]
5394         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5395         instead of scandirat.
5396         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5397         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5398         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5399         __scandirat.
5400         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5401         (__scandirat): Declare.  Use libc_hidden_proto.
5402         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5403         Remove variable.
5404         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5406 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5408         [BZ #15319]
5409         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5410         (MO): New macro.
5411         (__ieee754_atan2): For results with small absolute value, force
5412         underflow exception and remove excess range and precision from
5413         return value.
5414         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5415         (MO): New macro.
5416         (__ieee754_atan2f): For results with small absolute value, force
5417         underflow exception and remove excess range and precision from
5418         return value.
5419         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5420         (MO): New macro.
5421         (__atan): For results with small absolute value, force underflow
5422         exception and remove excess range and precision from return value.
5423         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5424         (MO): New macro.
5425         (__atanf): For results with small absolute value, force underflow
5426         exception and remove excess range and precision from return value.
5427         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5428         <math.h>.
5429         (__ieee754_atan2): Force underflow exception for results with
5430         small absolute value.
5431         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5432         <math_private.h>.
5433         (atan): Force underflow exception for results with small absolute
5434         value.
5435         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5436         (__atanf): Force underflow exception for results with small
5437         absolute value.
5438         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5439         <math.h>.
5440         (__atanl): Force underflow exception for results with small
5441         absolute value.
5442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5443         (__atanl): Force underflow exception for results with small
5444         absolute value.
5445         * sysdeps/x86/fpu/bits/mathinline.h
5446         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5447         (__ieee754_atan2): Only define inline for long double.
5448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5449         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5450         * math/auto-libm-test-in: Do not mark underflow exceptions as
5451         possibly missing for bug 15319.  Add more tests of atan2.
5452         * math/auto-libm-test-out: Regenerated.
5453         * math/libm-test.inc (casin_test_data): Do not mark underflow
5454         exceptions as possibly missing for bug 15319.
5455         (casinh_test_data): Likewise.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5458 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5460         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5461         * sysdeps/mips/bits/endian.h: Fix comments.
5463 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5465         [BZ #17996]
5466         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5467         (hdestroy_r): Likewise.
5468         (hsearch_r): Likewise.
5469         (__hcreate_r): Declare and use libc_hidden_proto.
5470         (__hdestroy_r): Likewise.
5471         (__hsearch_r): Likewise.
5472         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5473         (hcreate): Call __hcreate_r instead of hcreate_r.
5474         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5475         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5476         as weak alias of __hcreate_r.
5477         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5478         __hdestroy_r.
5479         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5480         __hsearch_r.
5481         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5482         Remove variable.
5483         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5484         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5485         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5486         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5488 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5490         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5491         arena_lock into a single arena_get.
5493 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5495         * dl-reloc.c: Inlucde libc-internal.h.
5496         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5497         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5498         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5499         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5500         (grow_heap): Likewise.
5501         * malloc/malloc.c: Include libc-internal.h.
5502         (do_check_malloc): Call powerof2.
5503         (sysmalloc): Use pagesize. Call ALIGN_UP.
5504         (systrim): Use pagesize.
5505         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5506         (__libc_valloc): Use pagesize.
5507         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5509 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #17991]
5512         * include/sys/resource.h (__getrlimit64): Declare.  Use
5513         libc_hidden_proto.
5514         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5515         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5516         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5517         getrlimit64.
5518         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5519         __getrlimit64.
5520         [!getrlimit64] (getrlimit64): Define as weak alias of
5521         __getrlimit64.  Use libc_hidden_weak.
5522         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5523         using __getrlimit64 not __new_getrlimit64.
5524         (__GI_getrlimit64): Likewise.
5525         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5526         Likewise.
5527         (__GI_getrlimit64): Likewise.
5528         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5530         (getrlimit): Add __getrlimit64 alias.
5531         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5532         Likewise.
5533         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5534         Remove variable.
5535         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5536         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5538 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5540         * libio/fileops.c: Add missing sys/mman.h
5541         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5543 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5545         * manual/math.texi (Errors in Math Functions): Clarify goals
5546         regarding inexact and underflow exceptions.
5548 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5550         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5551         * sysdeps/mips/memset.S: Ditto.
5553 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5555         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5557 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5559         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5560         (__v1longjmp): Remove versioned symbol.
5561         (__v1siglongjmp): Remove alias and versioned symbol.
5562         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5563         (__v2siglongjmp): Likewise.
5565 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5567         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5569 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5571         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5573 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5575         [BZ #17987]
5576         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5577         zero result does not depend on the sign resulting from
5578         subtraction.
5579         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5580         Likewise.
5581         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5582         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5583         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5584         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5585         * math/libm-test.inc (remquo_test_data): Add more tests.
5587 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5589         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5590         Problem reported by J William Piggott.
5592 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5594         [BZ #17978]
5595         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5596         products 4 * y and 2 * y where those would overflow.
5597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5598         Likewise.
5599         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5600         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5601         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5602         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5603         * math/libm-test.inc (remquo_test_data): Add more tests.
5605         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5607         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5608         [defined _COMPILING_NEWLIB].
5609         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5610         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5612         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5613         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5615 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5617         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5618         acquired.
5620 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5622         [BZ #17792]
5623         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5624         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5625         HOST_STACK_END_ADDR): Likewise.
5627 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5629         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5630         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5631         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5633 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5635         * sysdeps/generic/c++-types.data: New file.
5636         * sysdeps/generic/ld.abilist: New file.
5637         * sysdeps/generic/libBrokenLocale.abilist: New file.
5638         * sysdeps/generic/libanl.abilist: New file.
5639         * sysdeps/generic/libc.abilist: New file.
5640         * sysdeps/generic/libcrypt.abilist: New file.
5641         * sysdeps/generic/libdl.abilist: New file.
5642         * sysdeps/generic/libm.abilist: New file.
5643         * sysdeps/generic/libpthread.abilist: New file.
5644         * sysdeps/generic/libresolv.abilist: New file.
5645         * sysdeps/generic/librt.abilist: New file.
5647 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5649         [BZ #17569]
5650         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5651         Compute absolute value of x as modified by fmod, not original
5652         value of x.
5653         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5654         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5655         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5656         RUN_TEST_ffI_f1_mod8.
5657         (remquo_test_data): Add more tests.
5659 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5661         * sysdeps/init_array/pt-crti.S: New file.
5663 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5665         [BZ #17967]
5666         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5667         __builtin_fmaf instead of relying on contraction of a * b + c.
5669 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5671         [BZ #17969]
5672         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5673         node.
5675 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #17964]
5678         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5679         __builtin_fma instead of relying on contraction of a * b + c.
5681 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5683         * Makeconfig (ASFLAGS): Add -Werror=undef.
5684         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5685         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5686         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5688         * Makeconfig (after-link): New variable.
5689         (+link-pie, +link-pie-tests): Use it.
5690         (+link-static, +link-static-tests): Likewise.
5691         (+link, +link-tests): Likewise.
5692         * Makerules (build-module, build-module-asneeded): Likewise.
5693         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5694         Likewise.
5695         * elf/Makefile ($(objpfx)ld.so): Likewise.
5697 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5699         [BZ #17965]
5700         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5701         both struct timeval and struct timespec.
5703 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5705         [BZ #16560]
5706         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5707         and redefine.
5708         (__ieee754_exp2l): Do not multiply small fractional parts by
5709         M_LN2l.
5710         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5711         small argument.
5712         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5713         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5714         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5715         * math/auto-libm-test-in: Add more tests of exp2.
5716         * math/auto-libm-test-out: Regenerated.
5718 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5720         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5721         unaligned path.
5723 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5725         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5726         little endian.
5728 2015-02-12  Andreas Schwab  <schwab@suse.de>
5730         [BZ #15790]
5731         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5732         Filter out elision flags from value returned in kind.
5733         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5734         * nptl/tst-pthread-mutexattr.c: New file.
5736 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5738         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5739         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5740         into gnu-gnu, and update comment to refer to abi-tags.
5742 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #15467]
5745         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5746         (__sincos): Set errno to EDOM for infinite argument.
5747         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5748         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5749         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5750         (__sincosl): Set errno to EDOM for infinite argument.
5751         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5752         (__sincosl): Set errno to EDOM for infinite argument.
5753         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5754         (__sincosl): Set errno to EDOM for infinite argument.
5755         * math/libm-test.inc (sincos_test_data): Test errno setting.
5757 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5759         * string/strxfrm_l.c: Remove #define STRCMP.
5760         * string/strcoll_l.c: Remove #define STRLEN.
5761         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5762         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5764 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5766         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5767         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5768         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5769         * sysdeps/mips/mips64/Makefile: ... here.
5770         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5771         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5772         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5773         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5774         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5775         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5776         * sysdeps/mips/mips64/n64/Implies: Likewise.
5778 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5780         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5781         <sys/time.h>, <string.h>, and <errno.h>.
5782         (dest_offset, dest_address, value, zero): Remove unused variables.
5783         (ldouble): Remove typedef.
5784         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5785         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5786         1).  Fix code style.
5787         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5788         (check): Function removed.
5789         (CHECK): New macro.
5790         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5791         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5792         Don't call set_sigaction_FP and remove_sigaction_FP here.
5793         (ldouble_test): Just use 'long double' as macro argument, no need for
5794         the 'ldouble' typedef.
5795         (do_test): Set up SIGFPE handler at start, using plain signal rather
5796         than sigaction.  Fix code style.
5798 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5800         [BZ #17949]
5801         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5802         jump label.
5804 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5806         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5807         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5809         * sysdeps/powerpc/configure.ac: Remove file.
5810         * sysdeps/powerpc/configure: Likewise.
5812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5813         [sysdep_routines]: Remove wordcopy-power6 object.
5814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5815         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5817         (__memmove_ppc32): Likewise.
5818         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5819         file.
5820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5821         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5822         Remove preprocessor.
5824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5825         [sysdep_routines]: Remove wide chars objects.
5826         [wcsmbs]: New rule for wide char objects.
5828         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5829         Remove wordcopy-power6 obejct.
5830         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5831         Use local call for wordcopy and memcpy symbols.
5832         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5833         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5834         implementation for loader.
5835         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5837         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5838         Remove wordcopy-power7 object.
5839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5840         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5841         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5842         (_wordcopy_fwd_dest_aligned): Likewise.
5843         (_wordcopy_bwd_aligned): Likewise.
5844         (_wordcopy_bwd_dest_aligned): Likewise.
5846         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5847         Rewrite to call __memmove_ppc instead of include default
5848         implementation.
5850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5851         Remove wide chars objects.
5852         [wcsmbs]: New rule for wide char objects.
5854 2015-02-09  Andreas Schwab  <schwab@suse.de>
5856         [BZ #17912]
5857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5858         in terms of __O_DIRECTORY.
5860 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5862         * time/getdate.c: Include <stdbool.h>.
5863         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5864         call PTR_MANGLE.
5865         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5866         PTR_DEMANGLE.
5868 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5870         Add ersatz _Static_assert on older C hosts
5871         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5872         pre-C11 C platform that is not known to support _Static_assert.
5874 2015-02-07  Richard Braun  <rbraun@sceen.net>
5876         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5877         sigstate.
5878         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5880 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5882         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5883         priority against unexistent AIO_PRIO_DELTA_MAX.
5884         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5885         instead of int.
5886         * misc/fchflags.c (fchflags): Likewise.
5887         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5888         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5889         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5890         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5891         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5892         Declare macros.
5893         [__USE_MISC] (chflags, fchflags): Declare functions.
5894         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5895         EINVAL when nfds is greater than FD_SETSIZE.
5896         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5897         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5898         45.
5899         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5900         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5901         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5902         MACH_RCV_TIMED_OUT.
5903         * hurd/hurd/signal.h (_hurd_self_sigstate,
5904         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5905         Explicit casts from void *.
5906         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5907         * abi-tags: Rename gnu-gnu os into gnu.
5909         [BZ #4719]
5910         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5911         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5912         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5913         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5914         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5915         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5917         [BZ #17944]
5918         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5919         duplicates ADDR->sun_path with sockaddr LEN limitation.
5920         * sysdeps/mach/hurd/connect.c: Include <string.h>
5921         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5922         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5923         * sysdeps/mach/hurd/sendto.c: Likewise.
5924         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5925         implementing it by hand.
5927 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5929         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5930         Use sfi_breg on ldr.
5931         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5932         Likewise.
5934         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5935         it's defined.
5936         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5937         Test SIGSETXID only if it's defined.
5939         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5941         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5942         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5944         * nptl/tst-align2.c: Moved ...
5945         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5946         * nptl/Makefile (tests): Remove tst-align2.
5947         * sysdeps/unix/sysv/linux/Makefile
5948         [$(subdir) = nptl] (tests): Add tst-align-clone.
5949         * nptl/tst-getpid1.c: Moved ...
5950         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5951         * nptl/tst-getpid2.c: Moved ...
5952         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5953         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5954         * sysdeps/unix/sysv/linux/Makefile
5955         [$(subdir) = nptl] (tests): ... here.
5956         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5957         * sysdeps/unix/sysv/linux/Makefile
5958         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5960         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5961         Drop trailing \n from perror argument.  Use return rather than exit.
5963         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5964         on [SA_SIGINFO].
5965         * nptl/tst-cancel21.c (do_test): Likewise.
5966         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5967         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5968         [!SA_SIGINFO]: Make it a stub test.
5970         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5971         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5973         * posix/tst-getlogin.c: Move to ...
5974         * login/tst-getlogin.c: ... here.
5975         * posix/Makefile (tests): Move tst-getlogin to ...
5976         * login/Makefile (tests): ... here.
5978         * libio/tst-atime.c (do_test): Move local variables SV and E
5979         inside [ST_NOATIME] conditional.
5981         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5983         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5985         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5986         (wait_code): New function replaces macro.
5987         Call nanosleep rather than syscall.
5989         * nptl/pt-system.c: Rewritten.  Put everything under
5990         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5991         Use IFUNC to redirect when possible.
5993         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5994         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5995         Use IFUNC to redirect when possible.
5997         * nptl/pt-fork.c: Rewritten.  Put everything under
5998         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5999         Use IFUNC to redirect when possible.
6000         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6002         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6003         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6004         unconditionally nowadays.  This included the only reference to
6005         __vdso_clock_gettime that appears outside libc proper.
6006         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6007         Remove version set (containing only __vdso_clock_gettime).
6008         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6009         Add attribute_hidden.
6010         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6011         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6012         libc_hidden_data_def.
6013         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6014         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6016         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6017         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6018         setrpcent, and getrpcport to ...
6019         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6020         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6021         getrpcbynumber_r, and getrpcent_r to ...
6022         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6023         * inet/getrpcbyname.c: Moved ...
6024         * sunrpc/getrpcbyname.c: ... here.
6025         * inet/getrpcbyname_r.c: Moved ...
6026         * sunrpc/getrpcbyname_r.c: ... here.
6027         * inet/getrpcbynumber.c: Moved ...
6028         * sunrpc/getrpcbynumber.c: ... here.
6029         * inet/getrpcbynumber_r.c: Moved ...
6030         * sunrpc/getrpcbynumber_r.c: ... here.
6031         * inet/getrpcent.c: Moved ...
6032         * sunrpc/getrpcent.c: ... here.
6033         * inet/getrpcent_r.c: Moved ...
6034         * sunrpc/getrpcent_r.c: ... here.
6035         * inet/Makefile (routines): Move those to ...
6036         * sunrpc/Makefile (routines): ... here.
6037         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6038         the $(subdirs) list.
6039         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6040         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6041         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6042         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6044         * elf/Makefile (routines): Include $(all-dl-routines), not just
6045         $(dl-routines).
6046         (rtld-routines): Likewise.  Use = rather than :=.
6047         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6048         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6049         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6050         * sysdeps/arm/Makefile: Likewise.
6051         * sysdeps/i386/Makefile: Likewise.
6052         * sysdeps/x86_64/Makefile: Likewise.
6053         * sysdeps/hppa/Makefile [$(subdir) = elf]
6054         (sysdep_routines, sysdep-rtld-routines): Don't add
6055         $(sysdep-dl-routines) to these.
6056         * sysdeps/ia64/Makefile: Likewise.
6057         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6058         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6059         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6060         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6061         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6062         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6063         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6064         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6065         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6066         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6067         these; sysdep-dl-routines alone is enough.
6069 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6071         [BZ #17932]
6072         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6073         where multiplication results in zero and third argument is finite
6074         and nonzero.
6075         * math/auto-libm-test-in: Add more tests of fma.
6076         * math/auto-libm-test-out: Regenerated.
6078         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6079         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6080         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6081         (_FP_CMP_EQ): Likewise.
6082         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6084         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6085         extra argument CHECK_NAN.  Redefine as wrapper around
6086         _FP_EXTEND_CNAN.
6088 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6090         * version.h (RELEASE): Set to "stable".
6091         (VERSION): Set to "2.21"
6092         * include/features.h (__GLIBC_MINOR__): Set to 21.
6094         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6096 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6097             Paul Eggert  <eggert@cs.ucla.edu>
6099         [BZ #16618]
6100         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6101         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6102         size in bytes. Store needed elements in wpmax. Use needed size
6103         in bytes for extend_alloca.
6105 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6107         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6108         binutls 2.25, and texinfo 5.2.
6109         * INSTALL: Regenerate.
6110         * sysdeps/nios2/configure: Regenerate.
6111         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6112         * manual/contrib.texi: Update.
6113         * po/be.po: Update.
6114         * po/bg.po: Update.
6115         * po/ca.po: Update.
6116         * po/cs.po: Update.
6117         * po/da.po: Update.
6118         * po/de.po: Update.
6119         * po/el.po: Update.
6120         * po/eo.po: Update.
6121         * po/es.po: Update.
6122         * po/fi.po: Update.
6123         * po/fr.po: Update.
6124         * po/gl.po: Update.
6125         * po/hr.po: Update.
6126         * po/hu.po: Update.
6127         * po/ia.po: Update.
6128         * po/id.po: Update.
6129         * po/it.po: Update.
6130         * po/ja.po: Update.
6131         * po/ko.po: Update.
6132         * po/lt.po: Update.
6133         * po/nb.po: Update.
6134         * po/nl.po: Update.
6135         * po/pl.po: Update.
6136         * po/pt_BR.po: Update.
6137         * po/ru.po: Update.
6138         * po/rw.po: Update.
6139         * po/sk.po: Update.
6140         * po/sl.po: Update.
6141         * po/sv.po: Update.
6142         * po/tr.po: Update.
6143         * po/uk.po: Update.
6144         * po/vi.po: Update.
6145         * po/zh_CN.po: Update.
6146         * po/zh_TW.po: Update.
6148         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6149         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6150         * sysdeps/hppa/dl-irel.h: Remove #warning.
6151         * sysdeps/hppa/entry.h: Provide prototype for
6152         __canonicalize_funcptr_for_compare and cast argument.
6153         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6154         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6155         * sysdeps/hppa/sotruss-lib.c: New file.
6156         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6157         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6158         (atomic_compare_and_exchange_bool_acq): Likewise.
6159         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6160         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6162         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6163         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6164         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6166 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6168         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6169         called function in non-PIC case.
6171 2015-01-31  David S. Miller  <davem@davemloft.net>
6173         * sysdeps/sparc/sparc32/bits/atomic.h
6174         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6175         unlock not after it.
6176         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6177         volatile register usage warnings from the compiler.
6179         * sysdeps/sparc/nptl/sem_init.c: Delete.
6180         * sysdeps/sparc/nptl/sem_post.c: Delete.
6181         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6182         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6183         * sysdeps/sparc/sparc32/sem_init.c: New file.
6184         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6185         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6186         padding explicitly initialized.
6187         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6188         padding for in-semaphore spinlock.
6189         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6190         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6191         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6192         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6193         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6194         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6195         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6196         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6197         version.
6198         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6199         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6201 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6203         [BZ #17801]
6204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6205         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6206         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6207         New.
6208         (index_AVX_Fast_Unaligned_Load): Likewise.
6209         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6210         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6211         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6212         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6213         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6214         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6215         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6216         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6217         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6219 2015-01-29  Andreas Schwab  <schwab@suse.de>
6221         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6223 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6225         [BZ #17892]
6226         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6228 2015-01-28  Martin Sebor  <msebor@redhat.com>
6230         * math/README.libm-test: Clarify. Add "How to read the test output."
6232 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6234         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6235         Define to 0.
6237 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6239         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6240         (__HAVE_64B_ATOMICS): Define to 0.
6242 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6244         [BZ #17885]
6245         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6246         value to set as new flag.
6248         [BZ #16576]
6249         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6250         and use _ARCH_PPCSQ instead.
6251         (__ieee754_sqrt): Likewise.
6252         (__ieee754_sqrtf): Likewise.
6253         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6254         _ARCH_PPCSQ is defined.
6255         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6256         fsqrt instruction.
6257         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6258         _ARCH_PPCSQ is defined.
6259         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6260         fsqrts instruction.
6261         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6263 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6265         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6266         bug (GCC BZ #64739).
6268 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6270         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6271         Mark _retval as used.
6272         (lll_futex_wake_unlock): Likewise.
6273         (lll_futex_timed_wait_requeue_pi): Likewise.
6275         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6276         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6277         register variables.
6279         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6280         libm_hidden_def.
6282         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6283         (__bswap_64): Mark as __always_inline.
6285 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6287         [BZ #15378]
6288         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6289         when none of the search directories exist.
6291 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6293         [BZ #17869]
6294         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6295         power8 in .machine directive.
6297         [BZ #17868]
6298         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6299         set dependency from opd value.
6301 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6304         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6305         architecture.
6307 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6309         [BZ #17870]
6310         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6311         with uint64_t.
6312         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6313         (uint64_t) 1.
6314         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6315         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6316         Replace 1UL with (uint64_t) 1.
6317         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6318         int with uint64_t.
6320 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6322         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6323         (if_freenameindex): Likewise.
6325         * resource/getrlimit64.c: Add missing libc_hidden_def.
6327 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6329         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6330         __label__.
6331         (_FP_FMA): Likewise.
6332         (_FP_TO_INT_ROUND): Likewise.
6333         (_FP_FROM_INT): Likewise.
6335 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6337         [BZ #16418]
6338         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6339         Make code racy and cancel safe.
6341 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6343         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6344         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6345         attribution.
6347         * pwd/tst-getpw.c: Rewrite.
6349         [BZ #17702]
6350         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6351         (modules-names): Add moddummy1 and moddummy2.
6352         ($(objpfx)tst-rec-dlopen): Define.
6353         * dlfcn/moddummy1.c: New file.
6354         * dlfcn/moddummy2.c: New file.
6355         * dlfcn/tst-rec-dlopen.c: New file.
6356         * elf/dl-cache.c (_dl_load_cache_lookup):
6357         Return char*. Copy result with alloca/strcpy/strdup.
6358         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6359         returns char*. Free cached. If not saving realname
6360         free cached.
6361         * elf/dl-open.c (dl_open_worker): Do not assert that
6362         _r_debug->r_state is RT_CONSISTENT.
6363         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6364         returns char*.
6366 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6367             Carlos O'Donell  <carlos@redhat.com>
6369         [BZ #12674]
6370         * nptl/sem_waitcommon.c: New file.
6371         * nptl/sem_wait.c: Include sem_waitcommon.c.
6372         (__sem_wait_cleanup, do_futex_wait): Remove.
6373         (__new_sem_wait): Adapt.
6374         (__new_sem_trywait): New function.
6375         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6376         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6377         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6378         (sem_timedwait): Adapt.
6379         * nptl/sem_post.c (__new_sem_post): Adapt.
6380         (futex_wake): New function.
6381         (__old_sem_post): Add release MO fence.
6382         * nptl/sem_open.c (sem_open): Adapt.
6383         * nptl/sem_init.c (__new_sem_init): Adapt.
6384         (futex_private_if_supported): New function.
6385         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6386         (__old_sem_getvalue): Add using previous code.
6387         * sysdeps/nptl/internaltypes.h: Adapt.
6388         * nptl/tst-sem13.c (do_test): Adapt.
6389         * nptl/tst-sem11.c (main): Adapt.
6390         * nptl/sem_trywait.c: Remove.
6391         * nptl/DESIGN-sem.txt: Remove.
6392         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6393         (gen-as-const-headers): Remove structsem.sym.
6394         * nptl/structsem.sym: Remove.
6395         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6396         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6397         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6398         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6399         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6400         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6401         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6402         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6403         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6404         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6405         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6406         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6407         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6408         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6409         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6410         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6411         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6412         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6413         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6414         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6415         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6416         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6418 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6420         * INSTALL: Regenerated.
6422         * po/libc.pot: Regenerated.
6424 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6425             Sandra Loosemore  <sandra@codesourcery.com>
6426             Andrew Jenner  <andrew@codesourcery.com>
6427             Joseph Myers  <joseph@codesourcery.com>
6428             Nathan Sidwell  <nathan@codesourcery.com>
6430         * NEWS: Mention new Nios II port.
6431         * sysdeps/nios2/Implies: New file.
6432         * sysdeps/nios2/Makefile: New file.
6433         * sysdeps/nios2/Subdirs: New file.
6434         * sysdeps/nios2/Versions: New file.
6435         * sysdeps/nios2/__longjmp.S: New file.
6436         * sysdeps/nios2/abort-instr.h: New file.
6437         * sysdeps/nios2/backtrace.c: New file.
6438         * sysdeps/nios2/bits/endian.h: New file.
6439         * sysdeps/nios2/bits/fenv.h: New file.
6440         * sysdeps/nios2/bits/link.h: New file.
6441         * sysdeps/nios2/bits/setjmp.h: New file.
6442         * sysdeps/nios2/bsd-_setjmp.S: New file.
6443         * sysdeps/nios2/bsd-setjmp.S: New file.
6444         * sysdeps/nios2/configure: New generated file.
6445         * sysdeps/nios2/configure.ac: New file.
6446         * sysdeps/nios2/crti.S: New file.
6447         * sysdeps/nios2/crtn.S: New file.
6448         * sysdeps/nios2/dl-init.c: New file.
6449         * sysdeps/nios2/dl-machine.h: New file.
6450         * sysdeps/nios2/dl-sysdep.h: New file.
6451         * sysdeps/nios2/dl-tls.h: New file.
6452         * sysdeps/nios2/dl-trampoline.S: New file.
6453         * sysdeps/nios2/gccframe.h: New file.
6454         * sysdeps/nios2/gmp-mparam.h: New file.
6455         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6456         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6457         * sysdeps/nios2/ldsodefs.h: New file.
6458         * sysdeps/nios2/libc-tls.c: New file.
6459         * sysdeps/nios2/libm-test-ulps: New file.
6460         * sysdeps/nios2/machine-gmon.h: New file.
6461         * sysdeps/nios2/math-tests.h: New file.
6462         * sysdeps/nios2/math_private.h: New file.
6463         * sysdeps/nios2/memusage.h: New file.
6464         * sysdeps/nios2/nptl/Makefile: New file.
6465         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6466         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6467         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6468         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6469         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6470         * sysdeps/nios2/nptl/tls.h: New file.
6471         * sysdeps/nios2/preconfigure: New file.
6472         * sysdeps/nios2/s_fma.c: New file.
6473         * sysdeps/nios2/s_fmaf.c: New file.
6474         * sysdeps/nios2/setjmp.S: New file.
6475         * sysdeps/nios2/sfp-machine.h: New file.
6476         * sysdeps/nios2/sotruss-lib.c: New file.
6477         * sysdeps/nios2/stackguard-macros.h: New file.
6478         * sysdeps/nios2/stackinfo.h: New file.
6479         * sysdeps/nios2/start.S: New file.
6480         * sysdeps/nios2/sysdep.h: New file.
6481         * sysdeps/nios2/tls-macros.h: New file.
6482         * sysdeps/nios2/tst-audit.h: New file.
6483         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6484         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6485         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6486         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6487         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6488         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6489         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6490         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6491         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6492         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6493         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6494         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6495         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6496         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6497         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6498         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6499         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6500         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6501         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6502         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6503         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6504         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6505         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6506         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6507         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6508         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6509         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6510         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6511         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6512         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6513         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6514         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6515         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6516         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6517         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6518         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6519         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6520         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6521         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6522         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6523         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6524         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6525         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6526         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6528 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6530         [BZ #17844]
6531         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6532         (getutent): Use weak_alias in non SHARED case
6533         and default_symbol_version in SHARED case.
6534         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6535         (getutent_r, pututline): Likewise.
6536         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6537         (getutid): Likewise.
6538         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6539         (getutid_r): Likewise.
6540         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6541         (getutline): Likewise.
6542         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6543         (getutline_r): Likewise.
6544         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6545         (updwtmp): Likewise.
6547 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6549         [BZ #17848]
6550         * sysdeps/s390/s390-32/memcmp.S
6551         (memcmp_g5): Rename to __memcmp_g5.
6552         * sysdeps/s390/s390-32/memcpy.S
6553         (memcpy_g5): Rename to __memcpy_g5.
6554         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6555         (memcpy_mvcle) Rename to __memcpy_mvcle.
6556         * sysdeps/s390/s390-32/memset.S
6557         (memset_g5): Rename to __memset_g5.
6558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6559         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6560         and use prefixed functions.
6561         * sysdeps/s390/s390-32/multiarch/memcmp.S
6562         (memcmp_z196): Rename to __memcmp_z196.
6563         (memcmp_z10): Rename to __memcmp_z10.
6564         (memcmp): Set alias to __memcmp_g5.
6565         (bcmp): Set alias to __memcmp_g5.
6566         * sysdeps/s390/s390-32/multiarch/memcpy.S
6567         (memcpy_z196): Rename to __memcpy_z196.
6568         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6569         (memcpy_z10): Rename to __memcpy_z10.
6570         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6571         (memcpy): Set alias to __memcpy_g5.
6572         * sysdeps/s390/s390-32/multiarch/memset.S
6573         (memset_z196): Rename to __memset_z196.
6574         Jump to __memset_mvcle instead of memset_mvcle.
6575         (memset_z10): Rename to __memset_z10.
6576         Jump to __memset_mvcle instead of memset_mvcle.
6577         (memset_mvcle) Rename to __memset_mvcle.
6578         (memset): Set alias to __memset_g5.
6579         * sysdeps/s390/s390-64/memcmp.S
6580         (memcmp_z900): Rename to __memcmp_z900.
6581         * sysdeps/s390/s390-64/memcpy.S
6582         (memcpy_z900): Rename to __memcpy_z900.
6583         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6584         (memcpy_mvcle) Rename to __memcpy_mvcle.
6585         * sysdeps/s390/s390-64/memset.S
6586         (memset_z900): Rename to __memset_z900.
6587         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6588         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6589         and use prefixed functions.
6590         * sysdeps/s390/s390-64/multiarch/memcmp.S
6591         (memcmp_z196): Rename to __memcmp_z196.
6592         (memcmp_z10): Rename to __memcmp_z10.
6593         (memcmp): Set alias to __memcmp_z900.
6594         (bcmp): Set alias to __memcmp_z900.
6595         * sysdeps/s390/s390-64/multiarch/memcpy.S
6596         (memcpy_z196): Rename to __memcpy_z196.
6597         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6598         (memcpy_z10): Rename to __memcpy_z10.
6599         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6600         (memcpy): Set alias to __memcpy_z900.
6601         * sysdeps/s390/s390-64/multiarch/memset.S
6602         (memset_z196): Rename to __memset_z196.
6603         Jump to __memset_mvcle instead of memset_mvcle.
6604         (memset_z10): Rename to __memset_z10.
6605         Jump to __memset_mvcle instead of memset_mvcle.
6606         (memset_mvcle) Rename to __memset_mvcle.
6607         (memset): Set alias to __memset_z900.
6609 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6611         [BZ #17748]
6612         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6613         __fesetenv instead of fesetenv.
6615 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6617         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6618         macro.
6620 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6622         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6623         regression on LE.
6625         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6626         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6628         strncmp-power8 object.
6629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6630         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6631         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6632         * NEWS: Update.
6634 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6635             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6637         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6638         trailing byte check.
6640 2015-01-13  David S. Miller  <davem@davemloft.net>
6642         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6644 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6646         * login/logout.c (logout): Use memset rather than bzero.
6647         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6648         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6649         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6650         (_gethtbyaddr): Likewise.
6651         * locale/programs/simple-hash.c (bcopy): Macro removed.
6653 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6655         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6656         Add strcmp-power8 object.
6657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6658         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6660         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6661         __strcmp_power8 implementation.
6662         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6663         * NEWS: Update.
6665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6666         Add strncpy-power8 and stpncpy-power8 objects.
6667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6668         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6669         implementations.
6670         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6671         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6672         __stpncpy_power8 implementation.
6673         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6674         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6675         __strncpy_power8 implementation.
6676         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6677         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6678         * NEWS: Update.
6680         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6681         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6682         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6684         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6685         strncat-power8 object.
6686         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6687         __strcat_power8 implementation.
6688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6689         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6690         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6691         optimized strcat for power8.
6693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6694         strcpy-power8 and stpcpy-power8 objects.
6695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6696         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6697         implementations.
6698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6699         multiarch stpcpy implementation for POWER8.
6700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6701         multiarch strcpy implementation for POWER8.
6702         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6703         __strcpy_power8 function.
6704         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6705         stpcpy for POWER8.
6706         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6707         strcpy for POWER8.
6708         * NEWS: Update.
6710 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6712         [BZ #16009]
6713         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6714         weights and rules. Use do_xfrm_cached if data fits in cache,
6715         do_xfrm otherwise.  Moved former main loop to...
6716         * (do_xfrm_cached): New function.
6717         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6718         find_idx, find_position and stack_push.
6719         * (find_idx): New function.
6720         * (find_position): Likewise.
6721         * localedata/sort-test.sh: Added test run for do_xfrm.
6722         * localedata/xfrm-test.c (main): Added command line option
6723         -nocache to run the test with strings that are too large for
6724         the STRXFRM cache.
6726 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6728         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6729         variable to lll_futex_wake call, not the value itself.
6731 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6733         [BZ #17803]
6734         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6735         twom64.  Adjust value to 0x1p-64L.
6736         (__scalblnl): Only return standard underflowing result for K <=
6737         -64 not K <= -63; adjust exponent for underflowing result by 64
6738         not 63.
6739         * math/libm-test.inc (scalbn_test_data): Add more tests.
6740         (scalbln_test_data): Likewise.
6742         [BZ #17834]
6743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6744         0x1p63L.
6745         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6746         not HX.
6747         * math/libm-test.inc (scalbn_test_data): Add more tests.
6748         (scalbln_test_data): Likewise.
6750 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6751             Stefani Seibold  <stefani@seibold.net>
6753         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6754         (sysdep_routines): Add dl-vdso here, ...
6755         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6756         (sysdep_routines): ... not here.
6757         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6758         fallback when vDSO is not presented.
6759         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6760         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6761         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6762         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6763         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6764         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6765         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6766         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6767         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6768         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6769         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6770         fallback configurable symbol when vDSO is not available.
6771         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6772         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6773         be able to redefine fallback symbol when vDSO is not available.
6774         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6775         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6777 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6779         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6780         (TLS_INIT_TP): Add tm_capable initialization.
6781         (TLS_DEFINE_INIT_TP): Likewise.
6782         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6783         TCB.
6784         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6785         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6786         calculation.
6787         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6788         transactoion is lock elision is built and TCB tm_capable is set.
6789         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6791         (INTERNAL_SYSCALL_NCS): Likewise.
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6793         (INTERNAL_SYSCALL_NCS): Likewise.
6794         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6796         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6797         for powerpc.
6798         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6799         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6800         and remove it for 32 bits case.
6801         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6803         initialization.
6804         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6805         Disable lock elision with rdlocks if elision is not available.
6807         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6808         (sysdep_routines): Add lock elision objects.
6809         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6810         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6811         [pthread_mutex_t] (__elision): Add field.
6812         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6813         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6814         elision definitions for powerpc.
6815         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6816         implementation of lock elision for powerpc.
6817         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6818         implementation of timed lock elision for powerpc.
6819         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6820         implementation of trylock with lock elision for powerpc.
6821         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6822         implementaion of unlock for lock elision for powerpc.
6823         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6824         automatic enable lock elision for mutexes.
6825         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6826         transaction execution definitions for powerpc.
6827         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6828         definitions.
6829         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6830         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6831         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6832         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6833         * NEWS: Update.
6835 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6837         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6838         for #include of <shm-directory.h>.
6840 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6842         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6843         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6845 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6847         [BZ #17791]
6848         * NEWS: Mention bug fix.
6849         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6850         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6851         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6853 2015-01-09  Torvald Riegel <triegel@redhat.com>
6855         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6857 2015-01-09  Torvald Riegel <triegel@redhat.com>
6859         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6861 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6863         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6864         pointer and cast to uintptr_t.
6866 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6868         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6869         removed.
6870         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6872 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6874         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6875         of 0.
6877 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6879         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6880         <nptl/pthreadP.h> instead.
6881         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6883         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6884         already defined.
6885         [__SIGRTMIN] (init): Function removed.
6886         [__SIGRTMIN] (initialized): Variable removed.
6887         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6888         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6889         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6890         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6891         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6892         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6893         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6894         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6895         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6896         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6897         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6898         * sysdeps/nptl/allocrtsig.c: New file.
6899         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6900         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6901         * sysdeps/generic/testrtsig.h: File removed.
6903         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6904         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6906         * nptl/nptl-init.c (pthread_functions): Conditionalize
6907         .ptr__nptl_setxid initialization on [SIGSETXID].
6909         * sysdeps/nptl/sys/procfs.h: New file.
6910         * nptl_db/Makefile (headers): Add it.
6911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6913         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6914         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6915         * nptl/pthread_attr_setaffinity.c: Include it.
6916         * nptl/pthread_setattr_default_np.c: Likewise.
6917         * nptl/check-cpuset.h: New file.
6919 2015-01-08  Richard Henderson  <rth@redhat.com>
6921         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6922         (CFLAGS-tst-execstack-prog.c): Likewise.
6923         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6925 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6926             Sandra Loosemore  <sandra@codesourcery.com>
6927             Andrew Jenner  <andrew@codesourcery.com>
6928             Joseph Myers  <joseph@codesourcery.com>
6929             Nathan Sidwell  <nathan@codesourcery.com>
6931         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6932         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6933         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6934         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6935         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6936         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6937         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6938         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6939         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6940         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6941         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6942         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6943         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6944         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6945         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6946         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6947         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6949 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6951         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6952         timespec struct member in syscall macro.
6953         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6954         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6955         first timeval struct member in syscall macro.
6956         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6958 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6960         [BZ #17748]
6961         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6962         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6963         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6964         __feupdateenv and define as weak alias of __feupdateenv.  Use
6965         libm_hidden_weak.
6966         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6967         libm_hidden_def.
6968         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6969         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6970         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6971         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6972         libm_hidden_def.
6973         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6974         __feupdateenv and define as weak alias of __feupdateenv.  Use
6975         libm_hidden_weak.
6976         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6977         libm_hidden_def.
6978         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6979         __feupdateenv and define as weak alias of __feupdateenv.  Use
6980         libm_hidden_weak.
6981         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6982         libm_hidden_def.
6983         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6984         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6985         (__feupdateenv): Likewise.
6986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6987         __feupdateenv and define as weak alias of __feupdateenv.  Use
6988         libm_hidden_weak.
6989         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6990         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6991         libm_hidden_def.
6992         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6993         function.
6994         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6995         libm_hidden_def.
6996         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6997         __feupdateenv instead of feupdateenv.
6998         (default_libc_feupdateenv_test): Likewise.
6999         (libc_feresetround_ctx): Likewise.
7001 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7003         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7004         prototype.
7006 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7008         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7009         COLL_SYM in a couple of places to avoid uninitialized variable
7010         wanings on tilegx gcc 4.8.2.
7012 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7014         * sysdeps/aarch64/strcpy.S: New file.
7015         * sysdeps/aarch64/stpcpy.S: New file.
7016         * NEWS: Updated.
7018 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7020         * sysdeps/aarch64/strrchr.S: New file.
7021         * NEWS: Updated.
7023 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7025         [BZ #17658]
7026         * stdlib/setenv.c: Fix memory leak when setting large,
7027         duplicate string.
7029 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7031         [BZ #17273]
7032         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7033         and tabs from buffer before parsing fstab entry.
7034         * misc/tst-mntent.c (main): Add test for mount entry with
7035         trailing spaces and tabs.
7037 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7039         [BZ #17748]
7040         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7041         * math/fesetround.c (fesetround): Rename to __fesetround and
7042         define as weak alias of __fesetround.  Use libm_hidden_weak.
7043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7044         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7045         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7046         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7047         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7048         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7049         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7050         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7051         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7052         __fesetround_inline.
7053         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7054         __fesetround_inline instead of __fesetround.
7055         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7056         __fesetround and define as weak alias of __fesetround.  Use
7057         libm_hidden_weak.  Call __fesetround_inline instead of
7058         __fesetround.
7059         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7060         __fesetround and define as weak alias of __fesetround.  Use
7061         libm_hidden_weak.
7062         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7063         Likewise.
7064         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7065         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7066         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7067         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7068         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7069         __fesetround and define as weak alias of __fesetround.  Use
7070         libm_hidden_weak.
7071         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7072         __fesetround instead of fesetround.
7073         (default_libc_feholdexcept_setround): Likewise.
7074         (libc_feholdsetround_ctx): Likewise.
7075         (libc_feholdsetround_noex_ctx): Likewise.
7077         [BZ #17748]
7078         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7079         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7080         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7081         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7082         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7083         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7084         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7085         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7086         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7087         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7088         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7089         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7090         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7091         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7092         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7093         libm_hidden_def.
7094         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7095         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7096         Likewise.
7097         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7098         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7099         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7100         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7101         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7102         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7103         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7104         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7105         __fesetenv instead of fesetenv.
7106         (libc_feresetround_noex_ctx): Likewise.
7107         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7108         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7109         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7110         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7111         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7112         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7113         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7114         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7115         (__feupdateenv): Likewise.
7116         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7117         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7118         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7119         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7121 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7123         [BZ #17806]
7124         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7125         addresses have been freed.
7127 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7129         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7130         and nservall.
7132 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7134         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7135         Clean up check_pf allocation pattern. addresses
7137 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7139         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7140         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7141         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7142         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7143         * nptl/pthread_join.c (pthread_join): Likewise.
7144         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7145         * sysdeps/posix/waitid.c (__waitid): Likewise.
7146         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7147         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7148         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7149         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7150         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7151         Likewise.
7152         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7153         (__libc_pread64): Likewise.
7154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7155         (__libc_pwrite): Likewise.
7156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7157         (__libc_pwrite64): Likewsie.
7158         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7159         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7160         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7161         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7162         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7163         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7164         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7166         Likewise.
7167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7168         (__libc_pread64): Likewise.
7169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7170         Likewise.
7171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7172         (__libc_pwrite64): Likewise.
7173         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7174         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7175         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7176         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7177         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7178         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7179         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7180         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7181         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7182         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7183         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7184         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7185         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7186         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7187         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7188         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7189         Likewise.
7191 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7193         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7194         (CFLAGS-test-double.c): Likewise.
7195         (CFLAGS-test-ldouble.c): Likewise.
7196         (CPPFLAGS-test-ifloat.c): Likewise.
7197         (CPPFLAGS-test-idouble.c): Likewise.
7198         (CPPFLAGS-test-ildoubl.c): Likewise.
7199         (CFLAGS-test-test-fenv.c): Remove variable.
7200         (CFLAGS-test-misc.c): Likewise.
7202 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7204         [BZ #17797]
7205         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7206         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7207         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7208         CLOCKS_PER_SEC == 1000000.
7209         * time/clocktest.c (main): Replace %ld with %jd and cast to
7210         intmax_t.
7212 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7214         * sysdeps/generic/unwind-resume.h: New file.
7215         * sysdeps/gnu/unwind-resume.c: Include it.
7216         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7217         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7218         argument list.
7219         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7220         global rather than static.
7221         (_Unwind_Resume): Update user.
7222         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7223         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7224         rather than static.  Add __attribute__ ((cold)).
7225         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7226         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7227         * sysdeps/arm/arm-unwind-resume.S: New file.
7228         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7229         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7230         * sysdeps/arm/Makefile [$(subdir) = csu]
7231         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7232         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7233         Add rt-arm-unwind-resume.
7234         [$(subdir) = nptl]
7235         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7236         Add pt-arm-unwind-resume.
7237         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7238         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7240 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7242         [BZ #17748]
7243         * include/fenv.h (__feholdexcept): Declare.  Use
7244         libm_hidden_proto.
7245         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7246         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7247         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7248         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7249         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7250         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7251         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7252         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7253         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7254         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7255         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7256         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7257         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7258         (feholdexcept): Likewise.
7259         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7260         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7261         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7262         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7263         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7264         __feholdexcept instead of feholdexcept.
7265         (default_libc_feholdexcept_setround): Likewise.
7267 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7269         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7270         to avoid using stl/str to align destination.
7272 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7274         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7276 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7278         [BZ #17796]
7279         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7280         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7281         Define as weak alias not strong alias.
7283 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7285         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7286         bltzal with addiupc.
7287         (RTLD_START): Ditto.
7289 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7291         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7292         for __vdso_* functions in declarations.
7293         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7294         definitions.
7295         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7296         INTERNAL_VSYSCALL): Use struct return types to check for error.
7298         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7299         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7300         function with cast from llround().
7301         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7302         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7303         Define.
7305 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7307         [BZ #17793]
7308         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7309         Define as weak alias not strong alias.
7311         [BZ #17635]
7312         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7313         ...
7314         * ctype/ctype-extn.c: ... here.
7315         (__isblank_l): Move to ...
7316         * ctype/ctype-c99_l.c: ... here.  New file.
7317         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7318         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7319         Remove variable.
7320         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7321         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7322         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7323         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7324         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7326         [BZ #17777]
7327         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7328         (posix_fadvise64): Define as weak alias not strong alias.
7329         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7330         (posix_fallocate64): Likewise.
7331         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7332         Remove variable.
7333         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7334         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7335         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7336         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7337         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7339 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7341         [BZ #16191]
7342         * NEWS: Mention bug fix.
7343         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7344         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7345         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7346         (HOST_STACK_END_ADDR): Likewise.
7348 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7350         [BZ #17748]
7351         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7352         * math/fegetround.c (fegetround): Rename to __fegetround and
7353         define as weak alias of __fegetround.  Use libm_hidden_weak.
7354         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7355         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7356         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7357         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7358         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7359         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7360         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7361         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7362         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7363         Undefine after rather than before function definition; use
7364         parentheses around function name in definition.
7365         (__fegetround): Also undefine macro after function definition.
7366         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7367         __fegetround and define as weak alias of __fegetround.  Use
7368         libm_hidden_weak.  Do not undefine as macro.
7369         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7370         Likewise.
7371         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7372         __fegetround and define as weak alias of __fegetround.  Use
7373         libm_hidden_weak.
7374         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7375         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7376         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7377         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7378         __fegetround and define as weak alias of __fegetround.  Use
7379         libm_hidden_weak.
7380         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7381         __fegetround instead of fegetround.
7383         [BZ #17782]
7384         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7385         Condition macro definition on [__USE_MISC].
7387         [BZ #17781]
7388         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7389         (struct sigaction): Change type of sa_flags field to int.
7391         [BZ #17780]
7392         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7393         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7394         __glibc_reserved0.
7396         * nptl/version.c (banner): Use single year in copyright notice.
7398         * NEWS: Update copyright dates.
7399         * catgets/gencat.c (print_version): Likewise.
7400         * csu/version.c (banner): Likewise.
7401         * debug/catchsegv.sh: Likewise.
7402         * debug/pcprofiledump.c (print_version): Likewise.
7403         * debug/xtrace.sh (do_version): Likewise.
7404         * elf/ldconfig.c (print_version): Likewise.
7405         * elf/ldd.bash.in: Likewise.
7406         * elf/pldd.c (print_version): Likewise.
7407         * elf/sotruss.sh: Likewise.
7408         * elf/sprof.c (print_version): Likewise.
7409         * iconv/iconv_prog.c (print_version): Likewise.
7410         * iconv/iconvconfig.c (print_version): Likewise.
7411         * locale/programs/locale.c (print_version): Likewise.
7412         * locale/programs/localedef.c (print_version): Likewise.
7413         * login/programs/pt_chown.c (print_version): Likewise.
7414         * malloc/memusage.sh (do_version): Likewise.
7415         * malloc/memusagestat.c (print_version): Likewise.
7416         * malloc/mtrace.pl: Likewise.
7417         * manual/libc.texinfo: Likewise.
7418         * nptl/version.c (banner): Likewise.
7419         * nscd/nscd.c (print_version): Likewise.
7420         * nss/getent.c (print_version): Likewise.
7421         * nss/makedb.c (print_version): Likewise.
7422         * posix/getconf.c (main): Likewise.
7423         * scripts/test-installation.pl: Likewise.
7424         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7426 2015-01-02  Will Newton  <will.newton@linaro.org>
7428         * sysdeps/arm/armv7/configure: Removed.
7429         * sysdeps/arm/armv7/configure.ac: Likewise.
7431 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7433         * All files with FSF copyright notices: Update copyright dates
7434         using scripts/update-copyrights.
7435         * intl/plural.c: Regenerated.
7436         * locale/programs/charmap-kw.h: Likewise.
7437         * locale/programs/locfile-kw.h: Likewise.
7439 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7441         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7443 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7445         [BZ #17748]
7446         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7447         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7448         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7449         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7450         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7451         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7452         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7453         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7454         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7455         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7456         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7457         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7458         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7459         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7460         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7461         libm_hidden_def.
7462         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7464         Likewise.
7465         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7466         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7467         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7468         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7469         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7470         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7471         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7472         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7473         __fegetenv instead of fegetenv.
7474         (libc_feholdsetround_noex_ctx): Likewise.
7476 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7478         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7479         (Elf_MIPS_ABIFlags_v0): New structure.
7480         (EF_MIPS_FP64): Define.
7481         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7482         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7483         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7484         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7485         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7486         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7487         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7488         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7489         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7490         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7491         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7492         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7493         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7494         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7495         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7496         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7497         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7498         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7499         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7500         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7501         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7502         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7503         field.
7504         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7505         EF_MIPS_FP64.
7506         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7507         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7508         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7509         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7510         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7511         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7512         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7513         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7514         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7515         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7516         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7517         record the current FP ABI extension.
7518         (mips-mode-switch): Define to show if kernel headers support mode
7519         switching.
7520         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7521         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7522         supported SYSV ABI version to 3.
7523         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7524         feature.
7526 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7527             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7529         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7530         path.
7531         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7533 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7535         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7536         __fegetround and redefine to call __fegetround.  Remove condition
7537         on [!__NO_MATH_INLINES].
7538         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7539         function.
7540         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7541         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7542         Remove macro.
7543         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7544         instead of <fenv_libc.h>.
7545         (__llrintl): Call fegetround instead of __fegetround.
7546         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7547         instead of <fenv_libc.h>.
7548         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7549         (__lrintl): Call fegetround instead of __fegetround.
7550         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7551         instead of <fenv_libc.h>.
7552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7553         (__rintl): Call fegetround instead of __fegetround.
7555 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7557         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7558         arrays.
7560 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7562         [BZ #17775]
7563         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7564         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7565         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7567 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7569         * sysdeps/i386/tls-macros.h: Include <features.h>.
7570         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7571         (TLS_IE): Likewise.
7572         (TLS_LD): Likewise.
7573         (TLS_GD): Likewise.
7574         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7575         define for GCC >= 5.0.
7577 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7579         * math/test-fenv.c (test_single_exception, set_single_exc,
7580         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7581         feexcp_mask_test, feenable_test, fe_single_test): Add
7582         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7583         case where they are not used.
7584         * math/libm-test.inc: Likewise.
7585         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7586         unused in the absence of FP rounding/exception support.
7587         * stdio-common/tst-printf-round.c: Likewise.
7588         * stdlib/tst-strtod-round.c: Likewise.
7589         * stdlib/tst-strtod-underflow.c: Likewise.
7591 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7593         [BZ #17723]
7594         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7595         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7596         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7597         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7598         libm_hidden_weak.
7599         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7600         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7601         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7602         libm_hidden_def.
7603         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7604         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7605         libm_hidden_weak.
7606         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7607         Likewise.
7608         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7609         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7610         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7611         libm_hidden_weak.
7612         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7613         libm_hidden_def.
7614         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7615         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7616         (__feraiseexcept): Likewise.
7617         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7618         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7619         libm_hidden_weak.
7620         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7621         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7622         libm_hidden_def.
7623         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7624         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7625         Use libm_hidden_def.
7626         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7627         libm_hidden_def.
7628         (feraiseexcept): Define as weak not strong alias.  Use
7629         libm_hidden_weak.
7630         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7631         New inline function.  Factored out of ...
7632         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7633         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7634         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7635         feraiseexcept.
7636         * math/w_acos.c (__acos): Likewise.
7637         * math/w_asin.c (__asin): Likewise.
7638         * math/w_ilogb.c (__ilogb): Likewise.
7639         * math/w_j0.c (y0): Likewise.
7640         * math/w_j1.c (y1): Likewise.
7641         * math/w_jn.c (yn): Likewise.
7642         * math/w_log.c (__log): Likewise.
7643         * math/w_log10.c (__log10): Likewise.
7644         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7645         * sysdeps/aarch64/fpu/math_private.h
7646         (libc_feupdateenv_test_aarch64): Likewise.
7647         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7648         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7649         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7650         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7651         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7652         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7653         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7654         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7655         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7656         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7658 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7660         [BZ #17732]
7661         * io/test-utime.c (main): Replace %ld with %jd and cast to
7662         intmax_t.
7663         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7664         * nptl/tst-mutex5.c: Include <stdint.h>.
7665         (do_test): Replace %ld with %jd and cast to intmax_t.
7666         * posix/tst-regex.c (run_test): Likewise.
7667         (run_test_backwards): Likewise.
7668         * rt/tst-clock.c: Include <stdint.h>.
7669         (clock_test): Replace %ld with %jd and cast to intmax_t.
7670         * rt/tst-cpuclock1.c: Include <stdint.h>.
7671         (do_test): Replace %lu with %ju and cast to uintmax_t.
7672         * rt/tst-cpuclock2.c: Include <stdint.h>.
7673         (do_test): Replace %lu with %ju and cast to uintmax_t.
7674         * rt/tst-mqueue1.c: Include <stdint.h>.
7675         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7676         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7677         intmax_t.
7678         * rt/tst-mqueue4.c (do_test): Likewise.
7679         * rt/tst-timer4.c: Include <stdint.h>.
7680         (check_ts): Replace %ld with %jd and cast to intmax_t.
7681         (do_test): Likewise.
7682         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7683         and cast to intmax_t.
7684         * sysdeps/pthread/tst-timer.c (main): Likewise.
7685         * time/clocktest.c (main): Likewise.
7686         * time/tst-posixtz.c (do_test): Likewise.
7687         * timezone/tst-timezone.c (main): Likewise.
7689 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7690             H.J. Lu  <hongjiu.lu@intel.com>
7692         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7693         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7694         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7695         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7696         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7697         version if bit_Fast_Unaligned_Load is set.
7698         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7699         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7700         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7701         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7702         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7703         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7705         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7706         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7707         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7708         to 4.
7709         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7710         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7711         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7712         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7714 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7716         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7717         instead of #if to avoid a Wundef warning.
7718         * stdlib/tst-limits.c (do_test): Likewise.
7720         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7721         parallel other exception macros.
7722         (fegetenv): Convert from macro to extern inline so that it applies
7723         retroactively to inline functions already seen by the compiler.
7724         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7726         * posix/Makefile (before-compile): Use $(objpfx) for
7727         posix-conf-vars-def.h.
7729 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7731         * posix/getconf.c (main): Use size_t for type of I.
7732         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7733         NSPEC.
7735         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7736         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7737         * posix/posix-envs.def: Likewise.
7738         * sysdeps/posix/sysconf.c: Likewise.
7739         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7740         (specs): Remove array.
7741         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7742         array.
7744         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7745         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7746         (__sysconf): Use CONF_IS_* macros.
7748         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7749         ($(objpfx)posix-conf-vars-def.h): New target.
7750         * posix/posix-conf-vars.list: New file.
7751         * posix/posix-conf-vars.h: New file.
7752         * posix/confstr.c: Include posix-conf-vars.h.
7753         (confstr): Use CONF_IS_* macros.
7754         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7755         CONF_IS_* macros.
7756         * scripts/gen-posix-conf-vars.awk: New file.
7758 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7760         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7761         fegetround): Add no-op macros to avoid linknamespace issues.
7763         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7764         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7766         * sysdeps/unix/sysv/linux/tile/sysdep.h
7767         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7768         assembly-specific section to avoid a redefinition warning.
7770         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7771         long before casting to pointer to avoid a cast warning.
7773 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7775         * sysdeps/tile/tilegx/Implies: New file.
7777 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7779         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7781 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7783         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7785 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7787         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7788         not define.
7789         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7790         <kernel-features.h>.
7791         (__utimes) [__NR_utimes]: Make code unconditional.
7792         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7793         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7794         (__ASSUME_UTIMES): Do not undefine.
7795         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7796         (__ASSUME_UTIMES): Likewise.
7797         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7798         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7799         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7800         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7802 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7804         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7806 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7808         [BZ #17747]
7809         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7810         alias to weak alias for j0l, y0l.
7811         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7812         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7814         [BZ #17746]
7815         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7816         conversion.
7818 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7820         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7821         to zero if not already defined.
7823 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7825         [BZ #17724]
7826         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7827         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7828         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7829         (char *) casts added.
7830         * sysdeps/ieee754/k_standardf.c: New file.
7831         * sysdeps/ieee754/k_standardl.c: Likewise.
7832         * math/Makefile (libm-support): Remove k_standard.
7833         (libm-calls): Add k_standard.
7835 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7837         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7838         Optimize to avoid an unnecessary FPCR read.
7840 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7842         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7843         Optimize to reduce FPCR/FPSR accesses.
7845 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7847         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7848         Call libc_fetestexcept_aarch64.
7850 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7852         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7853         Call libc_fesetround_aarch64.
7855 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7857         [BZ #17733]
7858         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7859         (__bind): Do not define as weak alias.
7860         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7861         define.
7862         (__getsockname): Do not define as weak alias.
7864 2014-12-22  Will Newton  <will.newton@linaro.org>
7866         * manual/install.texi: Document that we require bison 2.7
7867         or above.
7868         * INSTALL: Regenerate.
7869         * configure.ac: Use AC_CHECK_PROG_VER instead of
7870         AC_PATH_PROG when checking for bison and check for
7871         version 2.7 or above.
7872         * configure: Regenerate.
7874 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7876         [BZ #17745]
7877         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7878         * sysdeps/tile/ffsll.c (ffsll): To here.
7880         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7882 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7884         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7885         if not defined.
7886         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7887         definition.
7888         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7889         hidden ___tls_get_addr.
7890         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7891         hidden __tls_get_addr.
7892         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7893         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7894         Likewise.
7896 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7898         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7899         _dl_init call.
7901 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7903         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7904         from "call _dl_init@PLT".
7905         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7907 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7909         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7910         guarantees.
7912 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7914         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7916 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7918         [BZ #17744]
7919         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7920         strnlen.
7922 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7924         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7925         of multu on MIPSr6.
7926         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7927         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7928         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7929         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7930         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7932 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7934         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7935         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7936         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7937         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7938         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7939         mips32r6/mips64r6.
7940         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7942 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7944         * string/strncat.c (STRNCAT): Simplify implementation.
7946 2014-12-19  David S. Miller  <davem@davemloft.net>
7948         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7949         access the quad as both a long double and as a series of 4 words.
7951         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7952         link_map->l_info array access.
7954 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7956         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7958         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7959         * math/atest-exp2.c (TIMEOUT): Likewise.
7960         * math/atest-sincos.c (TIMEOUT): Likewise.
7962 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7964         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7965         -Wno-error with -fno-builtin-lround.
7967 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7969         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7970         Contains futex constants and functions moved over from ...
7971         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7972         <lowlevellock-futex.h>.
7973         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7974         (lll_timedwait_tid): Add comments and parentheses around macro
7975         arguments.
7977 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7980         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7981         (__lll_private_flag): Remove.
7982         (lll_futex_wait): Likewise.
7983         (lll_futex_timed_wait): Likewise.
7984         (lll_futex_wake): Likewise.
7985         (lll_futex_requeue): Likewise.
7986         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7987         (__lll_timedwait_tid): Spell out argument names.
7988         (lll_timedwait_tid): Add comments and parentheses around macro
7989         arguments.
7990         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7991         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7993 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7995         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7996         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7997         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7998         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7999         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8000         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8001         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8002         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8003         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8004         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8005         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8006         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8007         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8008         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8009         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8010         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8011         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8012         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8013         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8015 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8017         * sysdeps/x86_64/x32/Makefile: New file.
8019 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8021         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8022         1L with (mp_limb_t) 1.
8024 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8026         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8027         * nptl/libc_pthread_init.c: ... here.
8028         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8029         * nptl/register-atfork.c: ... here.
8031         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8032         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8033         Use assert_perror to check its return value.
8034         (__gai_create_helper_thread): Likewise.
8036         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8038         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8040 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8042         [BZ #17725]
8043         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8044         __profil_counter.
8045         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8046         Likewise.
8047         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8048         Likewise.
8049         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8050         Likewise.
8051         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8052         (profil_counter): Likewise.
8053         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8054         (profil_counter): Likewise.
8055         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8060         (profil_counter): Likewise.
8061         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8062         Likewise.
8063         [!__profil_counter] (profil_counter): Define as weak alias of
8064         __profil_counter.
8065         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8066         (profil_counter): Rename to __profil_counter.
8067         [!__profil_counter] (profil_counter): Define as weak alias of
8068         __profil_counter.
8069         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8070         (profil_counter): Rename to __profil_counter.
8071         [!__profil_counter] (profil_counter): Define as weak alias of
8072         __profil_counter.
8073         * sysdeps/posix/profil.c: Update comment referring to
8074         profil_counter.
8075         (__profil): Use __profil_counter instead of profil_counter.
8076         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8077         __profil_counter.  Use __profil_counter_ushort and
8078         __profil_counter_uint in definitions.
8079         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8080         instead of profil_counter_uint and profil_counter_ushort.
8082         [BZ #17722]
8083         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8084         define as weak alias of __inet_makeaddr.
8085         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8086         as weak alias of __inet_addr.
8087         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8088         as weak alias of __inet_pton.  Use libc_hidden_weak.
8089         * include/arpa/inet.h (__inet_pton): Declare.  Use
8090         libc_hidden_proto.
8091         (inet_makeaddr): Don't use libc_hidden_proto.
8092         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8093         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8094         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8095         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8096         Remove variable.
8097         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8098         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8100 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8102         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8104 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8106         * stdio-common/bug-vfprintf-nargs.c (do_test):
8107         Cast value to intptr_t to avoid format warning
8108         for usage with PRIdPTR printing macro.
8110 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8112         * libio/tst-widetext.c (do_test):
8113         Use format type %td instead of %Zd for ptrdiff_t
8114         in order to avoid format warning.
8116 2014-12-17  Andreas Schwab  <schwab@suse.de>
8118         * nscd/mem.c (gc): Add size_t cast to match printf format.
8120 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8122         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8123         (init): Apply PTR_MANGLE to pointers before storing them.
8124         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8125         before using them.
8127 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8129         [BZ #17719]
8130         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8131         define as weak alias of __memrchr.
8132         (__memrchr): Do not define as strong alias of memrchr.
8133         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8134         Remove variable.
8135         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8136         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8137         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8139         [BZ #17717]
8140         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8141         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8142         (if_indextoname): Rename to __if_indextoname and define as weak
8143         alias of __if_indextoname.  Use libc_hidden_weak.
8144         (if_freenameindex): Rename to __if_freenameindex and define as
8145         weak alias of __if_freenameindex.
8146         (if_nameindex): Rename to __if_nameindex and define as weak alias
8147         of __if_nameindex.
8148         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8149         __if_nametoindex and define as weak alias of __if_nametoindex.
8150         Use libc_hidden_weak.
8151         (if_freenameindex): Rename to __if_freenameindex and define as
8152         weak alias of __if_freenameindex.
8153         (if_nameindex): Rename to __if_nameindex and define as weak alias
8154         of __if_nameindex.
8155         (if_indextoname): Rename to __if_indextoname and define as weak
8156         alias of __if_indextoname.  Use libc_hidden_weak.
8157         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8158         __if_nametoindex and define as weak alias of __if_nametoindex.
8159         Use libc_hidden_weak.
8160         (if_freenameindex): Rename to __if_freenameindex and define as
8161         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8162         (if_nameindex_netlink): Use __if_freenameindex instead of
8163         if_freenameindex.
8164         (if_nameindex): Rename to __if_nameindex and define as weak alias
8165         of __if_nameindex.  Use libc_hidden_weak.
8166         (if_indextoname): Rename to __if_indextoname and define as weak
8167         alias of __if_indextoname.  Use libc_hidden_weak.
8168         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8169         libc_hidden_proto.
8170         [!_ISOMAC] (__if_freenameindex): Likewise.
8171         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8172         if_nametoindex.
8173         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8174         variable.
8175         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8176         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8177         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8178         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8179         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8180         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8181         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8183         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8184         Remove variable.
8185         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8186         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8188 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8190         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8191         subscript above bounds'
8193         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8194         bounds.
8196 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8198         * libio/tst-fopenloc.c: Use test-skeleton.c.
8200         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8201         (entry): Rename to ITEM.
8202         (do_test, comp): Adjust.
8204         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8206 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8208         * string/tester.c: Include <libc-internal.h>.
8209         (test_memset): Ignore -Wmemset-transposed-args.
8211 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8213         * misc/tst-mntent2.c (do_test): Fix warning.
8215 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8217         * elf/tst-unique4lib.cc(a): Mark as used.
8219 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8221         [BZ #17630]
8222         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8223         names.
8225 2014-12-16  Allan McRae  <allan@archlinux.org>
8227         * stdio-common/Makefile (tests): Re-add bug26.
8229 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8231         [BZ #17657]
8232         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8233         static array.
8235 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8237         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8238         (__lll_lock_wait): Likewise.
8239         (__lll_timedlock_wait): Likewise.
8240         (__lll_timedwait_tid): Likewise.
8241         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8242         (__lll_robust_timedlock_wait): Likewise.
8243         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8244         (lll_cond_trylock): Likewise.
8245         (__lll_lock): Likewise.
8246         (__lll_robust_lock): Likewise.
8247         (__lll_cond_lock): Likewise.
8248         (lll_robust_cond_lock): Likewise.
8249         (__lll_timedlock): Likewise.
8250         (__lll_robust_timedlock): Likewise.
8251         (__lll_unlock): Likewise.
8252         (__lll_robust_unlock): Likewise.
8253         (lll_wait_tid): Likewise.
8254         (lll_timedwait_tid): Likewise.
8256 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8258         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8260 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8262         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8264 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8266         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8267         * stdio-common/tst-sprintf.c: Likewise.
8269 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8271         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8273 2014-12-15  Jeff Law  <law@redhat.com>
8275         [BZ #16617]
8276         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8277         on the heap.  (CVE-2012-3406)
8278         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8279         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8280         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8282 2014-12-15  Will Newton  <will.newton@linaro.org>
8284         * manual/install.texi: Bump required version of texinfo
8285         to 4.7 from 4.5.
8286         * INSTALL: Regenerated.
8287         * configure.ac: Check for makeinfo version 4.7 and above.
8288         * configure: Regenerated.
8290 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8292         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8293         PREFIX, string constant to insert between directory and name.
8294         * sysdeps/posix/shm_open.c: Update caller.
8295         * sysdeps/posix/shm_unlink.c: Likewise.
8296         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8297         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8298         (SEM_SHM_PREFIX): New macro.
8299         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8300         [$(have-thread-library) = no].
8301         * nptl/Makefile (libpthread-routines): Add shm-directory.
8302         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8303         * sysdeps/nptl/shm-directory.h: New file.
8304         * sysdeps/posix/shm-directory.c
8305         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8306         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8307         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8308         INTERNAL_SYSCALL.
8309         (__where_is_shmfs): Function removed.
8310         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8311         Variables removed.
8312         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8313         Use SHM_GET_NAME.
8314         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8316         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8317         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8318         unconditional for use inside libpthread.
8319         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8321 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8323         * nptl/pthread_getaffinity.c: New file.
8324         * nptl/pthread_setaffinity.c: New file.
8325         * nptl/pthread_getname.c: New file.
8326         * nptl/pthread_setname.c: New file.
8328         * nptl/pthread_create.c (START_THREAD_DEFN)
8329         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8331 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8332             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8334         * resolv/res_send.c (send_vc): Disable warning resplen may
8335         be used uninitialized.
8337 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8339         * nptl/tst-mutex6.c
8340         (ATTR_NULL): New define checks ATTR against NULL.
8341         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8342         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8344 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8346         [BZ #17581]
8347         * malloc/hooks.c
8348         (mem2mem_check): Revert my previous change.
8349         (malloc_check_get_size): Revert my previous change.
8350         (mem2chunk_check): Revert my previous change.
8352 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8354         * sysdeps/posix/shm-directory.c: New file.
8355         * sysdeps/posix/shm-directory.h: New file.
8356         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8357         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8358         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8359         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8360         Transmute EPERM to EACCES.
8361         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8362         from ...
8363         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8364         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8366 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8368         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8369         pointer and cast to uintptr_t.
8370         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8372         Add cast to avoid warning.
8373         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8375 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8377         * nptl/semaphore.h: Move to ...
8378         * sysdeps/pthread/semaphore.h: ... here.
8379         * Makefile (installed-headers): Change nptl/semaphore.h to
8380         sysdeps/pthread/semaphore.h.
8382 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8384         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8385         generated error format strings.
8387         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8388         -Wformat-extra-args warnings for scanf formats.
8389         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8390         test of zero-length format (duh).
8391         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8392         corner-case scanf format test.
8393         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8394         generated fprintf format string.
8395         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8396         corner-case sprintf format tests.
8397         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8398         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8399         -Wformat-extra-args warnings throughout.
8400         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8401         (CFLAGS-scanf4.c): Likewise.
8402         (CFLAGS-scanf7.c): Likewise.
8403         (CFLAGS-tst-sprintf.c): Likewise.
8404         (CFLAGS-tst-printf.c): Likewise.
8405         (CFLAGS-tst-printfsz.c): Likewise.
8407 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8409         * include/cpio.h: New file.
8410         * include/fmtmsg.h: Likewise.
8412         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8413         corresponding format argument to size_t.
8414         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8415         arguments.
8416         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8417         corresponding format argument to size_t.
8418         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8419         arguments.
8420         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8421         corresponding format argument to size_t.
8422         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8423         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8424         (CFLAGS-tst-mbswcs2.c): Likewise.
8425         (CFLAGS-tst-mbswcs3.c): Likewise.
8426         (CFLAGS-tst-mbswcs4.c): Likewise.
8427         (CFLAGS-tst-mbswcs5.c): Likewise.
8428         (CFLAGS-tst-trans.c): Likewise
8430 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8432         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8433         rather than assuming they won't contain any '%'s.
8435 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8437         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8438         inhibit_loop_to_libcall to avoid recursive calls.
8439         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8440         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8442 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8444         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8445         prototype.
8447 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8449         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8450         integer value instead of boolean.
8452 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8454         * malloc/malloc.c: Fix powerof2 check.
8456 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8458         * locale/programs/locfile.h (maybe_swap_uint32):
8459         Remove inline and add unused attribute.
8461 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8464         Truncating assembler expression to a .long expression.
8466 2014-12-11  Andreas Schwab  <schwab@suse.de>
8468         * elf/rtld.c (struct map_args): Constify str member.
8469         (do_preload): Constify fname argument.
8471 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8474         constants definition.
8476 2014-12-11  Andreas Schwab  <schwab@suse.de>
8478         [BZ #16657]
8479         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8480         FORCE_ELISION instead of DO_ELISION.
8481         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8482         Remove.
8483         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8484         Likewise.
8486         * iconvdata/gconv-modules: Remove duplicate entry.
8488 2014-12-11  Will Newton  <will.newton@linaro.org>
8490         Merge gettext 0.19.3 into intl/.
8492         This involves a number of cosmetic changes to comments
8493         and ANSI function definitions and prototypes throughout
8494         all the files. The gettext copyright header is used but
8495         with the date ranges taken from the glibc copy.
8497         * NEWS: Add gettext merge to 2.21.
8498         * intl/bindtextdom.c: Switch to gettext copyright.
8499         Use ANSI definitions and prototypes.
8500         Use gl_* locking primitives rather than __libc_* ones.
8501         Use __builtin_expect rather than __glibc_likely/unlikely.
8502         * intl/dcgettext.c: Switch to gettext copyright.
8503         Use ANSI definitions and prototypes.
8504         * intl/dcigettext.c: Switch to gettext copyright.
8505         Use ANSI definitions and prototypes.
8506         (INTDIV0_RAISES_SIGFPE): New define.
8507         Use gl_* locking primitives rather than __libc_* ones.
8508         Include eval-plural.h instead of plural-eval.c.
8509         Use __builtin_expect rather than __glibc_likely/unlikely.
8510         * intl/dcngettext.c: Switch to gettext copyright.
8511         Use ANSI definitions and prototypes.
8512         * intl/dgettext.c: Likewise.
8513         * intl/dngettext.c: Likewise.
8514         * intl/plural-eval.c: Renamed to...
8515         * intl/eval-plural.h: ...this.
8516         * intl/explodename.c: Switch to gettext copyright.
8517         Use ANSI definitions and prototypes.
8518         (_nl_explode_name): Use strchr instead of __rawmemchr.
8519         * intl/finddomain.c: Switch to gettext copyright.
8520         Use ANSI definitions and prototypes.
8521         Use gl_* locking primitives rather than __libc_* ones.
8522         (_nl_find_domain): Use malloc rather than alloca for
8523         allocation of temporary locale name.
8524         * intl/gettext.c: Switch to gettext copyright.
8525         Use ANSI definitions and prototypes.
8526         * intl/gettextP.h: Switch to gettext copyright.
8527         Use ANSI definitions and prototypes.
8528         Use gl_* locking primitives rather than __libc_* ones.
8529         * intl/gmo.h: Switch to gettext copyright.
8530         (struct sysdep_string): Move struct segment_pair outside of
8531         struct definition.
8532         * intl/hash-string.c: Use ANSI definitions and prototypes.
8533         * intl/hash-string.h: Switch to gettext copyright.
8534         Use ANSI definitions and prototypes.
8535         * intl/l10nflist.c: Switch to gettext copyright.
8536         Use ANSI definitions and prototypes.
8537         (_nl_normalize_codeset): Avoid integer overflow.
8538         * intl/loadinfo.h: Switch to gettext copyright.
8539         Use ANSI definitions and prototypes.
8540         (LIBINTL_DLL_EXPORTED): New define.
8541         (PATH_SEPARATOR): New define.
8542         * intl/loadmsgcat.c: Switch to gettext copyright.
8543         * intl/localealias.c: Switch to gettext copyright.
8544         Use ANSI definitions and prototypes.
8545         (_nl_expand_alias): Use PATH_SEPARATOR.
8546         * intl/ngettext.c: Switch to gettext copyright.
8547         Use ANSI definitions and prototypes.
8548         * intl/plural-exp.c: Likewise.
8549         * intl/plural-exp.h: Switch to gettext copyright.
8550         Use ANSI definitions and prototypes.
8551         (struct expression): Move definition of enum operator outside
8552         of struct definition.
8553         * intl/plural.c: Regenerate.
8554         * intl/plural.y: Switch to gettext copyright.
8555         Use ANSI definitions and prototypes.
8556         Port to bison 3.0.
8557         * intl/textdomain.c: Switch to gettext copyright.
8558         Use ANSI definitions and prototypes.
8559         Use gl_* locking primitives rather than __libc_* ones.
8561 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8563         * debug/warning-nop.c: Add used atrribute.
8565 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8567         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8569         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8570         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8571         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8573 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8574             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8576         [BZ #17634]
8577         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8578         Undefine after defining function.  Define as weak alias of
8579         __wcschr.  Use libc_hidden_weak.
8580         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8581         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8582         (libc_hidden_def): Also define __GI___wcschr alias.
8583         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8584         __wcschr and define as weak alias of __wcschr.
8585         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8586         __wcschr.
8587         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8588         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8589         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8590         libc_hidden_weak.  Do not use libc_hidden_def.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8592         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8593         __GI___wcschr alias.
8594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8595         [IS_IN (libc)] (wcschr): Define as macro expanding to
8596         __redirect_wcschr.
8597         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8598         [IS_IN (libc)] (__wcschr_power6): Likewise.
8599         [IS_IN (libc)] (__wcschr_power7): Likewise.
8600         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8601         instead of wcschr.
8602         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8603         __libc_wcschr.
8604         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8605         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8606         __wcschr and define as weak alias of __wcschr.  Use
8607         libc_hidden_builtin_def.
8608         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8609         as weak alias of __wcschr.  Use libc_hidden_weak.
8610         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8611         wcschr.
8612         * time/era.c (_nl_init_era_entries): Likewise.
8613         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8614         variable.
8615         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8616         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8618 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8620         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8621         format for long int variable.
8623 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8625         [BZ #10672]
8626         * manual/search.texi: (Array Sort Function): Remove claim how to make
8627         qsort stable.
8629 2014-12-10  Andreas Schwab  <schwab@suse.de>
8631         [BZ #12847]
8632         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8633         user-controlled locks.
8635 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8637         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8638         register.
8640 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8642         * configure.ac (--disable-werror): New configure option.
8643         (enable_werror): New AC_SUBST.
8644         * configure: Regenerated.
8645         * config.make.in (enable-werror): New variable.
8646         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8647         -Wno-error=undef.
8648         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8649         * manual/install.texi (Configuring and compiling): Document
8650         --disable-werror.
8651         * INSTALL: Regenerated.
8652         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8653         (CFLAGS-tst-chk2.c): Likewise.
8654         (CFLAGS-tst-chk3.c): Likewise.
8655         (CFLAGS-tst-chk4.cc): Likewise.
8656         (CFLAGS-tst-chk5.cc): Likewise.
8657         (CFLAGS-tst-chk6.cc): Likewise.
8658         (CFLAGS-tst-lfschk1.c): Likewise.
8659         (CFLAGS-tst-lfschk2.c): Likewise.
8660         (CFLAGS-tst-lfschk3.c): Likewise.
8661         (CFLAGS-tst-lfschk4.cc): Likewise.
8662         (CFLAGS-tst-lfschk5.cc): Likewise.
8663         (CFLAGS-tst-lfschk6.cc): Likewise.
8665         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8666         (main): Disable -Wdeprecated-declarations around calls to
8667         register_printf_function.
8669         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8670         (do_test): Disable -Wdiv-by-zero around some calls to
8671         fwrite_unlocked and fread_unlocked.
8673         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8674         (DIAG_POP_NEEDS_COMMENT): Likewise.
8675         (_DIAG_STR1): Likewise.
8676         (_DIAG_STR): Likewise.
8677         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8678         * stdio-common/bug21.c: Include <libc-internal.h>.
8679         (do_test): Disable -Wformat around call to sscanf.
8680         * stdio-common/scanf14.c: Include <libc-internal.h>.
8681         (main): Disable -Wformat around some calls to scanf functions.
8683 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8685         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8687 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8689         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8690         stack variable alignment.
8692 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8694         [BZ #17682]
8695         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8696         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8697         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8698         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8699         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8700         __getrlimit instead of getrlimit.
8701         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8702         __gettimeofday instead of gettimeofday.
8703         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8704         Likewise.
8705         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8706         Likewise.
8707         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8708         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8709         Remove variable.
8710         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8711         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8713 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8715         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8716         for wide-character tests.
8718 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8720         * io/openat64.c: #include <libc-internal.h>
8721         (__openat64): Prototypify.  Use ignore_value on MODE.
8722         * io/openat.c: Likewise.
8723         * misc/reboot.c: #include <libc-internal.h>
8724         (reboot): Prototypify.  Use ignore_value on HOWTO.
8725         * misc/ptrace.c: #include <libc-internal.h>
8726         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8728 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8730         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8731         XPG4, UNIX98 and XOPEN2K.
8732         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8733         Remove variable.
8734         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8736 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8738         * libio/fileops.c: Use ISO C style for function definitions.
8739         * libio/iofopen.c: Likewise.
8740         * libio/wfileops.c: Likewise.
8742         [BZ #17653]
8743         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8744         offset on EOF.
8745         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8746         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8747         (fgets_func): Function pointer to fgets and fgetws.
8748         (do_ftell_test): Add test to verify ftell value after read
8749         EOF.
8750         (do_test): Set fgets_func.
8752         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8753         O_TRUNC flag for w and w+ modes.
8754         (do_rewind_test): Likewise.
8755         (do_ftell_test): Likewise.
8756         (do_write_test): Likewise.
8758         [BZ #17647]
8759         * libio/fileops.c (do_ftell): Seek only when there are
8760         unflushed writes.
8761         * libio/wfileops.c (do_ftell_wide): Likewise.
8762         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8763         test case.
8764         (do_one_test): Call it.
8766 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8768         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8769         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8770         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8771         Remove variable.
8772         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8773         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8774         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8776 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8778         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8779         Remove variable.
8780         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8782         [BZ #17668]
8783         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8784         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8785         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8786         __freeifaddrs.  Use libc_hidden_weak.
8787         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8788         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8789         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8790         __freeifaddrs.  Use libc_hidden_weak.
8791         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8792         __getifaddrs and define as weak alias of __getifaddrs.  Use
8793         libc_hidden_weak.
8794         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8795         __freeifaddrs.  Use libc_hidden_weak.
8796         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8797         Remove variable.
8798         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8799         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8801 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8803         [BZ #17601]
8804         * sysdeps/mips/start.S (__start): Use indirect jump to call
8805         __libc_start_main.
8807 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8809         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8811         * nptl/tst-mutex1.c: Include <stdbool.h>.
8812         [!ATTR] (ATTR_NULL): New macro.
8813         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8814         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8815         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8817         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8818         to char *.
8820         [BZ #17665]
8821         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8822         Change conditional to [__USE_MISC].
8824         [BZ #17664]
8825         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8826         fgets_unlocked.
8827         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8828         __fgets_unlocked.
8829         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8830         fgets_unlocked.
8831         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8832         Remove variable.
8833         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8834         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8835         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8836         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8837         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8838         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8839         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8840         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8841         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8843         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8845 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8847         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8848         Remove strpbrk objects.
8849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8850         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8851         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8852         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8853         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8854         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8857         Remove strcspn objects.
8858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8859         (__libc_ifunc_impl_list): Remove strcspn implementation.
8860         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8861         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8862         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8863         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8865         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8866         Remove strspn objetcs.
8867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8868         (__libc_ifunc_impl_list): Remove strspn implementation.
8869         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8870         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8871         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8872         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8874 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8876         [BZ #17581]
8877         * malloc/hooks.c
8878         (mem2mem_check): Add a terminator to the chain of checking blocks.
8879         (malloc_check_get_size): Use it here.
8880         (mem2chunk_check): Ditto.
8882 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8884         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8885         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8887 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8889         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8891         * nptl/nptl-init.c: Include libc-internal.h.
8892         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8894         * elf/ldconfig.c (search_dir): Expand comment.
8896 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8898         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8899         variable.
8900         (linknamespace-symlist-stdlibs-tests): Likewise.
8901         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8902         instead of $(objpfx)symlist-stdlibs.
8903         (linknamespace-libs-isoc): New variable.
8904         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8905         (linknamespace-libs-ISO): New variable.
8906         (linknamespace-libs-ISO99): Likewise.
8907         (linknamespace-libs-ISO11): Likewise.
8908         (linknamespace-libs-XPG3): Likewise.
8909         (linknamespace-libs-XPG4): Likewise.
8910         (linknamespace-libs-POSIX): Likewise.
8911         (linknamespace-libs-UNIX98): Likewise.
8912         (linknamespace-libs-XOPEN2K): Likewise.
8913         (linknamespace-libs-POSIX2008): Likewise.
8914         (linknamespace-libs-XOPEN2K8): Likewise.
8915         ($(objpfx)symlist-stdlibs): Replace by
8916         $(linknamespace-symlist-stdlibs-tests).  Use
8917         $(linknamespace-libs-$*) as set of libraries.
8918         ($(linknamespace-header-tests)): Update dependencies.  Use
8919         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8920         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8921         * conform/linknamespace.pl: Remove comment about considering
8922         definitions of symbols from irrelevant libraries.
8924 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8926         [BZ #13862]
8927         * elf/dl-tls.c: Include <atomic.h>.
8928         (oom): Remove #ifdef SHARED/#endif.
8929         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8930         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8931         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8932         big enough.
8933         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8934         * nptl/Makefile (tests): Add tst-stack4.
8935         (modules-names): Add tst-stack4mod.
8936         ($(objpfx)tst-stack4): New.
8937         (tst-stack4mod.sos): Likewise.
8938         ($(objpfx)tst-stack4.out): Likewise.
8939         ($(tst-stack4mod.sos)): Likewise.
8940         (clean): Likewise.
8941         * nptl/tst-stack4.c: New file.
8942         * nptl/tst-stack4mod.c: Likewise.
8944 2014-11-27  J. Brown  <jb999@gmx.de>
8946         * sysdeps/x86/bits/string.h: Add recent CPUs.
8948 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8950         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8951         sigblock.
8953         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8954         feof.
8956         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8957         variable.
8959 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8961         * nscd/connections.c: Include libc-internal.h because of macro
8962         usage ignore_value.
8964 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8966         * string/bits/string3.h (__warn_memset_zero_len): Don't
8967         declare for gcc newer than 5.0.
8968         (memset): Don't test for zero-length __LEN for gcc newer than
8969         5.0.
8971 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8973         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8974         size_t for %zu format.
8976         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8977         difference, not %ju.
8979 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8981         * include/libc-internal.h (ignore_value): New macro.
8982         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8983         with ignore_value.
8985         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8986         definition.
8988         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8989         pthread_cleanup_push to void *.
8991         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8992         Undefine.
8994         [BZ #16619]
8995         [BZ #16740]
8996         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8997         instead of 1L << 52.
8999         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9000         * libio/bug-rewind2.c (do_test): Likewise.
9002         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9003         * debug/test-strcpy_chk-ifunc.c: Likewise.
9004         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9005         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9006         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9007         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9008         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9009         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9010         * Rules [$(multi-arch) = no] (tests): Do not filter out
9011         $(tests-ifunc).
9012         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9013         * debug/Makefile (tests-ifunc): Remove variable.
9014         (tests): Do not add $(tests-ifunc).
9015         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9016         (tests): Do not add $(tests-ifunc).
9017         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9018         [TEST_IFUNC]: Remove conditionals.
9019         * string/test-string.h (TEST_IFUNC): Remove macro.
9020         [TEST_IFUNC]: Remove conditionals.
9022         * string/test-strchr.c [!WIDE] (L): New macro.
9023         [WIDE] (L): Likewise.
9024         (check1): Use CHAR instead of char.  Use L on string and character
9025         constants.
9027 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9029         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9030         tests.
9031         * sysdeps/powerpc/bits/atomic.h
9032         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9033         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9034         (atomic_exchange_and_add_acq): Likewise.
9035         (atomic_exchange_and_add_rel): Likewise.
9036         * sysdeps/powerpc/powerpc32/bits/atomic.h
9037         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9038         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9039         * sysdeps/powerpc/powerpc64/bits/atomic.h
9040         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9041         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9043 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9045         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9046         Change synchronization of __sched_fifo_min_prio and
9047         __sched_fifo_max_prio.
9048         * nptl/pthread_mutexattr_getprioceiling.c
9049         (pthread_mutexattr_getprioceiling): Likewise.
9050         * nptl/pthread_mutexattr_setprioceiling.c
9051         (pthread_mutexattr_setprioceiling): Likewise.
9052         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9053         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9054         Likewise.
9056 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9058         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9059         void.
9061 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9063         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9064         third argument const.
9066 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9068         fnmatch: work around GCC compiler warning bug with uninit var
9069         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9070         This works around a bug with x86-64 GCC 4.9.2 and earlier
9071         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9072         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9073         used uninitialized in this function [-Wmaybe-uninitialized]".
9075 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9077         * posix/bug-regex31.c (main): Return RES not 0.
9079 2014-11-25  Anton Blanchard <anton@samba.org>
9081         * sysdeps/powerpc/bits/atomic.h
9082         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9084 2014-11-24  Sterling Augustine  <saugustine@google.com>
9086         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9088 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9090         [BZ #17608]
9091         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9093 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #17633]
9096         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9097         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9098         variable.
9099         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9100         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9102 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9104         * string/strncpy.c (strncpy): Improve performance by using memset.
9106 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9108         * string/strcpy.c (strcpy):
9109         Improve performance by using strlen and memcpy.
9111 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9113         * string/strcoll_l.c (get_next_seq): __always_inline.
9114         * string/strcoll_l.c (do_compare): __always_inline.
9116 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9118         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9119         defined.
9120         * include/mqueue.h: Likewise.
9121         * include/stdlib.h: Likewise.
9123         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9124         (get_null_defines): Adjust.
9125         * sunrpc/Makefile: Adjust comment.
9126         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9127         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9128         (CFLAGS-interp.c): Likewise.
9129         (CFLAGS-ldconfig.c): Likewise.
9130         (CPPFLAGS-.os): Likewise.
9131         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9132         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9133         * extra-modules.mk (extra-modules.mk): Likewise.
9134         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9135         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9136         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9137         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9138         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9139         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9140         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9141         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9142         * iconvdata/Makefile (CPPFLAGS): Likewise.
9143         (cpp-srcs-left): Add libof for all iconvdata routines.
9144         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9145         * include/assert.h: Likewise.
9146         * include/ctype.h: Likewise.
9147         * include/errno.h: Likewise.
9148         * include/libc-symbols.h: Likewise.
9149         * include/math.h: Likewise.
9150         * include/netdb.h: Likewise.
9151         * include/resolv.h: Likewise.
9152         * include/stdio.h: Likewise.
9153         * include/stdlib.h: Likewise.
9154         * include/string.h: Likewise.
9155         * include/sys/stat.h: Likewise.
9156         * include/wctype.h: Likewise.
9157         * intl/l10nflist.c: Likewise.
9158         * libidn/idn-stub.c: Likewise.
9159         * libio/libioP.h: Likewise.
9160         * nptl/libc_multiple_threads.c: Likewise.
9161         * nptl/pthreadP.h: Likewise.
9162         * posix/regex_internal.h: Likewise.
9163         * resolv/res_hconf.c: Likewise.
9164         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9165         * sysdeps/arm/memmove.S: Likewise.
9166         * sysdeps/arm/sysdep.h: Likewise.
9167         * sysdeps/generic/_itoa.h: Likewise.
9168         * sysdeps/generic/symbol-hacks.h: Likewise.
9169         * sysdeps/gnu/errlist.awk: Likewise.
9170         * sysdeps/gnu/errlist.c: Likewise.
9171         * sysdeps/i386/i586/memcpy.S: Likewise.
9172         * sysdeps/i386/i586/memset.S: Likewise.
9173         * sysdeps/i386/i686/memcpy.S: Likewise.
9174         * sysdeps/i386/i686/memmove.S: Likewise.
9175         * sysdeps/i386/i686/mempcpy.S: Likewise.
9176         * sysdeps/i386/i686/memset.S: Likewise.
9177         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9178         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9179         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9180         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9181         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9182         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9183         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9184         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9185         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9186         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9187         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9188         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9189         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9190         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9191         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9192         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9193         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9194         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9195         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9196         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9197         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9198         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9199         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9200         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9201         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9202         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9203         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9204         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9205         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9206         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9207         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9208         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9210         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9211         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9213         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9214         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9215         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9216         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9217         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9218         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9219         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9220         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9221         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9222         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9223         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9224         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9225         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9226         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9227         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9228         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9229         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9230         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9231         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9232         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9233         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9234         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9235         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9236         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9237         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9238         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9239         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9240         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9241         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9242         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9243         * sysdeps/posix/closedir.c: Likewise.
9244         * sysdeps/posix/opendir.c: Likewise.
9245         * sysdeps/posix/readdir.c: Likewise.
9246         * sysdeps/posix/rewinddir.c: Likewise.
9247         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9248         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9249         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9250         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9251         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9253         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9258         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9259         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9260         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9261         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9262         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9263         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9265         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9266         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9267         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9268         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9269         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9270         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9271         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9272         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9275         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9283         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9284         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9285         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9286         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9287         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9288         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9289         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9290         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9291         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9292         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9293         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9294         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9295         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9296         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9297         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9298         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9299         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9301         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9302         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9304         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9305         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9306         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9307         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9308         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9309         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9310         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9311         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9312         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9313         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9314         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9316         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9317         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9318         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9319         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9320         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9321         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9322         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9323         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9324         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9325         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9326         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9327         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9328         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9329         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9330         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9331         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9332         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9333         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9334         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9335         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9336         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9337         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9338         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9339         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9342         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9343         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9344         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9345         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9346         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9347         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9348         * sysdeps/unix/alpha/sysdep.S: Likewise.
9349         * sysdeps/unix/alpha/sysdep.h: Likewise.
9350         * sysdeps/unix/make-syscalls.sh: Likewise.
9351         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9353         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9354         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9355         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9356         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9357         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9358         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9359         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9360         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9362         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9363         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9364         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9365         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9366         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9367         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9368         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9369         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9370         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9371         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9372         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9373         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9374         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9375         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9376         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9380         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9381         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9382         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9385         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9386         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9389         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9390         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9391         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9392         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9393         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9394         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9395         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9397         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9398         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9401         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9402         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9403         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9404         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9405         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9407         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9409         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9410         * sysdeps/x86_64/memcpy.S: Likewise.
9411         * sysdeps/x86_64/memmove.c: Likewise.
9412         * sysdeps/x86_64/memset.S: Likewise.
9413         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9414         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9415         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9416         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9417         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9418         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9419         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9420         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9421         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9422         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9423         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9425         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9426         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9427         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9428         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9429         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9430         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9431         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9432         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9433         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9435         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9436         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9437         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9438         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9439         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9440         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9441         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9442         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9443         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9444         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9445         * sysdeps/x86_64/strcmp.S: Likewise.
9447         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9449         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9450         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9451         * elf/rtld-Rules: Likewise.
9452         * elf/setup-vdso.h: Likewise.
9453         * include/assert.h: Likewise.
9454         * include/bits/stdlib-float.h: Likewise.
9455         * include/errno.h: Likewise.
9456         * include/sys/stat.h: Likewise.
9457         * include/unistd.h: Likewise.
9458         * sysdeps/aarch64/setjmp.S: Likewise.
9459         * sysdeps/alpha/setjmp.S: Likewise.
9460         * sysdeps/arm/__longjmp.S: Likewise.
9461         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9462         * sysdeps/arm/setjmp.S: Likewise.
9463         * sysdeps/arm/sysdep.h: Likewise.
9464         * sysdeps/generic/_itoa.h: Likewise.
9465         * sysdeps/generic/dl-sysdep.h: Likewise.
9466         * sysdeps/generic/ldsodefs.h: Likewise.
9467         * sysdeps/i386/dl-tls.h: Likewise.
9468         * sysdeps/i386/setjmp.S: Likewise.
9469         * sysdeps/m68k/setjmp.c: Likewise.
9470         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9471         * sysdeps/mach/hurd/opendir.c: Likewise.
9472         * sysdeps/posix/getcwd.c: Likewise.
9473         * sysdeps/posix/opendir.c: Likewise.
9474         * sysdeps/posix/profil.c: Likewise.
9475         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9477         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9478         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9479         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9480         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9481         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9482         * sysdeps/s390/dl-tls.h: Likewise.
9483         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9484         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9485         * sysdeps/sh/sh3/setjmp.S: Likewise.
9486         * sysdeps/sh/sh4/setjmp.S: Likewise.
9487         * sysdeps/unix/alpha/sysdep.h: Likewise.
9488         * sysdeps/unix/arm/sysdep.S: Likewise.
9489         * sysdeps/unix/i386/sysdep.S: Likewise.
9490         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9491         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9493         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9495         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9496         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9497         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9498         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9499         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9500         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9502         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9505         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9506         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9508         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9509         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9510         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9513         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9514         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9517         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9518         * sysdeps/x86_64/setjmp.S: Likewise.
9520         * include/math.h: Use IS_IN instead of IS_IN_libm.
9521         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9522         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9524         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9525         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9528         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9529         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9530         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9531         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9532         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9533         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9534         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9535         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9536         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9537         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9538         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9539         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9540         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9541         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9542         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9543         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9544         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9545         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9546         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9547         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9548         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9549         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9550         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9551         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9552         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9553         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9555         Likewise.
9556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9557         Likewise.
9558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9559         Likewise.
9560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9561         Likewise.
9562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9563         Likewise.
9564         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9565         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9566         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9567         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9568         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9569         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9575         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9576         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9577         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9578         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9579         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9580         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9581         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9582         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9583         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9584         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9585         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9588         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9590         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9592         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9593         * nptl/pthreadP.h: Likewise.
9594         * nptl_db/structs.def: Likewise.
9595         * sysdeps/arm/sysdep.h: Likewise.
9596         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9597         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9598         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9599         * sysdeps/unix/alpha/sysdep.h: Likewise.
9600         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9601         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9602         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9603         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9604         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9605         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9606         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9607         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9608         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9609         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9610         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9611         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9612         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9613         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9618         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9621         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9622         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9623         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9624         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9625         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9627         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9628         * nptl/pthreadP.h: Likewise.
9629         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9630         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9632         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9633         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9634         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9635         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9636         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9637         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9638         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9639         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9640         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9642         Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9644         Likewise.
9645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9647         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9650         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9651         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9652         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9654         * dlfcn/dladdr.c: Use IS_IN.
9655         * dlfcn/dladdr1.c: Likewise.
9656         * dlfcn/dlclose.c: Likewise.
9657         * dlfcn/dlerror.c: Likewise.
9658         * dlfcn/dlinfo.c: Likewise.
9659         * dlfcn/dlmopen.c: Likewise.
9660         * dlfcn/dlopen.c: Likewise.
9661         * dlfcn/dlsym.c: Likewise.
9662         * dlfcn/dlvsym.c: Likewise.
9664         * include/ifaddrs.h: Use IS_IN.
9665         * inet/check_pf.c: Likewise.
9666         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9667         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9669         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9670         IS_IN_ldconfig.
9671         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9672         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9674         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9675         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9676         IS_IN (libc).
9678         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9680         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9681         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9682         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9683         * include/libc-symbols.h (IS_IN_LIB): New macro.
9684         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9685         * include/netdb.h: Likewise.
9686         * include/stap-probe.h: Remove all uses of IN_LIB.
9688         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9689         instead of IN_MODULE.
9690         * include/libc-symbols.h (IN_MODULE): Define using
9691         MODULE_NAME.
9692         (PASTE_NAME, PASTE_NAME1): New macros.
9693         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9694         of IN_LIB.
9695         (STAP_PROBE_ASM): Likewise.
9697 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9699         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9700         __mach_init in dlopened libc.
9702 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9704         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9705         * sysdeps/arm/preconfigure: Regenerate.
9707 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9709         * nptl/pthread_create.c (__pthread_create_2_1): Set
9710         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9711         when copying values from IATTR into PD.
9713 2014-11-21  Will Newton  <will.newton@linaro.org>
9714             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9716         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9717         Refactor inline-asm.  Also add comment.
9719         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9720         ElfW macro instead of hardcoded Elf64 types.
9721         (la_aarch64_gnu_pltenter): Likewise.
9722         * sysdeps/aarch64/dl-machine.h
9723         (elf_machine_runtime_setup): Use ElfW(Addr).
9725         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9726         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9727         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9728         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9729         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9730         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9731         (R_AARCH64_TLS_DTPMOD): This.
9732         (R_AARCH64_TLS_DTPREL64): Rename to ...
9733         (R_AARCH64_TLS_DTPREL): This.
9734         (R_AARCH64_TLS_TPREL64): Rename to ...
9735         (R_AARCH64_TLS_TPREL): This.
9736         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9737         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9738         R_AARCH64_TLS_TPREL64.
9739         (elf_machine_rela): Likewise.
9741 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9743         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9744         by setting it to 0.  64b atomics are not supported currently.
9746 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9748         [BZ #16469]
9749         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9750         search domain names.
9752 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9754         [BZ #16469]
9755         * NEWS: Update.
9756         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9757         trailing dot.
9758         * posix/tst-getaddrinfo5.c: New.
9759         * posix/Makefile (tests): Add it.
9761 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9763         [BZ #14498]
9764         * NEWS: Fixed.
9765         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9766         after parsing line but before break_if_match.
9767         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9768         if there is a protocol mismatch.
9770 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9772         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9773         because the potential race is on the user-supplied stream.
9775 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9777         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9778         string literal if not passed a buffer.
9779         * manual/job.texi (ctermid): Update reasoning, note deviation
9780         from posix, suggest mtasurace when not passed a buffer, for
9781         future non-preliminary safety notes.
9783 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9785         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9786         of not passing it a buffer.
9787         Reported by Peng Haitao.
9789 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9791         * manual/Makefile ($(objpfx)stamp-summary): Require
9792         check-safety.sh to pass.
9793         * manual/check-safety.sh: Wish for verification that every
9794         @deftypefn and @deftypefun is followed by a @safety remark.
9796 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9798         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9800         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9801         PTHREAD_CANCEL_ASYNCHRONOUS.
9802         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9803         send SIGCANCEL.
9805         * nptl/default-sched.h: New file.
9806         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9807         * nptl/pthread_create.c: Include it.
9808         (__pthread_create_2_1): Use collect_default_sched instead of making
9809         Linux syscalls here directly.
9811 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9813         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9814         __pthread_once): Use C11 atomics.
9816 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9818         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9820 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9822         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9823         atomic_thread_fence_acquire, atomic_thread_fence_release,
9824         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9825         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9826         atomic_compare_exchange_weak_relaxed,
9827         atomic_compare_exchange_weak_acquire,
9828         atomic_compare_exchange_weak_release,
9829         atomic_exchange_acquire, atomic_exchange_release,
9830         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9831         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9832         atomic_fetch_and_acquire,
9833         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9835 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9837         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9838         USE_ATOMIC_COMPILER_BUILTINS): Define.
9839         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9840         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9841         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9842         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9843         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9844         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9845         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9846         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9847         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9849         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9851         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9853         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9855         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9857         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9859         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9861         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9863         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9865         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9867         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9869         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9871         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9873         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9874         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9875         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9877         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9880 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9882         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9883         the sched_priority value here.  It was already checked when the user
9884         called pthread_attr_setschedparam.
9886         * nptl/tst-bad-schedattr.c: New file.
9887         * nptl/Makefile (tests): Add it.
9889 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9890             Florian Weimer  <fweimer@redhat.com>
9891             Joseph Myers  <joseph@codesourcery.com>
9892             Adam Conrad  <adconrad@0c3.net>
9893             Andreas Schwab  <schwab@suse.de>
9894             Brooks  <bmoses@google.com>
9896         [BZ #17625]
9897         * wordexp-test.c (__dso_handle): Add prototype.
9898         (__register_atfork): Likewise.
9899         (__app_register_atfork): New function.
9900         (registered_forks): New global.
9901         (register_fork): New function.
9902         (test_case): Add 3 new tests for WRDE_CMDSUB.
9903         (main): Call __app_register_atfork.
9904         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9905         fork count is non-zero fail the test.
9906         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9907         is set.
9908         (parse_dollars): Remove check for WRDE_NOCMD.
9909         (parse_dquote): Likewise.
9911 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9913         * Makeconfig (built-modules): List non-library modules to be
9914         built.
9915         (module-cppflags): Include libc-modules.h for
9916         everything except shlib-versions.v.i.
9917         (CPPFLAGS): Use it.
9918         (before-compile): Add libc-modules.h.
9919         ($(common-objpfx)libc-modules.h,
9920         $(common-objpfx)libc-modules.stmp): New targets.
9921         (common-generated): Add libc-modules.h and libc-modules.stmp.
9922         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9923         * include/libc-symbols.h: Don't include libc-modules.h.
9924         * include/libc-modules.h: Remove file.
9925         * scripts/gen-libc-modules.awk: New script to generate
9926         libc-modules.h.
9927         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9928         Depend on libc-modules.stmp.
9930         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9932         * Makeconfig (in-module): Get value of libof set for the
9933         translation unit.
9934         (CPPFLAGS): Use $(in-module).
9935         * Makerules: Don't suffix routine names for nonlib.
9936         * include/libc-modules.h: New file.
9937         * include/libc-symbols.h: Include libc-modules.h
9938         (IS_IN): New macro to replace IS_IN_* macros.
9939         * elf/Makefile: Set libof-* for each routine.
9940         * elf/rtld-Rules: Likewise.
9941         * extra-modules.mk: Likewise.
9942         * iconv/Makefile: Likewise.
9943         * iconvdata/Makefile: Likewise.
9944         * locale/Makefile: Likewise.
9945         * malloc/Makefile: Likewise.
9946         * nss/Makefile: Likewise.
9947         * sysdeps/gnu/Makefile: Likewise.
9948         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9949         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9950         * sysdeps/s390/s390-64/Makefile: Likewise.
9951         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9952         CPPFLAGS for nscd instead of nonlib.
9954 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9956         * nptl/createthread.c: New file.
9958         * nptl/createthread.c: Moved ...
9959         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9961         * nptl/createthread.c: Add proper top-line comment.
9962         (do_clone): Folded into ...
9963         (create_thread): ... here.  Take new arguments STOPPED_START and
9964         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9965         increment __nptl_threads, do event-reporting logic, do
9966         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9967         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9968         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9969         just send SIGCANCEL.
9970         * nptl/pthread_create.c: Forward-declare create_thread before
9971         including createthread.c.
9972         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9973         declaration, and new macro START_THREAD_SELF to replace argument.
9974         Remove return statement.
9975         (report_thread_creation): New function.
9976         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9977         synchronization logic, and __nptl_nthreads increment here, around
9978         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9979         PD->parent_cancelhandling here, before create_thread.  When
9980         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9981         __deallocate_stack, and ENOMEM translation here.
9983 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9985         [BZ #17616]
9986         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9987         (mptwo): Rename to __mptwo.
9988         (__inv): Use __mptwo instead of mptwo.
9989         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9990         (mptwo): Rename to __mptwo.
9991         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9992         of mpone and __mptwo instead of mptwo.
9993         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9994         instead of mpone.
9995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9996         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9997         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9998         of mpone and __mptwo instead of mptwo.
9999         (__mpranred): Use __mpone instead of mpone.
10000         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10001         variable.
10002         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10003         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10004         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10005         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10006         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10007         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10008         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10009         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10010         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10011         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10012         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10013         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10014         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10015         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10016         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10017         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10018         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10019         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10020         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10022 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10024         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10025         replace BSD Handler xref with BSD Signal Handling.
10027 2014-11-17  Richard Henderson  <rth@redhat.com>
10029         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10030         (_FP_PACK_RAW_2): Remove.
10031         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10032         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10033         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10034         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10035         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10036         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10037         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10038         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10039         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10040         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10041         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10042         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10043         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10044         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10045         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10046         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10048 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10050         * signal/signal.h [__USE_MISC]
10051         (struct sigvec): Remove type.
10052         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10053         (sigvec): Remove declaration.
10054         * sysdeps/posix/sigvec.c: Moved ...
10055         * signal/sigvec.c: ... here, replacing old file.
10056         (struct sigvec): New type, copied from old signal.h definition.
10057         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10058         (__sigvec): Convert definition to prototype.
10059         (sigvec): Replace weak_alias with compat_symbol.
10060         * signal/Versions (libc: GLIBC_2.21): New version set.
10061         * include/signal.h: Remove __sigvec declaration.
10062         * sysdeps/unix/bsd/sigvec.c: Remove file.
10063         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10064         * manual/signal.texi (BSD Handler): Remove subsection.
10065         Move siginterrupt up to ...
10066         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10067         (Blocking in BSD): Fold subsection into its parent.
10068         * NEWS: Mention sigvec removal.
10070 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10072         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10073         (DLA_FMS): Make definition conditional only on [__FMA4__].
10074         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10075         definition.
10077         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10078         Make definition conditional only on [PROF].
10079         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10080         definition.
10081         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10082         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10084         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10085         !__GNUC__].
10086         * include/signal.h (__sigpause): Move declaration above call to
10087         libc_hidden_proto.
10088         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10089         variable.
10090         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10091         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10093 2014-11-14  David S. Miller  <davem@davemloft.net>
10095         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10096         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10098 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10100         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10101         * configure: Regenerated.
10102         * manual/install.texi (Tools for Compilation): Document a
10103         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10104         compiler verified to work.
10105         * INSTALL: Regenerated.
10107         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10108         redeclare with asm name.
10109         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10110         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10111         including <string.h>.
10112         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10113         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10114         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10116         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10118         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10120 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10122         * stdlib/strtol.c (__strtol): Use prototype definition.
10124         [BZ #17594]
10125         * stdlib/strtol.c (SYM__): New macro.
10126         (SYM__1): Likewise.
10127         (__strtol): Likewise.
10128         (strtol): Rename to __strtol and define as weak alias of
10129         __strtol.  Use libc_hidden_weak.
10131 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10133         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10134         Use numbered labels in inline assembly.
10136 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10138         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10139         Add setjmp LIBC_PROBE.
10140         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10141         Likewise.
10142         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10143         Add longjmp, longjmp_target LIBC_PROBE.
10144         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10145         Likewise.
10147 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10149         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10150         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10151         to get rid of unused variable warning.
10153 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10155         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10156         Check for unwind_backtrace ==  NULL only in SHARED case.
10157         (__backchain_backtrace): Compile only in SHARED case.
10158         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10159         Likewise.
10160         (__backchain_backtrace): Declare as static.
10162 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10164         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10165         (__libc_multiple_threads_ptr): Variable moved ...
10166         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10168 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10170         * conform/GlibcConform.pm: New file.
10171         * conform/conformtest.pl: Use GlibcConform module.
10172         * conform/linknamespace.pl: New file.
10173         * conform/list-header-symbols.pl: Likewise.
10174         * conform/Makefile (linknamespace-symlists-base): New variable.
10175         (linknamespace-symlists-tests): Likewise.
10176         (linknamespace-header-base): Likewise.
10177         (linknamespace-header-tests): Likewise.
10178         (tests-special): Add new tests.
10179         ($(linknamespace-symlists-tests)): New rule.
10180         (linknamespace-libs): New variable.
10181         ($(objpfx)symlist-stdlibs): New rule.
10182         ($(linknamespace-header-tests)): Likewise.
10183         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10184         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10185         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10186         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10187         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10188         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10189         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10190         (test-xfail-ISO/math.h/linknamespace): Likewise.
10191         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10192         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10193         (test-xfail-ISO/time.h/linknamespace): Likewise.
10194         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10195         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10196         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10197         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10198         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10199         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10200         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10201         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10202         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10203         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10204         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10205         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10206         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10207         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10208         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10209         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10210         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10211         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10212         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10213         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10214         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10215         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10216         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10217         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10218         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10219         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10220         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10221         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10222         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10223         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10224         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10225         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10226         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10227         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10228         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10229         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10230         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10231         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10232         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10233         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10234         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10235         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10236         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10237         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10238         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10239         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10240         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10241         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10242         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10243         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10244         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10245         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10246         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10247         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10248         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10249         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10250         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10251         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10252         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10253         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10254         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10255         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10256         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10257         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10258         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10259         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10260         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10261         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10262         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10263         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10264         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10265         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10266         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10267         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10268         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10269         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10270         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10271         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10272         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10273         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10274         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10275         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10276         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10277         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10278         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10279         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10280         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10281         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10282         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10283         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10284         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10285         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10286         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10287         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10288         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10289         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10290         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10291         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10292         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10293         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10294         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10295         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10296         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10297         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10298         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10299         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10300         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10301         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10302         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10303         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10304         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10305         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10306         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10307         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10308         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10309         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10310         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10311         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10312         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10313         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10314         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10315         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10316         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10317         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10318         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10319         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10320         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10321         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10322         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10323         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10324         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10325         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10326         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10327         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10328         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10329         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10330         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10331         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10332         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10333         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10334         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10335         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10336         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10337         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10338         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10339         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10340         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10341         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10342         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10343         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10345         [BZ #17589]
10346         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10347         of fgets_unlocked.
10349         [BZ #17585]
10350         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10351         (memmem): Rename to __memmem and define as weak alias of
10352         __memmem.  Use libc_hidden_weak.
10353         (__memmem): Use libc_hidden_def.
10354         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10355         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10356         memmem.
10358         [BZ #17582]
10359         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10360         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10361         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10362         and define as weak alias of __fgets_unlocked.  Use
10363         libc_hidden_weak.
10364         (__fgets_unlocked): Use libc_hidden_def.
10365         * include/stdio.h (__fgets_unlocked): Declare.  Use
10366         libc_hidden_proto.
10367         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10368         __fgets_unlocked instead of fgets_unlocked.
10369         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10370         (GET_NPROCS_CONF_PARSER): Likewise.
10371         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10372         (GET_NPROCS_CONF_PARSER): Likewise.
10374         [BZ #17574]
10375         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10376         weak alias of __wmemset.  Use libc_hidden_weak.
10377         (__wmemset): Use libc_hidden_def.
10378         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10379         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10380         of wmemset.
10382         [BZ #17573]
10383         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10384         with asm name __mempcpy.
10385         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10387         [BZ #17572]
10388         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10389         and define as weak alias of __rawmemchr.
10390         (__rawmemchr): Do not define as strong alias of rawmemchr.
10392         [BZ #17571]
10393         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10394         alias of __qsort_r.
10395         (qsort): Call __qsort_r instead of qsort_r.
10396         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10397         (__qsort_r): Declare.  Call libc_hidden_proto.
10398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10399         instead of qsort_r.
10400         * nscd/gai.c (__qsort_r): Define to qsort_r.
10401         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10402         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10403         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10405         [BZ #17570]
10406         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10407         define as weak alias of __malloc_info.
10409         [BZ #17584]
10410         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10411         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10412         (__rewinddir): Use libc_hidden_def.
10413         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10414         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10415         (__rewinddir): Use libc_hidden_def.
10416         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10417         weak alias of __rewinddir.  Don't use libc_hidden_def.
10418         (__rewinddir): Use libc_hidden_def.
10419         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10420         (__rewinddir): Use libc_hidden_proto.
10421         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10422         rewinddir.
10423         (__getcwd): Use __rewinddir instead of rewinddir.
10425         [BZ #17583]
10426         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10427         alias of __fileno.  Use libc_hidden_weak.
10428         (__fileno): Use libc_hidden_def.
10429         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10430         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10431         alias of __ftello.
10432         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10433         __ftello.
10434         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10435         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10436         libc_hidden_def.
10437         (fread_unlocked): Don't use libc_hidden_ver.
10438         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10439         and define as weak alias of __fread_unlocked.  Don't use
10440         libc_hidden_def.
10441         (__fread_unlocked): Use libc_hidden_def.
10442         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10443         (ftello): Don't use libc_hidden_proto.
10444         (__ftello): Declare.  Use libc_hidden_proto.
10445         (fread_unlocked): Don't use libc_hidden_proto.
10446         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10447         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10448         and __ftello instead of fileno, fread_unlocked and ftello.
10450 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10452         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10453         GOT12.
10454         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10455         Likewise.
10456         (_dl_start_user): Likewise.
10457         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10459 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10460             Siddhesh Poyarekar  <siddhesh@redhat.com>
10462         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10463         Move argv and envp down instead of moving argc up.
10464         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10466 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10468         [BZ #17506]
10469         * test-skeleton.c (main): Return successful if one of
10470         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10471         * string/tst-strcoll-overflow.c: Define expected status.
10473 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10475         [BZ #17475]
10476         * locale/iso-639.def: Define Bhili and Tulu language codes.
10478 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10480         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10482 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10484         [BZ #17555]
10485         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10487 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10489         * configure.ac: Updated check of minimal required version to
10490         2.22.
10491         * manual/install.texi (Tools for Compilation): Updated version
10492         number.
10493         * configure: Regenerated.
10494         * INSTALL: Likewise.
10496 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10498         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10499         __tls_get_addr.
10501 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10503         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10504         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10505         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10506         libc_hidden_weak.
10507         (waitpid): Define as alias of __waitpid.
10508         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10509         __waitpid.
10510         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10511         libc_hidden_weak.
10512         (waitpid): Define as alias of __waitpid.
10513         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10514         __libc_waitpid alias.
10515         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10516         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10517         Likewise.
10518         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10519         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10520         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10521         alias.
10522         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10523         __waitpid.
10524         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10525         libc_hidden_weak.
10526         (waitpid): Define as alias of __waitpid.
10528 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10530         * manual/llio.texi: Add comment that write safety has been
10531         fixed in Linux.
10533         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10534         (localplt-build-dso): Add elf/ld.so.
10535         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10536         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10537         and free for ld.so.
10538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10539         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10541         Likewise.
10542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10543         Likewise.
10544         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10545         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10546         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10547         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10548         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10549         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10550         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10551         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10552         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10553         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10554         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10556 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10558         [BZ #14132]
10559         * include/libc-symbols.h (INTUSE): Remove macro.
10560         (INTDEF): Likewise.
10561         (INTVARDEF): Likewise.
10562         (_INTVARDEF): Likewise.
10563         (INTDEF2): Likewise.
10564         (INTVARDEF2): Likewise.
10565         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10566         rtld_hidden_def instead of INTVARDEF.
10567         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10568         (_dl_starting_up_internal): Remove declaration.
10569         (_dl_starting_up): Use rtld_hidden_proto.
10570         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10571         declaration.
10572         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10573         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10574         _dl_starting_up.
10575         * elf/dl-writev.h (_dl_writev): Likewise.
10576         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10577         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10578         _dl_starting_up_internal.
10580 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10582         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10583         test-skeleton.c.
10585 2014-11-05  Will Newton  <will.newton@linaro.org>
10587         * benchtests/Makefile: (bench-malloc): Add malloc thread
10588         scalability benchmark.
10589         * benchtests/bench-malloc-threads.c: New file.
10591 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10593         * sysdeps/aarch64/strchrnul.S: New file.
10595 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10597         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10598         definition.
10599         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10600         Likwise.
10601         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10602         Likewise.
10603         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10604         Likewise.
10605         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10606         Likewise.
10607         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10608         Likewise.
10610 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10612         * catgets/test-gencat.c: Use test-skeleton.c.
10613         * catgets/tst-catgets.c: Likewise.
10614         * csu/tst-empty.c: Likewise.
10615         * elf/tst-audit2.c: Likewise.
10616         * elf/tst-global1.c: Likewise.
10617         * elf/tst-pathopt.c: Likewise.
10618         * elf/tst-piemod1.c: Likewise.
10619         * elf/tst-tls10.c: Likewise.
10620         * elf/tst-tls11.c: Likewise.
10621         * elf/tst-tls12.c: Likewise.
10622         * gnulib/tst-gcc.c: Likewise.
10623         * iconvdata/tst-e2big.c: Likewise.
10624         * iconvdata/tst-loading.c: Likewise.
10625         * iconv/tst-iconv1.c: Likewise.
10626         * iconv/tst-iconv2.c: Likewise.
10627         * inet/test-inet6_opt.c: Likewise.
10628         * inet/tst-gethnm.c: Likewise.
10629         * inet/tst-network.c: Likewise.
10630         * inet/tst-ntoa.c: Likewise.
10631         * intl/tst-codeset.c: Likewise.
10632         * intl/tst-gettext2.c: Likewise.
10633         * intl/tst-gettext3.c: Likewise.
10634         * intl/tst-ngettext.c: Likewise.
10635         * intl/tst-translit.c: Likewise.
10636         * io/test-stat.c: Likewise.
10637         * libio/test-fmemopen.c: Likewise.
10638         * libio/tst-freopen.c: Likewise.
10639         * libio/tst-sscanf.c: Likewise.
10640         * libio/tst-ungetwc1.c: Likewise.
10641         * libio/tst-ungetwc2.c: Likewise.
10642         * libio/tst-widetext.c: Likewise.
10643         * localedata/tst-ctype.c: Likewise.
10644         * localedata/tst-digits.c: Likewise.
10645         * localedata/tst-leaks.c: Likewise.
10646         * localedata/tst-mbswcs1.c: Likewise.
10647         * localedata/tst-mbswcs2.c: Likewise.
10648         * localedata/tst-mbswcs3.c: Likewise.
10649         * localedata/tst-mbswcs4.c: Likewise.
10650         * localedata/tst-mbswcs5.c: Likewise.
10651         * localedata/tst-setlocale.c: Likewise.
10652         * localedata/tst-trans.c: Likewise.
10653         * localedata/tst-wctype.c: Likewise.
10654         * localedata/tst-xlocale1.c: Likewise.
10655         * login/tst-grantpt.c: Likewise.
10656         * malloc/tst-calloc.c: Likewise.
10657         * malloc/tst-malloc.c: Likewise.
10658         * malloc/tst-mallocstate.c: Likewise.
10659         * malloc/tst-mcheck.c: Likewise.
10660         * malloc/tst-mtrace.c: Likewise.
10661         * malloc/tst-obstack.c: Likewise.
10662         * math/atest-exp2.c: Likewise.
10663         * math/atest-exp.c: Likewise.
10664         * math/atest-sincos.c: Likewise.
10665         * math/test-matherr.c: Likewise.
10666         * math/test-misc.c: Likewise.
10667         * math/test-powl.c: Likewise.
10668         * math/tst-definitions.c: Likewise.
10669         * misc/tst-dirname.c: Likewise.
10670         * misc/tst-efgcvt.c: Likewise.
10671         * misc/tst-fdset.c: Likewise.
10672         * misc/tst-hsearch.c: Likewise.
10673         * misc/tst-mntent2.c: Likewise.
10674         * nptl/tst-sem7.c: Likewise.
10675         * nptl/tst-sem8.c: Likewise.
10676         * nptl/tst-sem9.c: Likewise.
10677         * nss/test-netdb.c: Likewise.
10678         * posix/tst-fnmatch.c: Likewise.
10679         * posix/tst-getlogin.c: Likewise.
10680         * posix/tst-gnuglob.c: Likewise.
10681         * posix/tst-mmap.c: Likewise.
10682         * pwd/tst-getpw.c: Likewise.
10683         * resolv/tst-inet_ntop.c: Likewise.
10684         * rt/tst-timer.c: Likewise.
10685         * stdio-common/test-fseek.c: Likewise.
10686         * stdio-common/test-popen.c: Likewise.
10687         * stdio-common/test-vfprintf.c: Likewise.
10688         * stdio-common/tst-cookie.c: Likewise.
10689         * stdio-common/tst-fileno.c: Likewise.
10690         * stdio-common/tst-gets.c: Likewise.
10691         * stdio-common/tst-obprintf.c: Likewise.
10692         * stdio-common/tst-perror.c: Likewise.
10693         * stdio-common/tst-sprintf2.c: Likewise.
10694         * stdio-common/tst-sprintf3.c: Likewise.
10695         * stdio-common/tst-sprintf.c: Likewise.
10696         * stdio-common/tst-swprintf.c: Likewise.
10697         * stdio-common/tst-tmpnam.c: Likewise.
10698         * stdio-common/tst-unbputc.c: Likewise.
10699         * stdio-common/tst-wc-printf.c: Likewise.
10700         * stdlib/tst-environ.c: Likewise.
10701         * stdlib/tst-fmtmsg.c: Likewise.
10702         * stdlib/tst-limits.c: Likewise.
10703         * stdlib/tst-rand48-2.c: Likewise.
10704         * stdlib/tst-rand48.c: Likewise.
10705         * stdlib/tst-random2.c: Likewise.
10706         * stdlib/tst-random.c: Likewise.
10707         * stdlib/tst-strtol.c: Likewise.
10708         * stdlib/tst-strtoll.c: Likewise.
10709         * stdlib/tst-tls-atexit.c: Likewise.
10710         * stdlib/tst-xpg-basename.c: Likewise.
10711         * string/test-ffs.c: Likewise.
10712         * string/tst-bswap.c: Likewise.
10713         * string/tst-inlcall.c: Likewise.
10714         * string/tst-strtok.c: Likewise.
10715         * string/tst-strxfrm.c: Likewise.
10716         * sysdeps/x86_64/tst-audit10.c: Likewise.
10717         * sysdeps/x86_64/tst-audit3.c: Likewise.
10718         * sysdeps/x86_64/tst-audit4.c: Likewise.
10719         * sysdeps/x86_64/tst-audit5.c: Likewise.
10720         * time/tst-ftime_l.c: Likewise.
10721         * time/tst-getdate.c: Likewise.
10722         * time/tst-mktime3.c: Likewise.
10723         * time/tst-mktime.c: Likewise.
10724         * time/tst-posixtz.c: Likewise.
10725         * time/tst-strptime2.c: Likewise.
10726         * time/tst-strptime3.c: Likewise.
10727         * wcsmbs/tst-btowc.c: Likewise.
10728         * wcsmbs/tst-mbrtowc.c: Likewise.
10729         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10730         * wcsmbs/tst-wchar-h.c: Likewise.
10731         * wcsmbs/tst-wcpncpy.c: Likewise.
10732         * wcsmbs/tst-wcrtomb.c: Likewise.
10733         * wcsmbs/tst-wcsnlen.c: Likewise.
10734         * wcsmbs/tst-wcstof.c: Likewise.
10736 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #14132]
10739         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10740         INTDEF.
10741         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10742         declaration.
10743         (_dl_mcount): Use rtld_hidden_proto.
10744         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10745         _dl_mcount.
10746         * elf/rtld.c (_rtld_global_ro): Likewise.
10748         [BZ #14132]
10749         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10750         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10751         of _dl_init_internal.
10752         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10753         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10754         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10755         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10756         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10757         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10758         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10759         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10760         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10761         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10762         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10763         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10764         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10765         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10766         * sysdeps/tile/dl-start.S (_start): Likewise.
10767         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10768         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10770         [BZ #14132]
10771         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10772         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10773         (rtld_progname): Make macro definition unconditional.
10774         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10775         INTDEF.
10776         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10777         (dl_main): Likewise.
10778         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10779         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10780         instead of _dl_argv_internal.
10781         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10782         __GI__dl_argv instead of INTUSE(_dl_argv).
10783         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10784         __GI__dl_argv instead of _dl_argv_internal.
10786         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10787         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10788         macro.
10789         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10790         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10791         New macro.
10792         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10793         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10794         macro.
10795         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10796         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10798 2014-11-04  Andreas Schwab  <schwab@suse.de>
10800         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10802 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10804         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10805         mtvsrd instruction in binary form.
10807 2014-11-03  Andreas Schwab  <schwab@suse.de>
10809         [BZ #17522]
10810         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10811         for less than MB_LEN_MAX use a local buffer of that size.
10812         * libio/tst-fputws.c: New file.
10813         * libio/Makefile (tests): Add tst-fputws.
10815 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10817         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10818         the size of the fpu_fr.fpu_dregs[] array.
10820 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10822         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10823         (__nanosleep): Do not define as alias.
10824         (nanosleep): Define as alias of __nanosleep.
10825         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10826         __libc_nanosleep name.
10828 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10830         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10831         install.texi in comment.
10833 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10835         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10836         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10837         ... add here and use lwsync or sync ...
10838         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10839         ... and add here using lwsync.
10841 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10843         * elf/dl-machine-reject-phdr.h: New file.
10844         * elf/dl-load.c: #include that.
10845         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10846         if that returned true.
10848 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10850         [BZ #17496]
10851         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10852         gen-as-const-headers chunk.  Add a big scare comment after the last
10853         safe place to touch before-compile.
10855 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10857         * manual/install.texi (Tools for Compilation): Update autoconf
10858         version requirements.
10859         * INSTALL: Regenerated.
10861         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10862         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10863         (__libc_pselect): Likewise.
10865         [BZ #14138]
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10871 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10873         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10874         correct barrier instruction.
10875         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10876         Likewise.
10877         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10878         Likewise.
10880 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10882         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10883         after defining inlines.  Instead, just use parens to defeat macro
10884         expansion of __isctype in its declaration.
10886 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10888         * include/sys/uio.h (__libc_readv): Remove declaration.
10889         (__libc_writev): Likewise.
10890         * misc/readv.c (__libc_readv): Rename to __readv.
10891         (__readv): Do not define as alias.
10892         (readv): Define as alias of __readv.
10893         * misc/writev.c (__libc_writev): Rename to __writev.
10894         (__writev): Do not define as alias.
10895         (writev): Define as alias of __writev.
10896         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10897         (__readv): Do not define as alias.
10898         (readv): Define unconditionally as alias of __readv.
10899         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10900         (__writev): Do not define as alias.
10901         (writev): Define unconditionally as alias of __writev.
10902         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10903         name.
10904         (writev): Do not define __libc_writev name.
10906 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10908         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10909         (convert_charseq): New function, broken out of ...
10910         (use_from_charmap): ... here.  Call it.
10911         (use_to_charmap): Use convert_charseq and free instead of duplicating
10912         its code with a variable-length stack struct.
10914 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10916         * include/fcntl.h (__libc_creat): Remove declaration.
10917         * io/creat.c (__libc_creat): Rename to creat.
10918         (creat): Do not define as alias.
10919         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10920         of creat instead of __libc_creat.
10921         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10922         to creat.
10923         (creat): Do not define as alias.
10924         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10925         __libc_creat.
10926         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10927         __libc_creat name.
10928         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10929         Likewise.
10931 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10933         * manual/llio.texi: Add comments discussing why write() may be
10934         considered MT-unsafe on Linux.
10936 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10938         * dl-load.c (local_strdup): Remove.
10939         (expand_dynamic_string_token): Use __strdup.
10940         (decompose_rpath): Likewise.
10941         (_dl_map_object): Likewise.
10943 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10945         [BZ #14132]
10946         * sysdeps/generic/unwind-dw2-fde.c
10947         (__register_frame_info_bases_internal): Do not declare.
10948         (__register_frame_info_table_bases_internal): Likewise.
10949         (__deregister_frame_info_bases_internal): Likewise.
10950         (__register_frame_info_bases): Declare and use hidden_proto before
10951         definition.  Use hidden_def instead of INTDEF.
10952         (__register_frame_info_table_bases): Likewise.
10953         (__deregister_frame_info_bases): Likewise.
10954         (__register_frame_info): Do not use INTUSE.
10955         (__register_frame): Likewise.
10956         (__register_frame_info_table): Likewise.
10957         (__register_frame_table): Likewise.
10958         (__deregister_frame_info): Likewise.
10959         (__deregister_frame): Likewise.
10961 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10964         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10965         not undefine.
10966         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10967         Likewise.
10968         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10969         Likewise.
10971 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10973         [BZ #14138]
10974         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10975         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10976         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10977         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10978         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10979         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10980         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10981         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10982         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10983         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10985         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10986         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10987         syscall.
10988         (setfsuid): Likewise.
10989         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10990         (setfsuid): Likewise.
10991         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10992         (setfsuid): Likewise.
10993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10994         Likewise.
10995         (setfsuid): Likewise.
10996         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10997         (setfsuid): Likewise.
10998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10999         Likewise.
11000         (setfsuid): Likewise.
11002 2014-10-27  Andreas Schwab  <schwab@suse.de>
11004         [BZ #17501]
11005         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11006         check for Slow_SSE4_2 feature bit.
11007         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11008         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11009         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11010         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11012 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11014         * configure.ac: Validate compiler version with a empirical test of
11015         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11016         $CC -v output.
11017         * configure: Regenerated.
11019         * inet/htons.c (htons): Prototypify.
11020         * inet/htonl.c (htonl): Likewise.
11022 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11024         * string/strncat.c (strncat): Improve performance by using strlen.
11026 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11028         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11030 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11032         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11033         Call libc_fetestexcept_aarch64.
11035 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11037         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11038         Call libc_feholdexcept_aarch64.
11040 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11042         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11043         Call get_rounding_mode.
11045 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11047         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11048         Simplify logic.
11050 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11052         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11053         Simplify logic.
11055 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11057         [BZ #14138]
11058         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11059         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11060         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11061         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11062         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11063         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11064         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11065         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11066         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11067         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11068         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11069         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11070         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11071         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11072         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11073         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11074         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11075         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11076         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11077         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11078         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11079         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11080         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11081         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11082         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11083         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11084         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11085         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11086         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11087         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11088         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11089         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11090         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11091         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11092         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11093         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11094         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11095         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11096         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11097         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11098         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11099         syscall.
11100         (geteuid): Likewise.
11101         (getgid): Likewise.
11102         (getuid): Likewise.
11103         (getresgid): Likewise.
11104         (getresuid): Likewise.
11105         (getgroups): Likewise.
11106         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11107         (geteuid): Likewise.
11108         (getgid): Likewise.
11109         (getuid): Likewise.
11110         (getresgid): Likewise.
11111         (getresuid): Likewise.
11112         (getgroups): Likewise.
11113         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11114         (geteuid): Likewise.
11115         (getgid): Likewise.
11116         (getuid): Likewise.
11117         (getresgid): Likewise.
11118         (getresuid): Likewise.
11119         (getgroups): Likewise.
11120         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11121         Likewise.
11122         (geteuid): Likewise.
11123         (getgid): Likewise.
11124         (getuid): Likewise.
11125         (getresgid): Likewise.
11126         (getresuid): Likewise.
11127         (getgroups): Likewise.
11128         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11129         (geteuid): Likewise.
11130         (getgid): Likewise.
11131         (getuid): Likewise.
11132         (getresgid): Likewise.
11133         (getresuid): Likewise.
11134         (getgroups): Likewise.
11135         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11136         Likewise.
11137         (geteuid): Likewise.
11138         (getgid): Likewise.
11139         (getuid): Likewise.
11140         (getgroups): Likewise.
11142         [BZ #14138]
11143         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11144         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11145         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11146         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11147         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11148         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11149         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11150         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11151         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11152         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11153         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11154         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11155         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11156         __chown.
11157         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11158         (lchown): Likewise.
11159         (fchown): Likewise.
11160         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11161         Likewise.
11162         (lchown): Likewise.
11163         (fchown): Likewise.
11164         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11165         (lchown): Likewise.
11166         (fchown): Likewise.
11167         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11168         Likewise.
11169         (lchown): Likewise.
11170         (fchown): Likewise.
11172 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11174         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11175         Simplify logic.
11177 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11179         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11180         Cleanup logic.
11182 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11184         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11185         Remove unused include.
11187 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11189         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11190         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11191         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11192         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11194 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11195             Helge Deller <deller@gmx.de>
11197         [BZ #17508]
11198         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11199         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11200         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11202 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11204         [BZ #14132]
11205         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11206         Remove macro definition.
11207         (__ashrdi3_v_glibc20): Likewise.
11208         (__lshrdi3_v_glibc20): Likewise.
11209         (__cmpdi2_v_glibc20): Likewise.
11210         (__ucmpdi2_v_glibc20): Likewise.
11211         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11212         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11213         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11214         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11215         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11216         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11218 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11220         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11221         old GNU extension [0] syntax.
11222         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11223         alloca rather than an array member with variable length.
11224         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11225         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11226         (parse_opt): ... here.  Likewise use alloca there.
11227         Validate the -i argument before checking for rootness.
11228         (send_shutdown): New function, broken out of ...
11229         (parse_opt): ... here.
11231 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11233         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11234         macro to get at the _rt_local_ro field.
11235         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11236         ([PIC] case) or _dl_hwcap ([!PIC] case).
11237         * sysdeps/arm/setjmp.S: Likewise.
11239         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11240         * sysdeps/arm/configure.ac: New check to define it.
11241         * sysdeps/arm/configure: Regenerated.
11242         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11243         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11244         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11245         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11246         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11247         Use move/movt pair instead of a load.
11248         (LDST_GLOBAL): Macro removed.
11249         (LDR_GLOBAL): New macro replaces it.
11250         (LDR_HIDDEN): New macro.
11251         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11252         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11254         * setjmp/tst-setjmp-static.c: New file.
11255         * setjmp/Makefile (tests): Add it.
11256         (tests-static): New variable.
11258 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11260         [BZ #17485]
11261         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11263 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11265         [BZ #14132]
11266         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11268 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11270         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11272 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11274         * io/fts.c (dirent_not_directory): New function.
11275         (fts_build): Call it.
11277 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11279         * nptl/version.c (__nptl_main): Use normal __write rather than
11280         INTERNAL_SYSCALL.
11281         (banner): Update copyright years.
11283         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11284         gettimeofday.
11285         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11286         * nptl/pthread_cond_timedwait.c: Likewise.
11287         * nptl/pthread_mutex_timedlock.c: Likewise.
11288         * nptl/sem_timedwait.c: Likewise.
11290         * sysdeps/nptl/bits/libc-lock.h
11291         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11292         (__libc_lock_init_recursive): Return void, not 0.
11293         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11294         (__libc_rwlock_init): Likewise.
11295         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11297 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11299         [BZ #15215]
11300         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11301         (__pthread_once_slow): ... here.
11302         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11303         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11305 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11307         [BZ #15215]
11308         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11309         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11310         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11311         * nptl/pthread_once.c (__pthread_once): Likewise.
11312         Update comments.
11314 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11316         [BZ #14138]
11317         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11318         name.
11319         (writev): Use __libc_writev as strong name.
11320         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11321         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11323 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11325         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11327         * sysdeps/i386/nptl/tls.h
11328         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11329         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11330         New macros.
11331         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11332         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11333         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11334         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11335         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11336         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11338         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11339         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11340         on [__NR_futex].
11341         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11342         broken out of ...
11343         (__pthread_mutex_init): ... here.  Call it.
11344         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11345         Conditionalize PI cases on [__NR_futex].
11346         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11347         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11348         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11350         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11351         conditional on [SIGSETXID].
11352         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11353         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11354         is defined.  Likewise for SIGSETXID.
11355         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11356         Conditionalize definitions on [SIGSETXID].
11357         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11358         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11359         unblocking on [SIGCANCEL].
11361         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11362         [__NR_set_robust_list].
11364 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11366         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11367         (do_compare): Likewise.
11369 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11371         [BZ #15884]
11372         * string/strcoll_l.c: Don't include stdio.h.
11373         (coll_seq): Remove members idxarr and rulearr.
11374         (get_next_seq_cached): Remove function.
11375         (get_next_seq): Likewise.
11376         (get_next_seq_nocache): Rename to get_next_seq.
11377         (do_compare): Remove function.
11378         (do_compare_nocache): Rename to do_compare.
11379         (STRCOLL): Remove weight and rules cache.
11381 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11383         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11384         * sysdeps/arm/sfp-machine.h: ... to here.
11385         * sysdeps/arm/Implies: Remove arm/soft-fp.
11387 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11389         * conform/data/sys/utsname.h-data (*_t): Allow.
11390         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11391         [POSIX] (WEXITED): Do not expect constant.
11392         [POSIX] (WSTOPPED): Likewise.
11393         [POSIX] (WNOHANG): Likewise.
11394         [POSIX] (WNOWAIT): Likewise.
11395         [POSIX] (siginfo_t): Do not expect type or elements.
11396         [POSIX] (pid_t): Do not expect type.
11397         [POSIX] (signal.h): Do not allow header.
11398         [POSIX] (sys/resource.h): Likewise.
11399         [POSIX] (si_*): Do not allow pattern.
11400         [POSIX] (W*): Likewise.
11401         [POSIX] (P_*): Likewise.
11402         [POSIX] (BUS_*): Likewise.
11403         [POSIX] (CLD_*): Likewise.
11404         [POSIX] (FPE_*): Likewise.
11405         [POSIX] (ILL_*): Likewise.
11406         [POSIX] (POLL_*): Likewise.
11407         [POSIX] (SEGV_*): Likewise.
11408         [POSIX] (SI_*): Likewise.
11409         [POSIX] (TRAP_*): Likewise.
11410         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11411         variable.
11413 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11415         [BZ #12926]
11416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11417         infinite loop when __recvmsg returns 0.
11419 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11421         * CANCEL-FCT-WAIVE: Remove file.
11422         * CANCEL-FILE-WAIVE: Likewise.
11424         [BZ #14132]
11425         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11426         instead of INTVARDEF.
11427         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11428         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11429         rtld_hidden_data_def instead of INTVARDEF.
11430         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11431         * elf/dl-deps.c (expand_dst): Likewise.
11432         * elf/dl-load.c (_dl_dst_count): Likewise.
11433         (_dl_dst_substitute): Likewise.
11434         (decompose_rpath): Likewise.
11435         (_dl_init_paths): Likewise.
11436         (open_path): Likewise.
11437         (_dl_map_object): Likewise.
11438         * elf/rtld.c (dl_main): Likewise.
11439         (process_dl_audit): Likewise.
11440         (process_envvars): Likewise.
11441         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11442         Remove declaration.
11443         (__libc_enable_secure): Use rtld_hidden_proto.
11445 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11447         * elf/dl-load.c
11448         (add_path): New function broken out of _dl_rtld_di_serinfo.
11449         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11451 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11453         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11454         parentheses around macro arguments.
11455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11458         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11466         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11467         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11468         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11469         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11470         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11471         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11476         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11477         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11480         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11481         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11482         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11483         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11484         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11485         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11486         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11487         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11488         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11489         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11490         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11491         Likewise.
11492         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11497         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11498         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11499         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11500         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11501         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11502         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11503         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11504         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11507         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11508         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11509         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11511         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11513         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11514         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11515         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11516         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11517         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11518         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11519         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11520         (_FP_FRAC_SRS_1): Likewise.
11521         (_FP_FRAC_CLZ_1): Likewise.
11522         (_FP_MUL_MEAT_1_imm): Likewise.
11523         (_FP_MUL_MEAT_1_wide): Likewise.
11524         (_FP_MUL_MEAT_1_hard): Likewise.
11525         (_FP_SQRT_MEAT_1): Likewise.
11526         (_FP_FRAC_ASSEMBLE_1): Likewise.
11527         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11528         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11529         (__FP_CLZ_2): Likewise.
11530         (_FP_MUL_MEAT_2_wide): Likewise.
11531         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11532         (_FP_MUL_MEAT_2_gmp): Likewise.
11533         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11534         (_FP_SQRT_MEAT_2): Likewise.
11535         (_FP_FRAC_ASSEMBLE_2): Likewise.
11536         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11537         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11538         (_FP_FRAC_CLZ_4): Likewise.
11539         (_FP_MUL_MEAT_4_wide): Likewise.
11540         (_FP_MUL_MEAT_4_gmp): Likewise.
11541         (_FP_SQRT_MEAT_4): Likewise.
11542         (_FP_FRAC_ASSEMBLE_4): Likewise.
11543         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11544         * soft-fp/op-common.h (_FP_CMP): Likewise.
11545         (_FP_CMP_EQ): Likewise.
11546         (_FP_CMP_UNORD): Likewise.
11547         (_FP_TO_INT): Likewise.
11548         (_FP_FROM_INT): Likewise.
11549         [!__FP_CLZ] (__FP_CLZ): Likewise.
11550         (_FP_DIV_HELP_imm): Likewise.
11551         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11552         Likewise.
11553         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11554         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11556         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11564         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11565         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11568         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11569         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11574         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11582         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11583         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11584         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11585         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11586         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11587         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11588         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11589         (FP_UNPACK_RAW_SP): Likewise.
11590         (FP_PACK_RAW_S): Likewise.
11591         (FP_PACK_RAW_SP): Likewise.
11592         (FP_UNPACK_S): Likewise.
11593         (FP_UNPACK_SP): Likewise.
11594         (FP_UNPACK_SEMIRAW_S): Likewise.
11595         (FP_UNPACK_SEMIRAW_SP): Likewise.
11596         (FP_PACK_S): Likewise.
11597         (FP_PACK_SP): Likewise.
11598         (FP_PACK_SEMIRAW_S): Likewise.
11599         (FP_PACK_SEMIRAW_SP): Likewise.
11600         (_FP_SQRT_MEAT_S): Likewise.
11601         (FP_CMP_S): Likewise.
11602         (FP_CMP_EQ_S): Likewise.
11603         (FP_CMP_UNORD_S): Likewise.
11604         (FP_TO_INT_S): Likewise.
11605         (FP_FROM_INT_S): Likewise.
11607         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11609         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11610         (FP_EX_INVALID_IMZ): Likewise.
11611         (FP_EX_INVALID_IMZ_FMA): Likewise.
11612         (FP_EX_INVALID_ISI): Likewise.
11613         (FP_EX_INVALID_ZDZ): Likewise.
11614         (FP_EX_INVALID_IDI): Likewise.
11615         (FP_EX_INVALID_SQRT): Likewise.
11616         (FP_EX_INVALID_CVI): Likewise.
11617         (FP_EX_INVALID_VC): Likewise.
11618         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11619         "invalid" exceptions.
11620         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11621         (_FP_ADD_INTERNAL): Likewise.
11622         (_FP_MUL): Likewise.
11623         (_FP_FMA): Likewise.
11624         (_FP_DIV): Likewise.
11625         (_FP_CMP_CHECK_NAN): Likewise.
11626         (_FP_SQRT): Likewise.
11627         (_FP_TO_INT): Likewise.
11628         (FP_EXTEND): Likewise.
11630 2014-10-09  Allan McRae  <allan@archlinux.org>
11632         * po/fr.po: Update French translation from translation project.
11634 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11636         [BZ #14132]
11637         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11638         of INTDEF.
11639         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11640         (__cxa_atexit): Use libc_hidden_proto.
11641         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11643         [BZ #14132]
11644         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11645         declaration.
11646         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11647         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11648         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11649         [!_ISOMAC] (__iswctype_internal): Likewise.
11650         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11651         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11652         alias.
11653         (fcntl): Remove __fcntl_internal alias.
11654         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11655         __connect_internal alias.
11656         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11657         Likewise.
11659         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11660         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11661         FP_DENORM_ZERO.
11662         (_FP_CHECK_FLUSH_ZERO): New macro.
11663         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11664         (_FP_CMP): Likewise.
11665         (_FP_CMP_EQ): Likewise.
11666         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11667         FP_DENORM_ZERO.
11668         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11669         (FP_TRUNC): Likewise.
11671         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11672         treated as invalid conversion, not as normal exponent.
11674         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11675         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11676         (_FP_CMP_EQ): Likewise.
11677         (_FP_CMP_UNORD): Likewise.
11678         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11679         (FP_CMP_EQ_D): Likewise.
11680         (FP_CMP_UNORD_D): Likewise.
11681         * soft-fp/extended.h (FP_CMP_E): Likewise.
11682         (FP_CMP_EQ_E): Likewise.
11683         (FP_CMP_UNORD_E): Likewise.
11684         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11685         (FP_CMP_EQ_Q): Likewise.
11686         (FP_CMP_UNORD_Q): Likewise.
11687         * soft-fp/single.h (FP_CMP_S): Likewise.
11688         (FP_CMP_EQ_S): Likewise.
11689         (FP_CMP_UNORD_S): Likewise.
11690         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11691         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11692         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11693         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11694         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11695         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11696         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11697         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11698         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11699         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11700         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11701         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11702         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11703         to FP_CMP_Q.
11704         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11705         FP_CMP_Q.
11706         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11707         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11708         FP_CMP_EQ_Q.
11709         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11710         FP_CMP_Q.
11711         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11712         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11713         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11714         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11715         FP_CMP_EQ_Q.
11716         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11717         FP_CMP_Q.
11718         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11719         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11720         FP_CMP_EQ_Q.
11721         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11722         FP_CMP_Q.
11723         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11724         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11725         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11726         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11727         FP_CMP_EQ_Q.
11729         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11730         a subnormal result, set the underflow exception if trapping on
11731         underflow is enabled.
11732         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11733         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11734         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11735         redefine to 0.
11736         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11737         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11738         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11739         * soft-fp/extendxftf2.c (__extendxftf2): Use
11740         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11742         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11743         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11744         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11745         FP_HANDLE_EXCEPTIONS.
11746         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11747         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11748         FP_HANDLE_EXCEPTIONS.
11749         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11750         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11751         FP_HANDLE_EXCEPTIONS.
11752         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11753         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11754         FP_HANDLE_EXCEPTIONS.
11756 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11758         [BZ #14132]
11759         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11760         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11761         use INTUSE.
11762         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11763         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11764         Remove alias.
11765         (__adjtimex): Define using libc_hidden_ver.
11766         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11767         Remove declaration.
11768         (ntp_gettime): Call __adjtimex directly.
11769         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11770         Remove declaration.
11771         (ntp_gettimex): Call __adjtimex directly.
11772         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11773         __adjtimex_internal alias.
11775 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11777         [BZ #17460]
11778         * nscd/nscd.c (more_help): Rewrite list of tables collection
11779         using xstrdup and asprintf.
11781         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11783 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11784             Roland McGrath  <roland@hack.frob.com>
11786         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11787         (do_lookup_unique): ... local function 'enter' here; update callers.
11789 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11791         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11792         compat_symbol calls on [SHARED].
11793         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11794         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11795         Remove.
11796         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11797         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11798         (oldsetrlimit): Remove.
11799         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11801         (lchown): New syscall entry.
11802         (oldsetrlimit): Remove.
11803         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11804         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11805         (oldsetrlimit): Remove.
11806         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11808         [BZ #14138]
11809         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11810         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11811         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11813         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11814         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11815         (fchown): Likewise.
11816         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11817         (fchown): Likewise.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11819         Likewise.
11821 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11823         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11824         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11825         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11826         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11827         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11828         Likewise.
11829         (__old_sem_post): Likewise.
11831 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11833         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11834         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11835         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11836         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11837         Use INLINE_VSYSCALL macro.
11838         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11839         __vdso_clock_gettime.
11840         * sysdeps/unix/sysv/linux/tile/init-first.c
11841         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11842         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11843         __vdso_clock_gettime.
11845         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11846         to set up frame more cleanly.
11848         * sysdeps/tile/memcmp.c: New file.
11850         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11852         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11853         * sysdeps/tile/tilegx/strcasestr.c: New file.
11854         * sysdeps/tile/tilegx/strnlen.c: New file.
11855         * sysdeps/tile/tilegx/strstr.c: New file.
11857         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11859 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11861         * nptl/tst-setuid3.c: Write errors to stdout.
11863 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11865         * elf/dl-deps.c
11866         (preload): New functions broken out of _dl_map_object_deps.
11867         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11869 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11871         [BZ #14138]
11872         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11873         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11875 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11877         * sysdeps/mips/strcmp.S: New.
11879 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11881         [BZ #14138]
11882         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11883         (linkat): Likewise.
11884         (mkdirat): Likewise.
11885         (readlinkat): Likewise.
11886         (renameat): Likewise.
11887         (symlinkat): Likewise.
11888         (unlinkat): Likewise.
11889         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11890         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11891         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11892         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11893         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11894         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11895         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11897 2014-09-30  Will Newton  <will.newton@linaro.org>
11899         * math/math.h: Define long double math functions if
11900         _LIBC_TEST is defined.
11901         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11903         * localedata/Makefile: Move assignment to tests-special
11904         into an ifdef testing run-built-tests.
11905         * timezone/Makefile: Likewise.
11907 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11909         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11910         with $(BASH) not $(SHELL).
11912 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11913             Matthew LeGendre  <legendre1@llnl.gov>
11915         [BZ #17411]
11916         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11917         l_reloc_result.
11919 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11921         * stdio-common/printf_fp.c
11922         (hack_digit): New function, broken out of ...
11923         (__printf_fp): ... local function here.  Update call sites.
11924         hack_digit now takes an additional parameter that is a pointer
11925         to a struct of the referenced locals.  Those locals moved inside
11926         the struct and references updated.
11928 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11930         * aclocal.m4: Require autoconf 2.69.
11931         * configure: Regenerated.
11932         * sysdeps/aarch64/configure: Likewise.
11933         * sysdeps/alpha/configure: Likewise.
11934         * sysdeps/arm/armv7/configure: Likewise.
11935         * sysdeps/arm/configure: Likewise.
11936         * sysdeps/ia64/configure: Likewise.
11937         * sysdeps/mach/configure: Likewise.
11938         * sysdeps/mips/configure: Likewise.
11939         * sysdeps/s390/configure: Likewise.
11940         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11943         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11944         file.
11945         * sysdeps/ia64/configure.ac: Likewise.
11947 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11950         specify symbol version for ld.so.  Do not include entry for
11951         libpthread.
11952         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11953         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11954         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11956         [BZ #14171]
11957         * Makeconfig [$(build-shared) = yes]
11958         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11959         makefiles.
11960         [$(build-shared) = yes && $(soversions.mk-done) = t]
11961         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11962         [$(build-shared) = yes && $(soversions.mk-done) = t]
11963         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11964         to Makerules.
11965         [$(build-shared) = yes && $(soversions.mk-done) = t]
11966         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11967         here.
11968         [$(build-shared) = yes && $(soversions.mk-done) = t]
11969         (common-generated): Don't append gnu/lib-names.h and
11970         gnu/lib-names.stmp here.
11971         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11972         (lib-names-h-abi): New variable.
11973         [$(build-shared) = yes && $(soversions.mk-done) = t]
11974         (lib-names-stmp-abi): Likewise.
11975         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11976         abi-variants] (before-compile): Append
11977         $(common-objpfx)$(lib-names-h-abi).
11978         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11979         abi-variants] (common-generated): Append gnu/lib-names.h.
11980         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11981         abi-variants] (install-others-nosubdir): Depend on
11982         $(inst_includedir)/$(lib-names-h-abi).
11983         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11984         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11985         [$(build-shared) = yes && $(soversions.mk-done) = t]
11986         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11987         [$(build-shared) = yes && $(soversions.mk-done) = t]
11988         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11989         [$(build-shared) = yes && $(soversions.mk-done) = t]
11990         (common-generated): Append $(lib-names-h-abi) and
11991         $(lib-names-stmp-abi).
11992         * scripts/lib-names.awk: Do not handle multi being set.
11993         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11994         Remove variable.
11995         (abi-lp64_be-ld-soname): Likewise.
11996         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11997         Likewise.
11998         (abi-hard-ld-soname): Likewise.
11999         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12000         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12001         Remove variable.
12002         (abi-o32_hard-ld-soname): Likewise.
12003         (abi-o32_soft_2008-ld-soname): Likewise.
12004         (abi-o32_hard_2008-ld-soname): Likewise.
12005         (abi-n32_soft-ld-soname): Likewise.
12006         (abi-n32_hard-ld-soname): Likewise.
12007         (abi-n32_soft_2008-ld-soname): Likewise.
12008         (abi-n32_hard_2008-ld-soname): Likewise.
12009         (abi-n64_soft-ld-soname): Likewise.
12010         (abi-n64_hard-ld-soname): Likewise.
12011         (abi-n64_soft_2008-ld-soname): Likewise.
12012         (abi-n64_hard_2008-ld-soname): Likewise.
12013         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12014         Likewise.
12015         (abi-64-v2-ld-soname): Likewise.
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12017         ld.so entries.
12018         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12019         variable.
12020         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12021         entry.
12022         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12023         variable.
12024         (abi-64-ld-soname): Likewise.
12025         (abi-x32-ld-soname): Likewise.
12026         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12027         entry.
12028         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12030 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12032         [BZ #14138]
12033         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12034         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12035         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12036         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12037         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12038         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12039         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12040         syscall entry for GLIBC_2.2 symbol version.
12041         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12042         Likewise.
12043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12044         (setrlimit): Likewise.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12046         Likewise.
12048 2014-09-23  Will Newton  <will.newton@linaro.org>
12050         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12051         _LINUX_ARM_SYSDEP_H include guard too.
12052         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12053         define.
12055 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12057         * sysdeps/unix/sysv/linux/eventfd.c:
12058         Make first argument unsigned.
12059         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12060         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12062 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12064         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12065         * socket/sys/socket.h: Likewise
12066         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12068 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12070         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12072 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12074         * time/tst-ftime.c: New test.
12075         * time/Makefile (tests): Add tst-ftime.
12077 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12079         * soft-fp/extended.h: Fix comment formatting.
12080         * soft-fp/op-1.h: Likewise.
12081         * soft-fp/op-2.h: Likewise.
12082         * soft-fp/op-4.h: Likewise.
12083         * soft-fp/op-8.h: Likewise.
12084         * soft-fp/op-common.h: Likewise.
12085         * soft-fp/soft-fp.h: Likewise.
12087         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12089 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12091         [BZ #6652]
12092         * Makeconfig (soversions-default-setname): Remove variable.
12093         ($(common-objpfx)soversions.i): Don't pass default_setname to
12094         soversions.awk.
12095         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12096         oldest_abi to abi-versions.awk.
12097         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12098         * config.make.in (oldest-abi): Remove variable.
12099         * configure.ac (--enable-oldest-abi): Remove configure option.
12100         * configure: Regenerated.
12101         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12102         text.
12103         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12104         * scripts/soversions.awk: Do not handle default_setname variable.
12105         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12106         variable.
12107         * sysdeps/mach/hurd/configure: Regenerated.
12108         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12109         variable.
12110         * sysdeps/unix/sysv/linux/configure: Regenerated.
12112 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12114         * elf/Makefile (CFLAGS-interp.c): Remove.
12115         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12116         path string.
12117         * elf/interp.c: Include generated runtime-linker.h
12119         * Makerules (lib%.so): Don't include $(+interp) in
12120         prerequisites.
12121         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12122         * dlfcn/eval.c: Remove file.
12124         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12125         macros.
12127         [BZ #17266]
12128         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12129         4.2 and newer.
12131         [BZ #17370]
12132         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12134 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12135             Jakub Jelinek  <jakub@redhat.com>
12137         [BZ #17266]
12138         * libio/stdio.h: Check definition of __fortify_function
12139         instead of __extern_always_inline to include bits/stdio2.h.
12140         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12141         check if __extern_always_inline is defined.
12142         [__USE_MISC || __USE_XOPEN]: Likewise.
12143         [__USE_ISOC99] Likewise.
12144         * misc/sys/cdefs.h (__fortify_function): Define only if
12145         __extern_always_inline is defined.
12146         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12147         __extern_always_inline and __extern_inline only for g++-4.3
12148         and newer or a compatible gcc.
12150 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12152         [BZ #17371]
12153         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12154         last change to handle zero prefix length.
12156 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12158         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12159         _SC_REGEX_VERSION.
12161         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12162         _POSIX_RAW_SOCKETS.
12164 2014-09-13  Allan McRae  <allan@archlinux.org>
12166         * po/ru.po: Update Russian translation from translation project.
12168 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12170         * locale/programs/locale.c (show_locale_vars): Inline local function
12171         into its sole call site.  Clean up some style nits.
12172         (print_item): New function, broken out of ...
12173         (show_info): ... local function here.  Clean up style nits.
12175         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12176         out of ...
12177         (set_class_defaults): ... local function set_default here.
12178         Define set_default as a macro locally to pass constant parameters.
12179         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12180         rather than a shared local.
12182         * stdlib/rpmatch.c (try): New function, broken out of ...
12183         (rpmatch): ... local function here.  Also, prototypify definition.
12185 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12187         * scripts/soversions.awk: Do not handle configuration names.
12188         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12189         vendor and os variables to soversions.awk.
12190         * configure.ac: Do not modify gnu-* host_os.
12191         * configure: Regenerated
12192         * shlib-versions: Remove first column with configuration names.
12193         * nptl/shlib-versions: Likewise.
12194         * nptl_db/shlib-versions: Likewise.
12195         * sysdeps/hppa/shlib-versions: Likewise.
12196         * sysdeps/m68k/shlib-versions: Likewise.
12197         * sysdeps/mach/hurd/shlib-versions: Likewise.
12198         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12199         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12200         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12201         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12202         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12203         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12204         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12205         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12209         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12210         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12211         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12212         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12213         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12214         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12215         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12218         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12220         Regenerated.
12221         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12223         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12225         * shlib-versions: Remove OS-specific entries.  Moved to files in
12226         sysdeps.
12227         * sysdeps/mach/hurd/shlib-versions: New file.
12228         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12230         * nptl/shlib-versions: Remove architecture-specific entries.
12231         Moved to files in sysdeps.
12232         * shlib-versions: Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12234         file.
12235         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12236         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12237         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12238         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12240         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12241         (UDP_NO_CHECK6_RX): Likewise.
12243 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12245         * sysdeps/posix/sysconf.c (__sysconf): Spell
12246         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12248 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12250         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12251         loading.
12252         * iconv/Versions (__gconv_transliterate): Export for use from
12253         gconv modules.
12254         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12255         (struct __gconv_trans_data, __gconv_trans_fct,
12256         __gconv_trans_context_fct, __gconv_trans_query_fct,
12257         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12258         definitions.
12259         (struct __gconv_step_data): Remove __trans member.
12260         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12261         longer hidden.  Remove unused trans_data argument.
12262         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12263         (__gconv_translit_find): Remove declaration.
12264         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12265         prototype.
12266         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12267         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12268         trans_data argument.  Add hidden definition.
12269         (__gconv_translit_find): Remove.
12270         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12271         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12272         * iconv/skeleton.c: Remove transliteration initialization.
12273         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12274         __gconv_step_data initialization.
12275         * libio/iofwide.c (__libio_translit_): Remove.
12276         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12277         * wcsmbs/btowc.c (__btowc): Likewise.
12278         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12279         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12280         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12281         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12282         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12283         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12284         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12285         * wcsmbs/wctob.c (wctob): Likewise.
12287 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12289         [BZ #16194]
12290         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12291         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12292         register usage.
12293         * sysdeps/x86/Makefile: Adjust.
12295 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12296             Roland McGrath  <roland@hack.frob.com>
12298         * locale/weight.h: Add include guard.
12299         (findidx): Make static rather than auto; take new parameters
12300         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12301         * locale/weightwc.h: Likewise.
12302         * posix/fnmatch_loop.c
12303         (FCT): Change type of EXTRA from int32_t to wint_t.
12304         Don't include either header inside the function.
12305         Call FINDIDX rather than findidx, and pass new arguments.
12306         #undef FINDIDX at the end of the file.
12307         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12308         FINDIDX before including fnmatch_loop.c for the non-wide version.
12309         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12310         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12311         for the wide version.
12312         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12313         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12314         Pass new arguments to findidx.
12315         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12316         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12317         Don't #include it inside the function.  Pass new arguments to findidx.
12318         * posix/regex_internal.h
12319         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12320         (re_string_elem_size_at): Don't #include it inside the function.
12321         Pass new arguments to findidx.
12322         * string/strcoll_l.c: #include WEIGHT_H at top level.
12323         (get_next_seq): Don't #include it inside the function.
12324         Pass new arguments to findidx.
12325         (get_next_seq_nocache): Likewise.
12326         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12327         (STRXFRM): Don't #include it inside the function.
12328         Pass new arguments to findidx.
12330 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12332         [BZ #17344]
12333         * malloc/malloc.c (unlink): Turn asserts into a call to
12334         malloc_printerr.
12336 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12338         [BZ #17370]
12339         * libio/wfileops (do_ftell_wide): Free OUT.
12341 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12343         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12345 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12347         [BZ #17363]
12348         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12349         group if the current group is empty.
12351 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12353         * benchtests/bench-memset.c (test_main): Add more test from size
12354         from 32 to 512 bytes.
12355         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12356         Add POWER8 memset object.
12357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12358         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12359         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12360         implementation.
12361         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12362         Likewise.
12363         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12364         multiarch POWER8 memset optimization.
12365         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12366         POWER8 memset optimization.
12368         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12369         Remove bzero multiarch objects.
12370         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12371         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12372         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12373         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12374         Remove define.
12375         [__bzero]: Redefine to specific name.
12376         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12377         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12378         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12379         define.
12380         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12381         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12383 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12385         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12386         warnings into errors.
12388         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12389         __cxa_thread_atexit_impl prototype.
12391 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12393         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12394         Fix capitalization of error message.
12396 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12398         * sysdeps/mips/preconfigure: Modify ABI tests.
12400 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12402         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12404 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12405             Carlos O'Donell  <carlos@systemhalted.org>
12407         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12408         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12409         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12410         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12411         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12412         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12413         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12414         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12415         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12416         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12417         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12418         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12419         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12420         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12421         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12422         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12423         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12424         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12425         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12427         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12428         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12429         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12430         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12431         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12432         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12433         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12434         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12435         Deconditionalize the code that was previously under [RESET_PID].
12436         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12437         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12438         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12439         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12440         include sysdep.h.
12442 2014-09-08  Allan McRae  <allan@archlinux.org>
12444         * version.h (RELEASE): Set to "development".
12445         (VERSION): Set to "2.20.90"
12447 2014-09-07  Allan McRae  <allan@archlinux.org
12449         * version.h (RELEASE): Set to "stable".
12450         (VERSION): Set to "2.20"
12451         * include/features.h (__GLIBC_MINOR__): Set to 20.
12453         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12454         Liebler.
12456         * po/ko.po: Update Korean translation from translation project.
12458 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12460         [BZ #17354]
12461         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12462         macro for handling signed relocations.
12464 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12466         [BZ #17325]
12467         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12468         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12469         assert.
12470         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12471         * iconvdata/ibm935.c (BODY): Likewise.
12472         * iconvdata/ibm937.c (BODY): Likewise.
12473         * iconvdata/ibm939.c (BODY): Likewise.
12474         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12475         assert.
12476         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12477         script.
12478         * iconvdata/run-iconv-test.sh: New test loop for checking for
12479         decoder crashers.
12481 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12483         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12484         libm_hidden_ver.
12486 2014-09-01  Allan McRae  <allan@archlinux.org>
12488         * po/eo.po: Update Esperanto translation from translation project.
12490         * po/ca.po: Update Catalan translation from translation project.
12492 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12494         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12495         __proc_dostop call.
12497 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12499         [BZ #17319]
12500         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12501         to call set_thread_area instead of hand written asm.
12502         (__NR_set_thread_area): Removed define.
12503         (TLS_FLAG_WRITABLE): Likewise.
12504         (__ASSUME_SET_THREAD_AREA): Remove check.
12505         (TLS_EBX_ARG): Remove define.
12506         (TLS_LOAD_EBX): Likewise.
12508 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12510         Simplify atomicity of socket creation in bind.
12512         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12513         looking up the name after linking the file.
12515 2014-08-27  Allan McRae  <allan@archlinux.org>
12517         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12519 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12521         [BZ #17187]
12522         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12523         trans_compare, open_translit, __gconv_translit_find):
12524         Remove module loading code.
12526 2014-08-26  Allan McRae  <allan@archlinux.org>
12528         * po/vi.po: Update Vietnamese translation from translation project.
12530         * po/uk.po: Update Ukrainian translation from translation project.
12532         * po/fr.po: Update French translation from translation project.
12534         * po/ru.po: Update Russian translation from translation project.
12536         * po/pl.po: Update Polish translation from translation project.
12538         * po/cs.po: Update Czech translation from translation project.
12540         * po/de.po: Update German translation from translation project.
12542         * po/bg.po: Update Bulgarian translation from translation project.
12544         * po/sv.po: Update Sweedish translation from translation project.
12546         * po/nl.po: Update Dutch translation from translation project.
12548         * po/es.po: Update Spanish translation from translation project.
12550 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12552         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12554         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12555         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12556         (CPPFLAGS-iconvconfig): Likewise.
12557         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12559         * include/libc-symbols.h: Remove unnecessary check for
12560         NOT_IN_libc.
12561         * nptl/pthreadP.h: Likewise.
12562         * sysdeps/aarch64/setjmp.S: Likewise.
12563         * sysdeps/alpha/setjmp.S: Likewise.
12564         * sysdeps/arm/sysdep.h: Likewise.
12565         * sysdeps/i386/setjmp.S: Likewise.
12566         * sysdeps/m68k/setjmp.c: Likewise.
12567         * sysdeps/posix/getcwd.c: Likewise.
12568         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12570         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12571         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12572         * sysdeps/sh/sh3/setjmp.S: Likewise.
12573         * sysdeps/sh/sh4/setjmp.S: Likewise.
12574         * sysdeps/unix/alpha/sysdep.h: Likewise.
12575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12577         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12578         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12583         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12586         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12588         * sysdeps/x86_64/setjmp.S: Likewise.
12590 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #17263]
12593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12594         <stdint.h>.
12595         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12596         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12598 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12600         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12602         [BZ #17262]
12603         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12604         and __x86_64__ when disabling x87 inline functions.
12606 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12608         [BZ #17259]
12609         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12610         asm statement with __cpuid_count.
12612 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12614         * configure.ac: Change __ehdr_start code to dereference the struct.
12615         Run readelf on the output to look for relocations.
12616         * configure: Regenerated.
12618 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12620         [BZ #17261]
12621         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12622         value to 0.
12623         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12625 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12627         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12629 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12631         [BZ #16892]
12632         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12633         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12635 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12637         * malloc/malloc.c: Fix typo in comment.
12639 2014-08-09  Allan McRae  <allan@archlinux.org>
12641         * Regenerate libc.po.
12643 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12645         * intl/tst-gettext2.sh: Check every lang file for creation.
12647 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12649         * sysdeps/aarch64/fpu/math_private.h
12650         (libc_feholdsetround_noex_aarch64_ctx): New function.
12652 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12654         * sysdeps/arm/armv6/strcpy.S (strcpy):
12655         Fix performance issue in misaligned cases.
12657 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12659         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12660         Move definition from termios.h.
12661         (struct termio): Likewise.
12662         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12663         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12664         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12665         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12666         Likewise.
12667         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12668         Move definition to ioctl-types.h
12669         (struct termio): Likewise.
12670         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12671         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12672         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12673         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12674         Likewise.
12676 2014-08-05  Richard Henderson  <rth@redhat.com>
12678         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12679         exceptions.
12680         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12681         Add fraiseexcpt.
12682         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12683         Use __feraiseexcept.
12684         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12685         Protect libm symbols with IS_IN_libm.
12687         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12689 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12691         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12693 2014-08-04  Will Newton  <will.newton@linaro.org>
12695         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12696         file.
12698 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12700         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12701         variants for each function.
12703 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12705         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12706         appended ...
12707         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12708         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12709         appended ...
12710         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12711         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12712         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12713         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12714         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12715         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12716         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12717         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12718         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12719         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12720         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12721         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12722         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12723         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12724         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12725         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12726         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12727         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12728         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12729         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12730         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12731         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12732         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12733         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12734         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12736         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12737         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12738         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12739         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12740         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12741         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12742         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12743         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12744         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12745         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12746         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12747         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12748         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12749         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12750         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12751         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12752         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12753         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12754         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12755         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12756         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12758         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12759         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12760         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12761         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12762         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12763         Update #include.
12764         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12765         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12767 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12769         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12770         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12771         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12772         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12773         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12774         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12776 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12778         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12779         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12780         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12781         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12783 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12785         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12786         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12787         (__libc_vfork): Define function under this name.
12788         (__vfork): Define as an alias.
12789         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12790         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12792 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12794         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12795         that was previously under [RESET_PID].
12796         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12798 2014-08-04  Andreas Schwab  <schwab@suse.de>
12800         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12802 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12804         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12805         (main): Likewise.
12807 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12809         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12811 2014-08-01  Richard Henderon  <rth@redhat.com>
12813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12814         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12815         typo in exact zero test.
12816         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12817         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12818         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12820 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12822         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12823         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12824         * sysdeps/arm/sysdep.h: ... here.
12825         [!__ASSEMBLER__]: Include <stdint.h>.
12827 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12829         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12830         (HAVE_WCTYPE_H): Likewise.
12831         (HAVE_ISWCTYPE): Likewise.
12832         (ENABLE_NLS): Likewise.
12833         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12834         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12836         * posix/regex_internal.c: Check if DEBUG is defined and is
12837         set.
12839         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12840         (HAVE_MBSRTOWCS): Likewise.
12841         * posix/fnmatch.c: Include string.h unconditionally.
12843 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12845         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12846         reversal.
12848 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12850         * sysdeps/generic/safe-fatal.h: New file.
12851         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12852         * nptl/forward.c: Include it.
12853         (__pthread_unwind): Use __safe_fatal as default action, rather
12854         than a bogus use of INTERNAL_SYSCALL that could never work.
12856         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12857         * configure.ac (libc_cv_builtin_trap): New test.
12858         * configure: Regenerated.
12859         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12860         (ABORT_INSTRUCTION): Define using __builtin_trap.
12862         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12863         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12864         * sysdeps/nptl/nptl-signals.h: New file.
12865         * nptl/pthreadP.h: Include <nptl-signals.h>.
12867 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12869         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12870         (ONE_DIRECTION): Define.
12871         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12872         (ONE_DIRECTION): Define.
12873         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12874         (ONE_DIRECTION): Define.
12876 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12878         * sysdeps/s390/Makefile: Delete file.
12879         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12880         * sysdeps/s390/__longjmp.c: Delete file.
12881         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12882         Remove fields __flags and __reserved.
12883         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12884         and add versioning.
12885         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12886         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12887         * sysdeps/s390/rtld-setjmp.S: Likewise.
12888         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12889         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12890         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12891         * sysdeps/s390/s390-32/setjmp.S: ... here.
12892         Add versioning.
12893         (__sigsetjmp): Remove setting __flags field.
12894         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12895         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12896         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12897         * sysdeps/s390/s390-64/setjmp.S: ... here.
12898         Add versioning.
12899         (__sigsetjmp): Remove setting __flags field.
12900         * sysdeps/s390/setjmp.S: Delete file.
12901         * sysdeps/s390/sigjmp.c: Likewise.
12902         * sysdeps/s390/v1-longjmp.c: Likewise.
12903         * sysdeps/s390/v1-setjmp.h: Likewise.
12904         * sysdeps/s390/v1-sigjmp.c: Likewise.
12905         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12906         Remove v1-longjmp_chk.
12907         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12908         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12909         Include debug/longjmp_chk.c and add versioning.
12910         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12911         Include nptl/pt-longjmp.c and add versioning.
12912         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12913         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12914         Include __longjmp.c.
12915         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12916         Move to ...
12917         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12918         (__getcontext): Remove setting __flags field.
12919         Add versioning.
12920         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12921         Don't restore upper high grps.
12922         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12923         Likewise.
12924         (__swapcontext): Remove setting uc_flags field.
12925         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12926         Delete file.
12927         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12928         Include __longjmp.c.
12929         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12930         Move to ...
12931         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12932         (__getcontext): Remove setting __flags field.
12933         Add versioning.
12934         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12935         (__swapcontext): Remove setting uc_flags field.
12936         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12937         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12938         Remove fields uc_high_gprs and __reserved.
12939         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12940         New file with reverted content.
12941         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12942         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12943         Regenerated.
12944         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12945         Regenerated.
12947 2014-07-31  Andreas Schwab  <schwab@suse.de>
12949         * config.h.in (HAVE_IFUNC): Define to 0.
12950         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12951         definedness.
12953 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12956         memmove-avx-unaligned, memcpy-avx-unaligned and
12957         mempcpy-avx-unaligned.
12958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12959         Add tests for AVX memcpy functions.
12960         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12961         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12962         memcpy_chk.
12963         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12964         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12965         memmove_chk.
12966         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12968         mempcpy_chk.
12969         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12970         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12971         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12973 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12975         [BZ #17213]
12976         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12977         powerpc64le.
12979 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12981         [BZ #16839]
12982         * manual/llio.texi: Add section about open file description locks.
12983         * manual/examples/ofdlocks.c: Example of open file description
12984         lock usage.
12985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12986         F_OFD_SETLK, and F_OFD_SETLKW.
12988 2014-07-23  Allan McRae  <allan@archlinux.org>
12990         * po/es.po: Update Spanish translation from translation project.
12992 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12994         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12996 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12998         [BZ #17078]
12999         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13000         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13001         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13003 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13005         [BZ #17088]
13006         * math/fesetenv.c (__fesetenv)
13007         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13008         * math/feupdateenv.c (__feupdateenv)
13009         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13011         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13012         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13013         (__ASSUME_SOCKETCALL): Do not define.
13015         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13016         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13017         (__ASSUME_SOCKETCALL): Do not define.
13018         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13019         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13020         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13021         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13022         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13023         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13024         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13025         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13027         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13028         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13029         (__ASSUME_SOCKETCALL): Do not define.
13030         (__ASSUME_IPC64): Define unconditionally.
13031         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13032         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13033         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13034         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13035         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13037         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13038         Likewise.
13040         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13041         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13042         (__ASSUME_SOCKETCALL): Do not define.
13043         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13044         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13045         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13046         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13047         (__ASSUME_REQUEUE_PI): Define unconditionally.
13048         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13049         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13050         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13051         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13052         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13053         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13055         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13056         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13057         (__ASSUME_SOCKETCALL): Do not define.
13058         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13059         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13060         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13061         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13062         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13063         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13065         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13066         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13067         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13068         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13069         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13070         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13071         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13072         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13073         (__ASSUME_GETCPU_SYSCALL): Likewise.
13075         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13076         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13077         cases for individual architectures.
13078         * sysdeps/gnu/configure: Regenerated.
13079         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13080         LIBC_SLIBDIR_RTLDDIR.
13081         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13082         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13083         LIBC_SLIBDIR_RTLDDIR.
13084         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13086         LIBC_SLIBDIR_RTLDDIR.
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13088         Regenerated.
13089         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13090         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13091         file.
13092         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13093         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13094         file.
13095         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13096         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13097         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13098         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13100         * sysdeps/aarch64/shlib-versions: Move to ...
13101         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13102         * sysdeps/alpha/shlib-versions: Move to ...
13103         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13104         * sysdeps/arm/shlib-versions: Move to ...
13105         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13106         * sysdeps/hppa/shlib-versions: Move all contents except for
13107         libgcc_s entry to ...
13108         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13109         entry from ...
13110         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13111         * sysdeps/ia64/shlib-versions: Move to ...
13112         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13113         entry from ...
13114         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13115         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13116         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13117         * sysdeps/microblaze/shlib-versions: Move to ...
13118         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13119         * sysdeps/mips/shlib-versions: Move to ...
13120         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13121         entry from ...
13122         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13123         * sysdeps/tile/shlib-versions: Move to ...
13124         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13125         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13126         from ...
13127         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13128         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13129         entry from ...
13130         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13132 2014-07-17  Will Newton  <will.newton@linaro.org>
13134         * sysdeps/arm/bits/atomic.h
13135         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13136         (__arch_compare_and_exchange_bool_16_int): Likewise.
13137         (__arch_compare_and_exchange_bool_64_int): Likewise.
13139         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13140         into an #else block.
13142 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13144         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13145         just Linux configurations.  Test empirically that the compiler sets
13146         __ARM_EABI__, rather than using the tuple to decide.
13147         * sysdeps/arm/preconfigure: Regenerated.
13148         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13149         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13150         contents appended ...
13151         * sysdeps/arm/configure.ac: ... here.
13152         * sysdeps/arm/configure: Regenerated.
13154 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13156         * nptl/pthread_kill.c: New file.
13157         * nptl/pthread_sigmask.c: New file.
13158         * nptl/pthread_sigqueue.c: New file.
13160         * sysdeps/nptl/lowlevellock.h: New file.
13161         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13162         * sysdeps/nptl/lowlevellock-futex.h: New file.
13164         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13165         Remove dead declarations.
13167 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13169         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13170         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13171         config-cflags-avx2.
13172         * sysdeps/x86_64/configure.ac: Likewise.
13173         * sysdeps/i386/configure: Regenerated.
13174         * sysdeps/x86_64/configure: Likewise.
13175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13176         memset-avx2 only if config-cflags-avx2 is yes.
13177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13178         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13179         defined.
13180         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13181         only if HAVE_AVX2_SUPPORT is defined.
13182         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13184 2014-07-14  Alan Modra  <amodra@gmail.com>
13186         [BZ #17153]
13187         * elf/elf.h (DT_PPC64_NUM): Correct value.
13188         * NEWS: Add to fixed bug list.
13190 2014-07-13  Jim Meyering  <meyering@fb.com>
13192         [BZ 17150]
13193         regex: don't deref NULL upon heap allocation failure
13194         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13195         failure in one more place.
13196         To trigger the segfault, configure grep -with-included-regex,
13197         build it, and run these commands:
13198         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13200 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13202         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13204 2014-07-11  Richard Henderson  <rth@redhat.com>
13206         * sysdeps/aarch64/libm-test-ulps: Update.
13208 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13210         [BZ #17135]
13211         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13212         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13213         (__nptl_setxid): Initialize error member.  Call
13214         __nptl_setxid_error.
13215         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13216         * nptl/descr.h (struct xid_command): Add error member.
13217         * nptl/tst-setuid3.c: New file.
13218         * nptl/Makefile (tests): Add it.
13220 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13223         New define.
13224         (__lll_trylock): Use __lll_base_trylock.
13225         (__lll_cond_trylock): Likewise.
13227 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13229         * nptl/pthread_create.c (start_thread): Use atomic_or and
13230         lll_futex_wake directly rather than lll_robust_dead.
13231         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13232         (lll_robust_dead): Macro removed.
13233         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13234         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13235         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13238         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13239         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13240         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13241         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13243         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13244         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13245         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13246         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13249         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13250         Use atomic_compare_and_exchange_val_acq directly rather than
13251         lll_robust_trylock.
13252         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13253         (__lll_robust_trylock, lll_robust_trylock): Removed.
13254         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13255         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13256         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13258         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13259         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13260         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13261         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13263         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13264         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13265         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13266         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13267         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13269 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13271         * manual/locale.texi (Locale Names): New section documenting
13272         locale name syntax.  Adjust menu and node chaining accordingly.
13273         (Choosing Locale): Reference Locale Names, Locale Categories.
13274         Mention setting LC_ALL=C.  Reflect that name syntax is now
13275         documented.
13276         (Locale Categories): New section title.  Reference Locale Names.
13277         LC_ALL is an environment variable, but not a category.
13278         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13279         description, now in Locale Name.  Reference that section.  Locale
13280         name syntax is now documented.
13282 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13284         [BZ #17137]
13285         * locale/findlocale.c (name_present, valid_locale_name): New
13286         functions.
13287         (_nl_find_locale): Use the loc_name variable to store name
13288         candidates.  Call name_present and valid_locale_name to check and
13289         validate locale names.  Return an error if the locale is invalid.
13291 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13293         * locale/setlocale.c (setlocale): Use strdup for allocating
13294         composite name copy.
13296 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13298         Sync up with gnulib.
13299         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13300         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13301         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13302         and _GL_ARG_NONNULL.
13303         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13304         [!_LIBC]: Include code for Windows and Cygwin.
13305         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13306         Include prototype for int strerror_r.
13307         [!_LIBC] (is_open): New function.
13308         (flush_stdout): New function.
13309         (print_errno_message): Use it.
13310         (error): Likewise.
13311         (error_at_line): Likewise.
13312         (error_tail) Add function attribute macros.  Use
13313         __builtin_expect.
13315         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13317         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13319         * io/ftw.c: Include sys/param.h unconditionally.
13321         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13323         [BZ #17125]
13324         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13325         libc_freeres_ptr.
13326         (freecache): New function to free CACHE on exit.
13328         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13329         initialization.
13331 2014-07-09  David S. Miller  <davem@davemloft.net>
13333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13335         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13336         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13337         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13338         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13339         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13340         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13341         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13342         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13343         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13344         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13345         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13346         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13347         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13349 2014-07-09  Andreas Schwab  <schwab@suse.de>
13351         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13352         output.
13353         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13354         (do_test): Likewise.
13356         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13358 2014-07-09  Will Newton  <will.newton@linaro.org>
13360         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13361         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13362         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13363         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13364         * sysdeps/hppa/start.S (_start): Likewise.
13366 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13368         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13370         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13371         defined.
13373 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13376         after checking that it is non-NULL.
13378         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13380 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13382         * sysdeps/powerpc/memmove.c: Remove file.
13383         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13384         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13385         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13386         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13387         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13388         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13389         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13390         string memmove instead of removed powerpc one.
13392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13393         [weak_alias]: Fix compiler warning due trailing data.
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13395         [weak_alias]: Likewise.
13396         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13397         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13400         (__libc_ifunc_impl_list): Add memmove functions.
13402 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13404         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13405         Remove code.
13406         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13407         Likewise
13408         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13409         Likewise
13410         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13411         Likewise
13412         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13413         Likewise
13414         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13415         Likewise
13416         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13417         Likewise
13418         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13419         Likewise
13420         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13421         Likewise
13422         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13423         Likewise
13424         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13425         Likewise
13426         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13427         Likewise
13428         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13429         Likewise
13430         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13431         Likewise
13432         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13433         Likewise
13434         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13435         Likewise
13436         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13437         Likewise
13439 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13441         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13442         to avoid alignment traps in non-cacheable memory.
13443         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13446         multiarch objects.
13447         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13448         file: multiarch power7 memmove.
13449         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13450         multiarch default memmove.
13451         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13452         multiarch memove for powerpc32/power4.
13454         * string/bcopy.c: Use full path to include memmove.c.
13455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13456         multiarch objects.
13457         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13458         bcopy for powerpc64.
13459         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13460         bcopy for powerpc64.
13461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13462         and memmove implementations.
13463         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13464         optimized multiarch memmove for POWER7/powerpc64.
13465         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13466         default multiarch memmove for powerpc64.
13467         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13468         multiarch for powerpc64.
13469         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13470         for POWER7/powerpc64.
13471         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13472         memmove for POWER7/powerpc64.
13474         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13475         glibc default one.
13477         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13478         __ELF_NATIVE_CLASS equal to 64.
13480 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13482         * sysdeps/nptl/lowlevellock.h: File removed.
13484         * NEWS: NPTL is no longer an add-on!
13485         * nptl/internaltypes.h: Moved ...
13486         * sysdeps/nptl/internaltypes.h: ... here.
13487         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13488         * sysdeps/nptl/fork.c: Likewise.
13489         * sysdeps/nptl/gai_misc.h: Likewise.
13490         * sysdeps/nptl/librt-cancellation.c: Likewise.
13491         * sysdeps/nptl/jmp-unwind.c: Likewise.
13492         * sysdeps/nptl/setxid.h: Likewise.
13493         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13494         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13495         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13496         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13497         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13498         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13499         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13500         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13501         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13502         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13503         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13504         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13505         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13506         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13507         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13508         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13509         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13510         * nptl/Makeconfig: Moved ...
13511         * sysdeps/nptl/Makeconfig: ... here.
13512         * nptl/configure: File removed.
13513         * nptl/ANNOUNCE: File removed.
13514         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13515         * sysdeps/unix/sysv/linux/configure: Regenerated.
13517         * nptl/Makefile (routines): Add libc_pthread_init,
13518         libc_multiple_threads, register-atfork and unregister-atfork.
13519         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13520         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13521         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13522         pthread-pi-defines.sym, structsem.sym.
13523         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13524         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13525         [$(subdir) = nptl] (tests): Add tst-setgetname.
13526         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13527         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13528         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13529         [!LIBC_SIGACTION]: Remove aliases.
13530         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13531         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13532         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13533         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13534         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13535         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13536         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13537         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13538         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13539         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13540         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13541         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13542         __libc_allocate_rtsig_private.
13543         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13544         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13545         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13546         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13547         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13548         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13549         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13550         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13551         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13552         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13553         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13554         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13555         * nptl/internaltypes.h: ... here.
13556         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13557         * sysdeps/nptl/jmp-unwind.c: ... here.
13558         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13559         * nptl/libc-lowlevellock.c: ... here.
13560         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13561         * nptl/libc_multiple_threads.c: ... here.
13562         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13563         * nptl/libc_pthread_init.c: ... here.
13564         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13565         * nptl/lowlevelbarrier.sym: ... here.
13566         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13567         * nptl/lowlevelcond.sym: ... here.
13568         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13569         * nptl/lowlevellock.c: ... here.
13570         * nptl/lowlevellock.h: Moved ...
13571         * sysdeps/nptl/lowlevellock.h: ... here.
13572         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13573         * nptl/lowlevelrobustlock.c: ... here.
13574         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13575         * nptl/lowlevelrobustlock.sym: ... here.
13576         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13577         * nptl/lowlevelrwlock.sym: ... here.
13578         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13579         * nptl/pt-fork.c: ... here.
13580         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13581         * nptl/pthread-pi-defines.sym: ... here.
13582         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13583         * nptl/pthread_attr_getaffinity.c: ... here.
13584         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13585         * nptl/pthread_attr_setaffinity.c: ... here.
13586         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13587         * nptl/pthread_mutex_cond_lock.c: ... here.
13588         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13589         Update #include.
13590         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13591         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13592         * nptl/pthread_once.c: ... here, replacing old file.
13593         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13594         * nptl/pthread_yield.c: ... here.
13595         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13596         * nptl/register-atfork.c: ... here.
13597         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13598         * nptl/sem_post.c: ... here.
13599         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13600         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13601         * nptl/sem_timedwait.c: ... here.
13602         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13603         * nptl/sem_trywait.c: ... here.
13604         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13605         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13606         * nptl/sem_wait.c: ... here.
13607         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13608         * nptl/structsem.sym: ... here.
13609         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13610         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13611         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13612         * nptl/unregister-atfork.c: ... here.
13613         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13614         * nptl/unwindbuf.sym: ... here.
13615         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13616         * sysdeps/nptl/fork.c: ... here.
13617         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13618         * sysdeps/nptl/fork.h: ... here.
13619         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13620         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13621         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13622         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13623         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13624         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13625         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13626         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13627         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13628         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13629         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13630         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13631         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13632         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13633         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13634         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13635         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13636         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13637         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13638         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13639         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13640         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13641         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13642         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13643         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13644         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13645         * sysdeps/unix/sysv/linux/raise.c: ... here.
13646         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13647         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13648         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13649         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13650         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13651         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13652         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13653         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13654         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13655         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13656         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13657         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13658         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13659         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13660         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13662 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         * sysdeps/generic/memcopy.h: Add comment for
13665         MEMCPY_OK_FOR_FWD_MEMMOVE.
13667 2014-07-04  Will Newton  <will.newton@linaro.org>
13669         * string/memchr.c: Merge from gnulib.
13670         [_LIBC]: Remove conditionals.
13671         (__ptr_t): Remove define.
13672         (LONG_MAX_32_BITS): Likewise.
13673         (LONG_MAX): Likewise.
13674         (MEMCHR): Use ANSI prototype and optimize algorithm.
13676         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13678 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13680         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13681         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13683         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13684         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13685         in a bare environment with no <stdlib.h> installed.
13686         * sysdeps/nptl/configure: Regenerated.
13688         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13690         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13691         AC_EGREP_CPP for kernel header checks, so they only succeed if
13692         including <linux/version.h> actually works right.
13693         * sysdeps/unix/sysv/linux/configure: Regenerated.
13695         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13696         value so it's not diagnosed as unused.
13698         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13699         thing) with "ifeq ($(subdir),rt)".
13701 2014-07-03  Richard Henderson  <rth@redhat.com>
13703         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13704         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13705         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13707         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13708         (math_force_eval): New.
13710         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13711         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13713         * sysdeps/alpha/fpu/s_round.c: Remove file.
13714         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13716         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13717         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13718         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13719         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13720         (_dl_start, print_statistics): Likewise.
13721         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13722         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13724         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13725         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13726         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13727         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13728         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13729         (HP_SMALL_TIMING_AVAIL): Define.
13730         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13731         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13732         (HP_SMALL_TIMING_AVAIL): Define.
13733         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13734         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13736         * sysdeps/aarch64/hp-timing.h: New file.
13738         * sysdeps/generic/hp-timing.h: Remove dead comment.
13739         * sysdeps/generic/hp-timing-common.h: New file.
13740         * sysdeps/alpha/hp-timing.h: Include it.
13741         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13742         * sysdeps/i386/i686/hp-timing.h: Likewise.
13743         * sysdeps/ia64/hp-timing.h: Likewise.
13744         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13745         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13746         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13747         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13748         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13749         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13750         (hp_timing_t): New.
13752         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13753         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13754         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13755         * elf/rtld.c (_dl_start_final): Likewise.
13756         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13757         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13758         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13759         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13760         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13761         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13762         (HP_TIMING_DIFF_INIT): Remove.
13763         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13764         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13765         (HP_TIMING_DIFF_INIT): Remove.
13766         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13767         * sysdeps/i386/i686/hp-timing.c: Remove file.
13768         * sysdeps/x86_64/hp-timing.c: Remove file.
13769         * sysdeps/ia64/hp-timing.c: Remove file.
13770         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13771         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13772         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13773         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13775         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13776         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13777         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13778         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13780         (HP_TIMING_ACCUM): Remove.
13781         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13782         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13783         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13785         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13786         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13787         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13788         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13789         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13790         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13791         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13792         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13794         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13796 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13798         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13800 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13802         Sync up with gettext.
13803         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13804         [_MSC_VER]: Include malloc.h
13805         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13806         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13807         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13808         TEMP_FAILURE_RETRY.  Cast return of alloca.
13809         [!_LIBC] Call gl_rwlock_init.
13810         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13812 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13814         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13815         before checking its value.
13817 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13819         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13821         * debug/memcpy_chk.c: Don't include pagecopy.h.
13822         * debug/mempcpy_chk.c: Likewise.
13823         * string/memcpy.c: Likewise.
13824         * string/memmove.c: Likewise.
13825         * sysdeps/powerpc/memmove.c: Likewise.
13826         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13827         definition of PAGE_COPY_FWD_MAYBE here...
13828         * sysdeps/generic/pagecopy.h: ... from here.
13829         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13831 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13832             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13834         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13836         optimizations.
13837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13838         (__libc_ifunc_impl_list): Likewise.
13839         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13840         multiarch strcat for PPC64.
13841         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13842         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13844 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13846         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13848 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13850         * intl/loadmsgcat.c: Remove declaration of
13851         get_sysdep_segment_value.
13852         (get_sysdep_segment_value): Use ISO C style.
13853         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13854         semicolon.  Fix typo and formatting in comment.
13855         (_nl_unload_domain): Use ISO C style.
13857         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13859 2014-07-02  Will Newton  <will.newton@linaro.org>
13861         * malloc/obstack.c: Merge from gnulib master.
13862         [HAVE_CONFIG_H]: Remove conditional code.
13863         [!_LIBC]: Include config.h.
13864         [!ELIDE_CODE]: Don't include inttypes.h, include
13865         stdint.h unconditionally.
13866         (print_and_abort): Mark as _Noreturn.
13867         (_obstack_allocated_p): Mark as __attribute_pure__.
13868         (obstack_free): Rename to __obstack_free.
13869         [!__attribute__]: Remove conditional code.
13870         * malloc/obstack.h: Merge from gnulib master.
13871         [__cplusplus]: Move conditional down.
13872         [!__attribute_pure__]: Define __attribute_pure__ here
13873         if it is not already defined.
13874         (_obstack_memory_used): Mark as __attribute_pure__.
13875         [!__obstack_free]: Define as obstack_free.
13876         [__GNUC__]: Remove check for ancient NeXT gcc.
13878 2014-07-02  Will Newton  <will.newton@linaro.org>
13879             Paul Eggert  <eggert@cs.ucla.edu>
13881         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13883 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13885         * resolv/gethnamaddr.c: Add comment warning that the file is
13886         not maintained.
13888 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13890         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13891         entries.
13893         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13894         entry for aio_cancel and aio_cancel64.
13895         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13896         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13897         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13898         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13899         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13900         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13901         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13902         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13903         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13904         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13905         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13906         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13907         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13909 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13911         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13912         * nptl/pthread_mutex_lock.c: Likewise.
13913         * nptl/pthread_mutex_timedlock.c: Likewise.
13914         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13916 2014-07-01  Richard henderson  <rth@redhat.com>
13918         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13919         (__isnan, __isnanl): Remove.
13920         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13922         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13924 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13926         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13928 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13930         * resolv/nss_dns/dns-host.c (getanswer_r)
13931         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13933 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13936         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13937         undefine.
13938         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13939         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13941 2014-07-01  Roland McGrath <roland@hack.frob.com>
13943         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13944         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13946         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13947         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13949         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13950         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13951         ... here.
13952         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13953         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13955         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13956         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13957         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13958         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13960         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13961         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13962         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13963         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13964         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13965         Moved ...
13966         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13967         ... here.
13968         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13969         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13970         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13971         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13972         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13973         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13974         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13975         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13976         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13977         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13978         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13979         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13980         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13981         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13983         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13984         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13985         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13986         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13988         ... here.
13989         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13990         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13991         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13992         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13993         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13994         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13995         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13996         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13998 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14000         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14001         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14002         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14003         Add sysdep.
14005 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14009 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14011         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14014         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14016         * sysdeps/arm/libm-test-ulps: Regenerated.
14018 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14019             Roland McGrath <roland@hack.frob.com>
14021         * test-skeleton.c (signal_handler): Kill the whole process group
14022         before killing the child individually.
14023         (main): Report any failure on `setpgid'.
14025 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14027         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14028         from _TLS_H to _ARM_NPTL_TLS_H.
14029         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14030         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14032 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14034         [BZ #16539]
14035         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14036         (__expm1l): Return argument unchanged when small but not
14037         subnormal.
14039         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14040         include macro name.
14041         (_FP_UNPACK_RAW_1_P): Likewise.
14042         (_FP_PACK_RAW_1): Likewise.
14043         (_FP_PACK_RAW_1_P): Likewise.
14044         (_FP_MUL_MEAT_1_wide): Likewise.
14045         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14046         (_FP_MUL_MEAT_1_hard): Likewise.
14047         (_FP_DIV_MEAT_1_imm): Likewise.
14048         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14049         (_FP_DIV_MEAT_1_udiv): Likewise.
14050         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14051         (_FP_UNPACK_RAW_2): Likewise.
14052         (_FP_UNPACK_RAW_2_P): Likewise.
14053         (_FP_PACK_RAW_2): Likewise.
14054         (_FP_PACK_RAW_2_P): Likewise.
14055         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14056         (_FP_MUL_MEAT_2_wide): Likewise.
14057         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14058         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14059         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14060         (_FP_MUL_MEAT_2_gmp): Likewise.
14061         (_FP_DIV_MEAT_2_udiv): Likewise.
14062         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14063         (_FP_FRAC_SRL_4): Likewise.
14064         (_FP_FRAC_SRST_4): Likewise.
14065         (_FP_FRAC_SRS_4): Likewise.
14066         (_FP_UNPACK_RAW_4): Likewise.
14067         (_FP_UNPACK_RAW_4_P): Likewise.
14068         (_FP_PACK_RAW_4): Likewise.
14069         (_FP_PACK_RAW_4_P): Likewise.
14070         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14071         (_FP_MUL_MEAT_4_wide): Likewise.
14072         (_FP_MUL_MEAT_4_gmp): Likewise.
14073         (umul_ppppmnnn): Likewise.
14074         (_FP_DIV_MEAT_4_udiv): Likewise.
14075         (__FP_FRAC_ADD_4): Likewise.
14076         (__FP_FRAC_SUB_3): Likewise.
14077         (__FP_FRAC_SUB_4): Likewise.
14078         (__FP_FRAC_DEC_3): Likewise.
14079         (__FP_FRAC_DEC_4): Likewise.
14080         (__FP_FRAC_ADDI_4): Likewise.
14081         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14082         (_FP_FRAC_SRL_8): Likewise.
14083         (_FP_FRAC_SRS_8): Likewise.
14085         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14086         include macro name.
14087         (FP_UNPACK_RAW_EP): Likewise.
14088         (FP_PACK_RAW_E): Likewise.
14089         (FP_PACK_RAW_EP): Likewise.
14090         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14091         (_FP_ISSIGNAN): Likewise.
14092         (_FP_ADD_INTERNAL): Likewise.
14093         (_FP_FMA): Likewise.
14094         (_FP_CMP): Likewise.
14095         (_FP_SQRT): Likewise.
14096         (_FP_TO_INT): Likewise.
14097         (_FP_FROM_INT): Likewise.
14098         (FP_EXTEND): Likewise.
14099         (_FP_DIV_MEAT_N_loop): Likewise.
14101 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14103         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14104         throughout.
14106 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14108         [BZ #17097]
14109         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14110         result with correct sign in case of exponents that produce
14111         overflow except for X very close to 1.
14113 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14115         mktime: merge #if/#ifdef usage from glibc
14116         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14117         as that works with both Glibc's and Gnulib's style.
14118         See thread starting at Siddhesh Poyarekar's bug report at:
14119         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14121 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14123         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14124         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14125         * sysdeps/tile/tilegx/memmove.c: Remove file.
14127 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14129         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14130         abi-name definition.
14131         * scripts/soversions.awk: Do not handle or generate ABI lines.
14132         * shlib-versions: Remove ABI entries.
14133         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14134         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14136 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14139         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14140         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14141         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14143         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14145         Moved ...
14146         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14147         ... here.
14148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14149         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14151         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14153         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14155         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14157         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14159         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14161         Moved ...
14162         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14164         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14165         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14166         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14167         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14168         Moved ...
14169         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14171         Moved ...
14172         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14176         Moved ...
14177         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14181         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14185         Moved ...
14186         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14188         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14189         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14190         Moved ...
14191         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14192         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14193         Moved ...
14194         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14196         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14197         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14198         Moved ...
14199         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14200         ... here.
14201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14202         Identical file removed.
14203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14204         Moved ...
14205         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14207         Identical file removed.
14208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14211         Moved ...
14212         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14214         Identical file removed.
14215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14216         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14217         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14218         Identical file removed.
14219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14220         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14221         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14222         Identical file removed.
14223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14224         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14225         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14226         Identical file removed.
14227         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14228         Moved ...
14229         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14231         Identical file removed.
14232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14233         Moved ...
14234         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14235         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14236         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14238         Identical file removed.
14239         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14240         Moved ...
14241         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14242         ... here.
14243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14244         Identical file removed.
14245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14246         Moved ...
14247         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14249         Identical file removed.
14250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14251         Moved ...
14252         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14254         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14256         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14258         Moved ...
14259         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14260         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14261         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14263         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14264         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14265         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14266         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14267         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14269 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14271         [BZ #17092]
14272         * nscd/nscd.c (monitor_child): Return exit status of child
14273         instead of return value from wait syscall.
14275 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14277         * configure.ac (libc_commonpagesize): Remove variable.
14278         (libc_relro_required): Likewise.
14279         (libc_cv_z_relro): Remove configure test.
14280         * configure: Regenerated.
14281         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14282         variable.
14283         (libc_relro_required): Likewise.
14284         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14285         (libc_relro_required): Likewise.
14286         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14287         (libc_relro_required): Likewise.
14288         * sysdeps/arm/preconfigure: Regenerated.
14289         * sysdeps/ia64/preconfigure: Remove file.
14290         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14291         variable.
14292         (libc_relro_required): Likewise.
14294         [BZ #16561]
14295         [BZ #16562]
14296         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14297         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14298         recompute overflowing results in original rounding mode.
14299         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14300         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14301         recompute overflowing results in original rounding mode.
14302         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14303         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14304         recompute overflowing results in original rounding mode.
14305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14306         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14307         recompute overflowing results in original rounding mode.
14308         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14309         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14310         recompute overflowing results in original rounding mode.
14311         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14312         (libc_feholdsetround_ctx): New macro.
14313         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14314         * sysdeps/i386/fpu/libm-test-ulps: Update.
14315         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14317 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14319         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14320         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14321         corresponding .cpsetup call.
14323 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14325         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14326         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14327         * sysdeps/arm/Makefile [$(subdir) = csu]
14328         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14329         (static-only-routines): Add aeabi_read_tp here.
14330         (shared-only-routines): Add libc-aeabi_read_tp here.
14331         (CFLAGS-libc-start.c): Add -fexceptions here.
14332         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14333         (sysdep_routines, static-only-routines, shared-only-routines):
14334         Don't add to these here.
14335         (CFLAGS-libc-start.c): Likewise.
14337         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14338         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14339         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14340         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14341         * sysdeps/arm/Makefile [$(subdir) = rt]
14342         (librt-sysdep_routines, librt-shared-only-routines):
14343         Append rt-aeabi_unwind_cpp_pr1 here.
14344         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14345         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14346         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14347         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14348         Append nptl-aeabi_unwind_cpp_pr1 here.
14349         (tests): Filter out tst-cleanupx4 here.
14350         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14351         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14352         Don't do those here.
14354 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14356         * scripts/list-sources.sh: Do not handle ports specially.
14358 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14360         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14361         * sysdeps/arm/feupdateenv.c: Likewise.
14363         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14365 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14367         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14368         trailing whitespace removed.
14369         * scripts/config.guess: Update to version 2014-03-23.
14370         * scripts/config.sub: Update to version 2014-05-01
14371         * scripts/install-sh: Update to version 2013-12-25.23.
14372         * scripts/move-if-change: Update from gnulib.
14374 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14376         * debug/memmove_chk.c: Remove pagecopy.h include.
14378 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14380         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14381         identical to gnulib mktime.
14383 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14385         * configure.ac: Do not test for machine being rs6000.  Do not test
14386         for powerpc*-*soft.
14387         * configure: Regenerated.
14389         [BZ #11505]
14390         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14391         test.
14392         * configure: Regenerated.
14393         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14394         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14395         Remove configure test.
14396         * sysdeps/arm/configure: Regenerated.
14397         * sysdeps/nptl/configure.ac: Do not check
14398         libc_cv_asm_cfi_directives.
14399         * sysdeps/nptl/configure: Regenerated.
14400         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14401         * sysdeps/x86_64/nptl/configure: Remove generated file.
14402         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14403         unconditional.
14404         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14406 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14408         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14409         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14410         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14411         it is defined.
14413         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14414         instead of whether it is defined.
14415         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14416         * sysdeps/hppa/dl-machine.h: Likewise.
14417         * sysdeps/ia64/dl-machine.h: Likewise.
14418         * sysdeps/m68k/dl-machine.h: Likewise.
14419         * sysdeps/microblaze/dl-machine.h: Likewise.
14420         * sysdeps/mips/dl-machine.: Likewise.
14421         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14422         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14423         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14424         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14425         * sysdeps/sh/dl-machine.h: Likewise.
14426         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14427         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14428         * sysdeps/tile/dl-machine.h: Likewise.
14429         * sysdeps/x86_64/dl-machine.h: Likewise.
14431         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14432         code.
14433         (verify_persistent_db): Likewise.
14435 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14438         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14440         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14442         Moved ...
14443         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14444         ... here.
14445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14446         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14448         Identical file removed.
14449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14450         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14452         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14454         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14456         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14458         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14460         Moved ...
14461         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14463         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14465         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14467         Moved ...
14468         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14470         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14472         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14474         Identical file removed.
14475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14476         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14478         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14480         Moved ...
14481         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14482         ... here.
14483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14484         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14486         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14488         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14490         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14492         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14494         Moved ...
14495         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14497         Moved ...
14498         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14500         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14502         Moved ...
14503         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14505         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14507         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14508         folded into ...
14509         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14510         * sysdeps/unix/sysv/linux/s390/Versions
14511         (libpthread: GLIBC_2.19): New version set.
14512         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14513         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14514         (librt: GLIBC_2.3.3): New version set.
14515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14516         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14517         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14518         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14519         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14520         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14521         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14522         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14523         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14524         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14525         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14526         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14527         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14528         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14529         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14530         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14531         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14532         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14534         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14535         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14537         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14539         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14541         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14543         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14545         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14546         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14548         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14550         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14551         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14553         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14555         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14557         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14559         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14561         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14562         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14563         (__libc_vfork): Define the function under this name.
14564         [!NOT_IN_libc] (__vfork): Make this an alias.
14565         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14566         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14567         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14568         (__libc_vfork): Define the function under this name.
14569         [!NOT_IN_libc] (__vfork): Make this an alias.
14570         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14571         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14572         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14573         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14575         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14577         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14578         code that was previously under [RESET_PID].
14579         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14580         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14583         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14584         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14585         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14586         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14587         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14588         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14589         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14590         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14591         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14592         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14593         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14594         Moved ...
14595         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14596         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14597         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14598         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14600         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14601         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14602         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14603         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14604         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14605         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14606         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14607         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14608         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14609         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14610         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14611         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14612         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14613         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14614         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14615         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14616         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14619         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14620         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14623         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14625 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14627         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14628         that was previously under [RESET_PID].
14629         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14631 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14633         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14634         not undefine and redefine.
14635         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14636         [O_CLOEXEC]: Make code unconditional.
14637         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14638         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14639         <kernel-features.h>.
14640         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14641         conditional variable definition.
14642         (shm_open) [O_CLOEXEC]: Make code unconditional.
14643         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14644         code.
14646         * configure.ac (USE_REGPARMS): Don't define here.
14647         * configure: Regenerated.
14648         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14649         * sysdeps/i386/configure: Regenerated.
14651         * nptl/createthread.c: Don't include kernel-features.h.
14652         * nptl/pthread_cancel.c: Likewise.
14653         * nptl/pthread_condattr_setclock.c: Likewise.
14654         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14655         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14656         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14657         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14658         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14659         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14663         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14664         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14665         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14666         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14667         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14668         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14669         * nscd/gai.c: Likewise.
14670         * nss/nss_db/db-open.c: Likewise.
14671         * sysdeps/generic/ldsodefs.h: Likewise.
14672         * sysdeps/sh/nptl/tls.h: Likewise.
14673         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14674         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14675         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14676         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14677         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14678         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14679         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14680         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14681         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14682         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14683         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14684         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14685         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14686         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14687         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14688         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14689         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14690         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14691         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14692         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14693         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14694         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14695         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14696         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14701         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14702         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14703         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14704         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14705         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14706         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14707         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14708         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14709         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14710         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14711         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14712         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14713         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14714         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14715         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14716         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14717         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14718         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14719         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14720         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14721         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14722         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14723         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14724         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14725         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14726         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14727         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14728         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14729         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14730         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14753         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14754         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14755         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14756         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14757         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14758         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14759         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14760         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14761         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14762         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14763         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14764         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14765         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14766         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14767         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14768         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14769         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14770         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14771         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14772         * sysdeps/unix/sysv/linux/system.c: Likewise.
14773         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14774         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14775         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14776         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14777         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14778         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14779         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14781         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14782         * configure: Regenerated.
14783         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14785         * configure.ac (base_machine): Do not set specially for particular
14786         machines here.
14787         * configure: Regenerated.
14788         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14789         settings from configure.ac.
14790         * sysdeps/i386/preconfigure: New file.
14791         * sysdeps/s390/preconfigure: Likewise.
14792         * sysdeps/sh/preconfigure: Likewise.
14793         * sysdeps/sparc/preconfigure: Likewise.
14795 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14797         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14798         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14799         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14800         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14801         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14802         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14803         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14804         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14805         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14806         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14807         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14808         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14809         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14810         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14811         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14812         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14813         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14814         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14815         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14817         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14818         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14819         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14820         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14821         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14822         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14823         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14824         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14825         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14826         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14827         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14828         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14829         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14830         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14831         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14832         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14833         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14834         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14835         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14836         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14837         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14838         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14839         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14840         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14841         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14842         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14843         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14844         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14845         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14846         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14847         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14848         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14849         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14850         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14851         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14852         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14853         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14854         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14857         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14859         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14861         Moved ...
14862         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14863         ... here.
14864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14865         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14867         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14869         Moved ...
14870         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14872         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14874         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14876         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14878         Moved ...
14879         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14881         Moved ...
14882         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14884         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14886         Moved ...
14887         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14889         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14891         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14893         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14895         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14897         Moved ...
14898         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14899         ... here.
14900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14901         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14903         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14905         Moved ...
14906         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14908         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14914         Moved ...
14915         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14917         Moved ...
14918         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14920         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14922         Moved ...
14923         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14925         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14927         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14929 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14931         * timezone/checktab.awk: Update from tzcode 2014e.
14932         * timezone/private.h: Likewise.
14933         * timezone/tzfile.h: Likewise.
14934         * timezone/zdump.c: Likewise.
14935         * timezone/zic.c: Likewise.
14937         * sysdeps/unix/sysv/linux/kernel-features.h
14938         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14940         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14941         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14942         Remove conditional code.
14944 2014-06-25  Will Newton  <will.newton@linaro.org>
14946         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14947         (_dl_arm_cap_flags): Add HWCAP2 values.
14948         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14949         (_DL_HWCAP_COUNT): Increase to 37.
14950         (_DL_HWCAP_LAST): New define.
14951         (_DL_HWCAP2_LAST): New define.
14952         (_dl_procinfo): Add support for printing
14953         AT_HWCAP2 entries.
14954         (_dl_string_hwcap): Use _dl_hwcap_string.
14956 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14960 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14962         * README: Do not mention ports directory.
14964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14965         Remove macro.
14966         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14967         <kernel-features.h>.
14968         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14969         conditional variable definition.
14970         (__futimes): Update comment.
14971         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14972         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14974         [BZ #16560]
14975         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14976         arguments close to 0.
14977         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14978         Likewise.
14979         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14980         Likewise.
14981         * math/auto-libm-test-in: Add more tests of exp10.
14982         * math/auto-libm-test-out: Regenerated.
14983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14985         * sysdeps/unix/sysv/linux/kernel-features.h
14986         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14987         * sysdeps/unix/sysv/linux/readv.c: Do not include
14988         <kernel-features.h>.
14989         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14990         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14991         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14992         unconditional.
14993         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14994         conditional code.
14995         * sysdeps/unix/sysv/linux/writev.c: Do not include
14996         <kernel-features.h>.
14997         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14998         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14999         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15000         unconditional.
15001         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15002         conditional code.
15004 2014-06-25  Will Newton  <will.newton@linaro.org>
15006         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15007         comment changes throughout the file.  Remove checks
15008         for HAVE_*_H definitions that are not required.
15009         (__gen_tempname): Call abort if an unknown kind value is
15010         passed.
15012 2014-06-25  Andreas Schwab  <schwab@suse.de>
15014         [BZ #17086]
15015         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15016         scalbln, scalblnf, scalblnl in libc.
15018 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15020         [BZ #17086]
15021         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15022         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15023         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15025 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15027         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15028         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15029         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15030         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15031         Update #include.
15032         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15033         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15034         Update #include.
15035         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15036         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15037         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15038         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15039         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15040         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15041         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15042         * sysdeps/x86/bits/semaphore.h: ... here.
15043         * sysdeps/x86/nptl/elide.h: Moved ...
15044         * sysdeps/x86/elide.h: ... here.
15045         * sysdeps/x86_64/nptl/Implies: File removed.
15046         * sysdeps/i386/nptl/Implies: File removed.
15048 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15050         [BZ #16539]
15051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15052         return the argument for normal arguments with exponent below -64.
15053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15054         Likewise.
15055         * math/auto-libm-test-in: Add another test of expm1.
15056         * math/auto-libm-test-out: Regenerated.
15058         [BZ #16287]
15059         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15060         calling __erfcl for arguments at least 16.
15061         * math/auto-libm-test-in: Add more tests of erf.
15062         * math/auto-libm-test-out: Regenerated.
15064         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15065         individual architectures.
15066         * sysdeps/unix/sysv/linux/configure: Regenerated.
15067         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15068         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15069         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15070         (ldd_rewrite_script): Define variable.
15071         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15073         file.
15074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15075         generated file.
15076         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15077         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15078         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15079         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15080         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15081         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15082         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15083         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15085 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15087         [BZ #17084]
15088         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15089         Rename member __data.d to __data.__elision_data.
15091 2014-06-24  Wilco  <wdijkstr@arm.com>
15093         * NEWS: Add 16918 to fixed bug list.
15095 2014-06-24  Wilco  <wdijkstr@arm.com>
15097         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15099 2014-06-24  Wilco  <wdijkstr@arm.com>
15101         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15102         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15103         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15104         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15105         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15106         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15107         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15108         Use _FPU_MASK_RM.
15110 2014-06-24  Wilco  <wdijkstr@arm.com>
15112         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15114 2014-06-24  Wilco  <wdijkstr@arm.com>
15116         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15117         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15118         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15119         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15121 2014-06-24  Wilco  <wdijkstr@arm.com>
15123         [BZ #16918]
15124         * sysdeps/arm/feupdateenv.c (feupdateenv):
15125         Rewrite to reduce FPSCR accesses and fix return value.
15127 2014-06-24  Wilco  <wdijkstr@arm.com>
15129         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15130         Optimize to avoid unnecessary FPSCR writes.
15131         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15132         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15133         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15134         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15136 2014-06-24  Wilco  <wdijkstr@arm.com>
15138         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15139         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15140         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15141         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15142         Call libc_fetestexcept_vfp.
15143         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15144         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15145         __SOFTFP__ ifdef so that they can be built for softfp.
15147 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15149         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15150         argument type signed char.
15152         * Makerules (check-abi): Dump diff of symlist if the test
15153         fails.
15155 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15157         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15158         using abort.
15160         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15161         Remove unused variable ST.
15163 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15165         [BZ #16354]
15166         [BZ #17061]
15167         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15168         small arguments before calling __expm1.
15169         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15170         small arguments before calling __expm1f.
15171         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15172         small arguments before calling __expm1l.
15173         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15174         Likewise.
15175         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15176         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15177         spurious underflow for some cosh tests.
15178         * math/auto-libm-test-out: Regenerated.
15179         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181         [BZ #17050]
15182         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15183         (__ieee754_y1): Set errno if return value overflows.
15184         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15185         (__ieee754_y1f): Set errno if return value overflows.
15186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15187         (__ieee754_y1l): Set errno if return value overflows.
15188         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15189         (__ieee754_y1l): Set errno if return value overflows.
15190         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15191         * math/auto-libm-test-out: Regenerated.
15193         * math/gen-auto-libm-tests.c: Document use of
15194         ignore-zero-inf-sign.
15195         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15196         (input_flags): Add ignore-zero-inf-sign.
15197         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15198         * math/gen-libm-test.pl (generate_testfile): Handle
15199         ignore-zero-inf-sign.
15200         * math/auto-libm-test-in: Mark some cpow tests with
15201         ignore-zero-inf-sign and some with xfail-rounding.
15202         * math/auto-libm-test-out: Regenerated.
15203         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15204         * sysdeps/i386/fpu/libm-test-ulps: Update.
15205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207         [BZ #16315]
15208         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15209         overflowing or underflowing operations take place with sign of
15210         result.
15211         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15212         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15213         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15214         (__ieee754_pow): Recompute overflowing and underflowing results in
15215         original rounding mode.
15216         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15217         (__powl_helper): Allow negative argument X and scale negated value
15218         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15219         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15220         overflowing or underflowing operations take place with sign of
15221         result.
15222         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15223         Include <math.h>.
15224         * math/auto-libm-test-in: Add more tests of pow.
15225         * math/auto-libm-test-out: Regenerated.
15226         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15227         (pow_tonearest_test_data): Remove.
15228         (pow_test_tonearest): Likewise.
15229         (pow_towardzero_test_data): Likewise.
15230         (pow_test_towardzero): Likewise.
15231         (pow_downward_test_data): Likewise.
15232         (pow_test_downward): Likewise.
15233         (pow_upward_test_data): Likewise.
15234         (pow_test_upward): Likewise.
15235         (main): Don't call removed functions.
15236         * sysdeps/i386/fpu/libm-test-ulps: Update.
15237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15239 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15242         Moved ...
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15245         Moved ...
15246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15248         Moved ...
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15251         Moved ...
15252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15254         File removed.
15255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15256         File removed.
15257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15258         File removed.
15259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15260         File removed.
15261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15262         File removed.
15263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15264         File removed.
15265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15266         File removed.
15267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15268         File removed.
15269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15270         File removed.
15271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15272         File removed.
15273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15274         File removed.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15276         File removed.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15278         Moved ...
15279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15281         Moved ...
15282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15283         ... here.
15284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15285         Moved ...
15286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15288         Moved ...
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15291         Moved ...
15292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15297         Moved ...
15298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15300         Moved ...
15301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15303         Moved ...
15304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15307         ... here.
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15309         Moved ...
15310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15312         Moved ...
15313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15314         ... here.
15315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15318         ... here.
15319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15320         Moved ...
15321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15322         ... here.
15323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15324         Moved ...
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15327         Moved ...
15328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15332         Moved ...
15333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15334         ... here.
15335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15336         Moved ...
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15338         ... here.
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15346         Moved ...
15347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15349         Moved ...
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15352         Moved ...
15353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15354         ... here.
15355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15356         Moved ...
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15359         Moved ...
15360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15362         Moved ...
15363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15365         Moved ...
15366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15373         Moved ...
15374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15376         Moved ...
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15378         ... here.
15379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15380         Moved ...
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15382         ... here.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15384         Moved ...
15385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15386         ... here.
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15388         Moved ...
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15391         Moved ...
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15397         Moved ...
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15399         ... here.
15400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15401         Moved ...
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15403         ... here.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15405         Moved ...
15406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15407         ... here.
15408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15409         Moved ...
15410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15412         Moved ...
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15415 2014-06-23  Will Newton  <will.newton@linaro.org>
15416             Wilco  <wdijkstr@arm.com>
15418         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15419         implementation.  Include get-rounding-mode.h.
15420         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15421         [!libc_feholdsetround_noex_ctx]: Define
15422         libc_feholdsetround_noex_ctx.
15423         [!libc_feholdsetround_noexf_ctx]: Define
15424         libc_feholdsetround_noexf_ctx.
15425         [!libc_feholdsetround_noexl_ctx]: Define
15426         libc_feholdsetround_noexl_ctx.
15427         (libc_feholdsetround_ctx): New function.
15428         (libc_feresetround_ctx): New function.
15429         (libc_feholdsetround_noex_ctx): New function.
15430         (libc_feresetround_noex_ctx): New function.
15432 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15434         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15435         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15436         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15437         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15438         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15439         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15441         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15442         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15443         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15444         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15445         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15446         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15447         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15448         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15449         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15450         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15452         Moved ...
15453         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15454         ... here.
15455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15456         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15460         Moved ...
15461         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15463         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15465         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15467         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15469         Moved ...
15470         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15472         Moved ...
15473         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15475         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15477         Moved ...
15478         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15480         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15481         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15482         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15483         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15484         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15485         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15486         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15487         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15488         Moved ...
15489         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15490         ... here.
15491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15492         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15494         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15496         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15498         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15500         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15502         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15504         Moved ...
15505         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15507         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15509         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15510         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15511         Moved ...
15512         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15514         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15515         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15516         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15518         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15519         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15520         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15521         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15522         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15523         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15524         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15525         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15527         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15529         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15530         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15531         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15532         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15533         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15534         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15535         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15536         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15537         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15538         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15539         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15540         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15541         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15542         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15543         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15544         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15545         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15547 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15549         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15550         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15551         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15552         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15553         (IPV6_PMTUDISC_INTERFACE): Likewise.
15554         (IPV6_PMTUDISC_OMIT): Likewise.
15556 2014-06-23  Andreas Schwab  <schwab@suse.de>
15558         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15559         Remove unused errout label.
15561 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15563         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15564         macro: hardware supports Vector Crypto instructions.
15566 2014-06-23  Will Newton  <will.newton@linaro.org>
15568         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15569         rather than __builtin_expect.
15571         * elf/dl-lookup.c (undefined_msg): Remove variable.
15572         (_dl_lookup_symbol_x): Replace undefined_msg with string
15573         literal.
15575         * elf/dl-lookup.c (do_lookup_unique): New function.
15576         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15577         to a separate function.
15579 2014-06-23  Andreas Schwab  <schwab@suse.de>
15581         [BZ #17079]
15582         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15583         before reading the next line.
15585 2014-06-23  Will Newton  <will.newton@linaro.org>
15587         * test-skeleton.c (signal_handler): Use printf and %m
15588         rather than perror.  Use printf rather than fprintf to
15589         stderr.  Use puts rather than fputs to stderr.
15590         (main): Likewise.
15592 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15594         * nscd/nscd.c (thread_info_t): Remove typedef.
15595         (thread_info): Remove variable.
15597 2014-06-21  Allan McRae  <allan@archlinux.org>
15599         * NEWS: Mention CVE-2014-4043.
15601 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15603         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15604         * nptl/smp.h: ... here.
15606         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15608         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15609         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15610         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15611         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15613         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15614         * nptl/stack-aliasing.h: New file.
15615         * sysdeps/i386/i686/stack-aliasing.h: New file.
15616         * sysdeps/i386/i686/nptl/Makefile: File removed.
15617         * sysdeps/x86_64/stack-aliasing.h: New file.
15618         * sysdeps/x86_64/nptl/Makefile
15619         (CFLAGS-pthread_create.c): Variable removed.
15621         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15622         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15623         old file.
15624         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15625         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15626         old file.
15628 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15630         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15631         (__ASSUME_SIGFRAME_V2): Remove macro.
15632         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15633         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15634         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15635         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15636         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15637         Declare as function.  Remove conditional macro definitions.
15638         (__default_rt_sa_restorer): Likewise.
15639         (__default_sa_restorer_v1): Remove declaration.
15640         (__default_sa_restorer_v2): Likewise.
15641         (__default_rt_sa_restorer_v1): Likewise.
15642         (__default_rt_sa_restorer_v2): Likewise.
15643         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15644         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15645         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15647 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15649         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15650         (libpthread-routines): Add sysdep.
15651         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15652         * sysdeps/unix/sysv/linux/sparc/Versions
15653         (libpthread: GLIBC_2.3.3): New version set.
15654         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15655         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15656         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15657         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15658         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15659         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15660         Moved ...
15661         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15663         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15665         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15667         * sysdeps/sparc/nptl/sem_init.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15669         * sysdeps/sparc/nptl/sem_post.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15671         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15673         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15674         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15675         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15676         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15677         (libpthread-routines): Add cpu_relax.
15678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15679         File removed.
15680         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15681         (librt: GLIBC_2.3.3): New version set.
15682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15683         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15684         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15685         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15688         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15690         Moved ...
15691         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15693         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15695         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15697         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15699         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15701         Moved ...
15702         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15703         Update #include.
15704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15705         Moved ...
15706         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15707         Update #include.
15708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15709         Moved ...
15710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15711         Update #include.
15712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15713         Moved ...
15714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15715         Update #include.
15716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15717         Moved ...
15718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15719         Update #include.
15720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15721         Moved ...
15722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15723         Update #include.
15724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15725         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15731         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15733         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15735         Moved ...
15736         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15738         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15740         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15742 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15744         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15745         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15746         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15747         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15748         * nscd/nscd.c: Likewise.
15749         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15750         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15751         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15752         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15754         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15755         <kernel-features.h>.
15756         (init_mq_netlink): Remove conditional have_sock_cloexec
15757         definitions.  Remove code conditional on have_sock_cloexec < 0.
15758         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15759         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15760         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15761         <kernel-features.h>.
15762         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15763         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15765 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15767         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15768         Add tests for memset_chk and memset.
15770         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15771         with AVX2_Usable.
15773 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15775         [BZ #16046]
15776         * elf/tst-dl-iter-static.c: New file.
15777         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15779         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15780         error.
15782 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15784         * sysdeps/unix/sysv/linux/kernel-features.h
15785         (__ASSUME_F_GETOWN_EX): Remove macro.
15786         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15787         <kernel-features.h>.
15788         (miss_F_GETOWN_EX): Remove variable or macro.
15789         (do_fcntl): Do not check miss_F_GETOWN_EX.
15790         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15793         Remove macro.
15794         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15795         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15796         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15798         * sysdeps/unix/sysv/linux/kernel-features.h
15799         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15800         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15801         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15802         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15804 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15806         [BZ #17075]
15807         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15808         Fix calculation of the symbol's value.
15809         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15810         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15811         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15812         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15813         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15814         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15815         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15816         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15817         (modules-names): Add `tst-armtlsdescmod',
15818         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15819         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15820         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15821         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15822         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15823         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15824         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15825         ($(objpfx)tst-armtlsdescloc): New dependency.
15826         ($(objpfx)tst-armtlsdescextnow): Likewise.
15827         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15828         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15829         TLS scheme support.
15830         * sysdeps/arm/configure: Regenerate.
15832 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15834         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15835         (__atfct_seterrno_2): Likewise.
15836         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15837         <kernel-features.h>.
15838         (__ASSUME_ATFCTS): Do not undefine and redefine.
15839         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15840         (__have_atfcts): Remove conditional definition.
15841         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15842         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15843         unreachable if [__ASSUME_ATFCTS].
15844         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15845         not undefine and redefine.
15846         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15847         <kernel-features.h>.
15848         (faccessat) [__NR_faccessat]: Make code unconditional.
15849         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15850         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15851         <kernel-features.h>.
15852         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15853         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15854         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15855         <kernel-features.h>.
15856         (fchownat) [__NR_fchownat]: Make code unconditional.
15857         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15858         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15859         <kernel-features.h>.
15860         (futimesat) [__NR_futimesat]: Make code unconditional.
15861         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15862         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15863         <kernel-features.h>.
15864         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15865         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15866         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15867         <kernel-features.h>.
15868         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15869         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15870         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15871         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15872         <kernel-features.h>.
15873         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15874         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15875         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15876         <kernel-features.h>.
15877         (linkat) [__NR_linkat]: Make code unconditional.
15878         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15879         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15880         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15881         <kernel-features.h>.
15882         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15883         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15884         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15885         <kernel-features.h>.
15886         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15887         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15888         * sysdeps/unix/sysv/linux/openat.c: Do not include
15889         <kernel-features.h>.
15890         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15891         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15892         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15893         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15894         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15895         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15896         <kernel-features.h>.
15897         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15898         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15899         result of INLINE_SYSCALL directly, not via int variable.
15900         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15901         <kernel-features.h>.
15902         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15903         (renameat) [__NR_renameat]: Make code unconditional.
15904         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15905         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15906         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15907         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15908         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15909         (__ASSUME_ATFCTS): Do not undefine and redefine.
15910         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15911         <kernel-features.h>.
15912         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15913         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15914         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15915         <kernel-features.h>.
15916         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15917         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15918         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15919         (__ASSUME_ATFCTS): Do not undefine and redefine.
15920         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15921         <kernel-features.h>.
15922         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15923         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15924         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15925         <kernel-features.h>.
15926         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15927         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15929 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15931         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15933 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15935         [BZ #17069]
15936         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15937         constructed tree before returning error.
15938         * posix/bug-regexp36.c: Expand test case.
15940 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15942         [BZ #6803]
15943         * math/libm-test.inc (scalbln_test_date):
15944         Add errno expectations.
15945         * math/w_scalblnf.c: New File.
15946         Add wrapper which checks for setting errno to ERANGE.
15947         Add weak_alias for corresponding scalbln function.
15948         * math/w_scalbln.c: Likewise.
15949         * math/w_scalblnl.c: Likewise.
15950         * math/Makefile (libm-calls): Add w_scalbln.
15951         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15952         Remove weak_alias for corresponding scalbln function.
15953         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15955         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15956         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15957         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15958         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15959         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15960         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15961         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15962         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15963         Remove long_double_symbol for scalblnl function in libm, libc.
15964         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15965         Add wrapper which checks for setting errno to ERANGE.
15966         Add long_double_symbol for scalblnl function in libm, libc.
15967         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15968         Remove long_double_symbol for scalblnl in libm.
15969         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15970         Add wrapper which checks for setting errno to ERANGE.
15971         Add long_double_symbol for scalblnl function in libm.
15972         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15973         Do not use wrapper because of own implementation.
15975 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15977         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15978         3 bytes for __pad1 for x32.
15979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15981 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15982             H.J. Lu  <hongjiu.lu@intel.com>
15984         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15985         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15986         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15987         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15988         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15990 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15992         [BZ #17069]
15993         * posix/regcomp.c (parse_expression): Deallocate partially
15994         constructed tree before returning error.
15995         * posix/Makefile.c (tests): Add bug-regex36.
15996         (generated): Add bug-regex36.mtrace.
15997         (tests-special): Add $(objpfx)bug-regex36-mem.out
15998         (bug-regex36-ENV): New variable.
15999         ($(objpfx)bug-regex36-mem.out): New rule.
16000         * posix/bug-regex36.c: New file.
16002 2014-06-19  Will Newton  <will.newton@linaro.org>
16004         * malloc/malloc.c (systrim): If extra is zero then return
16005         early.
16007 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16011 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16013         * sysdeps/aarch64/strchr.S: New file.
16015 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16017         [BZ #17022]
16018         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16019         from arguments -2 or below.
16020         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16021         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16023 2014-06-18  Andreas Schwab  <schwab@suse.de>
16025         [BZ #17062]
16026         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16027         of a bracket expr not to run off the end of the string.
16028         * posix/Makefile (tests): Add tst-fnmatch3.
16029         * posix/tst-fnmatch3.c: New file.
16031 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16033         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16034         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16035         [$(cross-compiling) = no]: Likewise.
16036         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16037         [$(cross-compiling) = no]: Likewise.
16039 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16041         [BZ #17031]
16042         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16043         double, adjusted for any remainder from the high double.
16044         * math/libm-test.inc (nearbyint): Add tests.
16045         (rint): Likewise.
16047 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16049         * nptl/sysdeps/powerpc/Makefile: Moved ...
16050         * sysdeps/powerpc/nptl/Makefile: ... here.
16051         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16052         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16053         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16054         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16055         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16056         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16057         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16058         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16059         * nptl/sysdeps/powerpc/tls.h: Moved ...
16060         * sysdeps/powerpc/nptl/tls.h: ... here.
16062 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16064         [BZ #16681]
16065         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16066         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16067         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16068         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16069         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16070         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16071         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16072         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16073         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16075 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16077         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16079 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16081         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16082         defined operator.
16084         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16085         $TIMEOUTFACTOR.
16087 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16089         [BZ #17058]
16090         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16091         non-executed part of the test.
16093 2014-06-16  Andreas Schwab  <schwab@suse.de>
16095         * string/bits/string2.h (strdup, strndup): Update feature guard.
16097 2014-06-14  David S. Miller  <davem@davemloft.net>
16099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16101 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16103         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16104         that was previously under [RESET_PID].
16105         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16107         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16108         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16109         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16110         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16111         (__libc_vfork): New strong alias.
16112         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16114 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16116         * sysdeps/generic/elide.h: New file.
16118 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16120         * Makefile (installed-headers): Adjust path of pthread.h header.
16122 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16124         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16125         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16126         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16127         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16129         * nptl/sysdeps/s390/Makefile: Moved ...
16130         * sysdeps/s390/nptl/Makefile: ... here.
16131         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16132         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16133         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16134         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16135         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16136         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16137         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16138         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16139         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16140         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16141         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16142         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16143         * nptl/sysdeps/s390/tls.h: Moved ...
16144         * sysdeps/s390/nptl/tls.h: ... here.
16146         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16147         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16149 2014-06-13  David S. Miller  <davem@davemloft.net>
16151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16154         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16158         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16159         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16160         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16161         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16162         Remove RESET_PID cpp guards.
16163         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16164         Remove RESET_PID cpp guards.
16165         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16167 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16169         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16170         __sp to uintptr_t.
16172 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16178         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16179         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16180         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16182         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16185         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16186         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16187         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16189         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16191         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16193         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16195         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16196         (pthread_rwlock_rdlock): Add elision.
16197         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16198         (pthread_rwlock_wrlock): Add elision.
16199         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16200         (pthread_rwlock_trywrlock): Add elision.
16201         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16202         (pthread_rwlock_tryrdlock): Add elision.
16203         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16204         (pthread_rwlock_tryrdlock): Add elision unlock.
16205         * nptl/sysdeps/pthread/pthread.h:
16206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16207         (PTHREAD_RWLOCK_INITIALIZER,
16208         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16209         Handle new elision field.
16210         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16211         * sysdeps/arm/nptl/bits/pthreadtypes.h
16212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16213         * sysdeps/sh/nptl/bits/pthreadtypes.h
16214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16215         * sysdeps/tile/nptl/bits/pthreadtypes.h
16216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16217         * sysdeps/a/nptl/bits/pthreadtypes.h
16218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16219         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16221         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16223         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16225         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16227         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16229         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16231         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16233         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16235         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16236         (elision_init): Set try_xbegin to zero when no RTM.
16237         * sysdeps/x86/nptl/bits/pthreadtypes.h
16238         (pthread_rwlock_t): Change __pad1 to __rwelision.
16239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16241 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16243         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16244         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16245         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16246         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16248 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16250         [BZ #16996]
16251         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16252         that the cached result has been set before returning it.
16254 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16256         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16257         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16258         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16259         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16260         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16261         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16263         * nptl/sysdeps/sparc/Makefile: Moved ...
16264         * sysdeps/sparc/nptl/Makefile: ... here.
16265         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16266         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16267         * nptl/sysdeps/sparc/tls.h: Moved ...
16268         * sysdeps/sparc/nptl/tls.h: ... here.
16269         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16270         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16271         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16272         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16273         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16274         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16275         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16276         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16277         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16278         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16279         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16280         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16281         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16282         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16283         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16284         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16285         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16287         Update #include.
16288         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16289         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16290         Update #include.
16291         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16293         Update #include.
16294         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16296         Update #include.
16298         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16300         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16301         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16303         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16304         (struct list_links): Type removed.
16305         (struct thread_node, struct timer_node): Replace struct list_links
16306         with struct list_head.
16307         (list_unlink_ip): Likewise.
16308         * sysdeps/pthread/timer_routines.c
16309         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16310         (list_append, list_insbefore): Likewise.
16311         (list_init): Function removed.
16312         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16313         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16314         * sysdeps/pthread/Makefile: ... here, new file.
16316         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16317         * sysdeps/nptl/Implies: ... here.
16318         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16319         * nptl/sysdeps/pthread/list.h: Moved ...
16320         * include/list.h: ... here.
16321         * nptl/sysdeps/pthread/createthread.c: Moved ...
16322         * nptl/createthread.c: ... here.
16323         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16324         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16325         * nptl/pt-longjmp.c: ... here.
16326         * nptl/sysdeps/pthread/Makefile: Moved ...
16327         * sysdeps/nptl/Makefile: ... here.
16328         * nptl/sysdeps/pthread/Subdirs: Moved ...
16329         * sysdeps/nptl/Subdirs: ... here.
16330         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16331         * sysdeps/nptl/aio_misc.h: ... here.
16332         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16333         * sysdeps/nptl/bits/libc-lock.h: ... here.
16334         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16335         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16336         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16337         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16338         * nptl/sysdeps/pthread/configure: Moved ...
16339         * sysdeps/nptl/configure: ... here.
16340         * nptl/sysdeps/pthread/configure.ac: Moved ...
16341         * sysdeps/nptl/configure.ac: ... here.
16342         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16343         * sysdeps/nptl/gai_misc.h: ... here.
16344         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16345         * sysdeps/nptl/librt-cancellation.c: ... here.
16346         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16347         * sysdeps/nptl/malloc-machine.h: ... here.
16348         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16349         * sysdeps/nptl/pthread-functions.h: ... here.
16350         * nptl/sysdeps/pthread/pthread.h: Moved ...
16351         * sysdeps/nptl/pthread.h: ... here.
16352         * nptl/sysdeps/pthread/setxid.h: Moved ...
16353         * sysdeps/nptl/setxid.h: ... here.
16354         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16355         * sysdeps/nptl/sigfillset.c: ... here.
16356         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16357         * sysdeps/nptl/tcb-offsets.h: ... here.
16358         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16359         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16360         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16361         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16362         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16363         * sysdeps/pthread/allocalim.h: ... here.
16364         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16365         * sysdeps/pthread/bits/sigthread.h: ... here.
16366         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16367         * sysdeps/pthread/flockfile.c: ... here.
16368         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16369         * sysdeps/pthread/ftrylockfile.c: ... here.
16370         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16371         * sysdeps/pthread/funlockfile.c: ... here.
16372         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16373         * sysdeps/pthread/posix-timer.h: ... here.
16374         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16375         * sysdeps/pthread/timer_create.c: ... here.
16376         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16377         * sysdeps/pthread/timer_delete.c: ... here.
16378         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16379         * sysdeps/pthread/timer_getoverr.c: ... here.
16380         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16381         * sysdeps/pthread/timer_gettime.c: ... here.
16382         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16383         * sysdeps/pthread/timer_routines.c: ... here.
16384         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16385         * sysdeps/pthread/timer_settime.c: ... here.
16386         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16387         * sysdeps/pthread/tst-timer.c: ... here.
16388         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16389         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16391         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16392         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16394         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16395         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16396         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16397         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16398         Update #include target.
16399         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16400         * sysdeps/i386/i686/nptl/Makefile: ... here.
16401         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16402         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16403         Update #include target.
16404         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16405         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16406         * nptl/sysdeps/i386/Makefile: Moved ...
16407         * sysdeps/i386/nptl/Makefile: ... here.
16408         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16409         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16410         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16411         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16412         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16413         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16414         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16415         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16416         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16417         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16418         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16419         * nptl/sysdeps/i386/tls.h: Moved ...
16420         * sysdeps/i386/nptl/tls.h: ... here.
16422         * sysdeps/sh/Makefile [$(subdir) = csu]
16423         (gen-as-const-headers): Add tcb-offsets.sym.
16424         * nptl/sysdeps/sh/Makefile: File removed.
16425         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16426         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16427         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16428         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16429         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16430         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16431         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16432         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16433         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16434         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16435         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16436         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16437         * nptl/sysdeps/sh/tls.h: Moved ...
16438         * sysdeps/sh/nptl/tls.h: ... here.
16439         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16440         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16441         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16442         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16443         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16444         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16445         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16446         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16447         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16448         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16450         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16452         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16453         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16454         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16456         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16458         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16460         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16462         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16464         Moved ...
16465         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16466         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16467         Moved ...
16468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16470         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16472         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16473         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16474         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16476         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16477         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16478         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16479         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16480         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16481         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16482         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16483         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16484         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16485         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16486         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16488 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16490         * posix/spawn_faction_addopen.c: Include string.h.
16492 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16494         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16495         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16496         * nptl/sysdeps/x86_64/Makefile: Moved ...
16497         * sysdeps/x86_64/nptl/Makefile: ... here.
16498         * nptl/sysdeps/x86_64/configure: Moved ...
16499         * sysdeps/x86_64/nptl/configure: ... here.
16500         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16501         * sysdeps/x86_64/nptl/configure.ac: ... here.
16502         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16503         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16504         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16505         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16506         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16507         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16508         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16509         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16510         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16511         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16512         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16513         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16514         * nptl/sysdeps/x86_64/tls.h: Moved ...
16515         * sysdeps/x86_64/nptl/tls.h: ... here.
16516         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16517         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16518         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16519         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16521         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16523 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16527 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16529         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16530         type.
16531         [POSIX] (off_t): Likewise.
16532         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16533         [POSIX] (S_ISBLK): Require macro.
16534         [POSIX] (S_ISCHR): Likewise.
16535         [POSIX] (S_ISDIR): Likewise.
16536         [POSIX] (S_ISFIFO): Likewise.
16537         [POSIX] (S_ISREG): Likewise.
16538         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16539         optional-macro.
16540         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16541         type.
16542         [POSIX] (time_t): Likewise.
16543         [POSIX] (timer_t): Likewise.
16545 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16547         [BZ #17048]
16548         * posix/spawn_int.h (struct __spawn_action): Make the path string
16549         non-const to support deallocation.
16550         * posix/spawn_faction_addopen.c
16551         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16552         * posix/spawn_faction_destroy.c
16553         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16554         path in all spawn_do_open actions.
16555         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16556         posix_spawn_file_actions_addopen.
16558 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16560         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16561         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16562         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16563         conditional code always true.
16564         (__libc_vfork): New alias.
16566 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16568         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16569         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16571         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16573         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16574         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16576         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16577         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16579         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16580         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16582 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16584         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16585         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16586         multiarch strcmp for PPC64.
16587         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16588         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16590         multiarch optimizations.
16591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16592         (__libc_ifunc_impl_list): Likewise.
16594 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16596         * benchtests/scripts/validate_benchout.py: New script.
16597         * benchtests/Makefile (bench-func): Call it.
16598         * benchtests/scripts/benchout.schema.json: New file.
16600 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16602         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16603         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16604         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16605         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16606         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16607         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16608         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16609         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16610         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16611         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16612         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16614         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16615         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16616         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16617         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16619         Moved ...
16620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16621         ... here.
16622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16623         Moved ...
16624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16626         Moved ...
16627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16628         ... here.
16629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16630         Moved ...
16631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16632         ... here.
16633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16634         Moved ...
16635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16637         Moved ...
16638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16639         ... here.
16640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16641         Moved ...
16642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16643         ... here.
16644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16645         Moved ...
16646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16648         Moved ...
16649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16650         ... here.
16651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16652         Moved ...
16653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16654         ... here.
16655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16658         ... here.
16659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16660         Moved ...
16661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16663         Moved ...
16664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16665         ... here.
16666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16667         Moved ...
16668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16669         ... here.
16670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16671         Moved ...
16672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16673         ... here.
16674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16675         Moved ...
16676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16678         Moved ...
16679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16680         ... here.
16681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16682         Moved ...
16683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16684         ... here.
16685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16686         Moved ...
16687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16689         Moved ...
16690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16691         ... here.
16692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16696         Moved ...
16697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16699         Moved ...
16700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16701         ... here.
16702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16705         ... here.
16706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16707         Moved ...
16708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16709         ... here.
16710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16714         Moved ...
16715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16716         ... here.
16717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16718         Moved ...
16719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16720         ... here.
16721         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16722         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16723         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16724         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16725         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16726         Moved ...
16727         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16728         ... here.
16729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16730         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16732         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16733         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16734         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16736         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16740         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16742         Moved ...
16743         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16745         Moved ...
16746         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16748         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16750         Moved ...
16751         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16753         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16754         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16755         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16756         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16757         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16759 2014-06-10  Wilco  <wdijkstr@arm.com>
16761         * math/test-fenv-return.c: New file.
16762         * math/Makefile: Add new test test-fenv-return.
16764 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16766         [BZ #17042]
16767         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16768         when x - 1 is zero.
16769         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16770         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16771         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16772         0.0L for an argument of 1.0L.
16773         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16774         Likewise.
16775         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16776         value when x - 1 is zero.
16777         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16778         * sysdeps/i386/fpu/libm-test-ulps: Update.
16779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16781 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16783         [BZ #15119]
16784         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16786 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16788         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16789         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16791 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16793         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16794         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16796         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16797         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16799         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16800         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16802         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16803         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16805         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16806         if not already defined.
16807         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16808         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16809         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16810         (TLS_INIT_TP): Use it.
16811         (TLS_DEFINE_INIT_TP): New macro.
16812         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16814 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16816         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16817         constant.
16818         [POSIX] (IXANY): Likewise.
16819         [POSIX] (OLCUC): Likewise.
16820         [POSIX || POSIX2008] (CBAUD): Do not allow.
16821         [POSIX || POSIX2008] (DEFECHO): Likewise.
16822         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16823         [POSIX || POSIX2008] (ECHOKE): Likewise.
16824         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16825         [POSIX || POSIX2008] (EXTA): Likewise.
16826         [POSIX || POSIX2008] (EXTB): Likewise.
16827         [POSIX || POSIX2008] (FLUSHO): Likewise.
16828         [POSIX || POSIX2008] (LOBLK): Likewise.
16829         [POSIX || POSIX2008] (PENDIN): Likewise.
16830         [POSIX || POSIX2008] (SWTCH): Likewise.
16831         [POSIX || POSIX2008] (VDISCARD): Likewise.
16832         [POSIX || POSIX2008] (VDSUSP): Likewise.
16833         [POSIX || POSIX2008] (VLNEXT): Likewise.
16834         [POSIX || POSIX2008] (VREPRINT): Likewise.
16835         [POSIX || POSIX2008] (VSTATUS): Likewise.
16836         [POSIX || POSIX2008] (VWERASE): Likewise.
16837         (B*): Change to B[0123456789]*.
16838         * conform/data/time.h-data [POSIX || UNIX98]
16839         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16840         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16841         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16842         [POSIX] (tm_*): Do not allow.
16844 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16846         * Makefile (install): Don't set LANGUAGE.
16847         * Makefile.in (install): Likewise.
16848         * assert/Makefile (test-assert-ENV): Remove variable.
16849         (test-assert-perr-ENV): Likewise.
16850         * elf/Makefile (neededtest4-ENV): Likewise.
16851         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16852         [$(cross-compiling) = no]: Don't set LANGUAGE.
16853         * io/ftwtest-sh (LANG): Remove variable.
16854         * libio/Makefile (tst-widetext-ENV): Likewise.
16855         * manual/install.texi (Running make install): Don't refer to
16856         environment settings for make install.
16857         * INSTALL: Regenerated.
16858         * nptl/tst-tls6.sh: Don't set LANG.
16859         * posix/globtest.sh (LANG): Remove variable.
16860         * string/Makefile (tester-ENV): Likewise.
16861         (inl-tester-ENV): Likewise.
16862         (noinl-tester-ENV): Likewise.
16863         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16864         [$(cross-compiling) = no]: Don't set LANGUAGE.
16865         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16866         without explicit environment settings.
16868 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16870         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16871         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16872         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16873         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16875 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16877         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16878         other files in the crypt directory.
16879         * crypt/crypt.c: Remove duplicate includes.
16880         * crypt/crypt-entry.c: Likewise.
16881         * crypt/crypt_util.c: Likewise.
16883 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16885         * Makeconfig (run-program-env): New variable.
16886         (run-program-prefix-before-env): Likewise.
16887         (run-program-prefix-after-env): Likewise.
16888         (run-program-prefix): Define in terms of new variables.
16889         (built-program-cmd-before-env): New variable.
16890         (built-program-cmd-after-env): Likewise.
16891         (built-program-cmd): Define in terms of new variables.
16892         (test-program-prefix-before-env): New variable.
16893         (test-program-prefix-after-env): Likewise.
16894         (test-program-prefix): Define in terms of new variables.
16895         (test-program-cmd-before-env): New variable.
16896         (test-program-cmd-after-env): Likewise.
16897         (test-program-cmd): Define in terms of new variables.
16898         * Rules (make-test-out): Use $(run-program-env).
16899         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16900         (help): Do not mention environment variables.  Mention
16901         --timeoutfactor option.
16902         (timeoutfactor): New variable.
16903         (blacklist_exports): Remove function.
16904         (exports): Remove variable.
16905         (command): Do not include ${exports}.
16906         * manual/install.texi (Configuring and compiling): Do not mention
16907         test wrappers preserving environment variables.  Mention that last
16908         assignment to a variable must take precedence.
16909         * INSTALL: Regenerated.
16910         * benchtests/Makefile (run-bench): Use $(run-program-env).
16911         * catgets/Makefile ($(objpfx)test1.cat): Use
16912         $(built-program-cmd-before-env), $(run-program-env) and
16913         $(built-program-cmd-after-env).
16914         ($(objpfx)test2.cat): Do not specify environment variables
16915         explicitly.
16916         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16917         $(run-program-env) and $(built-program-cmd-after-env).
16918         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16919         $(run-program-env) and $(test-program-cmd-after-env).
16920         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16921         explicitly.
16922         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16923         run_program_env and test_program_cmd_after_env arguments.
16924         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16925         * elf/tst-pathopt.sh: Use run_program_env argument.
16926         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16927         $(test-wrapper-env) and $(run-program-env).
16928         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16929         run_program_env arguments.
16930         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16931         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16932         $(test-program-prefix-before-env), $(run-program-env) and
16933         $(test-program-prefix-after-env).
16934         ($(objpfx)tst-gettext2.out): Likewise.
16935         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16936         run_program_env and test_program_prefix_after_env arguments.
16937         * intl/tst-gettext2.sh: Likewise.
16938         * intl/tst-gettext4.sh: Do not set environment variables
16939         explicitly.
16940         * intl/tst-gettext6.sh: Likewise.
16941         * intl/tst-translit.sh: Likewise.
16942         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16943         $(test-program-prefix-before-env), $(run-program-env) and
16944         $(test-program-prefix-after-env).
16945         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16946         run_program_env and test_program_prefix_after_env arguments.
16947         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16948         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16949         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16950         explicitly with each use of ${test_wrapper_env}.
16951         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16952         $(test-program-prefix-before-env), $(run-program-env) and
16953         $(test-program-prefix-after-env).
16954         * posix/tst-getconf.sh: Do not set environment variables
16955         explicitly.
16956         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16957         run_program_env and test_program_prefix_after_env arguments.
16958         * stdio-common/tst-printf.sh: Do not set environment variables
16959         explicitly.
16960         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16961         $(test-program-prefix-before-env), $(run-program-env) and
16962         $(test-program-prefix-after-env).
16963         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16964         run_program_env and test_program_prefix_after_env arguments.
16965         Split $test calls into $test_pre and $test.
16966         * timezone/Makefile (build-testdata): Use
16967         $(built-program-cmd-before-env), $(run-program-env) and
16968         $(built-program-cmd-after-env).
16970 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16972         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16973         strlen for non SHARED builds.
16975 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16977         * nptl/allocatestack.c (check_list): Inlined function...
16978         (__reclaim_stacks): ... here.
16980 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16982         [BZ #15698]
16983         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16984         memory overrun.
16986 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16988         * Rules (make-test-out): Include
16989         LOCPATH=$(common-objpfx)localedata in default environment.
16990         * debug/Makefile (tst-chk1-ENV): Remove variable.
16991         (tst-chk2-ENV): Likewise.
16992         (tst-chk3-ENV): Likewise.
16993         (tst-chk4-ENV): Likewise.
16994         (tst-chk5-ENV): Likewise.
16995         (tst-chk6-ENV): Likewise.
16996         (tst-lfschk1-ENV): Likewise.
16997         (tst-lfschk2-ENV): Likewise.
16998         (tst-lfschk3-ENV): Likewise.
16999         (tst-lfschk4-ENV): Likewise.
17000         (tst-lfschk5-ENV): Likewise.
17001         (tst-lfschk6-ENV): Likewise.
17002         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17003         (tst-iconv7-ENV): Likewise.
17004         * intl/Makefile (LOCPATH-ENV): Likewise.
17005         (tst-codeset-ENV): Likewise.
17006         (tst-gettext3-ENV): Likewise.
17007         (tst-gettext5-ENV): Likewise.
17008         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17009         (tst-fopenloc-ENV): Likewise.
17010         (tst-fgetws-ENV): Remove variable.
17011         (tst-ungetwc1-ENV): Likewise.
17012         (tst-ungetwc2-ENV): Likewise.
17013         (bug-ungetwc2-ENV): Likewise.
17014         (tst-swscanf-ENV): Likewise.
17015         (bug-ftell-ENV): Likewise.
17016         (tst-fgetwc-ENV): Likewise.
17017         (tst-fseek-ENV): Likewise.
17018         (tst-ftell-partial-wide-ENV): Likewise.
17019         (tst-ftell-active-handler-ENV): Likewise.
17020         (tst-ftell-append-ENV): Likewise.
17021         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17022         (tst-regexloc-ENV): Likewise.
17023         (bug-regex1-ENV): Likewise.
17024         (tst-regex-ENV): Likewise.
17025         (tst-regex2-ENV): Likewise.
17026         (bug-regex5-ENV): Likewise.
17027         (bug-regex6-ENV): Likewise.
17028         (bug-regex17-ENV): Likewise.
17029         (bug-regex18-ENV): Likewise.
17030         (bug-regex19-ENV): Likewise.
17031         (bug-regex20-ENV): Likewise.
17032         (bug-regex22-ENV): Likewise.
17033         (bug-regex23-ENV): Likewise.
17034         (bug-regex25-ENV): Likewise.
17035         (bug-regex26-ENV): Likewise.
17036         (bug-regex30-ENV): Likewise.
17037         (bug-regex32-ENV): Likewise.
17038         (bug-regex33-ENV): Likewise.
17039         (bug-regex34-ENV): Likewise.
17040         (bug-regex35-ENV): Likewise.
17041         (tst-rxspencer-ENV): Likewise.
17042         (tst-rxspencer-no-utf8-ENV): Likewise.
17043         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17044         (tst-sscanf-ENV): Likewise.
17045         (tst-swprintf-ENV): Likewise.
17046         (tst-swscanf-ENV): Likewise.
17047         (test-vfprintf-ENV): Likewise.
17048         (scanf13-ENV): Likewise.
17049         (bug14-ENV): Likewise.
17050         (tst-grouping-ENV): Likewise.
17051         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17052         (tst-strtod3-ENV): Likewise.
17053         (tst-strtod4-ENV): Likewise.
17054         (tst-strtod5-ENV): Likewise.
17055         (testmb2-ENV): Likewise./
17056         * string/Makefile (tst-strxfrm-ENV): Likewise.
17057         (tst-strxfrm2-ENV): Likewise.
17058         (bug-strcoll1-ENV): Likewise.
17059         (test-strcasecmp-ENV): Likewise.
17060         (test-strncasecmp-ENV): Likewise.
17061         * time/Makefile (tst-strptime-ENV): Likewise.
17062         (tst-ftime_l-ENV): Likewise.
17063         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17064         (tst-mbrtowc-ENV): Likewise.
17065         (tst-wcrtomb-ENV): Likewise.
17066         (tst-mbrtowc2-ENV): Likewise.
17067         (tst-c16c32-1-ENV): Likewise.
17068         (tst-mbsnrtowcs-ENV): Likewise.
17070 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17072         * manual/resource.texi (How to get information about the memory
17073         subsystem?): Fix typo.
17074         Reported by Peon de la Parra Ivan <peon@keba.com>
17076 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17078         [BZ #16882]
17079         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17080         (pthread_spin_lock): Branch out of spin loop to proper location.
17081         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17082         (pthread_spin_lock): Likewise.
17084         * nptl/tst-spin4.c: New test.
17085         * nptl/Makefile (tests): Add tst-spin4.
17087 2014-06-03  Andreas Schwab  <schwab@suse.de>
17089         [BZ #15946]
17090         * resolv/res_send.c (send_dg): Reload file descriptor after
17091         calling reopen.
17093 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17095         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17097 2014-06-03  Richard Henderson  <rth@redhat.com>
17099         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17100         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17101         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17102         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17103         in the SAVE_PID block.
17104         (__libc_vfork): New alias.
17105         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17107         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17108         child in registers, not on the stack.  Remove RESET_PID conditionals.
17109         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17111 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17113         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17115 2014-06-03  Wilco  <wdijkstr@arm.com>
17117         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17118         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17119         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17120         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17121         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17122         Likewise.
17124 2014-06-03  Wilco  <wdijkstr@arm.com>
17126         * sysdeps/aarch64/fpu/math_private.h
17127         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17128         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17129         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17130         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17131         Fix declarations.
17133 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17135         * crypt/crypt-private.h: Include ufc-crypt.h.
17136         (__b64_from_24bit): Declare extern.
17137         * crypt/crypt_util.c(__b64_from_24bit): New function.
17138         (b64t): New static const variable.
17139         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17140         (b64t): Remove variable.
17141         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17142         * crypt/sha256-crypt.c: Include crypt-private.h.
17143         (b64t): Remove variable.
17144         (__sha256_crypt_r): Remove b64_from_24bit and replace
17145         with __b64_from_24bit.
17146         * crypt/sha512-crypt.c: Likewise.
17148 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17150         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17151         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17152         Label the code __libc_vfork rather than __vfork.
17153         [!NOT_IN_libc] (vfork): Define as weak alias.
17154         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17155         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17156         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17158 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17160         * malloc/malloc.c (malloc_info): Fix format specifier for
17161         n_mmaps.
17163 2014-06-02  Wilco  <wdijkstr@arm.com>
17165         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17166         FPCR write.
17168 2014-06-02  Wilco  <wdijkstr@arm.com>
17170         [BZ #17009]
17171         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17172         Rewrite to reduce FPCR/FPSR accesses.
17174 2014-06-01  David S. Miller  <davem@davemloft.net>
17176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17178 2014-05-31  David S. Miller  <davem@davemloft.net>
17180         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17181         to occur in round to nearest mode when |x| >= 2.0
17183 2014-05-30  Richard Henderson  <rth@twiddle.net>
17185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17186         (PSEUDO_RET_NOERRNO): Remove.
17187         (ret): Don't redefine.
17188         (ret_NOERRNO): Define in terms of ret.
17189         (ret_ERRVAL): Likewise.
17191         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17192         use of PSEUDO_RET; perform the error check directly.
17194 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17197         with __int128_t.
17199 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17201         * malloc/malloc (malloc_info): Fix formatting.
17203 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17204             Roland McGrath  <roland@hack.frob.com>
17206         * malloc/malloc (malloc_info): Also print mmapped statistics.
17208 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17210         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17211         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17213 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17215         * malloc/malloc.c (malloc_info): Inline mi_arena.
17217 2014-05-29  Richard Henderson  <rth@twiddle.net>
17219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17220         Remove comma before expanding ASM_ARGS_##nr.
17221         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17222         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17223         of ASM_ARGS_##nr.
17224         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17225         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17226         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17227         (ASM_ARGS_1): Add leading comma.
17229         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17230         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17231         to __errno_location.
17232         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17233         Remove the expected plt for __errno_location.
17235         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17236         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17237         call to __read_tp.
17239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17240         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17241         it and break it down.
17242         (DOCARGS_0, DOCARGS_1): Do nothing.
17243         (DOCARGS_2): Update to store into the new stack frame.
17244         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17245         (UNDOCARGS_1): Update to restore from the new stack frame.
17246         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17247         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17249         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17250         (SINGLE_THREAD_P): New parameter for result regno.
17251         (PSEUDO): Update to match; use cbz instead of beq.
17253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17254         Use ENTRY to define the _nocancel entry point.  Share the syscall
17255         and syscall error check paths with the cancel path.
17256         (PSEUDO_END): New.
17258         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17259         whitespace; tabs before and after asm mnemonics.
17261 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17263         [BZ #15132]
17264         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17265         Call fstat64 or stat64 internally, depending on arguments passed.
17266         Replace stat buffer argument with file descriptor argument.
17267         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17268         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17269         Pass fd to __internal_statvfs instead of calling fstat64.
17270         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17271         Pass fd to __internal_statvfs64 instead of calling fstat64.
17272         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17273         Pass -1 to __internal_statvfs instead of calling stat64.
17274         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17275         Pass -1 to __internal_statvfs64 instead of calling stat64.
17277 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17279         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17280         that was previously under [RESET_PID].
17281         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17283         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17284         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17286 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17288         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17290         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17291         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17293 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17295         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17297 2014-05-27  Andreas Schwab  <schwab@suse.de>
17299         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17300         TLS_INIT_TP macro.
17301         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17302         * elf/rtld.c (init_tls, dl_main): Likewise.
17303         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17304         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17305         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17306         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17307         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17308         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17309         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17310         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17311         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17312         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17313         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17314         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17315         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17316         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17317         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17318         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17319         * sysdeps/generic/tls.h: Update description.
17321 2014-05-27  Will Newton  <will.newton@linaro.org>
17323         [BZ #16990]
17324         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17325         and restore r2 rather than just restoring.
17327 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17329         [BZ #16724]
17330         * libio/tst-ftell-append.c: New test case.
17331         * libio/Makefile (tests): Add test case.
17332         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17333         append mode.
17334         * libio/wfileops.c (do_ftell_wide): Likewise.
17336 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17340         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17341         ...
17342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17344         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17345         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17346         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17347         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17348         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17349         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17351         Moved ...
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17353         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17356         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17357         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17358         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17359         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17360         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17361         ...
17362         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17363         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17364         Moved ...
17365         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17366         here.
17367         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17368         ...
17369         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17370         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17371         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17373         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17374         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17375         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17376         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17379         merge into ...
17380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17382         ...
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17385         ...
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17388         Moved ...
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17390         here.
17391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17392         Moved ...
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17395         Moved ...
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17399         conditional [RESET_PID].
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17402         removed.
17403         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17404         removed.
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17407         <tcb-offsets.h>.
17408         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17409         (__libc_vfork): New strong alias.
17410         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17411         removed.
17412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17413         Removed.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17416         <tcb-offsets.h>.
17417         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17418         (__libc_vfork): New strong alias.
17419         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17420         removed.
17421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17422         removed.
17424 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17426         * malloc/malloc.c (mi_arena): New function.
17427         (malloc_info): Remove nested function mi_arena. Call non-nosted
17428         function mi_arena.
17430 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17432         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17433         by insrwi.
17434         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17435         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17436         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17437         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17438         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17439         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17440         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17442 2014-05-26  Andreas Schwab  <schwab@suse.de>
17444         [BZ #16984]
17445         * locale/programs/repertoire.c (repertoire_read): Add slash
17446         between I18NPATH element and file name.
17447         * locale/programs/locfile.c (locfile_read): Likewise.
17449 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17451         * nptl/pthread_mutexattr_settype.c
17452         (__pthread_mutexattr_settype):
17453         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17455 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17457         * nptl/tst-mutex5 (do_test):
17458         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17460 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17462         * benchtests/README: Document 'init' directive.
17463         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17464         BENCH_INIT.
17465         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17466         (parse_file): Recognize 'init' directive.
17468 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17470         [BZ #16796]
17471         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17472         alignment of struct pthread.
17474 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17476         [BZ #16878]
17477         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17478         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17479         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17480         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17482 2014-05-25  Richard Henderson  <rth@twiddle.net>
17484         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17485         (SINGLE_THREAD_P_PIC): Remove.
17486         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17487         (SINGLE_THREAD_P_PIC): Remove.
17489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17490         branch to syscall error ...
17491         (PSEUDO): ... here.
17492         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17493         from __local_syscall_error to .Lsyscall_error.
17494         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17495         (SYSCALL_ERROR): Update label name.
17497         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17498         Do not use DOARGS/UNDOARGS.
17499         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17500         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17501         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17502         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17503         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17506         block comment.
17508         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17509         define if !NOT_IN_libc.
17510         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17511         define with non-default symbol versions.
17513 2014-05-23  Richard Henderson  <rth@twiddle.net>
17515         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17516         (vfork, __vfork): Define via compat_symbol.
17518         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17519         [!HAVE_IFUNC] (vfork_compat): Remove.
17520         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17522 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17524         [BZ #16978]
17525         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17526         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17527         variable.
17529 2014-05-23  Richard Henderson  <rth@twiddle.net>
17531         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17532         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17533         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17534         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17536         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17537         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17538         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17539         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17541         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17542         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17543         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17544         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17545         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17546         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17547         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17548         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17551         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17553         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17554         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17555         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17556         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17557         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17559         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17561         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17564         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17565         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17567         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17569         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17570         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17571         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17572         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17575         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17576         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17577         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17578         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17579         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17580         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17581         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17582         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17583         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17585         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17587         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17589         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17591         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17593         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17594         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17595         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17596         before exiting on error.
17597         (__libc_vfork): New strong alias.
17598         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17599         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17601         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17602         that was previously under [RESET_PID].
17603         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17605         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17607 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17609         [BZ #16977]
17610         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17611         value when x - 1 is zero.
17612         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17613         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17614         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17615         0.0L for an argument of 1.0L.
17616         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17617         Likewise.
17618         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17619         value when x - 1 is zero.
17620         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17621         * sysdeps/i386/fpu/libm-test-ulps: Update.
17622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17626         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17627         alphasort and versionsort.
17629 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17631         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17632         macro.
17633         [copysignf]: Likewise.
17635 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17637         * crypt/md5-crypt.c: Fix formatting.
17639 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17641         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17642         (b64_from_24bit): New function.
17644 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17646         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17647         libc_hidden_builtin_def to ifunc.
17648         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17649         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17651 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17653         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17654         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17656 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17658         * nscd/Depend (linuxthreads): Remove.
17659         (nptl): Add.
17660         * resolv/Depend (linuxthreads): Remove.
17661         * rt/Depend (linuxthreads): Remove.
17663         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17664         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17665         $(common-objpfx)elf/.
17666         (link-libc-before-gnulib): Likewise.
17667         (elfobjdir): Remove variable.
17668         * Makefile (install): Use $(elf-objpfx) instead of
17669         $(common-objpfx)elf/.
17670         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17671         $(elfobjdir)/.
17672         (link-libc-deps): Likewise.
17673         ($(common-objpfx)libc.so): Likewise.
17674         ($(common-objpfx)linkobj/libc.so): Likewise.
17675         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17676         instead of $(common-objpfx)elf/.
17677         (symbolic-link-list): Likewise.
17678         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17679         [$(cross-compiling) = no]: Likewise.
17680         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17681         $(elfobjdir)/.
17682         (static-gnulib-arch): Likewise.
17683         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17684         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17685         $(common-objpfx)elf/.
17687 2014-05-21  Richard Henderson  <rth@redhat.com>
17689         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17690         (SINGLE_THREAD_P): Use the correct width load.  Fold
17691         into the ldr offset.
17693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17694         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17696 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17698         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17699         (libgcc_s_resume): Use __attribute_used__.
17700         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17701         Likewise.
17703 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17705         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17706         optimization when used with float constants.
17708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17710 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17712         [BZ #16915]
17713         * locale/nl_langinfo_l.c: Make direct reference to every
17714         _nl_current_CATEGORY symbol.
17715         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17716         (tests-static): Add tst-langinfo-static.
17717         (tests-special): Add tst-langinfo-static.out.
17718         ($(objpfx)tst-langinfo.out): Redirect output.
17719         ($(objpfx)tst-langinfo-static.out): New.
17720         * localedata/tst-langinfo.sh: Send output to stdout.
17721         * localedata/tst-langinfo-static.c: New file.
17723         [BZ #16965]
17724         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17725         when the shift amount is modulo the limb size.
17727 2014-05-20  Richard Henderson  <rth@redhat.com>
17729         [BZ #16967]
17730         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17731         Change type of sa_flags from unsigned int to int.
17733         [BZ #16966]
17734         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17736         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17738 2014-05-20  Will Newton  <will.newton@linaro.org>
17740         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17741         Test the return value of the system call in the nocancel case.
17743 2014-05-20  Will Newton  <will.newton@linaro.org>
17744             Yvan Roux  <yvan.roux@linaro.org>
17746         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17747         #include of asm/ptrace.h.
17748         (PTRACE_GET_THREAD_AREA): Remove #undef.
17749         (PTRACE_GETHBPREGS): Likewise.
17750         (PTRACE_SETHBPREGS): Likewise.
17751         (struct user_regs_struct): New structure.
17752         (struct user_fpsimd_struct): New structure.
17753         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17754         #include of asm/ptrace.h and second #include of sys/user.h.
17755         (PTRACE_GET_THREAD_AREA): Remove #undef.
17756         (PTRACE_GETHBPREGS): Likewise.
17757         (PTRACE_SETHBPREGS): Likewise.
17758         (ELF_NGREG): Use new struct user_regs_struct.
17759         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17761 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17763         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17764         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17766 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17768         [BZ #16958]
17769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17770         membar to avoid block loads/stores to overlap previous stores.
17772 2014-05-17  Richard Henderson  <rth@redhat.com>
17774         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17775         Create the __##syscall_name##_nocancel entry point.
17776         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17777         Remove; let the sysdep-cancel.h code create it.
17779 2014-05-17  David S. Miller  <davem@davemloft.net>
17781         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17782         Protect with __USE_GNU.
17783         (TIOCSET_TEMPT): Likewise.
17784         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17785         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17786         these are already provided in bits/ioctl-types.h
17788 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17790         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17791         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17793         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17794         Use wait4 regardless of [__NR_waitpid].
17796 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17798         PR libgcc/60166
17799         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17800         (_FP_NANSIGN_Q): Set the quiet bit.
17802 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17804         * benchtests/Makefile
17805         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17806         not $(common-objpfx)math/libm.so.
17807         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17808         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17809         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17810         $(common-objpfx)dlfcn/libdl.so.
17811         ($(objpfx)tst-audit8): Depend on $(libm), not
17812         $(common-objpfx)math/libm.so.
17813         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17814         not $(common-objpfx)dlfcn/libdl.so.
17815         * math/Makefile
17816         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17817         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17818         [$(build-shared) = yes].
17819         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17820         $(common-objpfx)nptl/libpthread.so.
17821         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17822         $(common-objpfx)math/libm.so$(libm.so-version) or
17823         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17824         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17825         $(common-objpfx)dlfcn/libdl.so.
17826         * setjmp/Makefile (link-libm): Remove variable.
17827         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17828         * stdio-common/Makefile (link-libm): Remove variable.
17829         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17830         * stdlib/Makefile (link-libm): Remove variable.
17831         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17832         ($(objpfx)tst-strtod-round): Likewise.
17833         ($(objpfx)tst-tininess): Likewise.
17834         ($(objpfx)tst-strtod-underflow): Likewise.
17835         ($(objpfx)tst-strtod6): Likewise.
17836         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17837         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17838         $(common-objpfx)dlfcn/libdl.so.
17840 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17842         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17843         BSD terminal modes definitions.
17845 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17847         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17848         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17850         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17851         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17852         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17853         Don't do #include_next.
17854         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17855         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17856         Don't do #include_next.
17857         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17858         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17859         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17860         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17862 2014-05-16  Allan McRae  <allan@archlinux.org>
17864         * po/sv.po: Update Swedish translation from translation project.
17866         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17867         in sed expression.
17869 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17871         [BZ #16917]
17872         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17873         errno if the TIOCGPTN ioctl fails with an error different than
17874         EINVAL.
17875         * login/tst-ptsname.c: New file.
17876         * login/Makefile (tests): Add tst-ptsname.
17878         [BZ #16943]
17879         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17880         and prlimit64.
17882 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17884         [BZ #16849]
17885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17886         herrno to return EAI_AGAIN.
17888 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17890         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17891         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17892         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17893         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17894         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17895         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17896         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17897         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17899         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17900         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17901         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17902         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17903         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17904         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17905         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17906         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17907         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17908         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17909         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17910         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17911         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17912         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17913         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17914         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17915         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17916         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17917         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17918         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17919         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17921         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17923         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17925         Moved ...
17926         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17928         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17932         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17934         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17936         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17938         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17940         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17942         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17944         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17946         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17948         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17950         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17952         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17954         Moved ...
17955         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17957         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17959         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17961         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17963         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17965         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17967         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17969         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17971         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17973         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17975         Moved ...
17976         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17978         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17980         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17981         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17982         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17983         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17984         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17985         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17986         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17987         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17988         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17989         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17990         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17991         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17992         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17993         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17994         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17995         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17996         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17997         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17998         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17999         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18000         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18001         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18002         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18003         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18004         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18005         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18006         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18007         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18008         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18009         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18010         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18012         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18013         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18015         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18016         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18017         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18018         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18019         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18021         Moved ...
18022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18024         Moved ...
18025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18026         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18027         Moved ...
18028         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18029         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18030         Moved ...
18031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18032         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18033         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18035         Moved ...
18036         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18037         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18038         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18040         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18041         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18042         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18043         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18044         Moved ...
18045         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18046         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18047         Moved ...
18048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18049         ... here.
18050         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18051         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18052         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18053         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18055         Moved ...
18056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18057         ... here.
18058         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18059         Moved ...
18060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18061         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18062         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18063         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18064         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18066         Moved ...
18067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18069         Moved ...
18070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18071         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18072         Moved ...
18073         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18074         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18075         Moved ...
18076         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18077         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18078         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18080         Moved ...
18081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18082         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18083         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18086         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18087         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18088         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18089         Moved ...
18090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18091         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18092         Moved ...
18093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18094         ... here.
18095         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18096         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18097         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18098         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18100         Moved ...
18101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18102         ... here.
18103         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18104         Moved ...
18105         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18107         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18108         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18109         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18110         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18111         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18112         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18113         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18114         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18115         Moved ...
18116         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18117         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18118         Moved ...
18119         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18121         Moved ...
18122         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18123         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18124         Moved ...
18125         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18127         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18128         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18129         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18131         Moved ...
18132         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18133         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18134         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18137         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18138         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18139         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18140         Moved ...
18141         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18142         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18143         Moved ...
18144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18145         ... here.
18146         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18147         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18149         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18151         Moved ...
18152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18153         ... here.
18154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18155         Moved ...
18156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18157         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18158         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18159         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18160         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18161         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18162         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18163         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18164         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18165         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18166         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18168         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18169         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18171         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18172         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18174         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18175         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18176         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18177         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18178         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18179         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18180         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18182         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18183         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18185         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18186         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18187         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18188         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18189         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18190         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18192         Moved ...
18193         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18195         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18197         Moved ...
18198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18202         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18204         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18206         Moved ...
18207         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18209         Moved ...
18210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18214         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18216         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18217         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18218         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18219         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18220         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18221         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18222         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18223         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18224         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18225         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18226         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18228         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18229         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18230         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18231         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18232         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18234         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18235         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18236         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18237         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18238         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18239         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18240         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18241         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18242         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18243         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18248         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18249         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18250         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18251         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18252         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18253         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18254         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18255         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18256         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18257         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18258         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18259         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18260         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18261         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18263         Update #include.
18264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18265         Likewise.
18266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18267         Likewise.
18268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18269         Likewise.
18270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18271         Likewise.
18272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18273         Likewise.
18274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18275         Likewise.
18276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18277         Likewise.
18278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18279         Likewise.
18280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18281         Likewise.
18282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18283         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18288         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18289         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18291         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18292         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18293         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18294         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18295         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18296         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18298         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18299         that was previously under [RESET_PID].
18300         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18301         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18302         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18304         * sysdeps/i386/nptl/Implies: New file.
18305         * sysdeps/x86_64/nptl/Implies: New file.
18306         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18307         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18308         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18309         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18311         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18312         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18313         (__libc_vfork): New strong alias.
18314         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18315         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18317         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18319         (__libc_vfork): New strong alias.
18320         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18321         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18323         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18324         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18325         (__libc_vfork): New strong alias.
18326         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18327         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18328         * nptl/pt-vfork.c: New file.
18329         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18330         (libpthread: GLIBC_2.20): New version set (empty).
18332 2014-05-14  Will Newton  <will.newton@linaro.org>
18334         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18335         rather than #if.
18337 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18339         [BZ #16564]
18340         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18341         arguments with exponent 65 or above.
18342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18343         arguments 0x1p113L or above.
18344         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18345         to arguments 0x1p107L or above.
18346         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18347         positive arguments with exponent 65 or above.
18348         * math/auto-libm-test-in: Add more tests of log1p.
18349         * math/auto-libm-test-out: Regenerated.
18351         [BZ #16928]
18352         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18353         non-finite arguments is +0.
18354         * math/s_cacosf.c (__cacosf): Likewise.
18355         * math/s_cacosl.c (__cacosl): Likewise.
18356         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18357         * sysdeps/i386/fpu/libm-test-ulps: Update.
18358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18360         [BZ #16927]
18361         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18362         value.
18363         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18364         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18365         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18366         for explicit high bit of mantissa when testing for argument equal
18367         to 1.
18368         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18369         * sysdeps/i386/fpu/libm-test-ulps: Update.
18370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18372         [BZ #16516]
18373         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18374         (__erf): Scale by 16 instead of 8 in potentially underflowing
18375         case.  Ensure exception if result actually underflows.
18376         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18377         (__erff): Scale by 16 instead of 8 in potentially underflowing
18378         case.  Ensure exception if result actually underflows.
18379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18380         (efx8): Remove variable.
18381         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18382         case.  Ensure exception if result actually underflows.
18383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18384         (efx8): Remove variable.
18385         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18386         case.  Ensure exception if result actually underflows.
18387         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18388         (efx8): Remove variable.
18389         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18390         case.  Ensure exception if result actually underflows.
18391         * math/auto-libm-test-in: Add more tests of erf.
18392         * math/auto-libm-test-out: Regenerated.
18394 2014-05-14  Andreas Schwab  <schwab@suse.de>
18396         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18397         Remove code conditionalized on USE___THREAD.
18399         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18400         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18401         not definedness.
18403 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18405         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18406         Define unconditionally.
18407         (__ASSUME_O_CLOEXEC): Likewise.
18408         (__ASSUME_SOCK_CLOEXEC): Likewise.
18409         (__ASSUME_IN_NONBLOCK): Likewise.
18410         (__ASSUME_PIPE2): Likewise.
18411         (__ASSUME_EVENTFD2): Likewise.
18412         (__ASSUME_SIGNALFD4): Likewise.
18413         (__ASSUME_DUP3): Likewise.
18414         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18415         (__ASSUME_DUP3): Do not define.
18416         (__ASSUME_EVENTFD2): Likewise.
18417         (__ASSUME_IN_NONBLOCK): Likewise.
18418         (__ASSUME_O_CLOEXEC): Likewise.
18419         (__ASSUME_PIPE2): Likewise.
18420         (__ASSUME_SIGNALFD4): Likewise.
18421         (__ASSUME_SOCK_CLOEXEC): Likewise.
18422         (__ASSUME_UTIMES): Undefine.
18423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18424         (__ASSUME_UTIMES): Do not define.
18425         (__ASSUME_O_CLOEXEC): Likewise.
18426         (__ASSUME_SOCK_CLOEXEC): Likewise.
18427         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18428         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18429         0x020621].
18430         (__ASSUME_PIPE2): Likewise.
18431         (__ASSUME_EVENTFD2): Likewise.
18432         (__ASSUME_SIGNALFD4): Likewise.
18433         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18434         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18435         Do not define.
18436         (__ASSUME_EVENTFD2): Likewise.
18437         (__ASSUME_SIGNALFD4): Likewise.
18438         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18439         (__ASSUME_32BITUIDS): Likewise.
18440         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18441         (__ASSUME_IPC64): Likewise.
18442         (__ASSUME_ST_INO_64_BIT): Likewise.
18443         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18444         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18445         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18446         (__ASSUME_UTIMES): Do not define.
18447         (__ASSUME_PSELECT): Likewise.
18448         (__ASSUME_PPOLL): Likewise.
18449         (__ASSUME_O_CLOEXEC): Likewise.
18450         (__ASSUME_SOCK_CLOEXEC): Likewise.
18451         (__ASSUME_IN_NONBLOCK): Likewise.
18452         (__ASSUME_PIPE2): Likewise.
18453         (__ASSUME_EVENTFD2): Likewise.
18454         (__ASSUME_SIGNALFD4): Likewise.
18455         (__ASSUME_DUP3): Likewise.
18456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18457         (__ASSUME_UTIMES): Likewise.
18458         (__ASSUME_O_CLOEXEC): Likewise.
18459         (__ASSUME_SOCK_CLOEXEC): Likewise.
18460         (__ASSUME_IN_NONBLOCK): Likewise.
18461         (__ASSUME_PIPE2): Likewise.
18462         (__ASSUME_EVENTFD2): Likewise.
18463         (__ASSUME_SIGNALFD4): Likewise.
18464         (__ASSUME_DUP3): Likewise.
18465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18466         (__ASSUME_UTIMES): Likewise.
18467         (__ASSUME_O_CLOEXEC): Likewise.
18468         (__ASSUME_SOCK_CLOEXEC): Likewise.
18469         (__ASSUME_IN_NONBLOCK): Likewise.
18470         (__ASSUME_PIPE2): Likewise.
18471         (__ASSUME_EVENTFD2): Likewise.
18472         (__ASSUME_SIGNALFD4): Likewise.
18473         (__ASSUME_DUP3): Likewise.
18474         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18475         Likewise.
18476         (__ASSUME_UTIMES): Likewise.
18477         (__ASSUME_EVENTFD2): Likewise.
18478         (__ASSUME_SIGNALFD4): Likewise.
18479         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18480         (__ASSUME_O_CLOEXEC): Likewise.
18481         (__ASSUME_SOCK_CLOEXEC): Likewise.
18482         (__ASSUME_IN_NONBLOCK): Likewise.
18483         (__ASSUME_PIPE2): Likewise.
18484         (__ASSUME_EVENTFD2): Likewise.
18485         (__ASSUME_SIGNALFD4): Likewise.
18486         (__ASSUME_DUP3): Likewise.
18487         (__ASSUME_UTIMES): Undefine.
18489         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18490         feclearexcept.  Remove symbol versioning code.
18491         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18492         symbol versioning code.
18493         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18494         symbol versioning code.
18495         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18496         feupdateenv.  Remove symbol versioning code.
18497         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18498         fegetexceptflag.  Remove symbol versioning code.
18499         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18500         fesetexceptflag.  Remove symbol versioning code.
18501         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18502         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18503         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18504         (__posix_fadvise64_l32): Remove prototype.
18505         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18506         code.
18508 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18510         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18511         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18512         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18513         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18515 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18517         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18518         current working directory
18520 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18522         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18523         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18524         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18525         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18526         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18527         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18528         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18529         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18530         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18531         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18532         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18533         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18534         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18535         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18536         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18537         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18538         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18539         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18540         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18541         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18542         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18543         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18544         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18545         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18546         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18547         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18548         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18549         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18550         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18551         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18552         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18553         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18554         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18555         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18556         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18557         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18558         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18560         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18561         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18562         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18563         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18565         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18566         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18568         * sysdeps/unix/sysv/linux/arm/Makefile
18569         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18570         Add rt-aeabi_unwind_cpp_pr1.
18571         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18572         Add nptl-aeabi_unwind_cpp_pr1.
18573         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18574         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18575         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18576         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18577         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18578         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18580         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18581         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18582         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18583         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18585         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18586         Deconditionalize the code that was previously under [RESET_PID].
18587         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18589         * sysdeps/generic/exit-thread.h: New file.
18590         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18591         * include/unistd.h (__exit_thread): Remove declaration.
18592         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18593         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18594         * csu/libc-start.c: Include <exit-thread.h>.
18595         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18596         * nptl/pthread_create.c: Include <exit-thread.h>.
18597         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18598         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18599         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18600         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18601         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18602         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18603         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18604         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18605         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18606         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18607         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18608         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18609         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18610         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18611         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18612         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18613         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18615 2014-05-13  Andreas Schwab  <schwab@suse.de>
18617         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18619 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18621         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18622         (__ASSUME_UTIMES): Do not condition on kernel version.
18623         (__ASSUME_PSELECT): Define unconditionally.
18624         (__ASSUME_PPOLL): Likewise.
18625         (__ASSUME_ATFCTS): Likewise.
18626         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18627         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18628         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18629         (__ASSUME_UTIMENSAT): Define unconditionally.
18630         (__ASSUME_PRIVATE_FUTEX): Likewise.
18631         (__ASSUME_FALLOCATE): Likewise.
18632         (__ASSUME_O_CLOEXEC): Likewise.
18633         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18634         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18635         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18636         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18637         (__ASSUME_IN_NONBLOCK): Likewise.
18638         (__ASSUME_PIPE2): Likewise.
18639         (__ASSUME_EVENTFD2): Likewise.
18640         (__ASSUME_SIGNALFD4): Likewise.
18641         (__ASSUME_DUP3): Likewise.
18642         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18643         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18644         (__ASSUME_AT_RANDOM): Likewise.
18645         (__ASSUME_PREADV): Likewise.
18646         (__ASSUME_PWRITEV): Likewise.
18647         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18648         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18649         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18651         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18653         (__ASSUME_O_CLOEXEC): Define unconditionally.
18654         (__ASSUME_PSELECT): Do not undefine conditionally.
18655         (__ASSUME_PPOLL): Likewise.
18656         (__ASSUME_ATFCTS): Likewise.
18657         (__ASSUME_SET_ROBUST_LIST): Likewise.
18658         (__ASSUME_UTIMENSAT): Likewise.
18659         (__ASSUME_FDATASYNC): Define unconditionally.
18660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18661         (__ASSUME_SIGFRAME_V2): Likewise.
18662         )__ASSUME_EVENTFD2): Likewise.
18663         (__ASSUME_SIGNALFD4): Likewise.
18664         (__ASSUME_PSELECT): Do not undefine conditionally.
18665         (__ASSUME_PPOLL): Likewise.
18666         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18667         (__ASSUME_PSELECT): Define unconditionally.
18668         (__ASSUME_PPOLL): Likewise.
18669         (__ASSUME_O_CLOEXEC): Likewise.
18670         (__ASSUME_SOCK_CLOEXEC): Likewise.
18671         (__ASSUME_IN_NONBLOCK): Likewise.
18672         (__ASSUME_PIPE2): Likewise.
18673         (__ASSUME_EVENTFD2): Likewise.
18674         (__ASSUME_SIGNALFD4): Likewise.
18675         (__ASSUME_DUP3): Likewise.
18676         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18677         (__ASSUME_O_CLOEXEC): Likewise.
18678         (__ASSUME_SOCK_CLOEXEC): Likewise.
18679         (__ASSUME_IN_NONBLOCK): Likewise.
18680         (__ASSUME_PIPE2): Likewise.
18681         (__ASSUME_EVENTFD2): Likewise.
18682         (__ASSUME_SIGNALFD4): Likewise.
18683         (__ASSUME_DUP3): Likewise.
18684         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18685         (__ASSUME_EVENTFD2): Likewise.
18686         (__ASSUME_SIGNALFD4): Likewise.
18687         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18689 2014-05-12  Andreas Schwab  <schwab@suse.de>
18691         [BZ #16932]
18692         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18693         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18694         than maximum RPC packet size.
18695         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18696         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18697         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18698         (_nss_nis_getservbyport_r): Likewise.
18700 2014-05-12  Will Newton  <will.newton@linaro.org>
18702         * malloc/Makefile (tests): Add tst-mallopt.
18703         * malloc/tst-mallopt.c: New file.
18705 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18707         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18708         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18710 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18712         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18713         (tst-tlsmod6.so): Likewise.
18715 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18717         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18719 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18721         [BZ #16064]
18722         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18723         and <dl-procinfo.h>.
18724         (__fegetenv): Save SSE state in envp->__eip if supported.
18725         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18726         envp->__eip if supported.
18727         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18728         and <dl-procinfo.h>.
18729         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18730         __data_offset and __data_selector in environment to 0.  Set SSE
18731         state if supported.
18732         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18733         test-fenv-sse.
18734         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18735         -mfpmath=sse.
18736         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18738 2014-05-09  Will Newton  <will.newton@linaro.org>
18740         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18741         and libc_relro_required for ARM.
18742         * sysdeps/arm/preconfigure: Regenerate.
18744 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18745             Stefan Liebler  <stli@linux.vnet.ibm.com>
18747         * config.make.in (enable-lock-elision): New Makefile variable.
18748         * configure.ac: Likewise.
18749         * configure: Regenerate.
18750         * sysdeps/s390/configure.ac:
18751         Add check for gcc transactions support.
18752         * sysdeps/s390/configure: Regenerate.
18753         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18754         Build elision files if enabled.
18755         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18756         Add lock elision support for s390.
18757         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18758         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18759         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18760         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18761         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18762         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18763         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18764         Likewise.
18765         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18766         Likewise.
18767         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18768         Likewise.
18769         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18770         Likewise.
18771         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18772         (__lll_timedlock_elision, __lll_lock_elision)
18773         (__lll_unlock_elision, __lll_trylock_elision)
18774         (lll_timedlock_elision, lll_lock_elision)
18775         (lll_unlock_elision, lll_trylock_elision): Add.
18776         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18777         (pthread_mutex_t): Add lock elision support for s390.
18779 2014-05-14  Wilco  <wdijkstr@arm.com>
18781         * sysdeps/arm/fclrexcpt.c: Cleanup.
18782         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18783         * sysdeps/arm/feenablxcpt.c: Cleanup.
18784         * sysdeps/arm/fegetenv.c: Cleanup.
18785         * sysdeps/arm/fegetexcept.c: Cleanup.
18786         * sysdeps/arm/fegetround.c: Cleanup.
18787         * sysdeps/arm/feholdexcpt.c: Cleanup.
18788         * sysdeps/arm/fesetenv.c: Cleanup.
18789         * sysdeps/arm/fesetround.c: Cleanup.
18790         * sysdeps/arm/feupdateenv.c: Cleanup.
18791         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18792         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18793         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18794         * sysdeps/arm/ftestexcept.c: Cleanup.
18795         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18796         * sysdeps/arm/setfpucw.c: Cleanup.
18798 2014-05-09  Will Newton  <will.newton@linaro.org>
18800         * sysdeps/arm/armv7/strcmp.S: New file.
18801         * NEWS: Mention addition of ARMv7 optimized strcmp.
18803 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18805         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18806         look for %.ac rather than %.in.
18808         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18809         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18810         * sysdeps/mach/hurd/configure: Regenerated.
18811         * sysdeps/unix/sysv/linux/configure: Regenerated.
18813         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18815 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18817         [BZ# 16922]
18818         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18819         (LONG_SUB): Ditto.
18820         (PTR_SUB): Ditto.
18822 2014-05-07  Andreas Schwab  <schwab@suse.de>
18824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18825         when skipping over non-matching result from nscd.
18827 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18829         [BZ #16876]
18830         * nptl/sockperf.c (client): Check socket return value.
18832         [BZ #16877]
18833         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18834         nscd security class.
18836 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18838         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18839         * sysdeps/arm/unwind.h: ... here.
18841 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18843         [BZ# 16916]
18844         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18845         Define.
18847 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18849         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18850         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18851         multiarch strncpy for PPC64.
18852         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18853         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18855         multiarch optimizations.
18856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18857         (__libc_ifunc_impl_list): Likewise.
18858         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18859         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18860         multiarch stpncpy for PPC64.
18861         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18862         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18864 2014-05-06  Andreas Schwab  <schwab@suse.de>
18866         [BZ #16912]
18867         * gmon/mcount.c (_MCOUNT_DECL): Use
18868         atomic_compare_and_exchange_bool_acq instead of
18869         catomic_compare_and_exchange_bool_acq.
18871 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18873         * elf/Makefile (others, install-bin): Remove pldd.
18874         (pldd-modules): Variable removed.
18875         ($(objpfx)pldd): Target removed.
18876         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18877         (others, install-bin): Append pldd here.
18878         ($(objpfx)pldd): New target.
18880         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18881         to 0, so the first #if test emitted later doesn't see it undefined.
18882         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18883         * sysdeps/gnu/errlist.c: Regenerated.
18885 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18887         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18888         [libc_hidden_builtin_def]: Define to empty value.
18889         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18890         [libc_hidden_builtin_def]: Likewise.
18891         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18892         [libc_hidden_builtin_def]: Likewise.
18893         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18894         [libc_hidden_builtin_def]: Likewise.
18895         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18896         __redirect_memcpy and define ifunc as default hidden symbol.
18897         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18898         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18900 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18902         * locale/iso-4217.def: Reintroduce XDR currency.
18904 2014-05-04  Allan McRae  <allan@archlinux.org>
18906         * po/eo.po: Update Esperanto translation from translation project.
18908 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18910         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18911         and FEATURE_INDEX_MAX to 1.
18912         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18914 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18916         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18917         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18918         * iconvdata/big5.c (ONE_DIRECTION): Define.
18919         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18920         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18921         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18922         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18923         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18924         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18925         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18926         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18927         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18928         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18929         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18930         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18931         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18932         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18933         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18934         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18935         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18936         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18937         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18938         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18939         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18940         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18941         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18942         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18943         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18944         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18945         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18946         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18947         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18948         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18949         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18950         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18951         * iconvdata/johab.c (ONE_DIRECTION): Define.
18952         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18953         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18954         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18955         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18956         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18957         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18958         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18959         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18960         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18961         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18963 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18965         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18966         (_IO_JUMPS_OFFSET): Define to 0.
18968         * nptl/sysdeps/pthread/bits/libc-lock.h
18969         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18970         (__libc_lock_define_initialized_recursive): Always define using
18971         initializer.  Modern compilers treat uninitialized (implicit zero) and
18972         explicit zero initializers the same (i.e. put the datum in bss).
18974 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18976         * nscd/nscd-client.h: Include <string.h>.
18978 2014-05-01  David S. Miller  <davem@davemloft.net>
18980         [BZ #16885]
18981         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18982         multiple zero bytes exist at the end of a string.
18983         Reported by Aurelien Jarno <aurelien@aurel32.net>
18985         * string/test-strcmp.c (check): Add explicit test for situations where
18986         there are multiple zero bytes after the first.
18988 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18990         [BZ #16890]
18991         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18992         when compiling wprintf.
18993         * stdio-common/tstdiomisc.c (t3): New function.
18994         (main): Call it.
18996 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18998         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18999         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19000         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19001         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19003 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19005         * stdlib/longlong.h: Updated from GCC.
19007 2014-05-01  Will Newton  <will.newton@linaro.org>
19008             Bernard Ogden  <bernie.ogden@linaro.org>
19010         * NEWS: Update fixed bug list.
19012         [BZ #15119]
19013         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19015 2014-04-30  David S. Miller  <davem@davemloft.net>
19017         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19018         (libc_feholdexcept_setround_sparc_ctx): New function.
19019         (libc_fesetenv_sparc_ctx): Likewise.
19020         (libc_feupdateenv_sparc_ctx): Likewise.
19021         (libc_feholdsetround_sparc_ctx): Likewise.
19022         (libc_feholdexcept_setround_ctx): Define.
19023         (libc_feholdexcept_setroundf_ctx): Likewise.
19024         (libc_feholdexcept_setroundl_ctx): Likewise.
19025         (libc_fesetenv_ctx): Likewise.
19026         (libc_fesetenvf_ctx): Likewise.
19027         (libc_fesetenvl_ctx): Likewise.
19028         (libc_feupdateenv_ctx): Likewise.
19029         (libc_feupdateenvf_ctx): Likewise.
19030         (libc_feupdateenvl_ctx): Likewise.
19031         (libc_feresetround_ctx): Likewise.
19032         (libc_feresetroundf_ctx): Likewise.
19033         (libc_feresetroundl_ctx): Likewise.
19034         (libc_feholdsetround_ctx): Likewise.
19035         (libc_feholdsetroundf_ctx): Likewise.
19036         (libc_feholdsetroundl_ctx): Likewise.
19038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19039         with __USE_GNU instead of XOPEN cpp guards.
19041         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19042         0.
19044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19045         with XOPEN cpp guards.
19047 2014-04-30  Julian Brown  <julian@codesourcery.com>
19049         [BZ #16888]
19050         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19051         handling.
19053 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19055         [BZ #9894]
19056         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19057         Change to 2.6.32.
19058         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19059         * sysdeps/unix/sysv/linux/configure: Regenerated.
19060         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19061         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19062         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19063         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19064         * README: Update reference to required Linux kernel version.
19065         * manual/install.texi (Linux): Update reference to required Linux
19066         kernel headers version.
19067         * INSTALL: Regenerated.
19069         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19070         header inclusion.
19071         [POSIX] (limits.h): Likewise.
19072         [POSIX] (math.h): Likewise.
19073         [POSIX] (sys/wait.h): Likewise.
19074         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19075         function.
19076         [POSIX] (stddef.h): Do not allow header inclusion.
19078 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19080         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19082 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19084         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19085         Return immediately after lll_futex_wake.
19087 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19089         [BZ #16791]
19090         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19091         structure.
19092         (datahead_init_pos): Call datahead_init_common early.
19093         (datahead_init_neg): Likewise.
19095         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19096         datahead_init_neg): New functions.
19097         * nscd/aicache.c (addhstaiX): Use them.
19098         * nscd/grpcache.c (cache_addgr): Likewise.
19099         * nscd/hstcache.c (cache_addhst): Likewise.
19100         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19101         * nscd/netgroupcache.c (do_notfound): Likewise.
19102         (addgetnetgrentX): Likewise.
19103         (addinnetgrX): Likewise.
19104         * nscd/pwdcache.c (cache_addpw): Likewise.
19105         * nscd/servicescache.c (cache_addserv): Likewise.
19107 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19108             Atsushi Onoe  <atsushi@onoe.org>
19110         [BZ #14308]
19111         [BZ #12994]
19112         [BZ #13651]
19113         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19114         one response is valid.
19115         * resolv/res_send.c (send_dg): Check for validity of other
19116         response if the current response is a referral.
19118 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19120         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19122 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19124         [BZ #16823]
19125         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19126         Always divide by positive zero when computing -Inf result.
19127         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19128         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19130 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19132         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19133         FPSCR if value do not change.
19134         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19135         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19136         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19137         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19138         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19139         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19140         function.
19142 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19144         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19145         * sysdeps/unix/sysv/linux/hppa: Move directory from
19146         ports/systeps/unix/sysv/linux/hppa.
19147         * README: Update listing for hppa-*-linux-gnu.
19149 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19151         [BZ #16754]
19152         * manual/stdio.texi (Hook functions): Fix types of stream hook
19153         functions.
19154         [BZ #16854]
19155         * socket/sys/socket.h: Fix typo in comment.
19157 2014-04-28  Wilco  <wdijkstr@arm.com>
19159         * sysdeps/arm/fenv_private.h: New file.
19160         * sysdeps/arm/math_private.h: New file.
19161         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19163 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19165         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19166         with __int128_t.
19167         (La_x86_64_retval): Likewise.
19169 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19171         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19172         fpsr if value didn't change.
19173         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19174         to fpcr if value didn't change.
19175         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19176         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19177         fpsr or fpcr if value didn't change.
19178         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19179         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19180         fpcr if value didn't change.
19181         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19182         to fpsr if value didn't change.
19184 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19186         * nptl/tst-sem3.c: Use test-skeleton.c
19187         (main): Rename to do_test.  Use return instead of
19188         exit.
19189         * nptl/tst-sem4.c: Use test-skeleton.c
19190         (main): Rename to do_test.
19192 2014-04-22  David S. Miller  <davem@davemloft.net>
19194         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19195         (struct sigaction): New struct member __glibc_reserved0, change
19196         type of sa_flags to int.
19198 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19200         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19201         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19203 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19205         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19206         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19208 2014-04-22  Will Newton  <will.newton@linaro.org>
19209             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19211         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19212         (__longjmp): Add longjmp and longjmp_target SystemTap
19213         probes.
19214         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19215         (__sigsetjmp): Add setjmp SystemTap probe.
19217 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19219         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19220         match manual order.
19222 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19226         * sysdeps/powerpc/fpu/fenv_private.h
19227         (libc_feholdexcept_setroundl_ctx): Define to
19228         libc_feholdexcept_setround_ppc_ctx.
19229         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19230         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19231         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19232         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19234 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19236         * sysdeps/aarch64/math-tests.h: New file.
19238 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19240         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19241         New.
19242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19243         Check and set bit_AVX2_Usable.
19244         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19245         macro.
19246         (bit_AVX2): Likewise.
19247         (index_AVX2_Usable): Likewise.
19248         (CPUID_AVX2): Likewise.
19249         (HAS_AVX2): Likewise.
19251 2014-04-17  Will Newton  <will.newton@linaro.org>
19253         * manual/setjmp.texi (System V contexts): Add note that
19254         calling setcontext on a context created by a call to a
19255         signal handler is undefined.  Update text to note that
19256         setcontext from a signal handler is possible but not
19257         recommended.
19259         [BZ #16629]
19260         * stdlib/tst-setcontext.c: Include signal.h.
19261         (main): Check that the signal stack before and
19262         after swapcontext is the same.
19264         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19265         Re-implement to restore registers in user code and avoid
19266         rt_sigreturn system call.
19268 2014-04-17  Wilco  <wdijkstr@arm.com>
19270         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19271         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19272         * math/test-fenv.c: Skip exception trap tests on targets which only
19273         support non-stop mode.
19275 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19276             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19278         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19279         (libc_feholdsetround_aarch64_ctx)
19280         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19281         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19282         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19283         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19284         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19285         (libc_feresetround_noexl_ctx): Define.
19287 2014-04-16  Richard Henderson  <rth@redhat.com>
19289         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19291         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19292         unwind tables.
19294         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19295         const from the non-libc, non-ldso copy.
19297         * sysdeps/alpha/libm-test-ulps: Regenerate.
19299 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19300             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19302         * sysdeps/aarch64/fpu/math_private.h: New file.
19304 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19306         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19308 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19310         [BZ #16275]
19311         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19312         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19314         Intel MPX bound registers before _dl_profile_fixup.
19315         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19316         registers after _dl_profile_fixup.  Save and restore bound
19317         registers bnd0/bnd1 when calling _dl_call_pltexit.
19318         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19319         (LR_BND_OFFSET): Likewise.
19320         (LRV_BND0_OFFSET): Likewise.
19321         (LRV_BND1_OFFSET): Likewise.
19323 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19325         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19326         to...
19327         * sysdeps/mach/hurd/i386/tls.h: ... here.
19328         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19329         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19330         fields.
19332 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19334         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19336 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19338         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19340 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19342         [BZ #14770]
19343         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19344         * sysdeps/s390/configure: Regenerate.
19346         [BZ #16824]
19347         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19348         Set round-to-nearest internally to reduce error accumulation.
19350 2014-04-16  Alan Modra  <amodra@gmail.com>
19352         [BZ #16740]
19353         [BZ #16619]
19354         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19355         * math/libm-test.inc (frexp_test_data): Add tests.
19356         * NEWS: Update fixed bug list.
19358 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19360         * benchtests/Makefile: Depend on libraries in build directory.
19361         (bench-math): Separate out math tests.
19362         (bench-pthread): Separate out pthread tests.
19363         (bench): Include math and pthread tests.
19365 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19367         [BZ #16831]
19368         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19369         _dl_debug_initialize.
19371         * configure.ac: Remove SELinux header check.
19372         * configure: Regenerate.
19373         * nscd/selinux.c (perms): Array of const char* to permission names.
19374         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19375         default policy. Call string_to_security_class and string_to_av_perm to
19376         translate strings. Enforce default policy and call avs_has_perm with
19377         results of translated strings.
19379 2014-04-13  David S. Miller  <davem@davemloft.net>
19381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19383 2014-04-12  Allan McRae  <allan@archlinux.org>
19385         [BZ #16838]
19386         * manual/string.texi (Collation Functions): Fix qsort argument
19387         order in example.
19388         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19390 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19392         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19393         Make the test a no-op if there are no exceptions defined.
19395 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19397         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19398         enable-hardcoded-path-in-tests
19400 2014-04-11  Will Newton  <will.newton@linaro.org>
19402         * benchtests/Makefile (extra-objs): Add json-lib.o.
19403         (bench-func): Tidy up JSON output.
19404         * benchtests/bench-skeleton.c: Include json-lib.h.
19405         (main): Use JSON library functions to do output of
19406         benchmark results.
19407         * benchtests/bench-timing-type.c (main): Output the
19408         timing type simply, leaving formatting to the user.
19409         * benchtests/json-lib.c: New file.
19410         * benchtests/json-lib.h: Likewise.
19412 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19414         [BZ #15215]
19415         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19416         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19417         memory barriers.  Add comments.
19418         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19419         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19420         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19421         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19422         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19423         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19425 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19427         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19428         * sysdeps/s390/s390-64/configure.ac: ... this ...
19429         * sysdeps/s390/configure.ac: ... to here.
19430         * sysdeps/s390/s390-32/configure: Delete file.
19431         * sysdeps/s390/s390-64/configure: Delete file.
19432         * sysdeps/s390/configure: Regenerate.
19434 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19436         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19438 2014-04-11  Will Newton  <will.newton@linaro.org>
19440         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19441         to zero if it is not defined elsewhere.  (mtrim): Test
19442         the value of MALLOC_DEBUG with #if rather than #ifdef.
19444 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19446         * benchtests/pthread_once-inputs: New file.
19447         * benchtests/pthread_once-source.c: New file.
19448         * benchtests/README: Update documentation.
19450 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19451             H.J. Lu  <hongjiu.lu@intel.com>
19453         [BZ #16275]
19454         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19455         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19456         * sysdeps/x86_64/configure: Regenerated.
19457         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19458         macro.
19459         (REGISTER_SAVE_RAX): Likewise.
19460         (REGISTER_SAVE_RCX): Likewise.
19461         (REGISTER_SAVE_RDX): Likewise.
19462         (REGISTER_SAVE_RSI): Likewise.
19463         (REGISTER_SAVE_RDI): Likewise.
19464         (REGISTER_SAVE_R8): Likewise.
19465         (REGISTER_SAVE_R9): Likewise.
19466         (REGISTER_SAVE_BND0): Likewise.
19467         (REGISTER_SAVE_BND1): Likewise.
19468         (REGISTER_SAVE_BND2): Likewise.
19469         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19470         bound registers when calling _dl_fixup.
19472 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19474         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19475         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19476         of its definition.
19477         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19478         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19479         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19480         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19481         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19482         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19483         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19485 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19487         [BZ #15514]
19488         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19489         pathconf(_PC_NAME_MAX).
19491 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19493         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19494         Remove macro usage.
19495         (__PTHREAD_SPINS): Move definition to ...
19496         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19497         (__PTHREAD_SPINS): ... here.
19498         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19499         (__PTHREAD_SPIN): Likewise.
19500         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19501         (__PTHREAD_SPIN): Likewise.
19502         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19503         (__PTHREAD_SPIN): Likewise.
19504         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19505         (__PTHREAD_SPIN): Likewise.
19506         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19507         (__PTHREAD_SPIN): Likewise.
19508         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19509         (__PTHREAD_SPIN): Likewise.
19510         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19511         (__PTHREAD_SPIN): Likewise.
19512         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19513         (__PTHREAD_SPIN): Likewise.
19514         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19515         (__PTHREAD_SPIN): Likewise.
19516         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19517         (__PTHREAD_SPIN): Likewise.
19518         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19519         (__PTHREAD_SPIN): Likewise.
19520         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19521         (__PTHREAD_SPIN): Likewise.
19523         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19524         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19525         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19526         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19527         imply folder.
19528         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19529         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19530         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19531         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19532         correct imply path.
19533         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19534         strlen symbol for non multi-arch builds.
19535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19536         missing hidden_def and weak_alias.
19538 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19540         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19542 2014-04-07  Will Newton  <will.newton@linaro.org>
19544         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19545         and contents.  [!_LIBC] Remove #ifndef and contents.
19546         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19547         * string/memccpy.c (__memccpy): Use ANSI prototype.
19548         * string/memfrob.c (memfrob): Likewise.
19549         * string/strcoll.c (STRCOLL): Likewise.
19550         * string/strlen.c (strlen): Likewise.
19551         * string/strtok.c (STRTOK): Likewise.
19552         * string/strcat.c: Remove unused #include of memcopy.h.
19553         (strcat): Use ANSI prototype.
19554         * string/strchr.c: Remove unused #include of memcopy.h.
19555         (strchr): Use ANSI prototype.
19556         * string/strcmp.c: Remove unused #include of memcopy.h.
19557         (strcmp): Use ANSI prototype.
19558         * string/strcpy.c: Remove unused #include of memcopy.h.
19559         (strcpy): Use ANSI prototype.
19561 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19563         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19564         * config.make.in (config-extra-cppflags): Set it from
19565         libc_extra_cppflags.
19566         * configure.ac (libc_extra_cflags): Make it accumulate over
19567         configure fragments.
19568         (libc_extra_cppflags): New flag.
19569         * configure. Regenerate.
19570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19571         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19572         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19575         [BZ #16815]
19576         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19577         result for FE_DOWNWARD rounding mode.
19578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19579         Likewise.
19580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19582 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19584         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19585         in function argument name.
19587 2014-04-03  David Svoboda  <svoboda@cert.org>
19589         [BZ #5666]
19590         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19591         explicitly.
19593 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19595         * elf/dl-unmap-segments.h: New file.
19596         * sysdeps/generic/ldsodefs.h
19597         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19598         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19599         * elf/dl-fptr.c: Likewise.
19600         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19601         * sysdeps/aarch64/tlsdesc.c: Likewise.
19602         * sysdeps/arm/tlsdesc.c: Likewise.
19603         * sysdeps/i386/tlsdesc.c: Likewise.
19604         * sysdeps/tile/dl-runtime.c: Likewise.
19605         * sysdeps/x86_64/tlsdesc.c: Likewise.
19606         * elf/dl-load.h: New file.
19607         * elf/dl-load.c: Include it.
19608         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19609         Macros moved to dl-load.h.
19610         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19611         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19612         Use _dl_unmap_segments in place of __munmap.
19613         Break out segment-mapping loop into ...
19614         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19616 2014-04-03  Will Newton  <will.newton@linaro.org>
19618         * elf/dl-lookup.c (do_lookup_x): Remove comment
19619         referring to nested function and move variable
19620         declarations down to before first use.
19622 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #16799]
19625         [BZ #16800]
19626         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19627         with 0 numerator.
19628         * math/s_catanf.c (__catanf): Likewise.
19629         * math/s_catanh.c (__catanh): Likewise.
19630         * math/s_catanhf.c (__catanhf): Likewise.
19631         * math/s_catanhl.c (__catanhl): Likewise.
19632         * math/s_catanl.c (__catanl): Likewise.
19633         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19634         by positive zero when computing -Inf result.
19635         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19636         (catanh_test): Likewise.
19637         * sysdeps/i386/fpu/libm-test-ulps: Update.
19638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19640         [BZ #16789]
19641         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19642         instead of using underflowing value in computing result.
19643         * math/s_clog10.c (__clog10): Likewise.
19644         * math/s_clog10f.c (__clog10f): Likewise.
19645         * math/s_clog10l.c (__clog10l): Likewise.
19646         * math/s_clogf.c (__clogf): Likewise.
19647         * math/s_clogl.c (__clogl): Likewise.
19648         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19649         (clog10_test): Likewise.
19650         * sysdeps/i386/fpu/libm-test-ulps: Update.
19651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19653 2014-04-02  Alan Modra  <amodra@gmail.com>
19655         [BZ #16739]
19656         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19657         output when value is near a power of two.  Use int64_t for lx and
19658         remove casts.  Use decimal rather than hex exponent constants.
19659         Don't use long double multiplication when double will suffice.
19660         * math/libm-test.inc (nextafter_test_data): Add tests.
19661         * NEWS: Add 16739 and 16786 to bug list.
19663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19665         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19667 2014-04-01  Will Newton  <will.newton@linaro.org>
19669         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19670         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19672 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19674         [BZ #13347]
19675         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19676         * nptl/tst-setuid2.c: New file.
19677         * nptl/Makefile (xtests): Add tst-setuid2.
19679 2014-04-01  Alan Modra  <amodra@gmail.com>
19681         [BZ #16786]
19682         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19684 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19686         [BZ #6803]
19687         [BZ #6804]
19688         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19689         set errno as appropriate.
19690         * math/w_scalbf.c (__scalbf): Likewise.
19691         * math/w_scalbl.c (__scalbl): Likewise.
19692         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19693         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19694         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19695         Add more NaN tests.
19697         [BZ #16349]
19698         * math/w_atan2.c: Include <errno.h>.
19699         (__atan2): Set errno for result underflowing to zero.
19700         * math/w_atan2f.c: Include <errno.h>.
19701         (__atan2f): Set errno for result underflowing to zero.
19702         * math/w_atan2l.c: Include <errno.h>.
19703         (__atan2l): Set errno for result underflowing to zero.
19704         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19705         tests.
19706         * math/auto-libm-test-out: Regenerated.
19708 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19710         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19711         Encode instruction correctly in little endian.
19712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19713         Likewise.
19714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19715         Likewise.
19716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19717         Likewise.
19718         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19719         Likewise.
19721 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19723         [BZ #9894]
19724         * sysdeps/unix/sysv/linux/kernel-features.h
19725         [__sparc__ && !__arch64__ && !__sparc_v9__]
19726         (__ASSUME_SET_ROBUST_LIST): Do not define.
19727         [__sparc__ && !__arch64__ && !__sparc_v9__]
19728         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19729         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19730         Likewise.
19731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19732         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19733         (__ASSUME_REQUEUE_PI): Likewise.
19734         (__ASSUME_SET_ROBUST_LIST): Likewise.
19735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19736         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19737         Undefine.
19738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19739         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19740         Likewise.
19741         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19742         Likewise.
19743         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19744         Likewise.
19745         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19746         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19747         Undefine.
19748         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19749         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19750         Likewise.
19752         [BZ #16648]
19753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19755         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19757 2014-03-31  Will Newton  <will.newton@linaro.org>
19759         * benchtests/Makefile (bench): Add ffs and ffsll to list
19760         of tests.
19761         * benchtests/ffs-inputs: New file.
19762         * benchtests/ffsll-inputs: Likewise.
19764 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19766         [BZ #16770]
19767         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19768         too large before casting to int.
19769         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19770         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19771         * math/libm-test.inc (scalb_test_data): Add more tests.
19773 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19775         * benchtests/Makefile (DETAILED_OPT): New make option.
19776         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19777         set.
19778         * benchtests/bench-skeleton.c: Include stdbool.h.
19779         (main): Store and print timings per input.
19780         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19781         member to each argument value.
19782         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19783         (_print_arg_data): Initialize per-input timing to 0.
19785         * benchtests/Makefile (timing-type): New binary.
19786         (bench-clean): Also remove bench-timing-type.
19787         (bench): New target for timing-type.
19788         (bench-func): Print output in JSON format.
19789         * benchtests/bench-skeleton.c (main): Print output in JSON
19790         format.
19791         * benchtests/bench-timing-type.c: New file.
19792         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19793         (TIMING_PRINT_STATS): Remove.
19794         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19795         name separately.
19797         * benchtests/bench-modf.c: Remove.
19798         * benchtests/modf-inputs: New inputs file.
19800 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19802         [BZ #16362]
19803         * math/s_clog10.c (M_PI_LOG10E): New macro.
19804         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19805         imaginary parts are 0.
19806         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19807         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19808         imaginary parts are 0.
19809         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19810         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19811         imaginary parts are 0.
19812         * math/libm-test.inc (clog10_test_data): Update expected results
19813         for when real and imaginary parts are 0.
19815 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19817         * elf/dl-load.c: Finish conversion of __builtin_expect into
19818         __glibc_{un}likely.
19820 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19822         [BZ #16348]
19823         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19824         1+x for argument with exponent below -67.
19825         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19826         Likewise.
19827         * math/auto-libm-test-in: Add more tests of exp.
19828         * math/auto-libm-test-out: Regenerated.
19830 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19832         [BZ #16759]
19833         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19834         (nscd_getnetgrent): Use it.
19836         [BZ #16760]
19837         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19838         of stpcpy.
19840 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19842         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19843         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19844         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19845         (lll_robust_unlock): Remove out of line section. Use cfi
19846         intrinsics.
19847         (LLL_STUB_UNWIND_INFO*): Remove.
19848         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19849         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19850         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19851         (lll_robust_unlock): Remove out of line section. Use cfi
19852         intrinsics.
19853         (LLL_STUB_UNWIND_INFO*): Remove.
19855 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19857         [BZ #16758]
19858         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19859         blank values.
19861 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19863         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19865 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19867         [BZ #16198]
19868         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19869         fnstenv.
19870         * math/test-fenv-preserve.c: New file.
19871         * math/Makefile (tests): Add test-fenv-preserve.
19873 2014-03-26  Will Newton <will.newton@linaro.org>
19875         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19877 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19879         * scripts/versionlist.awk: Partition the version sets and emit all
19880         GLIBC_* (sorted) before all others (sorted).
19882 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19884         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19885         GLIBC_2.2.5 version.
19887 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19889         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19890         calls.
19892         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19893         previous change.
19895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19897 2014-03-25  Andreas Schwab  <schwab@suse.de>
19899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19900         label to be used after in6ailist is initialized.
19902 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19905         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19907 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19909         [BZ #16357]
19910         [BZ #16599]
19911         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19912         min_plus_half.
19913         (fp_formats): Update initializers.
19914         (init_fp_formats): Initialize new field.
19915         (output_for_one_input_case): Allow underflow for results up to
19916         min_plus_half.
19917         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19918         * math/auto-libm-test-in: Don't mark some underflows from asin and
19919         atanh as spurious.
19920         * math/auto-libm-test-out: Regenerated.
19921         * sysdeps/i386/fpu/libm-test-ulps: Update.
19922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924 2014-03-25  Andreas Schwab  <schwab@suse.de>
19926         * libio/Makefile (tst-ftell-partial-wide-ENV)
19927         (tst-ftell-active-handler-ENV): Define.
19929 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19931         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19933 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19935         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19937 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19939         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19940         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19941         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19943 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19945         [BZ #16634]
19946         * elf/dl-load.c (open_verify): Add mode parameter.
19947         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19948         (open_path): Change from boolean 'secure' to complete flag 'mode'
19949         (_dl_map_object): Adjust.
19950         * elf/Makefile (tests): Add tst-dlopen-aout.
19951         * elf/tst-dlopen-aout.c: New test.
19953 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19955         [BZ #16714]
19956         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19957         (struct stat): Rename member pad0 to __glibc_reserved0.
19959         [BZ #16712]
19960         * sysdeps/s390/s390-32/bits/wordsize.h
19961         (__WORDSIZE32_SIZE_ULONG): New define.
19962         * sysdeps/s390/s390-64/bits/wordsize.h
19963         (__WORDSIZE32_SIZE_ULONG): Likewise.
19964         * sysdeps/generic/stdint.h (SIZE_MAX):
19965         Define as UL if __WORDSIZE32_SIZE_ULONG.
19967         [BZ #16713]
19968         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19969         (__glibc_reserved0): New variable.
19970         (sa_flags): Change type to int.
19972         * posix/Makefile (before-compile): Use += before-compile instead
19973         of a :=.
19975         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19976         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19978 2014-03-20  Andreas Schwab  <schwab@suse.de>
19980         [BZ #16743]
19981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19982         non-matching result from nscd.
19984 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19986         * scripts/bench.py: Moved to ...
19987         * benchtests/scripts/bench.py: ... here.
19988         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19990 2014-03-24  Andreas Schwab  <schwab@suse.de>
19992         [BZ #16002]
19993         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19994         alloca_account and account alloca use for struct in6ailist.
19996 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19998         [BZ #16284]
19999         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20000         rounding mode to recompute results that overflow to infinity or
20001         underflow to zero.
20002         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20003         bug 16284.
20004         * math/auto-libm-test-out: Regenerated.
20005         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20006         (ccosh_test): Likewise.
20007         (csin_test_data): Use plus_oflow.
20008         (csin_test): Use ALL_RM_TEST.
20009         (csinh_test_data): Use plus_oflow.
20010         (csinh_test): Use ALL_RM_TEST.
20011         * sysdeps/i386/fpu/libm-test-ulps: Update.
20012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20014 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20016         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20017         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20018         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20020         [BZ #16731]
20021         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20022         when x - 1 is zero.
20023         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20024         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20025         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20026         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20027         argument is 1.
20028         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20029         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20030         zero.
20031         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20032         * sysdeps/i386/fpu/libm-test-ulps: Update.
20033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20035 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20037         * scripts/bench.pl: Remove file.
20038         * scripts/bench.py: New benchmark script.
20039         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20040         * benchtests/README: Mention python dependency.
20041         * scripts/pylintrc: New file.
20042         * scripts/pylint: New file.
20044         * bits/mathdef.h: Use #ifdef instead of #if.
20045         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20046         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20047         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20048         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20049         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20050         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20052 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20053             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20055         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20057         and strpbrk-ppc64 objects.
20058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20059         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20060         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20061         multiarch strpbrk for POWER7.
20062         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20063         multiarch strpbrk for PPC64.
20064         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20065         ifunc selector.
20066         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20067         strpbrk for POWER7.
20069 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20071         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20072         (atan_test): Likewise.
20073         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20074         (atanh_test): Use ALL_RM_TEST.
20075         (atan2_test_data): Likewise.
20076         (cabs_test): Likewise.
20077         (cacosh_test): Likewise.
20078         (carg_test): Likewise.
20079         (casin_test): Likewise.
20080         (casinh_test): Likewise.
20081         (cbrt_test): Likewise.
20082         (csqrt_test): Likewise.
20083         (erf_test): Likewise.
20084         (erfc_test): Likewise.
20085         (pow10_test): Likewise.
20086         (exp2_test): Likewise.
20087         (hypot_test): Likewise.
20088         (j0_test): Likewise.
20089         (j1_test): Likewise.
20090         (lgamma_test): Likewise.
20091         (gamma_test): Likewise.
20092         (sincos_test): Likewise.
20093         (tanh_test): Likewise.
20094         (y0_test): Likewise.
20095         (y1_test): Likewise.
20096         * sysdeps/i386/fpu/libm-test-ulps: Update.
20097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20099 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20101         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20103         and strcspn-ppc64 objects.
20104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20105         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20106         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20107         multiarch strcspn for POWER7.
20108         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20109         multiarch strcspn for PPC64.
20110         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20111         ifunc selector.
20112         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20113         strcspn for POWER7.
20115 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20117         * math/gen-libm-test.pl (generate_testfile): Expect only function
20118         name as argument to AUTO_TESTS_* and pass results for all rounding
20119         modes to parse_args.
20120         (parse_auto_input): Separate inputs of automatic tests from
20121         outputs before storing in %auto_tests.
20122         * math/libm-test.inc (acos_test_data): Update call to
20123         AUTO_TESTS_f_f.
20124         (acos_test): Use ALL_RM_TEST.
20125         (acos_tonearest_test_data): Remove.
20126         (acos_test_tonearest): Likewise.
20127         (acos_towardzero_test_data): Likewise.
20128         (acos_test_towardzero): Likewise.
20129         (acos_downward_test_data): Likewise.
20130         (acos_test_downward): Likewise.
20131         (acos_upward_test_data): Likewise.
20132         (acos_test_upward): Likewise.
20133         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20134         (asin_test_data): Likewise.
20135         (asin_test): Use ALL_RM_TEST.
20136         (asin_tonearest_test_data): Remove.
20137         (asin_test_tonearest): Likewise.
20138         (asin_towardzero_test_data): Likewise.
20139         (asin_test_towardzero): Likewise.
20140         (asin_downward_test_data): Likewise.
20141         (asin_test_downward): Likewise.
20142         (asin_upward_test_data): Likewise.
20143         (asin_test_upward): Likewise.
20144         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20145         (atan_test_data): Likewise.
20146         (atanh_test_data): Likewise.
20147         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20148         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20149         (carg_test_data): Likewise.
20150         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20151         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20152         (ccosh_test_data): Likewise.
20153         (cexp_test_data): Likewise.
20154         (clog_test_data): Likewise.
20155         (clog10_test_data): Likewise.
20156         (cos_test_data): Update call to AUTO_TESTS_f_f.
20157         (cos_test): Use ALL_RM_TEST.
20158         (cos_tonearest_test_data): Remove.
20159         (cos_test_tonearest): Likewise.
20160         (cos_towardzero_test_data): Likewise.
20161         (cos_test_towardzero): Likewise.
20162         (cos_downward_test_data): Likewise.
20163         (cos_test_downward): Likewise.
20164         (cos_upward_test_data): Likewise.
20165         (cos_test_upward): Likewise.
20166         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20167         (cosh_test): Use ALL_RM_TEST.
20168         (cosh_tonearest_test_data): Remove.
20169         (cosh_test_tonearest): Likewise.
20170         (cosh_towardzero_test_data): Likewise.
20171         (cosh_test_towardzero): Likewise.
20172         (cosh_downward_test_data): Likewise.
20173         (cosh_test_downward): Likewise.
20174         (cosh_upward_test_data): Likewise.
20175         (cosh_test_upward): Likewise.
20176         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20177         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20178         (ctan_test_data): Likewise.
20179         (ctan_test): Use ALL_RM_TEST.
20180         (ctan_tonearest_test_data): Remove.
20181         (ctan_test_tonearest): Likewise.
20182         (ctan_towardzero_test_data): Likewise.
20183         (ctan_test_towardzero): Likewise.
20184         (ctan_downward_test_data): Likewise.
20185         (ctan_test_downward): Likewise.
20186         (ctan_upward_test_data): Likewise.
20187         (ctan_test_upward): Likewise.
20188         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20189         (ctanh_test): Use ALL_RM_TEST.
20190         (ctanh_tonearest_test_data): Remove.
20191         (ctanh_test_tonearest): Likewise.
20192         (ctanh_towardzero_test_data): Likewise.
20193         (ctanh_test_towardzero): Likewise.
20194         (ctanh_downward_test_data): Likewise.
20195         (ctanh_test_downward): Likewise.
20196         (ctanh_upward_test_data): Likewise.
20197         (ctanh_test_upward): Likewise.
20198         (erf_test_data): Update call to AUTO_TESTS_f_f.
20199         (erfc_test_data): Likewise.
20200         (exp_test_data): Likewise.
20201         (exp_test): Use ALL_RM_TEST.
20202         (exp_tonearest_test_data): Remove.
20203         (exp_test_tonearest): Likewise.
20204         (exp_towardzero_test_data): Likewise.
20205         (exp_test_towardzero): Likewise.
20206         (exp_downward_test_data): Likewise.
20207         (exp_test_downward): Likewise.
20208         (exp_upward_test_data): Likewise.
20209         (exp_test_upward): Likewise.
20210         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20211         (exp10_test): Use ALL_RM_TEST.
20212         (exp10_tonearest_test_data): Remove.
20213         (exp10_test_tonearest): Likewise.
20214         (exp10_towardzero_test_data): Likewise.
20215         (exp10_test_towardzero): Likewise.
20216         (exp10_downward_test_data): Likewise.
20217         (exp10_test_downward): Likewise.
20218         (exp10_upward_test_data): Likewise.
20219         (exp10_test_upward): Likewise.
20220         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20221         (expm1_test_data): Likewise.
20222         (expm1_test): Use ALL_RM_TEST.
20223         (expm1_tonearest_test_data): Remove.
20224         (expm1_test_tonearest): Likewise.
20225         (expm1_towardzero_test_data): Likewise.
20226         (expm1_test_towardzero): Likewise.
20227         (expm1_downward_test_data): Likewise.
20228         (expm1_test_downward): Likewise.
20229         (expm1_upward_test_data): Likewise.
20230         (expm1_test_upward): Likewise.
20231         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20232         (fma_test): Use ALL_RM_TEST.
20233         (fma_towardzero_test_data): Remove.
20234         (fma_test_towardzero): Likewise.
20235         (fma_downward_test_data): Likewise.
20236         (fma_test_downward): Likewise.
20237         (fma_upward_test_data): Likewise.
20238         (fma_test_upward): Likewise.
20239         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20240         (j0_test_data): Update call to AUTO_TESTS_f_f.
20241         (j1_test_data): Likewise.
20242         (jn_test_data): Update call to AUTO_TESTS_if_f.
20243         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20244         (log_test_data): Update call to AUTO_TESTS_f_f.
20245         (log10_test_data): Likewise.
20246         (log1p_test_data): Likewise.
20247         (log2_test_data): Likewise.
20248         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20249         (pow_tonearest_test_data): Likewise.
20250         (sin_test_data): Update call to AUTO_TESTS_f_f.
20251         (sin_test): Use ALL_RM_TEST.
20252         (sin_tonearest_test_data): Remove.
20253         (sin_test_tonearest): Likewise.
20254         (sin_towardzero_test_data): Likewise.
20255         (sin_test_towardzero): Likewise.
20256         (sin_downward_test_data): Likewise.
20257         (sin_test_downward): Likewise.
20258         (sin_upward_test_data): Likewise.
20259         (sin_test_upward): Likewise.
20260         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20261         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20262         (sinh_test): Use ALL_RM_TEST.
20263         (sinh_tonearest_test_data): Remove.
20264         (sinh_test_tonearest): Likewise.
20265         (sinh_towardzero_test_data): Likewise.
20266         (sinh_test_towardzero): Likewise.
20267         (sinh_downward_test_data): Likewise.
20268         (sinh_test_downward): Likewise.
20269         (sinh_upward_test_data): Likewise.
20270         (sinh_test_upward): Likewise.
20271         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20272         (sqrt_test): Use ALL_RM_TEST.
20273         (sqrt_tonearest_test_data): Remove.
20274         (sqrt_test_tonearest): Likewise.
20275         (sqrt_towardzero_test_data): Likewise.
20276         (sqrt_test_towardzero): Likewise.
20277         (sqrt_downward_test_data): Likewise.
20278         (sqrt_test_downward): Likewise.
20279         (sqrt_upward_test_data): Likewise.
20280         (sqrt_test_upward): Likewise.
20281         (tan_test_data): Update call to AUTO_TESTS_f_f.
20282         (tan_test): Use ALL_RM_TEST.
20283         (tan_tonearest_test_data): Remove.
20284         (tan_test_tonearest): Likewise.
20285         (tan_towardzero_test_data): Likewise.
20286         (tan_test_towardzero): Likewise.
20287         (tan_downward_test_data): Likewise.
20288         (tan_test_downward): Likewise.
20289         (tan_upward_test_data): Likewise.
20290         (tan_test_upward): Likewise.
20291         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20292         (tgamma_test_data): Likewise.
20293         (y0_test_data): Likewise.
20294         (y1_test_data): Likewise.
20295         (yn_test_data): Update call to AUTO_TESTS_if_f.
20296         (main): Do not call removed functions.
20298 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20300         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20301         (ldexp_test_data): Remove.
20302         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20303         scalbn_test_data.
20304         (scalb_test): Use ALL_RM_TEST.
20306 2014-03-19  Andreas Schwab  <schwab@suse.de>
20308         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20310 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20312         [BZ #16649]
20313         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20314         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20315         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20317         (__ASSUME_PREADV): Undefine.
20318         (__ASSUME_PWRITEV): Likewise.
20320 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20322         * bits/mman-linux.h: Add comment about non-Linux use.
20323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20324         bits/mman-linux.h resting place.
20326         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20327         * bits/mman-linux.h: ... here.
20329 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20331         * conform/conformtest.pl: Add standard definition when calling C
20332         preprocessor on data files.
20333         (checknamespace): Remove unused variable.
20335 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20337         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20338         minus_oflow, plus_uflow and minus_uflow in expected results.
20339         * math/libm-test.inc (scalbn_test_data): Add more tests of
20340         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20341         minus_uflow.
20342         (scalbn_test): Use ALL_RM_TEST.
20343         (scalbln_test_data): Add more tests of negative arguments.  Use
20344         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20345         (scalbln_test): Use ALL_RM_TEST.
20347 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20349         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20351 2014-03-18  Will Newton  <will.newton@linaro.org>
20353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20354         inaccurate comment.
20356 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20358         * Makerules [!subdir] (check-abi): Exit with error status if a
20359         test failed.
20361 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20363         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20364         for rint.  Include results for all rounding modes.
20365         (nearbyint_test): Use ALL_RM_TEST.
20366         (rint_test_data): Include all tests used for nearbyint.
20368 2014-03-17  Will Newton  <will.newton@linaro.org>
20370         * nptl/sysdeps/pthread/pthread.h: Revert previous
20371         change.
20373         * sysdeps/generic/ldsodefs.h: Revert previous
20374         change.
20376         * libio/genops.c: Revert previous change.
20377         * libio/libioP.h: Likewise.
20378         * stdio-common/vfprintf.c: Likewise.
20380         * sysdeps/generic/math_private.h: Revert previous
20381         change.
20383         * sysdeps/generic/math_private.h: Check whether
20384         HAVE_RM_CTX is defined with #ifdef rather
20385         than #if.
20387         * argp/argp-fmtstream.h: Check whether
20388         __STRICT_ANSI__ is defined with #ifdef rather
20389         than #if.
20390         * argp/argp.h: Likewise.
20392         * libio/genops.c: Check whether
20393         _IO_JUMPS_OFFSET is defined with #ifdef rather
20394         than #if.
20395         * libio/libioP.h: Likewise.
20396         * stdio-common/vfprintf.c: Likewise.
20398         * sysdeps/generic/ldsodefs.h: Check whether
20399         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20400         than #if.
20402         * nptl/sysdeps/pthread/pthread.h: Check
20403         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20404         its value.
20406 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20408         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20409         setting O_APPEND.
20410         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20411         test case.
20413         [BZ #16680]
20414         * libio/fileops.c (_IO_file_open): Seek to end of file but
20415         don't cache the offset.
20416         (get_file_offset): Remove function.
20417         (do_ftell): Use cached offset when available.
20418         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20419         don't cache the offset.
20420         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20421         case.
20422         (do_one_test): Call it.
20423         (do_ftell_test): Fix up expected old offset for a+ mode.
20424         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20425         available.
20427         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20428         up test status with function return status.
20429         (do_write_test): Likewise.
20430         (do_append_test): Likewise.
20432         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20433         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20434         Remove.
20436 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20438         * math/gen-libm-test.pl (parse_args): Handle results specified for
20439         each rounding mode separately.
20440         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20441         tests and results from lrint_tonearest_test_data,
20442         lrint_towardzero_test_data, lrint_downward_test_data and
20443         lrint_upward_test_data.
20444         (lrint_test): Use ALL_RM_TEST.
20445         (lrint_tonearest_test_data): Remove.
20446         (lrint_test_tonearest): Likewise.
20447         (lrint_towardzero_test_data): Likewise.
20448         (lrint_test_towardzero): Likewise.
20449         (lrint_downward_test_data): Likewise.
20450         (lrint_test_downward): Likewise.
20451         (lrint_upward_test_data): Likewise.
20452         (lrint_test_upward): Likewise.
20453         (llrint_test_data): Merge in per-rounding-mode tests and results
20454         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20455         llrint_downward_test_data and llrint_upward_test_data.
20456         (llrint_test): Use ALL_RM_TEST.
20457         (llrint_tonearest_test_data): Remove.
20458         (llrint_test_tonearest): Likewise.
20459         (llrint_towardzero_test_data): Likewise.
20460         (llrint_test_towardzero): Likewise.
20461         (llrint_downward_test_data): Likewise.
20462         (llrint_test_downward): Likewise.
20463         (llrint_upward_test_data): Likewise.
20464         (llrint_test_upward): Likewise.
20465         (rint_test_data): Merge in per-rounding-mode tests and results
20466         from rint_tonearest_test_data, rint_towardzero_test_data,
20467         rint_downward_test_data and rint_upward_test_data.  Add
20468         per-rounding-mode results for tests not in those arrays.
20469         (rint_test): Use ALL_RM_TEST.
20470         (rint_tonearest_test_data): Remove.
20471         (rint_test_tonearest): Likewise.
20472         (rint_towardzero_test_data): Likewise.
20473         (rint_test_towardzero): Likewise.
20474         (rint_downward_test_data): Likewise.
20475         (rint_test_downward): Likewise.
20476         (rint_upward_test_data): Likewise.
20477         (rint_test_upward): Likewise.
20478         (main): Don't call removed functions.
20480 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20482         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20483         "Compiled on ..." crapola.  It is anti-useful.
20485 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20487         * scripts/evaluate-test.sh: Handle fourth argument to determine
20488         whether test run should stop on failure.
20489         * Makeconfig (stop-on-test-failure): New variable.
20490         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20491         $(stop-on-test-failure).
20492         * Makefile (tests): Give a summary of results from testing and
20493         exit with failure status if they include an ERROR or FAIL.
20494         (xtests): Likewise.
20495         * manual/install.texi (Configuring and compiling): Mention
20496         stop-on-test-failure=y.
20497         * INSTALL: Regenerated.
20499 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20501         * scripts/versionlist.awk: New file.
20502         * Makerules [$(build-shared) = yes]
20503         (postclean-generated): Add Versions.def, not Versions.def.v and
20504         Versions.def.v.i.
20505         ($(common-objpfx)Versions.def.v.i): Target removed.
20506         ($(common-objpfx)Versions.def): New target.
20507         ($(common-objpfx)Versions.all): Depend on that rather that
20508         $(common-objpfx)Versions.def.v.
20509         * Versions.def: File removed.
20511         * Makeconfig (+gccwarn): Add -Wundef.
20512         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20513         a dl-sysdep.h breaking its contract.
20514         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20515         * include/stackinfo.h: New file.
20516         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20517         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20518         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20519         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20520         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20521         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20522         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20523         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20524         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20525         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20526         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20527         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20528         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20529         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20530         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20532 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20534         [BZ #16707]
20535         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20536         implementation.
20537         * math/libm-test.inc (round_test_data): Add more tests.
20539         [BZ #16706]
20540         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20541         implementation.
20542         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20544         [BZ #16701]
20545         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20546         implementation.
20547         * math/libm-test.inc (ceil_test_data): Add more tests.
20549         * math/libm-test.inc (trunc_test_data): Add more tests related to
20550         BZ#16414.
20552 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20554         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20555         with #if rather than #ifdef.
20556         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20558 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20560         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20561         first.  Disable AVX-512 GCC support if assembler doesn't support
20562         it.
20563         * sysdeps/x86_64/configure: Regenerated.
20565 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20567         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20568         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20569         (__old_pthread_attr_setstack): Likewise.
20570         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20571         [!_STACK_GROWS_DOWN]: Likewise.
20573 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20575         * config.make.in (have-bash2): Delete.
20576         * configure.ac (libc_cv_have_bash2): Delete.
20577         * configure: Regenerate.
20578         * elf/Makefile (common-ldd-rewrite): Rename to ...
20579         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20580         (sh-ldd-rewrite): Delete.
20581         (bash-ldd-rewrite): Delete.
20582         (have-bash2): Delete checks.
20583         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20584         ldd-rewrite.
20586         * config.make.in (have-ksh): Delete.
20587         (KSH): Delete.
20588         * configure.ac (libc_cv_have_ksh): Delete.
20589         * configure: Regenerate.
20591         * elf/Makefile: Delete $(have-ksh) check.
20592         ($(objpfx)sotruss): Change KSH to BASH.
20593         * elf/sotruss.ksh: Rename to ...
20594         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20595         function style to match POSIX.  Drop ksh vim mode setting.
20597         * manual/time.texi (Specifying the Time Zone with TZ): Change
20598         Tuesday to Thursday.
20600         * debug/tst-longjmp_chk2.c: Update header comment.
20601         (stackoverflow_handler): Add comment.  Call assert on pass value.
20603 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20605         [BZ #16194]
20606         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20607         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20608         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20609         (La_x86_64_vector): Add zmm.
20610         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20611         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20612         ($(objpfx)tst-audit10): New target.
20613         ($(objpfx)tst-audit10.out): Likewise.
20614         (tst-audit10-ENV): New.
20615         (AVX512-CFLAGS): Likewise.
20616         (CFLAGS-tst-audit10.c): Likewise.
20617         (CFLAGS-tst-auditmod10a.c): Likewise.
20618         (CFLAGS-tst-auditmod10b.c): Likewise.
20619         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20620         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20621         * sysdeps/x86_64/configure: Regenerated.
20622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20623         AVX-512 zmm register support.
20624         (_dl_x86_64_save_sse): Likewise.
20625         (_dl_x86_64_restore_sse): Likewise.
20626         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20627         size vector registers.
20628         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20629         (ZMM_SIZE): Likewise.
20630         * sysdeps/x86_64/tst-audit10.c: New file.
20631         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20632         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20634 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20636         * configure.ac (HAVE_EHDR_START): New check.
20637         * configure: Regenerated.
20638         * config.h.in (HAVE_EHDR_START): New #undef.
20639         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20640         assuming the lowest-addressed segment maps the start of the file.
20642 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20644         * INSTALL: Regenerated.
20646 2014-03-13  Will Newton  <will.newton@linaro.org>
20648         * manual/setjmp.texi (System V contexts): Improve
20649         clarity and grammar of documentation.
20651 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20653         [BZ #16381]
20654         * elf/Makefile (tests): Add tst-pie2.
20655         (tests-pie): Add tst-pie2.
20656         * elf/tst-pie2.c: New file.
20657         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20658         for ET_EXEC.
20659         * elf/rtld.c (map_doit): Load executable as lt_executable.
20660         (dl_main): Likewise.
20662 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20664         [BZ #16642]
20665         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20666         (__ASSUME_PSELECT): Undefine.
20668 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20670         [BZ #16689]
20671         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20672         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20673         static build.
20674         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20675         selector for static builds.
20677 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20679         [BZ #16695]
20680         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20681         key in the buffer.
20683 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20685         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20686         IFUNC selector for static builds.
20688 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20690         * sysdeps/mips/math_private.h [__mips_hard_float]
20691         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20692         libc_feresetround_mips_ctx.
20693         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20694         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20695         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20697         [BZ #16677]
20698         * math/s_nextafter.c (__nextafter): Do not return value from
20699         overflowing computation.
20700         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20701         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20702         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20703         Likewise.
20704         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20705         Likewise.
20706         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20707         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20709 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20711         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20712         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20713         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20714         the new mov targetting sp.
20716 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20718         [BZ #16683]
20719         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20720         Define it for static builds as well.
20721         (NO_BZERO_IMPL): Likewise.
20723 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20725         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20726         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20727         multiarch strspn for PPC64.
20728         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20729         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20731         (__libc_ifunc_impl_list): Likewise.
20732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20733         multiarch optimizations
20734         * string/strspn.c (strspn): Using macro to redefine symbol name.
20736 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20737             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20739         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20740         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20741         multiarch strncat for PPC64.
20742         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20743         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20745         (__libc_ifunc_impl_list): Likewise.
20746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20747         multiarch optimizations
20749 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20751         [BZ #16639]
20752         * nscd/nscd.service: Make service type forking.
20754 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20756         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20757         sign in non default rounding modes.
20758         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20760 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20762         * math/libm-test.inc (ALL_RM_TEST): New macro.
20763         (ceil_test): Use ALL_RM_TEST.
20764         (cimag_test): Likewise.
20765         (conj_test): Likewise.
20766         (copysign_test): Likewise.
20767         (cproj_test): Likewise.
20768         (creal_test): Likewise.
20769         (fabs_test): Likewise.
20770         (floor_test): Likewise.
20771         (fmax_test): Likewise.
20772         (fmin_test): Likewise.
20773         (fmod_test): Likewise.
20774         (fpclassify_test): Likewise.
20775         (frexp_test): Likewise.
20776         (ilogb_test): Likewise.
20777         (isfinite_test): Likewise.
20778         (finite_test): Likewise.
20779         (isgreater_test): Likewise.
20780         (isgreaterequal_test): Likewise.
20781         (isinf_test): Likewise.
20782         (isless_test): Likewise.
20783         (islessequal_test): Likewise.
20784         (islessgreater_test): Likewise.
20785         (isnan_test): Likewise.
20786         (isnormal_test): Likewise.
20787         (issignaling_test): Likewise.
20788         (isunordered_test): Likewise.
20789         (logb_test): Likewise.
20790         (logb_downward_test_data): Remove.
20791         (logb_test_downward): Likewise.
20792         (lround_test): Use ALL_RM_TEST.
20793         (llround_test): Likewise.
20794         (modf_test): Likewise.
20795         (nexttoward_test): Likewise.
20796         (remainder_test): Likewise.
20797         (drem_test): Likewise.
20798         (remainder_tonearest_test_data): Likewise.
20799         (remainder_test_tonearest): Likewise.
20800         (drem_test_tonearest): Likewise.
20801         (remainder_towardzero_test_data): Likewise.
20802         (remainder_test_towardzero): Likewise.
20803         (drem_test_towardzero): Likewise.
20804         (remainder_downward_test_data): Likewise.
20805         (remainder_test_downward): Likewise.
20806         (drem_test_downward): Likewise.
20807         (remainder_upward_test_data): Likewise.
20808         (remainder_test_upward): Likewise.
20809         (drem_test_upward): Likewise.
20810         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20811         (round_test): Use ALL_RM_TEST.
20812         (signbit_test): Likewise.
20813         (trunc_test): Likewise.
20814         (significand_test): Likewise.
20815         (main): Don't call removed functions.
20817 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20819         [BZ #16674]
20820         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20821         || __USE_XOPEN2K8].
20822         (ILL_ILLOPN): Likewise.
20823         (ILL_ILLADR): Likewise.
20824         (ILL_ILLTRP): Likewise.
20825         (ILL_PRVOPC): Likewise.
20826         (ILL_PRVREG): Likewise.
20827         (ILL_COPROC): Likewise.
20828         (ILL_BADSTK): Likewise.
20829         (FPE_INTDIV): Likewise.
20830         (FPE_INTOVF): Likewise.
20831         (FPE_FLTDIV): Likewise.
20832         (FPE_FLTOVF): Likewise.
20833         (FPE_FLTUND): Likewise.
20834         (FPE_FLTRES): Likewise.
20835         (FPE_FLTINV): Likewise.
20836         (FPE_FLTSUB): Likewise.
20837         (SEGV_MAPERR): Likewise.
20838         (SEGV_ACCERR): Likewise.
20839         (BUS_ADRALN): Likewise.
20840         (BUS_ADRERR): Likewise.
20841         (BUS_OBJERR): Likewise.
20842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20843         (TRAP_TRACE): Likewise.
20844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20845         __USE_XOPEN2K8].
20846         (CLD_KILLED): Likewise.
20847         (CLD_DUMPED): Likewise.
20848         (CLD_TRAPPED): Likewise.
20849         (CLD_STOPPED): Likewise.
20850         (CLD_CONTINUED): Likewise.
20851         (POLL_IN): Likewise.
20852         (POLL_OUT): Likewise.
20853         (POLL_MSG): Likewise.
20854         (POLL_ERR): Likewise.
20855         (POLL_PRI): Likewise.
20856         (POLL_HUP): Likewise.
20857         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20858         Likewise.
20859         (ILL_ILLOPN): Likewise.
20860         (ILL_ILLADR): Likewise.
20861         (ILL_ILLTRP): Likewise.
20862         (ILL_PRVOPC): Likewise.
20863         (ILL_PRVREG): Likewise.
20864         (ILL_COPROC): Likewise.
20865         (ILL_BADSTK): Likewise.
20866         (FPE_INTDIV): Likewise.
20867         (FPE_INTOVF): Likewise.
20868         (FPE_FLTDIV): Likewise.
20869         (FPE_FLTOVF): Likewise.
20870         (FPE_FLTUND): Likewise.
20871         (FPE_FLTRES): Likewise.
20872         (FPE_FLTINV): Likewise.
20873         (FPE_FLTSUB): Likewise.
20874         (SEGV_MAPERR): Likewise.
20875         (SEGV_ACCERR): Likewise.
20876         (BUS_ADRALN): Likewise.
20877         (BUS_ADRERR): Likewise.
20878         (BUS_OBJERR): Likewise.
20879         (BUS_MCEERR_AR): Likewise.
20880         (BUS_MCEERR_AO): Likewise.
20881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20882         (TRAP_TRACE): Likewise.
20883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20884         __USE_XOPEN2K8].
20885         (CLD_KILLED): Likewise.
20886         (CLD_DUMPED): Likewise.
20887         (CLD_TRAPPED): Likewise.
20888         (CLD_STOPPED): Likewise.
20889         (CLD_CONTINUED): Likewise.
20890         (POLL_IN): Likewise.
20891         (POLL_OUT): Likewise.
20892         (POLL_MSG): Likewise.
20893         (POLL_ERR): Likewise.
20894         (POLL_PRI): Likewise.
20895         (POLL_HUP): Likewise.
20896         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20897         (ILL_ILLOPN): Likewise.
20898         (ILL_ILLADR): Likewise.
20899         (ILL_ILLTRP): Likewise.
20900         (ILL_PRVOPC): Likewise.
20901         (ILL_PRVREG): Likewise.
20902         (ILL_COPROC): Likewise.
20903         (ILL_BADSTK): Likewise.
20904         (FPE_INTDIV): Likewise.
20905         (FPE_INTOVF): Likewise.
20906         (FPE_FLTDIV): Likewise.
20907         (FPE_FLTOVF): Likewise.
20908         (FPE_FLTUND): Likewise.
20909         (FPE_FLTRES): Likewise.
20910         (FPE_FLTINV): Likewise.
20911         (FPE_FLTSUB): Likewise.
20912         (SEGV_MAPERR): Likewise.
20913         (SEGV_ACCERR): Likewise.
20914         (BUS_ADRALN): Likewise.
20915         (BUS_ADRERR): Likewise.
20916         (BUS_OBJERR): Likewise.
20917         (BUS_MCEERR_AR): Likewise.
20918         (BUS_MCEERR_AO): Likewise.
20919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20920         (TRAP_TRACE): Likewise.
20921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20922         __USE_XOPEN2K8].
20923         (CLD_KILLED): Likewise.
20924         (CLD_DUMPED): Likewise.
20925         (CLD_TRAPPED): Likewise.
20926         (CLD_STOPPED): Likewise.
20927         (CLD_CONTINUED): Likewise.
20928         (POLL_IN): Likewise.
20929         (POLL_OUT): Likewise.
20930         (POLL_MSG): Likewise.
20931         (POLL_ERR): Likewise.
20932         (POLL_PRI): Likewise.
20933         (POLL_HUP): Likewise.
20934         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20935         Likewise.
20936         (ILL_ILLOPN): Likewise.
20937         (ILL_ILLADR): Likewise.
20938         (ILL_ILLTRP): Likewise.
20939         (ILL_PRVOPC): Likewise.
20940         (ILL_PRVREG): Likewise.
20941         (ILL_COPROC): Likewise.
20942         (ILL_BADSTK): Likewise.
20943         (ILL_BADIADDR): Likewise.
20944         (ILL_BREAK): Likewise.
20945         (FPE_INTDIV): Likewise.
20946         (FPE_INTOVF): Likewise.
20947         (FPE_FLTDIV): Likewise.
20948         (FPE_FLTOVF): Likewise.
20949         (FPE_FLTUND): Likewise.
20950         (FPE_FLTRES): Likewise.
20951         (FPE_FLTINV): Likewise.
20952         (FPE_FLTSUB): Likewise.
20953         (FPE_DECOVF): Likewise.
20954         (FPE_DECDIV): Likewise.
20955         (FPE_DECERR): Likewise.
20956         (FPE_INVASC): Likewise.
20957         (FPE_INVDEC): Likewise.
20958         (SEGV_MAPERR): Likewise.
20959         (SEGV_ACCERR): Likewise.
20960         (SEGV_PSTKOVF): Likewise.
20961         (BUS_ADRALN): Likewise.
20962         (BUS_ADRERR): Likewise.
20963         (BUS_OBJERR): Likewise.
20964         (BUS_MCEERR_AR): Likewise.
20965         (BUS_MCEERR_AO): Likewise.
20966         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20967         (TRAP_TRACE): Likewise.
20968         (TRAP_BRANCH): Likewise.
20969         (TRAP_HWBKPT): Likewise.
20970         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20971         __USE_XOPEN2K8].
20972         (CLD_KILLED): Likewise.
20973         (CLD_DUMPED): Likewise.
20974         (CLD_TRAPPED): Likewise.
20975         (CLD_STOPPED): Likewise.
20976         (CLD_CONTINUED): Likewise.
20977         (POLL_IN): Likewise.
20978         (POLL_OUT): Likewise.
20979         (POLL_MSG): Likewise.
20980         (POLL_ERR): Likewise.
20981         (POLL_PRI): Likewise.
20982         (POLL_HUP): Likewise.
20983         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20984         (ILL_ILLOPN): Likewise.
20985         (ILL_ILLADR): Likewise.
20986         (ILL_ILLTRP): Likewise.
20987         (ILL_PRVOPC): Likewise.
20988         (ILL_PRVREG): Likewise.
20989         (ILL_COPROC): Likewise.
20990         (ILL_BADSTK): Likewise.
20991         (FPE_INTDIV): Likewise.
20992         (FPE_INTOVF): Likewise.
20993         (FPE_FLTDIV): Likewise.
20994         (FPE_FLTOVF): Likewise.
20995         (FPE_FLTUND): Likewise.
20996         (FPE_FLTRES): Likewise.
20997         (FPE_FLTINV): Likewise.
20998         (FPE_FLTSUB): Likewise.
20999         (SEGV_MAPERR): Likewise.
21000         (SEGV_ACCERR): Likewise.
21001         (BUS_ADRALN): Likewise.
21002         (BUS_ADRERR): Likewise.
21003         (BUS_OBJERR): Likewise.
21004         (BUS_MCEERR_AR): Likewise.
21005         (BUS_MCEERR_AO): Likewise.
21006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21007         (TRAP_TRACE): Likewise.
21008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21009         __USE_XOPEN2K8].
21010         (CLD_KILLED): Likewise.
21011         (CLD_DUMPED): Likewise.
21012         (CLD_TRAPPED): Likewise.
21013         (CLD_STOPPED): Likewise.
21014         (CLD_CONTINUED): Likewise.
21015         (POLL_IN): Likewise.
21016         (POLL_OUT): Likewise.
21017         (POLL_MSG): Likewise.
21018         (POLL_ERR): Likewise.
21019         (POLL_PRI): Likewise.
21020         (POLL_HUP): Likewise.
21021         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21022         (ILL_ILLOPN): Likewise.
21023         (ILL_ILLADR): Likewise.
21024         (ILL_ILLTRP): Likewise.
21025         (ILL_PRVOPC): Likewise.
21026         (ILL_PRVREG): Likewise.
21027         (ILL_COPROC): Likewise.
21028         (ILL_BADSTK): Likewise.
21029         (FPE_INTDIV): Likewise.
21030         (FPE_INTOVF): Likewise.
21031         (FPE_FLTDIV): Likewise.
21032         (FPE_FLTOVF): Likewise.
21033         (FPE_FLTUND): Likewise.
21034         (FPE_FLTRES): Likewise.
21035         (FPE_FLTINV): Likewise.
21036         (FPE_FLTSUB): Likewise.
21037         (SEGV_MAPERR): Likewise.
21038         (SEGV_ACCERR): Likewise.
21039         (BUS_ADRALN): Likewise.
21040         (BUS_ADRERR): Likewise.
21041         (BUS_OBJERR): Likewise.
21042         (BUS_MCEERR_AR): Likewise.
21043         (BUS_MCEERR_AO): Likewise.
21044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21045         (TRAP_TRACE): Likewise.
21046         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21047         __USE_XOPEN2K8].
21048         (CLD_KILLED): Likewise.
21049         (CLD_DUMPED): Likewise.
21050         (CLD_TRAPPED): Likewise.
21051         (CLD_STOPPED): Likewise.
21052         (CLD_CONTINUED): Likewise.
21053         (POLL_IN): Likewise.
21054         (POLL_OUT): Likewise.
21055         (POLL_MSG): Likewise.
21056         (POLL_ERR): Likewise.
21057         (POLL_PRI): Likewise.
21058         (POLL_HUP): Likewise.
21059         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21060         (ILL_ILLOPN): Likewise.
21061         (ILL_ILLADR): Likewise.
21062         (ILL_ILLTRP): Likewise.
21063         (ILL_PRVOPC): Likewise.
21064         (ILL_PRVREG): Likewise.
21065         (ILL_COPROC): Likewise.
21066         (ILL_BADSTK): Likewise.
21067         (FPE_INTDIV): Likewise.
21068         (FPE_INTOVF): Likewise.
21069         (FPE_FLTDIV): Likewise.
21070         (FPE_FLTOVF): Likewise.
21071         (FPE_FLTUND): Likewise.
21072         (FPE_FLTRES): Likewise.
21073         (FPE_FLTINV): Likewise.
21074         (FPE_FLTSUB): Likewise.
21075         (SEGV_MAPERR): Likewise.
21076         (SEGV_ACCERR): Likewise.
21077         (BUS_ADRALN): Likewise.
21078         (BUS_ADRERR): Likewise.
21079         (BUS_OBJERR): Likewise.
21080         (BUS_MCEERR_AR): Likewise.
21081         (BUS_MCEERR_AO): Likewise.
21082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21083         (TRAP_TRACE): Likewise.
21084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21085         __USE_XOPEN2K8].
21086         (CLD_KILLED): Likewise.
21087         (CLD_DUMPED): Likewise.
21088         (CLD_TRAPPED): Likewise.
21089         (CLD_STOPPED): Likewise.
21090         (CLD_CONTINUED): Likewise.
21091         (POLL_IN): Likewise.
21092         (POLL_OUT): Likewise.
21093         (POLL_MSG): Likewise.
21094         (POLL_ERR): Likewise.
21095         (POLL_PRI): Likewise.
21096         (POLL_HUP): Likewise.
21097         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21098         (ILL_ILLOPN): Likewise.
21099         (ILL_ILLADR): Likewise.
21100         (ILL_ILLTRP): Likewise.
21101         (ILL_PRVOPC): Likewise.
21102         (ILL_PRVREG): Likewise.
21103         (ILL_COPROC): Likewise.
21104         (ILL_BADSTK): Likewise.
21105         (ILL_DBLFLT): Likewise.
21106         (ILL_HARDWALL): Likewise.
21107         (FPE_INTDIV): Likewise.
21108         (FPE_INTOVF): Likewise.
21109         (FPE_FLTDIV): Likewise.
21110         (FPE_FLTOVF): Likewise.
21111         (FPE_FLTUND): Likewise.
21112         (FPE_FLTRES): Likewise.
21113         (FPE_FLTINV): Likewise.
21114         (FPE_FLTSUB): Likewise.
21115         (SEGV_MAPERR): Likewise.
21116         (SEGV_ACCERR): Likewise.
21117         (BUS_ADRALN): Likewise.
21118         (BUS_ADRERR): Likewise.
21119         (BUS_OBJERR): Likewise.
21120         (BUS_MCEERR_AR): Likewise.
21121         (BUS_MCEERR_AO): Likewise.
21122         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21123         (TRAP_TRACE): Likewise.
21124         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21125         __USE_XOPEN2K8].
21126         (CLD_KILLED): Likewise.
21127         (CLD_DUMPED): Likewise.
21128         (CLD_TRAPPED): Likewise.
21129         (CLD_STOPPED): Likewise.
21130         (CLD_CONTINUED): Likewise.
21131         (POLL_IN): Likewise.
21132         (POLL_OUT): Likewise.
21133         (POLL_MSG): Likewise.
21134         (POLL_ERR): Likewise.
21135         (POLL_PRI): Likewise.
21136         (POLL_HUP): Likewise.
21137         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21138         (ILL_ILLOPN): Likewise.
21139         (ILL_ILLADR): Likewise.
21140         (ILL_ILLTRP): Likewise.
21141         (ILL_PRVOPC): Likewise.
21142         (ILL_PRVREG): Likewise.
21143         (ILL_COPROC): Likewise.
21144         (ILL_BADSTK): Likewise.
21145         (FPE_INTDIV): Likewise.
21146         (FPE_INTOVF): Likewise.
21147         (FPE_FLTDIV): Likewise.
21148         (FPE_FLTOVF): Likewise.
21149         (FPE_FLTUND): Likewise.
21150         (FPE_FLTRES): Likewise.
21151         (FPE_FLTINV): Likewise.
21152         (FPE_FLTSUB): Likewise.
21153         (SEGV_MAPERR): Likewise.
21154         (SEGV_ACCERR): Likewise.
21155         (BUS_ADRALN): Likewise.
21156         (BUS_ADRERR): Likewise.
21157         (BUS_OBJERR): Likewise.
21158         (BUS_MCEERR_AR): Likewise.
21159         (BUS_MCEERR_AO): Likewise.
21160         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21161         (TRAP_TRACE): Likewise.
21162         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21163         __USE_XOPEN2K8].
21164         (CLD_KILLED): Likewise.
21165         (CLD_DUMPED): Likewise.
21166         (CLD_TRAPPED): Likewise.
21167         (CLD_STOPPED): Likewise.
21168         (CLD_CONTINUED): Likewise.
21169         (POLL_IN): Likewise.
21170         (POLL_OUT): Likewise.
21171         (POLL_MSG): Likewise.
21172         (POLL_ERR): Likewise.
21173         (POLL_PRI): Likewise.
21174         (POLL_HUP): Likewise.
21175         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21176         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21178         [BZ #16670]
21179         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21180         before #include of <time.h>.
21181         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21182         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21183         (test-xfail-UNIX98/sched.h/conform): Likewise.
21185 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21187         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21188         error absence of trapping exception support.
21189         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21191 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21193         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21194         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21195         * timezone/Makefile (testdata): Move definition above include of
21196         Rules.
21197         (test-zones): New variable.
21198         (tests-special): Add zone files.
21199         (build-testdata): Use $(evaluate-test).
21201         * elf/Makefile (tests-special): Rename tests to end with .out.
21202         ($(objpfx)noload-mem): Likewise.
21203         ($(objpfx)tst-leaks1-mem): Likewise.
21204         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21205         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21206         $(objpfx)test-iconvconfig.out.
21207         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21208         set -e inside subshell and redirect output to file.
21209         * iconvdata/Makefile (generated): Rename tests to end with .out.
21210         Correct type.
21211         (tests-special): Rename tests to end with .out.
21212         ($(objpfx)mtrace-tst-loading): Likewise.
21213         * intl/Makefile (generated): Likewise.
21214         (tests-special): Likewise.
21215         ($(objpfx)mtrace-tst-gettext): Likewise.
21216         * misc/Makefile (generated): Likewise.
21217         (tests-special): Likewise.
21218         ($(objpfx)tst-error1-mem): Likewise.
21219         * nptl/Makefile (tests-special): Likewise.
21220         ($(objpfx)tst-stack3-mem): Likewise.
21221         (generated): Likewise.
21222         * posix/Makefile (generated): Likewise.
21223         (tests-special): Likewise.
21224         (xtests-special): Likewise.
21225         ($(objpfx)tst-fnmatch-mem): Likewise.
21226         ($(objpfx)bug-regex2-mem): Likewise.
21227         ($(objpfx)bug-regex14-mem): Likewise.
21228         ($(objpfx)bug-regex21-mem): Likewise.
21229         ($(objpfx)bug-regex31-mem): Likewise.
21230         ($(objpfx)tst-vfork3-mem): Likewise.
21231         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21232         ($(objpfx)tst-pcre-mem): Likewise.
21233         ($(objpfx)tst-boost-mem): Likewise.
21234         ($(objpfx)bug-ga2-mem): Likewise.
21235         ($(objpfx)bug-glob2-mem): Likewise.
21236         * resolv/Makefile (generate): Likewise.
21237         (tests-special): Likewise.
21238         (xtests-special): Likewise.
21239         (generated): Likewise.
21240         ($(objpfx)mtrace-tst-leaks): Likewise.
21241         ($(objpfx)mtrace-tst-leaks2): Likewise.
21243         * scripts/merge-test-results.sh: New file.
21244         * Makefile (tests-special-notdir): New variable.
21245         (tests): Run merge-test-results.sh.
21246         (xtests): Likewise.
21247         * Rules (tests-special-notdir): New variable.
21248         (xtests-special-notdir): Likewise.
21249         (tests): Run merge-test-results.sh
21250         (xtests): Likewise.
21252         * Makeconfig (test-xfail-name): New variable.
21253         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21254         compute variable name for expected failures.
21255         * conform/Makefile (conformtest-headers-data): New variable.
21256         (conformtest-standards): Likewise.
21257         (conformtest-headers-ISO): Likewise.
21258         (conformtest-headers-ISO99): Likewise.
21259         (conformtest-headers-ISO11): Likewise.
21260         (conformtest-headers-POSIX): Likewise.
21261         (conformtest-headers-XPG3): Likewise.
21262         (conformtest-headers-XPG4): Likewise.
21263         (conformtest-headers-UNIX98): Likewise.
21264         (conformtest-headers-XOPEN2K): Likewise.
21265         (conformtest-headers-POSIX2008): Likewise.
21266         (conformtest-headers-XOPEN2K8): Likewise.
21267         (conformtest-header-list-base): Likewise.
21268         (conformtest-header-list-tests): Likewise.
21269         (conformtest-header-base): Likewise.
21270         (conformtest-header-tests): Likewise.
21271         (tests-special): Add $(conformtest-header-list-tests).  If
21272         [$(fast-check) && !$(cross-compiling)], add
21273         $(conformtest-header-tests) instead of
21274         $(objpfx)run-conformtest.out.
21275         (generated): Add $(conformtest-header-list-base).  If
21276         [$(fast-check) && !$(cross-compiling)], add
21277         $(conformtest-header-base).  Remove previous setting.
21278         ($(conformtest-header-list-tests)): New target.
21279         (test-xfail-run-conformtest): Remove variable.
21280         ($(objpfx)run-conformtest.out): Remove target.
21281         (test-xfail-ISO11/complex.h/conform): New variable.
21282         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21283         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21284         (test-xfail-XPG3/varargs.h/conform): Likewise.
21285         (test-xfail-XPG4/varargs.h/conform): Likewise.
21286         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21287         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21288         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21289         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21290         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21291         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21292         (test-xfail-XPG3/ftw.h/conform): Likewise.
21293         (test-xfail-XPG3/grp.h/conform): Likewise.
21294         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21295         (test-xfail-XPG3/limits.h/conform): Likewise.
21296         (test-xfail-XPG3/pwd.h/conform): Likewise.
21297         (test-xfail-XPG3/search.h/conform): Likewise.
21298         (test-xfail-XPG3/signal.h/conform): Likewise.
21299         (test-xfail-XPG3/stdio.h/conform): Likewise.
21300         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21301         (test-xfail-XPG3/string.h/conform): Likewise.
21302         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21303         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21304         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21305         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21306         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21307         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21308         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21309         (test-xfail-XPG3/termios.h/conform): Likewise.
21310         (test-xfail-XPG3/time.h/conform): Likewise.
21311         (test-xfail-XPG3/unistd.h/conform): Likewise.
21312         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21313         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21314         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21315         (test-xfail-XPG4/netdb.h/conform): Likewise.
21316         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21317         (test-xfail-XPG4/signal.h/conform): Likewise.
21318         (test-xfail-XPG4/stdio.h/conform): Likewise.
21319         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21320         (test-xfail-XPG4/stropts.h/conform): Likewise.
21321         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21322         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21323         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21324         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21325         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21326         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21327         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21328         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21329         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21330         (test-xfail-XPG4/termios.h/conform): Likewise.
21331         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21332         (test-xfail-XPG4/unistd.h/conform): Likewise.
21333         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21334         (test-xfail-POSIX/sched.h/conform): Likewise.
21335         (test-xfail-POSIX/signal.h/conform): Likewise.
21336         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21337         (test-xfail-POSIX/tar.h/conform): Likewise.
21338         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21339         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21340         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21341         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21342         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21343         (test-xfail-UNIX98/sched.h/conform): Likewise.
21344         (test-xfail-UNIX98/signal.h/conform): Likewise.
21345         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21346         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21347         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21348         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21349         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21350         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21351         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21352         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21353         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21354         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21355         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21356         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21357         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21358         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21359         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21360         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21361         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21362         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21363         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21364         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21365         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21366         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21367         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21368         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21369         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21370         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21371         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21372         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21373         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21374         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21375         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21376         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21377         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21378         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21379         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21380         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21381         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21382         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21383         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21384         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21385         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21386         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21387         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21388         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21389         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21390         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21391         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21392         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21393         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21394         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21395         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21396         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21397         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21398         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21399         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21400         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21401         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21402         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21403         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21404         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21405         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21406         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21407         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21408         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21409         (conformtest-cc-flags): Likewise.
21410         ($(conformtest-header-tests): New target.
21411         * conform/check-header-lists.sh: New file.
21412         * conform/run-conformtest.sh: Remove.
21414         * conform/conformtest.pl: Allow ' and \ in values given for
21415         constants.
21416         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21417         inclusion.
21418         [POSIX] (sys/types.h): Likewise.
21419         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21420         inclusion.
21421         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21422         inclusion.
21423         * conform/data/signal.h-data (SIGIO): Remove expectation.
21424         [XPG3] (SIGBUS): Do not expect.
21425         [POSIX || XPG3] (SIGPOLL): Likewise.
21426         [POSIX || XPG3] (SIGPROF): Likewise.
21427         [POSIX || XPG3] (SIGSYS): Likewise.
21428         [XPG3] (SIGTRAP): Likewise.
21429         [POSIX || XPG3] (SIGURG): Likewise.
21430         [POSIX || XPG3] (SIGVTALRM): Likewise.
21431         [POSIX || XPG3] (SIGXCPU): Likewise.
21432         [POSIX || XPG3] (SIGXFSZ): Likewise.
21433         [POSIX] (SA_SIGINFO): Expect.
21434         [XPG3] (siginfo_t): Do not expect type or contents.
21435         [POSIX] (si_pid): Do not expect element.
21436         [POSIX] (si_uid): Likewise.
21437         [POSIX] (si_addr): Likewise.
21438         [POSIX] (si_status): Likewise.
21439         [POSIX] (si_band): Likewise.
21440         [XPG4] (si_value): Likewise.
21441         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21442         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21443         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21444         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21445         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21446         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21447         [POSIX || XPG3] (ILL_COPROC): Likewise.
21448         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21449         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21450         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21451         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21452         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21453         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21454         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21455         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21456         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21457         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21458         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21459         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21460         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21461         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21462         [POSIX || XPG3] (CLD_EXITED): Likewise.
21463         [POSIX || XPG3] (CLD_KILLED): Likewise.
21464         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21465         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21466         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21467         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21468         [POSIX || XPG3] (POLL_IN): Likewise.
21469         [POSIX || XPG3] (POLL_OUT): Likewise.
21470         [POSIX || XPG3] (POLL_MSG): Likewise.
21471         [POSIX || XPG3] (POLL_ERR): Likewise.
21472         [POSIX || XPG3] (POLL_PRI): Likewise.
21473         [POSIX || XPG3] (POLL_HUP): Likewise.
21474         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21475         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21476         (SIG*): Do not allow.
21477         [XPG3] (si_*): Likewise.
21478         [XPG3] (SI_*): Likewise.
21479         [XPG3 || XPG4] (sigev_*): Likewise.
21480         [XPG3 || XPG4] (SIGEV_*): Likewise.
21481         [XPG3 || XPG4] (sival_*): Likewise.
21482         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21483         [POSIX || XPG3] (BUS_*): Likewise.
21484         [POSIX || XPG3] (CLD_*): Likewise.
21485         [POSIX || XPG3] (FPE_*): Likewise.
21486         [POSIX || XPG3] (ILL_*): Likewise.
21487         [POSIX || XPG3] (POLL_*): Likewise.
21488         [POSIX || XPG3] (SEGV_*): Likewise.
21489         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21490         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21491         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21492         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21493         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21494         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21495         Specify type and value.
21496         (TVERSLEN): Likewise.
21497         (REGTYPE): Likewise.
21498         (AREGTYPE): Likewise.
21499         (LNKTYPE): Likewise.
21500         (SYMTYPE): Likewise.
21501         (CHRTYPE): Likewise.
21502         (BLKTYPE): Likewise.
21503         (DIRTYPE): Likewise.
21504         (FIFOTYPE): Likewise.
21505         (CONTTYPE): Likewise.
21506         (TSUID): Likewise.
21507         (TSGID): Likewise.
21508         (TSVTX): Likewise.
21509         (TUREAD): Likewise.
21510         (TUWRITE): Likewise.
21511         (TUEXEC): Likewise.
21512         (TGREAD): Likewise.
21513         (TGWRITE): Likewise.
21514         (TGEXEC): Likewise.
21515         (TOREAD): Likewise.
21516         (TOWRITE): Likewise.
21517         (TOEXEC): Likewise.
21518         [POSIX] (TSVTX): Expect constant.
21520 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21522         * Makefile (tests): Change dependencies to ....
21523         (tests-special): ... additions to this variable.
21524         (tests): Depend on $(tests-special).
21525         * Makerules (check-abi-list): New variable.
21526         (check-abi): Depend on $(check-abi-list).
21527         [$(subdir) = elf] (tests-special): Add
21528         $(objpfx)check-abi-libc.out.
21529         [$(build-shared) = yes && subdir] (tests-special): Add
21530         $(check-abi-list).
21531         [$(build-shared) = yes && subdir] (tests): Do not depend on
21532         check-abi.
21533         * Rules (tests): Depend on $(tests-special).
21534         (xtests): Depend on $(xtests-special).
21535         * catgets/Makefile (tests): Change dependencies to ....
21536         (tests-special): ... additions to this variable.
21537         * conform/Makefile (tests): Change dependencies to ....
21538         (tests-special): ... additions to this variable.
21539         * elf/Makefile (tests): Change dependencies to ....
21540         (tests-special): ... additions to this variable.
21541         * grp/Makefile (tests): Change dependencies to ....
21542         (tests-special): ... additions to this variable.
21543         * iconv/Makefile (xtests): Change dependencies to ....
21544         (xtests-special): ... additions to this variable.
21545         * iconvdata/Makefile (tests): Change dependencies to ....
21546         (tests-special): ... additions to this variable.
21547         * intl/Makefile (tests): Change dependencies to ....
21548         (tests-special): ... additions to this variable.  Also add
21549         $(objpfx)tst-gettext.out.
21550         * io/Makefile (tests): Change dependencies to ....
21551         (tests-special): ... additions to this variable.
21552         * libio/Makefile (tests): Change dependencies to ....
21553         (tests-special): ... additions to this variable.
21554         * malloc/Makefile (tests): Change dependencies to ....
21555         (tests-special): ... additions to this variable.
21556         * misc/Makefile (tests): Change dependencies to ....
21557         (tests-special): ... additions to this variable.
21558         * nptl/Makefile (tests): Change dependencies to ....
21559         (tests-special): ... additions to this variable.
21560         * nptl_db/Makefile (tests): Change dependencies to ....
21561         (tests-special): ... additions to this variable.
21562         * posix/Makefile (tests): Change dependencies to ....
21563         (tests-special): ... additions to this variable.
21564         (xtests): Change dependencies to ....
21565         (xtests-special): ... additions to this variable.
21566         * resolv/Makefile (tests): Change dependencies to ....
21567         (tests-special): ... additions to this variable.
21568         (xtests): Change dependencies to ....
21569         (xtests-special): ... additions to this variable.
21570         * stdio-common/Makefile (tests): Change dependencies to ....
21571         (tests-special): ... additions to this variable.
21572         (do-tst-unbputc): Remove target.
21573         (do-tst-printf): Likewise.
21574         * stdlib/Makefile (tests): Change dependencies to ....
21575         (tests-special): ... additions to this variable.
21576         * string/Makefile (tests): Change dependencies to ....
21577         (tests-special): ... additions to this variable.
21578         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21579         (tests-special): ... additions to this variable.
21581         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21582         whole file.
21583         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21584         whole file.
21585         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21586         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21588         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21589         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21590         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21591         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21592         * conform/data/libgen.h-data [XPG3]: Likewise.
21593         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21594         * conform/data/ndbm.h-data [XPG3]: Likewise.
21595         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21596         * conform/data/netdb.h-data [XPG3]: Likewise.
21597         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21598         * conform/data/poll.h-data [XPG3]: Likewise.
21599         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21600         * conform/data/strings.h-data [XPG3]: Likewise.
21601         * conform/data/stropts.h-data [XPG3]: Likewise.
21602         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21603         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21604         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21605         Likewise.
21606         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21607         * conform/data/sys/time.h-data [XPG3]: Likewise.
21608         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21609         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21610         * conform/data/sys/un.h-data [XPG3]: Likewise.
21611         * conform/data/syslog.h-data [XPG3]: Likewise.
21612         * conform/data/ucontext.h-data [XPG3]: Likewise.
21613         * conform/data/utmpx.h-data [XPG3]: Likewise.
21614         * conform/data/varargs.h-data [UNIX98]: Enable file.
21616         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21618         * math/libm-test.inc (struct test_f_f_data): Move expected results
21619         into structure for each rounding mode.
21620         (struct test_ff_f_data): Likewise.
21621         (struct test_ff_f_data_nexttoward): Likewise.
21622         (struct test_fi_f_data): Likewise.
21623         (struct test_fl_f_data): Likewise.
21624         (struct test_if_f_data): Likewise.
21625         (struct test_fff_f_data): Likewise.
21626         (struct test_c_f_data): Likewise.
21627         (struct test_f_f1_data): Likewise.
21628         (struct test_fF_f1_data): Likewise.
21629         (struct test_ffI_f1_data): Likewise.
21630         (struct test_c_c_data): Likewise.
21631         (struct test_cc_c_data): Likewise.
21632         (struct test_f_i_data): Likewise.
21633         (struct test_ff_i_data): Likewise.
21634         (struct test_f_l_data): Likewise.
21635         (struct test_f_L_data): Likewise.
21636         (struct test_fFF_11_data): Likewise.
21637         (RM_): New macro.
21638         (RM_FE_DOWNWARD): Likewise.
21639         (RM_FE_TONEAREST): Likewise.
21640         (RM_FE_TOWARDZERO): Likewise.
21641         (RM_FE_UPWARD): Likewise.
21642         (RUN_TEST_LOOP_f_f): Update references to expected results.
21643         (RUN_TEST_LOOP_2_f): Likewise.
21644         (RUN_TEST_LOOP_fff_f): Likewise.
21645         (RUN_TEST_LOOP_c_f): Likewise.
21646         (RUN_TEST_LOOP_f_f1): Likewise.
21647         (RUN_TEST_LOOP_fF_f1): Likewise.
21648         (RUN_TEST_LOOP_fI_f1): Likewise.
21649         (RUN_TEST_LOOP_ffI_f1): Likewise.
21650         (RUN_TEST_LOOP_c_c): Likewise.
21651         (RUN_TEST_LOOP_cc_c): Likewise.
21652         (RUN_TEST_LOOP_f_i): Likewise.
21653         (RUN_TEST_LOOP_f_i_tg): Likewise.
21654         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21655         (RUN_TEST_LOOP_f_b): Likewise.
21656         (RUN_TEST_LOOP_f_b_tg): Likewise.
21657         (RUN_TEST_LOOP_f_l): Likewise.
21658         (RUN_TEST_LOOP_f_L): Likewise.
21659         (RUN_TEST_LOOP_fFF_11): Likewise.
21660         * math/gen-libm-test.pl (parse_args): Output four copies of
21661         expected results for each test.
21663         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21664         (__ASSUME_UTIMES): Remove.
21665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21666         (__ASSUME_UTIMES): Likewise.
21668         * math/gen-auto-libm-tests.c: Update comment on output format.
21669         (output_for_one_input_case): Generate before-rounding and
21670         after-rounding information as conditions on output flags not
21671         floating-point format.
21672         * math/auto-libm-test-out: Regenerated.
21673         * math/gen-libm-test.pl (cond_value): New function.
21674         (or_cond_value): Use cond_value.
21675         (generate_testfile): Handle conditional exceptions.
21677 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21679         * math/libm-test.inc (max_valid_error): New variable.
21680         (init_max_error): Take new argument specifying whether function
21681         results are exactly determined.  Set max_valid_error and bound
21682         other variables for errors based on this argument.
21683         (set_max_error): Do not record results above max_valid_error.
21684         (check_float_internal): Only accept errors of up to 0.5ulps if
21685         also at most max_valid_error.
21686         (START): Take new argument EXACT and pass it to init_max_error.
21687         (acos_test): Update call to START.
21688         (acos_test_tonearest): Likewise.
21689         (acos_test_towardzero): Likewise.
21690         (acos_test_downward): Likewise.
21691         (acos_test_upward): Likewise.
21692         (acosh_test): Likewise.
21693         (asin_test): Likewise.
21694         (asin_test_tonearest): Likewise.
21695         (asin_test_towardzero): Likewise.
21696         (asin_test_downward): Likewise.
21697         (asin_test_upward): Likewise.
21698         (asinh_test): Likewise.
21699         (atan_test): Likewise.
21700         (atanh_test): Likewise.
21701         (atan2_test): Likewise.
21702         (cabs_test): Likewise.
21703         (cacos_test): Likewise.
21704         (cacosh_test): Likewise.
21705         (carg_test): Likewise.
21706         (casin_test): Likewise.
21707         (casinh_test): Likewise.
21708         (catan_test): Likewise.
21709         (catanh_test): Likewise.
21710         (cbrt_test): Likewise.
21711         (ccos_test): Likewise.
21712         (ccosh_test): Likewise.
21713         (ceil_test): Likewise.
21714         (cexp_test): Likewise.
21715         (cimag_test): Likewise.
21716         (clog_test): Likewise.
21717         (clog10_test): Likewise.
21718         (conj_test): Likewise.
21719         (copysign_test): Likewise.
21720         (cos_test): Likewise.
21721         (cos_test_tonearest): Likewise.
21722         (cos_test_towardzero): Likewise.
21723         (cos_test_downward): Likewise.
21724         (cos_test_upward): Likewise.
21725         (cosh_test): Likewise.
21726         (cosh_test_tonearest): Likewise.
21727         (cosh_test_towardzero): Likewise.
21728         (cosh_test_downward): Likewise.
21729         (cosh_test_upward): Likewise.
21730         (cpow_test): Likewise.
21731         (cproj_test): Likewise.
21732         (creal_test): Likewise.
21733         (csin_test): Likewise.
21734         (csinh_test): Likewise.
21735         (csqrt_test): Likewise.
21736         (ctan_test): Likewise.
21737         (ctan_test_tonearest): Likewise.
21738         (ctan_test_towardzero): Likewise.
21739         (ctan_test_downward): Likewise.
21740         (ctan_test_upward): Likewise.
21741         (ctanh_test): Likewise.
21742         (ctanh_test_tonearest): Likewise.
21743         (ctanh_test_towardzero): Likewise.
21744         (ctanh_test_downward): Likewise.
21745         (ctanh_test_upward): Likewise.
21746         (erf_test): Likewise.
21747         (erfc_test): Likewise.
21748         (exp_test): Likewise.
21749         (exp_test_tonearest): Likewise.
21750         (exp_test_towardzero): Likewise.
21751         (exp_test_downward): Likewise.
21752         (exp_test_upward): Likewise.
21753         (exp10_test): Likewise.
21754         (exp10_test_tonearest): Likewise.
21755         (exp10_test_towardzero): Likewise.
21756         (exp10_test_downward): Likewise.
21757         (exp10_test_upward): Likewise.
21758         (pow10_test): Likewise.
21759         (exp2_test): Likewise.
21760         (expm1_test): Likewise.
21761         (expm1_test_tonearest): Likewise.
21762         (expm1_test_towardzero): Likewise.
21763         (expm1_test_downward): Likewise.
21764         (expm1_test_upward): Likewise.
21765         (fabs_test): Likewise.
21766         (fdim_test): Likewise.
21767         (floor_test): Likewise.
21768         (fma_test): Likewise.
21769         (fma_test_towardzero): Likewise.
21770         (fma_test_downward): Likewise.
21771         (fma_test_upward): Likewise.
21772         (fmax_test): Likewise.
21773         (fmin_test): Likewise.
21774         (fmod_test): Likewise.
21775         (fpclassify_test): Likewise.
21776         (frexp_test): Likewise.
21777         (hypot_test): Likewise.
21778         (ilogb_test): Likewise.
21779         (isfinite_test): Likewise.
21780         (finite_test): Likewise.
21781         (isgreater_test): Likewise.
21782         (isgreaterequal_test): Likewise.
21783         (isinf_test): Likewise.
21784         (isless_test): Likewise.
21785         (islessequal_test): Likewise.
21786         (islessgreater_test): Likewise.
21787         (isnan_test): Likewise.
21788         (isnormal_test): Likewise.
21789         (issignaling_test): Likewise.
21790         (isunordered_test): Likewise.
21791         (j0_test): Likewise.
21792         (j1_test): Likewise.
21793         (jn_test): Likewise.
21794         (ldexp_test): Likewise.
21795         (lgamma_test): Likewise.
21796         (gamma_test): Likewise.
21797         (lrint_test): Likewise.
21798         (lrint_test_tonearest): Likewise.
21799         (lrint_test_towardzero): Likewise.
21800         (lrint_test_downward): Likewise.
21801         (lrint_test_upward): Likewise.
21802         (llrint_test): Likewise.
21803         (llrint_test_tonearest): Likewise.
21804         (llrint_test_towardzero): Likewise.
21805         (llrint_test_downward): Likewise.
21806         (llrint_test_upward): Likewise.
21807         (log_test): Likewise.
21808         (log10_test): Likewise.
21809         (log1p_test): Likewise.
21810         (log2_test): Likewise.
21811         (logb_test): Likewise.
21812         (logb_test_downward): Likewise.
21813         (lround_test): Likewise.
21814         (llround_test): Likewise.
21815         (modf_test): Likewise.
21816         (nearbyint_test): Likewise.
21817         (nextafter_test): Likewise.
21818         (nexttoward_test): Likewise.
21819         (pow_test): Likewise.
21820         (pow_test_tonearest): Likewise.
21821         (pow_test_towardzero): Likewise.
21822         (pow_test_downward): Likewise.
21823         (pow_test_upward): Likewise.
21824         (remainder_test): Likewise.
21825         (drem_test): Likewise.
21826         (remainder_test_tonearest): Likewise.
21827         (drem_test_tonearest): Likewise.
21828         (remainder_test_towardzero): Likewise.
21829         (drem_test_towardzero): Likewise.
21830         (remainder_test_downward): Likewise.
21831         (drem_test_downward): Likewise.
21832         (remainder_test_upward): Likewise.
21833         (drem_test_upward): Likewise.
21834         (remquo_test): Likewise.
21835         (rint_test): Likewise.
21836         (rint_test_tonearest): Likewise.
21837         (rint_test_towardzero): Likewise.
21838         (rint_test_downward): Likewise.
21839         (rint_test_upward): Likewise.
21840         (round_test): Likewise.
21841         (scalb_test): Likewise.
21842         (scalbn_test): Likewise.
21843         (scalbln_test): Likewise.
21844         (signbit_test): Likewise.
21845         (sin_test): Likewise.
21846         (sin_test_tonearest): Likewise.
21847         (sin_test_towardzero): Likewise.
21848         (sin_test_downward): Likewise.
21849         (sin_test_upward): Likewise.
21850         (sincos_test): Likewise.
21851         (sinh_test): Likewise.
21852         (sinh_test_tonearest): Likewise.
21853         (sinh_test_towardzero): Likewise.
21854         (sinh_test_downward): Likewise.
21855         (sinh_test_upward): Likewise.
21856         (sqrt_test): Likewise.
21857         (sqrt_test_tonearest): Likewise.
21858         (sqrt_test_towardzero): Likewise.
21859         (sqrt_test_downward): Likewise.
21860         (sqrt_test_upward): Likewise.
21861         (tan_test): Likewise.
21862         (tan_test_tonearest): Likewise.
21863         (tan_test_towardzero): Likewise.
21864         (tan_test_downward): Likewise.
21865         (tan_test_upward): Likewise.
21866         (tanh_test): Likewise.
21867         (tgamma_test): Likewise.
21868         (trunc_test): Likewise.
21869         (y0_test): Likewise.
21870         (y1_test): Likewise.
21871         (yn_test): Likewise.
21872         (significand_test): Likewise.
21874         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21875         individual tests in comment.
21876         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21877         (prev_max_error): New variable.
21878         (prev_real_max_error): Likewise.
21879         (prev_imag_max_error): Likewise.
21880         (compare_ulp_data): Don't refer to test names in comment.
21881         (find_test_ulps): Remove function.
21882         (find_function_ulps): Likewise.
21883         (find_complex_function_ulps): Likewise.
21884         (init_max_error): Take function name as argument.  Look up ulps
21885         for that function.
21886         (print_ulps): Remove function.
21887         (print_max_error): Use prev_max_error instead of calling
21888         find_function_ulps.
21889         (print_complex_max_error): Use prev_real_max_error and
21890         prev_imag_max_error instead of calling find_complex_function_ulps.
21891         (check_float_internal): Take max_ulp parameter instead of calling
21892         find_test_ulps.  Don't call print_ulps.
21893         (check_float): Update call to check_float_internal.
21894         (check_complex): Update calls to check_float_internal.
21895         (START): Pass argument to init_max_error.
21896         * math/gen-libm-test.pl (%results): Don't include "kind"
21897         information.
21898         (parse_ulps): Don't handle ulps of individual tests.
21899         (print_ulps_file): Likewise.
21900         (output_ulps): Likewise.
21901         * math/README.libm-test: Update.
21902         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21903         individual tests.
21904         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21905         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21906         * sysdeps/arm/libm-test-ulps: Likewise.
21907         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21908         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21909         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21910         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21911         * sysdeps/microblaze/libm-test-ulps: Likewise.
21912         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21913         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21915         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21916         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21917         * sysdeps/sh/libm-test-ulps: Likewise.
21918         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21919         * sysdeps/tile/libm-test-ulps: Likewise.
21920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21922 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21924         * math/libm-test.inc (print_complex_max_error): Check separately
21925         whether real and imaginary errors are within allowed range and
21926         pass 0 to print_complex_function_ulps instead of value within
21927         allowed range.
21929 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21931         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21932         formatting.
21933         (get_handles_fopen): Likewise.
21934         (do_write_test): Likewise.
21936         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21938         * libio/fileops.c (do_ftell): Use cached offset when
21939         available.
21940         * libio/iofwide.c (do_ftell_wide): Likewise.
21941         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21942         _IO_file_attach.
21943         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21945         [BZ #16532]
21946         * libio/libioP.h (get_file_offset): New function.
21947         * libio/fileops.c (get_file_offset): Likewise.
21948         (do_ftell): Likewise.
21949         (_IO_new_file_seekoff): Split out ftell logic.
21950         * libio/wfileops.c (do_ftell_wide): Likewise.
21951         (_IO_wfile_seekoff): Split out ftell logic.
21952         * libio/tst-ftell-active-handler.c: New test case.
21953         * libio/Makefile (tests): Add it.
21955 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21957         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21958         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21960 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962         [BZ #16639]
21963         * nscd/connections.c (nscd_init): Call do_exit.
21964         (start_threads): Call do_exit and notify_parent.
21965         (begin_drop_privileges): Call do_exit.
21966         (finish_drop_privileges): Likewise.
21967         * nscd/selinux.c (preserve_capabilities): Likewise.
21968         (install_real_capabilities): Likewise.
21969         (nscd_selinux_enabled): Likewise.
21970         (avc_create_thread): Likewise.
21971         (avc_alloc_lock): Likewise.
21972         (nscd_avc_init): Likewise.
21973         * nscd/nscd.c (parent_fd): New static variable.
21974         (main): Create a pipe between parent and child processes.
21975         Skip closing parent_fd.
21976         (monitor_child): New function.
21977         (do_exit): Likewise.
21978         (notify_parent): Likewise.
21979         * nscd/nscd.h (notify_parent): Likewise.
21980         (do_exit): Likewise.
21982 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21984         * malloc/malloc.c (__libc_calloc): Revert last change.
21986 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21990 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21992         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21994         implementation.
21995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21996         (__libc_ifunc_impl_list): Likewise.
21997         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21998         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21999         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22000         * string/strrchr.c: Define STRRCHR.
22002 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22004         * benchtest/bench-strtok.c (simple_strtok): Delete.
22005         (strtok_string): Use as benchmark.
22006         * string/strtok (STRTOK): New macro.
22008 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22010         * manual/threads.texi: Add header and standard comments to all
22011         functions.
22013         * elf/dl-lookup.c (check_match): New function.
22014         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22015         (do_lookup_x): Remove nested function check_match. Use non-nested
22016         function check_match.
22018 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22020         * csu/Makefile (generated, before-compile): Use += rather than =.
22021         * catgets/Makefile (generated, generated-dirs): Likewise.
22022         * debug/Makefile (generated): Likewise.
22023         * dlfcn/Makefile (generated): Likewise.
22024         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22025         * iconvdata/Makefile (before-compile, generated): Likewise.
22026         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22027         * libio/Makefile (generated): Likewise.
22028         * malloc/Makefile (generated): Likewise.
22029         * manual/Makefile (generated, generated-dirs): Likewise.
22030         * misc/Makefile (generated): Likewise.
22031         * posix/Makefile (generated): Likewise.
22032         * resolv/Makefile (generated): Likewise.
22033         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22034         * timezone/Makefile (generated, generated-dirs): Likewise.
22036         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22038 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22041         power8 implementation.
22042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22043         file: POWER8 llround ifunc implementation.
22044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22045         (__lllround): Add POWER8 implementation.
22046         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22047         POWER8 llround implementation.
22049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22050         power8 implementation.
22051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22052         file: POWER8 llrint ifunc implementation.
22053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22054         Add POWER8 implementation.
22055         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22056         POWER8 llrint implementation.
22058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22059         power8 implementation.
22060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22061         file: POWER8 finite ifunc implementation.
22062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22063         Add POWER8 implementation.
22064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22065         Likewise.
22066         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22067         POWER8 finite implementation.
22068         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22071         power8 implementation.
22072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22073         file: POWER8 isinf ifunc implementation.
22074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22075         POWER8 implementation.
22076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22077         Likewise.
22078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22079         isinf implementation.
22080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22082         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22083         (INIT_ARCH): Add hwcap2 initialization.
22084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22085         power8 implementation.
22086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22087         file: POWER8 isnan ifunc implementation.
22088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22089         POWER8 implementation.
22090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22091         Likewise.
22092         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22093         isnan implementation.
22094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22096 2014-02-27  Joey Ye  <joey.ye@arm.com>
22098         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22099         (_FP_NANFRAC_Q): Set to zero.
22101 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22103         [BZ #16623]
22104         * math/auto-libm-test-in: New test inputs.
22105         * math/auto-libm-test-out: Regenerate.
22106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22107         and DA.
22108         (__cos): Likewise.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22111 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22113         * scripts/evaluate-test.sh: Take new argument indicating whether
22114         failure is expected.
22115         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22116         indicating whether failure is expected.
22117         * conform/Makefile (test-xfail-run-conformtest): New variable.
22118         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22119         level.
22120         * posix/Makefile (test-xfail-annexc): New variable.
22121         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22123 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22125         * argp/Makefile: Include Makeconfig immediately after defining
22126         subdir.
22127         * assert/Makefile: Likewise.
22128         * benchtests/Makefile: Likewise.
22129         * catgets/Makefile: Likewise.
22130         * conform/Makefile: Likewise.
22131         * crypt/Makefile: Likewise.
22132         * csu/Makefile: Likewise.
22133         (all): Remove target.
22134         * ctype/Makefile: Include Makeconfig immediately after defining
22135         subdir.
22136         * debug/Makefile: Likewise.
22137         * dirent/Makefile: Likewise.
22138         * dlfcn/Makefile: Likewise.
22139         * gmon/Makefile: Likewise.
22140         * gnulib/Makefile: Likewise.
22141         * grp/Makefile: Likewise.
22142         * gshadow/Makefile: Likewise.
22143         * hesiod/Makefile: Likewise.
22144         * hurd/Makefile: Likewise.
22145         (all): Remove target.
22146         * iconvdata/Makefile: Include Makeconfig immediately after
22147         defining subdir.
22148         * inet/Makefile: Likewise.
22149         * intl/Makefile: Likewise.
22150         * io/Makefile: Likewise.
22151         * libio/Makefile: Likewise.
22152         (all): Remove target.
22153         * locale/Makefile: Include Makeconfig immediately after defining
22154         subdir.
22155         * login/Makefile: Likewise.
22156         * mach/Makefile: Likewise.
22157         (all): Remove target.
22158         * malloc/Makefile: Include Makeconfig immediately after defining
22159         subdir.
22160         (all): Remove target.
22161         * manual/Makefile: Include Makeconfig immediately after defining
22162         subdir.
22163         * math/Makefile: Likewise.
22164         * misc/Makefile: Likewise.
22165         * nis/Makefile: Likewise.
22166         * nss/Makefile: Likewise.
22167         * po/Makefile: Likewise.
22168         (all): Remove target.
22169         * posix/Makefile: Include Makeconfig immediately after defining
22170         subdir.
22171         * pwd/Makefile: Likewise.
22172         * resolv/Makefile: Likewise.
22173         * resource/Makefile: Likewise.
22174         * rt/Makefile: Likewise.
22175         * setjmp/Makefile: Likewise.
22176         * shadow/Makefile: Likewise.
22177         * signal/Makefile: Likewise.
22178         * socket/Makefile: Likewise.
22179         * soft-fp/Makefile: Likewise.
22180         * stdio-common/Makefile: Likewise.
22181         * stdlib/Makefile: Likewise.
22182         * streams/Makefile: Likewise.
22183         * string/Makefile: Likewise.
22184         * sunrpc/Makefile: Likewise.
22185         (all): Remove target.
22186         * sysvipc/Makefile: Include Makeconfig immediately after defining
22187         subdir.
22188         * termios/Makefile: Likewise.
22189         * time/Makefile: Likewise.
22190         * timezone/Makefile: Likewise.
22191         (all): Remove target.
22192         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22193         subdir.
22194         * wctype/Makefile: Likewise.
22196 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22198         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22199         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22200         (libc_feholdexcept_setround_mips): Ditto.
22201         (libc_feholdsetround): New.
22202         (libc_feholdsetroundf): New.
22203         (libc_feholdsetroundl): New.
22204         (libc_feupdateenv_test_mips): New.
22205         (libc_feupdateenv_test): New.
22206         (libc_feupdateenv_testf): New.
22207         (libc_feupdateenv_testl): New.
22208         (libc_feresetround): New.
22209         (libc_feresetroundf): New.
22210         (libc_feresetroundl): New.
22211         (libc_fetestexcept_mips): New.
22212         (libc_fetestexcept): New.
22213         (libc_fetestexceptf): New.
22214         (libc_fetestexceptl): New.
22215         (HAVE_RM_CTX): New.
22216         (libc_feholdexcept_setround_mips_ctx): New.
22217         (libc_feholdexcept_setround_ctx): New.
22218         (libc_feholdexcept_setroundf_ctx): New.
22219         (libc_feholdexcept_setroundl_ctx): New.
22220         (libc_fesetenv_mips_ctx): New.
22221         (libc_fesetenv_ctx): New.
22222         (libc_fesetenv_ctxf): New.
22223         (libc_fesetenv_ctxl): New.
22224         (libc_feupdateenv_mips_ctx): New.
22225         (libc_feupdateenv_ctx): New.
22226         (libc_feupdateenvf_ctx): New.
22227         (libc_feupdateenvl_ctx): New.
22228         (libc_feholdsetround_mips_ctx): New.
22229         (libc_feholdsetround_ctx): New.
22230         (libc_feholdsetroundf_ctx): New.
22231         (libc_feholdsetroundl_ctx): New.
22232         (libc_feresetround_mips_ctx): New.
22233         (libc_feresetround_ctx): New.
22234         (libc_feresetroundf_ctx): New.
22235         (libc_feresetroundl_ctx): New.
22237 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22239         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22241         * manual/ipc.texi: New file.
22242         * manual/Makefile (chapters): Add ipc.
22243         * manual/job.texi: Add "Inter-Process Communication" to next.
22244         * manual/process.texi: Add "Inter-Process Communication" to prev.
22246 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22250 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22252         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22254         * manual/arith.texi: Fix spaces after sentences.
22255         * manual/charset.texi: Likewise.
22256         * manual/errno.texi: Likewise.
22257         * manual/install.texi: Likewise.
22258         * manual/llio.texi: Likewise.
22259         * manual/locale.texi: Likewise.
22260         * manual/maint.texi: Likewise.
22261         * manual/math.texi: Likewise.
22262         * manual/memory.texi: Likewise.
22263         * manual/message.texi: Likewise.
22264         * manual/probes.texi: Likewise.
22265         * manual/resource.texi: Likewise.
22266         * manual/signal.texi: Likewise.
22267         * manual/socket.texi: Likewise.
22268         * manual/stdio.texi: Likewise.
22269         * manual/string.texi: Likewise.
22270         * manual/time.texi: Likewise.
22271         * manual/users.texi: Likewise.
22273 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22275         [BZ #16632]
22276         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22277         _DEFAULT_SOURCE is defined.
22279 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22280             Carlos O'Donell  <carlos@redhat.com>
22282         [BZ #16613]
22283         * elf/dl-tls.c (_dl_count_modids): New function.
22284         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22285         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22286         audit library and increment generation counter.
22287         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22288         * elf/tst-audit9.c: New file.
22289         * elf/tst-auditmod9a.c: New file.
22290         * elf/tst-auditmod9b.c: New file.
22291         * elf/Makefile: Add rules to build and run tst-audit9.
22293 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22295         [BZ #15347]
22296         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22298 2014-02-25  Will Newton  <will.newton@linaro.org>
22300         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22301         (__longjmp): Restore sp and lr before restoring callee
22302         saved registers.  Add longjmp and longjmp_target
22303         SystemTap probe point.
22304         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22305         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22306         Define to zero to match jmpbuf layout.
22307         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22308         (__sigsetjmp): Save sp and lr before saving callee
22309         saved registers.  Add setjmp SystemTap probe point.
22311 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22313         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22315 2014-02-24  Andreas Schwab  <schwab@suse.de>
22317         [BZ #15804]
22318         * elf/pldd.c (wait_for_ptrace_stop): New function.
22319         (main): Call it after attaching.
22321 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22323         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22324         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22325         Versions files is now verboten.
22326         * hurd/Versions (libc: GLIBC_2.0):
22327         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22328         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22329         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22330         * mach/Versions: Likewise.
22332         * csu/Versions: Remove unused %include.
22333         * resolv/Versions: Likewise.
22335 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22337         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22338         ($(objpfx)check-local-headers.out): Likewise.
22339         ($(objpfx)begin-end-check.out): Likewise.
22340         * Makerules (check-abi-%.out): Likewise.
22341         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22342         ($(objpfx)test2.cat): Likewise.
22343         ($(objpfx)de/libc.cat): Likewise.
22344         ($(objpfx)test-gencat.out): Likewise.
22345         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22346         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22347         ($(objpfx)noload-mem): Likewise.
22348         ($(objpfx)tst-pathopt.out): Likewise.
22349         ($(objpfx)tst-rtld-load-self.out): Likewise.
22350         ($(objpfx)tst-array1-cmp.out): Likewise.
22351         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22352         ($(objpfx)tst-array2-cmp.out): Likewise.
22353         ($(objpfx)tst-array3-cmp.out): Likewise.
22354         ($(objpfx)tst-array4-cmp.out): Likewise.
22355         ($(objpfx)tst-array5-cmp.out): Likewise.
22356         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22357         ($(objpfx)check-textrel.out): Likewise.
22358         ($(objpfx)check-execstack.out): Likewise.
22359         ($(objpfx)check-localplt.out): Likewise.
22360         ($(objpfx)order2-cmp.out): Likewise.
22361         ($(objpfx)tst-leaks1-mem): Likewise.
22362         ($(objpfx)tst-leaks1-static-mem): Likewise.
22363         ($(objpfx)tst-initorder-cmp.out): Likewise.
22364         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22365         ($(objpfx)tst-unused-dep.out): Likewise.
22366         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22367         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22368         * iconv/Makefile (test-iconvconfig): Likewise.
22369         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22370         ($(objpfx)iconv-test.out): Likewise.
22371         ($(objpfx)tst-tables.out): Likewise.
22372         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22373         ($(objpfx)tst-gettext.out): Likewise.
22374         ($(objpfx)tst-translit.out): Likewise.
22375         ($(objpfx)tst-gettext2.out): Likewise.
22376         ($(objpfx)tst-gettext4.out): Likewise.
22377         ($(objpfx)tst-gettext6.out): Likewise.
22378         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22379         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22380         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22381         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22382         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22383         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22384         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22385         ($(objpfx)wordexp-tst.out): Likewise.
22386         ($(objpfx)annexc.out): Likewise.
22387         ($(objpfx)tst-fnmatch-mem): Likewise.
22388         ($(objpfx)bug-regex2-mem): Likewise.
22389         ($(objpfx)bug-regex14-mem): Likewise.
22390         ($(objpfx)bug-regex21-mem): Likewise.
22391         ($(objpfx)bug-regex31-mem): Likewise.
22392         ($(objpfx)tst-vfork3-mem): Likewise.
22393         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22394         ($(objpfx)tst-pcre-mem): Likewise.
22395         ($(objpfx)tst-boost-mem): Likewise.
22396         ($(objpfx)tst-getconf.out): Likewise.
22397         ($(objpfx)bug-ga2-mem): Likewise.
22398         ($(objpfx)bug-glob2-mem): Likewise.
22399         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22400         ($(objpfx)mtrace-tst-leaks2): Likewise.
22401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22402         ($(objpfx)tst-printf.out): Likewise.
22403         ($(objpfx)tst-setvbuf1.out): Likewise.
22404         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22405         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22406         ($(objpfx)tst-fmtmsg.out): Likewise.
22407         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22408         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22410         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22411         * bits/sigaction.h [__USE_MISC]: Likewise.
22412         * bits/waitstatus.h: Update #endif comments.
22413         * ctype/ctype.h: Likewise.
22414         * dirent/dirent.h: Likewise.
22415         [__USE_MISC]: Remove redundant conditionals.
22416         * grp/grp.h: Update #endif comments.
22417         [__USE_GNU]: Remove redundant conditionals.
22418         [__USE_MISC]: Likewise.
22419         * inet/netinet/in.h [__USE_GNU]: Likewise.
22420         * io/sys/stat.h [__USE_MISC]: Likewise.
22421         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22422         * libio/bits/stdio.h: Update #endif comments.
22423         [__USE_MISC]: Remove redundant conditionals.
22424         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22425         * libio/stdio.h: Update #endif comments.
22426         [__USE_MISC]: Remove redundant conditionals.
22427         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22428         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22429         * math/math.h: Update #else and #endif comments.
22430         [__USE_MISC]: Remove redundant conditionals.
22431         * misc/sys/uio.h: Update #endif comments.
22432         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22433         * posix/glob.h [__USE_MISC]: Likewise.
22434         * posix/sys/types.h: Update #endif comments.
22435         [__USE_MISC]: Remove redundant conditionals.
22436         * posix/sys/wait.h: Update #endif comments.
22437         [__USE_MISC]: Remove redundant conditionals.
22438         * posix/unistd.h: Update #endif comments.
22439         [__USE_MISC]: Remove redundant conditionals.
22440         * pwd/pwd.h [__USE_GNU]: Likewise.
22441         [__USE_MISC]: Likewise.
22442         * resolv/netdb.h [__USE_GNU]: Likewise.
22443         * signal/signal.h: Update #endif comments.
22444         [__USE_MISC]: Remove redundant conditionals.
22445         * stdlib/stdlib.h: Update #else and #endif comments.
22446         [__USE_MISC]: Remove redundant conditionals.
22447         [__USE_GNU]: Likewise.
22448         * string/bits/string2.h [__USE_MISC]: Likewise.
22449         * string/string.h: Update #endif comments.
22450         [__USE_MISC]: Remove redundant conditionals.
22451         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22452         Likewise.
22453         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22454         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22455         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22456         Likewise.
22457         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22458         Likewise.
22459         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22460         comments.
22461         [__USE_MISC]: Remove redundant conditionals.
22462         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22463         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22464         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22465         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22466         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22467         Likewise.
22468         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22469         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22470         Likewise.
22471         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22472         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22473         Likewise.
22474         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22475         Likewise.
22476         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22477         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22478         Likewise.
22479         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22480         Likewise.
22481         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22482         * sysdeps/x86/bits/string.h: Update #endif comments.
22483         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22484         conditionals.
22485         * time/sys/time.h: Update #endif comments.
22486         * time/time.h: Likewise.
22487         [__USE_MISC]: Remove redundant conditionals.
22489 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22491         [BZ #16600]
22492         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22494 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22496         * Versions.def (librt): Add GLIBC_2.17.
22498 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22500         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22501         synonym for _SYS_AUXV_H to allow direct inclusion.
22502         * sysdeps/sparc/bits/hwcap.h: Likewise.
22503         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22504         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22505         * sysdeps/sparc/sysdep.h: Likewise.
22507 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22509         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22511 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22513         * benchtests/bench-strrchr.c: Print length instead of position.
22515 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22517         [BZ #16611]
22518         * sysdeps/unix/sysv/linux/kernel-features.h
22519         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22520         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22521         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22522         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22523         Likewise.
22524         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22525         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22526         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22527         (__ASSUME_SENDMMSG): Define instead of using previous
22528         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22530         (__ASSUME_SENDMMSG_SYSCALL): Define.
22531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22532         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22533         Likewise.
22534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22535         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22536         Likewise.
22537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22538         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22539         Likewise.
22540         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22541         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22542         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22543         [__ASSUME_SENDMMSG]: Change conditionals to
22544         [__ASSUME_SENDMMSG_SOCKETCALL].
22545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22547         Define.
22548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22549         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22550         Likewise.
22551         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22552         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22553         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22554         [!__ASSUME_SENDMMSG]: Change conditional to
22555         [!__ASSUME_SENDMMSG_SOCKETCALL].
22556         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22557         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22558         Define.
22560         [BZ #16610]
22561         * sysdeps/unix/sysv/linux/kernel-features.h
22562         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22563         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22564         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22565         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22566         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22567         [__i386__ || __sparc__]
22568         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22569         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22570         (__ASSUME_RECVMMSG): Define instead of using previous
22571         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22572         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22573         (__ASSUME_RECVMMSG_SYSCALL): Define.
22574         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22576         Likewise.
22577         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22578         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22579         Likewise.
22580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22581         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22582         Likewise.
22583         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22584         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22585         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22586         [__ASSUME_RECVMMSG]: Change condition to
22587         [__ASSUME_RECVMMSG_SOCKETCALL].
22588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22589         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22590         Define.
22591         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22592         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22593         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22594         Likewise.
22595         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22596         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22597         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22598         [!__ASSUME_RECVMMSG]: Change condition to
22599         [!__ASSUME_RECVMMSG_SOCKETCALL].
22600         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22601         (__ASSUME_RECVMMSG_SYSCALL): Define.
22603         [BZ #16609]
22604         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22605         __powerpc__ || __s390__ || __sh__ || __sparc__]
22606         (__ASSUME_SOCKETCALL): Define.
22607         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22608         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22609         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22610         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22611         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22612         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22613         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22614         (__ASSUME_ACCEPT4): Define instead of using previous
22615         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22616         __powerpc__ || __sparc__ || __s390__)] condition.
22617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22618         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22619         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22620         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22621         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22622         [!__ASSUME_ACCEPT4]: Change condition to
22623         [!__ASSUME_ACCEPT4_SOCKETCALL].
22624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22625         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22626         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22628         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22629         __ASSUME_ACCEPT4_SYSCALL.
22630         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22631         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22632         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22633         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22634         __ASSUME_ACCEPT4_SYSCALL.
22635         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22636         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22637         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22638         [__ASSUME_ACCEPT4]: Change condition to
22639         [__ASSUME_ACCEPT4_SOCKETCALL].
22640         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22641         (__ASSUME_SOCKETCALL): Define.
22642         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22643         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22644         (__ASSUME_SOCKETCALL): Define.
22645         (__ASSUME_ACCEPT4): Remove.
22646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22647         Define.
22648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22649         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22650         Likewise.
22651         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22652         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22654         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22655         macro.
22656         (HWCAP_ARM_LPAE): Likewise.
22657         (HWCAP_ARM_EVTSTRM): Likewise.
22658         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22659         Add vpfd32, lpae and evtstrm.
22660         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22661         Increase to 22.
22663 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22665         * math/auto-libm-test-in: Add tests of clog10.
22666         * math/auto-libm-test-out: Regenerated.
22667         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22668         * sysdeps/i386/fpu/libm-test-ulps: Update.
22669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22671 2014-02-18  Andreas Schwab  <schwab@suse.de>
22673         [BZ #16574]
22674         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22675         Store non-zero if the second buffer was newly allocated.
22676         (send_dg): Likewise.
22677         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22678         to send_vc and send_dg.
22679         (res_nsend): Pass NULL for ansp2_malloced.
22680         * resolv/res_query.c (__libc_res_nquery): Add parameter
22681         answerp2_malloced and pass it down to __libc_res_nsend.
22682         (res_nquery): Pass additional NULL to __libc_res_nquery.
22683         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22684         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22685         second answer buffer if answerp2_malloced was set.
22686         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22687         (__libc_res_nquerydomain): Add parameter
22688         answerp2_malloced and pass it down to __libc_res_nquery.
22689         (res_nquerydomain): Pass additional NULL to
22690         __libc_res_nquerydomain.
22691         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22692         additional NULL to __libc_res_nsend and __libc_res_nquery.
22693         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22694         additional NULL to __libc_res_nsearch.
22695         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22696         parameter of __libc_res_nsearch to check for separately allocated
22697         second buffer.
22698         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22699         __libc_res_nquery.
22700         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22701         additional NULL to __libc_res_nquery.
22702         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22703         __libc_res_nsearch.
22704         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22705         * include/resolv.h: Update prototypes of __libc_res_nquery,
22706         __libc_res_nsearch, __libc_res_nsend.
22708 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22710         * math/auto-libm-test-in: Add tests of fma.
22711         * math/auto-libm-test-out: Regenerated.
22712         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22713         (fma_towardzero_test_data): Likewise.
22714         (fma_downward_test_data): Likewise.
22715         (fma_upward_test_data): Likewise.
22716         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22717         mpc_mode.
22718         (rounding_modes): Add values for new field.
22719         (func_calc_method): Add value mpfr_fff_f.
22720         (func_calc_desc): Add mpfr_fff_f union field.
22721         (test_function): Add field exact_args.
22722         (FUNC): Add macro argument EXACT_ARGS.
22723         (FUNC_mpfr_f_f): Update call to FUNC.
22724         (FUNC_mpfr_f_f): Likewise.
22725         (FUNC_mpfr_ff_f): Likewise.
22726         (FUNC_mpfr_if_f): Likewise.
22727         (FUNC_mpc_c_f): Likewise.
22728         (FUNC_mpc_c_c): Likewise.
22729         (test_functions): Add fma.  Update calls to FUNC.
22730         (handle_input_arg): Add argument exact_args.
22731         (add_test): Update call to handle_input_arg.
22732         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22733         (output_for_one_input_case): Update call to calc_generic_results.
22734         Recalculate exact zero results in each rounding mode.
22736         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22737         non-negative before setting low bit.
22738         * math/auto-libm-test-in: Mark one asin test possibly having
22739         spurious underflow.
22740         * math/auto-libm-test-out: Regenerated.
22741         * sysdeps/i386/fpu/libm-test-ulps: Update.
22742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22744 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22746         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22747         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22748         ports/sysdeps/unix/sysv/linux/microblaze.
22749         * README: Add missing listing for microblaze*-*-linux-gnu.
22751 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22754         duplicate code
22756 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22758         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22759         * sysdeps/unix/sysv/linux/ia64: Move directory from
22760         ports/sysdeps/unix/sysv/linux/ia64.
22761         * README: Update listing for ia64-*-linux-gnu.
22763 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22764             Joseph Myers  <joseph@codesourcery.com>
22766         * Makeconfig (test-name): New variable.
22767         (evaluate-test): Likewise.
22768         * Makerules (do-test-clean): Remove .test-result files.
22769         (common-mostlyclean): Likewise.
22770         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22771         * scripts/evaluate-test.sh: New file.
22773 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22775         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22776         separate $(objpfx)tst-fopenloc-cmp.out and
22777         $(objpfx)tst-fopenloc-mem.out targets.
22778         (tests): Update dependencies.
22779         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22780         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22781         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22782         (tst-rxspencer-no-utf8-ARGS): New variable.
22783         (tst-rxspencer-no-utf8-ENV): Likewise.
22784         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22785         instead of $(objpfx)tst-rxspencer-mem.
22786         ($(objpfx)tst-rxspencer-mem): Change target to
22787         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22788         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22789         * posix/tst-rxspencer-no-utf8.c: New file.
22791         * elf/Makefile ($(objpfx)order.out): Remove rule.
22792         [$(run-built-tests) = yes] (tests): Depend on
22793         $(objpfx)order-cmp.out.
22794         ($(objpfx)order-cmp.out): New rule.
22795         [$(run-built-tests) = yes] (tests): Depend on
22796         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22797         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22798         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22799         $(objpfx)tst-array5-static-cmp.out.
22800         ($(objpfx)tst-array1.out): Remove rule.
22801         ($(objpfx)tst-array1-cmp.out): New rule.
22802         ($(objpfx)tst-array1-static.out): Remove rule.
22803         ($(objpfx)tst-array1-static-cmp.out): New rule.
22804         ($(objpfx)tst-array2.out): Remove rule.
22805         ($(objpfx)tst-array2-cmp.out): New rule.
22806         ($(objpfx)tst-array3.out): Remove rule.
22807         ($(objpfx)tst-array3-cmp.out): New rule.
22808         ($(objpfx)tst-array4.out): Remove rule.
22809         ($(objpfx)tst-array4-cmp.out): New rule.
22810         ($(objpfx)tst-array5.out): Remove rule.
22811         ($(objpfx)tst-array5-cmp.out): New rule.
22812         ($(objpfx)tst-array5-static.out): Remove rule.
22813         ($(objpfx)tst-array5-static-cmp.out): New rule.
22814         [$(run-built-tests) = yes] (tests): Depend on
22815         $(objpfx)order2-cmp.out.
22816         ($(objpfx)order2.out): Remove rule.
22817         ($(objpfx)order2-cmp.out): New rule.
22818         ($(objpfx)tst-initorder.out): Remove rule.
22819         [$(run-built-tests) = yes] (tests): Depend on
22820         $(objpfx)tst-initorder-cmp.out.
22821         ($(objpfx)tst-initorder-cmp.out): New rule.
22822         ($(objpfx)tst-initorder2.out): Remove rule.
22823         [$(run-built-tests) = yes] (tests): Depend on
22824         $(objpfx)tst-initorder2-cmp.out.
22825         ($(objpfx)tst-initorder2-cmp.out): New rule.
22826         [$(run-built-tests) = yes] (tests): Depend on
22827         $(objpfx)tst-unused-dep-cmp.out.
22828         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22829         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22830         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22831         on $(objpfx)tst-setvbuf1-cmp.out.
22832         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22833         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22834         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22835         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22836         ($(objpfx)tst-svc.out): Remove rule.
22837         ($(objpfx)tst-svc-cmp.out): New rule.
22839 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22841         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22842         * ctype/ctype.h [__USE_MISC]: Likewise.
22843         * dirent/dirent.h [__USE_MISC]: Likewise.
22844         * grp/grp.h [__USE_MISC]: Likewise.
22845         * io/fcntl.h [__USE_MISC]: Likewise.
22846         * io/sys/stat.h [__USE_MISC]: Likewise.
22847         * libio/stdio.h [__USE_MISC]: Likewise.
22848         * posix/unistd.h [__USE_MISC]: Likewise.
22849         * pwd/pwd.h [__USE_MISC]: Likewise.
22850         * stdlib.h [__USE_MISC]: Likewise.
22851         * string/bits/string2.h [__USE_MISC]: Likewise.
22852         * string/string.h [__USE_MISC]: Likewise.
22853         * time/time.h [__USE_MISC]: Likewise.
22855 2014-02-13  Andreas Schwab  <schwab@suse.de>
22857         [BZ #16574]
22858         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22859         second answer buffer if it was separately allocated.
22861 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22863         * sysdeps/mips/math-tests.h: Include <features.h>.
22864         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22865         (ROUNDING_TESTS_long_double): Do not define.
22866         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22867         (EXCEPTION_TESTS_long_double): Likewise.
22868         * sysdeps/mips/mips64/libm-test-ulps: Update.
22870         * include/features.h (__USE_BSD): Remove macro definitions.
22871         (__USE_SVID): Likewise.
22872         (_BSD_SOURCE): Likewise.
22873         (_SVID_SOURCE): Likewise.
22874         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22875         from definition of _DEFAULT_SOURCE.
22876         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22877         [_DEFAULT_SOURCE].
22878         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22879         * bits/mman.h [__USE_BSD]: Likewise.
22880         * bits/termios.h [__USE_BSD]: Likewise.
22881         * bits/waitstatus.h [__USE_BSD]: Likewise.
22882         * ctype/ctype.h [__USE_SVID]: Likewise.
22883         * dirent/dirent.h [__USE_BSD]: Likewise.
22884         * grp/grp.h [__USE_SVID]: Likewise.
22885         [__USE_BSD]: Likewise.
22886         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22887         * io/fcntl.h [__USE_BSD]: Likewise.
22888         * io/ftw.h [__USE_BSD]: Likewise.
22889         * io/sys/stat.h [__USE_BSD]: Likewise.
22890         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22891         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22892         * libio/stdio.h [__USE_SVID]: Likewise.
22893         [__USE_BSD]: Likewise.
22894         * math/math.h [__USE_SVID]: Likewise.
22895         [__USE_BSD]: Likewise.
22896         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22897         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22898         * misc/search.h [__USE_SVID]: Likewise.
22899         * misc/sys/mman.h [__USE_BSD]: Likewise.
22900         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22901         * misc/sys/uio.h [__USE_BSD]: Likewise.
22902         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22903         * posix/glob.h [__USE_BSD]: Likewise.
22904         * posix/regex.h [__USE_BSD]: Likewise.
22905         * posix/sys/types.h [__USE_BSD]: Likewise.
22906         [__USE_SVID]: Likewise.
22907         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22908         * posix/sys/wait.h [__USE_BSD]: Likewise.
22909         [__USE_SVID]: Likewise.
22910         * posix/unistd.h [__USE_BSD]: Likewise.
22911         [__USE_SVID]: Likewise.
22912         * pwd/pwd.h [__USE_SVID]: Likewise.
22913         * resolv/netdb.h [__USE_BSD]: Likewise.
22914         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22915         * signal/signal.h [__USE_BSD]: Likewise.
22916         [__USE_SVID]: Likewise.
22917         * socket/sys/socket.h [__USE_BSD]: Likewise.
22918         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22919         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22920         [__USE_SVID]: Likewise.
22921         * string/bits/string2.h [__USE_BSD]: Likewise.
22922         [__USE_SVID]: Likewise.
22923         * string/bits/string3.h [__USE_BSD]: Likewise.
22924         * string/endian.h [__USE_BSD]: Likewise.
22925         * string/string.h [__USE_SVID]: Likewise.
22926         [__USE_BSD]: Likewise.
22927         * string/strings.h [__USE_BSD]: Likewise.
22928         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22929         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22930         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22931         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22932         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22933         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22934         Likewise.
22935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22936         Likewise.
22937         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22938         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22939         Likewise.
22940         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22941         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22942         Likewise.
22943         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22944         Likewise.
22945         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22946         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22947         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22948         Likewise.
22949         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22950         Likewise.
22951         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22952         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22953         * termios/termios.h [__USE_BSD]: Likewise.
22954         * time/sys/time.h [__USE_BSD]: Likewise.
22955         * time/time.h [__USE_BSD]: Likewise.
22956         [__USE_SVID]: Likewise.
22958         * Makefile (subdir_targets): Remove subdir_lint.out.
22960         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22961         (do-tst-printf): Likewise.
22962         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22963         $(objpfx)tst-printf.out.
22965         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22967         * Makerules (check-abi-%): Change target to
22968         $(objpfx)check-abi-%.out.
22969         (check-abi target): Update dependencies.
22970         (check-abi-pattern variable): Redirect output of diff to $@.
22971         (check-abi variable): Likewise.
22972         * elf/Makefile (check-abi): Update dependencies.
22974         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22975         unused.
22976         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22977         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22978         subnormal range.
22979         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22980         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22981         value has largest subnormal exponent.
22982         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22983         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22984         * sysdeps/aarch64/soft-fp/sfp-machine.h
22985         (_FP_TININESS_AFTER_ROUNDING): New macro.
22986         * sysdeps/alpha/soft-fp/sfp-machine.h
22987         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22988         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22989         Likewise.
22990         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22991         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22992         * sysdeps/mips/soft-fp/sfp-machine.h
22993         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22994         * sysdeps/powerpc/soft-fp/sfp-machine.h
22995         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22996         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22997         Likewise.
22998         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22999         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23000         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23002         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23003         Likewise.
23005 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23007         [BZ #16545]
23008         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23009         model 1.
23011 2014-02-12  Richard Henderson  <rth@redhat.com>
23013         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23014         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23015         * sysdeps/unix/sysv/linux/alpha: Move directory from
23016         ports/sysdeps/unix/sysv/linux/alpha.
23017         * README: Update listing for alpha-*-linux-gnu.
23019 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23021         * include/features.h: Update comment documenting feature test
23022         macros.
23023         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23024         _DEFAULT_SOURCE.
23025         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23026         (_SVID_SOURCE): Likewise.
23027         (_DEFAULT_SOURCE): Update description of default features.
23028         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23029         with _GNU_SOURCE.
23030         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23031         (S_ISVTX): Likewise.
23032         * manual/math.texi (Mathematical Constants): Likewise.
23033         * manual/signal.texi (Interrupted Primitives): Likewise.
23034         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23035         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23036         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23037         Don't refer to _SVID_SOURCE in warning text.
23039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23041         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23042         already defined.
23043         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23044         * sysdeps/mips/dl-lookup.c: Remove.
23045         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23047 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23049         [BZ #16447]
23050         * math/auto-libm-test-in: Add testcase for expl.
23051         * math/auto-libm-test-out: Regenerate.
23052         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23053         calculation of unsafe.
23054         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23056 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23058         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23059         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23060         ports/sysdeps/unix/sysv/linux/aarch64.
23061         * README: Update listing for aarch64*-*-linux-gnu.
23063 2014-02-11  Will Newton  <will.newton@linaro.org>
23065         * manual/probes.texi (Mathematical Function Probes): Use
23066         "triggered" instead of "hit".
23068         * manual/probes.texi (Internal Probes): Add documentation
23069         of setjmp, longjmp and longjmp_target probes.
23071         * include/stap-probe.h: Add comment about probe argument
23072         format.
23074         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23075         definition.  (tr_where, tr_freehook, tr_mallochook,
23076         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23078 2014-02-11  David S. Miller  <davem@davemloft.net>
23080         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23081         processing int_tests.
23083 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23085         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23086         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23087         * sysdeps/unix/sysv/linux/mips: Move directory from
23088         ports/sysdeps/unix/sysv/linux/mips.
23089         * README: Update listing for mips-*-linux-gnu and
23090         mips64-*-linux-gnu.
23092 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23094         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23095         * sysdeps/unix/sysv/linux/m68k: Move directory from
23096         ports/sysdeps/unix/sysv/linux/m68k.
23097         * README: Update listing for m68k-*-linux-gnu.
23099 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23101         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23102         * sysdeps/unix/sysv/linux/generic: Move directory from
23103         ports/sysdeps/unix/sysv/linux/generic.
23104         * sysdeps/unix/sysv/linux/tile: Move directory from
23105         ports/sysdeps/unix/sysv/linux/tile.
23106         * README: Update listing for tile*-*-linux-gnu.
23108 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23110         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23111         __builtin_expect.
23112         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23113         * catgets/open_catalog.c (__open_catalog): Likewise.
23114         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23115         * debug/confstr_chk.c: Likewise.
23116         * debug/fread_chk.c (__fread_chk): Likewise.
23117         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23118         * debug/getgroups_chk.c: Likewise.
23119         * debug/mbsnrtowcs_chk.c: Likewise.
23120         * debug/mbsrtowcs_chk.c: Likewise.
23121         * debug/mbstowcs_chk.c: Likewise.
23122         * debug/memcpy_chk.c: Likewise.
23123         * debug/memmove_chk.c: Likewise.
23124         * debug/mempcpy_chk.c: Likewise.
23125         * debug/memset_chk.c: Likewise.
23126         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23127         * debug/strcat_chk.c (__strcat_chk): Likewise.
23128         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23129         * debug/strncat_chk.c (__strncat_chk): Likewise.
23130         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23131         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23132         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23133         * debug/wcpncpy_chk.c: Likewise.
23134         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23135         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23136         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23137         * debug/wcsncpy_chk.c: Likewise.
23138         * debug/wcsnrtombs_chk.c: Likewise.
23139         * debug/wcsrtombs_chk.c: Likewise.
23140         * debug/wcstombs_chk.c: Likewise.
23141         * debug/wmemcpy_chk.c: Likewise.
23142         * debug/wmemmove_chk.c: Likewise.
23143         * debug/wmempcpy_chk.c: Likewise.
23144         * debug/wmemset_chk.c: Likewise.
23145         * dirent/scandirat.c (SCANDIRAT): Likewise.
23146         * dlfcn/dladdr1.c (dladdr1): Likewise.
23147         * dlfcn/dladdr.c (dladdr): Likewise.
23148         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23149         * dlfcn/dlerror.c (__dlerror): Likewise.
23150         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23151         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23152         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23153         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23154         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23155         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23156         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23157         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23158         Likewise.
23159         * elf/dl-conflict.c: Likewise.
23160         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23161         * elf/dl-dst.h: Likewise.
23162         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23163         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23164         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23165         * elf/dl-init.c (call_init, _dl_init): Likewise.
23166         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23167         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23168         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23169         Likewise.
23170         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23171         Likewise.
23172         * elf/dl-minimal.c (__libc_memalign): Likewise.
23173         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23174         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23175         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23176         * elf/dl-sym.c (do_sym): Likewise.
23177         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23178         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23179         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23180         * elf/dl-writev.h (_dl_writev): Likewise.
23181         * elf/ldconfig.c (search_dir): Likewise.
23182         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23183         (dl_main): Likewise.
23184         * elf/setup-vdso.h (setup_vdso): Likewise.
23185         * grp/compat-initgroups.c (compat_call): Likewise.
23186         * grp/fgetgrent.c (fgetgrent): Likewise.
23187         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23188         * grp/putgrent.c (putgrent): Likewise.
23189         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23190         Likewise.
23191         * hurd/hurdinit.c: Likewise.
23192         * iconvdata/8bit-gap.c (struct): Likewise.
23193         * iconvdata/ansi_x3.110.c : Likewise.
23194         * iconvdata/big5.c : Likewise.
23195         * iconvdata/big5hkscs.c : Likewise.
23196         * iconvdata/cp1255.c: Likewise.
23197         * iconvdata/cp1258.c : Likewise.
23198         * iconvdata/cp932.c : Likewise.
23199         * iconvdata/euc-cn.c: Likewise.
23200         * iconvdata/euc-jisx0213.c : Likewise.
23201         * iconvdata/euc-jp.c: Likewise.
23202         * iconvdata/euc-jp-ms.c : Likewise.
23203         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23204         * iconvdata/gb18030.c : Likewise.
23205         * iconvdata/gbbig5.c (const): Likewise.
23206         * iconvdata/gbgbk.c: Likewise.
23207         * iconvdata/gbk.c : Likewise.
23208         * iconvdata/ibm1364.c : Likewise.
23209         * iconvdata/ibm930.c : Likewise.
23210         * iconvdata/ibm932.c: Likewise.
23211         * iconvdata/ibm933.c : Likewise.
23212         * iconvdata/ibm935.c : Likewise.
23213         * iconvdata/ibm937.c : Likewise.
23214         * iconvdata/ibm939.c : Likewise.
23215         * iconvdata/ibm943.c: Likewise.
23216         * iconvdata/iso_11548-1.c: Likewise.
23217         * iconvdata/iso-2022-cn.c : Likewise.
23218         * iconvdata/iso-2022-cn-ext.c : Likewise.
23219         * iconvdata/iso-2022-jp-3.c: Likewise.
23220         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23221         * iconvdata/iso-2022-kr.c : Likewise.
23222         * iconvdata/iso646.c (gconv_end): Likewise.
23223         * iconvdata/iso_6937-2.c : Likewise.
23224         * iconvdata/iso_6937.c : Likewise.
23225         * iconvdata/iso8859-1.c: Likewise.
23226         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23227         * iconvdata/shift_jisx0213.c : Likewise.
23228         * iconvdata/sjis.c : Likewise.
23229         * iconvdata/t.61.c : Likewise.
23230         * iconvdata/tcvn5712-1.c : Likewise.
23231         * iconvdata/tscii.c: Likewise.
23232         * iconvdata/uhc.c : Likewise.
23233         * iconvdata/unicode.c (gconv_end): Likewise.
23234         * iconvdata/utf-16.c (gconv_end): Likewise.
23235         * iconvdata/utf-32.c (gconv_end): Likewise.
23236         * iconvdata/utf-7.c (base64): Likewise.
23237         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23238         * iconv/gconv_close.c (__gconv_close): Likewise.
23239         * iconv/gconv_open.c (__gconv_open): Likewise.
23240         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23241         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23242         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23243         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23244         (ucs4le_internal_loop_single): Likewise.
23245         * iconv/iconv.c (iconv): Likewise.
23246         * iconv/iconv_close.c: Likewise.
23247         * iconv/loop.c (SINGLE): Likewise.
23248         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23249         * include/atomic.h: Likewise.
23250         * inet/inet6_option.c (option_alloc): Likewise.
23251         * intl/bindtextdom.c (set_binding_values): Likewise.
23252         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23253         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23254         * intl/localealias.c (read_alias_file): Likewise.
23255         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23256         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23257         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23258         * libio/fmemopen.c (fmemopen): Likewise.
23259         * libio/iofgets.c (_IO_fgets): Likewise.
23260         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23261         * libio/iofgetws.c (fgetws): Likewise.
23262         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23263         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23264         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23265         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23266         * locale/findlocale.c (_nl_find_locale): Likewise.
23267         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23268         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23269         Likewise.
23270         * locale/setlocale.c (setlocale): Likewise.
23271         * login/programs/pt_chown.c (main): Likewise.
23272         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23273         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23274         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23275         (mmap, mmap64, mremap, munmap): Likewise.
23276         * math/e_exp2l.c: Likewise.
23277         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23278         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23279         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23280         * math/s_catan.c (__catan): Likewise.
23281         * math/s_catanf.c (__catanf): Likewise.
23282         * math/s_catanh.c (__catanh): Likewise.
23283         * math/s_catanhf.c (__catanhf): Likewise.
23284         * math/s_catanhl.c (__catanhl): Likewise.
23285         * math/s_catanl.c (__catanl): Likewise.
23286         * math/s_ccosh.c (__ccosh): Likewise.
23287         * math/s_ccoshf.c (__ccoshf): Likewise.
23288         * math/s_ccoshl.c (__ccoshl): Likewise.
23289         * math/s_cexp.c (__cexp): Likewise.
23290         * math/s_cexpf.c (__cexpf): Likewise.
23291         * math/s_cexpl.c (__cexpl): Likewise.
23292         * math/s_clog10.c (__clog10): Likewise.
23293         * math/s_clog10f.c (__clog10f): Likewise.
23294         * math/s_clog10l.c (__clog10l): Likewise.
23295         * math/s_clog.c (__clog): Likewise.
23296         * math/s_clogf.c (__clogf): Likewise.
23297         * math/s_clogl.c (__clogl): Likewise.
23298         * math/s_csin.c (__csin): Likewise.
23299         * math/s_csinf.c (__csinf): Likewise.
23300         * math/s_csinh.c (__csinh): Likewise.
23301         * math/s_csinhf.c (__csinhf): Likewise.
23302         * math/s_csinhl.c (__csinhl): Likewise.
23303         * math/s_csinl.c (__csinl): Likewise.
23304         * math/s_csqrt.c (__csqrt): Likewise.
23305         * math/s_csqrtf.c (__csqrtf): Likewise.
23306         * math/s_csqrtl.c (__csqrtl): Likewise.
23307         * math/s_ctan.c (__ctan): Likewise.
23308         * math/s_ctanf.c (__ctanf): Likewise.
23309         * math/s_ctanh.c (__ctanh): Likewise.
23310         * math/s_ctanhf.c (__ctanhf): Likewise.
23311         * math/s_ctanhl.c (__ctanhl): Likewise.
23312         * math/s_ctanl.c (__ctanl): Likewise.
23313         * math/w_pow.c: Likewise.
23314         * math/w_powf.c: Likewise.
23315         * math/w_powl.c: Likewise.
23316         * math/w_scalb.c (sysv_scalb): Likewise.
23317         * math/w_scalbf.c (sysv_scalbf): Likewise.
23318         * math/w_scalbl.c (sysv_scalbl): Likewise.
23319         * misc/error.c (error_tail): Likewise.
23320         * misc/pselect.c (__pselect): Likewise.
23321         * nis/nis_callback.c (__nis_create_callback): Likewise.
23322         * nis/nis_call.c (__nisfind_server): Likewise.
23323         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23324         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23325         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23326         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23327         * nis/nis_lookup.c (nis_lookup): Likewise.
23328         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23329         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23330         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23331         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23332         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23333         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23334         * nis/nss_compat/compat-initgroups.c (add_group)
23335         (internal_getgrent_r): Likewise.
23336         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23337         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23338         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23339         (internal_getspnam_r): Likewise.
23340         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23341         (_nss_nis_getaliasbyname_r): Likewise.
23342         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23343         (_nss_nis_getntohost_r): Likewise.
23344         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23345         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23346         (_nss_nis_getgrgid_r): Likewise.
23347         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23348         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23349         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23350         (_nss_nis_gethostbyname4_r): Likewise.
23351         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23352         (initgroups_netid): Likewise.
23353         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23354         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23355         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23356         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23357         (_nss_nis_getprotobynumber_r): Likewise.
23358         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23359         (_nss_nis_getsecretkey): Likewise.
23360         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23361         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23362         (_nss_nis_getpwuid_r): Likewise.
23363         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23364         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23365         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23366         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23367         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23368         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23369         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23370         Likewise.
23371         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23372         (_nss_nisplus_getntohost_r): Likewise.
23373         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23374         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23375         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23376         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23377         Likewise.
23378         * nis/nss_nisplus/nisplus-initgroups.c
23379         (_nss_nisplus_initgroups_dyn): Likewise.
23380         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23381         (_nss_nisplus_getnetbyaddr_r): Likewise.
23382         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23383         (_nss_nisplus_getprotobynumber_r): Likewise.
23384         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23385         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23386         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23387         Likewise.
23388         * nis/nss_nisplus/nisplus-service.c
23389         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23390         (_nss_nisplus_getservbyport_r): Likewise.
23391         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23392         (_nss_nisplus_getspnam_r): Likewise.
23393         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23394         Likewise.
23395         * nscd/aicache.c (addhstaiX): Likewise.
23396         * nscd/cache.c (cache_search, prune_cache): Likewise.
23397         * nscd/connections.c (register_traced_file, send_ro_fd)
23398         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23399         (main_loop_epoll): Likewise.
23400         * nscd/grpcache.c (addgrbyX): Likewise.
23401         * nscd/hstcache.c (addhstbyX): Likewise.
23402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23403         * nscd/mem.c (gc, mempool_alloc): Likewise.
23404         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23405         (addinnetgrX): Likewise.
23406         * nscd/nscd-client.h (__nscd_acquire_maplock)
23407         (__nscd_drop_map_ref): Likewise.
23408         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23409         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23410         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23411         Likewise.
23412         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23413         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23414         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23415         (__nscd_get_map_ref): Likewise.
23416         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23417         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23418         Likewise.
23419         * nscd/pwdcache.c (addpwbyX): Likewise.
23420         * nscd/selinux.c (preserve_capabilities): Likewise.
23421         * nscd/servicescache.c (addservbyX): Likewise.
23422         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23423         * posix/fnmatch.c (fnmatch): Likewise.
23424         * posix/getopt.c (_getopt_internal_r): Likewise.
23425         * posix/glob.c (glob, glob_in_dir): Likewise.
23426         * posix/wordexp.c (exec_comm_child): Likewise.
23427         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23428         (getanswer_r, gaih_getanswer_slice): Likewise.
23429         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23430         * resolv/res_init.c: Likewise.
23431         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23432         * resolv/res_query.c (__libc_res_nquery): Likewise.
23433         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23434         Likewise.
23435         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23436         * stdio-common/perror.c (perror): Likewise.
23437         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23438         * stdio-common/tmpnam.c (tmpnam): Likewise.
23439         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23440         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23441         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23442         Likewise.
23443         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23444         * stdlib/putenv.c (putenv): Likewise.
23445         * stdlib/setenv.c (__add_to_environ): Likewise.
23446         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23447         * stdlib/strtol_l.c (INTERNAL): Likewise.
23448         * string/memmem.c (memmem): Likewise.
23449         * string/strerror.c (strerror): Likewise.
23450         * string/strnlen.c (__strnlen): Likewise.
23451         * string/test-memmem.c (simple_memmem): Likewise.
23452         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23453         * sunrpc/pm_getport.c (__get_socket): Likewise.
23454         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23455         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23456         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23457         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23458         Likewise.
23459         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23461         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23462         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23463         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23464         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23465         Likewise.
23466         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23467         Likewise.
23468         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23469         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23470         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23471         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23472         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23474         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23475         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23476         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23477         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23478         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23479         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23480         Likewise.
23481         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23482         Likewise.
23483         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23484         Likewise.
23485         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23487         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23488         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23489         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23490         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23491         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23492         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23494         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23495         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23496         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23497         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23498         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23500         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23501         Likewise.
23502         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23503         Likewise.
23504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23505         Likewise.
23506         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23507         Likewise.
23508         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23509         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23510         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23511         Likewise.
23512         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23513         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23514         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23515         * sysdeps/posix/sleep.c: Likewise.
23516         * sysdeps/posix/tempname.c: Likewise.
23517         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23518         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23519         Likewise.
23520         * sysdeps/powerpc/powerpc32/dl-machine.h
23521         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23522         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23523         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23524         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23525         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23526         Likewise.
23527         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23529         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23530         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23531         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23532         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23533         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23534         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23535         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23536         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23538         (elf_machine_lazy_rel): Likewise.
23539         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23540         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23541         (elf_machine_lazy_rel): Likewise.
23542         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23543         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23544         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23545         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23546         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23547         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23548         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23550         Likewise.
23551         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23552         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23553         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23554         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23555         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23556         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23557         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23558         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23559         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23561         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23562         Likewise.
23563         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23564         (__posix_fallocate64_l64): Likewise.
23565         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23566         (posix_fallocate): Likewise.
23567         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23568         Likewise.
23569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23570         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23571         (getifaddrs_internal): Likewise.
23572         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23573         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23574         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23575         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23576         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23577         (__posix_fallocate64_l64): Likewise.
23578         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23581         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23582         (__get_clockfreq): Likewise.
23583         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23584         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23585         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23588         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23589         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23591         Likewise.
23592         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23593         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23594         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23595         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23596         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23597         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23598         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23599         Likewise.
23600         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23601         (posix_fallocate): Likewise.
23602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23603         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23604         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23605         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23606         (elf_machine_rela, elf_machine_rela_relative)
23607         (elf_machine_lazy_rel): Likewise.
23608         * time/asctime.c (asctime_internal): Likewise.
23609         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23610         * time/tzset.c (__tzset_parse_tz): Likewise.
23611         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23612         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23613         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23614         * wcsmbs/wcsmbsload.h: Likewise.
23616         [BZ #15894]
23617         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23619         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23620         (arena_get2): Remove THREAD_STATS conditionals.
23621         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23622         (__malloc_stats, int): Likewise.
23624 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23626         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23627         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23629         * manual/setjmp.texi: Fix typos/grammar errors.
23631         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23632         Only return early when n is <= 0.  Delete unused return statement.
23634         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23635         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23636         * debug/tst-longjmp_chk3.c: New file.
23638         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23639         (test_main): Replace code with set_fortify_handler call.
23640         * debug/test-strcpy_chk.c: Likewise.
23641         * debug/tst-chk1.c: Likewise.
23642         * debug/tst-longjmp_chk.c: Likewise.
23643         * test-skeleton.c: Include fcntl.h & paths.h
23644         (set_fortify_handler): Define.
23646         * debug/tst-longjmp_chk.c: Add header comment and include
23647         ../test-skeleton.c.
23648         (do_test): Mark static.
23649         (TEST_FUNCTION): Define.
23651         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23652         (IP_PMTUDISC_INTERFACE): Likewise.
23653         (IP_MULTICAST_IF): Likewise.
23654         (IP_MULTICAST_TTL): Likewise.
23655         (IP_MULTICAST_LOOP): Likewise.
23656         (IP_ADD_MEMBERSHIP): Likewise.
23657         (IP_DROP_MEMBERSHIP): Likewise.
23658         (IP_UNBLOCK_SOURCE): Likewise.
23659         (IP_BLOCK_SOURCE): Likewise.
23660         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23661         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23662         (IP_MSFILTER): Likewise.
23663         (MCAST_JOIN_GROUP): Likewise.
23664         (MCAST_BLOCK_SOURCE): Likewise.
23665         (MCAST_UNBLOCK_SOURCE): Likewise.
23666         (MCAST_LEAVE_GROUP): Likewise.
23667         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23668         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23669         (MCAST_MSFILTER): Likewise.
23670         (IP_MULTICAST_ALL): Likewise.
23671         (IP_UNICAST_IF): Likewise.
23673         * timezone/Makefile: Delete $(have-ksh) check.
23674         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23675         * timezone/tzselect.ksh: Add +x mode bits.
23677         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23678         (ANON_INODE_FS_MAGIC): Likewise.
23679         (BDEVFS_MAGIC): Likewise.
23680         (BINFMTFS_MAGIC): Likewise.
23681         (BTRFS_TEST_MAGIC): Likewise.
23682         (CRAMFS_MAGIC_WEND): Likewise.
23683         (DEBUGFS_MAGIC): Likewise.
23684         (ECRYPTFS_SUPER_MAGIC): Likewise.
23685         (EXT3_SUPER_MAGIC): Likewise.
23686         (EXT4_SUPER_MAGIC): Likewise.
23687         (FUTEXFS_SUPER_MAGIC): Likewise.
23688         (HOSTFS_SUPER_MAGIC): Likewise.
23689         (HUGETLBFS_MAGIC): Likewise.
23690         (MINIX3_SUPER_MAGIC): Likewise.
23691         (MTD_INODE_FS_MAGIC): Likewise.
23692         (NILFS_SUPER_MAGIC): Likewise.
23693         (OPENPROM_SUPER_MAGIC): Likewise.
23694         (PIPEFS_MAGIC): Likewise.
23695         (PSTOREFS_MAGIC): Likewise.
23696         (QNX6_SUPER_MAGIC): Likewise.
23697         (RAMFS_MAGIC): Likewise.
23698         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23699         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23700         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23701         (SECURITYFS_MAGIC): Likewise.
23702         (SELINUX_MAGIC): Likewise.
23703         (SMACK_MAGIC): Likewise.
23704         (SOCKFS_MAGIC): Likewise.
23705         (SQUASHFS_MAGIC): Likewise.
23706         (STACK_END_MAGIC): Likewise.
23707         (TMPFS_MAGIC): Likewise.
23708         (USBDEVICE_SUPER_MAGIC): Likewise.
23709         (V9FS_MAGIC): Likewise.
23710         (XENFS_SUPER_MAGIC): Likewise.
23711         (CRAMFS_MAGIC): Fix typo in comment.
23712         (EXT2_SUPER_MAGIC): Update comment.
23713         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23715 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23717         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23718         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23719         * sysdeps/unix/sysv/linux/arm: Move directory from
23720         ports/sysdeps/unix/sysv/linux/arm.
23721         * README: Update listing for arm-*-linux-gnueabi.
23723         * README: Remove mention of am33.
23725 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23727         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23728         than the comma operator, to avoid "rhs of comma has no effect"
23729         compiler warnings.
23730         (__sigfillset, __sigandset, __sigorset): Likewise.
23731         * include/signal.h (__sigemptyset): Likewise.
23732         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23734 2014-02-07  Allan McRae  <allan@archlinux.org>
23736         * version.h (RELEASE): Set to "development".
23737         (VERSION): Set to "2.19.90"
23738         * NEWS: Add 2.20 section.
23740 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23742         [BZ #16529]
23743         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23745 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23747         * manual/contrib.texi: Update entry for Carlos O'Donell,
23748         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23750 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23752         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23754         * sysdeps/unix/sysv/linux/kernel-features.h
23755         [__LINUX_KERNEL_VERSION >= 0x020621]
23756         (__ASSUME_PROC_PID_TASK_COMM): Define.
23758 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23760         [BZ #16398]
23761         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23762         conversion when destination buffer does not have enough space.
23763         * libio/tst-ftell-partial-wide.c: New test case.
23764         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23766         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23767         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23768         Leonard and Allan McRae.
23770 2014-02-04  David S. Miller  <davem@davemloft.net>
23772         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23773         32-bit.
23775 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23778         New file
23779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23780         New file
23781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23782         New file.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23784         New file.
23785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23786         New file.
23787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23788         New file.
23789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23790         New file.
23791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23792         New file.
23793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23794         New file.
23795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23796         New file.
23797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23798         New file.
23799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23800         New file.
23801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23802         New file.
23804 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23806         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23807         * shlib-versions: Likewise.
23809 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23812         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23813         (abilist-pattern): New variable, set to %-le.abilist.
23815         * Makerules (abilist-pattern): New variable.
23816         (vpath): Use $(abilist-pattern) in place of %.abilist.
23817         (check-abi-% pattern rule): Likewise.
23818         (check-abi, update-abi): Likewise.
23820 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23824 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23826         * manual/startup.texi: Add next, previous, and top entries for
23827         the `Program Arguments' and `Environment Variables' nodes.
23829 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23831         * manual/macros.texi: Add comments before MTASC-safety macros.
23833         * manual/users.texi: Document MTASC-safety properties.
23835         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23836         (pthread_getspecific, pthread_setspecific): Format with
23837         @deftypefun, and add @safety note.
23838         * manual/signal.texi: Move comments that analyze the above
23839         functions to their home place.
23841 2014-02-03  Allan McRae  <allan@archlinux.org>
23843         * po/sl.po: Update Slovenian translation from translation project.
23845 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23847         * manual/time.texi (timegm): Add missing blank after @c.
23848         Reported by Joseph Myers <joseph@codesourcery.com>.
23850 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23852         * manual/check-safety.sh: New.
23853         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23855         * manual/terminal.texi: Document MTASC-safety properties.
23857         * manual/filesys.texi: Document MTASC-safety properties.
23859         * manual/errno.texi: Document MTASC-safety properties.
23861         * manual/intro.texi: Document safety identifiers and
23862         conditionals.
23864         * manual/string.texi (wcstok): Fix prototype.
23865         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23867         * manual/time.texi: Document MTASC-safety properties.
23869         * manual/string.texi: Document MTASC-safety properties.
23871         * manual/threads.texi: Document MTASC-safety properties.
23873         * manual/stdio.texi: Document MTASC-safety properties.
23875         * manual/syslog.texi: Document MTASC-safety properties.
23877         * manual/sysinfo.texi: Document MTASC-safety properties.
23879         * manual/startup.texi: Document MTASC-safety properties.
23881         * manual/socket.texi: Document MTASC-safety properties.
23883         * manual/signal.texi: Document MTASC-safety properties.
23885 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23887         * manual/setjmp.texi: Document MTASC-safety properties.
23889         * manual/search.texi: Document MTASC-safety properties.
23891         * manual/resource.texi: Document MTASC-safety properties.
23893         * manual/process.texi: Document MTASC-safety properties.
23895         * manual/platform.texi: Document MTASC-safety properties.
23897         * manual/pipe.texi: Document MTASC-safety properties.
23899         * manual/pattern.texi: Document MTASC-safety properties.
23901         * manual/message.texi: Document MTASC-safety properties.
23903         [BZ #12751]
23904         * manual/memory.texi: Document MTASC-safety properties.
23906         * manual/math.texi: Document MTASC-safety properties.
23908         * manual/locale.texi: Document MTASC-safety properties.
23910         * manual/llio.texi: Document MTASC-safety properties.
23912         * manual/libdl.texi: New.
23914         * manual/lang.texi: Document MTASC-safety properties.
23916         * manual/job.texi: Document MTASC-safety properties.
23918         * manual/getopt.texi: Document MTASC-safety properties.
23920         * manual/ctype.texi: Document MTASC-safety properties.
23922 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23924         [BZ #16046]
23925         * csu/libc-tls.c (static_map): Remove variable.
23926         (__libc_setup_tls): Use main executable's link map for TLS data.
23927         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23928         casing for LM_ID_BASE and GL(dl_nns).
23929         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23930         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23931         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23932         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23933         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23934         member.
23935         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23936         l_phnum members.
23938 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23940         * manual/debug.texi: Document MTASC-safety properties.
23942 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23944         [BZ #16510]
23945         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23946         of __x86_64__ when disabling x87 inline functions.
23948 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23950         * manual/charset.texi: Document MTASC-safety properties.
23952         * manual/crypt.texi: Document MTASC-safety properties.
23954         * manual/conf.texi: Document MTASC-safety properties.
23956         * manual/arith.texi: Document MTASC-safety properties.
23958         * manual/argp.texi: Document MTASC-safety properties.
23960         * manual/macros.texi: Introduce macros to document multi
23961         thread, asynchronous signal and asynchronous cancellation
23962         safety properties.
23963         * manual/intro.texi: Introduce the properties themselves.
23965 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23967         * sysdeps/sh/sh4/Makefile: New file.
23969 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23971         * math/gen-libm-test.pl ($srcdir): New variable.
23972         ($auto_input): Use it.
23974 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23976         [BZ #16506]
23977         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23978         access beyond array bounds when parsing netgroups file.
23980         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23981         the old buffer before realloc.
23983 2014-01-27  Allan McRae  <allan@archlinux.org>
23985         * po/fr.po: Update French translation from translation project.
23987 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23989         * sysdeps/sh/libm-test-ulps: Regenerate.
23991 2014-01-24  David S. Miller  <davem@davemloft.net>
23993         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23995 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23997         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23998         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24000 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24002         [BZ #16474]
24003         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24004         string pointers after reallocation.
24006 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24008         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24009         __SH4A__ instead of __SH_FPU_ANY__.
24011 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24013         * sysdeps/sh/fpu_control.h: New file.
24014         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24015         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24016         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24017         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24018         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24019         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24020         * sysdeps/sh/sys/ucontext.h: Remove.
24021         * sysdeps/sh/sys: Remove directory.
24023 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24025         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24026         s390/sys/ucontext.h.
24027         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24028         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24030 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24032         [BZ #15605]
24033         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24035 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24037         [BZ#16431]
24038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24039         Adjust the vDSO correctly for internal calls.
24040         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24042 2014-01-20  Allan McRae  <allan@archlinux.org>
24044         * po/ca.po: Update Catalan translation from translation project.
24046 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24048         * sysdeps/s390/sotruss-lib.c: New file.
24050 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24052         [BZ#16430]
24053         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24054         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24055         local calls issues by not having a PLT stub required for IFUNC calls.
24056         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24058 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24060         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24061         * math/test-fpucw-static.c: Likewise.
24063 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24065         [BZ #16453]
24066         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24068 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24070         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24071         implementation for powerpc.
24073 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24075         [BZ #14782]
24076         * sysdeps/posix/system.c (__libc_system): Do not enable
24077         asynchronous cancellation.
24079 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24081         [BZ #16427]
24082         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24083         handling only for numbers special also in the IEEE case.
24085 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24087         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24089 2014-01-11  Allan McRae  <allan@archlinux.org>
24091         * po/bg.po: Update Bulgarian translation from translation project.
24093         * po/de.po: Update German translation from translation project.
24095 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24097         * sysdeps/generic/gcc-compat.h: New file.
24099 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24101         * benchtests/asin-inputs: Correct slow inputs.
24102         * benchtests/acos-inputs: Likewise.
24104 2014-01-10  Allan McRae  <allan@archlinux.org>
24106         * po:sv.po: Update Swedish translation from translation project.
24108         * po/vi.po: Update Vietnamese translation from translation project.
24110         * po/eo.po: Update Esperanto translation from translation project.
24112         * po/cs.po: Update Czech translation from translation project.
24114         * po/nl.po: Update Dutch translation from translation project.
24116         * po/pl.po: Update Polish translation from translation project.
24118         * po/ru.po: Update Russian translation from translation project.
24120         * po/uk.po: Update Ukrainian translation from translation project.
24122 2014-01-08  Brooks Moses  <bmoses@google.com>
24124         * elf/dl-load.c: Fix comment typo.
24126 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24128         * po/header.pot: Rename to...
24129         * po/pot.header: ... this.
24130         * po/Makefile: Use pot.header.
24132 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24133             Maxim Kuvyrkov  <maxim@kugelworks.com>
24135         [BZ #16394]
24136         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24137         SRC and DEST against LEN.
24139 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24141         [BZ #16414]
24142         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24143         implementation.
24144         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24146 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24150 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24152         [BZ #16408]
24153         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24154         for large positive arguments.
24156 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24158         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24160         * math/auto-libm-test-in: Mark various tests with
24161         xfail-rounding:ldbl-128ibm.
24162         * math/auto-libm-test-out: Regenerated.
24164         [BZ #16407]
24165         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24166         Increase overflow threshold.
24168 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24170         [BZ #14286]
24171         * stdio-common/vfprintf.c: Check for integer overflow.
24173 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24175         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24176         the first argument and return value of __tls_get_addr_internal.
24178 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24180         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24181         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24185         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24186         * sysdeps/s390/rtld-global-offsets.sym: New file.
24187         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24188         GLIBC_2.19 symbol.
24189         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24192         ... this.
24193         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24194         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24195         ... this.
24196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24197         Regenerate.
24198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24199         Regenerate.
24200         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24201         halfs of GPRs for high_gprs contexts.
24202         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24203         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24204         field.
24205         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24206         uc_flags field.
24207         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24208         64 bit versions:
24209         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24210         for high GPRs (uc_high_gprs) and for future extensions
24211         (__reserved).
24212         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24213         for future extensions (__reserved).
24214         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24215         64 bit versions:
24216         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24217         SC_HIGHGPRS offset definition.
24218         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24219         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24221         * Versions.def: Add GLIBC_2.19 for libpthread.
24222         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24223         siglongjmp for libpthread with GLIBC_2.19 symver.
24224         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24225         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24226         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24227         * sysdeps/s390/__longjmp.c: New file.
24228         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24229         * sysdeps/s390/longjmp.c: New file.
24230         * sysdeps/s390/setjmp.S: New file.
24231         * sysdeps/s390/sigjmp.S: New file.
24232         * sysdeps/s390/v1-longjmp.c: New file.
24233         * sysdeps/s390/v1-setjmp.h: New file.
24234         * sysdeps/s390/v1-sigjmp.c: New file.
24235         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24236         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24237         GLIBC_2.19 version.
24238         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24239         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24240         versioned symbols for ____longjmp_chk.
24241         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24244         Regenerate.
24245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24246         Regenerate.
24247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24248         Regenerate.
24249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24250         Regenerate.
24251         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24252         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24253         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24254         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24255         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24256         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24257         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24258         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24259         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24260         * sysdeps/s390/rtld-__longjmp.c: New file.
24261         * sysdeps/s390/rtld-setjmp.S: New file.
24263 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24265         [BZ #16400]
24266         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24267         Return -__logl (x) for small positive arguments without evaluating
24268         a polynomial.
24270 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24272         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24273         Rename to ...
24274         (__ptrace_peeksiginfo_args): ... this.
24275         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24277         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24279 2014-01-06  Allan McRae  <allan@archlinux.org>
24281         * inet/netinet/in.h: Fix typo in comment.
24283 2014-01-05  Andreas Jaeger  <aj@suse.de>
24285         * sysdeps/i386/fpu/libm-test-ulps: Update.
24287 2014-01-05  Allan McRae  <allan@archlinux.org>
24289         * po/libc.pot: Regenerated.
24291         * malloc/memusagestat.c: Fix gettext call formatting.
24293 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24295         * nscd/nscd.c: Improve usage() output.
24297 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24299         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24300         * sysdeps/unix/sysv/linux/configure: Regenerated.
24301         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24302         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24304 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24306         [BZ #16390]
24307         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24308         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24310 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24313         extra tokens at end of #undef directive.
24314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24315         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24318 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24322         * math/auto-libm-test-in: Mark various tests with
24323         xfail-rounding:ldbl-128ibm.
24324         * math/auto-libm-test-out: Regenerated.
24326 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24328         [BZ #16386]
24329         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24330         numbers with subnormal high part when calculating exponent.
24332         [BZ #16385]
24333         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24334         fabs.
24336         [BZ #16384]
24337         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24338         M_LN2l.
24339         (__ieee754_acoshl): Use __log1pl not __log1p.
24341 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24343         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24344         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24345         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24346         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24347         (reused_arena, arena_get2): Convert to GNU style.
24348         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24349         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24350         (memalign_check, __malloc_set_state): Likewise.
24351         * malloc/mallocbug.c (main): Likewise.
24352         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24353         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24354         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24355         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24356         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24357         (__posix_memalign, malloc_info): Likewise.
24358         * malloc/malloc.h: Likewise.
24359         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24360         (mallochook, memalignhook, reallochook, mabort): Likewise.
24361         * malloc/mcheck.h: Likewise.
24362         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24363         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24364         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24365         * malloc/morecore.c (__default_morecore): Likewise.
24366         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24367         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24368         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24369         (print_and_abort): Likewise.
24370         * malloc/obstack.h: Likewise.
24371         * malloc/set-freeres.c (__libc_freeres): Likewise.
24372         * malloc/tst-mallocstate.c (main): Likewise.
24373         * malloc/tst-mtrace.c (main): Likewise.
24374         * malloc/tst-realloc.c (do_test): Likewise.
24376 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24378         [BZ #16366]
24379         * nscd/netgroupcache.c (do_notfound): New function.
24380         (addgetnetgrentX): Use it.
24382         [BZ # 16365]
24383         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24384         NSS_STATUS_NOTFOUND.
24386 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24388         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24391 2014-01-01  Allan McRae  <allan@archlinux.org>
24393         * scripts/update-copyrights: Update configure input file suffix.
24395         * NEWS: Update copyright year.
24396         * catgets/gencat.c: Likewise.
24397         * csu/version.c: Likewise.
24398         * debug/catchsegv.sh: Likewise.
24399         * debug/pcprofiledump.c: Likewise.
24400         * debug/xtrace.sh: Likewise.
24401         * elf/ldconfig.c: Likewise.
24402         * elf/ldd.bash.in: Likewise.
24403         * elf/pldd.c: Likewise.
24404         * elf/sotruss.ksh: Likewise.
24405         * elf/sprof.c: Likewise.
24406         * iconv/iconv_prog.c: Likewise.
24407         * iconv/iconvconfig.c: Likewise.
24408         * locale/programs/locale.c: Likewise.
24409         * locale/programs/localedef.c: Likewise.
24410         * login/programs/pt_chown.c: Likewise.
24411         * malloc/memusage.sh: Likewise.
24412         * malloc/memusagestat.c: Likewise.
24413         * malloc/mtrace.pl: Likewise.
24414         * manual/libc.texinfo: Likewise.
24415         * nscd/nscd.c: Likewise.
24416         * nss/getent.c: Likewise.
24417         * nss/makedb.c: Likewise.
24418         * posix/getconf.c: Likewise.
24419         * scripts/test-installation.pl: Likewise.
24421         * All files with FSF copyright notices: Update copyright dates
24422         using scripts/update-copyrights.
24423         * intl/plural.c: Regenerated.
24424         * locale/programs/charmap-kw.h: Likewise.
24425         * locale/programs/locfile-kw.h: Likewise.
24427 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24429         * sysdeps/unix/sysv/linux/configure: Regenerated.
24430         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24431         the linux/fanotify.h header.
24432         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24433         HAVE_LINUX_FANOTIFY_H is defined.
24435 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24437         * benchtests/cos-inputs: New inputs.
24438         * benchtests/sin-inputs: Likewise.
24440         * benchtests/atan-inputs: New inputs. Fix name of multiple
24441         precision fallback inputs.
24443         * benchtests/atanh-inputs: New inputs.
24444         * benchtests/tanh-inputs: Likewise.
24446         * benchtests/acosh-inputs: New inputs.
24447         * benchtests/asinh-inputs: Likewise.
24449         * benchtests/cosh-inputs: New inputs.
24450         * benchtests/sinh-inputs: Likewise.
24452         * benchtests/acos-inputs: Add more inputs.
24453         * benchtests/asin-inputs: Likewise.
24455 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24457         [BZ #16375]
24458         * manual/arith.texi: Fix spelling.
24459         * manual/charset.texi: Likewise.
24460         * manual/errno.texi: Likewise.
24461         * manual/filesys.texi: Likewise.
24462         * manual/lang.texi: Likewise.
24463         * manual/llio.texi: Likewise.
24464         * manual/locale.texi: Likewise.
24465         * manual/message.texi: Likewise.
24466         * manual/resource.texi: Likewise.
24467         * manual/search.texi: Likewise.
24468         * manual/setjmp.texi: Likewise.
24469         * manual/stdio.texi: Likewise.
24470         * manual/string.texi: Likewise.
24471         * manual/sysinfo.texi: Likewise.
24472         * manual/time.texi: Likewise.
24474 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24476         * po/sl.po: New file.
24478 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24480         * .gitignore: Add core/.gdbinit/.gdb_history.
24482 2013-12-27  Allan McRae  <allan@archlinux.org>
24484         [BZ #16369]
24485         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24486         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24488 2013-12-24  Brooks Moses  <bmoses@google.com>
24490         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24491         all compilers that claim C++98 compliance, not just GCC.
24492         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24493         Likewise.
24495 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24497         * NEWS: Restore accidentally deleted bug-fix entries.
24499 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24500             Ondřej Bílka  <neleai@seznam.cz>
24502         [BZ #15073]
24503         * malloc/malloc.c (_int_free): Perform sanity check only if we
24504         have_lock.
24506 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24508         [BZ #12986]
24509         * manual/stdio.texi (String Input Conversions): Clarify that character
24510         classes are not supported.
24512 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24516 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24518         [BZ #16337]
24519         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24520         Calculate results for small negative arguments directly rather
24521         than using reflection formula with special underflow handling.
24523         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24524         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24525         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24526         (fchflags): Likewise.
24527         (revoke): Likewise.
24528         (setlogin): Likewise.
24529         (sigaltstack): Likewise.
24530         (wait4): Likewise.
24531         (sigblock): Remove.
24532         (sigsetmask): Likewise.
24533         (wait3): Likewise.
24534         (waitpid): Likewise.
24535         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24536         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24537         file.
24538         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24539         * sysdeps/unix/bsd/Makefile: ... here.
24540         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24541         * sysdeps/unix/bsd/Versions: ... here.
24542         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24543         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24544         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24545         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24546         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24547         * sysdeps/unix/bsd/sigblock.c: ... here.
24548         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24549         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24550         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24551         * sysdeps/unix/bsd/sigvec.c: ... here.
24552         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24553         * sysdeps/unix/bsd/tcdrain.c: ... here.
24554         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24555         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24556         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24557         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24558         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24559         * sysdeps/unix/bsd/wait.c: ... here.
24560         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24561         * sysdeps/unix/bsd/wait3.c: ... here.
24562         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24563         * sysdeps/unix/bsd/waitpid.c: ... here.
24565 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24567         [BZ #16356]
24568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24569         round-to-nearest for [!USE_AS_EXPM1L].
24570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24571         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24572         more tests of exp and exp10.  Expect some exp10 tests to miss
24573         exceptions or fail in directed rounding modes.
24574         * math/auto-libm-test-out: Regenerated.
24575         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24576         (exp10_test_tonearest): New function.
24577         (exp10_towardzero_test_data): New array.
24578         (exp10_test_towardzero): New function.
24579         (exp10_downward_test_data): New array.
24580         (exp10_test_downward): New function.
24581         (exp10_upward_test_data): New array.
24582         (exp10_test_upward): New function.
24583         (main): Call the new functions.
24584         * sysdeps/i386/fpu/libm-test-ulps: Update.
24585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24587 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24589         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24590         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24591         * math/auto-libm-test-out: Regenerated.
24592         * math/libm-test.inc (acosh_test_data): Add more tests.
24593         (atanh_test_data): Likewise.
24594         (ceil_test_data): Likewise.
24595         (copysign_test_data): Likewise.
24596         * sysdeps/i386/fpu/libm-test-ulps: Update.
24597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24599         * timezone/checktab.awk: Update from tzcode 2013i.
24600         * timezone/private.h: Likewise.
24601         * timezone/scheck.c: Likewise.
24602         * timezone/tzfile.h: Likewise.
24603         * timezone/tzselect.ksh: Likewise.
24604         * timezone/zdump.c: Likewise.
24605         * timezone/zic.c: Likewise.
24607         * math/auto-libm-test-in: Add tests of cpow.
24608         * math/auto-libm-test-out: Regenerated.
24609         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24611         mpc_cc_c.
24612         (func_calc_desc): Add mpc_cc_c union field.
24613         (test_functions): Add cpow.
24614         (special_fill_2pi): New function.
24615         (special_real_inputs): Add 2pi.
24616         (calc_generic_results): Handle mpc_cc_c.
24617         * sysdeps/i386/fpu/libm-test-ulps: Update.
24618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24621         csqrt, ctan and ctanh.
24622         * math/auto-libm-test-out: Regenerated.
24623         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24624         (TEST_COND_x86): Likewise.
24625         (ccos_test_data): Use AUTO_TESTS_c_c.
24626         (ccosh_test_data): Likewise.
24627         (cexp_test_data): Likewise.
24628         (clog_test_data): Likewise.
24629         (csqrt_test_data): Likewise.
24630         (ctan_test_data): Likewise.
24631         (ctan_tonearest_test_data): Likewise.
24632         (ctan_towardzero_test_data): Likewise.
24633         (ctan_downward_test_data): Likewise.
24634         (ctan_upward_test_data): Likewise.
24635         (ctanh_test_data): Likewise.
24636         (ctanh_tonearest_test_data): Likewise.
24637         (ctanh_towardzero_test_data): Likewise.
24638         (ctanh_downward_test_data): Likewise.
24639         (ctanh_upward_test_data): Likewise.
24640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24641         mpc_c_c.
24642         (func_calc_desc): Add mpc_c_c union field.
24643         (FUNC_mpc_c_c): New macro.
24644         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24645         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24646         ctanh.
24647         (special_fill_min_subnorm_p120): New function.
24648         (special_real_inputs): Add min_subnorm_p120.
24649         (calc_generic_results): Handle mpc_c_c.
24650         * sysdeps/i386/fpu/libm-test-ulps: Update.
24651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24653 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24656         (do_sin_slow): New functions.
24657         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24658         (cslow2, csloww1, csloww2): Use the new functions.
24660         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24661         Use M to change sign of result instead of X.  Assume X is
24662         positive.
24663         (csloww1): Likewise.
24664         (__sin): Adjust.
24665         (__cos): Adjust.
24667         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24668         arguments A and DA.
24669         (__sin): Adjust.
24670         (__cos): Likewise.
24672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24673         (__cos): Likewise.
24674         (sloww1): Don't adjust sign of DX.
24675         (csloww1): Likewise.
24676         (sloww2): Use X directly and don't adjust sign of DX.
24677         (csloww2): Likewise.
24679 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24681         * math/auto-libm-test-in: Add tests of cabs and carg.
24682         * math/auto-libm-test-out: Regenerated.
24683         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24684         (carg_test_data): Likewise.
24685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24686         mpc_c_f.
24687         (func_calc_desc): Add mpc_c_f union field.
24688         (test_functions): Add cabs and carg.
24689         (calc_generic_results): Handle mpc_c_f.
24691         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24692         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24693         as a macro and a compat symbol.
24694         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24695         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24696         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24697         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24698         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24700         not use .hidden.
24701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24702         Likewise.
24703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24704         Likewise.
24705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24706         Likewise.
24707         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24708         Likewise.
24709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24710         Likewise.
24711         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24712         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24713         from GLIBC_2.3.2.
24715 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24719 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24721         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24722         trailing whitespace removed.
24723         * scripts/config.guess: Update to version 2013-11-29.
24724         * scripts/config.sub: Update to version 2013-10-01.
24726         * math/auto-libm-test-in: Add tests of sincos.
24727         * math/auto-libm-test-out: Regenerated.
24728         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24730         mpfr_f_11.
24731         (func_calc_desc): Add mpfr_f_11 union field.
24732         (test_functions): Add sincos.
24733         (calc_generic_results): Handle mpfr_f_11.
24734         * sysdeps/i386/fpu/libm-test-ulps: Update.
24735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24737 2013-12-19  Andreas Schwab  <schwab@suse.de>
24739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24740         CALL_MCOUNT.
24741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24743         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24745 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24747         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24748         * sysdeps/i386/fpu/libm-test-ulps: Update.
24749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24751         [BZ #16293]
24752         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24753         round-to-nearest mode when using frndint.
24754         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24755         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24757         Likewise.
24758         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24759         sinh test to fail.
24760         * math/auto-libm-test-out: Regenerated.
24761         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24762         (TEST_COND_x86): Likewise.
24763         (expm1_tonearest_test_data): New array.
24764         (expm1_test_tonearest): New function.
24765         (expm1_towardzero_test_data): New array.
24766         (expm1_test_towardzero): New function.
24767         (expm1_downward_test_data): New array.
24768         (expm1_test_downward): New function.
24769         (expm1_upward_test_data): New array.
24770         (expm1_test_upward): New function.
24771         (main): Run the new test functions.
24772         * sysdeps/i386/fpu/libm-test-ulps: Update.
24773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24775         * include/features.h: Update comment documenting feature test
24776         macros.  Mention _DEFAULT_SOURCE in comment.
24777         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24778         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24779         _BSD_SOURCE and _SVID_SOURCE.
24780         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24781         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24782         !_SVID_SOURCE]: Likewise.
24783         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24784         (__USE_POSIX_IMPLICITLY): Define.
24785         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24786         (_POSIX_SOURCE): Undefine and redefine.
24787         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24788         (_POSIX_C_SOURCE): Likewise.
24789         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24790         (Feature Test Macros): Update documentation of default features.
24792 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24794         * benchtests/Makefile: Add bench-strtok.
24795         * benchtests/bench-strtok.c: New file: strtok benchtest.
24797 2013-12-19  Allan McRae  <allan@archlinux.org>
24799         * manual/install.texi: Suppress menu for plain text output.
24800         * INSTALL: Regenerated.
24802 2013-12-18  Brooks Moses  <bmoses@google.com>
24804         [BZ #15846]
24805         * misc/getauxval.c: Include errno.h.
24806         (__getauxval): Set errno to ENOENT if the requested type is not
24807         found.
24808         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24809         don't declare with __attribute_const__.
24810         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24811         * manual/startup.texi: Document that getauxval sets errno.
24813 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24815         * math/auto-libm-test-in: Add tests of jn and yn.
24816         * math/auto-libm-test-out: Regenerated.
24817         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24818         (yn_test_data): Likewise.
24819         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24820         mpfr_if_f.
24821         (func_calc_desc): Add mpfr_if_f union field.
24822         (FUNC_mpfr_if_f): New macro.
24823         (test_functions): Add jn and yn.
24824         (calc_generic_results): Assert type of second input for
24825         mpfr_ff_f.  Handle mpfr_if_f.
24826         (output_for_one_input_case): Disable all checking for arguments
24827         fitting floating-point types in case of an integer argument.
24828         * sysdeps/i386/fpu/libm-test-ulps: Update.
24829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24832         Don't expect fegetround reference in libm.so.
24834 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24836         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24837         $(config-cflags-nofma).
24839 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24841         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24842         * math/auto-libm-test-out: Regenerated.
24844         [BZ #16338]
24845         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24846         to determine exponent and adjust argument to have exponent of -1.
24847         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24848         log2.
24849         * math/auto-libm-test-out: Regenerated.
24850         * sysdeps/i386/fpu/libm-test-ulps: Update.
24851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24853 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24855         * manual/probes.texi: Remove cases when per-thread arenas are
24856         disabled.
24858 2013-12-18  Andreas Schwab  <schwab@suse.de>
24860         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24861         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24862         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24863         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24864         * sysdeps/i386/i686/multiarch/Makefile: Update.
24865         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24867 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24869         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24870         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24872 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24874         [BZ #15968]
24875         Support TZ transition times < 00:00:00.
24876         This is needed for version-3 tz-format files; it supports time
24877         stamps past 2037 for America/Godthab (the only entry in the tz
24878         database for which this change is relevant).
24879         * manual/time.texi (TZ Variable): Document transition times
24880         from -167:59:59 through -00:00:01.
24881         * time/tzset.c (tz_rule): Time of day is now signed.
24882         (__tzset_parse_tz): Parse negative time of day.
24884         Document TZ transition times >= 25:00:00.
24885         * manual/time.texi (TZ Variable): Document transition times from
24886         25:00:00 through 167:59:59.  These are already supported, and this
24887         support will help with version-3 tz-format files.
24889         * manual/time.texi (TZ Variable): Modernize North America example
24890         to reflect current (i.e., 2007-and-later) daylight saving rules.
24892         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24896         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24897         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24900         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24901         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24902         * sysdeps/unix/bsd/clock.c: Likewise.
24903         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24904         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24905         * sysdeps/unix/bsd/init-posix.c: Likewise.
24906         * sysdeps/unix/bsd/poll.c: Likewise.
24907         * sysdeps/unix/bsd/ptsname.c: Likewise.
24908         * sysdeps/unix/bsd/seekdir.c: Likewise.
24909         * sysdeps/unix/bsd/setegid.c: Likewise.
24910         * sysdeps/unix/bsd/seteuid.c: Likewise.
24911         * sysdeps/unix/bsd/setgid.c: Likewise.
24912         * sysdeps/unix/bsd/setrgid.c: Likewise.
24913         * sysdeps/unix/bsd/setruid.c: Likewise.
24914         * sysdeps/unix/bsd/setsid.c: Likewise.
24915         * sysdeps/unix/bsd/setuid.c: Likewise.
24916         * sysdeps/unix/bsd/sigaction.c: Likewise.
24917         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24918         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24919         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24920         * sysdeps/unix/bsd/telldir.c: Likewise.
24921         * sysdeps/unix/bsd/times.c: Likewise.
24922         * sysdeps/unix/bsd/usleep.c: Likewise.
24924         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24925         ($(objpfx)libbsd-compat.a): Remove rule.
24927         * include/features.h (__FAVOR_BSD): Do not define.
24928         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24929         features conflicting with POSIX.
24930         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24931         (_BSD_SOURCE): Remove description of not being a subset of other
24932         feature test macros.
24933         * manual/job.texi (getpgrp): Do not document BSD version.
24934         (getpgid): Do not document by reference to BSD getpgrp.
24935         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24936         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24937         * signal/signal.h [__FAVOR_BSD]: Likewise.
24938         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24939         instead of making contents conditional on [__FAVOR_BSD].
24940         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24942 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24946 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24948         [BZ #16314]
24949         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24950         values below 2**-450, not 2**-500.
24951         * math/auto-libm-test-in: Don't allow spurious underflow from
24952         hypot.
24953         * math/auto-libm-test-out: Regenerated.
24955         [BZ #16316]
24956         [BZ #16330]
24957         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24958         values of ha and hb and sort them after adjusting subnormal
24959         arguments.
24960         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24961         Likewise.
24962         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24963         values of ea and eb and sort them after adjusting subnormal
24964         arguments.
24965         * math/auto-libm-test-in: Do not expect some hypot tests of
24966         subnormals to fail.  Add more hypot tests.
24967         * math/auto-libm-test-out: Regenerated.
24969 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24971         [BZ #13304]
24972         * sysdeps/sh/s_fma.c: New file.
24973         * sysdeps/sh/s_fmaf.c: New file.
24974         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24975         version.
24976         * sysdeps/sh/Implies: Add sh/soft-fp.
24978 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24980         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24981         level of indirection to members `objname', `errstring', `malloced'.
24982         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24983         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24984         it as the __longjmp argument (just pass 1 instead).
24985         (_dl_catch_error): Initialize C with argument pointers and address of
24986         volatile local ERRCODE rather than copying values out of C at return.
24988 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24990         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24991         * math/auto-libm-test-out: Regenerated.
24992         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24993         (hypot_test_data): Likewise.
24994         (pow_test_data): Likewise.
24995         (pow_tonearest_test_data): Likewise.
24996         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24997         mpfr_ff_f.
24998         (func_calc_desc): Add mpfr_ff_f union field.
24999         (FUNC_mpfr_ff_f): New macro.
25000         (test_functions): Add atan2, hypot and pow.
25001         (special_fill_min): New function.
25002         (special_fill_minus_min): Likewise.
25003         (special_fill_min_subnorm): Likewise.
25004         (special_fill_minus_min_subnorm): Likewise.
25005         (special_real_inputs): Add min, -min, min_subnorm and
25006         -min_subnorm.
25007         (calc_generic_results): Handle mpfr_ff_f.
25008         * sysdeps/i386/fpu/libm-test-ulps: Update.
25009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25011 2013-12-16  Will Newton  <will.newton@linaro.org>
25013         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25014         (Aligned Memory Blocks): Add documentation for aligned_alloc
25015         and suggest it as an alternative to posix_memalign.
25016         (Hooks for Malloc): Document __memalign_hook is also called
25017         for aligned_alloc.  (Summary of Malloc): Add summary for
25018         aligned alloc.  Document __memalign_hook is also called
25019         for aligned_alloc.
25021 2013-12-16  Will Newton  <will.newton@linaro.org>
25023         * manual/memory.texi (Malloc Examples): Clarify default
25024         alignment documentation.  Suggest posix_memalign rather
25025         than memalign or valloc.
25026         (Aligned Memory Blocks): Remove suggestion to use memalign
25027         or valloc.  Remove obsolete comment about BSD.
25028         Document memalign errno values and mark the function obsolete.
25029         Document posix_memalign returned error codes.  Mark valloc
25030         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25031         called for posix_memalign and valloc.
25032         (Summary of Malloc): Add posix_memalign to function summary.
25033         __memalign_hook is also called for posix_memalign and valloc.
25035 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25037         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25038         TAYLOR_SIN.
25039         (__sin): Adjust.
25040         (__cos): Likewise.
25041         (sloww): Use mynumber union.  Expand ternary operator into
25042         if-else statements.
25043         (cslow): use mynumber union.
25045 2013-12-16  Allan McRae  <allan@archlinux.org>
25047         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25048         * configure: Regenerated.
25050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25052         [BZ #14120]
25053         * configure.ac: Added --enable-maintainer-mode. Check for
25054         autoconf when enabled.
25055         * configure: Regenerated.
25057         * nscd/nscd.service: New file.
25058         * nscd/nscd.tmpfiles: New file.
25060 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25062         [BZ #12100]
25063         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25064         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25065         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25066         (strstr): Add __strstr_sse2_unaligned ifunc.
25067         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25068         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25069         (strcasestr): Remove __strcasestr_sse42 ifunc.
25070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25074 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25076         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25077         * sysdeps/sh/bits/fenv.h: ... here.
25078         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25080 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25082         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25085         hypotf multiarch implementations.
25086         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25087         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25089         multiarch hypot for PPC64.
25090         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25091         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25093         multiarch hypotf for PPC64.
25095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25096         modff multiarch implementations.
25097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25100         multiarch modf for PPC64.
25101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25104         multiarch modff for PPC64.
25106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25107         and logl multiarch implementations.
25108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25111         multiarch logb for PPC64.
25112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25115         multiarch logb for PPC64.
25116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25119         multiarch logb for PPC64.
25121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25122         isinff multiarch implementation.
25123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25124         file.
25125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25127         multiarch isinf for PPC64.
25128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25129         file.
25130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25131         multiarch isinff for PPC64.
25133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25134         finitef multiarch implementation.
25135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25136         file.
25137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25139         multiarch finite for PPC64.
25140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25141         file.
25142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25143         multiarch finitef for PPC64.
25145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25146         lrint multiarch implementation.
25147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25148         file.
25149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25151         multiarch llrint for PPC64.
25152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25153         multiarch lrint for PPC64.
25155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25156         copysignf multiarch implementation.
25157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25158         file.
25159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25160         file.
25161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25162         multiarch copysign for PPC64.
25163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25164         multiarch copysignf for PPC64.
25166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25167         multiarch implementation.
25168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25169         file.
25170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25171         file.
25172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25173         file.
25174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25175         file.
25176         multiarch llround for PPC64.
25177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25178         multiarch trunc for PPC64.
25179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25180         multiarch truncf for PPC64.
25182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25183         multiarch implementation.
25184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25185         file.
25186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25187         file.
25188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25189         file.
25190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25191         file.
25192         multiarch llround for PPC64.
25193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25194         multiarch round for PPC64.
25195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25196         multiarch roundf for PPC64.
25198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25199         multiarch implementation.
25200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25201         file.
25202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25203         file.
25204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25205         file.
25206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25207         file.
25208         multiarch llround for PPC64.
25209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25210         multiarch floor for PPC64.
25211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25212         multiarch floorf for PPC64.
25214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25215         multiarch implementation.
25216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25217         file.
25218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25219         file.
25220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25221         file.
25222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25223         file.
25224         multiarch llround for PPC64.
25225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25226         multiarch ceil for PPC64.
25227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25228         multiarch ceilf for PPC64.
25230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25231         multiarch implementation.
25232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25233         file.
25234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25235         file.
25236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25237         file.
25238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25239         multiarch llround for PPC64.
25240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25241         multiarch lround for PPC64.
25243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25244         multiarch implementation.
25245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25248         file.
25249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25252         multiarch isnan for PPC64.
25253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25254         multiarch isnanf for PPC64.
25256         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25257         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25258         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25259         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25260         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25263         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25264         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25269         multiarch implementations.
25270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25271         (__libc_ifunc_impl_list): Likewise.
25272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25273         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25275         multiarch stpcpy for PPC64.
25277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25278         multiarch implementations.
25279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25280         (__libc_ifunc_impl_list): Likewise.
25281         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25283         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25284         multiarch strcpy for PPC64.
25286         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25287         redefine function name.
25288         (_wordcopy_fwd_dest_aligned): Likewise.
25289         (_wordcopy_bwd_aligned): Likewise.
25290         (_wordcopy_bwd_dest_aligned): Likewise.
25291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25292         multiarch implementations.
25293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25294         (__libc_ifunc_impl_list): Likewise.
25295         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25299         multiarch wcscpy for PPC64.
25301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25302         multiarch implementations.
25303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25304         (__libc_ifunc_impl_list): Likewise.
25305         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25306         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25307         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25308         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25309         multiarch wcscpy for PPC64.
25311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25312         multiarch implementations.
25313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25314         (__libc_ifunc_impl_list): Likewise.
25315         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25316         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25317         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25318         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25319         multiarch wcsrchr for PPC64.
25321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25322         multiarch implementations.
25323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25324         (__libc_ifunc_impl_list): Likewise.
25325         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25326         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25327         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25328         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25329         multiarch wcschr for PPC64.
25331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25332         multiarch implementations.
25333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25334         (__libc_ifunc_impl_list): Likewise.
25335         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25336         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25337         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25338         multiarch strchrnul for PPC64.
25340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25341         implementations.
25342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25343         (__libc_ifunc_impl_list): Likewise.
25344         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25345         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25346         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25347         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25348         strchr for PPC64.
25350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25351         implementations.
25352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25353         (__libc_ifunc_impl_list): Likewise.
25354         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25357         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25358         strncmp for PPC64.
25360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25361         multiarch implementations.
25362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25363         (__libc_ifunc_impl_list): Likewise.
25364         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25365         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25366         strncasecmp for PPC64.
25367         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25368         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25369         multiarch strncasecmp_l for PPC64.
25371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25372         multiarch implementations.
25373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25374         (__libc_ifunc_impl_list): Likewise.
25375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25377         multiarch strcasecmp for PPC64.
25378         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25379         file.
25380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25381         multiarch strcasecmp_l for PPC64.
25383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25384         implementations.
25385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25386         (__libc_ifunc_impl_list): Likewise.
25387         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25388         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25389         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25390         strnlen for PPC64.
25392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25393         implementations.
25394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25395         (__libc_ifunc_impl_list): Likewise.
25396         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25397         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25398         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25399         strlen for PPC64.
25401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25402         implementations.
25403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25404         (__libc_ifunc_impl_list): Likewise.
25405         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25406         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25407         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25408         rawmemrchr for PPC64.
25410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25411         implementation.
25412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25413         (__libc_ifunc_impl_list): Likewise.
25414         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25415         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25416         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25417         memrchr for PPC64.
25419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25420         implementation.
25421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25422         (__libc_ifunc_impl_list): Likewise.
25423         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25424         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25425         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25426         memchr for PPC64.
25428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25429         implementation.
25430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25431         (__libc_ifunc_impl_list): Likewise.
25432         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25433         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25434         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25435         mempcpy for PPC64.
25437         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25438         avoid cretion of __bzero symbol.
25439         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25440         Likewise.
25441         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25442         Likewise.
25443         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25444         Likewise.
25445         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25446         multiarch implementations.
25447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25448         (__libc_ifunc_impl_list): Likewise.
25449         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25450         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25451         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25452         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25453         bzero for PPC32.
25454         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25455         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25456         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25457         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25458         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25459         memset for PPC64.
25460         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25462         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25464         implementations.
25465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25466         (__libc_ifunc_impl_list): Likewise.
25467         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25468         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25469         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25470         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25471         memcmp for PPC64.
25473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25474         multiarch for POWER/PPC64.
25475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25476         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25478         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25479         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25480         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25481         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25483         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25484         memcpy for PPC64.
25486         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25487         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25488         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25489         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25490         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25491         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25492         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25493         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25494         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25495         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25496         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25497         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25498         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25499         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25500         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25509 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25513 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25515         * benchtests/Makefile (bench): Add exp2 and log2.
25516         (LDLIBS-bench-exp2): Add -lm.
25517         (LDLIBS-bench-log2): Likewise.
25518         * benchtests/exp2-inputs: New inputs file.
25519         * benchtests/log2-inputs: New inputs file.
25520         * benchtests/log-inputs: Add new inputs.
25521         * benchtests/tan-inputs: Likewise.
25523 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25525         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25526         definition...
25527         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25528         (csloww2): ... from here.
25530         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25531         instead of structures.
25532         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25533         (POLYNOMIAL): Likewise.
25534         (TAYLOR_SLOW): Likewise.
25535         (__sin): Likewise.
25536         (__cos): Likewise.
25537         (slow1): Likewise.
25538         (slow2): Likewise.
25539         (sloww): Likewise.
25540         (sloww1); Likewise.
25541         (sloww2): Likewise.
25542         (bsloww1): Likewise.
25543         (bsloww2): Likewise.
25544         (cslow2): Likewise.
25545         (csloww): Likewise.
25546         (csloww1): Likewise.
25547         (csloww2): Likewise.
25549 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25551         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25552         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25553         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25554         * malloc/hooks.c (realloc_check): Likewise.
25556         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25557         * malloc/arena.c: Remove PER_THREAD conditional.
25558         [!PER_THREAD]: Remove code.
25559         (ptmalloc_unlock_all2): Likewise.
25560         (ptmalloc_init): Likewise.
25561         (_int_new_arena): Likewise.
25562         (arena_get2): Likewise.
25563         * malloc/hooks.c (__malloc_get_state): Likewise.
25564         (__malloc_set_state): Likewise.
25565         * malloc/malloc.c: Likewise.
25566         (struct malloc_state): Likewise.
25567         (struct malloc_par): Likewise.
25568         (__libc_realloc): Likewise.
25569         (__libc_mallopt): Likewise.
25571 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25573         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25575 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25577         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25578         macro to a function.  Check for zero perturb_byte.
25579         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25581         * malloc/malloc.c: (force_reg): Remove.
25582         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25583         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25584         force_reg by atomic_forced_read.
25585         * malloc/arena.c (ptmalloc_init): Likewise.
25586         * malloc/hooks.c (top_check): Likewise.
25588 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25592 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25596 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25598         * math/auto-libm-test-in: Add tests of lgamma.
25599         * math/auto-libm-test-out: Regenerated.
25600         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25601         (M_LOG_2_SQRT_PIl): Likewise.
25602         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25604         mpfr_f_f1.
25605         (func_calc_desc): Add mpfr_f_f1 union field.
25606         (ARGS1): New macro.
25607         (ARGS2): Likewise.
25608         (ARGS3): Likewise.
25609         (ARGS4): Likewise.
25610         (RET1): Likewise.
25611         (RET2): Likewise.
25612         (CALC): Likewise.
25613         (FUNC): Likewise.
25614         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25615         (test_functions): Add lgamma.
25616         (calc_generic_results): Handle mpfr_f_f1.
25617         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25622         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25623         __mpn_add_n for PowerPC64/POWER7.
25624         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25625         __mpn_sub_n for PowerPC64/POWER7.
25627         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25628         __mpn_addmul_1 for PowerPC64.
25629         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25630         __mpn_submul_1 for PowerPC64.
25631         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25632         for PowerPC64.
25633         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25634         for PowerPC64.
25636 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25638         [BZ #15089]
25639         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25641 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25643         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25645         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25646         add multiarch folders.
25647         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25648         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25649         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25650         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25651         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25652         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25653         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25654         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25655         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25656         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25657         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25666         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25668         New file.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25670         New file.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25672         multiarch __ieee754_hypot for PowerPC32.
25673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25674         New file.
25675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25676         New file.
25677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25678         multiarch __ieee754_hypotf for PowerPC32.
25680         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25681         long_double_symbol only if __logbl is defined.
25682         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25683         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25685         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25686         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25687         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25688         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25689         path for implementation.
25690         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25691         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25693         logb, and logbl multiarch implementations for PowerPC32.
25694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25695         file.
25696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25697         file.
25698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25699         multiarch logb for PowerPC32.
25700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25701         file.
25702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25703         file.
25704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25705         multiarch logbf for PowerPC32.
25706         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25708         file.
25709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25710         multiarch logbl implementation for PowerPC32.
25712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25713         and modff multiarch implementations.
25714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25715         New file.
25716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25717         New file.
25718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25719         multiarch modf for PowerPC32.
25720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25721         New file.
25722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25723         New file.
25724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25725         multiarch modff for PowerPC32.
25727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25728         and lrintf multiarch implementations.
25729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25730         New file.
25731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25732         New file.
25733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25734         multiarch lrint for PowerPC32.
25735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25736         file: multiarch lrintf for PowerPC32.
25738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25739         and lroundf multiarch implementations.
25740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25741         New file.
25742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25743         New file.
25744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25745         New file.
25746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25747         multiarch lround for PowerPC32.
25748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25749         file: multiarch lroundf for PowerPC32.
25751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25752         copysign and copysignf multiarch implementations.
25753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25754         New file.
25755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25756         New file.
25757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25758         file: multiarch copysign for PowerPC32.
25759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25760         file: multiarch copysignf for PowerPC32.
25762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25763         and truncf multiarch implementations.
25764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25765         New file.
25766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25767         file.
25768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25769         multiarch trunc for PowerPC32.
25770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25771         New file.
25772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25773         New file.
25774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25775         multiarch truncf for PowerPC32.
25777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25778         and roundf multiarch implementations.
25779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25780         New file.
25781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25782         file.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25784         multiarch round for PowerPC32.
25785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25786         New file.
25787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25788         New file.
25789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25790         multiarch roundf for PowerPC32.
25792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25793         and floorf multiarch implementations.
25794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25795         New file.
25796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25797         file.
25798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25799         multiarch floor for PowerPC32.
25800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25801         New file.
25802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25803         New file.
25804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25805         multiarch floorf for PowerPC32.
25807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25808         and ceilf multiarch implementations.
25809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25810         New file.
25811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25812         file.
25813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25814         multiarch ceil for PowerPC32.
25815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25816         New file.
25817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25818         file.
25819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25820         multiarch ceilf for PowerPC32.
25822         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25823         is defined.
25824         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25825         FINITEF is defined.
25826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25827         and finitef multiarch implementations.
25828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25829         New file.
25830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25831         file.
25832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25833         multiarch finite for PowerPC32.
25834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25835         New file.
25836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25837         file: multiarch finitef for PowerPC32.
25839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25840         and isinff multiarch implementations.
25841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25842         file.
25843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25844         file.
25845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25846         multiarch isinf for PowerPC32.
25847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25848         New file.
25849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25850         multiarch isinff for PowerPC32.
25852         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25853         alias when __isnan is defined.
25854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25855         and isnanf multiarch implementations.
25856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25857         file.
25858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25859         file.
25860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25861         file.
25862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25863         file.
25864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25865         multiarch isnan for PowerPC32.
25866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25867         New file.
25868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25869         New file.
25870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25871         multiarch isnanf for PowerPC32.
25873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25874         and sqrtf multiarch implementations.
25875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25876         file.
25877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25878         file.
25879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25880         multiarch sqrt for PowerPC32.
25881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25882         file.
25883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25884         file.
25885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25886         multiarch sqrtf for PowerPC32.
25888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25889         and llroundf multiarch implementations.
25890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25891         New file.
25892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25893         New file.
25894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25895         New file.
25896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25897         file: multiarch llround for PowerPC32.
25898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25899         file: multiarch llroundf for PowerPC32.
25901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25902         multiarch PowerPC32 fpu implementations.
25903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25904         New file.
25905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25906         New file.
25907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25908         multiarch llrint for PowerPC32.
25909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25910         New file.
25911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25912         New file.
25913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25914         file.
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25918         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25919         file.
25920         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25921         file.
25922         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25923         file.
25924         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25925         multiarch wordcopy for PPC32.
25926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25927         wordcopy objects.
25928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25929         (__libc_ifunc_impl_list): Likewise.
25930         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25931         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25932         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25933         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25934         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25935         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25937         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25939         file.
25940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25941         file.
25942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25945         multiarch wcscpy for PPC32.
25946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25947         multiarch objects.
25948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25949         (__libc_ifunc_impl_list): Likewise.
25950         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25951         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25952         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25953         sysdeps/powerpc/power6/wcscpy.c.
25955         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25957         file.
25958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25959         file.
25960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25961         file.
25962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25963         multiarch wcsrchr for PPC32.
25964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25965         multiarch objects.
25966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25967         (__libc_ifunc_impl_list): Likewise.
25968         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25969         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25970         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25971         sysdeps/powerpc/power6/wcsrchr.c.
25973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25974         file.
25975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25976         file.
25977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25979         multiarch wcschr for PPc32.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25981         multiarch objects.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25983         (__libc_ifunc_impl_list): Likewise.
25984         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25985         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25986         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25987         sysdeps/powerpc/power6/wcschr.c.
25989         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25990         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25991         file.
25992         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25993         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25994         file: multiarch strchr for PPC32.
25995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25996         multiarch objects.
25997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25998         (__libc_ifunc_impl_list): Likewise.
26000         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26001         name.
26002         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26003         file.
26004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26005         file.
26006         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26007         multiarch strchrnul for PPC32.
26008         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26009         multiarch objects.
26010         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26011         (__libc_ifunc_impl_list): Likewise.
26013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26014         file.
26015         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26016         multiarch strncasecmp for PPC32.
26017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26018         file.
26019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26020         multiarch strncasecmp_l for PPC32.
26021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26022         strncasecmp multiarch objects.
26023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26024         (__libc_ifunc_impl_list): Likewise.
26026         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26027         file.
26028         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26029         multiarch strncasecmp for PPC32.
26030         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26031         New file.
26032         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26033         multiarch strcasecmp_l for PPC32.
26034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26035         multiarch objects.
26036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26037         (__libc_ifunc_impl_list): Likewise.
26039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26040         file.
26041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26042         file.
26043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26044         multiarch strncmp for PPC32.
26045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26046         multiarch objects.
26047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26048         (__libc_ifunc_impl_list): Likewise.
26050         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26051         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26052         file.
26053         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26054         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26056         multiarch objects.
26057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26058         (__libc_ifunc_impl_list): Likewise.
26060         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26061         file.
26062         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26063         file.
26064         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26066         multiarch objects.
26067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26068         (__libc_ifunc_impl_list): Likewise.
26070         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26071         file.
26072         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26073         file.
26074         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26075         multiarch rawmemchr for PPC32.
26076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26077         multiarch objects.
26078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26079         (__libc_ifunc_impl_list): Likewise.
26081         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26082         file.
26083         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26084         file.
26085         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26086         file: memrchr multiarch for PPC32.
26087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26088         multiarch objects.
26089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26090         (__libc_ifunc_impl_list): Likewise.
26092         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26093         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26094         file.
26095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26096         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26097         multiarch memchr for PPC32.
26098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26099         multiarch objects.
26100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26101         (__libc_ifunc_impl_list): Likewise.
26103         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26104         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26105         file.
26106         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26107         file.
26108         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26109         file: multiarch mempcpy for PPC32.
26110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26111         multiarch objects.
26112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26113         (__libc_ifunc_impl_list): Likewise.
26115         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26116         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26117         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26118         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26119         multiarch bzero for PPC32.
26120         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26121         file.
26122         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26123         file.
26124         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26125         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26126         file: multiarch memset for PPC32.
26127         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26129         memset multiarch objects.
26130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26131         (__libc_ifunc_impl_list): Likewise.
26133         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26134         file.
26135         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26136         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26137         memcmp for PPC32.
26138         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26140         multiarch objects.
26141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26142         (__libc_ifunc_impl_list): Likewise.
26144         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26147         file.
26148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26149         file.
26150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26151         file.
26152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26153         multiarch memcpy for PPC32.
26154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26155         multiarch objects.
26156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26157         (__libc_ifunc_impl_list): Likewise.
26159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26160         support multiarch for POWER/PPC32.
26161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26162         Likewise.
26163         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26165         Implies file to make multiarch folder appers before the fpu and
26166         default folder for power4 configuration.
26168 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26170         * scripts/bench.pl: Append volatile keyword to type.
26172 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26174         * sysdeps/sh/sotruss-lib.c: New file.
26175         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26177 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26181 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #6810]
26184         * math/w_tgamma.c: Include <errno.h>.
26185         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26186         * math/w_tgammaf.c: Include <errno.h>.
26187         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26188         * math/w_tgammal.c: Include <errno.h>.
26189         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26190         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26191         underflow.  Add more tgamma tests.
26192         * math/auto-libm-test-out: Regenerated.
26193         * sysdeps/i386/fpu/libm-test-ulps: Update.
26194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26196         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26197         sin, sinh, tan, tanh, tgamma, y0 and y1.
26198         * math/auto-libm-test-out: Regenerated.
26199         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26200         (TEST_COND_x86): Likewise.
26201         (M_E2l): Remove macro.
26202         (M_E3l): Likewise.
26203         (M_2_SQRT_PIl): Likewise.
26204         (M_SQRT_PIl): Likewise.
26205         (M_1_DIV_El): Likewise.
26206         (log_test_data): Use AUTO_TESTS_f_f.
26207         (log10_test_data): Likewise.
26208         (log1p_test_data): Likewise.
26209         (log2_test_data): Likewise.
26210         (sin_test_data): Likewise.
26211         (sin_tonearest_test_data): Likewise.
26212         (sin_towardzero_test_data): Likewise.
26213         (sin_downward_test_data): Likewise.
26214         (sin_upward_test_data): Likewise.
26215         (sinh_test_data): Likewise.
26216         (sinh_tonearest_test_data): Likewise.
26217         (sinh_towardzero_test_data): Likewise.
26218         (sinh_downward_test_data): Likewise.
26219         (sinh_upward_test_data): Likewise.
26220         (tan_test_data): Likewise.
26221         (tan_tonearest_test_data): Likewise.
26222         (tan_towardzero_test_data): Likewise.
26223         (tan_downward_test_data): Likewise.
26224         (tan_upward_test_data): Likewise.
26225         (tanh_test_data): Likewise.
26226         (tgamma_test_data): Likewise.
26227         (y0_test_data): Likewise.
26228         (y1_test_data): Likewise.
26229         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26230         (special_real_inputs): Add pi/4.
26231         * sysdeps/i386/fpu/libm-test-ulps: Update.
26232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26234 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26236         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26237         "longjmp_target" static probes.
26238         (__longjmp): Rename to __longjmp_symbol.
26239         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26240         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26241         on which longjmp to generate.
26242         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26243         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26244         probe.
26245         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26246         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26247         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26248         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26249         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26252         __longjmp_symbol based on which __longjmp to generate.
26253         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26254         probe.
26255         (setjmp): Rename to setjmp_symbol.
26256         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26257         (_setjmp): Rename to _setjmp_symbol.
26258         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26259         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26260         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26261         which setjmp to generate.
26262         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26263         "longjmp_target" static probes.
26265 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26267         * benchtests/README: Add note about output arguments.
26268         * benchtests/bench-sincos.c: Remove file.
26269         * benchtests/sincos-inputs: New file.
26270         * scripts/bench.pl: Identify output arguments and define
26271         static variables for them.
26273         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26275         [BZ #15941]
26276         * Makefile (INSTALL): Add install-plain.texi as the primary
26277         dependency.
26278         * manual/install-plain.texi: New file.
26279         * manual/install.texi: Include node directive only for
26280         non-plaintext output.
26282 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26284         * stdlib/longlong.h: Update from GCC.
26286         [BZ #6807]
26287         [BZ #15901]
26288         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26289         * math/w_j0f.c (y0f): Likewise.
26290         * math/w_j0l.c (__y0l): Likewise.
26291         * math/w_j1.c (y1): Likewise.
26292         * math/w_j1f.c (y1f): Likewise.
26293         * math/w_j1l.c (__y1l): Likewise
26294         * math/w_jn.c (yn): Likewise.
26295         * math/w_jnf.c (ynf): Likewise.
26296         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26297         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26298         value for Bessel function domain errors outside _SVID_ mode.
26299         Adjust sign of return value for yn (negative integer, 0).
26300         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26301         by zero in return for negative x and set sign appropriately for
26302         negative n.
26303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26305         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26306         expectations in error cases.
26307         (y1_test_data): Likewise.
26308         (yn_test_data): Likewise.
26309         * sysdeps/i386/fpu/libm-test-ulps: Update.
26310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26312 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26314         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26315         "64" to "64-v1".  Add "64-v2".
26316         (abi-64-options): Rename to ...
26317         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26318         (abi-64-condition): Rename to ...
26319         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26320         (abi-64-ld-soname): Rename to ...
26321         (abi-64-v1-ld-soname): ... this.
26322         (abi-64-v2-options): Define.
26323         (abi-64-v2-condition): Likewise.
26324         (abi-64-v2-ld-soname): Likewise.
26325         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26326         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26331 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26332             Alan Modra  <amodra@gmail.com>
26334         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26335         New versions for use with the ELFv2 ABI.
26336         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26337         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26338         declaration.
26339         (struct La_ppc64v2_retval): Likewise.
26340         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26341         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26342         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26343         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26344         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26345         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26346         Do not save or restore CR.
26347         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26348         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26349         return values for ELFv2 ABI.  Fix location of FPR return registers.
26350         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26351         updated values for _CALL_ELF == 2.
26352         (La_regs, La_retval, int_retval): Likewise.
26354 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26356         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26357         (FRAME_MIN_SIZE_PARM): Likewise.
26358         (FRAME_BACKCHAIN): Likewise.
26359         (FRAME_CR_SAVE): Likewise.
26360         (FRAME_LR_SAVE): Likewise.
26361         (FRAME_TOC_SAVE): Likewise.
26362         (FRAME_PARM_SAVE): Likewise.
26363         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26364         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26365         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26366         (call_mcount_parm_offset): New macro.
26367         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26368         (PROF): Use symbolic stack frame offsets.
26369         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26370         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26371         Redefine in terms of FRAME_MIN_SIZE.
26372         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26373         (_dl_profile_resolve): Likewise.  Update comment.
26374         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26375         symbols stack frame offsets.
26376         (__sigsetjmp): Likewise.
26377         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26378         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26379         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26380         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26383         (FRAME_BACKCHAIN): Remove.
26384         (FRAME_CR_SAVE): Likewise.
26385         (FRAME_LR_SAVE): Likewise.
26386         (FRAME_COMPILER_DW): Likewise.
26387         (FRAME_LINKER_DW): Likewise.
26388         (FRAME_TOC_SAVE): Likewise.
26389         (FRAME_PARM_SAVE): Likewise.
26390         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26391         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26392         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26394         (CHECK_SP): Use symbolic stack frame offsets.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26396         zone" instead of caller's parameter save area for temp storage.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26398         Likewise.  Also, use symbolic stack frame offsets.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26400         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26401         our own stack frame instead of the caller's.
26402         (__socket): Use symbolic stack frame offsets.
26404 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26405             Alan Modra  <amodra@gmail.com>
26407         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26408         Define.
26409         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26410         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26411         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26412         New function.
26413         (elf_machine_fixup_plt): Call it.
26414         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26415         reloc arguments.
26416         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26417         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26418         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26419         r2 before calling target.
26421 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26422             Alan Modra  <amodra@gmail.com>
26424         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26425         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26426         versions of macros to support ELFv2 ABI.
26427         (LOCALENTRY): New macro.
26428         (ENTRY, EALIGN): Use it.
26429         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26430         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26431         fall through into ENTRY entry point.
26432         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26433         Only define if _CALL_ELF != 2.
26435         (elf_machine_matches_host): Verify ABI version matches.
26436         (RTLD_START): Use LOCALENTRY.
26437         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26438         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26439         (PLT_ENTRY_WORDS): New macro.
26440         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26441         (elf_machine_runtime_setup): Support ELFv2 ABI.
26442         (elf_machine_fixup_plt): Likewise.
26443         (elf_machine_plt_conflict): Likewise.
26444         (resolve_ifunc): Likewise.
26445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26447         Likewise.
26448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26449         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26451         (makecontext): Support ELFv2 ABI.
26452         * elf/elf.h (EF_PPC64_ABI): Define.
26454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26456         * sysdeps/powerpc/powerpc64/sysdep.h
26457         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26458         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26459         (ENTRY) [ASSEMBLER]: ... but instead here ...
26460         (EALIGN) [ASSEMBLER]: ... and here.
26461         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26462         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26463         (ENTRY_2) [!ASSEMBLER]: Use it.
26464         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26465         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26467         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26470         Use PPC64_LOAD_FUNCPTR.
26472         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26474 2013-12-04  Alan Modra  <amodra@gmail.com>
26476         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26477         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26478         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26479         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26482         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26483         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26484         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26485         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26486         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26488 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26491         (__makecontext): Fix incorrect CFI when backtracing out of
26492         context created via makecontext.
26493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26494         (__setcontext): Fix incorrect CFI during switch to new context.
26495         (__novec_setcontext): Likewise.
26497 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26499         [BZ #4772]
26500         * time/strptime_l.c (__strptime_internal): Allow modifiers
26501         in strptime.
26502         * time/tst-strptime.c (day_tests): Add testcase.
26504 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26506         * scripts/bench.pl: Skip over blank lines.
26508 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26510         [BZ #926]
26511         * manual/time.texi (Calendar Time): Clarify what timezone functions
26512         use.
26514 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26518 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26520         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26521         implementation.
26522         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26523         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26524         * debug/memset_chk.c (__memset_chk): Likewise.
26525         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26526         * debug/strncpy_chk.c: Likewise.
26528 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26530         [BZ #15268]
26531         [BZ #15425]
26532         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26533         (__ieee754_exp): For possibly underflowing results, check size of
26534         result and force underflow exception if required.
26535         * math/auto-libm-test-in: Add more tests of exp.
26536         * math/auto-libm-test-out: Regenerated.
26537         * sysdeps/i386/fpu/libm-test-ulps: Update.
26538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540         [BZ #16283]
26541         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26542         * math/w_exp2f.c (__exp2f): Likewise.
26543         * math/w_exp2l.c (__exp2l): Likewise.
26544         * math/auto-libm-test-in: Do not allow missing errno on exp2
26545         underflow.
26546         * math/auto-libm-test-out: Regenerated.
26548 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26550         [BZ #16274]
26551         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26552         handle filename validation.
26553         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26554         (do_open): Delete.
26556 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26558         [BZ #6786]
26559         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26560         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26561         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26562         <float.h>.
26563         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26564         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26565         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26567         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26569         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26570         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26571         Add more erfc tests.
26572         * math/auto-libm-test-out: Regenerated.
26573         * sysdeps/i386/fpu/libm-test-ulps: Update.
26574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26576         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26577         exp2, expm1, j0 and j1.
26578         * math/auto-libm-test-out: Regenerated.
26579         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26580         (erfc_test_data): Likewise.
26581         (exp_test_data): Likewise.
26582         (exp_tonearest_test_data): Likewise.
26583         (exp_towardzero_test_data): Likewise.
26584         (exp_downward_test_data): Likewise.
26585         (exp_upward_test_data): Likewise.
26586         (exp10_test_data): Likewise.
26587         (exp2_test_data): Likewise.
26588         (expm1_test_data): Likewise.
26589         (j0_test_data): Likewise.
26590         (j1_test_data): Likewise.
26591         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26592         (input_flag_type): Add flag_xfail_rounding.
26593         (input_flags): Add xfail-rounding.
26594         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26595         (output_for_one_input_case): Handle flag_xfail_rounding.
26596         * sysdeps/i386/fpu/libm-test-ulps: Update.
26597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26599 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26601         [BZ #16289]
26602         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26603         division by 0.
26605 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26607         [BZ #16195]
26608         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26609         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26610         (STAP_PROBE0): New macro.
26611         (STAP_PROBE1): Likewise.
26612         (STAP_PROBE2): Likewise.
26613         (STAP_PROBE3): Likewise.
26614         (STAP_PROBE4): Likewise.
26616 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26618         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26620 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26622         * benchtests/Makefile (bench): Add sqrt.
26623         (LDLIBS-bench-sqrt): New.
26624         * benchtests/sqrt-input: New.
26626 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26628         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26629         (GAIH_EAI): Likewise.
26630         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26631         (gaih_inet): Likewise.
26632         (getaddrinfo): Don't use GAIH_EAI.
26634         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26635         (struct gaih): Remove definition.
26637 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26639         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26640         Use HERRNOP directly.
26642 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26646 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26648         * math/gen-auto-libm-tests.c (test_functions): Add more
26649         single-argument functions.
26650         (special_fill_pi_2): New function.
26651         (special_fill_minus_pi_2): Likewise.
26652         (special_fill_pi_6): Likewise.
26653         (special_fill_minus_pi_6): Likewise.
26654         (special_fill_pi_3): Likewise.
26655         (special_fill_2pi_3): Likewise.
26656         (special_fill_e): Likewise.
26657         (special_fill_1_e): Likewise.
26658         (special_fill_e_minus_1): Likewise.
26659         (special_real_inputs): Add more special inputs.
26660         (output_for_one_input_case): Do not require ERANGE on underflow to
26661         zero if round-to-nearest result does not underflow to zero, unless
26662         exact results required.
26663         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26664         atan, atanh, cbrt, cos and cosh.
26665         * math/auto-libm-test-out: Regenerated.
26666         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26667         (acos_tonearest_test_data): Likewise.
26668         (acos_towardzero_test_data): Likewise.
26669         (acos_downward_test_data): Likewise.
26670         (acos_upward_test_data): Likewise.
26671         (acosh_test_data): Likewise.
26672         (asin_test_data): Likewise.
26673         (asin_tonearest_test_data): Likewise.
26674         (asin_towardzero_test_data): Likewise.
26675         (asin_upward_test_data): Likewise.
26676         (asinh_test_data): Likewise.
26677         (atan_test_data): Likewise.
26678         (atanh_test_data): Likewise.
26679         (cbrt_test_data): Likewise.
26680         (cos_test_data): Likewise.
26681         (cos_tonearest_test_data): Likewise.
26682         (cos_towardzero_test_data): Likewise.
26683         (cos_downward_test_data): Likewise.
26684         (cos_upward_test_data): Likewise.
26685         (cosh_test_data): Likewise.
26686         (cosh_tonearest_test_data): Likewise.
26687         (cosh_towardzero_test_data): Likewise.
26688         (cosh_downward_test_data): Likewise.
26689         (cosh_upward_test_data): Likewise.
26690         * sysdeps/i386/fpu/libm-test-ulps: Update.
26691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26693 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26695         [BZ #6787]
26696         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26697         * math/w_exp10f.c (__exp10f): Likewise.
26698         * math/w_exp10l.c (__exp10l): Likewise.
26699         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26700         errno settings in existing tests.
26702         [BZ #14032]
26703         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26704         precision control set to double precision.
26705         * sysdeps/i386/fpu/w_sqrt.c: New file.
26706         * math/auto-libm-test-in: Add more tests.
26707         * math/auto-libm-test-out: Update.
26709         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26710         (sqrt_test_tonearest): New function.
26711         (sqrt_towardzero_test_data): New variable.
26712         (sqrt_test_towardzero): New function.
26713         (sqrt_downward_test_data): New variable.
26714         (sqrt_test_downward): New function.
26715         (sqrt_upward_test_data): New variable.
26716         (sqrt_test_upward): New function.
26717         (main): Call the new functions.
26719         * math/gen-auto-libm-tests.c: New file.
26720         * math/auto-libm-test-in: Likewise.
26721         * math/auto-libm-test-out: New generated file.
26722         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26723         variables.
26724         (%beautify): Add generated representations of zero.
26725         (top level): Set $auto_input and call parse_auto_input.
26726         (beautify): Remove trailing "f" from hex float constants.
26727         (parse_args): Handle XFAIL_TEST.
26728         (convert_condition): New function.
26729         (or_value): Likewise.
26730         (or_cond_value): Likewise.
26731         (generate_testfile): Handle AUTO_TESTS_* lines.
26732         (parse_auto_input): New function.
26733         * math/libm-test.inc (XFAIL_TEST): New macro.
26734         (ERRNO_UNCHANGED): Update value.
26735         (ERRNO_EDOM): Likewise.
26736         (ERRNO_ERANGE): Likewise.
26737         (IGNORE_RESULT): Likewise.
26738         (TEST_COND_flt_32): New macro.
26739         (TEST_COND_dbl_64): Likewise.
26740         (TEST_COND_ldbl_96_intel): Likewise.
26741         (TEST_COND_ldbl_96_m68k): Likewise.
26742         (TEST_COND_ldbl_128): Likewise.
26743         (TEST_COND_ldbl_128ibm): Likewise.
26744         (TEST_COND_long32): Likewise.
26745         (TEST_COND_long64): Likewise.
26746         (TEST_COND_before_rounding): Likewise.
26747         (TEST_COND_after_rounding): Likewise.
26748         (enable_test): Handle XFAIL_TEST flag.
26749         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26750         with finite results.
26751         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26752         auto-libm-test-out.
26754 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26755             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26757         [BZ #16214]
26758         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26759         __tls_get_addr_internal instead of __tls_get_offset in order to
26760         avoid GOT pointer dependency.  Make rtld export
26761         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26762         __tls_get_addr since we are a __tls_get_offset platform.
26763         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26764         GOT pointer being set up before.
26765         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26767 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26769         * manual/math.texi (Errors in Math Functions): Document accuracy
26770         goals.
26772         [BZ #15004]
26773         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26774         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26775         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26776         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26777         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26778         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26779         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26780         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26781         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26782         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26783         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26784         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26785         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26786         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26787         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26788         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26790         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26791         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26792         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26793         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26794         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26795         Likewise.
26796         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26797         Likewise.
26798         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26799         Likewise.
26800         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26801         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26802         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26803         atomic-feupdateenv and flt-rounds.
26804         * sysdeps/powerpc/nofpu/Versions (libc): Add
26805         __atomic_feholdexcept, __atomic_feclearexcept,
26806         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26807         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26808         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26809         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26810         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26811         here.
26812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26813         Update.
26815         * manual/arith.texi (FP Exceptions): Document that exceptions may
26816         not be raised when matherr is used.
26817         (Math Error Reporting): Document overflow in directed rounding
26818         modes.  Document that errno may not be set when finite values are
26819         returned on overflow.  Document intent to set errno on underflow
26820         only for underflow to zero.
26822         [BZ #16271]
26823         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26824         round-to-nearest then adjust result for other rounding modes.
26825         * include/fenv.h (fegetround): Use libm_hidden_proto.
26826         * math/fegetround.c (fegetround): Use libm_hidden_def.
26827         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26828         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26829         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26831         Likewise.
26832         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26833         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26834         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26835         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26837 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26839         [BZ #16077]
26840         * nss/Versions (libnss_files): Add
26841         _nss_files_gethostbyname3_r.
26842         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26843         New function.
26844         (HOST_DB_LOOKUP): Remove macro.
26845         (_nss_files_gethostbyname_r): Implement function without the
26846         HOST_DB_LOOKUP macro.
26847         (_nss_files_gethostbyname2_r): Likewise.
26849 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26851         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26853 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26855         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26856         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26857         warning.
26859 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26861         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26862         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26863         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26864         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26865         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26866         __fe_nomask_env_priv and attribute_hidden.
26867         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26868         (libc_feupdateenv_test_ppc): Likewise.
26869         (libc_feresetround_ppc): Likewise.
26870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26871         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26872         compat_symbol macro.
26873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26874         (__fe_nomask_env): Likewise.
26875         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26877 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26879         * string/Makefile: Remove ifunc tests.
26880         * string/test-string.h: Define TEST_IFUNC.
26881         * string/test-bcopy-ifunc.c: Remove.
26882         * string/test-bzero-ifunc.c: Likewise.
26883         * string/test-memccpy-ifunc.c: Likewise.
26884         * string/test-memchr-ifunc.c: Likewise.
26885         * string/test-memcmp-ifunc.c: Likewise.
26886         * string/test-memcpy-ifunc.c: Likewise.
26887         * string/test-memmem-ifunc.c: Likewise.
26888         * string/test-memmove-ifunc.c: Likewise.
26889         * string/test-mempcpy-ifunc.c: Likewise.
26890         * string/test-memrchr-ifunc.c: Likewise.
26891         * string/test-memset-ifunc.c: Likewise.
26892         * string/test-rawmemchr-ifunc.c: Likewise.
26893         * string/test-stpcpy-ifunc.c: Likewise.
26894         * string/test-stpncpy-ifunc.c: Likewise.
26895         * string/test-strcasecmp-ifunc.c: Likewise.
26896         * string/test-strcasestr-ifunc.c: Likewise.
26897         * string/test-strcat-ifunc.c: Likewise.
26898         * string/test-strchr-ifunc.c: Likewise.
26899         * string/test-strchrnul-ifunc.c: Likewise.
26900         * string/test-strcmp-ifunc.c: Likewise.
26901         * string/test-strcpy-ifunc.c: Likewise.
26902         * string/test-strcspn-ifunc.c: Likewise.
26903         * string/test-strlen-ifunc.c: Likewise.
26904         * string/test-strncasecmp-ifunc.c: Likewise.
26905         * string/test-strncat-ifunc.c: Likewise.
26906         * string/test-strncmp-ifunc.c: Likewise.
26907         * string/test-strncpy-ifunc.c: Likewise.
26908         * string/test-strnlen-ifunc.c: Likewise.
26909         * string/test-strpbrk-ifunc.c: Likewise.
26910         * string/test-strrchr-ifunc.c: Likewise.
26911         * string/test-strspn-ifunc.c: Likewise.
26912         * string/test-strstr-ifunc.c: Likewise.
26914 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26916         * benchtests/Makefile: Remove ifunc tests.
26917         * benchtests/bench-string.h: Define TEST_IFUNC.
26918         * benchtests/bench-bcopy-ifunc.c: Remove.
26919         * benchtests/bench-bzero-ifunc.c: Likewise.
26920         * benchtests/bench-memccpy-ifunc.c: Likewise.
26921         * benchtests/bench-memchr-ifunc.c: Likewise.
26922         * benchtests/bench-memcmp-ifunc.c: Likewise.
26923         * benchtests/bench-memcpy-ifunc.c: Likewise.
26924         * benchtests/bench-memmem-ifunc.c: Likewise.
26925         * benchtests/bench-memmove-ifunc.c: Likewise.
26926         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26927         * benchtests/bench-memrchr-ifunc.c: Likewise.
26928         * benchtests/bench-memset-ifunc.c: Likewise.
26929         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26930         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26931         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26932         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26933         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26934         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26935         * benchtests/bench-strcat-ifunc.c: Likewise.
26936         * benchtests/bench-strchr-ifunc.c: Likewise.
26937         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26938         * benchtests/bench-strcmp-ifunc.c: Likewise.
26939         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26940         * benchtests/bench-strcpy-ifunc.c: Likewise.
26941         * benchtests/bench-strcspn-ifunc.c: Likewise.
26942         * benchtests/bench-strlen-ifunc.c: Likewise.
26943         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26944         * benchtests/bench-strncat-ifunc.c: Likewise.
26945         * benchtests/bench-strncmp-ifunc.c: Likewise.
26946         * benchtests/bench-strncpy-ifunc.c: Likewise.
26947         * benchtests/bench-strnlen-ifunc.c: Likewise.
26948         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26949         * benchtests/bench-strrchr-ifunc.c: Likewise.
26950         * benchtests/bench-strsep-ifunc.c: Likewise.
26951         * benchtests/bench-strspn-ifunc.c: Likewise.
26952         * benchtests/bench-strstr-ifunc.c: Likewise.
26954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26956         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26958 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26960         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26961         * rt/aio.h: Likewise.
26962         * sysdeps/gnu/bits/utmp.h: Likewise.
26963         * sysdeps/gnu/bits/utmpx.h: Likewise.
26964         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26965         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26966         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26967         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26968         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26969         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26970         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26971         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26972         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26973         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26974         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26975         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26976         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26978         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26979         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26980         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26981         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26982         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26983         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26984         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26985         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26986         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26987         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26988         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26990         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26991         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26992         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26993         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26994         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26995         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26996         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26997         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26998         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26999         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27000         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27001         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27002         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27003         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27004         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27005         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27007 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27009         [BZ #16245]
27010         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27011         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27013 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27015         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27016         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27017         Likewise.
27019 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27022         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27023         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27024         (__fesetround): Remove define.
27025         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27026         rounding and exceptions handling.
27027         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27029         (__fe_nomask_env): Likewise.
27030         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27031         __fegetround instead of fegetround.
27032         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27033         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27035 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27037         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27038         it's there.
27040         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27042 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27044         [BZ #11157]
27045         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27046         (encrypt_r): Likewise.
27047         * malloc/obstack.h (obstack_free): Likewise.
27048         * posix/unistd.h (encrypt): Likewise.
27050 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27052         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27053         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27054         DL_CALL_DT_FINI() that call the functions directly.
27055         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27056         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27057         * elf/dl-fini.c: Likewise.
27059 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27061         * malloc/hooks.c (memalign_check): Add alignment rounding.
27062         * malloc/malloc.c (_mid_memalign): New function.
27063         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27064         Implement by calling _mid_memalign.
27065         * manual/probes.texi (Memory Allocation Probes): Remove
27066         memory_valloc_retry and memory_pvalloc_retry.
27068 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27070         * locale/programs/locarchive.c (open_archive): Add const
27071         qualifier to ARCHIVEFNAME and copy default fname to
27072         DEFAULT_FNAME.
27074         [BZ #15601]
27075         * libio/tst-widetext.input: Rename Oriya to Odia.
27076         * locale/iso-639.def: Likewise.
27078         * manual/probes.texi (Mathematical Function Probes): Add
27079         documentation for sin, cos, asin and acos probes.
27080         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27081         (__sin32): Add slowasin probe.
27082         (__cos32): Add slowacos probe.
27083         (__mpsin): Add slowsin probe.
27084         (__mpcos): Add slowcos probe.
27086 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27088         [BZ #15483]
27089         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27090         thread-local __sim_exceptions_thread and global
27091         __sim_exceptions_global.
27092         (__sim_disabled_exceptions): Change to thread-local
27093         __sim_disabled_exceptions_thread and global
27094         __sim_disabled_exceptions_global.
27095         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27096         and global __sim_round_mode_global.
27097         (__simulate_exceptions): Use thread-local floating-point state and
27098         set global state from it as needed.
27099         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27100         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27101         __sim_round_mode_thread.
27102         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27103         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27104         and global __sim_exceptions_global.
27105         (__sim_disabled_exceptions): Change to thread-local
27106         __sim_disabled_exceptions_thread and global
27107         __sim_disabled_exceptions_global.
27108         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27109         and global __sim_round_mode_global.
27110         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27111         (SIM_SET_GLOBAL): Likewise.
27112         * sysdeps/powerpc/soft-fp/sfp-machine.h
27113         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27114         __sim_round_mode_thread.
27115         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27116         __sim_disabled_exceptions_thread.
27117         (__sim_exceptions): Change to __sim_exceptions_thread.
27118         (__sim_disabled_exceptions): Change to
27119         __sim_disabled_exceptions_thread.
27120         (__sim_round_mode): Change to __sim_round_mode_thread.
27121         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27122         thread-local floating-point state and set global state from it as
27123         needed.
27124         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27125         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27126         (__sim_disabled_exceptions): Remove extern declaration.
27127         (feenableexcept): Use thread-local floating-point state and set
27128         global state from it as needed.
27129         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27130         extern declaration.
27131         (__sim_disabled_exceptions): Likewise.
27132         (__sim_round_mode): Likewise.
27133         (__fegetenv): Use thread-local floating-point state.
27134         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27135         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27136         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27137         floating-point state and set global state from it as needed.
27138         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27139         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27140         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27141         Likewise.
27142         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27143         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27144         Likewise.
27145         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27146         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27147         Use __sim_round_mode_thread.
27148         * math/test-fenv-tls.c: New file.
27149         * math/Makefile (tests): Add test-fenv-tls.
27150         ($(objpfx)test-fenv-tls): Depend on
27151         $(common-objpfx)nptl/libpthread.so.
27153 2013-11-19  Andreas Schwab  <schwab@suse.de>
27155         * locale/programs/locale.c (show_info): Decode wordarray elements.
27156         * locale/categories.def (LC_MONETARY): Add element for
27157         _NL_MONETARY_CRNCYSTR.
27158         * locale/C-monetary.c (conversion_rate): New variable.
27159         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27160         element.
27162 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27164         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27165         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27167 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27169         * elf/Makefile (tst-auxv): New test.
27170         * elf/tst-auxv.c: New
27171         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27173 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27175         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27176         (hidden_proto): Caller changed.
27177         (hidden_tls_proto): New macro.
27178         (libc_hidden_tls_proto): Likewise.
27179         (rtld_hidden_tls_proto): Likewise.
27180         (libm_hidden_tls_proto): Likewise.
27181         (libresolv_hidden_tls_proto): Likewise.
27182         (librt_hidden_tls_proto): Likewise.
27183         (libdl_hidden_tls_proto): Likewise.
27184         (libnss_files_hidden_tls_proto): Likewise.
27185         (libnsl_hidden_tls_proto): Likewise.
27186         (libnss_nisplus_hidden_tls_proto): Likewise.
27187         (libutil_hidden_tls_proto): Likewise.
27189 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27191         [BZ #10253]
27192         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27193         (decompose_rpath): Defer expansion to fillin_rpath.
27194         (_dl_init_paths): Pass linkmap to fillin_rpath.
27196 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27198         * benchtests/Makefile: Add strsep.
27199         * benchtests/bench-strsep.c: New file: strsep benchtest.
27200         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27202 2013-11-18  Andreas Schwab  <schwab@suse.de>
27204         * locale/programs/locale.c (show_info) [case byte]: Check for
27205         '\377' instead of '\177'.
27206         * locale/C-monetary.c (not_available): Always use "\377".
27207         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27208         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27209         detect unavailable sign_posn locale elements.
27210         * locale/localeconv.c (__localeconv): For grouping and
27211         mon_grouping handle "\177" and "\377" like no grouping.
27212         (INT_ELEM): New macro.  Use it to set all numeric members.
27213         * locale/programs/ld-monetary.c (monetary_read)
27214         <tok_mon_grouping>: Normalize single -1 to the empty string.
27215         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27216         Likewise.
27218 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27220         [BZ #16055]
27221         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27222         when we match (nil).
27223         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27225 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27227         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27228         (NO_TEST_INLINE): Update value.
27229         (ERRNO_UNCHANGED): Likewise.
27230         (ERRNO_EDOM): Likewise.
27231         (ERRNO_ERANGE): Likewise.
27232         (IGNORE_RESULT): Likewise.
27233         (check_float_internal): Check signs of NaN results if
27234         TEST_NAN_SIGN used.
27235         (check_complex): Pass TEST_NAN_SIGN flag through to second
27236         check_float_internal call.
27237         (copysign_test_data): Add tests with quiet NaNs as second
27238         argument.  Use TEST_NAN_SIGN.
27239         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27240         TEST_NAN_SIGN.
27241         (signbit_test_data): Add tests of quiet NaN argument.
27242         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27244         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27245         $ignore_result.
27246         (parse_args): Handle function results specified as IGNORE.
27247         * math/libm-test.inc (IGNORE_RESULT): New macro.
27248         (check_float_internal): Do not check numerical result if flag
27249         IGNORE_RESULT set.
27250         (check_complex): Pass through IGNORE_RESULT to second
27251         check_float_internal call.
27252         (check_int): Do not check numerical result if flag IGNORE_RESULT
27253         set.
27254         (check_long): Likewise.
27255         (check_bool): Likewise.
27256         (check_longlong): Likewise.
27257         (lrint_test_data): Add tests of infinite and NaN arguments.
27258         (lrint_tonearest_test_data): Likewise.
27259         (lrint_towardzero_test_data): Likewise.
27260         (lrint_downward_test_data): Likewise.
27261         (lrint_upward_test_data): Likewise.
27262         (llrint_test_data): Likewise.
27263         (llrint_tonearest_test_data): Likewise.
27264         (llrint_towardzero_test_data): Likewise.
27265         (llrint_downward_test_data): Likewise.
27266         (llrint_upward_test_data): Likewise.
27267         (lround_test_data): Likewise.
27268         (llround_test_data): Likewise.
27270         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27271         (ERRNO_UNCHANGED): Update value.
27272         (ERRNO_EDOM): Likewise.
27273         (ERRNO_ERANGE): Likewise.
27274         (NO_TEST_INLINE_FLOAT): New macro.
27275         (NO_TEST_INLINE_DOUBLE): Likewise.
27276         (enable_test): New function.
27277         (RUN_TEST_f_f): Check enable_test before running test.
27278         (RUN_TEST_2_f): Likewise.
27279         (RUN_TEST_fff_f): Likewise.
27280         (RUN_TEST_c_f): Likewise.
27281         (RUN_TEST_f_f1): Likewise.
27282         (RUN_TEST_fF_f1): Likewise.
27283         (RUN_TEST_fI_f1): Likewise.
27284         (RUN_TEST_ffI_f1): Likewise.
27285         (RUN_TEST_c_c): Likewise.
27286         (RUN_TEST_cc_c): Likewise.
27287         (RUN_TEST_f_i): Likewise.
27288         (RUN_TEST_f_i_tg): Likewise.
27289         (RUN_TEST_ff_i_tg): Likewise.
27290         (RUN_TEST_f_b): Likewise.
27291         (RUN_TEST_f_b_tg): Likewise.
27292         (RUN_TEST_f_l): Likewise.
27293         (RUN_TEST_f_L): Likewise.
27294         (RUN_TEST_fFF_11): Likewise.
27295         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27296         conditionals.
27297         (cosh_test_data): Likewise.
27298         (exp_test_data): Likewise.
27299         (expm1_test_data): Likewise.
27300         (hypot_test_data): Likewise.
27301         (pow_test_data): Likewise.
27302         (sinh_test_data): Likewise.
27303         (tanh_test_data): Likewise.
27304         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27305         flags argument.
27307         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27308         tests with quiet NaN input and output.
27309         (acosh_test_data): Likewise.
27310         (asin_test_data): Likewise.
27311         (asinh_test_data): Likewise.
27312         (atan_test_data): Likewise.
27313         (atanh_test_data): Likewise.
27314         (atan2_test_data): Likewise.
27315         (cbrt_test_data): Likewise.
27316         (cos_test_data): Likewise.
27317         (cosh_test_data): Likewise.
27318         (erf_test_data): Likewise.
27319         (erfc_test_data): Likewise.
27320         (exp_test_data): Likewise.
27321         (exp10_test_data): Likewise.
27322         (exp2_test_data): Likewise.
27323         (expm1_test_data): Likewise.
27324         (hypot_test_data): Likewise.
27325         (j0_test_data): Likewise.
27326         (j1_test_data): Likewise.
27327         (jn_test_data): Likewise.
27328         (lgamma_test_data): Likewise.
27329         (log_test_data): Likewise.
27330         (log10_test_data): Likewise.
27331         (log1p_test_data): Likewise.
27332         (log2_test_data): Likewise.
27333         (pow_test_data): Likewise.
27334         (scalb_test_data): Likewise.
27335         (sin_test_data): Likewise.
27336         (sincos_test_data): Likewise.
27337         (sinh_test_data): Likewise.
27338         (tan_test_data): Likewise.
27339         (tanh_test_data): Likewise.
27340         (tgamma_test_data): Likewise.
27341         (y0_test_data): Likewise.
27342         (y1_test_data): Likewise.
27343         (yn_test_data): Likewise.
27345         [BZ #16167]
27346         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27347         argument being NaN and avoid computations with second argument in
27348         that case.
27349         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27350         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27351         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27353 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27355         * locale/iso-639.def: Add Chitwani Tharu (the).
27357 2013-11-14  Andreas Schwab  <schwab@suse.de>
27359         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27360         word instead of empty string.
27362 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27365         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27367         (__fe_nomask_env): Likewise.
27369 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27371         * benchtests/bench-timing.h: Include time.h.
27373 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27375         [BZ #15997]
27376         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27377         to 3.4.0 for x32.
27378         * sysdeps/unix/sysv/linux/configure: Regenerated.
27380 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27382         [BZ #16151]
27383         * stdlib/strtod_l.c (round_and_return): Do not consider
27384         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27385         exponent one less than half the least subnormal exponent.
27386         * stdlib/test-strtod-round-data: Add more tests.
27387         * stdlib/tst-strtod-round.c (tests): Regenerated.
27389 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27391         [BZ #14143]
27392         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27393         (__fe_mask_env): Likewise.
27394         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27395         libm_hidden_proto and add function prototype.
27396         (__fe_mask_env): Add function prototype.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27398         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27400         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27402         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27404 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27406         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27407         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27409 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27411         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27412         of htab_find_slot().
27414 2013-11-11  David S. Miller  <davem@davemloft.net>
27416         [BZ #16150]
27417         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27418         symbol in the non-vis3 case in static builds.
27419         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27420         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27421         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27422         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27424 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27426         [BZ #387]
27427         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27428         it is empty.
27430 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27432         * benchtests/Makefile: Add bench-strtod.
27433         * benchtests/bench-strtod.c: New file: strtod benchtest
27435 2013-11-11  Andreas Schwab  <schwab@suse.de>
27437         [BZ #16153]
27438         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27439         terminating NUL in key length.
27441 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27443         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27444         Add artificial ODP entry for vDSO symbol for PPC64.
27445         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27446         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27448 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27450         [BZ #15374]
27451         * nss/getent.c (services_keys): Recognize services starting with digit.
27453 2013-11-06  David S. Miller  <davem@davemloft.net>
27455         [BZ #15985]
27456         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27457         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27459 2013-11-06  Will Newton  <will.newton@linaro.org>
27461         * manual/memory.texi (Malloc Examples): Remove register
27462         keyword from examples.
27464 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27466         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27468 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27470         [BZ #6981]
27471         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27472         depending on [__GCC_IEC_559 > 0].
27473         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27474         depending on [__GCC_IEC_559_COMPLEX > 0].
27476 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27478         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27479         to iso-639.def.
27481 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27483         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27485 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27487         [BZ #16112]
27488         * malloc/malloc (malloc_info): Do not handle first bin as
27489         special case.
27491 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27493         * locale/iso-639.def: Add Central Nahuatl (nhn).
27495 2013-11-01  Bruno Haible  <bruno@clisp.org>
27497         [BZ #7003]
27498         * manual/math.texi (BSD Random): Specify range upper bound as
27499         in POSIX.
27501 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27503         * locale/iso-639.def: Add Meadow Mari (mhr).
27505 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27507         [BZ #14752], [BZ #15763]
27508         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27509         Validate name.
27510         * rt/tst_shm.c: Add test for escaping directory.
27512 2013-10-31  Andreas Schwab  <schwab@suse.de>
27514         [BZ #15917]
27515         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27516         followed by 'x' as part of digit sequence.
27517         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27519 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27521         [BZ #16037]
27522         * configure.ac: allow GNU Make 4.0 and greater.
27523         * configure: Regenerated.
27525 2013-10-30  Will Newton  <will.newton@linaro.org>
27527         [BZ #16038]
27528         * malloc/hooks.c (memalign_check): Limit alignment to the
27529         maximum representable power of two.
27530         * malloc/malloc.c (__libc_memalign): Likewise.
27531         * malloc/tst-memalign.c (do_test): Add test for very
27532         large alignment values.
27533         * malloc/tst-posix_memalign.c (do_test): Likewise.
27535 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27537         [BZ #11087]
27538         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27539         (munmap_chunk): Likewise.
27540         (mremap_chunk): Likewise.
27542 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27544         [BZ #15799]
27545         * stdlib/div.c (div): Remove obsolete code.
27546         * stdlib/ldiv.c (ldiv): Likewise.
27547         * stdlib/lldiv.c (lldiv): Likewise.
27549 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27551         [BZ #16071]
27552         * nss/nss_files/files-XXX.c (get_contents_ret): New
27553         enumerator.
27554         (get_contents): New function.
27555         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27557 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27559         * configure.in: Moved to ...
27560         * configure.ac: ... here. Change reference to configure.in
27561         to configure.ac.
27562         * sysdeps/arm/preconfigure.ac: ... here.
27563         configure.in to configure.ac.
27564         * sysdeps/gnu/configure.in: Moved to ...
27565         * sysdeps/gnu/configure.ac: ... here.
27566         * sysdeps/i386/configure.in: Moved to ...
27567         * sysdeps/i386/configure.ac: ... here.
27568         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27569         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27570         * sysdeps/mach/configure.in: Moved to ...
27571         * sysdeps/mach/configure.ac: ... here.
27572         * sysdeps/mach/hurd/configure.in: Moved to ...
27573         * sysdeps/mach/hurd/configure.ac: ... here.
27574         * sysdeps/powerpc/configure.in: Moved to ...
27575         * sysdeps/powerpc/configure.ac: ... here.
27576         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27577         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27578         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27579         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27580         * sysdeps/s390/s390-32/configure.in: Moved to ...
27581         * sysdeps/s390/s390-32/configure.ac: ... here.
27582         * sysdeps/s390/s390-64/configure.in: Moved to ...
27583         * sysdeps/s390/s390-64/configure.ac: ... here.
27584         * sysdeps/sh/configure.in: Moved to ...
27585         * sysdeps/sh/configure.ac: ... here.
27586         * sysdeps/sparc/configure.in: Moved to ...
27587         * sysdeps/sparc/configure.ac: ... here.
27588         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27589         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27590         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27591         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27592         * sysdeps/x86_64/configure.in: Moved to ...
27593         * sysdeps/x86_64/configure.ac: ... here.
27594         * sysdeps/x86_64/preconfigure.in: Moved to ...
27595         * sysdeps/x86_64/preconfigure.ac: ... here.
27596         * aclocal.m4: Change reference to configure.in to configure.ac.
27597         * config.h.in: Likewise.
27598         * manual/install.texi: Likewise.
27599         * manual/maint.texi: Likewise.
27600         * Makefile: Likewise.
27601         * malloc/Makefile: Likewise.
27602         * nscd/Makefile: Likewise.
27603         * Makeconfig: Change reference to configure.in and
27604         preconfigure.in to configure.ac and preconfigure.ac
27605         respectively.
27606         * INSTALL: Regenerated.
27607         * configure: Likewise.
27608         * sysdeps/gnu/configure: Likewise.
27609         * sysdeps/i386/configure: Likewise.
27610         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27611         * sysdeps/mach/configure: Likewise.
27612         * sysdeps/mach/hurd/configure: Likewise.
27613         * sysdeps/powerpc/configure: Likewise.
27614         * sysdeps/powerpc/powerpc32/configure: Likewise.
27615         * sysdeps/powerpc/powerpc64/configure: Likewise.
27616         * sysdeps/s390/s390-32/configure: Likewise.
27617         * sysdeps/s390/s390-64/configure: Likewise.
27618         * sysdeps/sh/configure: Likewise.
27619         * sysdeps/sparc/configure: Likewise.
27620         * sysdeps/unix/sysv/linux/configure: Likewise.
27621         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27622         * sysdeps/x86_64/configure: Likewise.
27623         * sysdeps/x86_64/preconfigure: Likewise.
27625 2013-10-29  Andreas Schwab  <schwab@suse.de>
27627         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27629 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27631         * benchtests/pow-inputs: Add new inputs.
27633         * benchtests/exp-inputs: Add new inputs.
27635         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27636         conditional check for return value.
27637         (__cos32): Likewise.
27639 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27641         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27642         to provide a boost for large inputs with word alignment.
27643         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27644         implementation based on optimized PPC64 strcpy.
27645         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27646         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27647         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27648         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27650 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27652         [BZ #2801]
27653         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27655 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27657         [BZ #14876]
27658         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27659         * time/tst-strptime.c (day_tests): Add testcase.
27661 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27663         [BZ #14029]
27664         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27666 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27668         [BZ #16074]
27669         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27670         MAP_FAILED on error.
27672 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27674         [BZ #16072]
27675         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27676         heap for large requests.
27678 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27680         [BZ #9954]
27681         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27682         result if the result has no associated interface.
27683         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27684         interface for all 127.X.Y.Z addresses.
27686 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27688         * locale/iso-639.def: Add Ligurian (lij)
27690 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27692         [BZ #15825]
27693         * sunrpc/rpc_main.c: Document rpcgen -5.
27695 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27697         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27699 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27701         [BZ #10278]
27702         * posix/glob.c: Match only directories when trailing slash is present.
27703         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27704         (main): Add testcase.
27706 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27708         [BZ #15670]
27709         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27711 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27713         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27714         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27715         AUTH_DES and cindex for FIPS 140-2.
27716         (DES Encryption): Add cindex FIPS 46-3.
27718         * locale/locarchive.h (struct locarhandle): Add fname.
27719         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27720         if an optional argument was specified to --list-archive,
27721         otherwise NULL.
27722         * locale/programs/locarchive.c (show_archive_content): Take new
27723         argument fname and pass it via ah.fname to open_archive.
27724         * locale/programs/localedef.h: Update decl.
27725         (open_archive): If AH->fname is non-null, open that file
27726         rather than the default file name, and don't ignore ENOENT.
27727         (create_archive): Set AH.fname to NULL.
27728         (delete_locales_from_archive): Likewise.
27729         (add_locales_to_archive): Likewise.
27730         * locale/programs/locfile.c (write_all_categories): Likewise.
27732 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27733             Aldy Hernandez  <aldyh@redhat.com>
27735         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27736         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27737         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27738         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27739         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27740         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27741         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27742         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27743         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27744         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27745         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27746         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27747         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27748         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27749         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27750         Likewise.
27751         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27752         Likewise.
27753         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27754         Likewise.
27755         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27756         Likewise.
27757         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27758         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27759         Likewise.
27760         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27761         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27762         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27763         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27764         Likewise.
27765         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27766         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27767         * sysdeps/powerpc/preconfigure: Likewise.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27769         Likewise.
27770         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27771         Replace contents of file by #include of <fenv_libc.h>.
27772         * sysdeps/powerpc/soft-fp/sfp-machine.h
27773         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27774         and <sys/prctl.h>.
27775         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27776         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27777         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27778         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27779         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27780         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27784         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27788         Allow copysignl PLT reference to be missing.
27790 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27791             Joseph Myers  <joseph@codesourcery.com
27793         [BZ #15948]
27794         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27795         single character.
27796         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27798 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27800         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27801         * elf/tst-tls1.c: Likewise.
27802         * elf/tst-tls10.h: Likewise.
27803         * elf/tst-tls14.c: Likewise.
27804         * elf/tst-tls2.c: Likewise.
27805         * elf/tst-tls3.c: Likewise.
27806         * elf/tst-tls4.c: Likewise.
27807         * elf/tst-tls5.c: Likewise.
27808         * elf/tst-tls6.c: Likewise.
27809         * elf/tst-tls7.c: Likewise.
27810         * elf/tst-tls8.c: Likewise.
27811         * elf/tst-tls9.c: Likewise.
27812         * elf/tst-tlsmod1.c: Likewise.
27813         * elf/tst-tlsmod13.c: Likewise.
27814         * elf/tst-tlsmod13a.c: Likewise.
27815         * elf/tst-tlsmod14a.c: Likewise.
27816         * elf/tst-tlsmod16a.c: Likewise.
27817         * elf/tst-tlsmod16b.c: Likewise.
27818         * elf/tst-tlsmod2.c: Likewise.
27819         * elf/tst-tlsmod3.c: Likewise.
27820         * elf/tst-tlsmod4.c: Likewise.
27821         * elf/tst-tlsmod5.c: Likewise.
27822         * elf/tst-tlsmod6.c: Likewise.
27824 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27826         [BZ #12486]
27827         * malloc/malloc.c: remove checks for statistics.
27829 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27831         [BZ #15277]
27832         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27833         * inet/tst-network.c: Add testcase.
27835 2013-10-17  Andreas Schwab  <schwab@suse.de>
27837         [BZ #15218]
27838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27839         to determine canonical name.
27841 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27843         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27844         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27846         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27848         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27850         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27852         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27853         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27854         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27855         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27856         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27857         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27858         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27861         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27862         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27864         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27865         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27866         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27867         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27868         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27869         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27870         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27871         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27872         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27873         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27887         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27888         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27889         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27890         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27891         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27892         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27893         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27894         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27895         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27896         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27902 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27904         [BZ #16041]
27905         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27906         make result into a quiet NaN.
27908 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27910         * soft-fp/adddf3.c: Fix horizontal whitespace.
27911         * soft-fp/addsf3.c: Likewise.
27912         * soft-fp/addtf3.c: Likewise.
27913         * soft-fp/divdf3.c: Likewise.
27914         * soft-fp/divsf3.c: Likewise.
27915         * soft-fp/divtf3.c: Likewise.
27916         * soft-fp/double.h: Likewise.
27917         * soft-fp/eqdf2.c: Likewise.
27918         * soft-fp/eqsf2.c: Likewise.
27919         * soft-fp/eqtf2.c: Likewise.
27920         * soft-fp/extenddftf2.c: Likewise.
27921         * soft-fp/extended.h: Likewise.
27922         * soft-fp/extendsfdf2.c: Likewise.
27923         * soft-fp/extendsftf2.c: Likewise.
27924         * soft-fp/extendxftf2.c: Likewise.
27925         * soft-fp/fixdfdi.c: Likewise.
27926         * soft-fp/fixdfsi.c: Likewise.
27927         * soft-fp/fixdfti.c: Likewise.
27928         * soft-fp/fixsfdi.c: Likewise.
27929         * soft-fp/fixsfsi.c: Likewise.
27930         * soft-fp/fixsfti.c: Likewise.
27931         * soft-fp/fixtfdi.c: Likewise.
27932         * soft-fp/fixtfsi.c: Likewise.
27933         * soft-fp/fixtfti.c: Likewise.
27934         * soft-fp/fixunsdfdi.c: Likewise.
27935         * soft-fp/fixunsdfsi.c: Likewise.
27936         * soft-fp/fixunsdfti.c: Likewise.
27937         * soft-fp/fixunssfdi.c: Likewise.
27938         * soft-fp/fixunssfsi.c: Likewise.
27939         * soft-fp/fixunssfti.c: Likewise.
27940         * soft-fp/fixunstfdi.c: Likewise.
27941         * soft-fp/fixunstfsi.c: Likewise.
27942         * soft-fp/fixunstfti.c: Likewise.
27943         * soft-fp/floatdidf.c: Likewise.
27944         * soft-fp/floatdisf.c: Likewise.
27945         * soft-fp/floatditf.c: Likewise.
27946         * soft-fp/floatsidf.c: Likewise.
27947         * soft-fp/floatsisf.c: Likewise.
27948         * soft-fp/floatsitf.c: Likewise.
27949         * soft-fp/floattidf.c: Likewise.
27950         * soft-fp/floattisf.c: Likewise.
27951         * soft-fp/floattitf.c: Likewise.
27952         * soft-fp/floatundidf.c: Likewise.
27953         * soft-fp/floatundisf.c: Likewise.
27954         * soft-fp/floatunditf.c: Likewise.
27955         * soft-fp/floatunsidf.c: Likewise.
27956         * soft-fp/floatunsisf.c: Likewise.
27957         * soft-fp/floatunsitf.c: Likewise.
27958         * soft-fp/floatuntidf.c: Likewise.
27959         * soft-fp/floatuntisf.c: Likewise.
27960         * soft-fp/floatuntitf.c: Likewise.
27961         * soft-fp/fmadf4.c: Likewise.
27962         * soft-fp/fmasf4.c: Likewise.
27963         * soft-fp/fmatf4.c: Likewise.
27964         * soft-fp/gedf2.c: Likewise.
27965         * soft-fp/gesf2.c: Likewise.
27966         * soft-fp/getf2.c: Likewise.
27967         * soft-fp/ledf2.c: Likewise.
27968         * soft-fp/lesf2.c: Likewise.
27969         * soft-fp/letf2.c: Likewise.
27970         * soft-fp/muldf3.c: Likewise.
27971         * soft-fp/mulsf3.c: Likewise.
27972         * soft-fp/multf3.c: Likewise.
27973         * soft-fp/negdf2.c: Likewise.
27974         * soft-fp/negsf2.c: Likewise.
27975         * soft-fp/negtf2.c: Likewise.
27976         * soft-fp/op-1.h: Likewise.
27977         * soft-fp/op-2.h: Likewise.
27978         * soft-fp/op-4.h: Likewise.
27979         * soft-fp/op-8.h: Likewise.
27980         * soft-fp/op-common.h: Likewise.
27981         * soft-fp/quad.h: Likewise.
27982         * soft-fp/single.h: Likewise.
27983         * soft-fp/soft-fp.h: Likewise.
27984         * soft-fp/sqrtdf2.c: Likewise.
27985         * soft-fp/sqrtsf2.c: Likewise.
27986         * soft-fp/sqrttf2.c: Likewise.
27987         * soft-fp/subdf3.c: Likewise.
27988         * soft-fp/subsf3.c: Likewise.
27989         * soft-fp/subtf3.c: Likewise.
27990         * soft-fp/truncdfsf2.c: Likewise.
27991         * soft-fp/trunctfdf2.c: Likewise.
27992         * soft-fp/trunctfsf2.c: Likewise.
27993         * soft-fp/trunctfxf2.c: Likewise.
27994         * soft-fp/unorddf2.c: Likewise.
27995         * soft-fp/unordsf2.c: Likewise.
27996         * soft-fp/unordtf2.c: Likewise.
27998 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28000         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28001         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28003 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28005         * elf/dl-libc.c: Clear initfini list after freeing.
28007 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28009         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28010         * soft-fp/addsf3.c: Likewise.
28011         * soft-fp/addtf3.c: Likewise.
28012         * soft-fp/divdf3.c: Likewise.
28013         * soft-fp/divsf3.c: Likewise.
28014         * soft-fp/divtf3.c: Likewise.
28015         * soft-fp/double.h: Likewise.
28016         * soft-fp/eqdf2.c: Likewise.
28017         * soft-fp/eqsf2.c: Likewise.
28018         * soft-fp/eqtf2.c: Likewise.
28019         * soft-fp/extenddftf2.c: Likewise.
28020         * soft-fp/extended.h: Likewise.
28021         * soft-fp/extendsfdf2.c: Likewise.
28022         * soft-fp/extendsftf2.c: Likewise.
28023         * soft-fp/extendxftf2.c: Likewise.
28024         * soft-fp/fixdfdi.c: Likewise.
28025         * soft-fp/fixdfsi.c: Likewise.
28026         * soft-fp/fixdfti.c: Likewise.
28027         * soft-fp/fixsfdi.c: Likewise.
28028         * soft-fp/fixsfsi.c: Likewise.
28029         * soft-fp/fixsfti.c: Likewise.
28030         * soft-fp/fixtfdi.c: Likewise.
28031         * soft-fp/fixtfsi.c: Likewise.
28032         * soft-fp/fixtfti.c: Likewise.
28033         * soft-fp/fixunsdfdi.c: Likewise.
28034         * soft-fp/fixunsdfsi.c: Likewise.
28035         * soft-fp/fixunsdfti.c: Likewise.
28036         * soft-fp/fixunssfdi.c: Likewise.
28037         * soft-fp/fixunssfsi.c: Likewise.
28038         * soft-fp/fixunssfti.c: Likewise.
28039         * soft-fp/fixunstfdi.c: Likewise.
28040         * soft-fp/fixunstfsi.c: Likewise.
28041         * soft-fp/fixunstfti.c: Likewise.
28042         * soft-fp/floatdidf.c: Likewise.
28043         * soft-fp/floatdisf.c: Likewise.
28044         * soft-fp/floatditf.c: Likewise.
28045         * soft-fp/floatsidf.c: Likewise.
28046         * soft-fp/floatsisf.c: Likewise.
28047         * soft-fp/floatsitf.c: Likewise.
28048         * soft-fp/floattidf.c: Likewise.
28049         * soft-fp/floattisf.c: Likewise.
28050         * soft-fp/floattitf.c: Likewise.
28051         * soft-fp/floatundidf.c: Likewise.
28052         * soft-fp/floatundisf.c: Likewise.
28053         * soft-fp/floatunsidf.c: Likewise.
28054         * soft-fp/floatunsisf.c: Likewise.
28055         * soft-fp/floatuntidf.c: Likewise.
28056         * soft-fp/floatuntisf.c: Likewise.
28057         * soft-fp/floatuntitf.c: Likewise.
28058         * soft-fp/fmadf4.c: Likewise.
28059         * soft-fp/fmasf4.c: Likewise.
28060         * soft-fp/fmatf4.c: Likewise.
28061         * soft-fp/gedf2.c: Likewise.
28062         * soft-fp/gesf2.c: Likewise.
28063         * soft-fp/getf2.c: Likewise.
28064         * soft-fp/ledf2.c: Likewise.
28065         * soft-fp/lesf2.c: Likewise.
28066         * soft-fp/letf2.c: Likewise.
28067         * soft-fp/muldf3.c: Likewise.
28068         * soft-fp/mulsf3.c: Likewise.
28069         * soft-fp/multf3.c: Likewise.
28070         * soft-fp/negdf2.c: Likewise.
28071         * soft-fp/negsf2.c: Likewise.
28072         * soft-fp/negtf2.c: Likewise.
28073         * soft-fp/op-1.h: Likewise.
28074         * soft-fp/op-2.h: Likewise.
28075         * soft-fp/op-4.h: Likewise.
28076         * soft-fp/op-8.h: Likewise.
28077         * soft-fp/op-common.h: Likewise.
28078         * soft-fp/quad.h: Likewise.
28079         * soft-fp/single.h: Likewise.
28080         * soft-fp/soft-fp.h: Likewise.
28081         * soft-fp/sqrtdf2.c: Likewise.
28082         * soft-fp/sqrtsf2.c: Likewise.
28083         * soft-fp/sqrttf2.c: Likewise.
28084         * soft-fp/subdf3.c: Likewise.
28085         * soft-fp/subsf3.c: Likewise.
28086         * soft-fp/subtf3.c: Likewise.
28087         * soft-fp/truncdfsf2.c: Likewise.
28088         * soft-fp/trunctfdf2.c: Likewise.
28089         * soft-fp/trunctfsf2.c: Likewise.
28090         * soft-fp/trunctfxf2.c: Likewise.
28091         * soft-fp/unorddf2.c: Likewise.
28092         * soft-fp/unordsf2.c: Likewise.
28093         * soft-fp/unordtf2.c: Likewise.
28095 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28097         [BZ #15672]
28098         * misc/error.c (error_tail): Fix possible buffer overflow.
28100 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28102         [BZ #13028]
28103         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28104         address.
28106 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28108         [BZ #832]
28109         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28110         testing pipefail option.
28112 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28114         * soft-fp/double.h: Indent preprocessor directives inside #if.
28115         * soft-fp/extended.h: Likewise.
28116         * soft-fp/op-2.h: Likewise.
28117         * soft-fp/op-4.h: Likewise.
28118         * soft-fp/op-common.h: Likewise.
28119         * soft-fp/quad.h: Likewise.
28120         * soft-fp/single.h: Likewise.
28121         * soft-fp/soft-fp.h: Likewise.
28123 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28125         * iconv/iconv_prog.c: Fix typos.
28126         * stdio-common/psiginfo-data.h: Likewise.
28128 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28130         [BZ #15764]
28131         * locale/setlocale.c: Fix typo.
28133 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28135         [BZ #16036]
28136         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28137         signaling NaN arguments.
28138         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28139         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28141         [BZ #14910]
28142         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28143         unordered operands.
28144         * soft-fp/gesf2.c (__gesf2): Likewise.
28145         * soft-fp/getf2.c (__getf2): Likewise.
28146         * soft-fp/ledf2.c (__ledf2): Likewise.
28147         * soft-fp/lesf2.c (__lesf2): Likewise.
28148         * soft-fp/letf2.c (__letf2): Likewise.
28150         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28151         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28152         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28153         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28154         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28155         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28156         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28157         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28158         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28159         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28160         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28161         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28162         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28163         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28164         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28165         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28166         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28167         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28168         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28169         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28170         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28171         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28172         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28173         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28174         * soft-fp/floattidf.c (__floattidf): Likewise.
28175         * soft-fp/floattisf.c (__floattisf): Likewise.
28176         * soft-fp/floattitf.c (__floattitf): Likewise.
28177         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28178         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28179         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28180         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28181         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28182         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28183         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28184         * soft-fp/gesf2.c (__gesf2): Likewise.
28185         * soft-fp/getf2.c (__getf2): Likewise.
28186         * soft-fp/ledf2.c (__ledf2): Likewise.
28187         * soft-fp/lesf2.c (__lesf2): Likewise.
28188         * soft-fp/letf2.c (__letf2): Likewise.
28190         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28191         Undefine and redefine.
28192         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28193         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28194         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28195         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28196         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28197         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28198         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28199         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28200         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28201         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28202         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28203         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28204         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28205         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28206         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28208         [BZ #16032]
28209         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28210         without decrementing exponent if mantissa >= that for the
28211         denominator, not >.
28212         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28213         denominator, not >.  Decrement exponent in < case instead of
28214         incrementing in >= case.
28215         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28216         without decrementing exponent if mantissa >= that for the
28217         denominator, not >.
28219         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28220         computing saturated result for unsigned overflow.
28222 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28223             Jeff Law  <law@redhat.com>
28225         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28226         (atan2Mp): Add systemtap probe marker.
28227         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28228         (__ieee754_log): Add systemtap probe marker.
28229         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28230         (atanMp): Add systemtap probe marker.
28231         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28232         (tanMp): Add systemtap probe marker.
28233         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28234         (__slowexp): Add systemtap probe marker.
28235         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28236         (__slowpow): Add systemtap probe marker.
28237         * manual/probes.texi: Document probes.
28239 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28241         [BZ #15362]
28242         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28243         written.
28244         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28245         written.
28246         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28247         written to buffer but not flushed.
28248         * libio/iofwrite_u.c:  Likewise.
28249         * libio/iopadn.c:  Return bytes returned even if EOF was
28250         encountered.
28251         * libio/iowpadn.c:  Likewise.
28252         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28253         if _IO_padn does not write the whole buffer.
28254         [!COMPILE_WPRINTF] (PAD): Likewise.
28256 2013-10-10  David S. Miller  <davem@davemloft.net>
28258         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28259         directory block.
28261 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28263         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28264         instead of FSF address.
28265         * soft-fp/fixdfti.c: Likewise.
28266         * soft-fp/fixsfti.c: Likewise.
28267         * soft-fp/fixtfti.c: Likewise.
28268         * soft-fp/fixunsdfti.c: Likewise.
28269         * soft-fp/fixunssfti.c: Likewise.
28270         * soft-fp/fixunstfti.c: Likewise.
28271         * soft-fp/floattidf.c: Likewise.
28272         * soft-fp/floattisf.c: Likewise.
28273         * soft-fp/floattitf.c: Likewise.
28274         * soft-fp/floatuntidf.c: Likewise.
28275         * soft-fp/floatuntisf.c: Likewise.
28276         * soft-fp/floatuntitf.c: Likewise.
28277         * soft-fp/trunctfxf2.c: Likewise.
28279         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28280         * soft-fp/fixdfti.c: Likewise.
28281         * soft-fp/fixsfti.c: Likewise.
28282         * soft-fp/fixtfti.c: Likewise.
28283         * soft-fp/fixunsdfti.c: Likewise.
28284         * soft-fp/fixunssfti.c: Likewise.
28285         * soft-fp/fixunstfti.c: Likewise.
28286         * soft-fp/floattidf.c: Likewise.
28287         * soft-fp/floattisf.c: Likewise.
28288         * soft-fp/floattitf.c: Likewise.
28289         * soft-fp/floatuntidf.c: Likewise.
28290         * soft-fp/floatuntisf.c: Likewise.
28291         * soft-fp/floatuntitf.c: Likewise.
28292         * soft-fp/trunctfxf2.c: Likewise.
28294 2013-10-10  David S. Miller  <davem@davemloft.net>
28296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28298 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28300         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28301         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28302         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28303         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28304         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28305         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28306         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28308         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28309         for NaNs before doing comparisons on argument.
28310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28311         Likewise.
28313 2013-10-10  Will Newton  <will.newton@linaro.org>
28315         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28316         passed to _int_memalign does not overflow.
28318 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28320         * scripts/bench.pl: Add include-sources directive.
28321         * benchtests/README: Update documentation.
28323 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28325         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28326         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28327         instead of FP_INIT_ROUNDMODE.
28328         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28329         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28331         [BZ #16034]
28332         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28333         copy class of input value.
28334         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28335         not handle exceptions.
28336         * soft-fp/negsf2.c (__negsf2): Likewise.
28337         * soft-fp/negtf2.c (__negtf2): Likewise.
28338         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28340 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28342         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28343         semicolon.  From Linux kernel.
28345 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28347         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28349 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28351         [BZ #156]
28352         * manual/socket.texi: Added statement about buffer
28353         for gethostbyname2_r.
28355 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28357         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28358         Use .p2align directive instead, throughout.
28359         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28360         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28361         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28362         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28363         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28364         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28365         * sysdeps/x86_64/strchr.S: Likewise.
28366         * sysdeps/x86_64/strrchr.S: Likewise.
28368 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28370         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28372         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28374         * sysdeps/generic/math_private.h (__mpsin1): Remove
28375         declaration.
28376         (__mpcos1): Likewise.
28377         (__mpsin): New argument __range_reduce.
28378         (__mpcos): Likewise.
28379         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28380         (slow): Use __mpsin and __mpcos.
28381         (slow1): Likewise.
28382         (slow2): Likewise.
28383         (sloww): Likewise.
28384         (sloww1): Likewise.
28385         (sloww2): Likewise.
28386         (bsloww): Likewise.
28387         (bsloww1): Likewise.
28388         (bsloww2): Likewise.
28389         (cslow2): Likewise.
28390         (csloww): Likewise.
28391         (csloww1): Likewise.
28392         (csloww2): Likewise.
28393         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28394         range_reduce.  Merge in __mpsin1.
28395         (__mpcos): Likewise.
28396         (__mpsin1): Remove.
28397         (__mpcos1): Likewise.
28399 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28401         * locale/loadlocale.c (_nl_intern_locale_data): Use
28402         LOCFILE_ALIGNED_P.
28403         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28404         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28405         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28406         obstack data is appropriately aligned.
28407         (obstack_int32_grow_fast): Likewise.
28408         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28409         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28410         (add_locale_uint32_array): Likewise.
28412 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28414         * benchtests/Makefile: Remove ARGLIST and RET variables.
28415         ($(objpfx)bench-%.c): Pass only function name to the script.
28416         * benchtests/README: Update documentation.
28417         * benchtests/acos-inputs: Add new directives.
28418         * benchtests/acosh-inputs: Likewise.
28419         * benchtests/asin-inputs: Likewise.
28420         * benchtests/asinh-inputs: Likewise.
28421         * benchtests/atan-inputs: Likewise.
28422         * benchtests/atanh-inputs: Likewise.
28423         * benchtests/cos-inputs: Likewise.
28424         * benchtests/cosh-inputs: Likewise.
28425         * benchtests/exp-inputs: Likewise.
28426         * benchtests/log-inputs: Likewise.
28427         * benchtests/pow-inputs: Likewise.
28428         * benchtests/rint-inputs: Likewise.
28429         * benchtests/sin-inputs: Likewise.
28430         * benchtests/sinh-inputs: Likewise.
28431         * benchtests/tan-inputs: Likewise.
28432         * benchtests/tanh-inputs: Likewise.
28433         * scripts/bench.pl: Add support for new directives.
28435 2013-10-07  Alan Modra  <amodra@gmail.com>
28437         * README: Fix careless merge.
28439 2013-10-05  Alan Modra  <amodra@gmail.com>
28441         * NEWS: Mention powerpc64le support and bugs fixed.
28442         * README: Both big-endian and little-endian powerpc64 supported.
28444 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28446         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28447         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28448         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28449         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28451 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28453         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28454         match prototype.
28456 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28458         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28459         Move -mhard-float appending from
28460         ports/sysdeps/powerpc/powerpc32/Makefile.
28461         [$(with-fp) = yes] (ASFLAGS): Likewise.
28462         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28463         * sysdeps/powerpc/nofpu: Move directory from
28464         ports/sysdeps/powerpc/nofpu.
28465         * sysdeps/powerpc/soft-fp: Move directory from
28466         ports/sysdeps/powerpc/soft-fp.
28467         * sysdeps/powerpc/powerpc32/405: Move directory from
28468         ports/sysdeps/powerpc/powerpc32/405.
28469         * sysdeps/powerpc/powerpc32/440: Move directory from
28470         ports/sysdeps/powerpc/powerpc32/440.
28471         * sysdeps/powerpc/powerpc32/464: Move directory from
28472         ports/sysdeps/powerpc/powerpc32/464.
28473         * sysdeps/powerpc/powerpc32/476: Move directory from
28474         ports/sysdeps/powerpc/powerpc32/476.
28475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28476         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28478         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28480         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28482         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28484         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28485         * README: Update for powerpc-*-linux-gnu software floating point
28486         support in libc.
28488         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28489         case to powerpc/powerpc32*.
28490         * sysdeps/unix/sysv/linux/configure: Regenerated.
28492         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28493         (_FPU_MASK_OM): Define as 0x04.
28494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28496         0x00c10080.
28497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28498         0x0000003c.
28499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28502         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28503         getcontext_e500.
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28505         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28506         setcontext_e500.
28507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28508         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28509         and setcontext_e500.
28511 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28513         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28515 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28517         * manual/threads.texi (Default Thread Attributes): Fix typo.
28519 2013-10-04  Will Newton  <will.newton@linaro.org>
28521         * malloc/Makefile: Add tst-memalign.
28522         * malloc/tst-memalign.c: New file.
28524         * malloc/tst-posix_memalign.c: Add comments.
28525         (do_test): Add comments and call free on all potentially
28526         allocated pointers. Add space after cast.
28528         * malloc/tst-pvalloc.c: Add comments.
28529         (do_test): Add comments and call free on all potentially
28530         allocated pointers. Remove duplicate check for NULL pointer.
28531         Add space after cast.
28533         * malloc/tst-valloc.c: Add comments.
28534         (do_test): Add comments and call free on all potentially
28535         allocated pointers. Remove duplicate check for NULL pointer.
28536         Add space after cast.
28538 2013-10-04  Alan Modra  <amodra@gmail.com>
28540         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28541         Use stdint types in rather than __attribute__((mode())).
28542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28544 2013-10-04  Alan Modra  <amodra@gmail.com>
28546         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28547         Correct handling of unaligned relocs for little-endian.
28548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28550 2013-10-04  Alan Modra  <amodra@gmail.com>
28552         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28553         * configure: Regenerate.
28554         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28555         * shlib-versions: Likewise.
28557 2013-10-04  Alan Modra  <amodra@gmail.com>
28559         * string/tester.c (test_memrchr): Increment reported test cycle.
28561 2013-10-04  Alan Modra  <amodra@gmail.com>
28563         * string/test-memcpy.c (do_one_test): When reporting errors, print
28564         string address and don't overrun end of string.
28566 2013-10-04  Alan Modra  <amodra@gmail.com>
28568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28569         insrdi.  Make better use of reg selection to speed exit slightly.
28570         Schedule entry path a little better.  Remove useless "are we done"
28571         checks on entry to main loop.  Handle wrapping around zero address.
28572         Correct main loop count.  Handle single left-over word from main
28573         loop inline rather than by using loop_small.  Remove extra word
28574         case in loop_small caused by wrong loop count.  Add little-endian
28575         support.
28576         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28578         cache hint.
28579         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28580         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28581         support.  Avoid rlwimi.
28582         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28584 2013-10-04  Alan Modra  <amodra@gmail.com>
28586         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28587         insrdi.  Formatting.
28588         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28589         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28590         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28591         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28592         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28593         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28595 2013-10-04  Alan Modra  <amodra@gmail.com>
28597         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28598         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28599         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28600         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28601         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28602         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28604         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28605         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28606         use of regs.  Use power7 mtocrf.  Tidy function tails.
28608 2013-10-04  Alan Modra  <amodra@gmail.com>
28610         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28611         Formatting.  Consistently use rXXX register defines or rN defines.
28612         Use early exit labels that avoid restoring unused non-volatile regs.
28613         Make cr field use more consistent with rWORDn compares.  Rename
28614         regs used as shift registers for unaligned loop, using rN defines
28615         for short lifetime/multiple use regs.
28616         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28618         addi 1,1,64 to pop stack frame.  Simplify return value code.
28619         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28621 2013-10-04  Alan Modra  <amodra@gmail.com>
28623         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28624         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28625         rather than rlwimi.
28626         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28627         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28628         little-endian support.  Correct typos.
28629         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28630         rather than rlwimi.
28631         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28632         in loop and entry code to keep "and." results.
28633         (strchr): Add little-endian support.  Comment.  Move cntlzd
28634         earlier in tail.
28635         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28637 2013-10-04  Alan Modra  <amodra@gmail.com>
28639         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28640         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28641         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28642         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28644 2013-10-04  Alan Modra  <amodra@gmail.com>
28646         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28647         (rTMP): Define as r11.
28648         (strcmp): Add little-endian support.  Optimise tail.
28649         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28650         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28651         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28652         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28653         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28654         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28655         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28657 2013-10-04  Alan Modra  <amodra@gmail.com>
28659         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28660         little-endian support.  Remove unnecessary "are we done" tests.
28661         Handle "s" wrapping around zero and extremely large "size".
28662         Correct main loop count.  Handle single left-over word from main
28663         loop inline rather than by using small_loop.  Correct comments.
28664         Delete "zero" tail, use "end_max" instead.
28665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28667 2013-10-04  Alan Modra  <amodra@gmail.com>
28669         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28670         support.  Don't branch over align.
28671         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28672         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28673         support.  Rearrange tmp reg use to suit.  Comment.
28674         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28676 2013-10-04  Alan Modra  <amodra@gmail.com>
28678         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28680 2013-10-04  Alan Modra  <amodra@gmail.com>
28682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28683         conditional form of branch and link when obtaining pc.
28684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28686 2013-10-04  Alan Modra  <amodra@gmail.com>
28688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28689         HIWORD/LOWORD.
28690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28693 2013-10-04  Alan Modra  <amodra@gmail.com>
28695         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28696         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28697         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28698         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28699         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28700         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28701         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28702         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28703         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28704         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28706 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28707             Alistair Popple <alistair@ozlabs.au.ibm.com>
28708             Alan Modra <amodra@gmail.com>
28710         [BZ #15723]
28711         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28712         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28713         _dl_hwcap access for little-endian.
28714         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28715         destroy vmx regs when saving unaligned.
28716         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28717         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28718         destroy vmx regs when saving unaligned.
28720 2013-10-04  Alan Modra  <amodra@gmail.com>
28722         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28723         Don't use a union to pack hi/low value.
28725 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28727         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28728         for little-endian.
28729         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28731         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28732         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28733         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28735 2013-10-04  Alan Modra  <amodra@gmail.com>
28737         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28738         constants to usual value for .cst8 section, and remove redundant
28739         high address load.
28740         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28741         constant for 0x1p52.  Load little-endian words of double from
28742         correct stack offsets.
28744 2013-10-04  Alan Modra  <amodra@gmail.com>
28746         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28747         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28748         words of double from correct stack offsets.
28749         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28750         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28751         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28753         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28754         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28755         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28756         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28757         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28758         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28759         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28760         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28761         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28762         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28763         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28764         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28765         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28767 2013-10-04  Alan Modra  <amodra@gmail.com>
28769         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28770         64-bit int/double union.
28771         (_FPU_SETCW): Likewise.
28772         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28773         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28775 2013-10-04  Alan Modra  <amodra@gmail.com>
28777         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28778         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28780 2013-10-04  Alan Modra  <amodra@gmail.com>
28782         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28783         use vector int constants.
28784         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28786 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28788         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28789         array with long long.
28790         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28791         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28792         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28793         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28794         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28795         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28796         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28797         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28798         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28799         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28800         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28801         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28802         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28804 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28806         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28807         (__signbit): Likewise.  Correct for little-endian.
28808         (__signbitl): Call __signbit.
28809         (lrint): Correct for little-endian.
28810         (lrintf): Call lrint.
28812 2013-10-04  Alan Modra  <amodra@gmail.com>
28814         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28815         union 32-bit int array member with 64-bit int array.
28816         (t515, tm256): Double rather than long double.
28817         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28819 2013-10-04  Alan Modra  <amodra@gmail.com>
28821         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28822         Delete.
28823         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28824         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28825         version of math_ldbl.h.
28827 2013-10-04  Alan Modra  <amodra@gmail.com>
28829         [BZ #15734], [BZ #15735]
28830         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28831         all uses of ieee875 long double macros and unions.  Simplify test
28832         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28833         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28834         normalize after ldbl_extract_mantissa, and don't add hidden bit
28835         already handled.  Don't treat low word of ieee854 mantissa like
28836         low word of IBM long double and mask off bit when testing for
28837         zero.
28838         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28839         all uses of ieee875 long double macros and unions.  Simplify tests
28840         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28841         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28842         two1022, instead use their values.  Recognise that tests for large
28843         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28844         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28845         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28846         test for 0.0L and nan.  Correct negation.
28847         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28848         ieee875 long double macros and unions.  Correct output for large
28849         magnitude x.  Correct absolute value calculation.
28850         (__erfcl): Likewise.
28851         * math/libm-test.inc: Add tests for errors discovered in IBM long
28852         double versions of fmodl, remainderl, erfl and erfcl.
28854 2013-10-04  Alan Modra  <amodra@gmail.com>
28856         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28857         all uses of ieee854 long double macros and unions.  Simplify tests
28858         for long doubles that are fully specified by the high double.
28859         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28860         Likewise.
28861         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28862         Remove dead code too.
28863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28864         (__ieee754_ynl): Likewise.
28865         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28867         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28868         Remove dead code too.
28869         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28870         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28871         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28872         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28873         Simplify.
28874         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28875         Simplify.
28876         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28877         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28878         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28879         Comment on variable precision.
28880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28881         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28882         Likewise.
28883         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28884         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28885         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28886         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28887         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28889 2013-10-04  Alan Modra  <amodra@gmail.com>
28891         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28892         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28893         all uses of ieee854 long double macros and unions.
28894         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28896         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28898         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28899         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28900         Likewise.
28901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28902         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28903         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28904         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28905         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28907         Simplify sign and nan test too.
28908         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28909         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28910         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28911         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28912         Likewise.
28913         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28914         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28915         Likewise.
28916         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28917         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28918         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28919         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28920         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28923 2013-10-04  Alan Modra  <amodra@gmail.com>
28925         * stdio-common/printf_size.c (__printf_size): Don't use
28926         union ieee854_long_double in fpnum union.
28927         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28928         signbit macro to retrieve sign from long double.
28929         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28930         retrieve sign from long double.
28931         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28932         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28933         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28934         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28935         * math/test-misc.c (main): Don't use union ieee854_long_double.
28937 2013-10-04  Alan Modra  <amodra@gmail.com>
28939         [BZ #15680]
28940         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28941         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28942         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28943         calculation.  Remove unnecessary test for denormal exponent.
28944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28945         Correct handling of denormals.  Avoid undefined shift behaviour.
28946         Correct normalisation of low mantissa when low double is denormal.
28947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28948         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28949         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28950         Correct normalisation of low mantissa.  Test for overflow of high
28951         mantissa and normalise.
28952         (ldbl_nearbyint): Use more readable constant for two52.
28953         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28954         (__mpn_construct_long_double): Fix test for overflow of high
28955         mantissa and correct normalisation.  Avoid undefined shift.
28957 2013-10-04  Alan Modra  <amodra@gmail.com>
28959         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28960         (union ibm_extended_long_double): Define as an array of ieee754_double.
28961         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28962         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28963         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28964         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28965         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28966         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28968         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28969         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28973 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28975         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28976         page size instead of calling getpagesize.
28978         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28979         (LOCFILE_ALIGN_MASK): Likewise.
28980         (LOCFILE_ALIGN_UP): Likewise.
28981         (LOCFILE_ALIGNED_P): Likewise.
28982         * locale/programs/ld-collate.c (collate_output): Use the new
28983         macros instead of __alignof__ (int32_t).
28984         * locale/weight.h (findidx): Likewise.
28986 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28988         [BZ #431]
28989         * manual/string.texi: Fix strncat and wcsncat.
28991 2013-10-03  Brooks Moses  <bmoses@google.com>
28993         [BZ #15915]
28994         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28995         * Makerules: ...here, and adjust associated comments.
28997 2013-10-02  Will Newton  <will.newton@linaro.org>
28999         * malloc/Makefile: Add tst-pvalloc.
29000         * malloc/tst-pvalloc.c: New file.
29002 2013-10-02  Will Newton  <will.newton@linaro.org>
29004         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29005         improve test coverage.
29007 2013-10-02  Will Newton  <will.newton@linaro.org>
29009         * malloc/Makefile: Add tst-posix_memalign.
29010         * malloc/tst-posix_memalign.c: New file.
29012 2013-10-01  Eric Blake  <eblake@redhat.com>
29014         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29015         Use __THROWNL rather than __THROW on static functions.
29017 2013-09-30  Petr Machata  <pmachata@redhat.com>
29019         * elf/elf.h (R_AARCH64_ABS16): New macro.
29020         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29021         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29022         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29023         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29024         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29025         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29026         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29027         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29028         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29029         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29030         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29031         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29032         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29033         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29034         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29035         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29036         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29037         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29038         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29039         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29040         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29041         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29042         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29043         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29044         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29045         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29046         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29047         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29048         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29049         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29050         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29051         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29052         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29053         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29054         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29055         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29056         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29057         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29058         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29059         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29060         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29061         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29062         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29063         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29064         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29065         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29066         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29067         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29068         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29069         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29070         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29071         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29072         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29073         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29074         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29075         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29076         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29077         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29078         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29079         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29080         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29081         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29082         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29083         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29084         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29085         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29086         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29087         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29088         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29089         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29090         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29091         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29092         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29093         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29094         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29095         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29096         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29097         (R_AARCH64_TLSDESC_LDR): Likewise.
29098         (R_AARCH64_TLSDESC_ADD): Likewise.
29099         (R_AARCH64_TLSDESC_CALL): Likewise.
29101 2013-09-30  Andreas Schwab  <schwab@suse.de>
29103         [BZ #15048]
29104         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29105         the nss database lookup.
29106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29109 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29111         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29113 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29116         ${Bash-specific parameter/pattern/string} parameter expansion.
29117         * sysdeps/unix/make-syscalls.sh: Likewise.
29119 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29121         * sysdeps/sh/stackguard-macros.h: New file.
29123 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29127         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29128         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29129         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29130         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29132 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29134         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29135         Fix thread ID register.
29137 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29139         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29140         [POSIX || UNIX98]: Require rather than permitting all symbols from
29141         <time.h>.
29142         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29143         element of struct sched_param.
29144         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29145         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29146         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29147         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29148         constant.
29150 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29152         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29153         argument calculation.
29155 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29157         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29158         Expect macro.
29159         [POSIX] (pthread_attr_t): Do not require type.
29160         [POSIX] (pthread_cond_t): Likewise.
29161         [POSIX] (pthread_condattr_t): Likewise.
29162         [POSIX] (pthread_key_t): Likewise.
29163         [POSIX] (pthread_mutex_t): Likewise.
29164         [POSIX] (pthread_mutexattr_t): Likewise.
29165         [POSIX] (pthread_once_t): Likewise.
29166         [POSIX] (pthread_t): Likewise.
29167         [POSIX-based standards] (pthread_atfork): Expect function.
29169 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29170             Richard Sandiford  <richard@codesourcery.com>
29172         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29173         (swap_endianness_p): New extern variable.
29174         (set_big_endian): New inline function.
29175         (maybe_swap_uint32): Likewise.
29176         (maybe_swap_uint32_array): Likewise.
29177         (maybe_swap_uint32_obstack): Likewise.
29178         * locale/programs/locfile.c: Include <stdbool.h>.
29179         (swap_endianness_p): New variable.
29180         (add_locale_uint32): Call maybe_swap_uint32.
29181         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29182         (write_locale_data): Call maybe_swap_uint32_array.
29183         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29184         maybe_swap_uint32.
29185         (obstack_int32_grow_fast): Likewise.
29186         (output_weightwc): Call maybe_swap_uint32_obstack.
29187         (collate_output): Likewise.
29188         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29189         (OPT_LITTLE_ENDIAN): Likewise.
29190         (options): Add --little-endian and --big-endian options.
29191         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29192         * locale/programs/locarchive.c: Include "locfile.h".
29193         (GET): New macro.
29194         (SET): Likewise.
29195         (INC): Likewise.
29196         (create_archive): Use the new macros to access fields of
29197         structures directly mapped from or written to locale archives.
29198         (oldlocrecentcmp): Likewise.
29199         (enlarge_archive): Likewise.
29200         (insert_name): Likewise.
29201         (add_alias): Likewise.
29202         (add_locale): Likewise.
29203         (delete_locales_from_archive): Likewise.
29204         (show_archive_content): Likewise.
29205         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29206         locale data.
29208 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29210         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29211         http://www.gnu.org/doc/freemanuals.texi.
29212         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29214 2013-09-24  Will Newton  <will.newton@linaro.org>
29216         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29217         macro.
29219 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29221         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29222         unsigned char.
29224 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29226         * manual/threads.texi (POSIX Threads): Fix a typo.
29228 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29230         [BZ #14547]
29231         * string/tst-strcoll-overflow.c: New test case.
29232         * string/Makefile (xtests): Add tst-strcoll-overflow.
29233         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29234         cache if string sizes may cause integer overflow.
29236         [BZ #14547]
29237         * string/strcoll_l.c (coll_seq): New members rule, idx,
29238         save_idx and back_us.
29239         (get_next_seq_nocache): New function.
29240         (do_compare_nocache): New function.
29241         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29242         when malloc fails.
29244 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29246         [BZ #15754]
29247         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29248         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29249         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29251         [BZ #15754]
29252         * elf/Makefile (tests): Add tst-ptrguard1.
29253         (tests-static): Add tst-ptrguard1-static.
29254         (tst-ptrguard1-ARGS): Define.
29255         (tst-ptrguard1-static-ARGS): Define.
29256         * elf/tst-ptrguard1.c: New file.
29257         * elf/tst-ptrguard1-static.c: New file.
29258         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29259         * sysdeps/i386/stackguard-macros.h: Likewise.
29260         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29261         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29262         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29263         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29264         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29265         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29267 2013-09-23  Hector Marco  <hecmargi@upv.es>
29268             Ismael Ripoll  <iripoll@disca.upv.es>
29269             Carlos O'Donell  <carlos@redhat.com>
29271         [BZ #15754]
29272         * sysdeps/generic/stackguard-macros.h: Define
29273         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29274         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29275         Define __pointer_chk_guard_local.
29276         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29277         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29279 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29281         [BZ #15859]
29282         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29284 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29286         * include/string.h (__ffs): Declare as hidden.
29287         * string/ffs.c (__ffs): Define as hidden.
29288         * sysdeps/i386/ffs.c (__ffs): Likewise.
29289         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29290         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29291         * sysdeps/s390/ffs.c (__ffs): Likewise.
29292         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29294 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29296         * NEWS: Mention malloc probes.
29298         * malloc/arena.c (new_heap): New memory_heap_new probe.
29299         (grow_heap): New memory_heap_more probe.
29300         (shrink_heap): New memory_heap_less probe.
29301         (heap_trim): New memory_heap_free probe.
29302         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29303         (systrim): New memory_sbrk_less probe.
29304         * manual/probes.texi: Document them.
29306         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29307         * manual/probes.texi: Document it.
29309         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29310         (__libc_realloc): Add memory_realloc_retry probe.
29311         (__libc_memalign): Add memory_memalign_retry probe.
29312         (__libc_valloc): Add memory_valloc_retry probe.
29313         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29314         (__libc_calloc): Add memory_calloc_retry probe.
29315         * manual/probes.texi: Document them.
29317         * malloc/arena.c (get_free_list): Add probe
29318         memory_arena_reuse_free_list.
29319         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29320         and memory_arena_reuse.
29321         (arena_get2) [!PER_THREAD]: Likewise.
29322         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29323         memory_arena_reuse_realloc.
29324         * manual/probes.texi: Document them.
29326         * malloc/malloc.c (__libc_free): Add
29327         memory_mallopt_free_dyn_thresholds probe.
29328         (__libc_mallopt): Add multiple memory_mallopt probes.
29329         * manual/probes.texi: Document them.
29331         * malloc/malloc.c: Include stap-probe.h.
29332         (__libc_mallopt): Add memory_mallopt probe.
29333         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29334         * manual/probes.texi: New.
29335         * manual/Makefile (chapters): Add probes.
29336         * manual/threads.texi: Set next node.
29338 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29340         [BZ #15963, #13985]
29341         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29342         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29343         Add `Chinese' to `nan' entry name.
29345 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29347         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29348         (POLYNOMIAL): Likewise.
29349         (TAYLOR_SINCOS): Likewise.
29350         (TAYLOR_SLOW): Likewise.
29351         (__sin): Use TAYLOR_SINCOS.
29352         (__cos): Likewise.
29353         (slow): Use TAYLOR_SLOW.
29354         (sloww): Likewise.
29355         (bsloww): Likewise.
29356         (csloww): Likewise.
29358 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29360         * stdlib/strtod_l.c: Fix buffer overrun.
29362 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29364         * benchtests/Makefile (bench): Add sincos.
29365         * benchtests/bench-sincos.c: New file.
29367         * math/libm-test.inc (cos_test_data): New test inputs.
29368         (sin_test_data): Likewise.
29370         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29371         macro.
29372         (__sin): Use it.
29373         (__cos): Likewise.
29374         (slow1): Likewise.
29375         (slow2): Likewise.
29376         (sloww1): Likewise.
29377         (sloww2): Likewise.
29378         (bsloww1): Likewise.
29379         (bsloww2): Likewise.
29380         (cslow2): Likewise.
29381         (csloww1): Likewise.
29382         (csloww2): Likewise.
29384         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29385         function.
29386         (__sin): Use it.
29387         (__cos): Likewise.
29389         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29390         gotos.
29391         (__cos): Likewise.
29393 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29395         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29396         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29397         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29398         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29399         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29400         * elf/cache.c (print_entry): Handle the new cache flags.
29402 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29403             Aldy Hernandez  <aldyh@redhat.com>
29405         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29406         Change condition to [_SOFT_FLOAT].
29407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29411         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29419         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29422         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29423         declaration.
29425 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29427         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29428         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29429         (__longjmp): Use LOAD_GP to load saved GPRs.
29430         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29431         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29432         (__sigsetjmp): Use SAVE_GP to save GPRs.
29434         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29435         Do not append -msoft-float.
29436         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29438 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29440         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29442 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29444         [BZ #15966]
29445         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29446         (_FPU_GETCW): Use initial "__" on variable and field names but not
29447         on macro parameter name.
29448         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29449         parentheses around reference to macro parameter.
29451 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29453         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29454         prototype.
29455         (ctype_startup): Use uint32_t in cast and sizeof for
29456         ctype->charnames.
29458 2013-09-11  Jia Liu  <proljc@gmail.com>
29460         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29461         __daddr_t_defined.
29462         [__FreeBSD__]: Likewise.
29464 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29467         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29468         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29469         (strchr): Remove __strchr_sse42 ifunc selection.
29470         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29471         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29473 2013-09-11  Will Newton  <will.newton@linaro.org>
29475         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29476         parameter to RES. Remove hardcoded 1000 value.
29477         * benchtests/bench-skeleton.c (main): Pass RES parameter
29478         to TIMING_INIT and multiply result by 1000.
29480 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29484 2013-09-11  Andreas Schwab  <schwab@suse.de>
29486         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29487         if not defined.
29488         (O_TMPFILE) [__USE_GNU]: Define.
29489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29490         Define.
29492 2013-09-11  Will Newton  <will.newton@linaro.org>
29494         [BZ #15857]
29495         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29496         does not overflow.
29498 2013-09-11  Will Newton  <will.newton@linaro.org>
29500         [BZ #15856]
29501         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29502         does not overflow.
29504 2013-09-11  Will Newton  <will.newton@linaro.org>
29506         [BZ #15855]
29507         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29508         does not overflow.
29510 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29512         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29513         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29514         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29515         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29516         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29518 2013-09-10  Allan McRae  <allan@archlinux.org>
29520         [BZ #15748]
29521         * manual/arith.texi (Parsing of Floats): Clarify
29522         cross-reference.
29524         [BZ #15849]
29525         * manual/install.texi (Running make install): Mention
29526         --enable-pt-chown.
29527         * INSTALL: Regenerated.
29529 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29531         * csu/init-first.c (_init): Remove the !SHARED condition around
29532         FPU control word initialization.
29533         * elf/dl-support.c (_dl_fpu_control): New variable.
29534         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29535         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29536         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29537         * math/test-fpucw-static.c: New file.
29538         * math/test-fpucw-ieee.c: New file.
29539         * math/test-fpucw-ieee-static.c: New file.
29540         * math/Makefile (tests): Add `test-fpucw-ieee' and
29541         `$(tests-static)'.
29542         (tests-static): New variable.
29543         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29544         dependency to...
29545         [($(build-shared),yes)]
29546         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29547         ... this.
29548         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29549         New dependency.
29551 2013-09-09  Allan McRae  <allan@archlinux.org>
29553         [BZ #15939]
29554         * manual/string.texi (Collation Functions): Fix typo in
29555         strcoll example.
29556         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29558         [BZ #15893]
29559         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29561         [BZ #15892]
29562         * libio/memstream.c (open_memstream): Fix memory leak.
29563         * libio/wmemstream.c (open_wmemstream): Likewise.
29565         [BZ #15895]
29566         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29568 2013-09-09  Will Newton  <will.newton@linaro.org>
29570         * malloc/Makefile: Add tst-realloc to tests.
29571         * malloc/tst-realloc.c: New file.
29573 2013-09-09  Allan McRae  <allan@archlinux.org>
29575         [BZ #15844]
29576         * COPYING: Update from GNU website to fix FSF address.
29577         * COPYING.LIB: Likewise.
29579 2013-09-06  David S. Miller  <davem@davemloft.net>
29581         * po/zh_TW.po: Update Chinese (traditional) translation from
29582         translation project.
29584 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29585             Joseph Myers  <joseph@codesourcery.com>
29587         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29588         "localeinfo.h".
29589         (obstack_chunk_alloc): New macro.
29590         (obstack_chunk_free): Likewise.
29591         (record_offset): New function.
29592         (init_locale_data): Likewise.
29593         (align_locale_data): Likewise.
29594         (add_locale_empty): Likewise.
29595         (add_locale_raw_data): Likewise.
29596         (add_locale_raw_obstack): Likewise.
29597         (add_locale_string): Likewise.
29598         (add_locale_wstring): Likewise.
29599         (add_locale_uint32): Likewise.
29600         (add_locale_uint32_array): Likewise.
29601         (add_locale_char): Likewise.
29602         (start_locale_structure): Likewise.
29603         (end_locale_structure): Likewise.
29604         (start_locale_prelude): Likewise.
29605         (end_locale_prelude): Likewise.
29606         (write_locale_data): Take locale_file structure rather than an
29607         iovec.
29608         * locale/programs/locfile.h: Include "obstack.h".
29609         (struct locale_file): Change to store locale file contents instead
29610         of header.
29611         (init_locale_data): New prototype.
29612         (align_locale_data): Likewise.
29613         (add_locale_empty): Likewise.
29614         (add_locale_raw_data): Likewise.
29615         (add_locale_raw_obstack): Likewise.
29616         (add_locale_string): Likewise.
29617         (add_locale_wstring): Likewise.
29618         (add_locale_uint32): Likewise.
29619         (add_locale_uint32_array): Likewise.
29620         (add_locale_char): Likewise.
29621         (start_locale_structure): Likewise.
29622         (end_locale_structure): Likewise.
29623         (start_locale_prelude): Likewise.
29624         (end_locale_prelude): Likewise.
29625         (write_locale_data): Update prototype.
29626         * locale/programs/3level.h (struct TABLE): Remove result field.
29627         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29628         Use new locale_file interface.
29629         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29630         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29631         * locale/programs/ld-address.c (address_output): Use new
29632         locale_file interface.
29633         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29634         NO_ADD_LOCALE.
29635         (collate_finish): Don't call collseq_table_finalize.
29636         (collate_output): Use new locale_file interface.
29637         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29638         in file.
29639         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29640         (TABLE): Move defines earlier in file.
29641         (ELEMENT): Likewise.
29642         (DEFAULT): Likewise.
29643         (wctrans_table_add): Move macro and inline function earlier in
29644         file.
29645         (struct wctype_table): Move type earlier in file.
29646         (add_locale_wctype_table): New static prototype.
29647         (struct locale_ctype_t): Use logical types instead of struct iovec
29648         pointers for members.
29649         (ctype_output): Use new locale_file interface.
29650         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29651         new locale_file interface.
29652         (allocate_arrays): Update for use of new locale_file interface.
29653         * locale/programs/ld-identification.c (identification_output): Use
29654         new locale_file interface.
29655         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29656         * locale/programs/ld-messages.c (messages_output): Likewise.
29657         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29658         * locale/programs/ld-name.c (name_output): Likewise.
29659         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29660         * locale/programs/ld-paper.c (paper_output): Likewise.
29661         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29662         * locale/programs/ld-time.c (time_output): Likewise.
29664 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29666         * benchtests/Makefile: Add memrchr benchmark.
29667         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29668         benchmark as memrchr.
29669         * benchtests/bench-memrchr-ifunc.c: New file.
29670         * benchtests/bench-memrchr.c: New file.
29672 2013-09-06   Will Newton  <will.newton@linaro.org>
29674         * benchtests/Makefile (string-bench): Add memcpy.
29676 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29677             Cong Wang  <amwang@redhat.com>
29679         [BZ #15850]
29680         * sysdeps/unix/sysv/linux/bits/in.h
29681         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29682         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29683         before __USE_KERNEL_IPV6_DEFS uses.
29684         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29685         IPPROTO_BEETPH.
29686         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29687         sockaddr_in6, or ipv6_mreq.
29689 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29691         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29692         memory access for final bytes in some large inputs.
29693         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29695 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29697         * string/test-memrchr.c: New file.
29698         * string/test-memrchr-ifunc.c: New file.
29699         * string/Makefile: Add new memrchr testcase.
29701 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29703         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29704         fanotify_init returns EPERM.
29706 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29708         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29709         errors.
29710         (top level): Treat second token from macro or constant entries for
29711         allowed headers as allowed.
29712         * include/complex.h: Condition internal declarations on
29713         [!_ISOMAC].
29714         * include/fenv.h: Condition include of <stdbool.h> and internal
29715         declarations on [!_ISOMAC].
29717 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29719         [BZ #15923]
29720         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29722 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29724         * configure.in (--enable-versioning): Remove configure option.
29725         (libc_cv_asm_symver_directive): Remove configure test.
29726         (libc_cv_ld_version_script_option): Likewise.
29727         (VERSIONING): Remove variable and AC_SUBST.
29728         (DO_VERSIONING): Remove AC_DEFINE.
29729         * configure: Regenerated.
29730         * config.h.in (DO_VERSIONING): Remove macro.
29731         * Makerules [$(versioning) = yes]: Change conditionals to
29732         [$(build-shared) = yes].
29733         * config.make.in (versioning): Remove variable.
29734         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29735         [$(build-shared) = yes].
29736         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29737         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29738         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29739         [$(build-shared) = yes].
29740         * extra-lib.mk [$(versioning) = yes]: Likewise.
29741         * hurd/Makefile [$(versioning) = yes]: Likewise.
29742         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29743         [SHARED].
29744         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29745         [SHARED].
29746         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29747         [SHARED && !NO_HIDDEN].
29748         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29749         [SHARED].
29750         [SHARED && DO_VERSIONING]: Likewise..
29751         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29752         [$(build-shared) = yes].
29753         * manual/install.texi (--disable-versioning): Remove
29754         documentation.
29755         * INSTALL: Regenerated.
29756         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29757         to [SHARED].
29758         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29759         [$(build-shared) = yes].
29760         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29761         * sysdeps/i386/i686/multiarch/strstr-c.c
29762         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29763         [SHARED && !NO_HIDDEN].
29764         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29765         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29766         * sysdeps/powerpc/powerpc32/dl-machine.c
29767         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29768         * sysdeps/powerpc/powerpc32/sysdep.h
29769         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29770         to [SHARED && PIC && !NO_HIDDEN].
29771         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29772         conditional to [SHARED].
29774 2013-09-04   Will Newton  <will.newton@linaro.org>
29776         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29777         * benchtests/bench-string.h: Include bench-timing.h instead
29778         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29779         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29780         call to HP_TIMING_DIFF_INIT.
29781         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29782         instead of hp-timing.h macros.
29783         * benchtests/bench-memchr.c: Likewise.
29784         * benchtests/bench-memcmp.c: Likewise.
29785         * benchtests/bench-memcpy.c: Likewise.
29786         * benchtests/bench-memmem.c: Likewise.
29787         * benchtests/bench-memmove.c: Likewise.
29788         * benchtests/bench-memset.c: Likewise.
29789         * benchtests/bench-rawmemchr.c: Likewise.
29790         * benchtests/bench-strcasecmp.c: Likewise.
29791         * benchtests/bench-strcasestr.c: Likewise.
29792         * benchtests/bench-strcat.c: Likewise.
29793         * benchtests/bench-strchr.c: Likewise.
29794         * benchtests/bench-strcmp.c: Likewise.
29795         * benchtests/bench-strcpy.c: Likewise.
29796         * benchtests/bench-strcpy_chk.c: Likewise.
29797         * benchtests/bench-strlen.c: Likewise.
29798         * benchtests/bench-strncasecmp.c: Likewise.
29799         * benchtests/bench-strncat.c: Likewise.
29800         * benchtests/bench-strncmp.c: Likewise.
29801         * benchtests/bench-strncpy.c: Likewise.
29802         * benchtests/bench-strnlen.c: Likewise.
29803         * benchtests/bench-strpbrk.c: Likewise.
29804         * benchtests/bench-strrchr.c: Likewise.
29805         * benchtests/bench-strspn.c: Likewise.
29806         * benchtests/bench-strstr.c: Likewise.
29808 2013-09-04  Will Newton  <will.newton@linaro.org>
29810         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29812 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29814         [BZ #15427]
29815         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29816         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29817         * math/libm-test.inc (lgamma_test_data): Add more tests.
29818         * sysdeps/i386/fpu/libm-test-ulps: Update.
29819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29821 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29823         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29825         Add ifunc.
29826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29827         Add strcmp-sse2-unaligned
29828         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29830 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29832         * Versions.def (libc): Add GLIBC_2.19.
29834 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29836         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29837         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29839 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29841         [BZ #14155]
29842         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29843         intermediate calculations in recurrence.
29844         (__ieee754_ynf): Likewise.
29845         * math/libm-test.inc (jn_test_data): Do not allow spurious
29846         underflow exception.  Add more tests.
29847         (yn_test_data): Add more tests.
29848         * sysdeps/i386/fpu/libm-test-ulps: Update.
29849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29851 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29853         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29855 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29857         * csu/init-first.c: Fix then/than typos.
29858         * locale/programs/ld-collate.c: Likewise.
29859         * locale/programs/linereader.h: Likewise.
29860         * manual/charset.texi: Likewise.
29861         * manual/filesys.texi: Likewise.
29862         * manual/stdio.texi: Likewise.
29863         * manual/string.texi: Likewise.
29864         * stdlib/fmtmsg.c: Likewise.
29865         * sysdeps/i386/stpncpy.S: Likewise.
29866         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29867         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29868         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29869         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29871 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29873         * elf/dl-open.c: Fix typos.
29874         * iconvdata/gbbig5.c: Likewise.
29875         * iconvdata/iso-2022-jp.c: Likewise.
29876         * iconv/gconv_int.h: Likewise.
29877         * iconv/loop.c: Likewise.
29878         * nis/rpcsvc/nis.h: Likewise.
29879         * resolv/ns_name.c: Likewise.
29880         * stdio-common/vfscanf.c: Likewise.
29881         * streams/stropts.h: Likewise.
29882         * sunrpc/rpc_thread.c: Likewise.
29883         * sysdeps/i386/strpbrk.S: Likewise.
29884         * sysdeps/ieee754/k_standard.c: Likewise.
29885         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29887         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29888         * sysdeps/mach/hurd/profil.c: Likewise.
29889         * sysdeps/s390/dl-procinfo.h: Likewise.
29890         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29891         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29893         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29894         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29896 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29898         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29899         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29901 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29903         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29904         aix specific files.
29905         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29906         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29907         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29908         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29909         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29910         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29911         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29912         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29914 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29915             Roland McGrath  <roland@hack.frob.com>
29917         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29918         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29920 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29922         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29923         __executable_start symbol instead of _start.
29925 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29927         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29928         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29929         Move macros to...
29930         * sysdeps/gnu/ldsodefs.h: ... this new file.
29932         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29933         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29934         instead of ELFOSABI_LINUX.
29936         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29937         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29938         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29939         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29940         Likewise.
29941         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29942         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29943         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29944         Likewise.
29945         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29946         (ibm_extended_long_double): Add ieee_nan member.
29947         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29948         (do_test): New function.
29950         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29951         TEST_TRUNC.
29952         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29953         functions, renamed from truncdfsf_test, trunctfsf_test,
29954         trunctfdf_test.
29955         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29956         functions.
29957         (do_test): Run all these.
29959 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29961         * argp/argp-help.c: Fix typos.
29962         * argp/argp-parse.c: Likewise.
29963         * debug/backtracesyms.c: Likewise.
29964         * elf/elf.h: Likewise.
29965         * malloc/malloc.c: Likewise.
29966         * nis/nis_print.c: Likewise.
29967         * resolv/res_comp.c: Likewise.
29968         * stdlib/stdlib.h: Likewise.
29969         * sunrpc/clnt_tcp.c: Likewise.
29970         * sunrpc/clnt_udp.c: Likewise.
29971         * sunrpc/clnt_unix.c: Likewise.
29972         * sysdeps/unix/bsd/ptsname.c: Likewise.
29973         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29974         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29976         Likewise.
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29978         Likewise.
29979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29980         Likewise.
29981         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29983 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29985         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29988 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29990         [BZ #15897]
29991         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29992         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29993         ($(objpfx)bug-dl-leaf): New rule.
29994         ($(objpfx)bug-dl-leaf.so): Likewise.
29995         ($(objpfx)bug-dl-leaf.out): Likewise.
29996         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29997         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29998         * dlfcn/bug-dl-leaf.c: New test.
29999         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30000         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30001         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30002         (dlclose): Likewise.
30003         (dlmopen): Likewise.
30005 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30007         * include/netdb.h [!_ISOMAC]:
30008         Don't include <tls.h>.
30009         (h_errno, __libc_h_errno): Move declaration and macros out of
30010         [_LIBC_REENTRANT].
30012         * include/resolv.h [_RESOLV_H_]:
30013         Don't include <tls.h>.
30014         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30015         * resolv/res_libc.c: Don't include <tls.h>.
30016         (_res): Use __attribute__ ((nocommon)) in place of
30017         __attribute__ ((section (".bss"))).
30019         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30020         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30022         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30024         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30025         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30027         * resolv/res_mkquery.c: Include <sys/time.h>.
30029         * inet/ifreq.c: Moved to ...
30030         * sysdeps/unix/ifreq.c: ... here.
30031         * inet/ifreq.c: New file, true stub version.
30033         * socket/sa_len.c: New file.
30034         * socket/Makefile (aux): Add it.
30035         * sysdeps/unix/sysv/linux/Makefile
30036         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30037         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30038         and #include <socket/sa_len.c>.
30039         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30040         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30042         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30043         * bits/socket.h: ... here.
30045         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30046         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30047         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30049 2013-08-27  Andreas Schwab  <schwab@suse.de>
30051         [BZ #15736]
30052         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30053         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30054         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30055         * string/test-strcasecmp.c (test_main): Run tests in several
30056         locales.
30057         * string/test-strncasecmp.c (test_main): Likewise.
30059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30060         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30061         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30062         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30063         (__strncasecmp_ssse3) [PIC]: Likewise.
30065 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30067         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30069         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30070         instead of explicitly declaring xdecrypt.
30071         * nis/nss_nis/nis-publickey.c: Likewise.
30073 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30075         [BZ #15890]
30076         * nscd/aicache.c: Include res_hconf.h.
30077         (addhstaiX): Initialize res_hconf.
30079 2013-08-26  Andreas Schwab  <schwab@suse.de>
30081         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30082         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30084 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30086         * nscd/aicache.c (addhstaiX): Fix indentation.
30088 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30090         * configure.ac: Quote $build_pt_chown test.
30091         * configure: Regenerated.
30093 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30095         [BZ #15532]
30096         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30097         * math/s_cexpf.c (__cexpf): Likewise.
30098         * math/s_cexpl.c (__cexpl): Likewise.
30099         * math/libm-test.inc (cexp_test_data): Correct expected return
30100         value for NaN + i0.  Add another test.
30102 2013-08-22  David S. Miller  <davem@davemloft.net>
30104         * po/ca.po: Update Catalan translation from translation project.
30105         * po/uk.po: Add Ukrainian translations from translation project.
30107 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30109         [BZ #15797]
30110         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30111         is infinite, not alongside NaN test.
30112         * math/s_fdimf.c (__fdimf): Likewise.
30113         * math/s_fdiml.c (__fdiml): Likewise.
30114         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30115         errno is unchanged.
30117 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30119         * argp/argp-help.c: Fix typos.
30120         * crypt/speeds.c: Likewise.
30121         * csu/check_fds.c: Likewise.
30122         * elf/dl-load.c: Likewise.
30123         * elf/dl-open.c: Likewise.
30124         * elf/reldep3.c: Likewise.
30125         * elf/reldep.c: Likewise.
30126         * elf/sprof.c: Likewise.
30127         * iconv/iconv_charmap.c: Likewise.
30128         * iconv/skeleton.c: Likewise.
30129         * iconv/strtab.c: Likewise.
30130         * io/lockf64.c: Likewise.
30131         * libio/libioP.h: Likewise.
30132         * resolv/gai_notify.c: Likewise.
30133         * resolv/ns_name.c: Likewise.
30134         * resolv/ns_samedomain.c: Likewise.
30135         * resolv/res_send.c: Likewise.
30136         * stdlib/random.c: Likewise.
30137         * sunrpc/rpc/xdr.h: Likewise.
30138         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30139         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30140         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30141         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30142         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30144         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30145         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30146         * sysdeps/mach/hurd/check_fds.c: Likewise.
30147         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30148         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30149         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30150         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30151         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30152         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30153         * sysdeps/pthread/aio_notify.c: Likewise.
30154         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30155         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30156         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30158         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30160 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30162         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30163         version if bit_Slow_SSE4_2 is set.
30164         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30165         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30167 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         [BZ #15867]
30170         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30171         trampoline stack frame information.
30172         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30173         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30174         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30175         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30176         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30177         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30178         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30179         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30180         sa_flags value.
30181         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30182         interrupting a syscall and set with option SA_SIGINFO.
30184 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30186         [BZ #15531]
30187         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30188         argument is infinite.
30189         * math/s_cprojf.c (__cprojf): Likewise.
30190         * math/s_cprojl.c (__cprojl): Likewise.
30191         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30192         * math/libm-test.inc (cproj_test_data): Add more tests.
30194         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30196         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30197         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30198         size.  Use __ffs to determine corresponding shift.
30200 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30201             Roland McGrath  <roland@hack.frob.com>
30203         * Makefile (INSTALL): Remove trailing blank lines from output of
30204         makeinfo.
30206 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30208         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30209         Align 32 bit compat elf_greg to 8 bytes.
30211 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30213         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30215 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30217         * string/strcoll_l.c (coll_seq): New structure.
30218         (get_next_seq_cached): New function.
30219         (get_next_seq): New function.
30220         (do_compare): New function.
30221         (STRCOLL): Use GNU style definition.  Simplify implementation
30222         by using get_next_seq, get_next_seq_cached and do_compare.
30224 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30226         [BZ #14699]
30227         CVE-2013-4237
30228         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30229         member.
30230         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30231         member.
30232         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30233         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30234         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30235         conditional.
30236         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30237         GETDENTS_64BIT_ALIGNED.
30238         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30239         * manual/filesys.texi (Reading/Closing Directory): Document
30240         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30241         strongly.
30242         * manual/conf.texi (Limits for Files): Add portability note to
30243         NAME_MAX, PATH_MAX.
30244         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30246 2013-08-13  Andreas Schwab  <schwab@suse.de>
30248         [BZ #15749]
30249         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30250         of fabs.
30251         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30252         LDBL_MAX_EXP >= 16384]: Add tests for it.
30254 2013-08-12  David S. Miller  <davem@davemloft.net>
30256         * version.h (RELEASE): Set to "development".
30257         (VERSION): Set to "2.18.90".
30258         * NEWS: Add 2.19 section.
30260 2013-08-03  David S. Miller  <davem@davemloft.net>
30262         * po/ko.po: Update Korean translation from translation project.
30264 2013-08-01  David S. Miller  <davem@davemloft.net>
30266         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30267         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30268         Bilka.
30270 2013-07-30  David S. Miller  <davem@davemloft.net>
30272         * po/fr.po: Update French translation from translation project.
30274 2013-07-28  David S. Miller  <davem@davemloft.net>
30276         * po/cs.po: Update Czech translation from translation project.
30278         * po/sv.po: Update Swedish translation from translation project.
30280 2013-07-27  David S. Miller  <davem@davemloft.net>
30282         * po/eo.po: Update Esperanto translation from translation project.
30284         * po/vi.po: Update Vietnamese translation from translation project.
30286         * po/de.po: Update German translation from translation project.
30288 2013-07-26  David S. Miller  <davem@davemloft.net>
30290         * po/bg.po: Update Bulgarian translation from translation project.
30292         * po/nl.po: Update Dutch translation from translation project.
30293         * po/pl.po: Update Polish translation from translation project.
30294         * po/ru.po: Update Russian translation from translation project.
30296 2013-07-24  David S. Miller  <davem@davemloft.net>
30298         * po/libc.pot: Update.
30300 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30302         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30303         variable page size.
30304         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30305         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30306         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30308 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30310         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30312 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30313             Andreas Schwab  <schwab@suse.de>
30314             Roland McGrath  <roland@hack.frob.com>
30315             Joseph Myers  <joseph@codesourcery.com>
30316             Carlos O'Donell  <carlos@redhat.com>
30318         [BZ #15755]
30319         * config.h.in: Define HAVE_PT_CHOWN.
30320         * config.make.in (build-pt-chown): New variable.
30321         * configure.in (--enable-pt_chown): New configure option.
30322         * configure: Regenerate.
30323         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30324         build-pt-chown is enabled.
30325         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30326         pt_chown to fix pty ownership.
30327         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30328         CLOSE_ALL_FDS.
30329         * manual/install.texi (Configuring and compiling): Mention
30330         --enable-pt_chown. Add @findex for grantpt.
30331         * INSTALL: Regenerate.
30333 2013-07-20  David S. Miller  <davem@davemloft.net>
30335         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30336         difference between 32-bit and 64-bit.
30338 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30340         [BZ #15711]
30341         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30342         Avoid system header dependency with -ffreestanding.
30343         ($(objpfx)bits/syscall%d): Likewise.
30345 2013-07-13  David S. Miller  <davem@davemloft.net>
30347         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30348         underflows from atanl/atan2l due to bug 15319.
30349         (casinh_test_data): Likewise.
30351 2013-07-07  David S. Miller  <davem@davemloft.net>
30353         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30355 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30357         * sysdeps/i386/fpu/libm-test-ulps: Update.
30358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30360 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30362         * configure.in (--enable-lock-elision): Fix message text.
30363         * INSTALL: Regenerate.
30364         * configure: Regenerate.
30366 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30370 2013-07-03  Andreas Jaeger  <aj@suse.de>
30372         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30373         define.
30374         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30375         (ptrace_peeksiginfo_args): Add.
30376         (__ptrace_peeksiginfo_flags): Add.
30377         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30379         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30381 2013-07-03  Allan McRae  <allan@archlinux.org>
30383         * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 2013-07-02  David S. Miller  <davem@davemloft.net>
30387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30389 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30393 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30395         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30398 2013-07-02  Andi Kleen <ak@linux.intel.com>
30400         * config.h.in (ENABLE_LOCK_ELISION): Add.
30401         * configure.in (--enable-lock-elision): Add option.
30402         * manual/install.texi: Document --enable lock elision.
30403         * configure: Regenerate
30404         * INSTALL: Regenerate.
30406 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30408         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30409         SSE4.2 strcasecmp for libc.a.
30410         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30412 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30414         [BZ #13304]
30415         * soft-fp/op-common.h (_FP_FMA): New macro.
30416         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30417         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30418         (_FP_MUL_MEAT_1_imm): ... here.
30419         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30420         (_FP_MUL_MEAT_1_wide): ... here.
30421         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30422         (_FP_MUL_MEAT_1_hard): ... here.
30423         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30424         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30425         (_FP_MUL_MEAT_2_wide): ... here.
30426         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30427         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30428         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30429         (_FP_MUL_MEAT_2_gmp): ... here.
30430         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30431         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30432         (_FP_MUL_MEAT_4_wide): ... here.
30433         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30434         (_FP_MUL_MEAT_4_gmp): ... here.
30435         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30436         (_FP_WFRACBITS_DW_S): Likewise.
30437         (_FP_WFRACXBITS_DW_S): Likewise.
30438         (_FP_HIGHBIT_DW_S): Likewise.
30439         (FP_FMA_S): Likewise.
30440         (_FP_FRAC_HIGH_DW_S): Likewise.
30441         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30442         (_FP_WFRACBITS_DW_D): Likewise.
30443         (_FP_WFRACXBITS_DW_D): Likewise.
30444         (_FP_HIGHBIT_DW_D): Likewise.
30445         (FP_FMA_D): Likewise.
30446         (_FP_FRAC_HIGH_DW_D): Likewise.
30447         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30448         (_FP_WFRACBITS_DW_E): Likewise.
30449         (_FP_WFRACXBITS_DW_E): Likewise.
30450         (_FP_HIGHBIT_DW_E): Likewise.
30451         (FP_FMA_E): Likewise.
30452         (_FP_FRAC_HIGH_DW_E): Likewise.
30453         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30454         (_FP_WFRACBITS_DW_Q): Likewise.
30455         (_FP_WFRACXBITS_DW_Q): Likewise.
30456         (_FP_HIGHBIT_DW_Q): Likewise.
30457         (FP_FMA_Q): Likewise.
30458         (_FP_FRAC_HIGH_DW_Q): Likewise.
30459         * soft-fp/fmasf4.c: New file.
30460         * soft-fp/fmadf4.c: Likewise.
30461         * soft-fp/fmatf4.c: Likewise.
30463 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30466         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30467         Silvermont.
30468         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30469         macro.
30470         (index_Slow_SSE4_2): Likewise.
30471         (index_Prefer_PMINUB_for_stringop): Likewise.
30472         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30473         bit_Slow_SSE4_2 is set.
30474         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30475         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30477 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30479         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30480         rtld_global._dl_hwcap2.
30481         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30482         POWER8.
30483         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30484         POWER8 feature descriptions defined in _dl_hwcap2.
30485         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30486         string handling for POWER8 feature bits.
30487         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30488         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30489         _dl_powerpc_cap_flags.
30490         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30491         * sysdeps/powerpc/rtld-global-offsets.sym
30492         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30493         _dl_hwcap2 in the rtld_global_ro structure.
30495 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30497         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30498         hardware capabilities in support of AT_HWCAP2.
30499         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30500         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30501         GLRO(dl_hwcap2).
30502         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30503         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30504         explicitly the unknown a_type display mechanism is used.
30505         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30506         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30507         struct member.
30508         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30509         to macro prototype for AT_HWCAP2 support.
30510         * sysdeps/i386/dl-procinfo.h: Likewise.
30511         * sysdeps/s390/dl-procinfo.h: Likewise.
30512         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30513         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30514         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30515         return -1 for unknown a_type display fallback.
30516         * sysdeps/sparc/dl-procinfo.h: Likewise.
30517         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30518         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30520 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30523         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30525 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30527         [BZ #12492]
30528         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30529         mprotect making __stack_prot writable.
30531 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30532             Joseph Myers  <joseph@codesourcery.com>
30534         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30535         as being properly aligned.
30537 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30539         * dlfcn/modstatic5.c: New file.
30540         * dlfcn/tststatic5.c: New file.
30541         * dlfcn/Makefile (tests): Add tststatic5.
30542         (tests-static): Likewise.
30543         (modules-names): Add modstatic5.
30544         (tststatic5-ENV): New variable.
30545         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30547         [BZ #15022]
30548         * elf/dl-support.c (_dl_main_map): New variable.
30549         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30550         (_dl_nns, _dl_load_adds): Set to 1.
30551         (_dl_initial_searchlist): Refer to _dl_main_map.
30552         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30553         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30554         call to _dl_get_origin.
30555         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30556         around call_map.
30557         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30558         * dlfcn/modstatic3.c: New file.
30559         * dlfcn/tststatic3.c: New file.
30560         * dlfcn/tststatic4.c: New file.
30561         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30562         (tests-static): Likewise.
30563         (modules-names): Add modstatic3.
30564         (tststatic3-ENV, tststatic4-ENV): New variables.
30565         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30566         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30568 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30570         * configure.in (CC): Require GCC version 4.4 or later.
30571         * configure: Regenerated.
30572         * manual/install.texi (Tools for Compilation): Update GCC version
30573         requirement.
30574         * INSTALL: Regenerated.
30576 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30578         [BZ #15674]
30579         * string/test-memcmp.c (check2): New.
30580         (main): Call check2.
30582         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30584 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30586         [BZ #15022]
30587         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30588         over to...
30589         (dl_open_worker) [!SHARED]: ... here.
30591 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30593         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30595 2013-06-25  Richard Henderson  <rth@redhat.com>
30597         * locale/programs/locarchive.c: Include <libc-internal.h>
30599 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30601         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30602         trailing whitespace removed.
30604 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30606         [BZ #10283]
30607         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30608         * locale/programs/locarchive.c: Include libc-mmap.h.
30609         (prepare_address_space): Take two new outputs (the mmap base and len).
30610         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30611         values.
30612         (create_archive): Declare new mmap base and len values for
30613         prepare_address_space, and store the result in ah.
30614         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30615         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30616         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30617         Declare new mmap base and len values for
30618         prepare_address_space, and store the result in new_ah.
30619         (open_archive): Declare new mmap base and len values for
30620         prepare_address_space, and store the result in ah.
30621         (close_archive): If ah->mmap_base is not NULL, use that and
30622         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30623         * sysdeps/generic/libc-mmap.h: New file.
30625 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30627         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30628         (ALIGN_UP): Likewise.
30629         (PTR_ALIGN_DOWN): Likewise.
30630         (PTR_ALIGN_UP): Likewise.
30632 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30634         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30635         entry mapped to PPC_PLATFORM_POWER8.
30636         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30637         POWER8.
30638         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30639         (_dl_string_platform): Add case for exporting platform position for
30640         POWER8.
30641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30642         search path to sysdeps/powerpc/powerpc32/power8 directory.
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30644         search path to sysdeps/powerpc/powerpc64/power8 directory.
30645         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30646         power7 directories.
30647         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30648         power7 directories.
30650 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30652         * INSTALL: Regenerate.
30654         * nscd/connections.c (nscd_init): Fix comment.
30656 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30658         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30660         [BZ #15667]
30661         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30662         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30664 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30666         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30667         DL_DST_REQ_STATIC.
30668         (DL_DST_REQ_STATIC): Remove macro.
30670 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30672         [BZ #7006]
30673         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30674         with a shift of 0 bits.
30676 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30678         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30679         $(tststatic-ENV).
30681 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30683         [BZ #15655]
30684         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30686 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30688         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30689         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30690         accepts -fno-tree-loop-distribute-patterns.
30691         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30692         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30693         recursive call.
30694         * string/memset.c (memset): Likewise.
30695         * string/test-memmove.c (simple_memmove): Disable loop transformation
30696         to library calls.
30697         * string/test-memset.c (simple_memset): Likewise.
30698         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30699         * benchtests/bench-memset.c (simple_memset): Likewise.
30700         * configure: Regenerated.
30702 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30704         * math/test-misc.c (main): Ignore fesetround failure when failures
30705         of subsequent rounding tests would be ignored.
30707         [BZ #15654]
30708         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30709         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30710         * math/fegetenv.c (__fegetenv): Return 0.
30711         * math/fegetexcept.c (fegetexcept): Return 0.
30712         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30713         FE_TONEAREST.
30714         * math/feholdexcpt.c (feholdexcept): Return 0.
30715         * math/fesetenv.c (__fesetenv): Return 0.
30716         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30717         argument FE_TONEAREST.
30718         * math/feupdateenv.c (__feupdateenv): Return 0.
30719         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30721 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30723         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30724         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30725         ($(objpfx)rtld-%.os rules): Use them.
30727 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30729         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30730         fields.
30732 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30734         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30735         length of target pattern, then descending length of dependency pattern.
30736         * configure.in (AWK): Require gawk 3.1.2 or newer.
30737         * manual/install.texi (Tools for Compilation): Say that we do.
30738         * configure: Regenerated.
30740         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30741         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30742         * scripts/sysd-rules.awk: ... this new script.
30743         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30744         than a glob-style pattern.
30746 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30748         * math/test-misc.c (main): Do not treat incorrectly rounded
30749         conversions as failure unless ROUNDING_TESTS passes.
30751 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30753         [BZ #15631]
30754         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30755         restore exception state around main square root computation, then
30756         check for inexactness explicitly.
30758         * math/libm-test.inc (fma_test_data): Add another test.
30760 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30762         * manual/threads.texi (Non-POSIX Extensions): New document
30763         node.  Document pthread_getattr_default_np and
30764         pthread_setattr_default_np.
30766         * Versions.def (libpthread): Add GLIBC_2.18.
30767         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30769         Likewise.
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30771         Likewise.
30772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30773         Likewise.
30774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30775         Likewise.
30776         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30777         Likewise.
30778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30779         Likewise.
30780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30781         Likewise.
30782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30785         Likewise.
30787 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30790         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30792 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30793             H.J. Lu  <hjl.tools@gmail.com>
30795         [BZ #15627]
30796         * sysdeps/x86_64/rtld-memset.c: Remove file.
30797         * sysdeps/x86_64/rtld-memset.S: New file.
30799 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30801         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30802         (test_in_one_mode): Take arguments for whether the rounding mode
30803         is supported for each floating-point type.
30804         (do_test): Pass new arguments to test_in_one_mode using
30805         ROUNDING_TESTS.
30807 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30809         * posix/tst-waitid.c (do_test): Distinguish different instances of
30810         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30811         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30812         before entering the kernel for waitpid.
30814 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30816         * NEWS: Fix note on clock function precision.  Text by Roland
30817         McGrath.
30819 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30821         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30822         it into place only when and if the sanity check passes.
30824 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30826         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30827         output for whether conversion result is exact.  Take argument
30828         indicating whether type is IBM long double.
30829         (round_for_all): Change need_exact field to ibm_ld.
30830         * stdlib/tst-strtod-round.c (struct exactness): New type.
30831         (struct test): Change bool ld_ok field to struct exactness exact.
30832         (TEST): Update all definitions for change to field.
30833         (tests): Regenerate array contents.
30834         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30835         field value.  Check for IBM long double here.
30836         (do_test): Update calls to test_in_one_mode.
30838 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30840         [BZ #12515]
30841         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30842         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30844 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30846         [BZ #15605]
30847         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30848         generated by the compiler on loop optimizations.
30849         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30850         general definitions.
30852 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30854         * math/bug-nextafter.c: Include <math-tests.h>.
30855         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30856         the relevant type.
30857         * math/bug-nexttoward.c: Include <math-tests.h>.
30858         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30859         the relevant type.
30860         * math/test-misc.c: Include <math-tests.h>.
30861         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30862         the relevant type.
30864 2013-06-12  Andreas Jaeger  <aj@suse.de>
30866         * po/ia.po: Update Interlingua translation from translation
30867         project.
30869 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         * include/fenv.h: Include stdbool.h.
30872         (struct rm_ctx): New structure.
30873         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30874         Define macro.
30875         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30876         (SET_RESTORE_ROUNDF): Likewise.
30877         (SET_RESTORE_ROUNDL): Likewise.
30878         (SET_RESTORE_ROUND_NOEX): Likewise.
30879         (SET_RESTORE_ROUND_NOEXF): Likewise.
30880         (SET_RESTORE_ROUND_NOEXL): Likewise.
30881         (SET_RESTORE_ROUND_53BIT): Likewise.
30882         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30883         (libc_feresetround_noexf_ctx): Likewise.
30884         (libc_feresetround_noexl_ctx): Likewise.
30885         (libc_feholdsetround_53bit_ctx): Likewise.
30886         (libc_feresetround_53bit_ctx): Likewise.
30887         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30888         (libc_feholdexcept_setround_sse_ctx): New function.
30889         (libc_fesetenv_sse_ctx): Likewise.
30890         (libc_feupdateenv_sse_ctx): Likewise.
30891         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30892         (libc_feholdexcept_setround_387_ctx): Likewise.
30893         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30894         (libc_feholdsetround_387_prec_ctx): Likewise.
30895         (libc_feholdsetround_387_ctx): Likewise.
30896         (libc_feholdsetround_387_53bit_ctx): Likewise.
30897         (libc_feholdsetround_sse_ctx): Likewise.
30898         (libc_feresetround_sse_ctx): Likewise.
30899         (libc_feresetround_387_ctx): Likewise.
30900         (libc_feupdateenv_387_ctx): Likewise.
30901         (libc_feholdexcept_setroundf_ctx): Define macro.
30902         (libc_fesetenvf_ctx): Likewise.
30903         (libc_feupdateenvf_ctx): Likewise.
30904         (libc_feholdsetroundf_ctx): Likewise.
30905         (libc_feresetroundf_ctx): Likewise.
30906         (libc_feholdexcept_setround_ctx): Likewise.
30907         (libc_fesetenv_ctx): Likewise.
30908         (libc_feupdateenv_ctx): Likewise.
30909         (libc_feholdsetround_ctx): Likewise.
30910         (libc_feresetround_ctx): Likewise.
30911         (libc_feholdexcept_setroundl_ctx): Likewise.
30912         (libc_feupdateenvl_ctx): Likewise.
30913         (libc_feholdsetroundl_ctx): Likewise.
30914         (libc_feresetroundl_ctx): Likewise.
30915         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30916         (libc_feresetround_53bit_ctx): Likewise.
30918 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30920         * locale/iso-639.def: Convert to UTF-8.
30922 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30924         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30925         (EXCEPTION_TESTS_double): Likewise.
30926         (EXCEPTION_TESTS_long_double): Likewise.
30927         (EXCEPTION_TESTS): Likewise.
30928         * math/libm-test.inc (test_exceptions): Only test exceptions if
30929         EXCEPTION_TESTS (FLOAT).
30931 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30933         * benchtests/Makefile (string-bench): Add strcpy_chk and
30934         stpcpy_chk.
30935         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30936         * benchtests/bench-stpcpy_chk.c: New file.
30937         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30938         * benchtests/bench-strcpy_chk.c: New file.
30939         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30940         code.
30941         (do_test): Likewise.
30943 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30945         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30946         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30947         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30948         with tabs where appropriate.
30949         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30950         dl-procinfo.h.
30951         [PPC_PLATFORM_PPC440]: Likewise.
30952         [PPC_PLATFORM_PPC464]: Likewise.
30953         [PPC_PLATFORM_PPC476]: Likewise.
30954         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30955         ppc464, and ppc476 platform strings merging from ports/
30956         dl-procinfo.h.
30958 2013-06-11  Andreas Schwab  <schwab@suse.de>
30960         [BZ #14991]
30961         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30962         (from_ucs4_idx): Regenerate.
30963         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30964         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30965         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30966         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30967         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30968         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30969         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30970         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30971         from FROM_LOOP and TO_LOOP specific macros.
30972         (BODY): Handle combining characters.
30973         * iconvdata/BIG5HKSCS.irreversible: Update.
30974         * iconvdata/BIG5HKSCS.precomposed: New file.
30975         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30976         characters.
30977         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30979 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30981         * include/sys/time.h: Fix indentation and add copyright header.
30983         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30984         (do_test): Likewise.
30985         * string/test-memchr.c (do_one_test): Likewise.
30986         (do_test): Likewise.
30987         * string/test-memcmp.c (do_one_test): Likewise.
30988         (do_test): Likewise.
30989         * string/test-memcpy.c (do_one_test): Likewise.
30990         (do_test): Likewise.
30991         * string/test-memmem.c (do_one_test): Likewise.
30992         (do_test): Likewise.
30993         (do_random_tests): Likewise.
30994         * string/test-memmove.c (do_one_test): Likewise.
30995         (do_test): Likewise.
30996         * string/test-memset.c (do_one_test): Likewise.
30997         (do_test): Likewise.
30998         * string/test-rawmemchr.c (do_one_test): Likewise.
30999         (do_test): Likewise.
31000         * string/test-strcasecmp.c (do_one_test): Likewise.
31001         (do_test): Likewise.
31002         * string/test-strcasestr.c (do_one_test): Likewise.
31003         (do_test): Likewise.
31004         * string/test-strcat.c (do_one_test): Likewise.
31005         (do_test): Likewise.
31006         * string/test-strchr.c (do_one_test): Likewise.
31007         (do_test): Likewise.
31008         * string/test-strcmp.c (do_one_test): Likewise.
31009         (do_test): Likewise.
31010         * string/test-strcpy.c (do_one_test): Likewise.
31011         (do_test): Likewise.
31012         * string/test-string.h: Likewise.
31013         (test_init): Likewise.
31014         * string/test-strlen.c (do_one_test): Likewise.
31015         (do_test): Likewise.
31016         * string/test-strncasecmp.c (do_one_test): Likewise.
31017         (do_test): Likewise.
31018         * string/test-strncat.c (do_one_test): Likewise.
31019         (do_test): Likewise.
31020         * string/test-strncmp.c (do_one_test): Likewise.
31021         (do_test_limit): Likewise.
31022         (do_test): Likewise.
31023         * string/test-strncpy.c (do_one_test): Likewise.
31024         (do_test): Likewise.
31025         * string/test-strnlen.c (do_one_test): Likewise.
31026         (do_test): Likewise.
31027         * string/test-strpbrk.c (do_one_test): Likewise.
31028         (do_test): Likewise.
31029         * string/test-strrchr.c (do_one_test): Likewise.
31030         (do_test): Likewise.
31031         * string/test-strspn.c (do_one_test): Likewise.
31032         (do_test): Likewise.
31033         * string/test-strstr.c (do_one_test): Likewise.
31034         (do_test): Likewise.
31036         * benchtests/Makefile (string-bench): Add string benchmarks.
31037         * benchtests/bench-bcopy-ifunc.c: New file.
31038         * benchtests/bench-bcopy.c: New file.
31039         * benchtests/bench-bzero-ifunc.c: New file.
31040         * benchtests/bench-bzero.c: New file.
31041         * benchtests/bench-memccpy-ifunc.c: New file.
31042         * benchtests/bench-memccpy.c: New file.
31043         * benchtests/bench-memchr-ifunc.c: New file.
31044         * benchtests/bench-memchr.c: New file.
31045         * benchtests/bench-memcmp-ifunc.c: New file.
31046         * benchtests/bench-memcmp.c: New file.
31047         * benchtests/bench-memmem-ifunc.c: New file.
31048         * benchtests/bench-memmem.c: New file.
31049         * benchtests/bench-memmove-ifunc.c: New file.
31050         * benchtests/bench-memmove.c: New file.
31051         * benchtests/bench-mempcpy-ifunc.c: New file.
31052         * benchtests/bench-mempcpy.c: New file.
31053         * benchtests/bench-memset-ifunc.c: New file.
31054         * benchtests/bench-memset.c: New file.
31055         * benchtests/bench-rawmemchr-ifunc.c: New file.
31056         * benchtests/bench-rawmemchr.c: New file.
31057         * benchtests/bench-stpcpy-ifunc.c: New file.
31058         * benchtests/bench-stpcpy.c: New file.
31059         * benchtests/bench-stpncpy-ifunc.c: New file.
31060         * benchtests/bench-stpncpy.c: New file.
31061         * benchtests/bench-strcasecmp-ifunc.c: New file.
31062         * benchtests/bench-strcasecmp.c: New file.
31063         * benchtests/bench-strcasestr-ifunc.c: New file.
31064         * benchtests/bench-strcasestr.c: New file.
31065         * benchtests/bench-strcat-ifunc.c: New file.
31066         * benchtests/bench-strcat.c: New file.
31067         * benchtests/bench-strchr-ifunc.c: New file.
31068         * benchtests/bench-strchr.c: New file.
31069         * benchtests/bench-strchrnul-ifunc.c: New file.
31070         * benchtests/bench-strchrnul.c: New file.
31071         * benchtests/bench-strcmp-ifunc.c: New file.
31072         * benchtests/bench-strcmp.c: New file.
31073         * benchtests/bench-strcpy-ifunc.c: New file.
31074         * benchtests/bench-strcpy.c: New file.
31075         * benchtests/bench-strcspn-ifunc.c: New file.
31076         * benchtests/bench-strcspn.c: New file.
31077         * benchtests/bench-strlen-ifunc.c: New file.
31078         * benchtests/bench-strlen.c: New file.
31079         * benchtests/bench-strncasecmp-ifunc.c: New file.
31080         * benchtests/bench-strncasecmp.c: New file.
31081         * benchtests/bench-strncat-ifunc.c: New file.
31082         * benchtests/bench-strncat.c: New file.
31083         * benchtests/bench-strncmp-ifunc.c: New file.
31084         * benchtests/bench-strncmp.c: New file.
31085         * benchtests/bench-strncpy-ifunc.c: New file.
31086         * benchtests/bench-strncpy.c: New file.
31087         * benchtests/bench-strnlen-ifunc.c: New file.
31088         * benchtests/bench-strnlen.c: New file.
31089         * benchtests/bench-strpbrk-ifunc.c: New file.
31090         * benchtests/bench-strpbrk.c: New file.
31091         * benchtests/bench-strrchr-ifunc.c: New file.
31092         * benchtests/bench-strrchr.c: New file.
31093         * benchtests/bench-strspn-ifunc.c: New file.
31094         * benchtests/bench-strspn.c: New file.
31095         * benchtests/bench-strstr-ifunc.c: New file.
31096         * benchtests/bench-strstr.c: New file.
31098         * benchtests/Makefile: Disable parallel execution of targets.
31099         (string-bench): Add memcpy.
31100         (benchset): New variable to store a list of benchmark sets.
31101         (bench-func): Renamed from bench.
31102         (bench-set): New target.
31103         (bench): Depend on bench-func and bench-set.
31104         * benchtests/README: Add section on benchmark sets.
31105         * benchtests/bench-memcpy-ifunc.c: New file.
31106         * benchtests/bench-memcpy.c: New file.
31107         * benchtests/bench-string.h: New file.
31109 2013-06-11  Andreas Schwab  <schwab@suse.de>
31111         [BZ #15577]
31112         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31113         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31114         values in the triple.
31115         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31116         terminator in the group key.
31118 2013-06-11  Andreas Jaeger  <aj@suse.de>
31120         * po/zh_TW.po: Update Chinese (traditional) translation from
31121         translation project.
31123 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31125         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31126         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31127         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31129         (clock_getcpuclockid): Likewise.
31130         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31131         Add weak_alias and libc_hidden_def.
31132         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31133         * rt/clock_gettime.c (clock_gettime): Rename to
31134         __clock_gettime.  Add weak_alias and libc_hidden_def.
31135         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31136         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31137         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31138         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31139         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31140         Likewise.
31141         * rt/clock_settime.c (clock_settime): Rename to
31142         __clock_settime.  Add weak_alias and libc_hidden_def.
31143         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31145 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31147         * mach/err_boot.sub: Remove trailing whitespace.
31148         * mach/err_ipc.sub: Likewise.
31149         * mach/err_mach.sub: Likewise.
31151         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31152         (ROUNDING_TESTS_double): Likewise.
31153         (ROUNDING_TESTS_long_double): Likewise.
31154         (ROUNDING_TESTS): Likewise.
31155         * math/libm-test.inc: Include <math-tests.h>.
31156         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31157         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31158         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31159         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31161 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31163         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31164         of assigning.
31166 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31168         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31169         otherwise empty TRANS lines.
31170         * sysdeps/gnu/errlist.c: Regenerated.
31172         * catgets/gencat.c (error_print): Use (void) in function
31173         definition.
31174         * crypt/crypt_util.c (__init_des): Likewise.
31175         * crypt/speeds.c (Stop): Likewise.
31176         (main): Likewise.
31177         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31178         * inet/ruserpass.c (token): Likewise.
31179         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31180         * intl/localealias.c (extend_alias_table): Likewise.
31181         * intl/plural-exp.c (init_germanic_plural): Likewise.
31182         * libio/fcloseall.c (__fcloseall): Likewise.
31183         * libio/genops.c (_IO_flush_all): Likewise.
31184         (_IO_flush_all_linebuffered): Likewise.
31185         (_IO_cleanup): Likewise.
31186         (_IO_iter_begin): Likewise.
31187         (_IO_iter_end): Likewise.
31188         (_IO_list_lock): Likewise.
31189         (_IO_list_unlock): Likewise.
31190         (_IO_list_resetlock): Likewise.
31191         * libio/getchar.c (getchar): Likewise.
31192         * libio/getchar_u.c (getchar_unlocked): Likewise.
31193         * libio/getwchar.c (getwchar): Likewise.
31194         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31195         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31196         * login/getpt.c (__getpt): Likewise.
31197         * login/tst-utmp.c (main): Likewise.
31198         * malloc/hooks.c (__malloc_check_init): Likewise.
31199         * malloc/malloc.c (__malloc_stats): Likewise.
31200         * malloc/mtrace.c (tr_break): Likewise.
31201         (mtrace): Likewise.
31202         (muntrace): Likewise.
31203         * misc/fstab.c (endfsent): Likewise.
31204         * misc/getclktck.c (__getclktck): Likewise.
31205         * misc/getdtsz.c (__getdtablesize): Likewise.
31206         * misc/gethostid.c (gethostid): Likewise.
31207         * misc/getpagesize.c (__getpagesize): Likewise.
31208         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31209         (__get_nprocs): Likewise.
31210         (__get_phys_pages): Likewise.
31211         (__get_avphys_pages): Likewise.
31212         * misc/getttyent.c (getttyent): Likewise.
31213         (setttyent): Likewise.
31214         (endttyent): Likewise.
31215         * misc/getusershell.c (getusershell): Likewise.
31216         (endusershell): Likewise.
31217         (setusershell): Likewise.
31218         (initshells): Likewise.
31219         * misc/hsearch.c (__hdestroy): Likewise.
31220         * misc/sync.c (sync): Likewise.
31221         * misc/syslog.c (closelog_internal): Likewise.
31222         (closelog): Likewise.
31223         * misc/ttyslot.c (ttyslot): Likewise.
31224         * misc/vhangup.c (vhangup): Likewise.
31225         * posix/fork.c (__fork): Likewise.
31226         * posix/getegid.c (__getegid): Likewise.
31227         * posix/geteuid.c (__geteuid): Likewise.
31228         * posix/getgid.c (__getgid): Likewise.
31229         * posix/getpid.c (__getpid): Likewise.
31230         * posix/getppid.c (__getppid): Likewise.
31231         * posix/getuid.c (__getuid): Likewise.
31232         * posix/pause.c (pause): Likewise.
31233         * posix/setpgrp.c (setpgrp): Likewise.
31234         * posix/setsid.c (__setsid): Likewise.
31235         * posix/test-vfork.c (noop): Likewise.
31236         * resolv/gethnamaddr.c (_endhtent): Likewise.
31237         (_gethtent): Likewise.
31238         (ht_endhostent): Likewise.
31239         (gethostent): Likewise.
31240         (dns_service): Likewise.
31241         * stdlib/drand48.c (drand48): Likewise.
31242         * stdlib/lrand48.c (lrand48): Likewise.
31243         * stdlib/mrand48.c (mrand48): Likewise.
31244         * stdlib/rand.c (rand): Likewise.
31245         * stdlib/random.c (__random): Likewise.
31246         * stdlib/setenv.c (clearenv): Likewise.
31247         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31248         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31249         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31250         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31251         (__get_nprocs): Likewise.
31252         (__get_phys_pages): Likewise.
31253         (__get_avphys_pages): Likewise.
31254         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31255         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31256         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31257         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31258         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31259         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31260         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31261         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31262         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31263         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31264         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31265         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31266         * sysdeps/posix/clock.c (clock): Likewise.
31267         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31268         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31269         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31270         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31271         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31272         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31273         (__get_nprocs_conf): Likewise.
31274         (__get_phys_pages): Likewise.
31275         (__get_avphys_pages): Likewise.
31276         * time/clock.c (clock): Likewise.
31277         * time/tzset.c (__tzname_max): Likewise.
31279 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31281         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31282         (__bswap_32): Do not use "register".
31283         * crypt/crypt.c (_ufc_doit_r): Likewise.
31284         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31285         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31286         * gmon/gmon.c (__monstartup): Likewise.
31287         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31288         * hurd/hurdmalloc.c (more_memory): Likewise.
31289         (malloc): Likewise.
31290         (free): Likewise.
31291         (realloc): Likewise.
31292         (malloc_fork_prepare): Likewise.
31293         (malloc_fork_parent): Likewise.
31294         (malloc_fork_child): Likewise.
31295         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31296         (_svcauth_des): Likewise.
31297         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31298         * inet/inet_net.c (inet_network): Likewise.
31299         * inet/inet_netof.c (inet_netof): Likewise.
31300         * inet/rcmd.c (__validuser2_sa): Likewise.
31301         * io/fts.c (fts_open): Likewise.
31302         (fts_load): Likewise.
31303         (fts_close): Likewise.
31304         (fts_read): Likewise.
31305         (fts_children): Likewise.
31306         (fts_build): Likewise.
31307         (fts_stat): Likewise.
31308         (fts_sort): Likewise.
31309         (fts_alloc): Likewise.
31310         (fts_lfree): Likewise.
31311         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31312         (_IO_file_xsgetn): Likewise.
31313         (_IO_file_xsgetn_mmap): Likewise.
31314         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31315         (_IO_cookie_write): Likewise.
31316         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31317         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31318         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31319         * malloc/obstack.c (_obstack_begin): Likewise.
31320         (_obstack_begin_1): Likewise.
31321         (_obstack_newchunk): Likewise.
31322         (_obstack_allocated_p): Likewise.
31323         (obstack_free): Likewise.
31324         (_obstack_memory_used): Likewise.
31325         * misc/getttyent.c (getttynam): Likewise.
31326         (getttyent): Likewise.
31327         (skip): Likewise.
31328         (value): Likewise.
31329         * misc/getusershell.c (initshells): Likewise.
31330         * misc/syslog.c (__vsyslog_chk): Likewise.
31331         * misc/ttyslot.c (ttyslot): Likewise.
31332         * nis/nis_hash.c (__nis_hash): Likewise.
31333         * posix/fnmatch_loop.c (FCT): Likewise.
31334         * posix/getconf.c (print_all): Likewise.
31335         (main): Likewise.
31336         * posix/getopt.c (exchange): Likewise.
31337         * posix/glob.c (globfree): Likewise.
31338         (prefix_array): Likewise.
31339         (__glob_pattern_type): Likewise.
31340         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31341         (NS_GET32): Likewise.
31342         (NS_PUT16): Likewise.
31343         (NS_PUT32): Likewise.
31344         * resolv/gethnamaddr.c (getanswer): Likewise.
31345         (gethostbyname2): Likewise.
31346         (gethostbyaddr): Likewise.
31347         (_gethtent): Likewise.
31348         (_gethtbyname2): Likewise.
31349         (_gethtbyaddr): Likewise.
31350         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31351         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31352         * resolv/res_init.c (__res_vinit): Likewise.
31353         (net_mask): Likewise.
31354         * resolv/res_mkquery.c (outchar): Likewise.
31355         (PRINT): Likewise.
31356         * stdio-common/printf_fp.c (outchar): Likewise.
31357         (PRINT): Likewise.
31358         * stdio-common/printf_fphex.c (outchar): Likewise.
31359         (PRINT): Likewise.
31360         * stdio-common/printf_size.c (outchar): Likewise.
31361         (PRINT): Likewise.
31362         * stdio-common/test_rdwr.c (main): Likewise.
31363         * stdio-common/tfformat.c (matches): Likewise.
31364         * stdio-common/vfprintf.c (outchar): Likewise.
31365         (printf_unknown): Likewise.
31366         (buffered_vfprintf): Likewise.
31367         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31368         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31369         (ReadFile): Likewise.
31370         * stdlib/qsort.c (SWAP): Likewise.
31371         (_quicksort): Likewise.
31372         * stdlib/setenv.c (__add_to_environ): Likewise.
31373         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31374         * stdlib/strtol_l.c (__strtol_l): Likewise.
31375         * stdlib/tst-strtod.c (main): Likewise.
31376         * stdlib/tst-strtol.c (main): Likewise.
31377         * stdlib/tst-strtoll.c (main): Likewise.
31378         * string/bits/string2.h (__strcmp_cc): Likewise.
31379         (__strcmp_cg): Likewise.
31380         (__strcspn_c1): Likewise.
31381         (__strcspn_c2): Likewise.
31382         (__strcspn_c3): Likewise.
31383         (__strspn_c1): Likewise.
31384         (__strspn_c2): Likewise.
31385         (__strspn_c3): Likewise.
31386         (__strsep_1c): Likewise.
31387         (__strsep_2c): Likewise.
31388         (__strsep_3c): Likewise.
31389         * string/memccpy.c (__memccpy): Likewise.
31390         * string/stpcpy.c (__stpcpy): Likewise.
31391         * string/strcmp.c (strcmp): Likewise.
31392         * string/strrchr.c (strrchr): Likewise.
31393         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31394         Likewise.
31395         * sysdeps/mach/hurd/getcwd.c
31396         (_hurd_canonicalize_directory_name_internal): Likewise.
31397         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31398         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31399         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31400         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31401         Likewise, in both definitions.
31402         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31403         definitions.
31404         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31405         64] (__bswap_64): Likewise.
31406         * time/test_time.c (main): Likewise.
31407         * time/tzfile.c (__tzfile_read): Likewise.
31408         (__tzfile_compute): Likewise.
31409         * time/tzset.c (__tzset_parse_tz): Likewise.
31410         (tzset_internal): Likewise.
31411         (compute_change): Likewise.
31412         * wcsmbs/wcscat.c (__wcscat): Likewise.
31413         * wcsmbs/wcschr.c (wcschr): Likewise.
31414         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31415         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31416         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31417         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31418         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31419         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31420         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31421         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31422         * wcsmbs/wmemset.c (wmemset): Likewise.
31424 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31426         * scripts/config.guess: Update to version 2013-05-16.
31427         * scripts/config.sub: Update to version 2013-04-24.
31428         * scripts/install-sh: Update to version 2011-11-20.07.
31429         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31430         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31432 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31434         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31435         * elf/sln.c: Likewise.
31436         * hurd/hurd/ioctl.h: Likewise.
31437         * hurd/hurdmalloc.c: Likewise.
31438         * hurd/xattr.c: Likewise.
31439         * include/shlib-compat.h: Likewise.
31440         * inet/ruserpass.c: Likewise.
31441         * libio/iofgets_u.c: Likewise.
31442         * libio/iofgetws_u.c: Likewise.
31443         * locale/programs/ld-identification.c: Likewise.
31444         * locale/programs/ld-time.c: Likewise.
31445         * mach/msg-destroy.c: Likewise.
31446         * nss/nss_files/files-netgrp.c: Likewise.
31447         * resolv/res_data.c: Likewise.
31448         * soft-fp/op-1.h: Likewise.
31449         * soft-fp/op-2.h: Likewise.
31450         * soft-fp/op-4.h: Likewise.
31451         * soft-fp/op-common.h: Likewise.
31452         * stdio-common/printf_fphex.c: Likewise.
31453         * stdlib/strtod_l.c: Likewise.
31454         * sunrpc/rpc/clnt.h: Likewise.
31455         * sysdeps/generic/framestate.c: Likewise.
31456         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31457         * sysdeps/i386/bsd-setjmp.S: Likewise.
31458         * sysdeps/i386/__longjmp.S: Likewise.
31459         * sysdeps/i386/setjmp.S: Likewise.
31460         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31461         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31463         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31464         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31465         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31466         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31467         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31468         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31469         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31470         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31471         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31472         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31473         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31474         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31475         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31476         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31477         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31478         * sysdeps/ieee754/support.c: Likewise.
31479         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31480         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31481         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31482         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31483         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31484         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31485         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31486         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31487         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31488         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31489         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31490         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31491         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31492         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31493         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31494         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31495         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31498 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31500         * posix/transbug.c: Remove executable mode.
31502 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31504         * crypt/speeds.c: Remove trailing whitespace.
31505         * dlfcn/default.c: Likewise.
31506         * elf/ifuncdep2.c: Likewise.
31507         * elf/ifuncmain1.c: Likewise.
31508         * elf/ifuncmain1vis.c: Likewise.
31509         * elf/testobj.h: Likewise.
31510         * elf/tst-stackguard1.c: Likewise.
31511         * gmon/sys/gmon.h: Likewise.
31512         * hurd/hurdmsg.c: Likewise.
31513         * hurd/new-fd.c: Likewise.
31514         * hurd/ports-get.c: Likewise.
31515         * iconvdata/ibm1008_420.c: Likewise.
31516         * inet/tst-getni1.c: Likewise.
31517         * inet/tst-getni2.c: Likewise.
31518         * libio/ioungetc.c: Likewise.
31519         * libio/wfiledoalloc.c: Likewise.
31520         * manual/libm-err-tab.pl: Likewise.
31521         * math/w_dremf.c: Likewise.
31522         * misc/ftruncate.c: Likewise.
31523         * posix/bug-glob2.c: Likewise.
31524         * posix/tst-pcre.c: Likewise.
31525         * posix/wait4.c: Likewise.
31526         * resolv/README: Likewise.
31527         * resolv/res_debug.h: Likewise.
31528         * resolv/tst-inet_ntop.c: Likewise.
31529         * setjmp/bug269-setjmp.c: Likewise.
31530         * soft-fp/extended.h: Likewise.
31531         * soft-fp/op-1.h: Likewise.
31532         * soft-fp/op-2.h: Likewise.
31533         * soft-fp/op-4.h: Likewise.
31534         * soft-fp/op-8.h: Likewise.
31535         * soft-fp/testit.c: Likewise.
31536         * stdio-common/bug16.c: Likewise.
31537         * stdlib/random.c: Likewise.
31538         * sunrpc/rpcsvc/rquota.x: Likewise.
31539         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31540         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31542         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31543         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31544         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31545         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31546         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31547         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31548         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31549         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31550         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31551         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31552         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31553         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31554         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31555         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31556         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31557         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31558         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31559         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31560         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31561         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31562         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31563         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31564         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31566         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31567         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31568         * sysdeps/ieee754/s_lib_version.c: Likewise.
31569         * sysdeps/mach/hurd/check_fds.c: Likewise.
31570         * sysdeps/mach/hurd/getsockname.c: Likewise.
31571         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31572         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31573         * sysdeps/powerpc/bits/link.h: Likewise.
31574         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31575         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31576         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31577         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31578         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31579         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31580         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31581         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31582         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31583         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31584         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31585         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31586         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31587         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31588         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31589         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31590         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31591         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31592         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31593         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31594         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31595         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31596         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31597         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31598         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31599         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31600         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31601         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31603         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31604         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31605         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31606         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31607         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31608         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31609         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31610         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31611         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31612         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31613         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31614         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31615         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31616         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31617         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31618         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31619         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31620         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31621         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31622         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31623         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31624         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31625         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31626         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31627         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31628         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31629         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31630         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31631         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31632         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31633         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31634         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31635         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31636         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31637         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31638         * sysdeps/powerpc/sysdep.h: Likewise.
31639         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31640         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31641         * sysdeps/sh/dl-trampoline.S: Likewise.
31642         * sysdeps/sh/memset.S: Likewise.
31643         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31644         * sysdeps/sh/strlen.S: Likewise.
31645         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31646         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31647         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31648         * sysdeps/sparc/sparc32/rem.S: Likewise.
31649         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31650         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31651         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31652         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31653         * sysdeps/sparc/sparc32/urem.S: Likewise.
31654         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31655         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31656         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31657         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31658         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31659         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31660         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31661         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31662         * sysdeps/unix/bsd/times.c: Likewise.
31663         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31664         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31668         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31669         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31670         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31671         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31672         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31673         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31674         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31675         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31676         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31677         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31678         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31680         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31681         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31682         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31683         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31684         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31685         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31686         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31687         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31688         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31689         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31690         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31691         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31692         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31693         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31694         * sysdeps/x86_64/strcspn.S: Likewise.
31696 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31698         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31699         generated file.  Regenerate properly from gen-translit.pl.
31700         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31701         locale/C-translit.h.
31703 2013-06-05  Andreas Schwab  <schwab@suse.de>
31705         [BZ #15100]
31706         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31707         week as 6 instead of -1.
31708         * time/tst-strptime.c (day_tests): Add test case.
31710 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31712         * sysdeps/generic/math_private.h
31713         (libc_feholdexcept_setround_53bit): Replace with
31714         libc_feholdsetround_53bit.
31715         (libc_feupdateenv_53bit): Replace with
31716         libc_feresetround_53bit.
31717         (SET_RESTORE_ROUND_53BIT): Adjust.
31719 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31721         * string/test-strchrnul.c: Add copyright header.
31723         * posix/tst-getaddrinfo4.c: Increase test timeout.
31725 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31727         [BZ #15536]
31728         * math/libm-test.inc (MAX_EXP): Remove
31729         (MIN_EXP): Define.
31730         (ulp): Use MIN_EXP - MANT_DIG.
31731         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31733 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31735         * po/be.po: Revert last change.
31736         * po/zh_CN.po: Likewise.
31737         * po/header.pot: Likewise.
31739 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31741         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31742         link-libc-deps to empty as target-specific variable.
31743         * Makerules (link-libc-args): New variable.
31744         (libc-for-link): Likewise.
31745         (link-libc-deps): Likewise.
31746         (lib%.so): Depend on $(link-libc-deps).  Link with
31747         $(link-libc-args).
31748         (build-module): Link with $(link-libc-args).
31749         (build-module-asneeded): Likewise.
31750         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31751         list of objects.
31752         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31753         target-specific variable.
31754         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31755         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31756         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31757         libc.
31758         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31759         libc and ld.so.
31760         ($(objpfx)libpcprofile.so): Likewise.
31761         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31762         libc_nonshared.a.
31763         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31764         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31765         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31766         $(link-libc-deps).
31767         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31768         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31769         * login/Makefile ($(objpfx)libutil.so): Likewise.
31770         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31771         * math/Makefile ($(objpfx)libm.so): Likewise.
31772         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31773         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31774         variable instead of depending directly on libc.
31775         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31776         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31777         $(link-libc-deps).
31778         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31779         libc.
31780         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31781         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31782         ($(objpfx)libanl.so): Likewise.
31783         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31784         ld.so.
31785         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31786         $(link-libc-deps).
31787         * sysdeps/i386/fpu/Makefile: Remove file.
31788         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31789         ($(objpfx)libm.so): Remove dependency on ld.so.
31791 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31793         [BZ # 15553]
31794         * nis/yp_xdr.c (XDRMAXNAME): Define.
31795         (XDRMAXRECORD): Define.
31796         (xdr_domainname): Use XDRMAXNAME.
31797         (xdr_mapname): Likewise.
31798         (xdr_peername): Likewise.
31799         (xdr_keydat): Use XDRMAXRECORD.
31800         (xdr_valdat): Likewise.
31802 2013-05-30  Jeff Law  <law@redhat.com>
31804         [BZ #14256]
31805         * manual/errno.texi (ESTALE): Update to account for more than
31806         just NFS file systems.
31807         * sysdeps/gnu/errlist.c: Regenerated.
31809 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31811         [BZ #15465]
31812         * elf/Makefile (tests): Add tst-null-argv.
31813         (modules-names):  Add tst-null-argv-lib.
31814         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31815         (tst-null-argv-ENV): Set environment for tst-null-argv.
31816         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31817         (RTLD_PROGNAME): New macro.
31818         * elf/tst-null-argv.c: New test case.
31819         * elf/tst-null-argv-lib.c: Library for test case.
31820         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31821         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31822         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31823         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31824         * elf/dl-init.c (call_init): Likewise.
31825         (_dl_init): Likewise.
31826         * elf/dl-load.c (print_search_path): Likewise.
31827         (_dl_map_object): Likewise.
31828         * elf/dl-lookup.c (do_lookup_x): Likewise.
31829         (add_dependency): Likewise.
31830         (_dl_lookup_symbol_x): Likewise.
31831         (_dl_debug_bindings): Likewise.
31832         * elf/dl-open.c (_dl_show_scope): Likewise.
31833         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31834         * elf/dl-version.c (match_symbol): Likewise.
31835         (_dl_check_map_versions): Likewise.
31836         * elf/rtld.c (dl_main): Likewise.
31837         (print_unresolved): Use RTLD_PROGNAME.
31838         (print_missing_version): Likewise.
31839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31840         (elf_machine_rela): Likewise.
31841         * sysdeps/powerpc/powerpc32/dl-machine.c
31842         (__process_machine_rela): Likewise.
31843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31844         Likewise.
31845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31846         Likewise.
31847         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31848         Likewise.
31849         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31851         Likewise.
31852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31853         Likewise.
31854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31856 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31858         * po/be.po: Add descriptive title.
31859         * po/zh_CN.po: Likewise.
31860         * po/header.pot: Likewise.
31862 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31864         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31865         error message.
31866         (enlarge_archive): Likewise.
31868 2013-05-28  Ben North  <ben@redfrontdoor.org>
31870         * manual/arith.texi (frexp): It is the magnitude of the return
31871         value which lies in [0.5, 1), not the return value itself.
31873 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31877 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31879         * stdio-common/bug26.c (main): Correct fscanf template.
31881         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31882         declare _dl_skip_args.
31884         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31885         Don't declare.
31887         * manual/platform.texi: Add missing @end deftypefun.
31889 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31891         [BZ #15529]
31892         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31893         bit of mantissa of 2^16382.
31894         * math/libm-test.inc (hypot_test_data): Add more tests.
31896         * math/libm-test.inc: Add drem and pow10 to list of tested
31897         functions.
31898         (pow10_test): New function.
31899         (drem_test): Likewise.
31900         (drem_test_tonearest): Likewise.
31901         (drem_test_towardzero): Likewise.
31902         (drem_test_downward): Likewise.
31903         (drem_test_upward): Likewise.
31904         (main): Call the new functions.
31906         * math/libm-test.inc (finite_test_data): Remove.
31907         (finite_test): Run tests from isfinite_test_data.
31908         (gamma_test_data): Remove.
31909         (gamma_test): Run tests from lgamma_test_data.
31910         * sysdeps/i386/fpu/libm-test-ulps: Update.
31911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31913 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31915         * manual/platform.texi: Add PowerPC PPR function set documentation.
31916         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31917         implementation.
31919 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31921         * math/libm-test.inc (MAX_EXP): Define.
31922         (ULPDIFF): Define.
31923         (ulp): New function.
31924         (check_float_internal): Use ULPDIFF.
31925         (cpow_test): Disable failing test.
31926         (check_ulp): Test ulp() implemetnation.
31927         (main): Call check_ulp before starting tests.
31929 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31931         * math/gen-libm-test.pl (generate_testfile): Do not handle
31932         START_DATA and END_DATA.
31933         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31934         END_DATA.
31935         (acos_tonearest_test_data): Likewise.
31936         (acos_towardzero_test_data): Likewise.
31937         (acos_downward_test_data): Likewise.
31938         (acos_upward_test_data): Likewise.
31939         (acosh_test_data): Likewise.
31940         (asin_test_data): Likewise.
31941         (asin_tonearest_test_data): Likewise.
31942         (asin_towardzero_test_data): Likewise.
31943         (asin_downward_test_data): Likewise.
31944         (asin_upward_test_data): Likewise.
31945         (asinh_test_data): Likewise.
31946         (atan_test_data): Likewise.
31947         (atanh_test_data): Likewise.
31948         (atan2_test_data): Likewise.
31949         (cabs_test_data): Likewise.
31950         (cacos_test_data): Likewise.
31951         (cacosh_test_data): Likewise.
31952         (carg_test_data): Likewise.
31953         (casin_test_data): Likewise.
31954         (casinh_test_data): Likewise.
31955         (catan_test_data): Likewise.
31956         (catanh_test_data): Likewise.
31957         (cbrt_test_data): Likewise.
31958         (ccos_test_data): Likewise.
31959         (ccosh_test_data): Likewise.
31960         (ceil_test_data): Likewise.
31961         (cexp_test_data): Likewise.
31962         (cimag_test_data): Likewise.
31963         (clog_test_data): Likewise.
31964         (clog10_test_data): Likewise.
31965         (conj_test_data): Likewise.
31966         (copysign_test_data): Likewise.
31967         (cos_test_data): Likewise.
31968         (cos_tonearest_test_data): Likewise.
31969         (cos_towardzero_test_data): Likewise.
31970         (cos_downward_test_data): Likewise.
31971         (cos_upward_test_data): Likewise.
31972         (cosh_test_data): Likewise.
31973         (cosh_tonearest_test_data): Likewise.
31974         (cosh_towardzero_test_data): Likewise.
31975         (cosh_downward_test_data): Likewise.
31976         (cosh_upward_test_data): Likewise.
31977         (cpow_test_data): Likewise.
31978         (cproj_test_data): Likewise.
31979         (creal_test_data): Likewise.
31980         (csin_test_data): Likewise.
31981         (csinh_test_data): Likewise.
31982         (csqrt_test_data): Likewise.
31983         (ctan_test_data): Likewise.
31984         (ctan_tonearest_test_data): Likewise.
31985         (ctan_towardzero_test_data): Likewise.
31986         (ctan_downward_test_data): Likewise.
31987         (ctan_upward_test_data): Likewise.
31988         (ctanh_test_data): Likewise.
31989         (ctanh_tonearest_test_data): Likewise.
31990         (ctanh_towardzero_test_data): Likewise.
31991         (ctanh_downward_test_data): Likewise.
31992         (ctanh_upward_test_data): Likewise.
31993         (erf_test_data): Likewise.
31994         (erfc_test_data): Likewise.
31995         (exp_test_data): Likewise.
31996         (exp_tonearest_test_data): Likewise.
31997         (exp_towardzero_test_data): Likewise.
31998         (exp_downward_test_data): Likewise.
31999         (exp_upward_test_data): Likewise.
32000         (exp10_test_data): Likewise.
32001         (exp2_test_data): Likewise.
32002         (expm1_test_data): Likewise.
32003         (fabs_test_data): Likewise.
32004         (fdim_test_data): Likewise.
32005         (finite_test_data): Likewise.
32006         (floor_test_data): Likewise.
32007         (fma_test_data): Likewise.
32008         (fma_towardzero_test_data): Likewise.
32009         (fma_downward_test_data): Likewise.
32010         (fma_upward_test_data): Likewise.
32011         (fmax_test_data): Likewise.
32012         (fmin_test_data): Likewise.
32013         (fmod_test_data): Likewise.
32014         (fpclassify_test_data): Likewise.
32015         (frexp_test_data): Likewise.
32016         (gamma_test_data): Likewise.
32017         (hypot_test_data): Likewise.
32018         (ilogb_test_data): Likewise.
32019         (isfinite_test_data): Likewise.
32020         (isgreater_test_data): Likewise.
32021         (isgreaterequal_test_data): Likewise.
32022         (isinf_test_data): Likewise.
32023         (isless_test_data): Likewise.
32024         (islessequal_test_data): Likewise.
32025         (islessgreater_test_data): Likewise.
32026         (isnan_test_data): Likewise.
32027         (isnormal_test_data): Likewise.
32028         (issignaling_test_data): Likewise.
32029         (isunordered_test_data): Likewise.
32030         (j0_test_data): Likewise.
32031         (j1_test_data): Likewise.
32032         (jn_test_data): Likewise.
32033         (ldexp_test_data): Likewise.
32034         (lgamma_test_data): Likewise.
32035         (lrint_test_data): Likewise.
32036         (lrint_tonearest_test_data): Likewise.
32037         (lrint_towardzero_test_data): Likewise.
32038         (lrint_downward_test_data): Likewise.
32039         (lrint_upward_test_data): Likewise.
32040         (llrint_test_data): Likewise.
32041         (llrint_tonearest_test_data): Likewise.
32042         (llrint_towardzero_test_data): Likewise.
32043         (llrint_downward_test_data): Likewise.
32044         (llrint_upward_test_data): Likewise.
32045         (log_test_data): Likewise.
32046         (log10_test_data): Likewise.
32047         (log1p_test_data): Likewise.
32048         (log2_test_data): Likewise.
32049         (logb_test_data): Likewise.
32050         (logb_downward_test_data): Likewise.
32051         (lround_test_data): Likewise.
32052         (llround_test_data): Likewise.
32053         (modf_test_data): Likewise.
32054         (nearbyint_test_data): Likewise.
32055         (nextafter_test_data): Likewise.
32056         (nexttoward_test_data): Likewise.
32057         (pow_test_data): Likewise.
32058         (pow_tonearest_test_data): Likewise.
32059         (pow_towardzero_test_data): Likewise.
32060         (pow_downward_test_data): Likewise.
32061         (pow_upward_test_data): Likewise.
32062         (remainder_test_data): Likewise.
32063         (remainder_tonearest_test_data): Likewise.
32064         (remainder_towardzero_test_data): Likewise.
32065         (remainder_downward_test_data): Likewise.
32066         (remainder_upward_test_data): Likewise.
32067         (remquo_test_data): Likewise.
32068         (rint_test_data): Likewise.
32069         (rint_tonearest_test_data): Likewise.
32070         (rint_towardzero_test_data): Likewise.
32071         (rint_downward_test_data): Likewise.
32072         (rint_upward_test_data): Likewise.
32073         (round_test_data): Likewise.
32074         (scalb_test_data): Likewise.
32075         (scalbn_test_data): Likewise.
32076         (scalbln_test_data): Likewise.
32077         (signbit_test_data): Likewise.
32078         (sin_test_data): Likewise.
32079         (sin_tonearest_test_data): Likewise.
32080         (sin_towardzero_test_data): Likewise.
32081         (sin_downward_test_data): Likewise.
32082         (sin_upward_test_data): Likewise.
32083         (sincos_test_data): Likewise.
32084         (sinh_test_data): Likewise.
32085         (sinh_tonearest_test_data): Likewise.
32086         (sinh_towardzero_test_data): Likewise.
32087         (sinh_downward_test_data): Likewise.
32088         (sinh_upward_test_data): Likewise.
32089         (sqrt_test_data): Likewise.
32090         (tan_test_data): Likewise.
32091         (tan_tonearest_test_data): Likewise.
32092         (tan_towardzero_test_data): Likewise.
32093         (tan_downward_test_data): Likewise.
32094         (tan_upward_test_data): Likewise.
32095         (tanh_test_data): Likewise.
32096         (tgamma_test_data): Likewise.
32097         (trunc_test_data): Likewise.
32098         (y0_test_data): Likewise.
32099         (y1_test_data): Likewise.
32100         (yn_test_data): Likewise.
32101         (significand_test_data): Likewise.
32103         * math/gen-libm-test.pl (@functions): Remove variable.
32104         (generate_testfile): Don't handle START and END lines.
32105         * math/libm-test.inc (START): New macro.
32106         (END): Likewise.
32107         (END_COMPLEX): Likewise.
32108         (acos_test): Use END macro without arguments.
32109         (acos_test_tonearest): Likewise.
32110         (acos_test_towardzero): Likewise.
32111         (acos_test_downward): Likewise.
32112         (acos_test_upward): Likewise.
32113         (acosh_test): Likewise.
32114         (asin_test): Likewise.
32115         (asin_test_tonearest): Likewise.
32116         (asin_test_towardzero): Likewise.
32117         (asin_test_downward): Likewise.
32118         (asin_test_upward): Likewise.
32119         (asinh_test): Likewise.
32120         (atan_test): Likewise.
32121         (atanh_test): Likewise.
32122         (atan2_test): Likewise.
32123         (cabs_test): Likewise.
32124         (cacos_test): Use END_COMPLEX macro without arguments.
32125         (cacosh_test): Likewise.
32126         (carg_test): Use END macro without arguments.
32127         (casin_test): Use END_COMPLEX macro without arguments.
32128         (casinh_test): Likewise.
32129         (catan_test): Likewise.
32130         (catanh_test): Likewise.
32131         (cbrt_test): Use END macro without arguments.
32132         (ccos_test): Use END_COMPLEX macro without arguments.
32133         (ccosh_test): Likewise.
32134         (ceil_test): Use END macro without arguments.
32135         (cexp_test): Use END_COMPLEX macro without arguments.
32136         (cimag_test): Use END macro without arguments.
32137         (clog_test): Use END_COMPLEX macro without arguments.
32138         (clog10_test): Likewise.
32139         (conj_test): Likewise.
32140         (copysign_test): Use END macro without arguments.
32141         (cos_test): Likewise.
32142         (cos_test_tonearest): Likewise.
32143         (cos_test_towardzero): Likewise.
32144         (cos_test_downward): Likewise.
32145         (cos_test_upward): Likewise.
32146         (cosh_test): Likewise.
32147         (cosh_test_tonearest): Likewise.
32148         (cosh_test_towardzero): Likewise.
32149         (cosh_test_downward): Likewise.
32150         (cosh_test_upward): Likewise.
32151         (cpow_test): Use END_COMPLEX macro without arguments.
32152         (cproj_test): Likewise.
32153         (creal_test): Use END macro without arguments.
32154         (csin_test): Use END_COMPLEX macro without arguments.
32155         (csinh_test): Likewise.
32156         (csqrt_test): Likewise.
32157         (ctan_test): Likewise.
32158         (ctan_test_tonearest): Likewise.
32159         (ctan_test_towardzero): Likewise.
32160         (ctan_test_downward): Likewise.
32161         (ctan_test_upward): Likewise.
32162         (ctanh_test): Likewise.
32163         (ctanh_test_tonearest): Likewise.
32164         (ctanh_test_towardzero): Likewise.
32165         (ctanh_test_downward): Likewise.
32166         (ctanh_test_upward): Likewise.
32167         (erf_test): Use END macro without arguments.
32168         (erfc_test): Likewise.
32169         (exp_test): Likewise.
32170         (exp_test_tonearest): Likewise.
32171         (exp_test_towardzero): Likewise.
32172         (exp_test_downward): Likewise.
32173         (exp_test_upward): Likewise.
32174         (exp10_test): Likewise.
32175         (exp2_test): Likewise.
32176         (expm1_test): Likewise.
32177         (fabs_test): Likewise.
32178         (fdim_test): Likewise.
32179         (finite_test): Likewise.
32180         (floor_test): Likewise.
32181         (fma_test): Likewise.
32182         (fma_test_towardzero): Likewise.
32183         (fma_test_downward): Likewise.
32184         (fma_test_upward): Likewise.
32185         (fmax_test): Likewise.
32186         (fmin_test): Likewise.
32187         (fmod_test): Likewise.
32188         (fpclassify_test): Likewise.
32189         (frexp_test): Likewise.
32190         (gamma_test): Likewise.
32191         (hypot_test): Likewise.
32192         (ilogb_test): Likewise.
32193         (isfinite_test): Likewise.
32194         (isgreater_test): Likewise.
32195         (isgreaterequal_test): Likewise.
32196         (isinf_test): Likewise.
32197         (isless_test): Likewise.
32198         (islessequal_test): Likewise.
32199         (islessgreater_test): Likewise.
32200         (isnan_test): Likewise.
32201         (isnormal_test): Likewise.
32202         (issignaling_test): Likewise.
32203         (isunordered_test): Likewise.
32204         (j0_test): Likewise.
32205         (j1_test): Likewise.
32206         (jn_test): Likewise.
32207         (ldexp_test): Likewise.
32208         (lgamma_test): Likewise.
32209         (lrint_test): Likewise.
32210         (lrint_test_tonearest): Likewise.
32211         (lrint_test_towardzero): Likewise.
32212         (lrint_test_downward): Likewise.
32213         (lrint_test_upward): Likewise.
32214         (llrint_test): Likewise.
32215         (llrint_test_tonearest): Likewise.
32216         (llrint_test_towardzero): Likewise.
32217         (llrint_test_downward): Likewise.
32218         (llrint_test_upward): Likewise.
32219         (log_test): Likewise.
32220         (log10_test): Likewise.
32221         (log1p_test): Likewise.
32222         (log2_test): Likewise.
32223         (logb_test): Likewise.
32224         (logb_test_downward): Likewise.
32225         (lround_test): Likewise.
32226         (llround_test): Likewise.
32227         (modf_test): Likewise.
32228         (nearbyint_test): Likewise.
32229         (nextafter_test): Likewise.
32230         (nexttoward_test): Likewise.
32231         (pow_test): Likewise.
32232         (pow_test_tonearest): Likewise.
32233         (pow_test_towardzero): Likewise.
32234         (pow_test_downward): Likewise.
32235         (pow_test_upward): Likewise.
32236         (remainder_test): Likewise.
32237         (remainder_test_tonearest): Likewise.
32238         (remainder_test_towardzero): Likewise.
32239         (remainder_test_downward): Likewise.
32240         (remainder_test_upward): Likewise.
32241         (remquo_test): Likewise.
32242         (rint_test): Likewise.
32243         (rint_test_tonearest): Likewise.
32244         (rint_test_towardzero): Likewise.
32245         (rint_test_downward): Likewise.
32246         (rint_test_upward): Likewise.
32247         (round_test): Likewise.
32248         (scalb_test): Likewise.
32249         (scalbn_test): Likewise.
32250         (scalbln_test): Likewise.
32251         (signbit_test): Likewise.
32252         (sin_test): Likewise.
32253         (sin_test_tonearest): Likewise.
32254         (sin_test_towardzero): Likewise.
32255         (sin_test_downward): Likewise.
32256         (sin_test_upward): Likewise.
32257         (sincos_test): Likewise.
32258         (sinh_test): Likewise.
32259         (sinh_test_tonearest): Likewise.
32260         (sinh_test_towardzero): Likewise.
32261         (sinh_test_downward): Likewise.
32262         (sinh_test_upward): Likewise.
32263         (sqrt_test): Likewise.
32264         (tan_test): Likewise.
32265         (tan_test_tonearest): Likewise.
32266         (tan_test_towardzero): Likewise.
32267         (tan_test_downward): Likewise.
32268         (tan_test_upward): Likewise.
32269         (tanh_test): Likewise.
32270         (tgamma_test): Likewise.
32271         (trunc_test): Likewise.
32272         (y0_test): Likewise.
32273         (y1_test): Likewise.
32274         (yn_test): Likewise.
32275         (significand_test): Likewise.
32277 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32279         [BZ #15381]
32280         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32282 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32284         [BZ #14894]
32285         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32286         __ppc_mdoio and __ppc_mdoom.
32287         * manual/platform.texi: Document new functions __ppc_yield,
32288         __ppc_mdoio and __ppc_mdoom.
32290 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32292         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32293         (main): Mention "tls" pseudo-hwcap is legacy.
32294         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32296 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32298         * math/gen-libm-test.pl (parse_args): Output only string of
32299         arguments as text for test name, not full call or descriptions of
32300         tests for extra outputs.
32301         (generate_testfile): Do not pass function name to parse_args.
32302         Generate this_func variable from START.
32303         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32304         field to arg_str.
32305         (struct test_ff_f_data): Likewise.
32306         (test_ff_f_data_nexttoward): Likewise.
32307         (struct test_fi_f_data): Likewise.
32308         (struct test_fl_f_data): Likewise.
32309         (struct test_if_f_data): Likewise.
32310         (struct test_fff_f_data): Likewise.
32311         (struct test_c_f_data): Likewise.
32312         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32313         (struct test_fF_f1_data): Likewise.
32314         (struct test_ffI_f1_data): Likewise.
32315         (struct test_c_c_data): Rename test_name field to arg_str.
32316         (struct test_cc_c_data): Likewise.
32317         (struct test_f_i_data): Likewise.
32318         (struct test_ff_i_data): Likewise.
32319         (struct test_f_l_data): Likewise.
32320         (struct test_f_L_data): Likewise.
32321         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32322         and extra2_name.
32323         (COMMON_TEST_SETUP): New macro.
32324         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32325         (COMMON_TEST_CLEANUP): Likewise.
32326         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32327         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32328         macros.
32329         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32330         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32331         macros.
32332         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32333         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32334         cleanup macros.
32335         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32336         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32337         macros.
32338         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32339         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32340         macros.
32341         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32342         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32343         cleanup macros.
32344         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32345         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32346         cleanup macros.
32347         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32348         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32349         cleanup macros.
32350         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32351         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32352         macros.
32353         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32354         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32355         macros.
32356         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32357         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32358         macros.
32359         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32360         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32361         cleanup macros.
32362         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32363         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32364         cleanup macros.
32365         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32366         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32367         macros.
32368         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32369         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32370         cleanup macros.
32371         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32372         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32373         macros.
32374         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32375         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32376         macros.
32377         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32378         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32379         cleanup macros.
32380         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32382 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32384         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32385         to _sifields.sigfault.
32386         (si_addr_lsb): Define new macro.
32387         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32389         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32391 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32393         [BZ #15441]
32394         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32395         returns -1.
32396         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32397         null return -1.
32398         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32399         loading the domain.
32401 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32403         * math/gen-libm-test.pl (parse_args): Do not include expected
32404         result in test name.
32405         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32407         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32408         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32409         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32412 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32414         * benchtests/Makefile: Sort function entries.
32416         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32417         tanh, asinh, acosh, atanh.
32418         * benchtests/acos-inputs: New file.
32419         * benchtests/acosh-inputs: New file.
32420         * benchtests/asin-inputs: New file.
32421         * benchtests/asinh-inputs: New file.
32422         * benchtests/atanh-inputs: New file.
32423         * benchtests/cosh-inputs: New file.
32424         * benchtests/log-inputs: New file.
32425         * benchtests/sinh-inputs: New file.
32426         * benchtests/tanh-inputs: New file.
32428 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32430         [BZ #15339]
32431         * posix/tst-getaddrinfo4.c: New test.
32432         * posix/Makefile (tests): Add it.
32434 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32436         [BZ #15339]
32437         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32438         when no services were used.
32439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32440         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32442 2013-05-21  Andreas Schwab  <schwab@suse.de>
32444         [BZ #15014]
32445         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32446         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32447         successful.
32448         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32449         redundant variable declarations and reallocation of buffer when
32450         parsing as IPv6 address.  Always set NSS status when called from
32451         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32452         buffer too small.  Correct computation of needed size.
32453         * nss/Makefile (tests): Add test-digits-dots.
32454         * nss/test-digits-dots.c: New test.
32456 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32458         * benchtests/Makefile: Remove instructions for adding
32459         benchmark tests.
32460         * benchtests/README: New file to explain how to execute and
32461         enhance the benchmark tests.
32463 2013-05-21  Andreas Schwab  <schwab@suse.de>
32465         [BZ #15493]
32466         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32467         * setjmp/tst-sigsetjmp.c: New test.
32469 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32471         * sysdeps/x86_64/memset.S (memset): New implementation.
32472         (__bzero): Likewise.
32473         (__memset_tail): New function.
32475 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32477         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32478         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32479         __memcpy_sse2_unaligned ifunc selection.
32480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32481         Add memcpy-sse2-unaligned.S.
32482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32483         Add: __memcpy_sse2_unaligned.
32485 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32487         [BZ #15490]
32488         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32489         math_force_eval before restoring floating-point envrionment.
32490         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32491         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32492         Likewise.
32493         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32494         <math_private.h>.
32495         (__nearbyintl): Use math_force_eval before restoring
32496         floating-point environment.
32497         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32499         * math/gen-libm-test.pl (special_functions): Remove.
32500         (parse_args): Don't handle TEST_extra.  Handle functions with no
32501         return value.
32502         * math/libm-test.inc (struct test_sincos_data): Replace with
32503         struct test_fFF_11_data.
32504         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32505         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32506         (sincos_test_data): Change element type to struct
32507         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32508         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32509         RUN_TEST_LOOP_sincos.
32510         * math/README.libm-test: Don't mention special handling of
32511         individual functions.
32512         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32513         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32514         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32515         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32516         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32519         * math/gen-libm-test.pl (get_variable): Remove function.
32520         (parse_args): Don't show pointer parameters to call in test
32521         names.  Use "extra output N" in test names for extra outputs
32522         rather than naming variables.
32524 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #15488]
32527         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32528         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32529         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32530         double tests.
32531         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32532         disable.
32533         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32534         check_long_double.
32536         * math/gen-libm-test.pl (@tests): Remove variable.
32537         ($count): Likewise.
32538         (new_test): Remove function.
32539         (show_exceptions): New function.
32540         (special_functions): Use show_exceptions instead of new_test.
32541         (parse_args): Likewise.
32542         (generate_testfile): Pass only function name in generated call to
32543         print_max_error or print_complex_max_error.
32544         (get_ulps): Do not handle complex tests specially.
32545         (output_test): Rename to ...
32546         (get_all_ulps_for_test): ... this.  Return a string rather than
32547         printing to a file.  Require ulps to be present.
32548         (output_ulps): Generate arrays rather than #defines.
32549         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32550         (struct ulp_data): New type.
32551         (BUILD_COMPLEX_ULP): Remove macro.
32552         (compare_ulp_data): New function.
32553         (find_ulps): Likewise.
32554         (find_test_ulps): Likewise.
32555         (find_function_ulps): Likewise.
32556         (find_complex_function_ulps): Likewise.
32557         (print_max_error): Determine allowed ulps using
32558         find_function_ulps.
32559         (print_complex_max_error): Determine allowed ulps using
32560         find_complex_function_ulps.
32561         (check_float_internal): Determine max ulps using find_test_ulps.
32562         (check_float): Do not take max_ulp parameter.  Update call to
32563         check_float_internal.
32564         (check_complex): Likewise.
32565         (check_int): Do not take max_ulp parameter.
32566         (check_long): Likewise.
32567         (check_bool): Likewise.
32568         (check_longlong): Likewise.
32569         (struct test_f_f_data): Remove max_ulp field.
32570         (struct test_ff_f_data): Likewise.
32571         (struct test_ff_f_data_nexttoward): Likewise.
32572         (struct test_fi_f_data): Likewise.
32573         (struct test_fl_f_data): Likewise.
32574         (struct test_if_f_data): Likewise.
32575         (struct test_fff_f_data): Likewise.
32576         (struct test_c_f_data): Likewise.
32577         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32578         (struct test_fF_f1_data): Likewise.
32579         (struct test_ffI_f1_data): Likewise.
32580         (struct test_c_c_data): Remove max_ulp field.
32581         (struct test_cc_c_data): Likewise.
32582         (struct test_f_i_data): Likewise.
32583         (struct test_ff_i_data): Likewise.
32584         (struct test_f_l_data): Likewise.
32585         (struct test_f_L_data): Likewise.
32586         (struct test_sincos_data): Likewise.
32587         (RUN_TEST_f_f): Do not handle ulps.
32588         (RUN_TEST_LOOP_f_f): Likewise.
32589         (RUN_TEST_2_f): Likewise.
32590         (RUN_TEST_LOOP_2_f): Likewise.
32591         (RUN_TEST_fff_f): Likewise.
32592         (RUN_TEST_LOOP_fff_f): Likewise.
32593         (RUN_TEST_c_f): Likewise.
32594         (RUN_TEST_LOOP_c_f): Likewise.
32595         (RUN_TEST_f_f1): Likewise.
32596         (RUN_TEST_LOOP_f_f1): Likewise.
32597         (RUN_TEST_fF_f1): Likewise.
32598         (RUN_TEST_LOOP_fF_f1): Likewise.
32599         (RUN_TEST_fI_f1): Likewise.
32600         (RUN_TEST_LOOP_fI_f1): Likewise.
32601         (RUN_TEST_ffI_f1): Likewise.
32602         (RUN_TEST_LOOP_ffI_f1): Likewise.
32603         (RUN_TEST_c_c): Likewise.
32604         (RUN_TEST_LOOP_c_c): Likewise.
32605         (RUN_TEST_cc_c): Likewise.
32606         (RUN_TEST_LOOP_cc_c): Likewise.
32607         (RUN_TEST_f_i): Likewise.
32608         (RUN_TEST_LOOP_f_i): Likewise.
32609         (RUN_TEST_f_i_tg): Likewise.
32610         (RUN_TEST_LOOP_f_i_tg): Likewise.
32611         (RUN_TEST_ff_i_tg): Likewise.
32612         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32613         (RUN_TEST_f_b): Likewise.
32614         (RUN_TEST_LOOP_f_b): Likewise.
32615         (RUN_TEST_f_b_tg): Likewise.
32616         (RUN_TEST_LOOP_f_b_tg): Likewise.
32617         (RUN_TEST_f_l): Likewise.
32618         (RUN_TEST_LOOP_f_l): Likewise.
32619         (RUN_TEST_f_L): Likewise.
32620         (RUN_TEST_LOOP_f_L): Likewise.
32621         (RUN_TEST_sincos): Likewise.
32622         (RUN_TEST_LOOP_sincos): Likewise.
32624 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32626         [BZ #15480]
32627         [BZ #15485]
32628         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32629         main case of finite arguments, set rounding mode to FE_TONEAREST
32630         and discard exceptions.
32631         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32632         exceptions.
32633         (remainder_tonearest_test_data): New variable.
32634         (remainder_test_tonearest): New function.
32635         (remainder_towardzero_test_data): New variable.
32636         (remainder_test_towardzero): New function.
32637         (remainder_downward_test_data): New variable.
32638         (remainder_test_downward): New function.
32639         (remainder_upward_test_data): New variable.
32640         (remainder_test_upward): New function.
32641         (main): Call the new test functions.
32643         * math/libm-test.inc (struct test_f_f1_data): Remove field
32644         extra_init.
32645         (struct test_fF_f1_data): Likewise.
32646         (struct test_ffI_f1_data): Likewise.
32647         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32648         based on value of EXTRA_EXPECTED.
32649         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32650         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32651         EXTRA_VAR based on value of EXTRA_EXPECTED.
32652         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32653         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32654         EXTRA_VAR based on value of EXTRA_EXPECTED.
32655         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32656         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32657         EXTRA_VAR based on value of EXTRA_EXPECTED.
32658         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32659         * math/gen-libm-test.pl (parse_args): Don't output initializers
32660         for extra output values.
32662         * math/libm-test.inc (check_int): Expect result to be exactly
32663         equal to expected value and do not handle ulps.
32664         (check_long): Likewise.
32665         (check_longlong): Likewise.
32667         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32668         exceptions.
32669         (cimag_test_data): Likewise.
32670         (conj_test_data): Likewise.
32671         (copysign_test_data): Likewise.
32672         (cproj_test_data): Likewise.
32673         (creal_test_data): Likewise.
32674         (fabs_test_data): Likewise.
32675         (fdim_test_data): Likewise.
32676         (finite_test_data): Likewise.
32677         (floor_test_data): Likewise.
32678         (fmax_test_data): Likewise.
32679         (fmin_test_data): Likewise.
32680         (fmod_test_data): Likewise.
32681         (fpclassify_test_data): Likewise.
32682         (frexp_test_data): Likewise.
32683         (ilogb_test_data): Likewise.
32684         (isfinite_test_data): Likewise.
32685         (isgreater_test_data): Likewise.
32686         (isgreaterequal_test_data): Likewise.
32687         (isinf_test_data): Likewise.
32688         (isless_test_data): Likewise.
32689         (islessequal_test_data): Likewise.
32690         (islessgreater_test_data): Likewise.
32691         (isnan_test_data): Likewise.
32692         (isnormal_test_data): Likewise.
32693         (issignaling_test_data): Likewise.
32694         (isunordered_test_data): Likewise.
32695         (ldexp_test_data): Likewise.
32696         (lrint_test_data): Likewise.
32697         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32698         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32699         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32700         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32701         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32702         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32703         test input.
32704         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32705         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32706         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32707         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32708         that test input.
32709         (lrint_downward_test_data): Test for "inexact" exceptions.
32710         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32711         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32712         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32713         test input.
32714         (lrint_upward_test_data): Test for "inexact" exceptions.
32715         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32716         test input.
32717         (llrint_test_data): Test for "inexact" exceptions.
32718         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32719         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32720         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32721         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32722         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32723         (llrint_downward_test_data): Test for "inexact" exceptions.
32724         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32725         (llrint_upward_test_data): Test for "inexact" exceptions.
32726         (logb_test_data): Likewise.
32727         (logb_downward_test_data): Likewise.
32728         (nextafter_test_data): Likewise.
32729         (nexttoward_test_data): Likewise.
32730         (remainder_test_data): Likewise.
32731         (remquo_test_data): Likewise.
32732         (scalbn_test_data): Likewise.
32733         (scalbln_test_data): Likewise.
32734         (signbit_test_data): Likewise.
32735         (sqrt_test_data): Likewise.
32736         (significand_test_data): Likewise.
32738 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32740         [BZ #15424]
32741         * benchtests/bench-modf.c (struct args): Mark arg0 as
32742         volatile.
32743         * scripts/bench.pl: Mark members of struct args as volatile.
32745 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32747         [BZ # 15497]
32748         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32749         negative infinity on POWER6 or lower.
32750         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32752 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32754         [BZ #15442]
32755         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32756         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32757         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32758         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32759         (_FP_SETQNAN): New macro.
32760         (_FP_SETQNAN_SEMIRAW): Likewise.
32761         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32762         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32763         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32764         (FP_EXTEND): Use _FP_FRAC_SNANP.
32765         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32766         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32767         into account.
32768         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32769         New macro.
32770         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32771         Likewise.
32773 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32775         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32776         with DIVIDE_BY_ZERO_EXCEPTION.
32777         (gamma_test_data): Likewise.
32778         (lgamma_test_data): Likewise.
32779         (log_test_data): Likewise.
32780         (log10_test_data): Likewise.
32781         (log2_test_data): Likewise.
32782         (tgamma_test_data): Likewise.
32784         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32785         (acos_test_tonearest): Likewise.
32786         (acos_test_towardzero): Likewise.
32787         (acos_test_downward): Likewise.
32788         (acos_test_upward): Likewise.
32789         (acosh_test): Likewise.
32790         (asin_test): Likewise.
32791         (asin_test_tonearest): Likewise.
32792         (asin_test_towardzero): Likewise.
32793         (asin_test_downward): Likewise.
32794         (asin_test_upward): Likewise.
32795         (asinh_test): Likewise.
32796         (atan_test): Likewise.
32797         (atanh_test): Likewise.
32798         (atan2_test): Likewise.
32799         (cabs_test): Likewise.
32800         (cacos_test): Likewise.
32801         (cacosh_test): Likewise.
32802         (casin_test): Likewise.
32803         (casinh_test): Likewise.
32804         (catan_test): Likewise.
32805         (catanh_test): Likewise.
32806         (cbrt_test): Likewise.
32807         (ccos_test): Likewise.
32808         (ccosh_test): Likewise.
32809         (cexp_test): Likewise.
32810         (clog_test): Likewise.
32811         (clog10_test): Likewise.
32812         (cos_test): Likewise.
32813         (cos_test_tonearest): Likewise.
32814         (cos_test_towardzero): Likewise.
32815         (cos_test_downward): Likewise.
32816         (cos_test_upward): Likewise.
32817         (cosh_test): Likewise.
32818         (cosh_test_tonearest): Likewise.
32819         (cosh_test_towardzero): Likewise.
32820         (cosh_test_downward): Likewise.
32821         (cosh_test_upward): Likewise.
32822         (cpow_test): Likewise.
32823         (csin_test): Likewise.
32824         (csinh_test): Likewise.
32825         (csqrt_test): Likewise.
32826         (ctan_test): Likewise.
32827         (ctan_test_tonearest): Likewise.
32828         (ctan_test_towardzero): Likewise.
32829         (ctan_test_downward): Likewise.
32830         (ctan_test_upward): Likewise.
32831         (ctanh_test): Likewise.
32832         (ctanh_test_tonearest): Likewise.
32833         (ctanh_test_towardzero): Likewise.
32834         (ctanh_test_downward): Likewise.
32835         (ctanh_test_upward): Likewise.
32836         (erf_test): Likewise.
32837         (erfc_test): Likewise.
32838         (exp_test): Likewise.
32839         (exp_test_tonearest): Likewise.
32840         (exp_test_towardzero): Likewise.
32841         (exp_test_downward): Likewise.
32842         (exp_test_upward): Likewise.
32843         (exp10_test): Likewise.
32844         (exp2_test): Likewise.
32845         (expm1_test): Likewise.
32846         (fmod_test): Likewise.
32847         (gamma_test): Likewise.
32848         (hypot_test): Likewise.
32849         (j0_test): Likewise.
32850         (j1_test): Likewise.
32851         (jn_test): Likewise.
32852         (lgamma_test): Likewise.
32853         (log_test): Likewise.
32854         (log10_test): Likewise.
32855         (log1p_test): Likewise.
32856         (log2_test): Likewise.
32857         (logb_test_downward): Likewise.
32858         (pow_test): Likewise.
32859         (pow_test_tonearest): Likewise.
32860         (pow_test_towardzero): Likewise.
32861         (pow_test_downward): Likewise.
32862         (pow_test_upward): Likewise.
32863         (remainder_test): Likewise.
32864         (remquo_test): Likewise.
32865         (sin_test): Likewise.
32866         (sin_test_tonearest): Likewise.
32867         (sin_test_towardzero): Likewise.
32868         (sin_test_downward): Likewise.
32869         (sin_test_upward): Likewise.
32870         (sincos_test): Likewise.
32871         (sinh_test): Likewise.
32872         (sinh_test_tonearest): Likewise.
32873         (sinh_test_towardzero): Likewise.
32874         (sinh_test_downward): Likewise.
32875         (sinh_test_upward): Likewise.
32876         (sqrt_test): Likewise.
32877         (tan_test): Likewise.
32878         (tan_test_tonearest): Likewise.
32879         (tan_test_towardzero): Likewise.
32880         (tan_test_downward): Likewise.
32881         (tan_test_upward): Likewise.
32882         (tanh_test): Likewise.
32883         (tgamma_test): Likewise.
32884         (y0_test): Likewise.
32885         (y1_test): Likewise.
32886         (yn_test): Likewise.
32888         * math/gen-libm-test.pl (adjust_arg): Remove function.
32889         (special_function): Remove argument $in_func.  Only handle
32890         generating output for tables of tests, not inside functions.
32891         (parse_args): Likewise.
32892         (generate_testfile): Remove variable $in_func.  Update call to
32893         parse_args.
32894         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32895         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32896         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32897         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32898         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32899         (MAX_VALUE_INIT): Rename macro to max_value.
32900         (MIN_VALUE_INIT): Rename macro to min_value.
32901         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32902         (plus_zero): Remove variable.
32903         (minus_zero): Likewise.
32904         (plus_infty): Likewise.
32905         (minus_infty): Likewise.
32906         (qnan_value): Likewise.
32907         (max_value): Likewise.
32908         (min_value): Likewise.
32909         (min_subnorm_value): Likewise.
32911 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32913         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32914         uint64_t or uint32_t usage.
32915         * crypt/sha256-block.c: Likewise.
32916         * crypt/sha256-crypt.c: Likewise.
32917         * crypt/sha256.c: Likewise.
32918         * crypt/sha512-block.c: Likewise.
32919         * crypt/sha512-crypt.c: Likewise.
32920         * crypt/sha512.c: Likewise.
32921         * debug/backtrace-tst.c: Likewise.
32922         * debug/pcprofiledump.c: Likewise.
32923         * elf/cache.c: Likewise.
32924         * elf/dl-cache.c: Likewise.
32925         * elf/dl-misc.c: Likewise.
32926         * elf/dl-profile.c: Likewise.
32927         * elf/dl-support.c: Likewise.
32928         * elf/ldconfig.c: Likewise.
32929         * elf/sprof.c: Likewise.
32930         * iconv/dummy-repertoire.c: Likewise.
32931         * iconv/iconv_charmap.c: Likewise.
32932         * iconv/skeleton.c: Likewise.
32933         * iconvdata/8bit-generic.c: Likewise.
32934         * iconvdata/cp737.h: Likewise.
32935         * iconvdata/cp775.h: Likewise.
32936         * iconvdata/ibm1008.h: Likewise.
32937         * iconvdata/ibm1025.h: Likewise.
32938         * iconvdata/ibm1046.h: Likewise.
32939         * iconvdata/ibm1097.h: Likewise.
32940         * iconvdata/ibm1112.h: Likewise.
32941         * iconvdata/ibm1122.h: Likewise.
32942         * iconvdata/ibm1123.h: Likewise.
32943         * iconvdata/ibm1124.h: Likewise.
32944         * iconvdata/ibm1129.h: Likewise.
32945         * iconvdata/ibm1130.h: Likewise.
32946         * iconvdata/ibm1132.h: Likewise.
32947         * iconvdata/ibm1133.h: Likewise.
32948         * iconvdata/ibm1137.h: Likewise.
32949         * iconvdata/ibm1140.h: Likewise.
32950         * iconvdata/ibm1141.h: Likewise.
32951         * iconvdata/ibm1142.h: Likewise.
32952         * iconvdata/ibm1143.h: Likewise.
32953         * iconvdata/ibm1144.h: Likewise.
32954         * iconvdata/ibm1145.h: Likewise.
32955         * iconvdata/ibm1146.h: Likewise.
32956         * iconvdata/ibm1147.h: Likewise.
32957         * iconvdata/ibm1148.h: Likewise.
32958         * iconvdata/ibm1149.h: Likewise.
32959         * iconvdata/ibm1153.h: Likewise.
32960         * iconvdata/ibm1154.h: Likewise.
32961         * iconvdata/ibm1155.h: Likewise.
32962         * iconvdata/ibm1156.h: Likewise.
32963         * iconvdata/ibm1157.h: Likewise.
32964         * iconvdata/ibm1158.h: Likewise.
32965         * iconvdata/ibm1160.h: Likewise.
32966         * iconvdata/ibm1161.h: Likewise.
32967         * iconvdata/ibm1162.h: Likewise.
32968         * iconvdata/ibm1163.h: Likewise.
32969         * iconvdata/ibm1164.h: Likewise.
32970         * iconvdata/ibm1166.h: Likewise.
32971         * iconvdata/ibm1167.h: Likewise.
32972         * iconvdata/ibm12712.h: Likewise.
32973         * iconvdata/ibm1390.h: Likewise.
32974         * iconvdata/ibm1399.h: Likewise.
32975         * iconvdata/ibm16804.h: Likewise.
32976         * iconvdata/ibm4517.h: Likewise.
32977         * iconvdata/ibm4899.h: Likewise.
32978         * iconvdata/ibm4909.h: Likewise.
32979         * iconvdata/ibm4971.h: Likewise.
32980         * iconvdata/ibm5347.h: Likewise.
32981         * iconvdata/ibm803.h: Likewise.
32982         * iconvdata/ibm856.h: Likewise.
32983         * iconvdata/ibm901.h: Likewise.
32984         * iconvdata/ibm902.h: Likewise.
32985         * iconvdata/ibm9030.h: Likewise.
32986         * iconvdata/ibm9066.h: Likewise.
32987         * iconvdata/ibm921.h: Likewise.
32988         * iconvdata/ibm922.h: Likewise.
32989         * iconvdata/ibm9448.h: Likewise.
32990         * iconvdata/isiri-3342.h: Likewise.
32991         * iconvdata/jis0201.h: Likewise.
32992         * include/link.h: Likewise.
32993         * include/netdb.h: Likewise.
32994         * inet/check_native.c: Likewise.
32995         * inet/check_pf.c: Likewise.
32996         * inet/getipv4sourcefilter.c: Likewise.
32997         * inet/getnameinfo.c: Likewise.
32998         * inet/getsourcefilter.c: Likewise.
32999         * inet/htonl.c: Likewise.
33000         * inet/setipv4sourcefilter.c: Likewise.
33001         * inet/setsourcefilter.c: Likewise.
33002         * inet/test-inet6_opt.c: Likewise.
33003         * inet/tst-network.c: Likewise.
33004         * locale/C-collate.c: Likewise.
33005         * locale/C-ctype.c: Likewise.
33006         * locale/C-time.c: Likewise.
33007         * locale/C-translit.h: Likewise.
33008         * locale/loadarchive.c: Likewise.
33009         * locale/programs/3level.h: Likewise.
33010         * locale/programs/charmap.c: Likewise.
33011         * locale/programs/charmap.h: Likewise.
33012         * locale/programs/ld-address.c: Likewise.
33013         * locale/programs/ld-collate.c: Likewise.
33014         * locale/programs/ld-ctype.c: Likewise.
33015         * locale/programs/ld-identification.c: Likewise.
33016         * locale/programs/ld-measurement.c: Likewise.
33017         * locale/programs/ld-messages.c: Likewise.
33018         * locale/programs/ld-monetary.c: Likewise.
33019         * locale/programs/ld-name.c: Likewise.
33020         * locale/programs/ld-numeric.c: Likewise.
33021         * locale/programs/ld-paper.c: Likewise.
33022         * locale/programs/ld-telephone.c: Likewise.
33023         * locale/programs/ld-time.c: Likewise.
33024         * locale/programs/linereader.c: Likewise.
33025         * locale/programs/locale.c: Likewise.
33026         * locale/programs/locarchive.c: Likewise.
33027         * locale/programs/locfile.h: Likewise.
33028         * locale/programs/repertoire.c: Likewise.
33029         * locale/programs/simple-hash.c: Likewise.
33030         * locale/programs/simple-hash.h: Likewise.
33031         * malloc/memusage.c: Likewise.
33032         * malloc/memusagestat.c: Likewise.
33033         * nis/nis_defaults.c: Likewise.
33034         * nis/nis_hash.c: Likewise.
33035         * nis/nis_print.c: Likewise.
33036         * nis/nis_xdr.c: Likewise.
33037         * nscd/connections.c: Likewise.
33038         * nscd/hstcache.c: Likewise.
33039         * nscd/nscd_gethst_r.c: Likewise.
33040         * nscd/nscd_getserv_r.c: Likewise.
33041         * nscd/nscd_helper.c: Likewise.
33042         * nscd/servicescache.c: Likewise.
33043         * nss/makedb.c: Likewise.
33044         * nss/nss_db/db-XXX.c: Likewise.
33045         * nss/nss_db/db-initgroups.c: Likewise.
33046         * nss/nss_db/db-netgrp.c: Likewise.
33047         * nss/nss_files/files-network.c: Likewise.
33048         * nss/nss_files/files-parse.c: Likewise.
33049         * posix/bug-regex5.c: Likewise.
33050         * posix/fnmatch_loop.c: Likewise.
33051         * posix/regcomp.c: Likewise.
33052         * posix/regexec.c: Likewise.
33053         * posix/tst-rfc3484-2.c: Likewise.
33054         * posix/tst-rfc3484-3.c: Likewise.
33055         * posix/tst-rfc3484.c: Likewise.
33056         * resolv/nss_dns/dns-canon.c: Likewise.
33057         * resolv/nss_dns/dns-network.c: Likewise.
33058         * resolv/res_init.c: Likewise.
33059         * resolv/res_mkquery.c: Likewise.
33060         * resolv/tst-aton.c: Likewise.
33061         * stdlib/cxa_atexit.c: Likewise.
33062         * stdlib/cxa_finalize.c: Likewise.
33063         * stdlib/gen-fpioconst.c: Likewise.
33064         * stdlib/strtol_l.c: Likewise.
33065         * string/tst-endian.c: Likewise.
33066         * sunrpc/auth_des.c: Likewise.
33067         * sunrpc/clnt_udp.c: Likewise.
33068         * sunrpc/rtime.c: Likewise.
33069         * sunrpc/svcauth_des.c: Likewise.
33070         * sunrpc/xdr.c: Likewise.
33071         * sunrpc/xdr_intXX_t.c: Likewise.
33072         * sunrpc/xdr_rec.c: Likewise.
33073         * sysdeps/generic/ldconfig.h: Likewise.
33074         * sysdeps/generic/ldsodefs.h: Likewise.
33075         * sysdeps/generic/memusage.h: Likewise.
33076         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33077         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33078         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33079         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33082         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33083         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33084         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33086         * sysdeps/posix/getaddrinfo.c: Likewise.
33087         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33088         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33089         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33090         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33091         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33092         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33093         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33094         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33095         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33096         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33097         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33098         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33099         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33100         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33101         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33102         * sysdeps/x86_64/dl-tls.h: Likewise.
33103         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33104         * time/alt_digit.c: Likewise.
33105         * time/era.c: Likewise.
33106         * wcsmbs/tst-c16c32-1.c: Likewise.
33108 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33110         * math/libm-test.inc (struct test_sincos_data): New type.
33111         (RUN_TEST_LOOP_sincos): New macro.
33112         (sincos_test_data): New variable.
33113         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33115 2013-05-16  Richard Henderson  <rth@redhat.com>
33117         * math/atest-exp2.c (LIMB64): New macro.
33118         (CONSTSZ): New macro.
33119         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33120         (hexdig): Move ...
33121         (print_mpn_fp): ... to function scope.
33122         (read_mpn_hex): Remove.
33123         (get_log2): Remove.
33124         (exp2_mpn): Use mp_log2.
33125         (main): Use mp_exp1.
33127 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33129         * math/libm-test.inc: Remove comment about not testing "inexact"
33130         exceptions.
33131         (INEXACT_EXCEPTION): New macro.
33132         (NO_INEXACT_EXCEPTION): Likewise.
33133         (INVALID_EXCEPTION_OK): Update value.
33134         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33135         (OVERFLOW_EXCEPTION_OK): Likewise.
33136         (UNDERFLOW_EXCEPTION_OK): Likewise.
33137         (IGNORE_ZERO_INF_SIGN): Likewise.
33138         (ERRNO_UNCHANGED): Likewise.
33139         (ERRNO_EDOM): Likewise.
33140         (ERRNO_ERANGE): Likewise.
33141         (test_exceptions): Handle testing "inexact" exceptions.
33142         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33143         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33144         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33145         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33146         INEXACT_EXCEPTION.
33147         (rint_towardzero_test_data): Likewise.
33148         (rint_downward_test_data): Likewise.
33149         (rint_upward_test_data): Likewise.
33151         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33152         with OVERFLOW_EXCEPTION.
33153         (exp10_test_data): Likewise.
33154         (exp2_test_data): Likewise.
33155         (expm1_test_data): Likewise.
33156         (lgamma_test_data): Likewise.
33157         (pow_test_data): Likewise.
33158         (tgamma_test_data): Likewise.
33159         (yn_test_data): Remove duplicate test of overflow.
33161         * math/libm-test.inc (struct test_cc_c_data): New type.
33162         (RUN_TEST_LOOP_cc_c): New macro.
33163         (cpow_test_data): New variable.
33164         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33166         * math/libm-test.inc (struct test_f_L_data): New type.
33167         (RUN_TEST_LOOP_f_L): New macro.
33168         (llrint_test_data): New variable.
33169         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33170         (llrint_tonearest_test_data): New variable.
33171         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33172         (llrint_towardzero_test_data): New variable.
33173         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33174         (llrint_downward_test_data): New variable.
33175         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33176         (llrint_upward_test_data): New variable.
33177         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33178         (llround_test_data): New variable.
33179         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33181 2013-05-13  Peter Collingbourne  <pcc@google.com>
33183         * math/atest-exp2.c (get_log2): Remove const attribute.
33185 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33187         * math/libm-test.inc (struct test_f_l_data): New type.
33188         (RUN_TEST_LOOP_f_l): New macro.
33189         (lrint_test_data): New variable.
33190         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33191         (lrint_tonearest_test_data): New variable.
33192         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33193         (lrint_towardzero_test_data): New variable.
33194         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33195         (lrint_downward_test_data): New variable.
33196         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33197         (lrint_upward_test_data): New variable.
33198         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33199         (lround_test_data): New variable.
33200         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33202 2013-05-15  Peter Collingbourne  <pcc@google.com>
33204         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33205         (EXTRACT_WORDS64) Use where appropriate.
33206         (INSERT_WORDS64) Likewise.
33208         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33209         constraints with x constraints.
33210         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33212         * malloc/obstack.c (_obstack_compat): Add initializer.
33214 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33216         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33217         si_trapno and add si_addr_lsb to _sifields.sigfault.
33218         (si_trapno): Remove macro.
33219         (si_addr_lsb): Define new macro.
33220         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33222 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33224         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33225         instead of TEST_f_l.
33226         (llrint_test_tonearest): Likewise.
33227         (llrint_test_towardzero): Likewise.
33228         (llrint_test_downward): Likewise.
33229         (llrint_test_upward): Likewise.
33230         (llround_test): Likewise.
33232         * math/libm-test.inc (struct test_f_i_data): Add comment.
33233         (RUN_TEST_LOOP_f_b): New macro.
33234         (RUN_TEST_LOOP_f_b_tg): Likewise.
33235         (finite_test_data): New variable.
33236         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33237         (isfinite_test_data): New variable.
33238         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33239         (isinf_test_data): New variable.
33240         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33241         (isnan_test_data): New variable.
33242         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33243         (isnormal_test_data): New variable.
33244         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33245         (issignaling_test_data): New variable.
33246         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33247         (signbit_test_data): New variable.
33248         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33250         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33251         with INVALID_EXCEPTION.
33252         (acosh_test_data): Likewise.
33253         (asin_test_data): Likewise.
33254         (atanh_test_data): Likewise.
33255         (fmod_test_data): Likewise.
33256         (log_test_data): Likewise.
33257         (log10_test_data): Likewise.
33258         (log2_test_data): Likewise.
33259         (pow_test_data): Likewise.
33260         (sqrt_test_data): Likewise.
33261         (y0_test_data): Likewise.
33262         (y1_test_data): Likewise.
33263         (yn_test_data): Likewise.
33265         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33266         function contents.
33268         * math/libm-test.inc (struct test_ff_i_data): New type.
33269         (RUN_TEST_LOOP_ff_i_tg): New macro.
33270         (isgreater_test_data): New variable.
33271         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33272         (isgreaterequal_test_data): New variable.
33273         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33274         (isless_test_data): New variable.
33275         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33276         (islessequal_test_data): New variable.
33277         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33278         (islessgreater_test_data): New variable.
33279         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33280         (isunordered_test_data): New variable.
33281         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33283 2013-05-14  David S. Miller  <davem@davemloft.net>
33285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33287 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33289         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33291         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33292         extra_test to int.
33293         (struct test_f_i_data): Change type of max_ulp to int.
33295         * math/libm-test.inc (test_ffI_f1_data): New type.
33296         (RUN_TEST_LOOP_ffI_f1): New macro.
33297         (remquo_test_data): New variable.
33298         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33300         * setjmp/tst-setjmp-fp.c: New file.
33301         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33302         (link-libm): New variable.
33303         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33305         * math/libm-test.inc (struct test_f_i_data): New type.
33306         (RUN_TEST_LOOP_f_i): New macro.
33307         (RUN_TEST_LOOP_f_i_tg): Likewise.
33308         (fpclassify_test_data): New variable.
33309         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33310         (ilogb_test_data): New variable.
33311         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33313         * math/libm-test.inc (scalbln_test): Correct function name in END
33314         call.
33316         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33317         (RUN_TEST_LOOP_fI_f1): New macro.
33318         (frexp_test_data): New variable.
33319         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33321         * math/libm-test.inc (struct test_fF_f1_data): New type.
33322         (RUN_TEST_LOOP_fF_f1): New macro.
33323         (modf_test_data): New variable.
33324         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33326         * math/libm-test.inc (struct test_f_f1_data): New type.
33327         (RUN_TEST_LOOP_f_f1): New macro.
33328         (gamma_test_data): New variable.
33329         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33330         (lgamma_test_data): New variable.
33331         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33333 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33335         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33336         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33337         (main): Comment "tls" pseudo-hwcap.
33339 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33341         * math/libm-test.inc (struct test_fl_f_data): New type.
33342         (RUN_TEST_LOOP_fl_f): New variable.
33343         (scalbln_test_data): New variable.
33344         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33346         * math/libm-test.inc (struct test_fi_f_data): New type.
33347         (RUN_TEST_LOOP_fi_f): New macro.
33348         (ldexp_test_data): New variable.
33349         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33350         (scalbn_test_data): New variable.
33351         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33353         * math/libm-test.inc (struct test_c_f_data): New type.
33354         (RUN_TEST_LOOP_c_f): New macro.
33355         (cabs_test_data): New variable.
33356         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33357         (carg_test_data): New variable.
33358         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33359         (cimag_test_data): New variable.
33360         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33361         (creal_test_data): New variable.
33362         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33364         * math/libm-test.inc (struct test_if_f_data): New type.
33365         (RUN_TEST_LOOP_if_f): New macro.
33366         (jn_test_data): New variable.
33367         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33368         (yn_test_data): New variable.
33369         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33371         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33373 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33375         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33376         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33378 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33380         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33381         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33382         (bench-deps): Add bench-timing.h.
33383         * benchtests-bench-skeleton.c: Include bench-timing.h.
33384         (main): Use TIMING_* macros instead of clock_gettime.
33385         * benchtests/bench-timing.h: New file.
33387         [BZ #14582]
33388         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33389         Renamed from _LIB_VERSION.
33390         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33392 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33394         * math/libm-test.inc (struct test_fff_f_data): New type.
33395         (RUN_TEST_LOOP_fff_f): New macro.
33396         (fma_test_data): New variable.
33397         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33398         (fma_towardzero_test_data): New variable.
33399         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33400         (fma_downward_test_data): New variable.
33401         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33402         (fma_upward_test_data): New variable.
33403         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33405         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33406         (struct test_c_c_data): New type.
33407         (RUN_TEST_LOOP_c_c): New macro.
33408         (cacos_test_data): New variable.
33409         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33410         (cacosh_test_data): New variable.
33411         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33412         (casin_test_data): New variable.
33413         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33414         (casinh_test_data): New variable.
33415         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33416         (catan_test_data): New variable.
33417         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33418         (catanh_test_data): New variable.
33419         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33420         (ccos_test_data): New variable.
33421         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33422         (ccosh_test_data): New variable.
33423         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33424         (cexp_test_data): New variable.
33425         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33426         (clog_test_data): New variable.
33427         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33428         (clog10_test_data): New variable.
33429         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33430         (conj_test_data): New variable.
33431         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33432         (cproj_test_data): New variable.
33433         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33434         (csin_test_data): New variable.
33435         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33436         (csinh_test_data): New variable.
33437         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33438         (csqrt_test_data): New variable.
33439         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33440         (ctan_test_data): New variable.
33441         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33442         (ctan_tonearest_test_data): New variable.
33443         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33444         (ctan_towardzero_test_data): New variable.
33445         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33446         (ctan_downward_test_data): New variable.
33447         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33448         (ctan_upward_test_data): New variable.
33449         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33450         (ctanh_test_data): New variable.
33451         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33452         (ctanh_tonearest_test_data): New variable.
33453         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33454         (ctanh_towardzero_test_data): New variable.
33455         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33456         (ctanh_downward_test_data): New variable.
33457         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33458         (ctanh_upward_test_data): New variable.
33459         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33460         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33461         of BUILD_COMPLEX.
33463         * math/libm-test.inc (struct test_ff_f_data): New type.
33464         (struct test_ff_f_data_nexttoward): Likewise.
33465         (RUN_TEST_LOOP_2_f): New macro.
33466         (RUN_TEST_LOOP_ff_f): Likewise.
33467         (atan2_test_data): New variable.
33468         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33469         (copysign_test_data): New variable.
33470         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33471         (fdim_test_data): New variable.
33472         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33473         (fmax_test_data): New variable.
33474         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33475         (fmin_test_data): New variable.
33476         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33477         (fmod_test_data): New variable.
33478         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33479         (hypot_test_data): New variable.
33480         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33481         (nextafter_test_data): New variable.
33482         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33483         (nexttoward_test_data): New variable.
33484         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33485         (pow_test_data): New variable.
33486         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33487         (pow_tonearest_test_data): New variable.
33488         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33489         (pow_towardzero_test_data): New variable.
33490         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33491         (pow_downward_test_data): New variable.
33492         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33493         (pow_upward_test_data): New variable.
33494         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33495         (remainder_test_data): New variable.
33496         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33497         (scalb_test_data): New variable.
33498         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33499         * sysdeps/i386/fpu/libm-test-ulps: Update.
33501 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33503         * math/libm-test.inc (fma_test): Use max_value instead of local
33504         variable fltmax.
33505         (nextafter_test): Likewise.
33507         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33508         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33509         (acos_downward_test_data): New variable.
33510         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33511         (acos_upward_test_data): New variable.
33512         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33513         (acosh_test_data): New variable.
33514         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33515         (asin_test_data): New variable.
33516         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33517         (asin_tonearest_test_data): New variable.
33518         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33519         (asin_towardzero_test_data): New variable.
33520         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33521         (asin_downward_test_data): New variable.
33522         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33523         (asin_upward_test_data): New variable.
33524         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33525         (asinh_test_data): New variable.
33526         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33527         (atan_test_data): New variable.
33528         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33529         (atanh_test_data): New variable.
33530         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33531         (cbrt_test_data): New variable.
33532         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33533         (ceil_test_data): New variable.
33534         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33535         (cos_test_data): New variable.
33536         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33537         (cos_tonearest_test_data): New variable.
33538         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33539         (cos_towardzero_test_data): New variable.
33540         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33541         (cos_downward_test_data): New variable.
33542         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33543         (cos_upward_test_data): New variable.
33544         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33545         (cosh_test_data): New variable.
33546         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33547         (cosh_tonearest_test_data): New variable.
33548         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33549         (cosh_towardzero_test_data): New variable.
33550         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33551         (cosh_downward_test_data): New variable.
33552         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33553         (cosh_upward_test_data): New variable.
33554         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33555         (erf_test_data): New variable.
33556         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33557         (erfc_test_data): New variable.
33558         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33559         (exp_test_data): New variable.
33560         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33561         (exp_tonearest_test_data): New variable.
33562         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33563         (exp_towardzero_test_data): New variable.
33564         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33565         (exp_downward_test_data): New variable.
33566         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33567         (exp_upward_test_data): New variable.
33568         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33569         (exp10_test_data): New variable.
33570         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33571         (exp2_test_data): New variable.
33572         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33573         (expm1_test_data): New variable.
33574         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33575         (fabs_test_data): New variable.
33576         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33577         (floor_test_data): New variable.
33578         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33579         (j0_test_data): New variable.
33580         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33581         (j1_test_data): New variable.
33582         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33583         (log_test_data): New variable.
33584         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33585         (log10_test_data): New variable.
33586         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33587         (log1p_test_data): New variable.
33588         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33589         (log2_test_data): New variable.
33590         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33591         (logb_test_data): New variable.
33592         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33593         (logb_downward_test_data): New variable.
33594         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33595         (nearbyint_test_data): New variable.
33596         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33597         (rint_test_data): New variable.
33598         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33599         (rint_tonearest_test_data): New variable.
33600         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33601         (rint_towardzero_test_data): New variable.
33602         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33603         (rint_downward_test_data): New variable.
33604         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33605         (rint_upward_test_data): New variable.
33606         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33607         (round_test_data): New variable.
33608         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33609         (sin_test_data): New variable.
33610         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33611         (sin_tonearest_test_data): New variable.
33612         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33613         (sin_towardzero_test_data): New variable.
33614         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33615         (sin_downward_test_data): New variable.
33616         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33617         (sin_upward_test_data): New variable.
33618         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33619         (sinh_test_data): New variable.
33620         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33621         (sinh_tonearest_test_data): New variable.
33622         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33623         (sinh_towardzero_test_data): New variable.
33624         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33625         (sinh_downward_test_data): New variable.
33626         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33627         (sinh_upward_test_data): New variable.
33628         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33629         (sqrt_test_data): New variable.
33630         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33631         (tan_test_data): New variable.
33632         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33633         (tan_tonearest_test_data): New variable.
33634         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33635         (tan_towardzero_test_data): New variable.
33636         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33637         (tan_downward_test_data): New variable.
33638         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33639         (tan_upward_test_data): New variable.
33640         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33641         (tanh_test_data): New variable.
33642         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33643         (tgamma_test_data): New variable.
33644         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33645         (trunc_test_data): New variable.
33646         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33647         (y0_test_data): New variable.
33648         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33649         (y1_test_data): New variable.
33650         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33651         (significand_test_data): New variable.
33652         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33654 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33656         [BZ #12387]
33657         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33659 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33661         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33663 2013-05-10  Andreas Jaeger  <aj@suse.de>
33665         [BZ #15448]
33666         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33667         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33669 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33671         * math/gen-libm-test.pl (adjust_arg): New function.
33672         (special_functions): Handle generating output in both functions
33673         and arrays.
33674         (parse_args): Likewise.
33675         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33676         $in_func argument to parse_args.
33677         * math/libm-test.inc (struct test_f_f_data): New type.
33678         (IF_ROUND_INIT_): New macro.
33679         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33680         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33681         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33682         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33683         (ROUND_RESTORE_): Likewise.
33684         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33685         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33686         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33687         (ROUND_RESTORE_FE_UPWARD): Likewise.
33688         (RUN_TEST_LOOP_f_f): New macro.
33689         (acos_test_data): New variable.
33690         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33691         (acos_tonearest_test_data): New variable.
33692         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33694 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33696         * benchtests/bench-skeleton.c (startup): Fix coding style.
33698 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33700         [BZ #6809]
33701         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33702         negative infinity argument.
33703         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33704         negative infinity argument.
33705         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33706         negative infinity argument.
33707         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33708         domain errors.
33710 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33712         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33713         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33714         * iconv/iconv_prog.c (main): Likewise.
33715         * locale/programs/charmap-dir.c (charmap_readdir)
33716         (fopen_uncompressed): Likewise.
33717         * locale/programs/locfile.c (siblings_uncached)
33718         (write_locale_data): Use lstat64 instead of lstat.
33719         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33720         stat.
33722 2013-05-10  Andreas Jaeger  <aj@suse.de>
33724         [BZ #15395]
33725         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33726         localization.
33727         Include <locale.h>.
33729 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33731         * elf/dl-close.c (_dl_close_worker): Add comments.
33733 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33735         [BZ #15359]
33736         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33737         high part of pi/2.
33738         (__ieee754_rem_pio2l): Update comments.
33740         [BZ #15429]
33741         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33742         high part of pi/2.
33743         (__ieee754_rem_pio2l): Update comments.
33745         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33746         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33748         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33749         M_PI_4l.
33751         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33752         (M_PI_34_LOG10El): Likewise.
33753         (M_PI2_LOG10El): Likewise.
33754         (M_PI4_LOG10El): Likewise.
33755         (M_PI_LOG10El): Likewise.
33757 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33761 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33763         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33764         (MINUS_ZERO_INIT): Likewise.
33765         (PLUS_INFTY_INIT): Likewise.
33766         (MINUS_INFTY_INIT): Likewise.
33767         (QNAN_VALUE_INIT): Likewise.
33768         (MAX_VALUE_INIT): Likewise.
33769         (MIN_VALUE_INIT): Likewise.
33770         (MIN_SUBNORM_VALUE_INIT): Likewise.
33771         (plus_zero): Initialize with PLUS_ZERO_INIT.
33772         (minus_zero): Initialize with MINUS_ZERO_INIT.
33773         (plus_infty): Initialize with PLUS_INFTY_INIT.
33774         (minus_infty): Initialize with MINUS_INFTY_INIT.
33775         (qnan_value): Initialize with QNAN_VALUE_INIT.
33776         (max_value): Initialize with MAX_VALUE_INIT.
33777         (min_value): Initialize with MIN_VALUE_INIT.
33778         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33780         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33781         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33782         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33783         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33785         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33786         (RUN_TEST_2_f): Likewise.
33787         (RUN_TEST_ff_f): Likewise.
33788         (RUN_TEST_fi_f): Likewise.
33789         (RUN_TEST_fl_f): Likewise.
33790         (RUN_TEST_fff_f): Likewise.
33791         (RUN_TEST_c_f): Likewise.
33792         (RUN_TEST_f_f1): Likewise.
33793         (RUN_TEST_fF_f1): Likewise.
33794         (RUN_TEST_fI_f1): Likewise.
33795         (RUN_TEST_ffI_f1): Likewise.
33796         (RUN_TEST_c_c): Likewise.
33797         (RUN_TEST_cc_c): Likewise.
33798         (RUN_TEST_f_i): Likewise.
33799         (RUN_TEST_f_i_tg): Likewise.
33800         (RUN_TEST_ff_i_tg): Likewise.
33801         (RUN_TEST_f_b): Likewise.
33802         (RUN_TEST_f_b_tg): Likewise.
33803         (RUN_TEST_f_l): Likewise.
33804         (RUN_TEST_f_L): Likewise.
33805         (RUN_TEST_sincos): Likewise.
33806         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33807         whether to show exceptions.  Do not include ");\n" in return
33808         value.
33809         (special_functions): Output call to RUN_TEST_sincos instead of
33810         check_float calls.  Update calls to new_test.
33811         (parse_args): Output call to single RUN_TEST_* macro instead of
33812         check_* calls and other assignments.  Update calls to new_test.
33814         [BZ #2546]
33815         [BZ #2560]
33816         [BZ #5159]
33817         [BZ #15426]
33818         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33819         input to result for tgamma overflow.
33820         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33821         (gamma_coeff): New variable.
33822         (NCOEFF): New macro.
33823         (gamma_positive): New function.
33824         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33825         underflow here.  Use gamma_positive instead of exp (lgamma) for
33826         other arguments.
33827         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33828         (gamma_coeff): New variable.
33829         (NCOEFF): New macro.
33830         (gammaf_positive): New function.
33831         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33832         underflow here.  Use gamma_positive instead of exp (lgamma) for
33833         other arguments.
33834         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33835         (gamma_coeff): New variable.
33836         (NCOEFF): New macro.
33837         (gammal_positive): New function.
33838         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33839         underflow here.  Use gamma_positive instead of exp (lgamma) for
33840         other arguments.
33841         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33842         (gamma_coeff): New variable.
33843         (NCOEFF): New macro.
33844         (gammal_positive): New function.
33845         (__ieee754_gammal_r): Handle positive infinity, overflow and
33846         underflow here.  Handle NaN the same as positive infinity.  Remove
33847         check x < 0xffffffff for negative integers.  Use gamma_positive
33848         instead of exp (lgamma) for other arguments.
33849         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33850         (gamma_coeff): New variable.
33851         (NCOEFF): New macro.
33852         (gammal_positive): New function.
33853         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33854         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33855         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33856         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33857         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33858         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33859         * sysdeps/generic/math_private.h (__gamma_productf): New
33860         prototype.
33861         (__gamma_product): Likewise.
33862         (__gamma_productl): Likewise.
33863         * math/Makefile (libm-calls): Add gamma_product.
33864         * math/libm-test.inc (tgamma_test): Add more tests.
33865         * sysdeps/i386/fpu/libm-test-ulps: Update.
33866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33868 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33870         * benchtests/bench-skeleton.c (main): Preheat CPU.
33872 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33874         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33876 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33878         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33879         and _dl_skip_args_internal.
33881 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33883         * manual/message.texi (Message Translation): Talk about users.
33884         Message to key mapping impacts design.
33886 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33888         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33890         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33892         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33893         * sysdeps/wordsize-64/glob64.c: ... here.
33895         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33896         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33897         New macros.
33899         * debug/getlogin_r_chk.c: Moved to ...
33900         * login/getlogin_r_chk.c: ... here.
33901         * debug/Makefile (routines): Move getlogin_r_chk to ...
33902         * login/Makefile (routines): ... here.
33903         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33904         * login/Versions (libc: GLIBC_2.4): ... here.
33906         * io/poll.c (__poll): Renamed from poll.
33907         Add libc_hidden_def.
33908         (poll): Define as weak alias.
33910         * debug/ptsname_r_chk.c: Moved to ...
33911         * login/ptsname_r_chk.c: ... here.
33912         * debug/Makefile (routines): Move ptsname_r_chk to ...
33913         * login/Makefile (routines): ... here.
33914         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33915         * login/Versions (libc: GLIBC_2.4): ... here.
33917         * posix/getlogin.c: Moved to ...
33918         * login/getlogin.c: ... here.
33919         * posix/getlogin_r.c: Moved to ...
33920         * login/getlogin_r.c: ... here.
33921         * posix/getlogin_r.c: Moved to ...
33922         * login/getlogin_r.c: ... here.
33923         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33924         * login/Makefile (routines): ... here.
33925         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33926         * login/Versions (libc: GLIBC_2.0): ... here.
33928         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33929         (setrlimit): Define as weak alias.
33931         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33932         Call __ names for open, ftruncate, and close.
33933         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33934         (truncate): Define as weak alias.
33936 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33938         * math/gen-libm-test.pl (parse_args): Initialize x before each
33939         test of frexp, modf and remquo.
33941         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33942         test signgam value.
33944 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33946         [BZ #15418]
33947         [BZ #15419]
33948         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33949         internal tests.
33950         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33952 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33954         * elf/dl-writev.h: New file.
33955         * elf/dl-misc.c: Include it.
33956         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33957         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33959 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33961         * math/libm-test.inc (noXFails): Remove variable.
33962         (noXPasses): Likewise.
33963         (BUILD_COMPLEX_INT): Remove macro.
33964         (print_screen): Remove xfail argument.
33965         (print_screen_max_error): Likewise.
33966         (update_stats): Likewise.
33967         (print_max_error): Likewise.  Update calls to other affected
33968         functions.
33969         (print_complex_max_error): Likewise.
33970         (test_single_exception): Update calls to print_screen.
33971         (test_single_errno): Likewise.
33972         (check_float_internal): Remove xfail argument.  Update calls to
33973         other affected functions.
33974         (check_float): Likewise.
33975         (check_complex): Likewise.
33976         (check_int): Likewise.
33977         (check_long): Likewise.
33978         (check_bool): Likewise.
33979         (check_longlong): Likewise.
33980         (main): Don't print noXFails and noXPasses.
33981         * math/gen-libm-test.pl (top level): Don't mention expected
33982         failure handling in comment.
33983         (new_test): Don't handle expected failures.
33984         (parse_args): Don't mention expected failure handling in comment.
33985         (generate_testfile): Don't handle expected failures.
33986         (parse_ulps): Likewise.
33987         (print_ulps_file): Likewise.
33988         (get_failure): Remove function.
33989         (output_test): Don't handle expected failures.
33990         * make/README.libm-test: Don't mention expected failure handling.
33992         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33993         (minus_zero): Likewise.
33994         (plus_infty): Likewise.
33995         (minus_infty): Likewise.
33996         (qnan_value): Likewise.
33997         (max_value): Likewise.
33998         (min_value): Likewise.
33999         (min_subnorm_value): Likewise.
34000         (initialize): Do not initialize those variables dynamically.
34002 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34004         * io/open.c (__open_2): Moved to ...
34005         * io/open_2.c: ... this new file.
34006         * io/open64.c (__open64_2): Moved to ...
34007         * io/open64_2.c: ... this new file.
34008         * io/openat.c (__openat_2): Moved to ...
34009         * io/openat_2.c: ... this new file.
34010         * io/openat64.c (__openat64_2): Moved to ...
34011         * io/openat64_2.c: ... this new file.
34012         * io/Makefile (routines): Add them.
34013         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34014         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34015         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34016         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34017         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34018         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34019         (__openat64): Add hidden_ver.
34020         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34021         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34023         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34024         Separately conditionalize setting of GLRO(dl_sysinfo) so
34025         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34026         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34028 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34030         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34032         definition.
34033         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34034         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34035         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34036         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34037         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34039 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34041         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34042         test signgam value.
34044         * math/libm-test.inc (hypot_test): Do not use
34045         IGNORE_ZERO_INF_SIGN.
34047 2013-05-03  Andreas Jaeger  <aj@suse.de>
34049         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34050         Linux 3.9.
34051         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34052         (PF_MAX): Adjust for VSOCK change.
34054 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34058 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34060         [BZ #15264]
34061         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34062         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34063         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34065 2013-05-02  David S. Miller  <davem@davemloft.net>
34067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34069 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34071         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34073 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34075         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34077 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34079         [BZ #14952]
34080         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34081         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34082         Use __attribute__ ((__gnu_inline__)).
34083         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34084         Don't use __attribute__ ((__gnu_inline__)).
34086 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34088         [BZ #15423]
34089         * math/s_catan.c (__catan): Handle small real or imaginary part of
34090         input specially to avoid spurious underflow.
34091         * math/s_catanf.c (__catanf): Likewise.
34092         * math/s_catanh.c (__catanh): Likewise.
34093         * math/s_catanhf.c (__catanhf): Likewise.
34094         * math/s_catanhl.c (__catanhl): Likewise.
34095         * math/s_catanl.c (__catanl): Likewise.
34096         * math/libm-test.inc (catan_test): Add more tests.
34097         (catanh_test): Likewise.
34098         * sysdeps/i386/fpu/libm-test-ulps: Update.
34099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34101 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34105 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34107         [BZ #15416]
34108         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34109         accurately for denominator in atan2.
34110         * math/s_catanf.c (__catanf): Likewise.
34111         * math/s_catanh.c (__catanh): Likewise.
34112         * math/s_catanhf.c (__catanhf): Likewise.
34113         * math/s_catanhl.c (__catanhl): Likewise.
34114         * math/s_catanl.c (__catanl): Likewise.
34115         * math/libm-test.inc (catan_test): Add more tests.
34116         (catanh_test): Likewise.
34117         * sysdeps/i386/fpu/libm-test-ulps: Update.
34118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34120 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34122         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34124         * benchtests/Makefile (bench): Remove slow benchmarks.
34125         * benchtests/atan-inputs: Add slow benchmark inputs.
34126         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34127         (BENCH_FUNC): Accept variant offset.
34128         (VARIANT): Define.
34129         * benchtests/bench-skeleton.c (main): Run benchmark for each
34130         variant.
34131         * benchtests/cos-inputs: Add slow benchmark inputs.
34132         * benchtests/exp-inputs: Likewise.
34133         * benchtests/pow-inputs: Likewise.
34134         * benchtests/sin-inputs: Likewise.
34135         * benchtests/slowatan-inputs: Remove.
34136         * benchtests/slowatan.c: Remove.
34137         * benchtests/slowcos-inputs: Remove.
34138         * benchtests/slowcos.c: Remove.
34139         * benchtests/slowexp-inputs: Remove.
34140         * benchtests/slowexp.c: Remove.
34141         * benchtests/slowpow-inputs: Remove.
34142         * benchtests/slowpow.c: Remove.
34143         * benchtests/slowsin-inputs: Remove.
34144         * benchtests/slowsin.c: Remove.
34145         * benchtests/slowtan-inputs: Remove.
34146         * benchtests/slowtan.c: Remove.
34147         * benchtests/tan-inputs: Add slow benchmark inputs.
34148         * scripts/bench.pl: Parse comments and directives.
34150         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34151         in CPPFLAGS.
34152         ($(objpfx)bench-%.c): Remove *-ITER.
34153         * benchtests/bench-modf.c: Remove definition of ITER.
34154         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34155         (main): Loop for DURATION seconds instead of fixed number of
34156         iterations.
34157         * scripts/bench.pl: Don't expect iterations in parameters.
34159 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34161         * io/fchdir.c (__fchdir): Renamed from fchdir.
34162         (fchdir): Define as weak alias.
34164 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34166         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34167         (ERRNO_EDOM): Likewise.
34168         (ERRNO_ERANGE): Likewise.
34169         (noErrnoTests): New variable.
34170         (init_max_error): Set errno to 0.
34171         (test_single_errno): New function.
34172         (test_errno): Likewise.
34173         (check_float_internal): Call test_errno.  Set errno to 0.
34174         (check_complex): Refer to errno tests in comment.
34175         (check_int): Call test_errno.  Set errno to 0.
34176         (check_long): Likewise.
34177         (check_bool): Likewise.
34178         (check_longlong): Likewise.
34179         (cos_test): Use ERRNO_* flags for errno tests instead of
34180         check_int.
34181         (expm1_test): Likewise.
34182         (fmod_test): Likewise.
34183         (ilogb_test): Likewise.
34184         (lgamma_test): Likewise.
34185         (pow_test): Likewise.
34186         (remainder_test): Likewise.
34187         (sin_test): Likewise.
34188         (tan_test): Likewise.
34189         (yn_test): Likewise.
34190         (initialize): Set errno to 0.
34191         (main): Print number of errno tests.
34192         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34194 2013-04-29  Andreas Jaeger  <aj@suse.de>
34196         [BZ #15084]
34197         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34198         and RES_USEVC.
34200         [BZ #15085]
34201         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34202         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34203         unimplemented.
34205         [BZ #15380]
34206         * stdlib/random.c (__initstate): Return NULL if
34207         __initstate fails.
34209         [BZ #15086]
34210         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34211         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34212         RES_SNGLKUPREOP.
34214 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34218 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34220         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34221         of individual tests.
34222         (casin_test): Likewise.
34223         (casinh_test): Likewise.
34225 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34227         [BZ #15409]
34228         * math/s_catan.c (__catan): Handle arguments with large real or
34229         imaginary part separately without squaring.
34230         * math/s_catanf.c (__catanf): Likewise.
34231         * math/s_catanh.c (__catanh): Likewise.
34232         * math/s_catanhf.c (__catanhf): Likewise.
34233         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34234         and redefine.
34235         (__catanhl): Handle arguments with large real or imaginary part
34236         separately without squaring.
34237         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34238         and redefine.
34239         (__catanl): Handle arguments with large real or imaginary part
34240         separately without squaring.
34241         * math/libm-test.inc (catan_test): Add more tests.
34242         (catanh_test): Likewise.
34243         * sysdeps/i386/fpu/libm-test-ulps: Update.
34244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34246 2013-04-27  Andreas Jaeger  <aj@suse.de>
34248         [BZ #15007]
34249         * stdlib/stdlib.h: Update guards for qecvt.
34250         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34251         <stdlib.h>.
34253 2013-04-27  Allan McRae  <allan@archlinux.org>
34255         * sysdeps/i386/fpu/libm-test-ulps: Update.
34257 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34259         [BZ #15406]
34260         * math/s_catan.c: Include <float.h>.
34261         (__catan): Ensure underflow exception occurs for underflowed
34262         result.
34263         * math/s_catanf.c: Include <float.h>.
34264         (__catanf): Ensure underflow exception occurs for underflowed
34265         result.
34266         * math/s_catanh.c: Include <float.h>.
34267         (__catanh): Ensure underflow exception occurs for underflowed
34268         result.
34269         * math/s_catanhf.c: Include <float.h>.
34270         (__catanhf): Ensure underflow exception occurs for underflowed
34271         result.
34272         * math/s_catanhl.c: Include <float.h>.
34273         (__catanhl): Ensure underflow exception occurs for underflowed
34274         result.
34275         * math/s_catanl.c: Include <float.h>.
34276         (__catanl): Ensure underflow exception occurs for underflowed
34277         result.
34278         * math/libm-test.inc (catan_test): Add more tests.
34279         (catanh_test): Likewise.
34281         [BZ #15405]
34282         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34283         underflowed result.
34284         * math/s_ccoshf.c (__ccoshf): Likewise.
34285         * math/s_ccoshl.c (__ccoshl): Likewise.
34286         * math/s_csin.c (__csin): Likewise.
34287         * math/s_csinf.c (__csinf): Likewise.
34288         * math/s_csinh.c (__csinh): Likewise.
34289         * math/s_csinhf.c (__csinhf): Likewise.
34290         * math/s_csinhl.c (__csinhl): Likewise.
34291         * math/s_csinl.c (__csinl): Likewise.
34292         * math/libm-test.inc (ccos_test): Add more tests.
34293         (ccosh_test): Likewise.
34294         (csin_test): Likewise.
34295         (csinh_test): Likewise.
34297 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34299         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34300         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34301         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34302         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34303         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34304         powerpc/power5+/fpu folders.
34305         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34308 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34312 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34314         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34315         additions to variable.
34316         [$(config-machine) = x86_64] (modules-names): Likewise.
34317         ($(objpfx)tst-audit3): Remove dependency.
34318         ($(objpfx)tst-audit3.out): Likewise.
34319         ($(objpfx)tst-audit4): Likewise.
34320         ($(objpfx)tst-audit4.out): Likewise.
34321         ($(objpfx)tst-audit5): Likewise.
34322         ($(objpfx)tst-audit5.out): Likewise.
34323         ($(objpfx)tst-audit6): Likewise.
34324         ($(objpfx)tst-audit6.out): Likewise.
34325         ($(objpfx)tst-audit7): Likewise.
34326         ($(objpfx)tst-audit7.out): Likewise.
34327         (tst-audit3-ENV): Remove variable.
34328         (tst-audit4-ENV): Likewise.
34329         (tst-audit5-ENV): Likewise.
34330         (tst-audit6-ENV): Likewise.
34331         (tst-audit7-ENV): Likewise.
34332         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34333         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34334         addition to variable.
34335         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34336         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34337         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34338         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34339         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34340         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34341         tst-audit3, tst-audit4 and tst-audit5.
34342         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34343         tst-audit6 and tst-audit7.
34344         [$(subdir) = elf] (modules-names): Add audit modules for those
34345         tests.
34346         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34347         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34348         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34349         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34350         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34351         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34352         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34353         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34354         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34355         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34356         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34357         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34358         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34359         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34360         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34361         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34362         Likewise.
34363         [$(subdir) = elf && $(config-cflags-avx) = yes]
34364         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34365         [$(subdir) = elf && $(config-cflags-avx) = yes]
34366         (CFLAGS-tst-auditmod4a.c): Likewise.
34367         [$(subdir) = elf && $(config-cflags-avx) = yes]
34368         (CFLAGS-tst-auditmod4b.c): Likewise.
34369         [$(subdir) = elf && $(config-cflags-avx) = yes]
34370         (CFLAGS-tst-auditmod6b.c): Likewise.
34371         [$(subdir) = elf && $(config-cflags-avx) = yes]
34372         (CFLAGS-tst-auditmod6c.c): Likewise.
34373         [$(subdir) = elf && $(config-cflags-avx) = yes]
34374         (CFLAGS-tst-auditmod7b.c): Likewise.
34375         * elf/tst-audit3.c: Move to ...
34376         * sysdeps/x86_64/tst-audit3.c: ... here.
34377         * elf/tst-audit4.c: Move to ...
34378         * sysdeps/x86_64/tst-audit4.c: ... here.
34379         * elf/tst-audit5.c: Move to ...
34380         * sysdeps/x86_64/tst-audit5.c: ... here.
34381         * elf/tst-audit6.c: Move to ...
34382         * sysdeps/x86_64/tst-audit6.c: ... here.
34383         * elf/tst-audit7.c: Move to ...
34384         * sysdeps/x86_64/tst-audit7.c: ... here.
34385         * elf/tst-auditmod3a.c: Move to ...
34386         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34387         * elf/tst-auditmod3b.c: Move to ...
34388         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34389         * elf/tst-auditmod4a.c: Move to ...
34390         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34391         * elf/tst-auditmod4b.c: Move to ...
34392         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34393         * elf/tst-auditmod5a.c: Move to ...
34394         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34395         * elf/tst-auditmod5b.c: Move to ...
34396         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34397         * elf/tst-auditmod6a.c: Move to ...
34398         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34399         * elf/tst-auditmod6b.c: Move to ...
34400         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34401         * elf/tst-auditmod6c.c: Move to ...
34402         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34403         * elf/tst-auditmod7a.c: Move to ...
34404         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34405         * elf/tst-auditmod7b.c: Move to ...
34406         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34408 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34410         [BZ #15366]
34411         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34412         define unconditionally.
34413         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34414         define unconditionally.
34415         (INT8_C, INT16_C, etc.): Likewise.
34417 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34419         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34420         __ehdr_start with hidden visibility.
34422         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34424 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34426         * math/libm-test.inc (cos_test): Use accurate hex constants.
34427         (sincost_test): Likewise.
34429 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34431         * math/libm-test.inc (catan_test): Add more tests.
34432         (catanh_test): Likewise.
34434         * math/s_catanf.c (__catanf): Use suffixed floating-point
34435         constants.
34436         * math/s_catanhf.c (__catanhf): Likewise.
34437         * math/s_catanhl.c (__catanhl): Likewise.
34438         * math/s_catanl.c (__catanl): Likewise.
34440         [BZ #15394]
34441         * math/s_catan.c (__catan): Calculate imaginary part of result
34442         with log1p not log unless computing log of number close to 0.
34443         * math/s_catanf.c (__catanf): Likewise.
34444         * math/s_catanl.c (__catanl): Likewise.
34445         * math/s_catanh.c (__catanh): Calculate real part of result with
34446         log1p not log unless computing log of number close to 0.
34447         * math/s_catanhf.c (__catanhf): Likewise.
34448         * math/s_catanhl.c (__catanhl): Likewise.
34449         * math/libm-test.inc (catan_test): Add more tests.
34450         (catanh_test): Likewise.
34451         * sysdeps/i386/fpu/libm-test-ulps: Update.
34452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34454 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34456         * benchtests/Makefile: Mention files in which fast and slow
34457         paths of math functions are implemented.
34459 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34461         * sysdeps/posix/timespec_get.c: New file.
34463 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34465         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34466         POWER.
34467         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34468         for POWER.
34469         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34470         powerpc/power5/fpu folders.
34471         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34472         * benchtests/Makefile: Add modf testcase.
34473         * benchtests/bench-modf.c: New file: Benchmark test for mo
34475 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34477         [BZ #14888]
34478         * time/Makefile (tests): Add tst-strptime-whitespace.
34479         * time/strptime_l.c (get_number): Use ISSPACE.
34480         (__strptime_internal): Likewise.
34481         * time/tst-strptime-whitespace.c: New test case.
34483 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34485         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34486         member.
34487         (_nss_files_init): Set it here.
34489 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34491         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34492         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34493         unsigned.
34495 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34497         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34499 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34502         size just once.
34504 2013-04-21  David S. Miller  <davem@davemloft.net>
34506         * po/ru.po: Update Russion translation from translation project.
34508 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34510         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34511         and setfsgid.
34513 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34515         * configure.in: Remove i386 configure warning. Remove i386 case.
34516         * configure: Regenerate.
34517         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34518         Add example to error message.
34519         * sysdeps/i386/configure: Regenerate.
34521 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34523         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34524         slowtan.
34525         * benchtests/cos-inputs: New file.
34526         * benchtests/slowcos-inputs: New file.
34527         * benchtests/slowcos.c: New file.
34528         * benchtests/slowtan-inputs: New file.
34529         * benchtests/slowtan.c: New file.
34530         * benchtests/tan-inputs: New file.
34532 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34534         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34535         considered kosher.
34537 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34539         * benchtests/Makefile: Include cppflags-iterator.mk to add
34540         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34542         * Makefile.in (bench-clean): New target.
34543         * benchtests/Makefile (bench-clean): Likewise.
34545 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34547         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34549 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34551         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34553 2013-04-15  Andreas Schwab  <schwab@suse.de>
34555         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34556         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34557         * nscd/pwdcache.c (cache_addpw): Likewise.
34558         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34559         more than recsize.
34561 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34563         * benchtests/Makefile (bench): Write all output to
34564         bench-out.tmp together.
34566 2013-04-15  Andreas Schwab  <schwab@suse.de>
34568         * nscd/nscd.c (main): Don't fork again after closing files.
34570 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34572         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34574         * benchtests/Rules (bench-deps): Collect dependencies into a
34575         single variable.  Add Makefile to dependencies.
34576         ($(objpfx)bench-%.c): Depend on bench-deps.
34578 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34579             Xavier Roche  <roche+kml2@exalead.com>
34581         [BZ #15361]
34582         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34583         just that it's a file descriptor.
34584         * manual/llio.texi (Synchronizing AIO Operations): Update description
34585         for EBADF error from aio_fsync.
34587 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34589         * Rules (bench): Move target definition...
34590         * benchtests/Makefile: ... here.
34592 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34594         * math/libm-test.inc (cos_test): Fix PI/2 test.
34595         (sincos_test): Likewise.
34596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34597         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34599 2013-04-11  Andreas Schwab  <schwab@suse.de>
34601         [BZ #13988]
34602         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34603         accept exponent character only when digits were seen.
34604         * stdio-common/Makefile (tests): Add bug26.
34605         * stdio-common/bug26.c: New file.
34607         [BZ #14293]
34608         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34609         non-freeable.
34611 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34613         * Makeconfig (rtld-prefix): Define built linker prefix.
34614         * Rules (run-bench): Use it.
34615         * math/Makefile (run-regen-ulps): Likewise.
34617         * Rules (bench): Remove eval.
34619 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34620             Roland McGrath  <roland@hack.frob.com>
34621             Ondrej Bilka  <neleai@seznam.cz>
34623         [BZ #15346]
34624         * time/getdate.c: Include ctype.h and alloca.h.
34625         (__getdate_r): Trim leading and trailing spaces of input.
34626         * time/tst-getdate.c (tests): Add tests with leading and
34627         trailing spaces.
34629 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34631         [BZ #14280]
34632         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34633         when computing value.
34635 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34637         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34638         Use testrun.sh to run libm tests.
34640         [BZ #15309]
34641         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34643 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34645         [BZ #15264]
34646         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34648 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34650         * Makefile.in (regen-ulps): New target.
34651         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34652         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34653         [ifneq (no,$(PERL)] (regen-ulps): New target.
34654         [ifeq (no,$(PERL)] (regen-ulps): New target.
34655         * math/libm-test.inc (ulps_file_name): Define.
34656         (output_dir): New variable.
34657         (options): Add "output-dir" option.
34658         (parse_opt): Handle 'o' case.
34659         (main): If output_dir is non-NULL use it as a prefix
34660         otherwise use "".
34661         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34663 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34665         [BZ #10060, #10062]
34666         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34667         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34668         fail configure if __sync_val_compare_and_swap is not inlined.
34669         * sysdeps/i386/configure: Regenerate.
34670         * configure.in: Build for i686 when configured for i386.
34671         * configure: Regenerate.
34672         * README: Remove i386 reference.
34674 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34676         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34679 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34681         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34682         (lmsnanval): New variables.
34683         (F): Add conversion tests.
34684         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34685         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34687         * stdio-common/tstdiomisc.c (F): Properly collect individual
34688         tests' results.
34690         [BZ #14686, #15336]
34691         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34692         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34693         Instead, use input NaN values or generate a qNaN by arithmetic
34694         operation.  Also fix bugs to comply with the standard.
34695         * math/libm-test.inc (remainder_test): Add more tests.
34697         [BZ #15335, #15342]
34698         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34699         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34700         input NaN values or generate a qNaN by arithmetic operation.
34702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34703         unreachable code.
34705         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34706         definitions.
34708 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34710         [BZ #14478]
34711         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34712         underflowed result.
34713         * math/s_cexpf.c (__cexpf): Likewise.
34714         * math/s_cexpl.c (__cexpl): Likewise.
34715         * math/libm-test.inc (cexp_test): Add more tests.
34717 2013-04-03  Andreas Schwab  <schwab@suse.de>
34719         [BZ #15330]
34720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34721         order arrays from heap if bigger than alloca cutoff.
34723 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34725         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34726         (SNAN_TESTS_double): Refer to GCC PR56831.
34727         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34728         GCC PR56828.
34730 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34732         * Rules (bench): Move bench.out after the run is complete.
34734         * Rules (bench): Echo currently running benchmark.
34736         * benchtests/Makefile (bench): Add atan and slowatan.
34737         * benchtests/atan-inputs: New file.
34738         * benchtests/slowatan-inputs: New file.
34739         * benchtests/slowatan.c: New file.
34741         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34742         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34743         its value.
34745         [BZ #15305]
34746         * sysdeps/unix/sysv/linux/kernel-features.h
34747         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34748         __ASSUME_XFS_RESTRICTED_CHOWN.
34749         * sysdeps/unix/sysv/linux/pathconf.c
34750         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34751         Save and restore errno.
34753 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34755         [BZ #15327]
34756         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34757         arguments using __kernel_casinh.
34758         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34759         arguments using __kernel_casinhf.
34760         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34761         arguments using __kernel_casinhl.
34762         * math/libm-test.inc (cacosh_test): Add more tests.
34763         * sysdeps/i386/fpu/libm-test-ulps: Update.
34764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34766 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34768         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34771         * bench/Makefile (bench): Add sin and slowsin.
34772         * benchtests/sin-inputs: New file.
34773         * benchtests/slowsin-inputs: New file.
34774         * benchtests/slowsin.c: New file.
34776         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34777         (bench): Add slowexp and slowpow.
34778         (exp-ITER): Increase iterations.
34779         (pow-ITER): Likewise.
34780         * benchtests/exp-inputs: Change input.
34781         * benchtests/pow-inputs: Likewise.
34782         * benchtests/slowexp-inputs: New file.
34783         * benchtests/slowexp.c: New file.
34784         * benchtests/slowpow-inputs: New file.
34785         * benchtests/slowpow.c: New file.
34787 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34789         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34790         instructions.
34791         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34792         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34793         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34794         * benchtests/Makefile: Add rint benchtest.
34795         * benchtests/rint-inputs: Input for rint benchtest.
34797 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34799         * Versions.def (libm): Add GLIBC_2.18.
34800         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34801         hidden libm prototypes.
34802         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34803         * math/Makefile (libm-calls): Add s_issignaling.
34804         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34805         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34806         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34807         declaration.
34808         * math/math.h [__USE_GNU] (issignaling): New macro.
34809         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34810         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34811         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34812         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34813         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34814         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34815         * manual/arith.texi (issignaling): New section.
34816         * manual/libm-err-tab.pl (@all_functions): Update comment.
34817         * math/gen-libm-test.pl (parse_args): Apply special handling for
34818         issignaling.
34819         * math/libm-test.inc (print_float, issignaling_test): New
34820         functions.
34821         (check_float_internal): Add issignaling checks.
34822         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34823         default definition.
34824         * sysdeps/powerpc/math-tests.h: New file.
34825         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34826         tests.
34827         * math/test-snan.c (TEST_FUNC): Likewise.
34829 2013-03-30  David S. Miller  <davem@davemloft.net>
34831         * po/de.po: Update from translation team.
34833 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34835         [BZ #10357]
34836         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34837         imaginary part less than 1.0 and real part less than 0.5
34838         specially.
34839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34841         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34842         (cacos_test): Add more tests.
34843         (casin_test): Likewise.
34844         (casinh_test): Likewise.
34845         * sysdeps/i386/fpu/libm-test-ulps: Update.
34846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34848 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34850         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34851         ONE with its value.
34853         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34854         (__pow_mp): Replace ONE and MONE with their values.
34855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34857         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34858         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34859         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34860         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34862         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34864         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34865         (__pow_mp): Replace ZERO and MZERO with their values.
34866         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34867         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34868         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34870         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34871         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34872         (__sqr): Likewise.
34874         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34876         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34878 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34880         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34881         Declare with __attribute__ ((weak)).
34882         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34883         Call __call_tls_dtors only if it's not NULL.
34885 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34887         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34888         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34889         magic __ehdr_start linker symbol if it's defined.
34890         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34891         them up here if it was already done.
34893         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34894         (_dl_aux_init): Use const in cast when setting it.
34895         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34896         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34897         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34899         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34900         Declare them here.
34901         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34902         * csu/libc-tls.c: Nor here.
34903         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34905         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34906         (__libc_message): Never call vsyslog.
34908 2013-03-28  Alan Modra  <amodra@gmail.com>
34910         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34911         Define as empty.
34912         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34913         Likewise.
34915 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34917         [BZ #15214]
34918         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34919         underflow.
34920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34922 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34924         [BZ #15304]
34925         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34926         Don't add gid passed as argument.
34928         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34930 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34932         [BZ #15307]
34933         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34934         imaginary part between 1.0 and 1.5 and real part less than 0.5
34935         specially.
34936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34938         * math/libm-test.inc (cacos_test): Add more tests.
34939         (casin_test): Likewise.
34940         (casinh_test): Likewise.
34941         * sysdeps/i386/fpu/libm-test-ulps: Update.
34942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34944 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34946         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34947         constants.
34948         (norm): Likewise.
34949         (denorm): Likewise.
34950         (__dbl_mp): Likewise.
34951         (add_magnitudes): Likewise.
34952         (sub_magnitudes): Likewise.
34953         (__add): Likewise.
34954         (__sub): Likewise.
34955         (__mul): Likewise.
34956         (__sqr): Likewise.
34957         (__inv): Likewise.
34958         (__dvd): Likewise.
34960         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34961         commented code.
34962         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34963         (__dubcos): Likewise.
34964         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34965         (__ieee754_acos): Likewise.
34966         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34967         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34968         (__exp1): Likewise.
34969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34971         (log1): Likewise.
34972         (my_log2): Likewise.
34973         (checkint): Likewise.
34974         * sysdeps/ieee754/dbl-64/e_remainder.c
34975         (__ieee754_remainder): Likewise.
34976         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34978         (bsloww): Likewise.
34979         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34981         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34982         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34983         MANTISSA_STORE_T to store computations on mantissa.  Use
34984         macros for rounding and division.
34985         (denorm): Likewise.
34986         (__dbl_mp): Likewise.
34987         (add_magnitudes): Likewise.
34988         (sub_magnitudes): Likewise.
34989         (__mul): Likewise.
34990         (__sqr): Likewise.
34991         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34992         powers of two in terms of TWOPOW macro.
34993         (mp_no): Make type of mantissa as MANTISSA_T.
34994         [!RADIXI]: Define RADIXI.
34995         [!TWO52]: Define TWO52.
34996         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34998 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35000         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35001         llroundl symbol when building for PPC32.
35003 2013-03-24  Mark H Weaver  <mhw@netris.org>
35005         * manual/arith.texi (Normalization Functions): Fix prototypes for
35006         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35008 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35010         [BZ #13889]
35011         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35012         high value to check if expl overflow.
35013         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35014         to check for underflow and overflow.
35015         * math/libm-test.inc: Add exp test.
35017 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35019         [BZ #11120]
35020         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35021         with NOT_IN_libc.
35023 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35025         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35026         symbol.
35028 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35030         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35031         wrap blocks consisting of several statements.
35033         * sysdeps/generic/math-tests.h: New file.
35034         * sysdeps/i386/fpu/math-tests.h: Likewise.
35035         * math/test-snan.c: Include it.
35036         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35038 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35040         [BZ #15285]
35041         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35042         (__ieee754_j0l): Do not improve calculations using cos of twice
35043         input for inputs above LDBL_MAX / 2.0L.
35044         (__ieee754_y0l): Likewise.
35045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35046         (__ieee754_j1l): Do not improve calculations using cos of twice
35047         input for inputs above LDBL_MAX / 2.0L.
35048         (__ieee754_y1l): Likewise.
35049         * math/libm-test.inc (j0_test): Add another test.
35050         (j1_test): Likewise.
35051         (y0_test): Likewise.
35052         (y1_test): Likewise.
35053         * sysdeps/i386/fpu/libm-test-ulps: Update.
35055 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35057         * Rules ($(objpfx)bench-%.c): Include code from a C source
35058         file.
35060 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35062         [BZ #15287]
35063         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35064         imaginary part 1.0 and real part less than 0.5 specially.
35065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35067         * math/libm-test.inc (cacos_test): Add more tests.
35068         (casin_test): Likewise.
35069         (casinh_test): Likewise.
35070         * sysdeps/i386/fpu/libm-test-ulps: Update.
35071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35073 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35075         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35076         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35078 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35080         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35081         * config.make.in (config-cflags-sse4): Remove variable.
35082         (config-cflags-avx): Likewise.
35083         (config-cflags-sse2avx): Likewise.
35084         (config-cflags-novzeroupper): Likewise.
35085         (config-asflags-i686): Likewise.
35086         (have-mfma4): Likewise.
35087         (have-as-vis3): Likewise.
35088         (MIG): Likewise.
35089         * configure.in (MIG): Do not AC_SUBST.
35090         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35091         (libc_cv_cc_sse4): Do not AC_SUBST.
35092         (libc_cv_cc_avx): Likewise.
35093         (libc_cv_cc_sse2avx): Likewise.
35094         (libc_cv_cc_novzeroupper): Likewise.
35095         (libc_cv_cc_fma4): Likewise.
35096         (libc_cv_as_i686): Likewise.
35097         (libc_cv_sparc_as_vis3): Likewise.
35098         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35099         LIBC_CONFIG_VAR.
35100         (config-asflags-i686): Likewise.
35101         (config-cflags-avx): Likewise.
35102         (config-cflags-sse2avx): Likewise.
35103         (have-mfma4): Likewise.
35104         (config-cflags-novzeroupper): Likewise.
35105         * sysdeps/mach/configure.in (MIG): Likewise.
35106         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35107         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35108         LIBC_CONFIG_VAR.
35109         (config-cflags-avx): Likewise.
35110         (config-cflags-sse2avx): Likewise.
35111         (have-mfma4): Likewise.
35112         (config-cflags-novzeroupper): Likewise.
35113         * configure: Regenerated.
35114         * sysdeps/i386/configure: Likewise.
35115         * sysdeps/mach/configure: Likewise.
35116         * sysdeps/sparc/configure: Likewise.
35117         * sysdeps/x86_64/configure: Likewise.
35119 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35121         [BZ #14812]
35122         * locale/programs/localedef.c (options): Put N_ translation marker
35123         on argument names, not just descriptions.
35125 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35127         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35129 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35131         [BZ #14176]
35132         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35134 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35136         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35137         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35138         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35139         [!BEFORE_ABORT] (before_abort): New function.
35140         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35141         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35142         (writev_for_fatal): New function.
35143         (WRITEV_FOR_FATAL): New macro; call that.
35144         (backtrace_and_maps): New function.
35145         (BEFORE_ABORT): New macro; call that.
35146         (struct str_list): Type removed.
35147         (__libc_message, __libc_fatal): Functions removed.
35148         Include <sysdeps/posix/libc_fatal.c> instead.
35150 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35152         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35153         constants.
35154         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35155         double constants.
35157 2013-03-19  Andreas Schwab  <schwab@suse.de>
35159         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35160         * sysdeps/gnu/configure: Regenerate.
35162         * configure.in: Substitute libc_cv_rtlddir.
35163         * configure: Regenerate.
35164         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35165         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35166         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35167         * elf/Makefile (install-others, CFLAGS-interp.c)
35168         (ldso_install, common-ldd-rewrite): Likewise.
35169         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35170         $(inst_slibdir)/$(rtld-installed-name).
35171         * scripts/rellns-sh: Add -p option.
35172         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35173         for source.
35175 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35177         * manual/nptl.texi: Renamed to ...
35178         * manual/threads.texi: ... this.
35179         * manual/Makefile (chapters): Update.
35181 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35183         [BZ #14812]
35184         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35185         on argument names, not just descriptions.
35186         * malloc/memusagestat.c (options): Likewise.
35187         * nss/getent.c (options): Likewise.
35189 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35191         [BZ #14812]
35192         * iconv/iconv_prog.c (options): Put N_ translation marker
35193         on argument names, not just descriptions.
35194         * iconv/iconvconfig.c (options): Likewise.
35196 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35198         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35199         implementation which is faster on all x86_64 architectures.
35200         Tested on AMD, Intel Nehalem, SNB, IVB.
35201         * sysdeps/x86_64/strnlen.S: Likewise.
35203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35204         Remove all multiarch strlen and strnlen versions.
35205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35206         Remove strlen and strnlen related parts.
35208         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35209         Inline strlen part.
35210         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35212         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35213         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35214         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35215         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35216         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35217         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35219 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35221         * manual/memory.texi (Malloc Tunable Parameters):
35222         Sort parameters alphabetically. Add comments for missing entries.
35224 2013-03-17  David S. Miller  <davem@davemloft.net>
35226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35228 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35230         [BZ #15283]
35231         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35232         for arguments at most half maximum finite value.
35233         * math/libm-test.inc (j0_test): Add more tests.
35234         (j1_test): Likewise.
35235         (y0_test): Likewise.
35236         (y1_test): Likewise.
35237         * sysdeps/i386/fpu/libm-test-ulps: Update.
35238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35240         [BZ #14155]
35241         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35242         1 / x and functions P and Q for arguments above 0x1p256L.
35243         (__ieee754_y0l): Likewise.
35244         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35245         (__ieee754_y1l): Likewise.
35246         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35247         (j1_test): Likewise.
35248         (y0_test): Likewise.
35249         (y1_test): Likewise.
35251 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35253         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35254         variable.
35256 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35258         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35259         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35260         zero since it's initialized to EXEC_PAGESIZE.
35262         * sysdeps/unix/sysv/linux/ldsodefs.h
35263         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35264         * sysdeps/generic/ldsodefs.h: ... here.
35266 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35268         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35270         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35271         math/test-snan.c.
35272         * math/test-snan.c: Renamed from
35273         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35274         * math/Makefile (tests): Add test-snan.
35275         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35276         test-powerpc-snan.
35278         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35279         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35280         functions.
35281         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35282         __builtin_nan family of functions.
35283         * math/libm-test.inc (initialize): Initialize qnan_value with
35284         __builtin_nan family of functions.
35285         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35286         Remove variables.
35287         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35288         Remove functions.
35289         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35290         storage class.  Initialize qNaN_var and sNaN_var with
35291         __builtin_nan and __builtin_nans families of functions,
35292         respectively.
35294         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35295         (sqrt_test): Remove duplicate test with qNaN input.
35296         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35297         (round_test, signbit_test, significand_test): Note missing +/-Inf
35298         as well as qNaN tests.
35300         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35301         qNaN_var.  Fix a few strings, too.
35302         * math/libm-test.inc (nan_value): Rename to qnan_value.
35303         * math/gen-libm-test.pl (%beautify): Adjust to that.
35304         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35305         * math/test-misc.c (main): Likewise.
35306         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35307         to __qnan_bytes, and __qnan_union, respectively.
35308         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35309         Likewise.
35310         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35311         and lqnanval, respectively.
35312         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35313         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35314         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35315         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35317         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35318         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35319         doubles.
35321         * math/test-misc.c (main): Fix copy'n'pastos.
35322         * misc/tst-efgcvt.c (special): Likewise.
35324         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35325         Remove declarations.
35327 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35330         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35331         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35334 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35336         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35337         macro to return vdso values correctly in IFUNC implementations.
35338         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35339         Optimization by using IFUNC.
35341 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35342             Richard Henderson  <rth@redhat.com>
35343             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35345         * Makefile.in (bench): New target.
35346         * NEWS: Mention the benchmark framework.
35347         * Rules (bench): Likewise.
35348         (binaries-bench): Generate binaries for functions to
35349         benchmark.
35350         * benchtests/Makefile: New makefile for benchmark tests.
35351         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35352         programs.
35353         * benchtests/exp-inputs: New input file for EXP function.
35354         * benchtests/pow-inputs: New input file for POW function.
35355         * scripts/bench.pl: New script to generate source files for
35356         benchmark programs.
35358 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35360         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35362         computations on mantissa.  Use macros for rounding and
35363         division.
35364         (denorm): Likewise.
35365         (__dbl_mp): Likewise.
35366         (add_magnitudes): Likewise.
35367         (sub_magnitudes): Likewise.
35368         (__mul): Likewise.
35369         (__sqr): Likewise.
35370         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35371         powers of two in terms of TWOPOW macro.
35372         (mp_no): Make type of mantissa as MANTISSA_T.
35373         [!RADIXI]: Define RADIXI.
35374         [!TWO52]: Define TWO52.
35375         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35377         * manual/nptl.texi (cindex): Modify threads to pthreads.
35379 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35381         * sysdeps/x86_64/preconfigure: Regenerated.
35383 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #14155]
35386         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35387         0x1p28 and above.
35388         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35389         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35390         0x1p28 and above.
35391         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35392         * math/libm-test.inc (j0_test): Do not allow one spurious
35393         underflow exception.
35394         (y1_test): Likewise.
35396 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35398         * manual/Makefile (chapters): Add nptl.
35399         * manual/debug.texi (Debugging Support): Add link to Threads
35400         chapter.
35401         * manual/nptl.texi: New file.
35403         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35405 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35407         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35408         for non-NULL pointer before the memory validity test. Pointed
35409         out by Holger Brunck <holger.brunck@keymile.com>.
35411 2013-03-13  Andreas Schwab  <schwab@suse.de>
35413         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35414         instead of .os.
35416 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35418         * timezone/zic.c: Update from tzcode 2013b.
35420 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35422         * manual/install.texi (Configuring and compiling):
35423         Mention i686 and i586.
35424         * INSTALL: Regenerate.
35426 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35428         * sysdeps/init_array/elf-init.c: New file.
35429         * csu/elf-init.c
35430         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35431         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35433         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35434         __gmon_start__ as global, but as static with a .preinit_array pointer.
35435         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35436         * sysdeps/init_array/crti.S: New file, empty except for comments.
35437         * sysdeps/init_array/crtn.S: Likewise.
35439 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35441         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35442         definining bcopy.
35443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35444         Remove Prefer_SSE_for_memop.
35445         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35446         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35447         HAS_PREFER_SSE_FOR_MEMOP.
35448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35449         memset-x86-64.
35450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35451         Remove bzero, memset ifunc support.
35452         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35453         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35454         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35455         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35457 2013-03-11  Andreas Schwab  <schwab@suse.de>
35459         [BZ #15234]
35460         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35461         by SHLIB_COMPAT.
35462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35463         (GLIBC_2.16): Remove pthread_atfork.
35465 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35467         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35468         (ptestcases.h): Likewise.
35470 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35472         * Makeconfig ($(common-objpfx)config.status): Depend on
35473         sysdeps/*/preconfigure{,.in} too.
35475 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35477         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35478         (__free_hook): Use void * instead of __malloc_ptr_t.
35479         (__malloc_hook): Likewise.
35480         (__realloc_hook): Likewise.
35481         (__memalign_hook): Likewise.
35482         (__after_morecore_hook): Likewise.
35483         * malloc/arena.c (save_malloc_hook): Likewise.
35484         (save_free_hook): Likewise.
35485         * malloc/hooks.c (malloc_hook_ini): Likewise.
35486         (realloc_hook_ini): Likewise.
35487         (memalign_hook_ini): Likewise.
35488         * malloc/malloc.c (malloc_hook_ini): Likewise.
35489         (realloc_hook_ini): Likewise.
35490         (memalign_hook_ini): Likewise.
35491         (__free_hook): Likewise.
35492         (__malloc_hook): Likewise.
35493         (__realloc_hook): Likewise.
35494         (__memalign_hook): Likewise.
35495         (__libc_malloc): Likewise.
35496         (__libc_free): Likewise.
35497         (__libc_realloc): Likewise.
35498         (__libc_memalign): Likewise.
35499         (__libc_valloc): Likewise.
35500         (__libc_pvalloc): Likewise.
35501         (__libc_calloc): Likewise.
35502         (__posix_memalign): Likewise.
35503         * malloc/morecore.c (__sbrk): Likewise.
35504         (__default_morecore): Likewise.
35506         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35508         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35509         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35510         __malloc_ptrdiff_t.
35512         * malloc/malloc.h (__malloc_size_t): Remove macro.
35513         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35514         __malloc_size_t.
35515         (old_memalign_hook): Likewise.
35516         (old_realloc_hook): Likewise.
35517         (struct hdr): Likewise.
35518         (flood): Likewise.
35519         (mallochook): Likewise.
35520         (memalignhook): Likewise.
35521         (reallochook): Likewise.
35522         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35523         (tr_old_realloc_hook): Likewise.
35524         (tr_old_memalign_hook): Likewise.
35525         (tr_mallochook): Likewise.
35526         (tr_reallochook): Likewise.
35527         (tr_memalignhook): Likewise.
35529 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35531         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35532         default_ldbl_pack and using as default implementation.
35533         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35534         implementation.
35535         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35536         redundant definition.
35537         (ldbl_insert_mantissa): Likewise.
35538         (ldbl_canonicalize): Likewise.
35539         (ldbl_nearbyint): Likewise.
35540         (ldbl_pack): Rename to ldbl_pack_ppc.
35541         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35542         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35543         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35545 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35548         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35549         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35550         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35552         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35553         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35554         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35556 2013-03-07  Andreas Jaeger  <aj@suse.de>
35558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35559         bits/mman-linux.h.
35561 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35563         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35564         Include mpa.h and declare __MPEXP.
35565         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35566         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35567         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35568         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35569         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35570         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35571         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35573         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35574         (__slowpow): Use long double EXPL and LOGL functions to
35575         compute POW.
35576         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35577         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35578         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35580         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35581         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35584         intermediate variable to calculate exponent.
35585         (__sqr): Likewise.
35586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35587         Likewise.
35588         (__sqr): Likewise.
35590         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35591         [!NO__SQR]: Define __sqr.
35592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35593         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35594         sysdeps/ieee754/dbl-64/mpa.c.
35595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35597         [BZ #12723]
35598         * posix/Makefile (tests): Add tst-pathconf.
35599         * posix/tst-pathconf.c: New test case.
35600         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35601         _PC_PIPE_BUF.
35602         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35604 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35606         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35608 2013-03-06  Andreas Jaeger  <aj@suse.de>
35610         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35611         definition via __MAP_ANONYMOUS.
35613         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35614         it's not part of Linux headers.
35616         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35617         (MAP_HUGE_MASK): Define.
35619         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35620         Define.
35621         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35623         Define.
35624         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35625         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35626         Define.
35627         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35629         Define.
35630         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35632         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35633         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35634         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35635         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35636         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35637         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35639         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35640         Handle f2fs.
35642         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35643         Handle f2fs and efivarfs.
35645         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35646         f2fs.
35648         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35649         (EFIVARFS_MAGIC): Add.
35650         (F2FS_LINK_MAX): Add.
35652 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35654         * stdio-common/vfprintf.c: Replace __builtin_expect with
35655         __glibc_unlikely.
35657 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35659         [BZ #13550]
35660         * sysdeps/generic/bp-sym.h: Remove file.
35661         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35663         <bp-sym.h> and <bp-asm.h>.
35664         (__longjmp): Don't use BP_SYM.
35665         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35666         and <bp-asm.h>.
35667         (memcpy): Don't use BP_SYM.
35668         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35669         <bp-sym.h> and <bp-asm.h>.
35670         (memcpy): Don't use BP_SYM.
35671         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35672         <bp-asm.h>.
35673         (memcpy): Don't use BP_SYM.
35674         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35675         <bp-asm.h>.
35676         (memset): Don't use BP_SYM.
35677         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35678         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35679         (__bzero): Don't use BP_SYM.
35680         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35681         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35682         * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
35687         <bp-sym.h> and <bp-asm.h>.
35688         (memcpy): Don't use BP_SYM.
35689         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35690         <bp-sym.h> and <bp-asm.h>.
35691         (memset): Don't use BP_SYM.
35692         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35693         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35694         (__bzero): Don't use BP_SYM.
35695         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35696         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35697         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35698         <bp-sym.h> and <bp-asm.h>.
35699         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35700         pointers.
35701         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35702         <bp-sym.h> and <bp-asm.h>.
35703         (memcpy): Don't use BP_SYM.
35704         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35705         <bp-sym.h> and <bp-asm.h>.
35706         (memset): Don't use BP_SYM.
35707         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35708         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35709         (__bzero): Don't use BP_SYM.
35710         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35711         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35712         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35713         <bp-sym.h> and <bp-asm.h>.
35714         (__memchr): Don't use BP_SYM.
35715         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35716         <bp-sym.h> and <bp-asm.h>.
35717         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35718         pointers.
35719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35720         <bp-sym.h> and <bp-asm.h>.
35721         (memcpy): Don't use BP_SYM.
35722         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35723         <bp-sym.h> and <bp-asm.h>.
35724         (__mempcpy): Don't use BP_SYM.
35725         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35726         <bp-sym.h> and <bp-asm.h>.
35727         (__memrchr): Don't use BP_SYM.
35728         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35729         <bp-sym.h> and <bp-asm.h>.
35730         (memset): Don't use BP_SYM.
35731         (__bzero): Likewise.
35732         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35733         <bp-sym.h> and <bp-asm.h>.
35734         (__rawmemchr): Don't use BP_SYM.
35735         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35736         <bp-sym.h> and <bp-asm.h>.
35737         (__STRCMP): Don't use BP_SYM.
35738         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35739         <bp-sym.h> and <bp-asm.h>.
35740         (strchr): Don't use BP_SYM.
35741         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35742         <bp-sym.h> and <bp-asm.h>.
35743         (__strchrnul): Don't use BP_SYM.
35744         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35745         <bp-sym.h> and <bp-asm.h>.
35746         (strlen): Don't use BP_SYM.
35747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35748         <bp-sym.h> and <bp-asm.h>.
35749         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35750         pointers.
35751         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35752         <bp-sym.h> and <bp-asm.h>.
35753         (__strnlen): Don't use BP_SYM.
35754         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35755         <bp-sym.h> and <bp-asm.h>.
35756         (__GI__setjmp): Don't use BP_SYM.
35757         (_setjmp): Likewise.
35758         (__sigsetjmp): Likewise.
35759         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35760         (L(start_addresses)): Don't use BP_SYM.
35761         (_start): Likewise.
35762         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35763         <bp-asm.h>.
35764         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35765         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35766         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35767         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35768         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35769         <bp-asm.h>.
35770         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35771         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35772         about bounded pointers.
35773         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35774         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35775         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35776         <bp-asm.h>.
35777         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35778         about bounded pointers.  Remove GKM FIXME comments.
35779         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35780         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35781         <bp-asm.h>.
35782         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35783         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35784         Remove GKM FIXME comments.
35785         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35786         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35787         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35788         <bp-asm.h>.
35789         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35790         about bounded pointers.  Remove GKM FIXME comment.
35791         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35792         and <bp-asm.h>.
35793         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35794         pointers.
35795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35796         <bp-sym.h> and <bp-asm.h>.
35797         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35799         <bp-sym.h> and <bp-asm.h>.
35800         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35801         comment.
35803 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35805         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35806         call free(NULL).
35808 2013-03-05  David S. Miller  <davem@davemloft.net>
35810         * po/es.po: Update from translation team.
35812 2013-03-05  Andreas Jaeger  <aj@suse.de>
35814         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35815         <bits/mman-linux.h>.
35816         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35817         is fine.
35818         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35819         <bits/mman-linux.h> to end of file.
35820         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35821         is fine.
35822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35823         <bits/mman-linux.h> to end of file.
35824         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35825         is fine.
35826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35827         <bits/mman-linux.h> to end of file.
35829         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35830         (MCL_CURRENT, MCL_FUTURE): Define here.
35832 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35834         [BZ #15232]
35835         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35836         attribute_hidden.
35837         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35839 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35842         fourth parameter needed for rt_sigprocmask syscall.
35843         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35844         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35846         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35847         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35850 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35852         [BZ #13550]
35853         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35854         comment about bounded pointers.
35855         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35856         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35858 2013-03-04  Andreas Jaeger  <aj@suse.de>
35860         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35861         common definitions.
35863         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35864         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35865         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35866         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35870 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35872         [BZ #15055]
35873         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35874         __ieee754_sqrl instead of __sqrl.
35876 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35878         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35879         * sysdeps/powerpc/fpu_control.h: ... here.
35880         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35881         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35882         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35883         * sysdeps/powerpc/bits/mathinline.h: ... here.
35885 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35887         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35888         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35889         to just [NEED_DL_SYSINFO_DSO].
35890         * elf/dl-support.c: Likewise.
35891         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35892         * elf/rtld.c (dl_main): Likewise.
35893         * elf/setup-vdso.h (setup_vdso): Likewise.
35894         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35895         * sysdeps/unix/sysv/linux/dl-sysdep.c
35896         (_dl_discover_osversion): Likewise.
35898 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35900         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35901         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35903 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35905         * NEWS: Mention libm performance improvements and non-x86 PI
35906         futex support.
35908         * csu/libc-start.c (__pthread_initialize_minimal): Change
35909         function arguments.
35910         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35912 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35914         [BZ #13550]
35915         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35916         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35917         <bp-sym.h> and <bp-asm.h>.
35918         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35920         and <bp-asm.h>.
35921         (memcpy): Don't use BP_SYM.
35922         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35923         <bp-asm.h>.
35924         (__mpn_add_n): Don't use BP_SYM.
35925         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35926         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35927         and <bp-asm.h>.
35928         (__mpn_addmul_1): Don't use BP_SYM.
35929         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35930         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35931         <bp-sym.h>.
35932         (_setjmp): Don't use BP_SYM.
35933         (__novmx_setjmp): Likewise.
35934         (__GI__setjmp): Likewise.
35935         (__vmx_setjmp): Likewise.
35936         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35937         <bp-sym.h>.
35938         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35939         (__bzero): Don't use BP_SYM.
35940         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35941         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35942         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35943         <bp-sym.h> and <bp-asm.h>.
35944         (memcpy): Don't use BP_SYM.
35945         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35946         <bp-sym.h> and <bp-asm.h>.
35947         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35948         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35949         <bp-sym.h> and <bp-asm.h>.
35950         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35951         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35952         <bp-asm.h>.
35953         (__mpn_lshift): Don't use BP_SYM.
35954         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35955         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35956         <bp-asm.h>.
35957         (memset): Don't use BP_SYM.
35958         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35959         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35960         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35961         <bp-asm.h>.
35962         (__mpn_mul_1): Don't use BP_SYM.
35963         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35965         <bp-sym.h> and <bp-asm.h>.
35966         (memcmp): Don't use BP_SYM.
35967         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35968         <bp-sym.h> and <bp-asm.h>.
35969         (memcpy): Don't use BP_SYM.
35970         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35971         <bp-sym.h> and <bp-asm.h>.
35972         (memset): Don't use BP_SYM.
35973         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35974         <bp-sym.h> and <bp-asm.h>.
35975         (strncmp): Don't use BP_SYM.
35976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35977         <bp-sym.h> and <bp-asm.h>.
35978         (memcpy): Don't use BP_SYM.
35979         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35980         <bp-sym.h> and <bp-asm.h>.
35981         (memset): Don't use BP_SYM.
35982         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35983         <bp-sym.h> and <bp-asm.h>.
35984         (__memchr): Don't use BP_SYM.
35985         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35986         <bp-sym.h> and <bp-asm.h>.
35987         (memcmp): Don't use BP_SYM.
35988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35989         <bp-sym.h> and <bp-asm.h>.
35990         (memcpy): Don't use BP_SYM.
35991         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35992         <bp-sym.h> and <bp-asm.h>.
35993         (__mempcpy): Don't use BP_SYM.
35994         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35995         <bp-sym.h> and <bp-asm.h>.
35996         (__memrchr): Don't use BP_SYM.
35997         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35998         <bp-sym.h> and <bp-asm.h>.
35999         (memset): Don't use BP_SYM.
36000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36001         <bp-sym.h> and <bp-asm.h>.
36002         (__rawmemchr): Don't use BP_SYM.
36003         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36004         <bp-sym.h> and <bp-asm.h>.
36005         (__STRCMP): Don't use BP_SYM.
36006         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36007         <bp-sym.h> and <bp-asm.h>.
36008         (strchr): Don't use BP_SYM.
36009         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36010         <bp-sym.h> and <bp-asm.h>.
36011         (__strchrnul): Don't use BP_SYM.
36012         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36013         <bp-sym.h> and <bp-asm.h>.
36014         (strlen): Don't use BP_SYM.
36015         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36016         <bp-sym.h> and <bp-asm.h>.
36017         (strncmp): Don't use BP_SYM.
36018         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36019         <bp-sym.h> and <bp-asm.h>.
36020         (__strnlen): Don't use BP_SYM.
36021         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36022         <bp-asm.h>.
36023         (__mpn_rshift): Don't use BP_SYM.
36024         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36025         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36026         <bp-sym.h> and <bp-asm.h>.
36027         (__sigsetjmp): Don't use BP_SYM.
36028         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36029         (L(start_addresses)): Don't use BP_SYM.
36030         (_start): Likewise.
36031         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36032         <bp-asm.h>.
36033         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36034         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36035         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36036         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36037         <bp-asm.h>.
36038         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36039         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36040         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36041         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36042         <bp-asm.h>.
36043         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36044         comments.
36045         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36046         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36047         <bp-asm.h>.
36048         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36049         FIXME comments.
36050         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36051         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36052         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36053         <bp-asm.h>.
36054         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36055         comment.
36056         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36057         and <bp-asm.h>.
36058         (strncmp): Don't use BP_SYM,
36059         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36060         <bp-asm.h>.
36061         (__mpn_sub_n): Don't use BP_SYM.
36062         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36063         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36064         and <bp-asm.h>.
36065         (__mpn_submul_1): Don't use BP_SYM.
36066         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36068         <bp-sym.h> and <bp-asm.h>.
36069         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36071         <bp-sym.h> and <bp-asm.h>.
36072         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36073         comment.
36075 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36078         Use ZK to minimize writes to Z.
36079         (sub_magnitudes): Simplify code a bit.
36080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36081         Use ZK to minimize writes to Z.
36082         (sub_magnitudes): Simplify code a bit.
36084 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36086         * csu/gmon-start.c: Add special exception to license text.
36088 2013-02-27  Richard Henderson  <rth@redhat.com>
36090         * scripts/config.guess: Update from config.git.
36091         * scripts/config.sub: Likewise.
36093 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36095         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36097         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36099         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36101         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36103         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36105 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36107         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36108         [$(build-shared = yes].
36110 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36112         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36113         (__mul): Reduce iterations for calculating mantissa.
36115         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36116         MPTWO.
36117         (__mpranred): Likewise.
36119         [BZ #15160]
36120         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36121         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36123 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36125         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36126         Define __attribute__.
36128 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36130         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36131         unused.
36132         * posix/regex_internal.h (__attribute): Remove.
36133         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36134         (re_string_context_at): Likewise.
36135         (bitset_not): Use __attribute__ and mark function as possibly
36136         unused.
36137         (bitset_merge): Likewise.
36138         (bitset_mask): Likewise.
36139         (re_string_char_size_at): Likewise.
36140         (re_string_wchar_at): Likewise.
36141         (re_string_elem_size_at): Likewise.
36143 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36145         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36146         code.
36147         (cc32): Likewise.
36149         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36150         (__acr): Likewise.
36151         (__cpy): Likewise.
36152         (norm): Likewise.
36153         (denorm): Likewise.
36154         (__dbl_mp): Likewise.
36155         (add_magnitudes): Likewise.
36156         (sub_magnitudes): Likewise.
36157         (__mul): Likewise.
36158         (__inv): Likewise.
36160         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36161         style.
36163         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36164         style.
36166         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36167         code.
36169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36170         up changes with default code.
36171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36172         Likewise.
36174 2013-02-24  Allan McRae  <allan@archlinux.org>
36176         * manual/socket.texi (The Internet Namespace): Order menu items
36177         to match that in the file.
36179         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36180         node listing of the info page menu.
36182 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36184         [BZ #13550]
36185         * sysdeps/i386/bp-asm.h: Remove file.
36186         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36187         (PARMS): Do not use macros from bp-asm.h.
36188         (S1): Likewise.
36189         (S2): Likewise.
36190         (SIZE): Likewise.
36191         (__mpn_add_n): Do not use BP_SYM
36192         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36193         "bp-asm.h".
36194         (PARMS): Do not use macros from bp-asm.h.
36195         (S1): Likewise.
36196         (SIZE): Likewise.
36197         (__mpn_addmul_1): Do not use BP_SYM
36198         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36199         "bp-asm.h".
36200         (PARMS): Do not use macros from bp-asm.h.
36201         (SIGMSK): Likewise.
36202         (_setjmp): Likewise.  Do not use BP_SYM.
36203         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36204         "bp-asm.h".
36205         (PARMS): Do not use macros from bp-asm.h.
36206         (SIGMSK): Likewise.
36207         (setjmp): Likewise.  Do not use BP_SYM.
36208         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36209         "bp-asm.h".
36210         (PARMS): Do not use macros from bp-asm.h.
36211         (__frexp): Do not use BP_SYM.
36212         (frexp): Likewise.
36213         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36214         "bp-asm.h".
36215         (PARMS): Do not use macros from bp-asm.h.
36216         (__frexpf): Do not use BP_SYM.
36217         (frexpf): Likewise.
36218         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36219         "bp-asm.h".
36220         (PARMS): Do not use macros from bp-asm.h.
36221         (__frexpl): Do not use BP_SYM.
36222         (frexpl): Likewise.
36223         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36224         "bp-asm.h".
36225         (PARMS): Do not use macros from bp-asm.h.
36226         (__remquo): Do not use BP_SYM.
36227         (remquo): Likewise.
36228         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36229         "bp-asm.h".
36230         (PARMS): Do not use macros from bp-asm.h.
36231         (__remquof): Do not use BP_SYM.
36232         (remquof): Likewise.
36233         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36234         "bp-asm.h".
36235         (PARMS): Do not use macros from bp-asm.h.
36236         (__remquol): Do not use BP_SYM.
36237         (remquol): Likewise.
36238         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36239         "bp-asm.h".
36240         (PARMS): Do not use macros from bp-asm.h.
36241         (DEST): Likewise.
36242         (SRC): Likewise.
36243         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36244         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36245         "bp-asm.h".
36246         (PARMS): Do not use macros from bp-asm.h.
36247         (strlen): Do not use BP_SYM.
36248         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36249         "bp-asm.h".
36250         (PARMS): Do not use macros from bp-asm.h.
36251         (S1): Likewise.
36252         (S2): Likewise.
36253         (SIZE): Likewise.
36254         (__mpn_add_n): Do not use BP_SYM.
36255         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36256         "bp-asm.h".
36257         (PARMS): Do not use macros from bp-asm.h.
36258         (S1): Likewise.
36259         (SIZE): Likewise.
36260         (__mpn_addmul_1): Do not use BP_SYM.
36261         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36262         weak_alias.
36263         (bzero): Likewise.
36264         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36265         "bp-asm.h".
36266         (PARMS): Do not use macros from bp-asm.h.
36267         (S): Likewise.
36268         (SIZE): Likewise.
36269         (__mpn_lshift): Do not use BP_SYM.
36270         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36271         "bp-asm.h".
36272         (PARMS): Do not use macros from bp-asm.h.
36273         (DEST): Likewise.
36274         (SRC): Likewise.
36275         (LEN): Likewise.
36276         (memcpy): Likewise.  Do not use BP_SYM.
36277         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36278         libc_hidden_def and weak_alias.
36279         (mempcpy): Do not use BP_SYM in weak_alias.
36280         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36281         "bp-asm.h".
36282         (PARMS): Do not use macros from bp-asm.h.
36283         (DEST): Likewise.
36284         (LEN): Likewise.
36285         [!BZERO_P] (CHR): Likewise.
36286         (memset): Likewise.  Do not use BP_SYM.
36287         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36288         "bp-asm.h".
36289         (PARMS): Do not use macros from bp-asm.h.
36290         (S1): Likewise.
36291         (SIZE): Likewise.
36292         (__mpn_mul_1): Do not use BP_SYM.
36293         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36294         "bp-asm.h".
36295         (PARMS): Do not use macros from bp-asm.h.
36296         (S): Likewise.
36297         (SIZE): Likewise.
36298         (__mpn_rshift): Do not use BP_SYM.
36299         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36300         "bp-asm.h".
36301         (PARMS): Do not use macros from bp-asm.h.
36302         (STR): Likewise.
36303         (CHR): Likewise.
36304         (strchr): Likewise.  Do not use BP_SYM.
36305         (index): Do not use BP_SYM in weak_alias.
36306         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36307         "bp-asm.h".
36308         (PARMS): Do not use macros from bp-asm.h.
36309         (DEST): Likewise.
36310         (SRC): Likewise.
36311         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36312         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36313         "bp-asm.h".
36314         (PARMS): Do not use macros from bp-asm.h.
36315         (strlen): Do not use BP_SYM.
36316         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36317         "bp-asm.h".
36318         (PARMS): Do not use macros from bp-asm.h.
36319         (S1): Likewise.
36320         (S2): Likewise.
36321         (SIZE): Likewise.
36322         (__mpn_sub_n): Do not use BP_SYM.
36323         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36324         "bp-asm.h".
36325         (PARMS): Do not use macros from bp-asm.h.
36326         (S1): Likewise.
36327         (SIZE): Likewise.
36328         (__mpn_submul_1): Do not use BP_SYM.
36329         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36330         "bp-asm.h".
36331         (PARMS): Do not use macros from bp-asm.h.
36332         (S1): Likewise.
36333         (S2): Likewise.
36334         (SIZE): Likewise.
36335         (__mpn_add_n): Do not use BP_SYM.
36336         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36337         weak_alias.
36338         (bzero): Likewise.
36339         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36340         "bp-asm.h".
36341         (PARMS): Do not use macros from bp-asm.h.
36342         (BLK2): Likewise.
36343         (LEN): Likewise.
36344         (memcmp): Do not use BP_SYM.
36345         (bcmp): Do not use BP_SYM in weak_alias.
36346         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36347         "bp-asm.h".
36348         (PARMS): Do not use macros from bp-asm.h.
36349         (DEST): Likewise.
36350         (SRC): Likewise.
36351         (LEN): Likewise.
36352         (memcpy): Likewise.  Do not use BP_SYM.
36353         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36354         "bp-asm.h".
36355         (PARMS): Do not use macros from bp-asm.h.
36356         (DEST): Likewise.
36357         (SRC): Likewise.
36358         (LEN): Likewise.
36359         (memmove): Likewise.  Do not use BP_SYM.
36360         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36361         "bp-asm.h".
36362         (PARMS): Do not use macros from bp-asm.h.
36363         (DEST): Likewise.
36364         (SRC): Likewise.
36365         (LEN): Likewise.
36366         (__mempcpy): Likewise.  Do not use BP_SYM.
36367         (mempcpy): Do not use BP_SYM in weak_alias.
36368         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36369         "bp-asm.h".
36370         (PARMS): Do not use macros from bp-asm.h.
36371         (DEST): Likewise.
36372         (LEN): Likewise.
36373         [!BZERO_P] (CHR): Likewise.
36374         (memset): Likewise.  Do not use BP_SYM.
36375         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36376         "bp-asm.h".
36377         (PARMS): Do not use macros from bp-asm.h.
36378         (STR2): Likewise.
36379         (strcmp): Do not use BP_SYM.
36380         * sysdeps/i386/i686/strtok.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         (DELIM): Likewise.
36385         [USE_AS_STRTOK_R] (SAVE): Likewise.
36386         (FUNCTION): Likewise.  Do not use BP_SYM.
36387         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36388         aliases.
36389         (strtok_r): Likewise.
36390         (__GI___strtok_r): Likewise.
36391         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36392         (PARMS): Do not use macros from bp-asm.h.
36393         (S): Likewise.
36394         (SIZE): Likewise.
36395         (__mpn_lshift): Do not use BP_SYM.
36396         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36397         (PARMS): Do not use macros from bp-asm.h.
36398         (STR): Likewise.
36399         (CHR): Likewise.
36400         (__memchr): Do not use BP_SYM.
36401         (memchr): Do not use BP_SYM in weak_alias.
36402         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36403         (PARMS): Do not use macros from bp-asm.h.
36404         (BLK2): Likewise.
36405         (LEN): Likewise.
36406         (memcmp): Do not use BP_SYM.
36407         (bcmp): Do not use BP_SYM in weak_alias.
36408         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36409         (PARMS): Do not use macros from bp-asm.h.
36410         (S1): Likewise.
36411         (SIZE): Likewise.
36412         (__mpn_mul_1): Do not use BP_SYM.
36413         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36414         "bp-asm.h".
36415         (PARMS): Do not use macros from bp-asm.h.
36416         (STR): Likewise.
36417         (CHR): Likewise.
36418         (__rawmemchr): Do not use BP_SYM.
36419         (rawmemchr): Do not use BP_SYM in weak_alias.
36420         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36421         (PARMS): Do not use macros from bp-asm.h.
36422         (S): Likewise.
36423         (SIZE): Likewise.
36424         (__mpn_rshift): Do not use BP_SYM.
36425         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36426         (PARMS): Do not use macros from bp-asm.h.
36427         (SIGMSK): Likewise.
36428         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36429         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36430         (_start): Do not use BP_SYM.
36431         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36432         (PARMS): Do not use macros from bp-asm.h.
36433         (DEST): Likewise.
36434         (SRC): Likewise.
36435         (__stpcpy): Likewise.  Do not use BP_SYM.
36436         (stpcpy): Do not use BP_SYM in weak_alias.
36437         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36438         "bp-asm.h".
36439         (PARMS): Do not use macros from bp-asm.h.
36440         (DEST): Likewise.
36441         (SRC): Likewise.
36442         (LEN): Likewise.
36443         (__stpncpy): Likewise.  Do not use BP_SYM.
36444         (stpncpy): Do not use BP_SYM in weak_alias.
36445         * sysdeps/i386/strchr.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         (CHR): Likewise.
36449         (strchr): Likewise.  Do not use BP_SYM.
36450         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36451         "bp-asm.h".
36452         (PARMS): Do not use macros from bp-asm.h.
36453         (STR): Likewise.
36454         (CHR): Likewise.
36455         (__strchrnul): Likewise.  Do not use BP_SYM.
36456         (strchrnul): Do not use BP_SYM in weak_alias.
36457         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36458         "bp-asm.h".
36459         (PARMS): Do not use macros from bp-asm.h.
36460         (STOP): Likewise.
36461         (strcspn): Do not use BP_SYM.
36462         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36463         "bp-asm.h".
36464         (PARMS): Do not use macros from bp-asm.h.
36465         (STR): Likewise.
36466         (STOP): Likewise.
36467         (strpbrk): Likewise.  Do not use BP_SYM.
36468         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36469         "bp-asm.h".
36470         (PARMS): Do not use macros from bp-asm.h.
36471         (STR): Likewise.
36472         (CHR): Likewise.
36473         (strrchr): Likewise.  Do not use BP_SYM.
36474         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36475         (PARMS): Do not use macros from bp-asm.h.
36476         (SKIP): Likewise.
36477         (strspn): Do not use BP_SYM.
36478         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36479         (PARMS): Do not use macros from bp-asm.h.
36480         (STR): Likewise.
36481         (DELIM): Likewise.
36482         (SAVE): Likewise.
36483         (FUNCTION): Likewise.  Do not use BP_SYM.
36484         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36485         aliases.
36486         (strtok_r): Likewise.
36487         (__GI___strtok_r): Likewise.
36488         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36489         (PARMS): Do not use macros from bp-asm.h.
36490         (S1): Likewise.
36491         (S2): Likewise.
36492         (SIZE): Likewise.
36493         (__mpn_sub_n): Do not use BP_SYM.
36494         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36495         "bp-asm.h".
36496         (PARMS): Do not use macros from bp-asm.h.
36497         (S1): Likewise.
36498         (SIZE): Likewise.
36499         (__mpn_submul_1): Do not use BP_SYM.
36500         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36501         <bp-sym.h>.
36502         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36503         and <bp-asm.h>.
36504         (PARMS): Do not use macros from bp-asm.h.
36505         (FLAGS): Likewise.
36506         (PTID): Likewise.
36507         (TLS): Likewise.
36508         (CTID): Likewise.
36509         (__clone): Do not use BP_SYM.
36510         (clone): Do not use BP_SYM in weak_alias.
36511         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36512         and <bp-asm.h>.
36513         (PARMS): Do not use macros from bp-asm.h.
36514         (LEN): Likewise.
36515         (__mmap64): Do not use BP_SYM.
36516         (mmap64): Do not use BP_SYM in weak_alias.
36517         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36518         <bp-sym.h> and <bp-asm.h>.
36519         (PARMS): Do not use macros from bp-asm.h.
36520         (__posix_fadvise64_l64): Do not use BP_SYM.
36521         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36522         (PARMS): Do not use macros from bp-asm.h.
36523         (NSOPS): Likewise.
36524         (semtimedop): Do not use BP_SYM.
36525         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36526         and <bp-asm.h>.
36528 2013-02-21  Allan McRae  <allan@archlinux.org>
36530         * manual/message.texi (Charset conversion in gettext):
36531         Move @end statement to beginning of line.
36533 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36535         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36536         static.
36537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36538         Likewise.
36540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36541         (denorm): Likewise.
36542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36545 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36547         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36548         tail-call to the resolved function if pltexit isn't needed.
36550 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36553         or Y being zero as being unlikely.
36554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36555         Likewise.
36557 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36559         * manual/nss.texi (System Databases and Name Service Switch):
36560         Remove frobnicate @pxref.
36562 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36564         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36565         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36567 2013-02-20  Petr Machata  <pmachata@redhat.com>
36569         * elf/elf.h (R_ARM_TARGET1): New macro.
36570         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36571         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36572         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36573         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36574         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36575         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36576         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36577         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36578         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36579         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36580         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36581         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36582         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36583         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36584         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36585         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36586         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36587         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36588         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36589         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36590         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36591         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36592         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36593         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36594         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36595         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36596         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36597         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36598         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36599         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36600         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36601         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36602         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36603         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36604         (R_ARM_THM_GOT_BREL12): Likewise.
36605         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36606         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36607         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36608         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36609         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36610         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36611         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36612         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36613         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36615 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36617         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36618         __attribute_used__ to __attribute__ ((unused)).
36620 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36622         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36623         powerpc mpa.c.
36624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36625         comment formatting.
36626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36628 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36630         [BZ #13550]
36631         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36632         Remove macro.
36633         (ENTER): Remove both macro definitions.
36634         (LEAVE): Likewise.
36635         (CHECK_BOUNDS_LOW): Likewise.
36636         (CHECK_BOUNDS_HIGH): Likewise.
36637         (CHECK_BOUNDS_BOTH): Likewise.
36638         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36639         (RETURN_BOUNDED_POINTER): Likewise.
36640         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36641         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36642         (POP_ERRNO_LOCATION_RETURN): Likewise.
36643         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36644         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36645         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36646         macros.
36647         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36648         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36649         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36650         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36651         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36652         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36653         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36654         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36655         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36656         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36657         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36658         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36659         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36660         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36661         removed macros.
36662         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36663         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36664         macros.
36665         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36666         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36667         * sysdeps/i386/i586/memset.S (memset): Likewise.
36668         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36669         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36670         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36671         macros.
36672         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36673         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36674         Change uses of L(2) to L(out).
36675         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36676         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36677         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36678         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36679         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36680         removed macros.
36681         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36682         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36683         macros.
36684         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36685         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36686         (RETURN): Do not use macro LEAVE.
36687         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36688         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36689         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36690         * sysdeps/i386/i686/memset.S (memset): Likewise.
36691         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36692         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36693         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36694         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36695         Likewise.
36696         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36697         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36698         L(1_2) and L(1_3) into L(1).
36699         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36700         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36701         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36702         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36703         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36704         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36705         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36706         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36707         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36708         macros.
36709         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36710         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36711         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36712         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36713         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36714         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36715         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36716         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36717         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36718         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36719         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36720         * sysdeps/i386/strspn.S (strspn): Likewise.
36721         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36722         conditional code.
36723         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36724         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36725         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36726         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36727         L(1_3) into L(1_1).
36728         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36729         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36730         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36731         macros.
36732         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36734 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36736         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36737         macro.
36739 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36741         * math/atest-exp.c (exp_mpn): Remove ROUND.
36742         * math/atest-exp2.c (exp_mpn): Likewise.
36743         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36745         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36746         * stdlib/tst-tls-atexit-lib.c: Likewise.
36747         * stdlib/tst-tls-atexit.c: Likewise.
36749 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36751         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36752         and __attribute_alloc_size__.
36754 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36756         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36757         __attribute_alloc_size__.
36758         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36759         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36761 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36763         * include/programs/xmalloc.h: New file.
36764         * catgets/gencat.c: Include it.
36765         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36766         * elf/pldd.c: Likewise.
36767         * iconv/iconv_charmap.c: Likewise.
36768         * iconv/iconvconfig.c: Likewise.
36769         * iconv/strtab.c: Likewise.
36770         * locale/programs/locale.c: Likewise.
36771         * locale/programs/localedef.h: Likewise.
36772         * locale/programs/simple-hash.c: Likewise.
36773         * nscd/nscd.h: Likewise.
36774         * nss/makedb.c: Likewise.
36775         * sysdeps/generic/ldconfig.h: Likewise.
36777 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36779         * Versions.def: Add GLIBC_2.18.
36780         * include/link.h (struct link_map): New member l_tls_dtor_count.
36781         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36782         (__call_tls_dtors): Likewise.
36783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36784         __cxa_thread_atexit_impl.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36786         Likewise.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36788         Likewise.
36789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36790         Likewise.
36791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36792         Likewise.
36793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36795         Likewise.
36796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36797         Likewise.
36798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36800         Likewise.
36801         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36802         (tests): Add test case tst-tls-atexit.
36803         (modules-names): Add shared library for tst-tls-atexit.
36804         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36805         (GLIBC_PRIVATE): Add __call_tls_dtors.
36806         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36807         for libstdc++.
36808         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36809         * stdlib/tst-tls-atexit.c: New test case.
36810         * stdlib/tst-tls-atexit-lib.c: New test case.
36812         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36814         * elf/Versions (ld): Add _dl_find_dso_for_object.
36815         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36816         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36817         (dl_open_worker): Use _dl_find_dso_for_object.
36818         * elf/dl-sym.c (do_sym): Likewise.
36819         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36821 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36823         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36824         Syntactic changes only.
36825         (_dl_runtime_profile): Do a tail-call to the resolved function.
36827 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36829         [BZ #13550]
36830         * sysdeps/x86_64/bp-asm.h: Remove file.
36831         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36832         <bp-sym.h> and <bp-asm.h>.
36833         (__clone): Do not use BP_SYM.
36834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36835         <bp-sym.h> and <bp-asm.h>.
36836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36837         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36838         "bp-asm.h".
36839         (_setjmp): Do not use BP_SYM.
36840         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36841         "bp-asm.h".
36842         (setjmp): Do not use BP_SYM.
36843         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36844         libc_hidden_def.
36845         (mempcpy): Do not use BP_SYM in weak_alias.
36846         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36847         "bp-asm.h".
36848         (strchr): Do not use BP_SYM.
36849         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36850         "bp-asm.h".
36851         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36852         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36853         (_start): Do not use BP_SYM.
36854         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36855         "bp-asm.h".
36856         (strcat): Do not use BP_SYM.
36857         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36858         "bp-asm.h".
36859         (STRCMP): Do not use BP_SYM.
36860         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36861         "bp-asm.h".
36862         (STRCPY): Do not use BP_SYM.
36863         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36864         "bp-asm.h".
36865         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36866         "bp-asm.h".
36867         (FUNCTION): Do not use BP_SYM.
36868         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36869         weak_alias.
36870         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36872 2013-02-17  Andreas Jaeger  <aj@suse.de>
36874         * time/Versions: Sort entries.
36875         * string/Versions: Likewise.
36876         * resolv/Versions: Likewise.
36877         * posix/Versions: Likewise.
36878         * iconv/Versions: Likewise.
36879         * elf/Versions: Likewise.
36880         * wcsmbs/Versions: Likewise.
36882 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36884         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36885         loop termination condition.
36887         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36888         variable to calculate EZ.
36889         (__sqr): Likewise.
36891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36892         the lower precision input.
36894 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36896         [BZ #13550]
36897         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36898         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36899         (run-via-rtld-prefix): Do not handle %-bp tests.
36900         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36901         (all-object-suffixes): Remove .ob.
36902         (bppfx): Remove variable.
36903         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36904         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36905         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36906         [$(build-bounded) = yes] (libtype.ob): Likewise.
36907         * Makerules (elide-routines.ob): Remove variable.
36908         (do-tests-clean): Do not handle *-bp.out.
36909         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36910         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36911         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36912         (tests): Do not include $(tests-bp.out).
36913         (xtests): Do not include $(xtests-bp.out).
36914         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36915         [$(build-bounded) = yes] ($(addprefix
36916         $(objpfx),$(binaries-bounded))): Remove rule.
36917         ($(objpfx)%-bp.out): Remove rule.
36918         * config.make.in (build-bounded): Remove variable.
36919         * crypt/Makefile [$(build-bounded) = yes]
36920         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36921         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36922         append to variable.
36923         [$(build-bounded) = yes] (install-lib): Likewise.
36924         [$(build-bounded) = yes] (generated): Likewise.
36925         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36926         Remove rule.
36927         * intl/Makefile [$(build-bounded) = yes]
36928         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36929         * math/Makefile [$(build-bounded) = yes]
36930         ($(tests:%=$(objpfx)%-bp): Likewise.
36931         * misc/Makefile [$(build-bounded) = yes]
36932         ($(objpfx)tst-tsearch-bp): Likewise.
36933         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36934         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36935         Remove dependency.
36936         * string/Makefile (o-objects.ob): Remove variable.
36937         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36938         (CFLAGS-.ob): Remove variable.
36939         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36940         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36941         both definitions of variable.
36942         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36943         (ASFLAGS-.ob): Remove variable.
36945 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36947         [BZ #13550]
36948         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36949         Remove __BOUNDED_POINTERS__ from condition.
36950         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36951         * string/bits/string2.h [!__NO_STRING_INLINES &&
36952         !__BOUNDED_POINTERS__]: Likewise.
36953         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36954         Likewise.
36955         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36956         Remove conditional code.
36957         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36958         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36959         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36960         condition.
36962         [BZ #13550]
36963         * csu/libc-start.c: Do not include <bp-sym.h>.
36964         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36965         * elf/dl-open.c: Do not include <bp-sym.h>.
36966         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36967         * math/fegetenv.c: Do not include <bp-sym.h>.
36968         (fegetenv): Do not use BP_SYM in versioned symbols.
36969         * nptl/sysdeps/pthread/bits/libc-lockP.h
36970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36971         <bp-sym.h>.
36972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36973         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36975         (__pthread_mutex_destroy): Likewise.
36976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36977         (__pthread_mutex_lock): Likewise.
36978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36979         (__pthread_mutex_trylock): Likewise.
36980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36981         (__pthread_mutex_unlock): Likewise.
36982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36983         (__pthread_mutexattr_init): Likewise.
36984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36985         (__pthread_mutexattr_destroy): Likewise.
36986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36987         (__pthread_mutexattr_settype): Likewise.
36988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36989         (__pthread_rwlock_init): Likewise.
36990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36991         (__pthread_rwlock_destroy): Likewise.
36992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36993         (__pthread_rwlock_rdlock): Likewise.
36994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36995         (__pthread_rwlock_tryrdlock): Likewise.
36996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36997         (__pthread_rwlock_wrlock): Likewise.
36998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36999         (__pthread_rwlock_trywrlock): Likewise.
37000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37001         (__pthread_rwlock_unlock): Likewise.
37002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37003         (__pthread_key_create): Likewise.
37004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37005         (__pthread_setspecific): Likewise.
37006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37007         (__pthread_getspecific): Likewise.
37008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37009         Likewise.
37010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37011         (_pthread_cleanup_push_defer): Likewise.
37012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37013         (_pthread_cleanup_pop_restore): Likewise.
37014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37015         (pthread_setcancelstate): Likewise.
37016         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37017         <bp-sym.h>.
37018         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37019         (memchr): Do not use BP_SYM in weak_alias.
37020         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37021         (fegetenv): Do not use BP_SYM in versioned symbols.
37022         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37023         (fesetenv): Do not use BP_SYM in versioned symbols.
37024         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37025         (feupdateenv): Do not use BP_SYM in versioned symbols.
37026         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37027         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37028         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37029         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37030         (open64): Do not use BP_SYM in weak_alias.
37031         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37032         (fegetenv): Do not use BP_SYM in versioned symbols.
37033         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37034         (fesetenv): Do not use BP_SYM in versioned symbols.
37035         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37036         (feupdateenv): Do not use BP_SYM in versioned symbols.
37037         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37038         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37039         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37040         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37041         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37042         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37044         <bp-sym.h>.
37045         (__libc_start_main): Do not use BP_SYM.
37047 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37050         redundant return line.
37051         (norm): Likewise.
37052         (denorm): Likewise.
37053         (dbl_mp): Likewise.
37054         (sub_magnitudes): Likewise.
37055         (__add): Likewise.
37056         (__sub): Likewise.
37057         (__mul): Likewise.
37058         (__inv): Likewise.
37059         (__dvd): Likewise.
37060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37061         (norm): Likewise.
37062         (denorm): Likewise.
37063         (dbl_mp): Likewise.
37064         (sub_magnitudes): Likewise.
37065         (__add): Likewise.
37066         (__sub): Likewise.
37067         (__mul): Likewise.
37068         (__inv): Likewise.
37069         (__dvd): Likewise.
37071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37072         instead of __mul.
37073         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37074         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37075         (cc32): Likewise.
37077         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37078         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37080         of __mul for squares.
37081         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37082         function
37083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37084         Likewise.
37085         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37086         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37088 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37090         [BZ #13550]
37091         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37092         code.
37093         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37094         prototype or function definition.  Rename ubp_* variables and
37095         parameters.  Remove argv definitions conditional on
37096         [__BOUNDED_POINTERS__].
37097         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37098         * elf/dl-runtime.c (_dl_fixup): Likewise.
37099         * include/set-hooks.h (RUN_HOOK): Likewise.
37100         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37101         definition.
37102         * string/strcpy.c (strcpy): Do not use __unbounded.
37103         * sysdeps/generic/frame.h (struct layout): Likewise.
37104         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37105         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37106         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37107         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37108         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37109         (__backtrace): Likewise.
37110         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37111         use __ptrvalue.
37112         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37113         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37114         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37115         Likewise.
37116         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37117         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37118         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37119         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37120         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37121         Do not use __unbounded.
37122         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37123         Rename __unboundedrlimits parameter to rlimits in prototype.
37124         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37125         Do not use __unbounded.
37126         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37127         not use __ptrvalue.
37128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37129         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37130         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37131         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37132         __ptrvalue or __unbounded.
37133         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37134         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37135         use __unbounded.
37136         (__new_msgctl): Do not use __ptrvalue.
37137         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37138         __unbounded.
37139         (__libc_msgrcv): Do not use __ptrvalue.
37140         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37141         startup_info): Do not use __unbounded.
37142         (__libc_start_main): Likewise.  Rename ubp_* variables and
37143         parameters.  Remove argv definitions conditional on
37144         [__BOUNDED_POINTERS__].
37145         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37146         __ptrvalue.
37147         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37148         use __unbounded.
37149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37150         or __ptrvalue.
37151         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37152         use __unbounded.
37153         (__new_shmctl): Do not use __ptrvalue.
37154         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37155         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37156         Likewise.
37157         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37158         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37159         (__libc_sigaction): Likewise.
37160         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37161         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37162         Likewise.
37163         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37165 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37167         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37169         * string/mempcpy.c: Implement by calling memcpy.
37171 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37173         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37176         evaluation.
37178         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37179         values in the mantissa.
37181         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37182         minimize writes to Z.
37183         (sub_magnitudes): Simplify code a bit.
37185 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37187         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37188         from the message.  The linker prefixes all warnings with that already.
37190 2013-02-12  Andreas Schwab  <schwab@suse.de>
37192         [BZ #15078]
37193         * posix/regexec.c (extend_buffers): Add parameter min_len.
37194         (check_matching): Pass minimum needed length.
37195         (clean_state_log_if_needed): Likewise.
37196         (get_subexp): Likewise.
37197         * posix/Makefile (tests): Add bug-regex34.
37198         (bug-regex34-ENV): Define.
37199         * posix/bug-regex34.c: New file.
37201         [BZ #11561]
37202         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37203         elements compare against the byte sequence of it, not its name.
37204         * posix/Makefile (tests): Add bug-regex35.
37205         (bug-regex35-ENV): Define.
37206         * posix/bug-regex35.c: New file.
37208 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37210         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37211         comment.
37212         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37213         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37214         (CHECK_EOL): Add undef.
37216 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37218         * bits/stdlib-bsearch.h: New file.
37219         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37220         * stdlib/stdlib.h: Likewise.
37222 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37224         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37225         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37226         declaration.
37227         * manual/search.texi (Array Search Function): Add missing const in
37228         lfind prototype.
37229         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37230         declaration to use rlim_t.
37231         (Basic Scheduling Functions): Remove erroneous const from
37232         sched_getparam prototype.  Remove erroneous * from
37233         sched_get_priority_max and sched_get_priority_min prototypes.
37234         (Resource Usage): Fix summary @comment on vtimes to refer to
37235         sys/vtimes.h rather than vtimes.h.
37236         Add missing *s in vtimes prototype.
37237         (Limits on Resources): Fix ulimit prototype to return long int.
37238         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37239         prototypes to use long int rather than double.
37240         (BSD Random): Fix initstate and setstate to use char *, not void *.
37241         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37242         prototype to make second argument 'struct aiocb64 *const[]'.
37243         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37244         (Status of AIO Operations): Remove erroneous const in aio_return and
37245         aio_return64 prototypes.
37246         (Synchronizing I/O): Fix sync prototype to return void.
37247         * manual/startup.texi (Suboptions): Remove an erroneous const in
37248         getsubopt prototype.
37249         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37250         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37251         use size_t rather than int.
37252         (Scanning All Users): Likewise for getpwent_r.
37253         (Setting Groups): Add missing const to setgroups prototype.
37254         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37255         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37256         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37257         'const void *' rather than 'const char *'.
37258         (Host Address Functions): Likewise for inet_ntop.
37259         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37260         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37261         ssize_t for return value.
37262         (Sending Data): Likewise for send, sendto, sendmsg.
37263         (Socket Option Functions): Add a missing const in setsockopt prototype.
37264         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37265         use wchar_t for the argument.
37266         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37267         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37268         take no arguments.
37269         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37270         double/float/long double for second argument.
37271         Fix return types of significand, significandf, significandl.
37272         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37273         argument in fchmod prototype.
37274         (File Owner): Use uid_t and gid_t in fchown prototype.
37275         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37276         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37277         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37278         use 'const struct dirent **' as argument types to CMP function pointer
37279         argument.
37280         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37281         (File Times): Fix summary magic @comment for struct utimbuf and utime
37282         to refer to utime.h, not time.h.
37283         * manual/string.texi (Argz Functions): Add missing const in
37284         argz_extract and argz_next prototypes.
37285         (Finding Tokens in a String): Likewise for basename.
37286         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37287         (Copying and Concatenation): Fix typo in wmemmove prototype.
37288         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37289         (Signal Stack): Remove erroneous const in sigstack prototype.
37290         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37291         prototype.
37292         (Simple Calendar Time): Likewise for stime.
37293         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37294         prototype.
37295         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37296         say sys/sysctl.h instead.
37297         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37298         and vsyslog prototypes.
37300 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37302         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37303         Remove.
37305 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37307         * misc/sys/mman.h: Fix typo in mremap comment.
37309 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37311         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37312         the '\0' terminator.
37314 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37316         [BZ #13550]
37317         * debug/segfault.c: Don't include <bp-checks.h>.
37318         * sysdeps/generic/bp-checks.h: Remove file.
37319         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37320         (__GETDENTS): Don't use CHECK_N.
37321         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37322         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37323         (__getgroups): Don't use CHECK_N.
37324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37325         (setgroups): Don't use CHECK_N.
37326         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37327         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37328         (__libc_msgrcv): Don't use CHECK_N.
37329         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37330         (__libc_msgsnd): Don't use CHECK_N.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37332         <bp-checks.h>.
37333         (__libc_pread): Don't use CHECK_N.
37334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37335         include <bp-checks.h>.
37336         (__libc_pread64): Don't use CHECK_N.
37337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37338         include <bp-checks.h>.
37339         (__libc_pwrite): Don't use CHECK_N.
37340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37341         include <bp-checks.h>.
37342         (__libc_pwrite64): Don't use CHECK_N.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37344         <bp-checks.h>.
37345         (__libc_pread): Don't use CHECK_N.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37347         include <bp-checks.h>.
37348         (__libc_pread64): Don't use CHECK_N.
37349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37350         include <bp-checks.h>.
37351         (__libc_pwrite): Don't use CHECK_N.
37352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37353         include <bp-checks.h>.
37354         (__libc_pwrite64): Don't use CHECK_N.
37355         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37356         (do_pread): Don't use CHECK_N.
37357         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37358         (do_pread64): Don't use CHECK_N.
37359         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37360         (do_pwrite): Don't use CHECK_N.
37361         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37362         (do_pwrite64): Don't use CHECK_N.
37363         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37364         (__libc_readv): Don't use CHECK_N.
37365         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37366         (semop): Don't use CHECK_N.
37367         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37368         <bp-checks.h>.
37369         (semtimedop): Don't use CHECK_N.
37370         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37371         (__libc_pread): Don't use CHECK_N.
37372         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37373         <bp-checks.h>.
37374         (__libc_pread64): Don't use CHECK_N.
37375         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37376         <bp-checks.h>.
37377         (__libc_pwrite): Don't use CHECK_N.
37378         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37379         <bp-checks.h>.
37380         (__libc_pwrite64): Don't use CHECK_N.
37381         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37382         <bp-checks.h>.
37383         (__libc_msgrcv): Don't use CHECK_N.
37384         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37385         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37386         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37387         (__libc_writev): Don't use CHECK_N.
37389 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37391         * string/strcpy.c: Removed unused variable.
37393         * Makeconfig (+sysdep-includes): Define with := rather than =.
37394         Use an existing include/ subdir of each sysdeps dir before it.
37396 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37398         * nscd/connection.c (register_traced_file): Comment function.
37399         [HAVE_INOTIFY] (union __inev): Define.
37400         [HAVE_INOTIFY] (inotify_check_files): New function.
37401         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37402         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37403         clear_db_cache.
37404         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37406 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37408         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37409         loaded if not already and that a failure is permanent.
37411 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37413         [BZ #15006]
37414         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37415         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37417 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37419         [BZ #13550]
37420         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37421         (CHECK_1_NULL_OK): Likewise.
37422         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37423         (__fxstat): Do not use CHECK_1.
37424         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37425         <bp-checks.h>.
37426         (___fxstat64): Do not use CHECK_1.
37427         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37428         <bp-checks.h>.
37429         (__fxstatat): Do not use CHECK_1.
37430         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37431         <bp-checks.h>.
37432         (__fxstatat64): Do not use CHECK_1.
37433         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37434         <bp-checks.h>.
37435         (__fxstat): Do not use CHECK_1.
37436         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37437         <bp-checks.h>.
37438         (__fxstatat): Do not use CHECK_1.
37439         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37440         <bp-checks.h>.
37441         (__getresgid): Do not use CHECK_1.
37442         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37443         <bp-checks.h>.
37444         (__getresuid): Do not use CHECK_1.
37445         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37446         <bp-checks.h>.
37447         (__lxstat): Do not use CHECK_1.
37448         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37449         <bp-checks.h>.
37450         (__old_msgctl): Do not use CHECK_1.
37451         (__new_msgctl): Likewise.
37452         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37453         <bp-checks.h>.
37454         (__new_setrlimit): Do not use CHECK_1.
37455         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37456         <bp-checks.h>.
37457         (__old_shmctl): Do not use CHECK_1.
37458         (__new_shmctl): Likewise.
37459         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37460         <bp-checks.h>.
37461         (__xstat): Do not use CHECK_1.
37462         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37463         (__lxstat): Do not use CHECK_1.
37464         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37465         <bp-checks.h>.
37466         (___lxstat64): Do not use CHECK_1.
37467         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37468         (__old_msgctl): Do not use CHECK_1.
37469         (__new_msgctl): Likewise.
37470         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37471         <bp-checks.h>.
37472         (__gettimeofday): Do not use CHECK_1.
37473         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37474         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37475         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37476         <bp-checks.h>.
37477         (__gettimeofday): Do not use CHECK_1.
37478         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37479         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37480         (__new_shmctl): Do not use CHECK_1.
37481         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37482         <bp-checks.h>.
37483         (do_sigtimedwait): Do not use CHECK_1.
37484         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37485         <bp-checks.h>.
37486         (do_sigwaitinfo): Do not use CHECK_1.
37487         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37488         <bp-checks.h>.
37489         (msgctl): Do not use CHECK_1.
37490         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37491         <bp-checks.h>.
37492         (shmctl): Do not use CHECK_1.
37493         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37494         (ustat): Do not use CHECK_1.
37495         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37496         <bp-checks.h>.
37497         (__fxstat): Do not use CHECK_1.
37498         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37499         <bp-checks.h>.
37500         (__fxstatat): Do not use CHECK_1.
37501         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37502         <bp-checks.h>.
37503         (__lxstat): Do not use CHECK_1.
37504         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37505         <bp-checks.h>.
37506         (__xstat): Do not use CHECK_1.
37507         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37508         (__xstat): Do not use CHECK_1.
37509         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37510         (___xstat64): Do not use CHECK_1.
37512         [BZ #13550]
37513         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37514         definitions.
37515         (CHECK_BOUNDS_HIGH): Likewise.
37516         * string/strcpy.c: Do not include <bp-checks.h>.
37517         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37519 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37521         * nscd/nscd-client.h (__nscd_drop_map_ref):
37522         Add __attribute__ ((unused)).
37523         * nis/nss-nisplus.h (niserr2nss): Likewise.
37525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37526         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37528         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37529         Remove inline keyword.
37530         * include/rounding-mode.h (round_away): Likewise.
37531         * libio/wfileops.c (adjust_wide_data): Likewise.
37532         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37533         (__m128i_strloadu_tolower): Likewise.
37534         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37535         (__m128i_strloadu_tolower): Likewise.
37536         * time/mktime.c (ydhms_diff): Likewise.
37537         * locale/elem-hash.h (elem_hash): Likewise.
37538         * locale/setlocale.c (setdata): Likewise.
37539         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37540         (re_string_wchar_at): Likewise.
37541         (bitset_not, bitset_merge, bitset_mask): Likewise.
37542         [!(__GNUC__ > 3)] (inline): Remove macro.
37543         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37544         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37545         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37546         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37547         * string/memcmp.c (memcmp_bytes): Likewise.
37548         * locale/programs/locarchive.c (compute_hashval): Likewise.
37549         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37550         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37551         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37552         * nss/getent.c (print_rpc, print_protocols): Likewise.
37553         (print_passwd, print_group, print_aliases): Likewise.
37554         * nis/nss-nisplus.h (niserr2nss): Likewise.
37555         * nscd/connections.c (restart_p): Likewise.
37556         Change return type to bool.
37558 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37560         * Makeconfig (all-Depend-files): Add existing
37561         $(sorted-subdirs:=/Depend) files.
37562         (all-subdirs): Remove nss.
37563         * sysdeps/unix/inet/Subdirs: Add it here instead.
37564         * hesiod/Depend: New file.
37566         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37567         instead of calling alloca.
37569         * io/lseek.c (__lseek): Rename to __libc_lseek.
37570         Define __lseek as an alias.
37572         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37574 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37576         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37577         else clause and remove check for non-standard endianness.
37579 2013-02-04  David S. Miller  <davem@davemloft.net>
37581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37583 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37585         [BZ #13550]
37586         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37587         (__ubp_memchr): Remove prototype.
37588         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37589         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37590         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37591         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37592         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37593         Remove alias.
37594         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37595         (__ubp_memchr): Likewise.
37596         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37597         (__ubp_memchr): Likewise.
37598         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37599         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37600         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37601         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37602         CHECK_STRING.
37603         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37604         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37605         (__getcwd): Do not use CHECK_STRING.
37606         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37607         <bp-checks.h>.
37608         (__real_chown): Do not use CHECK_STRING.
37609         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37610         <bp-checks.h>.
37611         (fchownat): Do not use CHECK_STRING.
37612         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37613         CHECK_STRING.
37614         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37615         <bp-checks.h>.
37616         (__lchown): Do not use CHECK_STRING.
37617         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37618         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37619         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37620         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37622         include <bp-checks.h>.
37623         (truncate64): Do not use CHECK_STRING.
37624         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37625         <bp-checks.h>.
37626         (__real_chown): Do not use CHECK_STRING.
37627         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37628         <bp-checks.h>.
37629         (__lchown): Do not use CHECK_STRING.
37630         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37631         <bp-checks.h>.
37632         (__chown): Do not use CHECK_STRING.
37633         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37634         <bp-checks.h>.
37635         (truncate64): Do not use CHECK_STRING.
37636         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37637         Likewise.
37638         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37639         (__xmknod): Do not use CHECK_STRING.
37640         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37641         <bp-checks.h>.
37642         (__xmknodat): Do not use CHECK_STRING.
37643         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37644         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37646 2013-02-04  Andreas Schwab  <schwab@suse.de>
37648         [BZ #14142]
37649         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37650         * include/netdb.h: Likewise for h_errno.
37651         * elf/tst-stackguard1.c: Include <tls.h>.
37653 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37655         * elf/link.h (struct link_map): Extend the l_addr comment.
37656         * include/link.h (struct link_map): Likewise.
37658 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37660         [BZ #13550]
37661         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37662         (BOUNDED_1): Remove macro.
37663         * debug/backtrace.c: Don't include <bp-checks.h>.
37664         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37665         (__backtrace): Likewise.
37666         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37667         <bp-checks.h>.
37668         (__backtrace): Don't use BOUNDED_1.
37669         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37670         <bp-checks.h>.
37671         (__backtrace): Don't use BOUNDED_1.
37672         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37673         (__backtrace): Don't use BOUNDED_1.
37674         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37675         (shmat): Don't use BOUNDED_N.
37677 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37679         [BZ #13550]
37680         * sysdeps/generic/bp-start.h: Remove file.
37681         * csu/libc-start.c: Don't include <bp-start.h>.
37682         (LIBC_START_MAIN): Set up __environ directly instead of using
37683         INIT_ARGV_and_ENVIRON.
37684         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37685         <bp-start.h>.
37687         [BZ #13550]
37688         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37689         definitions.
37690         (CHECK_FCNTL): Likewise.
37691         (CHECK_N_PAGES): Likewise.
37693         [BZ #13550]
37694         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37695         definitions.
37696         (CHECK_SIGSET_NULL_OK): Likewise.
37697         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37698         <bp-checks.h>.
37699         (sigpending): Don't use CHECK_SIGSET.
37700         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37701         <bp-checks.h>.
37702         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37703         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37704         <bp-checks.h>.
37705         (do_sigsuspend): Don't use CHECK_SIGSET.
37706         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37707         use CHECK_SIGSET.
37708         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37709         (do_sigwait): Don't use CHECK_SIGSET.
37710         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37711         use CHECK_SIGSET.
37712         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37713         include <bp-checks.h>.
37714         (sigpending): Don't use CHECK_SIGSET.
37715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37716         include <bp-checks.h>.
37717         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37718         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37719         <bp-checks.h>.
37720         (sigpending): Don't use CHECK_SIGSET.
37721         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37722         <bp-checks.h>.
37723         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37725         [BZ #13550]
37726         * sysdeps/generic/bp-semctl.h: Remove file.
37727         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37728         <bp-checks.h> and <bp-semctl.h>.
37729         (__old_semctl): Don't use CHECK_SEMCTL.
37730         (__new_semctl): Likewise.
37731         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37732         and <bp-semctl.h>.
37733         (__old_semctl): Don't use CHECK_SEMCTL.
37734         (__new_semctl): Likewise.
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37736         <bp-checks.h> and <bp-semctl.h>.
37737         (__old_semctl): Don't use CHECK_SEMCTL.
37738         (__new_semctl): Likewise.
37739         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37740         <bp-checks.h> and <bp-semctl.h>.
37741         (semctl): Don't use CHECK_SEMCTL.
37743         [BZ #13550]
37744         * Makerules (elide-bp-thunks): Remove variable.
37745         (elide-routines.oS): Don't use $(elide-bp-thunks).
37746         (elide-routines.os): Likewise.
37747         (elide-routines.o): Likewise.
37748         (elide-routines.op): Likewise.
37749         (elide-routines.og): Likewise.
37750         (objects): Don't use $(bp-thunks).
37751         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37752         include.
37753         (common-generated): Do not add s-proto-bp.d.
37754         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37755         (int): Likewise.
37756         (typ): Likewise.
37757         Do not generate makefile rules for bounded-pointer thunks.
37758         * sysdeps/generic/bp-thunks.h: Remove file.
37759         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37760         * sysdeps/unix/s-proto-bp.S: Likewise.
37762         [BZ #15062]
37763         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37764         parts of result separately when argument is not close to line from
37765         -i to i and one part of argument is small.
37766         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37767         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37768         * math/libm-test.inc (cacos_test): Add more tests.
37769         (casin_test): Likewise.
37770         (casinh_test): Likewise.
37771         * sysdeps/i386/fpu/libm-test-ulps: Update.
37772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37774 2013-01-31  David S. Miller  <davem@davemloft.net>
37776         * po/de.po: Update from translation team.
37778 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37780         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37782 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37784         * configure.in (_AC_PROG_CC_C89): New definition.
37785         * configure: Regenerate.
37787         * configure.in (AC_PROG_CPP): New definition.
37788         * configure: Regenerate.
37790 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37792         * debug/tst-backtrace.h: New file.
37793         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37794         (ret): Remove variable.
37795         (x): Likewise.
37796         (FAIL): Remove macro.
37797         (NO_INLINE): Likewise.
37798         (fn1): Use match function instead of strstr.
37799         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37800         (ret): Remove variable.
37801         (x): Likewise.
37802         (FAIL): Remove macro.
37803         (NO_INLINE): Likewise.
37804         (fn): Use match function instead of strstr.
37805         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37806         (ret): Remove variable.
37807         (x): Likewise.
37808         (FAIL): Remove macro.
37809         (NO_INLINE): Likewise.
37810         (handle_signal): Use match function instead of strstr.
37811         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37812         (ret): Remove variable.
37813         (x): Likewise.
37814         (FAIL): Remove macro.
37815         (NO_INLINE): Likewise.
37816         (handle_signal): Use match function instead of strstr.
37818 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37820         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37822 2013-01-23  David S. Miller  <davem@davemloft.net>
37824         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37825         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37826         argument of CAS if possible.
37827         * sysdeps/sparc/sparc64/bits/atomic.h
37828         (__arch_compare_and_exchange_val_32_acq): Likewise.
37829         (__arch_compare_and_exchange_val_64_acq): Likewise.
37831 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37833         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37834         * sysdeps/posix/ulimit.c: ... this.
37835         Include <limits.h>.
37836         * sysdeps/unix/bsd/ulimit.c: Remove file.
37838 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37840         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37841         (LDFLAGS-tst-array5): Likewise.
37843 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37845         [BZ #15036]
37846         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37847         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37848         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37849         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37851 2013-01-21  David S. Miller  <davem@davemloft.net>
37853         * sysdeps/sparc/backtrace.c: New file.
37854         * sysdeps/sparc/sparc32/backtrace.h: New file.
37855         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37856         * sysdeps/sparc/sparc64/backtrace.h: New file.
37857         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37858         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37859         -funwind-tables.
37861 2013-01-21  Andreas Schwab  <schwab@suse.de>
37863         [BZ #15020]
37864         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37865         closed its stdout.
37867 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37870         "mpa2.h".
37871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37873 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37874             Mark Mitchell  <mark@codesourcery.com>
37875             Tom de Vries  <tom@codesourcery.com>
37876             Paul Pluzhnikov  <ppluzhnikov@google.com>
37878         * debug/tst-backtrace2.c: New file.
37879         * debug/tst-backtrace3.c: Likewise.
37880         * debug/tst-backtrace4.c: Likewise.
37881         * debug/tst-backtrace5.c: Likewise.
37882         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37883         (CFLAGS-tst-backtrace3.c): Likewise.
37884         (CFLAGS-tst-backtrace4.c): Likewise.
37885         (CFLAGS-tst-backtrace5.c): Likewise.
37886         (LDFLAGS-tst-backtrace2): Likewise.
37887         (LDFLAGS-tst-backtrace3): Likewise.
37888         (LDFLAGS-tst-backtrace4): Likewise.
37889         (LDFLAGS-tst-backtrace5): Likewise.
37890         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37891         tst-backtrace4 and tst-backtrace5.
37893 2013-01-18  Anton Blanchard  <anton@samba.org>
37894             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37896         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37897         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37898         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37899         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37901         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37902         "+r" and remove output regs list as redundant.  Add explicit inline
37903         asm to specify register of return val to work around compiler codegen
37904         bug.  Remove (int) cast on return value.  Add return type parameter to
37905         use in macro so that this macro does not truncate return value for
37906         64-bit values.
37907         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37908         pass to INTERNAL_VSYSCALL_NCS.
37909         (INLINE_VSYSCALL): Add 'long int' as return type to
37910         INTERNAL_VSYSCALL_NCS macro invocation.
37911         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37912         INTERNAL_VSYSCALL_NCS macro invocation.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37915 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37917         [BZ #14496]
37918         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37919         Fix application of SIMD FP exception mask.
37921         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37922         mp_no from a power of two.
37923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37924         __mpexp_twomm1.  Use __pow_mp.
37926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37927         multiplication.
37929 2013-01-17  David S. Miller  <davem@davemloft.net>
37931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37933 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37935         [BZ #15023]
37936         * include/complex.h: Condition contents on [!_COMPLEX_H].
37937         (__kernel_casinhf): New prototype.
37938         (__kernel_casinh): Likewise.
37939         (__kernel_casinhl): Likewise.
37940         * math/Makefile (libm_calls): Add k_casinh.
37941         * math/k_casinh.c: New file.
37942         * math/k_casinhf.c: Likewise.
37943         * math/k_casinhl.c: Likewise.
37944         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37945         finite nonzero arguments.
37946         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37947         finite nonzero arguments.
37948         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37949         finite nonzero arguments.
37950         * math/s_casinh.c: Do not include <float.h>.
37951         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37952         * math/s_casinhf.c: Do not include <float.h>.
37953         (__casinhf): Move code for finite nonzero arguments to
37954         k_casinhf.c.
37955         * math/s_casinhl.c: Do not include <float.h>.
37956         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37957         redefine.
37958         (__casinhl): Move code for finite nonzero arguments to
37959         k_casinhl.c.
37960         * math/libm-test.inc (cacos_test): Add more tests.
37961         * sysdeps/i386/fpu/libm-test-ulps: Update.
37962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37964 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37966         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37967         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37968         [!HAVE_MREMAP]: Remove [defined linux] case.
37969         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37971 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37973         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37975 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37977         * elf/elf.h (R_386_SIZE32): New relocation.
37978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37979         R_386_SIZE32.
37980         (elf_machine_rela): Likewise.
37981         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37982         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37984 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37986         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37987         (FP_FAST_FMA): Do not define.
37988         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37989         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37990         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37991         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37992         !_SOFT_FLOAT]: Likewise.
37993         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37994         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37995         value.
37996         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37997         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37998         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37999         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38000         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38001         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38002         file.
38004 2013-01-16  Andreas Schwab  <schwab@suse.de>
38006         [BZ #14327]
38007         * include/stdlib.h (__mktemp): Add declaration.
38008         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38009         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38011 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38013         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38014         definitions.
38015         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38016         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38017         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38018         definitions here.
38019         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38020         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38021         definitions.
38022         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38023         and ONE.
38024         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38025         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38026         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38027         definitions.
38028         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38029         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38030         definitions.
38031         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38033         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38035 2013-01-15  David S. Miller  <davem@davemloft.net>
38037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38038         trunc{,f} to libm-sysdep_routes.
38039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38041         file.
38042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38044         file.
38045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38046         file.
38047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38049         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38050         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38051         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38052         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38053         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38054         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38057         nearbyint{,f} to libm-sysdep_routes.
38058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38060         New file.
38061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38062         file.
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38064         New file.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38066         file.
38067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38069         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38070         file.
38071         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38072         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38073         file.
38074         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38075         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38076         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38078         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38079         libc_feholdexcept and libc_fesetenv.
38081 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38083         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38085 2013-01-14  David S. Miller  <davem@davemloft.net>
38087         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38088         (SPARC_ASM_VIS2_IFUNC): Likewise.
38089         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38091         use of 'siam' instruction.
38092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38093         Likewise.
38094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38095         Likewise.
38096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38097         Likewise.
38098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38103         file.
38104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38105         file.
38106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38107         file.
38108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38109         file.
38110         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38111         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38115         new VIS2 routines.
38116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38119         Likewise.
38120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38122         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38125         routines to libm-sysdep_routines.
38126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38129         fdim/fdimf to libm-sysdep_routines.
38130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38131         file.
38132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38134         file.
38135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38138         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38139         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38140         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38141         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38143 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38145         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38146         to optimize copies.
38148         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38153         local variable MPTWO.
38154         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38155         Likewise.
38157 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38159         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38160         GLOB_NOESCAPE.
38162 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38164         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38166 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38168         * manual/pattern.texi (glob_t): Document gl_flags.
38169         (glob64_t): Likewise.
38171 2013-01-11  David S. Miller  <davem@davemloft.net>
38173         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38174         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38175         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38176         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38177         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38178         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38179         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38180         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38181         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38182         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38183         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38184         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38185         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38187         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38188         sparc V9 rather than using V8 code.
38189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38192         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38193         Move to...
38194         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38195         Here.
38197 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38199         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38200         not in the main loop.
38201         * configure: Regenerated.
38203 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38205         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38206         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38207         to just #else.
38208         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38209         [!__GLIBC_HAVE_LONG_LONG] case.
38210         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38211         condition to just #else.
38212         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38213         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38214         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38215         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38216         unconditional.
38217         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38218         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38219         #elif condition to just #else.
38220         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38221         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38222         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38223         #elif condition to just #else.
38225 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38227         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38228         (EF_MIPS_ARCH_64): Fix value.
38229         (EF_MIPS_ARCH_32R2): New.
38230         (EF_MIPS_ARCH_64R2): New.
38232 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38234         * Makeconfig (+link-pie-before-libc): New.
38235         (+link-pie-after-libc): Likewise.
38236         (+link-pie-tests): Likewise.
38237         (+link-pie): Rewritten.
38238         (link-before-libc): Remove $(config-LDFLAGS).
38239         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38240         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38241         (config-LDFLAGS): Renamed to ...
38242         (rtld-LDFLAGS): This.
38243         (rtld-tests-LDFLAGS): New macro.
38244         (link-libc-rpath-link): Likewise.
38245         (link-libc-tests-rpath-link): Likewise.
38246         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38247         (link-libc): Prepand $(link-libc-rpath-link).
38248         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38249         (test-program-prefix): New macro.
38250         (test-via-rtld-prefix): Likewise.
38251         (test-program-cmd): Likewise.
38252         (host-test-program-cmd): Likewise.
38253         * Makefile ($(common-objpfx)testrun.sh): Replace
38254         $(run-program-prefix) with $(test-program-prefix).
38255         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38256         $(rtld-LDFLAGS).
38257         ($(common-objpfx)shlib.lds): Likewise.
38258         (build-module-helper): Likewise.
38259         ($(common-objpfx)format.lds): Likewise.
38260         * Rules (binaries-pie-tests): New.
38261         (binaries-pie-notests): Likewise.
38262         (binaries-pie): Rewritten.
38263         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38264         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38265         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38266         (make-test-out): Replace $(host-built-program-cmd) with
38267         $(host-test-program-cmd).
38268         * config.make.in (build-hardcoded-path-in-tests): New variable.
38269         * configure.in (--enable-hardcoded-path-in-tests): New configure
38270         option.
38271         (hardcoded_path_in_tests): New AC_SUBST.
38272         * configure: Regenerated.
38273         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38274         $(built-program-cmd) with $(test-program-cmd).
38275         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38276         (test_program_cmd): This.
38277         * elf/Makefile ($(objpfx)order.out): Run test with
38278         $(test-program-prefix).
38279         ($(objpfx)order2.out): Likewise.
38280         ($(objpfx)tst-initorder.out): Likewise.
38281         ($(objpfx)tst-initorder2.out): Likewise.
38282         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38283         $(test-program-cmd).
38284         ($(objpfx)tst-array1-static.out): Likewise.
38285         ($(objpfx)tst-array2.out): Likewise.
38286         ($(objpfx)tst-array3.out): Likewise.
38287         ($(objpfx)tst-array4.out): Likewise.
38288         ($(objpfx)tst-array5.out): Likewise.
38289         ($(objpfx)tst-array5-static.out): Likewise.
38290         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38291         $(test-program-cmd).
38292         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38293         $(run-program-prefix) with $(test-program-prefix).
38294         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38295         (test_program_prefix): This.
38296         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38297         $(run-program-prefix) with $(test-program-prefix).
38298         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38299         (test_program_prefix): This.
38300         * iconvdata/tst-tables.sh: Likewise.
38301         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38302         $(run-program-prefix) with $(test-program-prefix).
38303         ($(objpfx)tst-translit.out): Likewise.
38304         ($(objpfx)tst-gettext2.out): Likewise.
38305         ($(objpfx)tst-gettext4.out): Likewise.
38306         ($(objpfx)tst-gettext6.out): Likewise.
38307         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38308         (test_program_prefix): This.
38309         * intl/tst-gettext2.sh: Likewise.
38310         * intl/tst-gettext4.sh  Likewise.
38311         * intl/tst-gettext6.sh: Likewise.
38312         * intl/tst-translit.sh: Likewise.
38313         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38314         with $(test-program-cmd).
38315         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38316         $(run-program-prefix) with $(test-program-prefix).
38317         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38318         (test_program_prefix): This.
38319         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38320         $(run-program-prefix) with $(test-program-prefix).
38321         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38322         (test_program_prefix): This.
38323         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38324         * posix/Makefile ($(objpfx)globtest.out): Replace
38325         $(run-via-rtld-prefix) and $(test-wrapper) with
38326         $(test-program-prefix) and $(test-via-rtld-prefix).
38327         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38328         $(test-program-prefix).
38329         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38330         $(host-test-program-cmd).
38331         (tst-spawn-ARGS): Likewise.
38332         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38333         $(test-program-prefix).
38334         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38335         (test_via_rtld_prefix): This.
38336         (test_wrapper): Renamed to ...
38337         (test_program_prefix): This.
38338         (run_program_prefix): Replaced by test_program_prefix.
38339         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38340         (test_program_prefix): This.
38341         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38342         with $(host-test-program-cmd).
38343         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38344         $(run-program-prefix) with $(test-program-prefix).
38345         ($(objpfx)tst-printf.out): Likewise.
38346         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38347         $(test-program-cmd).
38348         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38349         (test_program_prefix): This.
38350         * stdio-common/tst-unbputc.sh: Likewise.
38351         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38352         $(run-program-prefix) with $(test-program-prefix).
38353         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38354         (test_program_prefix): This.
38355         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38356         $(built-program-cmd) with $(test-program-cmd).
38358 2013-01-11  Andreas Jaeger  <aj@suse.de>
38360         [BZ #15003]
38361         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38362         value. Sync with Linux 3.7.
38364 2013-01-10  David S. Miller  <davem@davemloft.net>
38366         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38367         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38368         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38370 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38372         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38373         never set.
38374         * configure: Regenerated.
38376 2013-01-10  David S. Miller  <davem@davemloft.net>
38378         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38379         sparc V9 rather than using V8 code.
38380         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38381         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38383 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38385         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38386         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38387         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38388         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38389         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38390         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38391         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38392         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38393         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38394         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38395         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38396         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38397         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38398         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38399         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38400         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38401         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38402         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38403         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38404         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38405         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38406         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38407         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38408         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38409         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38410         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38411         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38413 2013-01-10  David S. Miller  <davem@davemloft.net>
38415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38417 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38419         * posix/Makefile (tests-static): New variable.
38420         (tests): Add $(tests-static).
38421         (tst-exec-static-ARGS): New variable.
38422         (tst-spawn-static-ARGS): Likewise.
38423         * posix/tst-exec-static.c: New file.
38424         * posix/tst-spawn-static.c: Likewise.
38425         * posix/tst-exec.c: Support run directly.
38426         * posix/tst-spawn.c: Likewise.
38428 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38430         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38431         long.
38432         * math/bits/mathcalls.h (llrint): Likewise.
38433         (llround): Likewise.
38434         * stdlib/stdlib.h (struct drand48_data): Likewise.
38435         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38436         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38437         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38438         Likewise.
38439         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38440         Likewise.
38441         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38442         (elf_greg_t): Likewise.
38443         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38444         (__jmp_buf): Likewise.
38445         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38446         definitions.
38447         (llrint): Likewise, for all definitions.
38448         (llrintl): Likewise.
38450         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38451         Remove [__GNUC__] condition.
38452         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38453         condition to just [__USE_ISOC99].
38454         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38456 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38458         [BZ #14200]
38459         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38460         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38461         defined.
38462         (_POSIX_V6_ILP32_OFF32): Likewise.
38463         (_XBS5_ILP32_OFF32): Likewise.
38464         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38465         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38467 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38469         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38471         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38472         doubles __mpexp_twomm1.  Adjust usage.
38473         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38474         Remove.
38476 2013-01-10  Andreas Schwab  <schwab@suse.de>
38478         [BZ #14964]
38479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38480         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38482 2013-01-09  David S. Miller  <davem@davemloft.net>
38484         [BZ #15003]
38485         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38486         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38487         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38488         (TCP_FASTOPEN): Define.
38489         (tcp_repair_opt): New structure.
38490         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38491         enum values.
38492         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38493         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38494         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38495         (tcp_cookie_transactions): New structure.
38497 2013-01-09  Anton Blanchard  <anton@samba.org>
38499         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38500         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38502         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38504 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38506         * include/features.h (__USE_ANSI): Remove.
38508 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38510         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38512         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38514 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38516         * sysdeps/s390/fpu/libm-test-ulps: Update.
38518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38520         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38521         (__acr): Likewise.
38522         (__cpy): Likewise.
38523         (norm): Likewise.
38524         (denorm): Likewise.
38525         (__mp_dbl): Likewise.
38526         (__dbl_mp): Likewise.
38527         (add_magnitudes): Likewise.
38528         (sub_magnitudes): Likewise.
38529         (__add): Likewise.
38530         (__sub): Likewise.
38531         (__mul): Likewise.
38532         (__inv): Likewise.
38533         (__dvd): Likewise.
38534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38535         (__acr): Likewise.
38536         (__cpy): Likewise.
38537         (norm): Likewise.
38538         (denorm): Likewise.
38539         (__mp_dbl): Likewise.
38540         (__dbl_mp): Likewise.
38541         (add_magnitudes): Likewise.
38542         (sub_magnitudes): Likewise.
38543         (__add): Likewise.
38544         (__sub): Likewise.
38545         (__mul): Likewise.
38546         (__inv): Likewise.
38547         (__dvd): Likewise.
38548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38549         (__acr): Likewise.
38550         (__cpy): Likewise.
38551         (norm): Likewise.
38552         (denorm): Likewise.
38553         (__mp_dbl): Likewise.
38554         (__dbl_mp): Likewise.
38555         (add_magnitudes): Likewise.
38556         (sub_magnitudes): Likewise.
38557         (__add): Likewise.
38558         (__sub): Likewise.
38559         (__mul): Likewise.
38560         (__inv): Likewise.
38561         (__dvd): Likewise.
38563 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38565         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38566         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38567         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38568         2 && __USE_EXTERN_INLINES]: Likewise.
38570 2013-01-08  Andreas Jaeger  <aj@suse.de>
38572         [BZ# 14985]
38573         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38574         Remove.
38575         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38576         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38578 2013-01-07  Anton Blanchard  <anton@samba.org>
38580         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38581         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38582         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38583         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38584         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38585         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38586         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38587         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38589         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38590         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38591         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38593         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38594         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38595         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38596         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38598         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38599         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38600         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38601         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38603         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38604         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38605         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38606         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38607         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38610         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38612         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38613         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38614         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38615         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38616         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38618         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38622         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38624 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38626         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38627         (__MALLOC_PMT): Likewise.
38628         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38629         [__GNUC__], only on [_LIBC].
38630         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38631         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38632         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38633         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38634         forward declaration.
38635         (realloc_hook_ini): Likewise.
38636         (memalign_hook_ini): Likewise.
38637         (__libc_memalign): Do not use __MALLOC_PMT in variable
38638         declaration.
38639         (__libc_valloc): Likewise.
38640         (__libc_pvalloc): Likewise.
38641         (__libc_calloc): Likewise.
38642         (__posix_memalign): Likewise.
38644         [BZ #14996]
38645         * math/s_casinh.c: Include <float.h>.
38646         (__casinh): Do not do computation with squaring and square root
38647         for large arguments.
38648         * math/s_casinhf.c: Include <float.h>.
38649         (__casinhf): Do not do computation with squaring and square root
38650         for large arguments.
38651         * math/s_casinhl.c: Include <float.h>.
38652         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38653         (__casinhl): Do not do computation with squaring and square root
38654         for large arguments.
38655         * math/libm-test.inc (casin_test): Add more tests.
38656         (casinh_test): Likewise.
38657         * sysdeps/i386/fpu/libm-test-ulps: Update.
38658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38660 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38662         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38663         (__x86_64_raw_data_cache_size): Likewise.
38664         (__x86_64_data_cache_size_half): Likewise.
38665         (__x86_64_raw_data_cache_size_half): Likewise.
38666         (__x86_64_shared_cache_size): Likewise.
38667         (__x86_64_raw_shared_cache_size): Likewise.
38668         (__x86_64_shared_cache_size_half): Likewise.
38669         (__x86_64_raw_shared_cache_size_half): Likewise.
38670         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38671         to ...
38672         (__x86_data_cache_size): This.
38673         (__x86_64_raw_data_cache_size): Renamed to ...
38674         (__x86_raw_data_cache_size): This.
38675         (__x86_64_data_cache_size_half): Renamed to ...
38676         (__x86_data_cache_size_half): This.
38677         (__x86_64_raw_data_cache_size_half): Renamed to ...
38678         (__x86_raw_data_cache_size_half): This.
38679         (__x86_64_shared_cache_size): Renamed to ...
38680         (__x86_shared_cache_size): This.
38681         (__x86_64_raw_shared_cache_size): Renamed to ...
38682         (__x86_raw_shared_cache_size): This.
38683         (__x86_64_shared_cache_size_half): Renamed to ...
38684         (__x86_shared_cache_size_half): This.
38685         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38686         (__x86_raw_shared_cache_size_half): This.
38687         * sysdeps/x86_64/memcpy.S: Updated.
38688         * sysdeps/x86_64/memset.S: Likewise.
38689         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38693 2013-01-04  David S. Miller  <davem@davemloft.net>
38695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38697 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38699         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38700         1 to avoid redefinition warning.
38701         (__USE_GNU): Don't define.
38702         (init_signaling_nan): Protoize.
38704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38706 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38708         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38710         (__cpymn): Likewise.
38711         (norm): Remove commented code.
38712         (denorm): Likewise.
38713         (__mp_dbl): Likewise.
38714         (__inv): Likewise.
38715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38716         (__cpymn): Likewise.
38717         (norm): Remove commented code.
38718         (denorm): Likewise.
38719         (__mp_dbl): Likewise.
38720         (__inv): Likewise.
38722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38723         mp_no value for 1.0 and 2.0.
38724         (norm): Use RADIXI instead of radixi.d.
38725         (denorm): Likewise.
38726         (__mul): Use 0.0 instead of zero.d.
38727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38728         mp_no value for 1.0 and 2.0.
38729         (norm): Use RADIXI instead of radixi.d.
38730         (denorm): Likewise.
38731         (__mul): Use 0.0 instead of zero.d.
38733 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38735         [BZ #14994]
38736         * math/s_casinh.c (__casinh): Reduce finite argument to first
38737         quadrant then set signs of results at the end.
38738         * math/s_casinhf.c (__casinhf): Likewise.
38739         * math/s_casinhl.c (__casinhl): Likewise.
38740         * math/libm-test.inc (casin_test): Add more tests.
38741         (casinh_test): Likewise.
38742         * sysdeps/i386/fpu/libm-test-ulps: Update.
38743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38745 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38749         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38751         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38752         declarations.
38753         (denorm): Likewise.
38754         (__mp_dbl): Likewise.
38755         (__inv): Likewise.
38757         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38758         and adjust the header comment.
38760         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38761         variable name from declaration.
38763 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38766         Initialize COMMON_CPUID_INDEX_7 element.
38767         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38768         (CPUID_RTM): Likewise.
38769         (HAS_RTM): Likewise.
38770         (COMMON_CPUID_INDEX_7): New enum.
38772 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38774         [BZ #14981]
38775         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38776         size is zero, record memory as freed.
38778 2013-01-03  Andreas Jaeger  <aj@suse.de>
38780         * po/ia.po: Add new Interlingua translation.
38782 2012-01-03  Allan McRae  <allan@archlinux.org>
38784         * locale/programs/localedef.c: Fix description of '--posix' flag.
38786 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38788         * NEWS: Update dates in second copyright notice.
38789         * README: Update copyright dates in example.
38790         * manual/libc.texinfo: Update copyright dates.
38791         * scripts/test-installation.pl: Update copyright date in --version
38792         output.
38794         * hurd/ctty-input.c: Fix copyright notice formatting.
38795         * hurd/ctty-output.c: Likewise.
38796         * hurd/dtable.c: Likewise.
38797         * hurd/hurd-raise.c: Likewise.
38798         * hurd/hurdprio.c: Likewise.
38799         * hurd/msgportdemux.c: Likewise.
38800         * misc/sys/file.h: Likewise.
38801         * misc/sys/ioctl.h: Likewise.
38802         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38803         * sysdeps/mach/hurd/chdir.c: Likewise.
38804         * sysdeps/mach/hurd/fchdir.c: Likewise.
38805         * sysdeps/mach/hurd/rename.c: Likewise.
38806         * sysdeps/mach/hurd/rmdir.c: Likewise.
38807         * sysdeps/mach/hurd/seekdir.c: Likewise.
38808         * sysdeps/mach/hurd/setsid.c: Likewise.
38809         * sysdeps/posix/wait3.c: Likewise.
38811         * All files with FSF copyright notices: Update copyright dates
38812         using scripts/update-copyrights.
38813         * intl/plural.c: Regenerated.
38814         * locale/programs/charmap-kw.h: Likewise.
38815         * locale/programs/locfile-kw.h: Likewise.
38817 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38819         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38820         four values.
38822         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38823         calculation loop and add branch prediction.
38825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38826         check access beyond bounds of m1np.
38828         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38829         MPTWO.
38830         (__inv): Remove local variable MPTWO to use the global
38831         constant.
38832         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38834         variable MPTWO.
38835         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38836         MP3HALFS static const.
38838 2013-01-01  David S. Miller  <davem@davemloft.net>
38840         * po/ca.po: Update from translation team.
38842 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38844         * scripts/update-copyrights: New file.
38845         * Makeconfig: Reformat copyright notice.
38846         * ctype/ctype.h: Likewise.
38847         * debug/swprintf_chk.c: Likewise.
38848         * elf/dl-cache.c: Likewise.
38849         * elf/dl-debug.c: Likewise.
38850         * elf/dl-object.c: Likewise.
38851         * grp/initgroups.c: Likewise.
38852         * hurd/Makefile: Likewise.
38853         * hurd/hurd/signal.h: Likewise.
38854         * hurd/hurdfault.c: Likewise.
38855         * hurd/hurdioctl.c: Likewise.
38856         * hurd/hurdlookup.c: Likewise.
38857         * hurd/intr-msg.c: Likewise.
38858         * iconv/gconv_open.c: Likewise.
38859         * libio/swprintf.c: Likewise.
38860         * locale/lc-ctype.c: Likewise.
38861         * locale/nl_langinfo.c: Likewise.
38862         * mach/Machrules: Likewise.
38863         * mach/Makefile: Likewise.
38864         * malloc/obstack.h: Likewise.
38865         * manual/Makefile: Likewise.
38866         * manual/tsort.awk: Likewise.
38867         * misc/bits/stab.def: Likewise.
38868         * nis/nis_print_group_entry.c: Likewise.
38869         * nis/nis_table.c: Likewise.
38870         * nis/nss_compat/compat-pwd.c: Likewise.
38871         * nis/nss_compat/compat-spwd.c: Likewise.
38872         * po/Makefile: Likewise.
38873         * posix/fnmatch.c: Likewise.
38874         * posix/regex.h: Likewise.
38875         * resolv/Makefile: Likewise.
38876         * resolv/nss_dns/dns-network.c: Likewise.
38877         * resolv/res_hconf.c: Likewise.
38878         * scripts/gen-sorted.awk: Likewise.
38879         * soft-fp/soft-fp.h: Likewise.
38880         * stdio-common/printf.h: Likewise.
38881         * stdlib/monetary.h: Likewise.
38882         * stdlib/random.c: Likewise.
38883         * stdlib/random_r.c: Likewise.
38884         * sysdeps/generic/Makefile: Likewise.
38885         * sysdeps/gnu/Makefile: Likewise.
38886         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38914         * sysdeps/mach/hurd/errnos.awk: Likewise.
38915         * sysdeps/mach/hurd/fork.c: Likewise.
38916         * sysdeps/mach/hurd/getcwd.c: Likewise.
38917         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38918         * sysdeps/mach/hurd/mmap.c: Likewise.
38919         * sysdeps/mach/hurd/utimes.c: Likewise.
38920         * sysdeps/mach/hurd/xmknod.c: Likewise.
38921         * sysdeps/posix/profil.c: Likewise.
38922         * sysdeps/posix/readdir_r.c: Likewise.
38923         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38924         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38925         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38926         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38928         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38929         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38930         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38932         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38933         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38934         * sysdeps/pthread/lio_listio.c: Likewise.
38935         * sysdeps/sparc/dl-procinfo.h: Likewise.
38936         * sysdeps/unix/i386/sysdep.S: Likewise.
38937         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38938         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38939         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38940         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38942         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38943         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38944         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38945         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38946         * sysdeps/wordsize-32/divdi3.c: Likewise.
38947         * time/sys/time.h: Likewise.
38948         * wcsmbs/Makefile: Likewise.
38950 2013-01-01  David S. Miller  <davem@davemloft.net>
38952         * po/fr.po: Update from translation team.
38954         * catgets/gencat.c: Update copyright year.
38955         * csu/version.c: Likewise.
38956         * debug/catchsegv.sh: Likewise.
38957         * debug/pcprofiledump.c: Likewise.
38958         * debug/xtrace.sh: Likewise.
38959         * elf/ldconfig.c: Likewise.
38960         * elf/ldd.bash.in: Likewise.
38961         * elf/pldd.c: Likewise.
38962         * elf/sotruss.ksh: Likewise.
38963         * elf/sprof.c: Likewise.
38964         * iconv/iconv_prog.c: Likewise.
38965         * iconv/iconvconfig.c: Likewise.
38966         * locale/programs/locale.c: Likewise.
38967         * locale/programs/localedef.c: Likewise.
38968         * login/programs/pt_chown.c: Likewise.
38969         * malloc/memusage.sh: Likewise.
38970         * malloc/memusagestat.c: Likewise.
38971         * malloc/mtrace.pl: Likewise.
38972         * nscd/nscd.c: Likewise.
38973         * nss/getent.c: Likewise.
38974         * nss/makedb.c: Likewise.
38975         * posix/getconf.c: Likewise.
38977 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38979         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38980         numbers.
38982 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38984         * math/bits/mathcalls.h (modf): Use __nonnull.
38986 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38989         (split): Use macro CN instead of the bare value.
38990         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38991         could be used.
38992         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38993         instead of the bare value.
38994         (power1): Likewise.
38996 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38999         __ATAN_TWOM.
39000         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39002         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39003         their values.
39004         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39005         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39006         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39007         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39009 2012-12-28  Andreas Jaeger  <aj@suse.de>
39011         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39012         values are from Linux 3.7.
39014         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39015         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39017 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39019         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39020         TRUE case.
39022         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39023         (norm): Likewise.
39024         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39025         variables with preprocessor constants.
39026         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39027         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39028         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39030 2012-12-27  Bruno Haible  <bruno@clisp.org>
39032         [BZ #14317]
39033         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39034         only if needed.
39036 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39039         and use variable directly.
39040         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39042         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39043         MPONE.
39044         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39045         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39046         variable MPONE.
39047         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39049         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39050         include directive.  Remove local variable MPONE.
39051         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39055 2012-12-25  David S. Miller  <davem@davemloft.net>
39057         * version.h (RELEASE): Set to "development".
39058         (VERSION): Set to "2.17.90".
39059         * NEWS: Add 2.18 section.
39061 2012-12-21  David S. Miller  <davem@davemloft.net>
39063         * po/hr.po: Update from translation team.
39065 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39067         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39069 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39071         * NEWS:  Mention new memcpy for MIPS.
39073 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39075         * manual/contrib.texi (Contributors): Spelling correction.
39077 2012-12-15  David S. Miller  <davem@davemloft.net>
39079         * po/ru.po: Update from translation team.
39081 2012-12-13  David S. Miller  <davem@davemloft.net>
39083         * NEWS: Mention IFUNC testsuite enhancements.
39085         * po/pl.po: Update from translation team.
39086         * po/bg.po: Likewise.
39088         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39089         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39091 2012-12-11  David S. Miller  <davem@davemloft.net>
39093         * po/sv.po: Update from translation team.
39095         * po/vi.po: Update from translation team.
39097         * po/cs.po: Update from translation team.
39099         * po/de.po: Update from translation team.
39100         * po/eo.po: Likewise.
39101         * po/nl.po: Likewise.
39103 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39105         [BZ #14246]
39106         * manual/argp.texi (Argp Helper Functions): Move node to follow
39107         Argp Parsing State.
39109         [BZ #14872]
39110         * manual/conf.texi (Limits on File System Capacity): Mention if
39111         terminating null is included in the max size.
39113 2012-12-10  Andreas Jaeger  <aj@suse.de>
39115         * po/cs.po: Update from translation team.
39117 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39119         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39120         void pointer and cast to uintptr_t.
39121         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39122         path.
39123         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39124         * sysdeps/s390/s390-64/memset.S: Likewise.
39126 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39128         [BZ #14833]
39129         * menual/message.texi (Message Translation): Fix typos.
39130         (Helper programs for gettext): Likewise.
39132 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39134         [BZ #14898]
39135         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39136         Change to -1.
39138 2012-12-07  David S. Miller  <davem@davemloft.net>
39140         * po/libc.pot: Update.
39142 2012-12-07  Richard Henderson  <rth@redhat.com>
39144         [BZ #10114]
39145         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39146         normal/normal case to before the switch.
39147         (_FP_DIV): Likewise.
39149 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39150             Mike Frysinger  <vapier@gentoo.org>
39152         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39153         check for __NR_fadvise64_64.
39155 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39157         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39158         0, not just to plain "0" as a statement.
39159         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39160         with cw.
39162 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39164         * NEWS: Use sourceware.org in Bugzilla URL.
39166 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39169         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39171         * stdio-common/tst-put-error.c (do_test): Add newline to the
39172         padded test to ensure flush.
39174 2012-12-05  Jeff Law  <law@redhat.com>
39176         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39178 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39180         * README: Don't refer to ports add-on as distributed separately.
39181         Mention AArch64 in list of systems supported in the ports add-on.
39183         * LICENSES: Add more non-FSF copyright and license notices.
39185         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39186         ((unused)).
39188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39190         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39191         10000 as width of padded output.
39193 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39195         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39198         variable LX with __attribute__ ((unused)).
39199         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39200         Likewise.
39201         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39203         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39204         with __attribute__ ((unused)).
39206 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39208         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39210 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39212         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39213         (CFLAGS-nldbl-acos.c): New variable.
39214         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39215         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39216         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39217         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39218         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39219         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39220         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39221         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39222         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39223         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39224         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39225         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39226         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39227         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39228         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39229         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39230         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39231         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39232         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39233         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39234         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39235         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39236         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39237         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39238         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39239         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39240         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39241         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39242         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39243         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39244         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39245         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39246         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39247         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39248         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39249         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39250         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39251         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39252         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39253         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39254         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39255         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39256         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39257         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39258         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39259         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39260         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39261         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39262         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39263         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39264         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39265         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39266         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39267         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39268         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39269         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39270         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39271         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39272         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39273         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39274         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39275         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39276         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39277         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39278         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39279         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39280         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39281         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39282         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39283         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39284         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39285         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39286         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39287         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39288         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39289         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39290         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39291         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39292         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39293         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39294         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39295         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39296         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39297         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39298         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39299         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39300         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39301         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39302         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39303         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39304         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39305         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39306         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39307         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39308         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39309         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39310         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39313         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39315         [BZ #14914]
39316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39317         whole low double instead of just low 47 bits when splitting values
39318         into two parts.
39320 2012-12-03  Allan McRae  <allan@archlinux.org>
39322         * manual/stdio.texi (Predefined Printf Handlers): Remove
39323         @hsep and @vsep usage.
39325 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39327         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39328         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39330 2012-12-03  Jeff Law  <law@redhat.com>
39332         * time/sys/time.h (settimeofday): Do not mark TV argument
39333         as __nonnull.
39335 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39337         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39338         when currently writing and seek to current position when not.
39339         * libio/Makefile (tests): Remove bug-fclose1.
39340         * libio/bug-fclose1.c: Delete.
39342 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39344         * manual/arith.texi (feenableexcept): Fix typo.
39345         (fedisableexcept): Likewise.
39347 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39349         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39350         second, differently-typed declaration, rather than a cast.
39352 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39354         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39355         * include/rpc/svc.h: ... here.
39357 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39359         [BZ #13013]
39360         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39361         depending n and resplen2 to catch cases where answer
39362         equals answerp2.
39364 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39366         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39367         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39369 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39371         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39373 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39375         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39377 2012-11-28  Jeff Law  <law@redhat.com>
39379         [BZ #13761]
39380         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39381         dataset_temporary.  Track alloca usage into alloca_used.
39382         If dataset is large allocate and release it via malloc/free.
39384 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39386         [BZ #14197]
39387         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39389 2012-11-28  David S. Miller  <davem@davemloft.net>
39391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39393 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39395         [BZ #14803]
39396         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39397         of pi/2 rounded to nearest to 64 bits.
39398         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39399         nearest to 64 bits.
39400         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39401         bits.
39403 2012-11-28  Jeff Law <law@redhat.com>
39404             Martin Osvald <mosvald@redhat.com>
39406         [BZ #14889]
39407         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39408         * sunrpc/svc.c: Include time.h.
39409         (__svc_accept_failed): New function.
39410         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39411         any reason other than EINTR, call __svc_accept_failed.
39412         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39413         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39415 2012-11-28  Andreas Schwab  <schwab@suse.de>
39417         * scripts/abilist.awk: Also handle indirect functions in .opd
39418         section.
39420 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39422         [BZ #13881]
39423         * sysdeps/x86/fpu/powl_helper.c: New file.
39424         * sysdeps/x86/fpu/Makefile: Likewise.
39425         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39426         (p3): New object.
39427         (__ieee754_powl): Use __powl_helper for finite arguments except
39428         integer exponents below 8.
39429         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39430         (p3): New object.
39431         (__ieee754_powl): Use __powl_helper for finite arguments except
39432         integer exponents below 8.
39433         * math/libm-test.inc (pow_test): Add more tests and enable some
39434         previously disabled tests.
39435         * sysdeps/i386/fpu/libm-test-ulps: Update.
39436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39438 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39439             Carlos O'Donell  <carlos_odonell@mentor.com>
39441         * nss/makedb.c (is_prime): Assert that input is odd and greater
39442         than 4.  Note that fact in a comment too.
39443         (next_prime): Add 4 to input.
39445 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39447         [BZ #11741]
39448         * libio/Makefile (tests): Add test case tst-fwrite-error.
39449         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39450         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39451         * libio/tst-fwrite-error.c: New test case.
39453 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39455         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39456         before casting to void *.
39457         * include/libc-internal.h (__pointer_type): New macro.
39458         (__integer_if_pointer_type_sub): Likewise.
39459         (__integer_if_pointer_type): Likewise.
39460         (cast_to_integer): Likewise.
39461         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39462         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39463         before casting to atomic64_t.
39464         (atomic_exchange_acq): Likewise.
39465         (__arch_exchange_and_add_body): Likewise.
39466         (__arch_add_body): Likewise.
39467         (atomic_add_negative): Likewise.
39468         (atomic_add_zero): Likewise.
39470 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39472         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39473         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39474         (add_fdes): Likewise.
39475         (linear_search_fdes): Likewise.
39476         (binary_search_unencoded_fdes): Likewise.
39478 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39480         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39482 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39484         * configure.in: Autodetect C++ header directories.
39485         * configure: Regenerated.
39487 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39489         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39491 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39495 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39497         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39498         LDBL_MANT_DIG == 106]: Disable some tests.
39499         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39500         Likewise.
39501         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39502         Likewise.
39504         [BZ #14871]
39505         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39506         input for small inputs.  Return +/- pi/2 for large inputs.
39507         * math/libm-test.inc (atan_test): Add more tests.
39509         * sysdeps/generic/unwind-dw2-fde-glibc.c
39510         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39511         __attribute__ ((unused)).
39513         [BZ #14645]
39514         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39515         x * y if x and y are nonzero and z is zero.
39517         [BZ #14811]
39518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39519         nonzero exponents with absolute value below 0x1p-117 to +/-
39520         0x1p-117.
39522         [BZ #14869]
39523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39524         up arguments below 2**-450, not just those below 2**-500.
39525         * math/libm-test.inc (hypot_test): Add another test.
39527         [BZ #14868]
39528         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39529         Return a+b for ratio over 2**120, not 2**60.
39530         * math/libm-test.inc (hypot_test): Add another test.
39532         * math/libm-test.inc (clog_test): Use
39533         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39534         (clog10_test): Likewise.
39536         [BZ #6778]
39537         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39539 2012-11-22  Andreas Schwab  <schwab@suse.de>
39541         * sysdeps/i386/fpu/libm-test-ulps: Update.
39543 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39545         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39546         printf output with newline.
39548 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39550         [BZ #14865]
39551         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39552         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39553         -z nodlopen, -z initfirst and -z execstack support.
39554         * configure: Regenerated.
39556         * elf/elf.h (DF_1_NODIRECT): New macro.
39557         (DF_1_IGNMULDEF): Likewise.
39558         (DF_1_NOKSYMS): Likewise.
39559         (DF_1_NOHDR): Likewise.
39560         (DF_1_EDITED): Likewise.
39561         (DF_1_NORELOC): Likewise.
39562         (DF_1_SYMINTPOSE): Likewise.
39563         (DF_1_GLOBAUDIT): Likewise.
39564         (DF_1_SINGLETON): Likewise.
39565         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39566         DT_1_SUPPORTED_MASK bits.
39567         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39569 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39571         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39573 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39575         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39576         macro.
39578         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39579         (sendmmsg): Move declarations...
39580         * socket/sys/socket.h: ... here.
39581         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39582         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39583         include it from...
39584         * socket/recvmmsg.c: ... this new file.
39585         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39586         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39587         definition of __sendmmsg hidden.
39588         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39589         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39590         Move ENOSYS stub into and include it from...
39591         * socket/sendmmsg.c: ... this new file.
39592         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39593         (sysdep_routines): Move recvmmsg and sendmmsg...
39594         * socket/Makefile (routines): ... here.
39595         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39596         (GLIBC_PRIVATE): Add __sendmmsg.
39597         * include/sys/socket.h (__sendmmsg): Add declarations.
39598         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39599         sendmmsg.
39601 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39603         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39604         variable I1 with __attribute__ ((unused)).
39605         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39607 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39609         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39610         DUMMY variables with __attribute__ ((unused)).
39612         * bits/byteswap.h: Include <bits/types.h>.
39613         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39615 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39617         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39618         string_t.  Do not manually set errno.
39619         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39620         length with __strnlen.  Make sure to both set errno and return it on
39621         failure.
39623 2012-11-19  David S. Miller  <davem@davemloft.net>
39625         With help from Joseph Myers.
39626         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39627         very large arguments properly.
39628         * math/libm-test.inc (atan_test): New tests.
39629         (atan2_test): New tests.
39630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39633 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39635         [BZ #14856]
39636         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39637         Define to 3.
39639         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39640         [POSIX] (EADDRNOTAVAIL): Likewise.
39641         [POSIX] (EAFNOSUPPORT): Likewise.
39642         [POSIX] (EALREADY): Likewise.
39643         [POSIX] (ECONNABORTED): Likewise.
39644         [POSIX] (ECONNREFUSED): Likewise.
39645         [POSIX] (ECONNRESET): Likewise.
39646         [POSIX] (EDESTADDRREQ): Likewise.
39647         [POSIX] (EDQUOT): Likewise.
39648         [POSIX] (EHOSTUNREACH): Likewise.
39649         [POSIX] (EIDRM): Likewise.
39650         [POSIX] (EISCONN): Likewise.
39651         [POSIX] (ELOOP): Likewise.
39652         [POSIX] (EMULTIHOP): Likewise.
39653         [POSIX] (ENETDOWN): Likewise.
39654         [POSIX] (ENETUNREACH): Likewise.
39655         [POSIX] (ENOBUFS): Likewise.
39656         [POSIX] (ENODATA): Likewise.
39657         [POSIX] (ENOLINK): Likewise.
39658         [POSIX] (ENOMSG): Likewise.
39659         [POSIX] (ENOPROTOOPT): Likewise.
39660         [POSIX] (ENOSR): Likewise.
39661         [POSIX] (ENOSTR): Likewise.
39662         [POSIX] (ENOTCONN): Likewise.
39663         [POSIX] (ENOTSOCK): Likewise.
39664         [POSIX] (EOPNOTSUPP): Likewise.
39665         [POSIX] (EOVERFLOW): Likewise.
39666         [POSIX] (EPROTO): Likewise.
39667         [POSIX] (EPROTONOSUPPORT): Likewise.
39668         [POSIX] (EPROTOTYPE): Likewise.
39669         [POSIX] (ESTALE): Likewise.
39670         [POSIX] (ETIME): Likewise.
39671         [POSIX] (ETXTBSY): Likewise.
39672         [POSIX] (EWOULDBLOCK): Likewise.
39673         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39674         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39675         [POSIX] (SEEK_CUR): Likewise.
39676         [POSIX] (SEEK_END): Likewise.
39677         [POSIX || UNIX98] (mode_t): Do not require.
39678         [POSIX] (off_t): Likewise.
39679         [POSIX] (pid_t): Likewise.
39680         [POSIX] (sys/stat.h): Do not allow header.
39681         [POSIX] (unistd.h): Likewise.
39682         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39683         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39684         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39685         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39686         require.
39687         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39688         sigevent): Specify elements.
39689         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39690         entry.
39691         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39692         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39694         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39695         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39696         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39697         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39698         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39699         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39700         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39701         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39702         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39703         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39704         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39705         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39706         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39707         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39708         Likewise.
39709         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39710         Likewise.
39711         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39712         Likewise.
39713         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39714         Likewise.
39715         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39716         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39717         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39718         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39719         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39720         Specify lower bound on value.
39721         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39722         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39723         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39724         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39725         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39726         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39727         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39728         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39729         value.
39730         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39731         as optional.
39732         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39733         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39734         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39735         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39736         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39737         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39738         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39739         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39740         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39741         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39742         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39743         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39744         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39745         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39746         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39747         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39748         entry.
39749         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39750         optional.
39751         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39752         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39753         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39754         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39755         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39756         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39757         Likewise.
39758         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39759         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39760         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39761         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39762         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39763         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39764         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39765         as optional.
39766         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39767         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39768         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39769         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39770         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39771         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39772         specify as optional.
39773         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39774         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39775         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39776         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39777         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39778         [XPG3] (NL_LANGMAX): Likewise.
39779         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39780         [POSIX || XPG3] (NL_NMAX): Likewise.
39781         [POSIX || XPG3] (NL_SETMAX): Likewise.
39782         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39783         [XPG3] (NZERO): Likewise.
39784         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39785         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39786         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39787         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39788         (REG_ERANGE): Expect.
39789         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39790         optional-constant.
39791         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39792         Use (void) in prototype.
39793         [POSIX] (*_t): Allow.
39794         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39795         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39796         (WRDE_BADVAL): Expect.
39798         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39799         expect.
39800         [XPG3 || XPG4] (O_RSYNC): Likewise.
39801         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39802         Likewise.
39803         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39804         [XPG3 || XPG4] (sigqueue): Likewise.
39805         [XPG3 || XPG4] (sigtimedwait): Likewise.
39806         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39807         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39808         [XPG3 || XPG4] (vsnprintf): Likewise.
39809         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39810         Likewise.
39811         [XPG3 || XPG4] (blksize_t): Likewise.
39812         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39813         Likewise.
39814         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39815         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39816         [XPG3 || XPG4] (struct itimerspec): Likewise.
39817         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39818         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39819         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39820         [XPG3 || XPG4] (clockid_t): Likewise.
39821         [XPG3 || XPG4] (timer_t): Likewise.
39822         [XPG3 || XPG4] (clock_getres): Likewise.
39823         [XPG3 || XPG4] (clock_gettime): Likewise.
39824         [XPG3 || XPG4] (clock_settime): Likewise.
39825         [XPG3 || XPG4] (nanosleep): Likewise.
39826         [XPG3 || XPG4] (timer_create): Likewise.
39827         [XPG3 || XPG4] (timer_delete): Likewise.
39828         [XPG3 || XPG4] (timer_gettime): Likewise.
39829         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39830         [XPG3 || XPG4] (timer_settime): Likewise.
39831         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39832         [XPG3 || XPG4] (getlogin_r): Likewise.
39833         [XPG3 || XPG4] (pread): Likewise.
39834         [XPG3 || XPG4] (pthread_atfork): Likewise.
39835         [XPG3 || XPG4] (pwrite): Likewise.
39837         [BZ #14835]
39838         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39839         <bits/siginfo.h>.
39841 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39843         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39844         finalizing MALLSTREAM.
39846         * sysdeps/mach/hurd/syncfs.c: New file.
39848 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39850         [BZ #14719]
39851         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39852         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39853         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39854         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39855         (_nss_dns_gethostbyname4_r): Likewise.
39856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39857         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39859 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39861         [BZ #13763]
39862         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39864 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39866         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39867         * elf/cache.c (print_entry): Print ",AArch64" for
39868         FLAG_AARCH64_LIB64
39870         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39871         * elf/cache.c (print_entry): Print ",hard-float" for
39872         FLAG_ARM_LIBHF.
39874 2012-11-18  David S. Miller  <davem@davemloft.net>
39876         With help from Joseph Myers.
39877         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39878         cutoff to 2**-13.
39879         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39880         cutoff to 2**-25.
39881         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39882         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39883         small.
39884         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39885         * math/libm-test.inc (y0_test): New tests.
39886         (y1_test): New tests.
39887         * sysdeps/i386/fpu/libm-test-ulps: Update.
39888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39891 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39893         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39894         64-bit targets.
39895         * configure: Regenerated.
39897 2012-11-17  David S. Miller  <davem@davemloft.net>
39899         [BZ #14811]
39900         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39901         nonzero exponents with absolute value below 0x1p-128 to +/-
39902         0x1p-128.
39904 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39906         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39908         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39910         * posix/getconf-speclist.c: New file.
39911         * posix/posix-envs.def: Likewise.
39912         * posix/confstr.c (START_ENV_GROUP): New macro.
39913         (END_ENV_GROUP): Likewise.
39914         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39915         (KNOWN_PRESENT_ENV_STRING): Likewise.
39916         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39917         (UNKNOWN_ENVIRONMENT): Likewise.
39918         (confstr): Include posix-envs.def instead of handling
39919         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39920         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39921         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39922         (END_ENV_GROUP): Likewise.
39923         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39924         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39925         (UNKNOWN_ENVIRONMENT): Likewise.
39926         (__sysconf): Include posix-envs.def instead of handling associated
39927         cases directly here.
39928         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39929         preprocessing getconf-speclist.c rather than running getconf or
39930         generating empty file.
39932 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39934         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39936 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39938         [BZ #14672]
39939         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39941 2012-11-16  David S. Miller  <davem@davemloft.net>
39943         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39944         smaller than LDBL_EPSILON/2.0L, just return xm1.
39946 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39948         * elf/tst-array1.c (init): Set constructor priority to 1000.
39949         (fini): Set destructor priority to 1000.
39950         * elf/tst-array2dep.c: Likewise.
39952 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39954         [BZ #11741]
39955         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39956         (_IO_new_file_xsputn): Also return EOF if none of the input
39957         data was written when overflow failed.
39958         * libio/iopadn.c (_IO_padn): Likewise.
39959         * libio/iowpadn.c (_IO_wpadn): Likewise.
39960         * stdio-common/tst-put-error.c: Add copyright notice.
39961         (do_test): Add case for printing padded string.
39962         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39963         _IO_padn returned error.
39964         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39965         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39966         return EOF.
39968 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39970         * libio/libioP.h: Add comment note that the references to C++
39971         bits are now obsolete.
39973 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39975         * math/libm-test.inc (check_complex): Use asprintf.
39977 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39979         * debug/pcprofiledump.c (print_version): Update copyright year.
39980         * malloc/memusagestat.c (print_version): Likewise.
39982 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39984         [BZ #14831]
39985         * elf/Makefile (tests): Add tst-audit8.
39986         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39987         ($(objpfx)tst-audit8.out): New target.
39988         (tst-audit8-ENV): New variable.
39989         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39990         audit if l_reloc_result is NULL.
39991         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39992         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39993         * elf/tst-audit8.c: New file.
39995 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39997         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39998         * misc/Makefile (CFLAGS-select.c): Define.
39999         * posix/Makefile (CFLAGS-pause.c): Define.
40001 2012-11-13  David S. Miller  <davem@davemloft.net>
40003         * crypt/Makefile: Move test targets after toplevel Rules
40004         inclusion.  Grab any necessary sysdep routines when linking.
40005         * crypt/md5.c (md5_process_block): Remove define, we will always
40006         name it __md5_process_block.
40007         (md5_finish_ctx): Update md5_process_block call.
40008         (md5_stream): Likewise.
40009         (md5_process_bytes): Likewise.
40010         (md5_process_block): Rename to __md5_process_block and move to ...
40011         * crypt/md5-block.c: ... here.
40012         * crypt/sha256.c (sha256_process_block): Move to ...
40013         * crypt/sha256-block.c: ... here.
40014         * crypt/sha512.c (sha512_process_block): Move to ...
40015         * crypt/sha512-block.c: ... here.
40016         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40017         path.
40018         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40019         * sysdeps/sparc/sparc64/multiarch/Makefile
40020         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40021         crypt subdir.
40022         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40023         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40024         multiarch changes.
40025         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40026         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40027         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40028         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40029         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40030         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40031         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40032         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40033         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40034         file.
40035         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40036         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40037         file.
40038         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40040 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40042         * timezone/tzselect.ksh: Update from tzcode git revision
40043         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40044         * timezone/zdump.c: Likewise.
40045         * timezone/zic.c: Likewise.
40046         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40047         in TZVERSION setting, not $(PKGVERSION).
40048         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40049         REPORT_BUGS_TO settings.
40051         [BZ #14838]
40052         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40053         macro.
40055 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40057         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40058         detection to immediately after _FP_ROUND().
40059         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40060         bits are 0.
40062 2012-11-11  David S. Miller  <davem@davemloft.net>
40064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40065         inttypes.h
40066         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40067         __close rather than their public counterparts.
40069 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40071         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40072         file.
40073         [UNIX98] (sem_timedwait): Do not expect.
40074         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40075         [XPG4 || UNIX98] (sockatmark): Do not expect.
40076         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40077         (clock_getcpuclockid): Do not expect.
40078         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40079         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40080         Do not expect.
40081         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40082         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40083         [UNIX98] (vwscanf): Likewise.
40084         [UNIX98] (vswscanf): Likewise.
40086 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40088         * timezone/version.h: Remove file.
40089         * timezone/README: Do not refer to version.h.
40090         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40091         $(objpfx)version.h.
40092         ($(objpfx)zdump.o): Likewise.
40093         ($(objpfx)version.h): New target.
40095         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40096         2012i.
40097         * timezone/README: Don't mention modification to tzselect.ksh.
40098         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40099         work on unmodified tzselect.ksh.  Substitute version numbers in
40100         tzselect.ksh.
40102         * Makefile (format-me): Remove.
40103         (INSTALL): Adjust indentation.  Use commands directly instead of
40104         using $(format-me).
40106         * aclocal.m4 (ACX_PKGVERSION): New macro.
40107         (ACX_BUGURL): Likewise.
40108         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40109         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40110         (REPORT_BUGS_TO): Likewise.
40111         * configure: Regenerated.
40112         * config.h.in (PKGVERSION): New macro.
40113         (REPORT_BUGS_TO): Likewise.
40114         * config.make.in (PKGVERSION): New variable.
40115         (PKGVERSION_TEXI): Likewise.
40116         (REPORT_BUGS_TO): Likewise.
40117         (REPORT_BUGS_TEXI): Likewise.
40118         * Makefile (format-me): Use -I$(common-objpfx)manual.
40119         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40120         ($(common-objpfx)manual/%): New target.
40121         (manual/%): Remove target.
40122         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40123         (print_version): Use PKGVERSION.
40124         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40125         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40126         and REPORT_BUGS_TO.
40127         ($(objpfx)xtrace): Likewise.
40128         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40129         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40130         (print_version): Use PKGVERSION.
40131         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40132         (do_version): Use PKGVERSION.
40133         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40134         REPORT_BUGS_TO.
40135         (common-ldd-rewrite): Likewise.
40136         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40137         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40138         (print_version): Use PKGVERSION.
40139         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40140         * elf/pldd.c (argp_program_bug_address): Remove variable.
40141         (more_help): New function.
40142         (argp): Use more_help.
40143         (print_version): Use PKGVERSION.
40144         * elf/sln.c (main): Use PKGVERSION.
40145         (usage): Use REPORT_BUGS_TO.
40146         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40147         (top level): Use PKGVERSION.
40148         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40149         (print_version): Use PKGVERSION.
40150         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40151         (print_version): Use PKGVERSION.
40152         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40153         (print_version): Use PKGVERSION.
40154         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40155         (print_version): Use PKGVERSION.
40156         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40157         (print_version): Use PKGVERSION.
40158         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40159         (print_version): Use PKGVERSION.
40160         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40161         and BUGURL.
40162         ($(objpfx)memusage): Likewise.
40163         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40164         (do_version): Use PKGVERSION.
40165         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40166         (print_version): Use PKGVERSION.
40167         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40168         ($PKGVERSION): New variable.
40169         ($REPORT_BUGS_TO): Likewise.
40170         (usage): Use $REPORT_BUGS_TO.
40171         (top level): Use $PKGVERSION.
40172         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40173         ($(objpfx)pkgvers.texi): New rule.
40174         ($(objpfx)stamp-pkgvers): Likewise.
40175         * manual/install.texi: Include pkgvers.texi.
40176         (--with-pkgversion): Document new configure option.
40177         (--with-bugurl): Likewise.
40178         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40179         than necessarily for this particular distribution.  Use
40180         REPORT_BUGS_TO for where to report bugs.
40181         * INSTALL: Regenerated.
40182         * manual/libc.texinfo: Include pkgvers.texi.
40183         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40184         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40185         (print_version): Use PKGVERSION.
40186         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40187         (print_version): Use PKGVERSION.
40188         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40189         (print_version): Use PKGVERSION.
40190         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40191         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40192         macro.
40193         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40194         (print_version): Use PKGVERSION.
40195         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40196         (print_version): Use PKGVERSION.
40197         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40198         and PKGVERSION.
40200         * timezone/checktab.awk: Update from tzcode 2012i.
40201         * timezone/ialloc.c: Likewise.
40202         * timezone/private.h: Likewise.
40203         * timezone/scheck.c: Likewise.
40204         * timezone/tzfile.h: Likewise.
40205         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40206         (TZVERSION): Hardcode tzcode version number.
40207         * timezone/zdump.c: Update from tzcode 2012i.
40208         * timezone/zic.c: Likewise.
40209         * timezone/version.h: New file.
40210         * timezone/README: Describe version.h.  Update upstream location.
40212         [BZ #14824]
40213         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40214         (mktemp): Enable declaration.
40215         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40216         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40217         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40218         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40219         Likewise.
40220         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40221         Likewise.
40222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40223         Likewise.
40224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40225         Likewise.
40226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40227         Likewise.
40228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40229         Likewise.
40231         [BZ #14821]
40232         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40233         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40234         for copies of such integer values.
40235         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40236         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40238 2012-11-09  Andreas Jaeger  <aj@suse.de>
40240         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40241         definitions and declarations that are provided by
40242         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40244 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40246         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40247         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40248         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40249         definition.
40251 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40253         * elf/elf.h: Update comment before AArch64 relocations.
40255 2012-11-07  David S. Miller  <davem@davemloft.net>
40257         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40258         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40259         (__start_context): Declare.
40260         (__makecontext_ret): Delete.
40261         (__makecontext): Hook up __start_context instead of
40262         __makecontext_ret.
40263         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40264         (sysdep_routines): Add __start_context when in stdlib.
40266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40268         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40269         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40270         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40271         hardcoded "nm".
40272         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40273         (READELF): New variable.  Use it instead of hardcoded "readelf".
40275 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40277         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40278         * sysdeps/x86/Makefile: Here.
40279         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40280         * sysdeps/x86/tst-xmmymm.sh: This.
40282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40284         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40285         expectations.
40286         [UNIX98] (pthread_barrier_t): Do not expect.
40287         [UNIX98] (pthread_barrierattr_t): Likewise.
40288         [UNIX98] (pthread_spinlock_t): Likewise.
40289         [UNIX98] (pthread_barrier_destroy): Likewise.
40290         [UNIX98] (pthread_barrier_init): Likewise.
40291         [UNIX98] (pthread_barrier_wait): Likewise.
40292         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40293         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40294         [UNIX98] (pthread_barrierattr_init): Likewise.
40295         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40296         [UNIX98] (pthread_getcpuclockid): Likewise.
40297         [UNIX98] (pthread_mutex_timedlock): Likewise.
40298         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40299         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40300         [UNIX98] (pthread_sigmask): Likewise.
40301         [UNIX98] (pthread_spin_destroy): Likewise.
40302         [UNIX98] (pthread_spin_init): Likewise.
40303         [UNIX98] (pthread_spin_lock): Likewise.
40304         [UNIX98] (pthread_spin_trylock): Likewise.
40305         [UNIX98] (pthread_spin_unlock): Likewise.
40306         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40307         Do not expect.
40308         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40309         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40310         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40311         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40312         [XPG3 || XPG4] (pthread_key_t): Likewise.
40313         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40314         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40315         [XPG3 || XPG4] (pthread_once_t): Likewise.
40316         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40317         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40318         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40319         [XPG3 || XPG4] (pthread_t): Likewise.
40321         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40322         not expect.
40323         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40325         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40326         Change function return type to int.
40328         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40329         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40330         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40331         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40332         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40333         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40334         [!POSIX] (posix_madvise): Likewise.
40335         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40336         && !UNIX98].
40337         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40338         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40339         (mode_t): Likewise.
40340         (posix_mem_offset): Likewise.
40341         (posix_typed_mem_get_info): Likewise.
40342         (posix_typed_mem_open): Likewise.
40344         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40345         Change condition to [XOPEN2K8].
40347         * conform/conformtest.pl: Preprocess allow-header data with -x c
40348         instead of from stdin.
40349         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40350         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40351         [C99-based standards] (cerfc): Likewise.
40352         [C99-based standards] (cexp2): Likewise.
40353         [C99-based standards] (cexpm1): Likewise.
40354         [C99-based standards] (clog10): Likewise.
40355         [C99-based standards] (clog1p): Likewise.
40356         [C99-based standards] (clog2): Likewise.
40357         [C99-based standards] (clgamma): Likewise.
40358         [C99-based standards] (ctgamma): Likewise.
40359         [C99-based standards] (cerff): Likewise.
40360         [C99-based standards] (cerfcf): Likewise.
40361         [C99-based standards] (cexp2f): Likewise.
40362         [C99-based standards] (cexpm1f): Likewise.
40363         [C99-based standards] (clog10f): Likewise.
40364         [C99-based standards] (clog1pf): Likewise.
40365         [C99-based standards] (clog2f): Likewise.
40366         [C99-based standards] (clgammaf): Likewise.
40367         [C99-based standards] (ctgammaf): Likewise.
40368         [C99-based standards] (cerfl): Likewise.
40369         [C99-based standards] (cerfcl): Likewise.
40370         [C99-based standards] (cexp2l): Likewise.
40371         [C99-based standards] (cexpm1l): Likewise.
40372         [C99-based standards] (clog10l): Likewise.
40373         [C99-based standards] (clog1pl): Likewise.
40374         [C99-based standards] (clog2l): Likewise.
40375         [C99-based standards] (clgammal): Likewise.
40376         [C99-based standards] (ctgammal): Likewise.
40377         * conform/data/inttypes.h-data [C99-based standards]: Include
40378         stdint.h-data.  Remove all expectations for stdint.h contents.
40379         [C99-based standards] (PRI*): Do not allow.
40380         [C99-based standards] (SCN*): Likewise.
40381         [C99-based standards] (*_t): Likewise.
40382         [C99-based-standards] (PRId8): Expect macro.
40383         [C99-based-standards] (PRIi8): Likewise.
40384         [C99-based-standards] (PRIo8): Likewise.
40385         [C99-based-standards] (PRIu8): Likewise.
40386         [C99-based-standards] (PRIx8): Likewise.
40387         [C99-based-standards] (PRIX8): Likewise.
40388         [C99-based-standards] (SCNd8): Likewise.
40389         [C99-based-standards] (SCNi8): Likewise.
40390         [C99-based-standards] (SCNo8): Likewise.
40391         [C99-based-standards] (SCNu8): Likewise.
40392         [C99-based-standards] (SCNx8): Likewise.
40393         [C99-based-standards] (PRIdLEAST8): Likewise.
40394         [C99-based-standards] (PRIiLEAST8): Likewise.
40395         [C99-based-standards] (PRIoLEAST8): Likewise.
40396         [C99-based-standards] (PRIuLEAST8): Likewise.
40397         [C99-based-standards] (PRIxLEAST8): Likewise.
40398         [C99-based-standards] (PRIXLEAST8): Likewise.
40399         [C99-based-standards] (SCNdLEAST8): Likewise.
40400         [C99-based-standards] (SCNiLEAST8): Likewise.
40401         [C99-based-standards] (SCNoLEAST8): Likewise.
40402         [C99-based-standards] (SCNuLEAST8): Likewise.
40403         [C99-based-standards] (SCNxLEAST8): Likewise.
40404         [C99-based-standards] (PRIdFAST8): Likewise.
40405         [C99-based-standards] (PRIiFAST8): Likewise.
40406         [C99-based-standards] (PRIoFAST8): Likewise.
40407         [C99-based-standards] (PRIuFAST8): Likewise.
40408         [C99-based-standards] (PRIxFAST8): Likewise.
40409         [C99-based-standards] (PRIXFAST8): Likewise.
40410         [C99-based-standards] (SCNdFAST8): Likewise.
40411         [C99-based-standards] (SCNiFAST8): Likewise.
40412         [C99-based-standards] (SCNoFAST8): Likewise.
40413         [C99-based-standards] (SCNuFAST8): Likewise.
40414         [C99-based-standards] (SCNxFAST8): Likewise.
40415         [C99-based-standards] (PRId16): Likewise.
40416         [C99-based-standards] (PRIi16): Likewise.
40417         [C99-based-standards] (PRIo16): Likewise.
40418         [C99-based-standards] (PRIu16): Likewise.
40419         [C99-based-standards] (PRIx16): Likewise.
40420         [C99-based-standards] (PRIX16): Likewise.
40421         [C99-based-standards] (SCNd16): Likewise.
40422         [C99-based-standards] (SCNi16): Likewise.
40423         [C99-based-standards] (SCNo16): Likewise.
40424         [C99-based-standards] (SCNu16): Likewise.
40425         [C99-based-standards] (SCNx16): Likewise.
40426         [C99-based-standards] (PRIdLEAST16): Likewise.
40427         [C99-based-standards] (PRIiLEAST16): Likewise.
40428         [C99-based-standards] (PRIoLEAST16): Likewise.
40429         [C99-based-standards] (PRIuLEAST16): Likewise.
40430         [C99-based-standards] (PRIxLEAST16): Likewise.
40431         [C99-based-standards] (PRIXLEAST16): Likewise.
40432         [C99-based-standards] (SCNdLEAST16): Likewise.
40433         [C99-based-standards] (SCNiLEAST16): Likewise.
40434         [C99-based-standards] (SCNoLEAST16): Likewise.
40435         [C99-based-standards] (SCNuLEAST16): Likewise.
40436         [C99-based-standards] (SCNxLEAST16): Likewise.
40437         [C99-based-standards] (PRIdFAST16): Likewise.
40438         [C99-based-standards] (PRIiFAST16): Likewise.
40439         [C99-based-standards] (PRIoFAST16): Likewise.
40440         [C99-based-standards] (PRIuFAST16): Likewise.
40441         [C99-based-standards] (PRIxFAST16): Likewise.
40442         [C99-based-standards] (PRIXFAST16): Likewise.
40443         [C99-based-standards] (SCNdFAST16): Likewise.
40444         [C99-based-standards] (SCNiFAST16): Likewise.
40445         [C99-based-standards] (SCNoFAST16): Likewise.
40446         [C99-based-standards] (SCNuFAST16): Likewise.
40447         [C99-based-standards] (SCNxFAST16): Likewise.
40448         [C99-based-standards] (PRId32): Likewise.
40449         [C99-based-standards] (PRIi32): Likewise.
40450         [C99-based-standards] (PRIo32): Likewise.
40451         [C99-based-standards] (PRIu32): Likewise.
40452         [C99-based-standards] (PRIx32): Likewise.
40453         [C99-based-standards] (PRIX32): Likewise.
40454         [C99-based-standards] (SCNd32): Likewise.
40455         [C99-based-standards] (SCNi32): Likewise.
40456         [C99-based-standards] (SCNo32): Likewise.
40457         [C99-based-standards] (SCNu32): Likewise.
40458         [C99-based-standards] (SCNx32): Likewise.
40459         [C99-based-standards] (PRIdLEAST32): Likewise.
40460         [C99-based-standards] (PRIiLEAST32): Likewise.
40461         [C99-based-standards] (PRIoLEAST32): Likewise.
40462         [C99-based-standards] (PRIuLEAST32): Likewise.
40463         [C99-based-standards] (PRIxLEAST32): Likewise.
40464         [C99-based-standards] (PRIXLEAST32): Likewise.
40465         [C99-based-standards] (SCNdLEAST32): Likewise.
40466         [C99-based-standards] (SCNiLEAST32): Likewise.
40467         [C99-based-standards] (SCNoLEAST32): Likewise.
40468         [C99-based-standards] (SCNuLEAST32): Likewise.
40469         [C99-based-standards] (SCNxLEAST32): Likewise.
40470         [C99-based-standards] (PRIdFAST32): Likewise.
40471         [C99-based-standards] (PRIiFAST32): Likewise.
40472         [C99-based-standards] (PRIoFAST32): Likewise.
40473         [C99-based-standards] (PRIuFAST32): Likewise.
40474         [C99-based-standards] (PRIxFAST32): Likewise.
40475         [C99-based-standards] (PRIXFAST32): Likewise.
40476         [C99-based-standards] (SCNdFAST32): Likewise.
40477         [C99-based-standards] (SCNiFAST32): Likewise.
40478         [C99-based-standards] (SCNoFAST32): Likewise.
40479         [C99-based-standards] (SCNuFAST32): Likewise.
40480         [C99-based-standards] (SCNxFAST32): Likewise.
40481         [C99-based-standards] (PRId64): Likewise.
40482         [C99-based-standards] (PRIi64): Likewise.
40483         [C99-based-standards] (PRIo64): Likewise.
40484         [C99-based-standards] (PRIu64): Likewise.
40485         [C99-based-standards] (PRIx64): Likewise.
40486         [C99-based-standards] (PRIX64): Likewise.
40487         [C99-based-standards] (SCNd64): Likewise.
40488         [C99-based-standards] (SCNi64): Likewise.
40489         [C99-based-standards] (SCNo64): Likewise.
40490         [C99-based-standards] (SCNu64): Likewise.
40491         [C99-based-standards] (SCNx64): Likewise.
40492         [C99-based-standards] (PRIdLEAST64): Likewise.
40493         [C99-based-standards] (PRIiLEAST64): Likewise.
40494         [C99-based-standards] (PRIoLEAST64): Likewise.
40495         [C99-based-standards] (PRIuLEAST64): Likewise.
40496         [C99-based-standards] (PRIxLEAST64): Likewise.
40497         [C99-based-standards] (PRIXLEAST64): Likewise.
40498         [C99-based-standards] (SCNdLEAST64): Likewise.
40499         [C99-based-standards] (SCNiLEAST64): Likewise.
40500         [C99-based-standards] (SCNoLEAST64): Likewise.
40501         [C99-based-standards] (SCNuLEAST64): Likewise.
40502         [C99-based-standards] (SCNxLEAST64): Likewise.
40503         [C99-based-standards] (PRIdFAST64): Likewise.
40504         [C99-based-standards] (PRIiFAST64): Likewise.
40505         [C99-based-standards] (PRIoFAST64): Likewise.
40506         [C99-based-standards] (PRIuFAST64): Likewise.
40507         [C99-based-standards] (PRIxFAST64): Likewise.
40508         [C99-based-standards] (PRIXFAST64): Likewise.
40509         [C99-based-standards] (SCNdFAST64): Likewise.
40510         [C99-based-standards] (SCNiFAST64): Likewise.
40511         [C99-based-standards] (SCNoFAST64): Likewise.
40512         [C99-based-standards] (SCNuFAST64): Likewise.
40513         [C99-based-standards] (SCNxFAST64): Likewise.
40514         [C99-based-standards] (PRIdMAX): Likewise.
40515         [C99-based-standards] (PRIiMAX): Likewise.
40516         [C99-based-standards] (PRIoMAX): Likewise.
40517         [C99-based-standards] (PRIuMAX): Likewise.
40518         [C99-based-standards] (PRIxMAX): Likewise.
40519         [C99-based-standards] (PRIXMAX): Likewise.
40520         [C99-based-standards] (SCNdMAX): Likewise.
40521         [C99-based-standards] (SCNiMAX): Likewise.
40522         [C99-based-standards] (SCNoMAX): Likewise.
40523         [C99-based-standards] (SCNuMAX): Likewise.
40524         [C99-based-standards] (SCNxMAX): Likewise.
40525         [C99-based-standards] (PRIdPTR): Likewise.
40526         [C99-based-standards] (PRIiPTR): Likewise.
40527         [C99-based-standards] (PRIoPTR): Likewise.
40528         [C99-based-standards] (PRIuPTR): Likewise.
40529         [C99-based-standards] (PRIxPTR): Likewise.
40530         [C99-based-standards] (PRIXPTR): Likewise.
40531         [C99-based-standards] (SCNdPTR): Likewise.
40532         [C99-based-standards] (SCNiPTR): Likewise.
40533         [C99-based-standards] (SCNoPTR): Likewise.
40534         [C99-based-standards] (SCNuPTR): Likewise.
40535         [C99-based-standards] (SCNxPTR): Likewise.
40536         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40537         allow.
40538         * conform/data/stdint.h-data: Update comments to clarify
40539         requirements.
40540         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40541         type.
40542         [C99-based standards] (INT8_MAX): Likewise.
40543         [C99-based standards] (INT16_MIN): Likewise.
40544         [C99-based standards] (INT16_MAX): Likewise.
40545         [C99-based standards] (INT32_MIN): Likewise.
40546         [C99-based standards] (INT32_MAX): Likewise.
40547         [C99-based standards] (INT64_MIN): Likewise.
40548         [C99-based standards] (INT64_MAX): Likewise.
40549         [C99-based standards] (UINT8_MAX): Likewise.
40550         [C99-based standards] (UINT16_MAX): Likewise.
40551         [C99-based standards] (UINT32_MAX): Likewise.
40552         [C99-based standards] (UINT64_MAX): Likewise.
40553         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40554         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40555         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40556         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40557         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40558         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40559         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40560         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40561         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40562         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40563         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40564         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40565         [C99-based standards] (INT_FAST8_MIN): Likewise.
40566         [C99-based standards] (INT_FAST8_MAX): Likewise.
40567         [C99-based standards] (INT_FAST16_MIN): Likewise.
40568         [C99-based standards] (INT_FAST16_MAX): Likewise.
40569         [C99-based standards] (INT_FAST32_MIN): Likewise.
40570         [C99-based standards] (INT_FAST32_MAX): Likewise.
40571         [C99-based standards] (INT_FAST64_MIN): Likewise.
40572         [C99-based standards] (INT_FAST64_MAX): Likewise.
40573         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40574         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40575         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40576         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40577         [C99-based standards] (INTPTR_MIN): Likewise.
40578         [C99-based standards] (INTPTR_MAX): Likewise.
40579         [C99-based standards] (UINTPTR_MAX): Likewise.
40580         [C99-based standards] (INTMAX_MIN): Likewise.
40581         [C99-based standards] (INTMAX_MAX): Likewise.
40582         [C99-based standards] (UINTMAX_MAX): Likewise.
40583         [C99-based standards] (PTRDIFF_MIN): Likewise.
40584         [C99-based standards] (PTRDIFF_MAX): Likewise.
40585         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40586         [C99-based standards] (SIZE_MAX): Likewise.
40587         [C99-based standards] (WCHAR_MAX): Likewise.
40588         [C99-based standards] (WINT_MAX): Likewise.
40589         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40590         constraint on value.
40591         [C99-based standards] (WCHAR_MIN): Likewise.
40592         [C99-based standards] (WINT_MIN): Likewise.
40593         [C99-based standards] (*_t): Allow.
40594         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40595         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40596         Include math.h-data and complex.h-data.  Remove all expectations
40597         of math.h and complex.h contents.
40598         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40599         at end of line.
40600         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40601         (struct tm): Expect tag.
40602         [C99-based-standards] (wcstof): Expect function.
40603         [C99-based-standards] (wcstold): Likewise.
40604         [C99-based-standards] (wcstoll): Likewise.
40605         [C99-based-standards] (wcstoull): Likewise.
40606         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40607         macro-int-constant.  Specify type.
40608         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40609         constraint on value.
40610         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40611         Specify type.
40612         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40613         Specify value.
40614         [ISO C standards]: Do not allow headers.
40615         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40616         wcs[abcdefghijklmnopqrstuvwxyz]*.
40617         [ISO C standards] (*_t): Do not allow.
40618         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40619         Expect function.
40620         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40621         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40622         Specify type.
40623         [ISO C standards]: Do not allow headers.
40624         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40625         is[abcdefghijklmnopqrstuvwxyz]*.
40626         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40627         to[abcdefghijklmnopqrstuvwxyz]*.
40628         [ISO C standards] (*_t): Do not allow.
40629         * conform/data/stdalign.h-data: New file.
40630         * conform/data/stdbool.h-data: Likewise.
40631         * conform/data/stdnoreturn.h-data: Likewise.
40633 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40635         [BZ #14815]
40636         * manual/filesys.texi (Directory Entries): Typo fix.
40637         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40639 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40641         * elf/elf.h (EM_AARCH64): New macro.
40642         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40643         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40644         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40645         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40646         (R_AARCH64_TLSDESC): Likewise.
40647         (NT_ARM_TLS): Likewise.
40648         (NT_ARM_HW_BREAK): Likewise.
40649         (NT_ARM_HW_WATCH): Likewise.
40651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40653         [BZ #14811]
40654         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40655         (__ieee754_powl): Saturate nonzero exponents with absolute value
40656         below 0x1p-79 to +/- 0x1p-79.
40657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40658         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40659         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40660         nonzero exponents with absolute value below 0x1p-32 to +/-
40661         0x1p-32.
40662         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40663         (__ieee754_powl): Saturate nonzero exponents with absolute value
40664         below 0x1p-79 to +/- 0x1p-79.
40665         * math/libm-test.inc (pow_test): Add more tests.
40667 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40669         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40670         _dl_s390_cap_flags with kernel. Increase string length.
40671         (_dl_s390_platforms): Add z196 and zEC12.
40673 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40675         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40676         Change XOPEN21K to XOPEN2K.
40678 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40680         * string/memmove.c: Use memcpy when possible.
40682 2012-11-06  Andreas Jaeger  <aj@suse.de>
40684         * po/eo.po: Update from translation team.
40686 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40688         [BZ #14793]
40689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40690         exponent and small x and y exponents, scale x or y up.  Increase
40691         by 2 the exponent used in scaling up.
40692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40694         * math/libm-test.inc (fma_test): Add more tests.
40695         (fma_test_towardzero): Likewise.
40696         (fma_test_downward): Likewise.
40697         (fma_test_upward): Likewise.
40699 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40701         [BZ #14805]
40702         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40703         fenv_t *.
40705         [BZ #14801]
40706         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40707         namespace for names of struct fields.
40708         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40709         fenv_t fields.
40710         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40711         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40713 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40715         [BZ #3665]
40716         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40718 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40720         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40721         PTR_DEMANGLE.
40723         [BZ #5246]
40724         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40725         PTR_DEMANGLE.
40727 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40729         [BZ #14797]
40730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40731         definitely overflow as x * y not x * y + z.
40732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40734         * math/libm-test.inc (fma_test): Add more tests.
40735         (fma_test_towardzero): Likewise.
40736         (fma_test_downward): Likewise.
40737         (fma_test_upward): Likewise.
40739 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40741         [BZ #157]
40743         * include/stub-tag.h: Remove file.
40744         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40745         '#include' of it.
40746         * manual/maint.texi (Porting): Don't reference it.
40747         * Makerules ($(objpfx)stubs): Likewise.
40748         * dirent/closedir.c: Don't include <stub-tag.h>.
40749         * dirent/dirfd.c: Likewise.
40750         * dirent/fdopendir.c: Likewise.
40751         * dirent/getdents.c: Likewise.
40752         * dirent/getdents64.c: Likewise.
40753         * dirent/opendir.c: Likewise.
40754         * dirent/readdir.c: Likewise.
40755         * dirent/readdir64.c: Likewise.
40756         * dirent/readdir64_r.c: Likewise.
40757         * dirent/readdir_r.c: Likewise.
40758         * dirent/rewinddir.c: Likewise.
40759         * dirent/seekdir.c: Likewise.
40760         * dirent/telldir.c: Likewise.
40761         * gmon/profil.c: Likewise.
40762         * grp/setgroups.c: Likewise.
40763         * inet/if_index.c: Likewise.
40764         * io/access.c: Likewise.
40765         * io/chdir.c: Likewise.
40766         * io/chmod.c: Likewise.
40767         * io/chown.c: Likewise.
40768         * io/close.c: Likewise.
40769         * io/dup.c: Likewise.
40770         * io/dup2.c: Likewise.
40771         * io/dup3.c: Likewise.
40772         * io/euidaccess.c: Likewise.
40773         * io/faccessat.c: Likewise.
40774         * io/fchdir.c: Likewise.
40775         * io/fchmod.c: Likewise.
40776         * io/fchmodat.c: Likewise.
40777         * io/fchown.c: Likewise.
40778         * io/fchownat.c: Likewise.
40779         * io/fcntl.c: Likewise.
40780         * io/flock.c: Likewise.
40781         * io/fstatfs.c: Likewise.
40782         * io/fstatfs64.c: Likewise.
40783         * io/fstatvfs.c: Likewise.
40784         * io/fstatvfs64.c: Likewise.
40785         * io/futimens.c: Likewise.
40786         * io/fxstat.c: Likewise.
40787         * io/fxstat64.c: Likewise.
40788         * io/fxstatat.c: Likewise.
40789         * io/fxstatat64.c: Likewise.
40790         * io/getcwd.c: Likewise.
40791         * io/isatty.c: Likewise.
40792         * io/lchmod.c: Likewise.
40793         * io/lchown.c: Likewise.
40794         * io/link.c: Likewise.
40795         * io/linkat.c: Likewise.
40796         * io/lseek.c: Likewise.
40797         * io/lseek64.c: Likewise.
40798         * io/lxstat64.c: Likewise.
40799         * io/mkdir.c: Likewise.
40800         * io/mkdirat.c: Likewise.
40801         * io/mkfifo.c: Likewise.
40802         * io/mkfifoat.c: Likewise.
40803         * io/open.c: Likewise.
40804         * io/open64.c: Likewise.
40805         * io/openat.c: Likewise.
40806         * io/openat64.c: Likewise.
40807         * io/pipe.c: Likewise.
40808         * io/pipe2.c: Likewise.
40809         * io/poll.c: Likewise.
40810         * io/posix_fadvise.c: Likewise.
40811         * io/posix_fadvise64.c: Likewise.
40812         * io/posix_fallocate.c: Likewise.
40813         * io/posix_fallocate64.c: Likewise.
40814         * io/read.c: Likewise.
40815         * io/readlink.c: Likewise.
40816         * io/readlinkat.c: Likewise.
40817         * io/rmdir.c: Likewise.
40818         * io/sendfile.c: Likewise.
40819         * io/sendfile64.c: Likewise.
40820         * io/statfs.c: Likewise.
40821         * io/statfs64.c: Likewise.
40822         * io/statvfs.c: Likewise.
40823         * io/statvfs64.c: Likewise.
40824         * io/symlink.c: Likewise.
40825         * io/symlinkat.c: Likewise.
40826         * io/ttyname.c: Likewise.
40827         * io/ttyname_r.c: Likewise.
40828         * io/umask.c: Likewise.
40829         * io/unlink.c: Likewise.
40830         * io/unlinkat.c: Likewise.
40831         * io/utime.c: Likewise.
40832         * io/utimensat.c: Likewise.
40833         * io/write.c: Likewise.
40834         * io/xmknod.c: Likewise.
40835         * io/xmknodat.c: Likewise.
40836         * io/xstat.c: Likewise.
40837         * io/xstat64.c: Likewise.
40838         * login/getpt.c: Likewise.
40839         * login/grantpt.c: Likewise.
40840         * login/unlockpt.c: Likewise.
40841         * math/e_acoshl.c: Likewise.
40842         * math/e_acosl.c: Likewise.
40843         * math/e_asinl.c: Likewise.
40844         * math/e_atan2l.c: Likewise.
40845         * math/e_atanhl.c: Likewise.
40846         * math/e_coshl.c: Likewise.
40847         * math/e_expl.c: Likewise.
40848         * math/e_fmodl.c: Likewise.
40849         * math/e_gammal_r.c: Likewise.
40850         * math/e_hypotl.c: Likewise.
40851         * math/e_j0l.c: Likewise.
40852         * math/e_j1l.c: Likewise.
40853         * math/e_jnl.c: Likewise.
40854         * math/e_lgammal_r.c: Likewise.
40855         * math/e_log10l.c: Likewise.
40856         * math/e_log2l.c: Likewise.
40857         * math/e_logl.c: Likewise.
40858         * math/e_powl.c: Likewise.
40859         * math/e_rem_pio2l.c: Likewise.
40860         * math/e_sinhl.c: Likewise.
40861         * math/e_sqrtl.c: Likewise.
40862         * math/fclrexcpt.c: Likewise.
40863         * math/fedisblxcpt.c: Likewise.
40864         * math/feenablxcpt.c: Likewise.
40865         * math/fegetenv.c: Likewise.
40866         * math/fegetexcept.c: Likewise.
40867         * math/fegetround.c: Likewise.
40868         * math/feholdexcpt.c: Likewise.
40869         * math/fesetenv.c: Likewise.
40870         * math/fesetround.c: Likewise.
40871         * math/feupdateenv.c: Likewise.
40872         * math/fgetexcptflg.c: Likewise.
40873         * math/fraiseexcpt.c: Likewise.
40874         * math/fsetexcptflg.c: Likewise.
40875         * math/ftestexcept.c: Likewise.
40876         * math/k_cosl.c: Likewise.
40877         * math/k_rem_pio2l.c: Likewise.
40878         * math/k_sinl.c: Likewise.
40879         * math/k_tanl.c: Likewise.
40880         * math/s_asinhl.c: Likewise.
40881         * math/s_atanl.c: Likewise.
40882         * math/s_cbrtl.c: Likewise.
40883         * math/s_erfl.c: Likewise.
40884         * math/s_expm1l.c: Likewise.
40885         * math/s_log1pl.c: Likewise.
40886         * math/s_tanhl.c: Likewise.
40887         * misc/acct.c: Likewise.
40888         * misc/brk.c: Likewise.
40889         * misc/chflags.c: Likewise.
40890         * misc/chroot.c: Likewise.
40891         * misc/fchflags.c: Likewise.
40892         * misc/fgetxattr.c: Likewise.
40893         * misc/flistxattr.c: Likewise.
40894         * misc/fremovexattr.c: Likewise.
40895         * misc/fsetxattr.c: Likewise.
40896         * misc/fsync.c: Likewise.
40897         * misc/ftruncate.c: Likewise.
40898         * misc/futimes.c: Likewise.
40899         * misc/futimesat.c: Likewise.
40900         * misc/getdomain.c: Likewise.
40901         * misc/getdtsz.c: Likewise.
40902         * misc/gethostid.c: Likewise.
40903         * misc/gethostname.c: Likewise.
40904         * misc/getloadavg.c: Likewise.
40905         * misc/getpagesize.c: Likewise.
40906         * misc/getsysstats.c: Likewise.
40907         * misc/getxattr.c: Likewise.
40908         * misc/gtty.c: Likewise.
40909         * misc/ioctl.c: Likewise.
40910         * misc/lgetxattr.c: Likewise.
40911         * misc/listxattr.c: Likewise.
40912         * misc/llistxattr.c: Likewise.
40913         * misc/lremovexattr.c: Likewise.
40914         * misc/lsetxattr.c: Likewise.
40915         * misc/lutimes.c: Likewise.
40916         * misc/madvise.c: Likewise.
40917         * misc/mincore.c: Likewise.
40918         * misc/mlock.c: Likewise.
40919         * misc/mlockall.c: Likewise.
40920         * misc/mmap.c: Likewise.
40921         * misc/mprotect.c: Likewise.
40922         * misc/msync.c: Likewise.
40923         * misc/munlock.c: Likewise.
40924         * misc/munlockall.c: Likewise.
40925         * misc/munmap.c: Likewise.
40926         * misc/preadv.c: Likewise.
40927         * misc/preadv64.c: Likewise.
40928         * misc/ptrace.c: Likewise.
40929         * misc/pwritev.c: Likewise.
40930         * misc/pwritev64.c: Likewise.
40931         * misc/readv.c: Likewise.
40932         * misc/reboot.c: Likewise.
40933         * misc/remap_file_pages.c: Likewise.
40934         * misc/removexattr.c: Likewise.
40935         * misc/revoke.c: Likewise.
40936         * misc/select.c: Likewise.
40937         * misc/setdomain.c: Likewise.
40938         * misc/setegid.c: Likewise.
40939         * misc/seteuid.c: Likewise.
40940         * misc/sethostid.c: Likewise.
40941         * misc/sethostname.c: Likewise.
40942         * misc/setregid.c: Likewise.
40943         * misc/setreuid.c: Likewise.
40944         * misc/setxattr.c: Likewise.
40945         * misc/sstk.c: Likewise.
40946         * misc/stty.c: Likewise.
40947         * misc/swapoff.c: Likewise.
40948         * misc/swapon.c: Likewise.
40949         * misc/sync.c: Likewise.
40950         * misc/syncfs.c: Likewise.
40951         * misc/syscall.c: Likewise.
40952         * misc/truncate.c: Likewise.
40953         * misc/ualarm.c: Likewise.
40954         * misc/usleep.c: Likewise.
40955         * misc/ustat.c: Likewise.
40956         * misc/utimes.c: Likewise.
40957         * misc/vhangup.c: Likewise.
40958         * misc/writev.c: Likewise.
40959         * posix/_exit.c: Likewise.
40960         * posix/alarm.c: Likewise.
40961         * posix/execve.c: Likewise.
40962         * posix/fexecve.c: Likewise.
40963         * posix/fork.c: Likewise.
40964         * posix/fpathconf.c: Likewise.
40965         * posix/getaddrinfo.c: Likewise.
40966         * posix/getegid.c: Likewise.
40967         * posix/geteuid.c: Likewise.
40968         * posix/getgid.c: Likewise.
40969         * posix/getgroups.c: Likewise.
40970         * posix/getlogin.c: Likewise.
40971         * posix/getlogin_r.c: Likewise.
40972         * posix/getpgid.c: Likewise.
40973         * posix/getpid.c: Likewise.
40974         * posix/getppid.c: Likewise.
40975         * posix/getresgid.c: Likewise.
40976         * posix/getresuid.c: Likewise.
40977         * posix/getsid.c: Likewise.
40978         * posix/getuid.c: Likewise.
40979         * posix/glob64.c: Likewise.
40980         * posix/nanosleep.c: Likewise.
40981         * posix/pathconf.c: Likewise.
40982         * posix/pause.c: Likewise.
40983         * posix/posix_madvise.c: Likewise.
40984         * posix/pread.c: Likewise.
40985         * posix/pread64.c: Likewise.
40986         * posix/pwrite.c: Likewise.
40987         * posix/pwrite64.c: Likewise.
40988         * posix/sched_getaffinity.c: Likewise.
40989         * posix/sched_getp.c: Likewise.
40990         * posix/sched_gets.c: Likewise.
40991         * posix/sched_primax.c: Likewise.
40992         * posix/sched_primin.c: Likewise.
40993         * posix/sched_rr_gi.c: Likewise.
40994         * posix/sched_setaffinity.c: Likewise.
40995         * posix/sched_setp.c: Likewise.
40996         * posix/sched_sets.c: Likewise.
40997         * posix/sched_yield.c: Likewise.
40998         * posix/setgid.c: Likewise.
40999         * posix/setlogin.c: Likewise.
41000         * posix/setpgid.c: Likewise.
41001         * posix/setresgid.c: Likewise.
41002         * posix/setresuid.c: Likewise.
41003         * posix/setsid.c: Likewise.
41004         * posix/setuid.c: Likewise.
41005         * posix/sleep.c: Likewise.
41006         * posix/spawni.c: Likewise.
41007         * posix/sysconf.c: Likewise.
41008         * posix/times.c: Likewise.
41009         * posix/wait.c: Likewise.
41010         * posix/wait3.c: Likewise.
41011         * posix/wait4.c: Likewise.
41012         * posix/waitpid.c: Likewise.
41013         * resolv/gai_sigqueue.c: Likewise.
41014         * resource/getpriority.c: Likewise.
41015         * resource/getrlimit.c: Likewise.
41016         * resource/getrusage.c: Likewise.
41017         * resource/nice.c: Likewise.
41018         * resource/setpriority.c: Likewise.
41019         * resource/setrlimit.c: Likewise.
41020         * resource/ulimit.c: Likewise.
41021         * rt/aio_cancel.c: Likewise.
41022         * rt/aio_fsync.c: Likewise.
41023         * rt/aio_read.c: Likewise.
41024         * rt/aio_sigqueue.c: Likewise.
41025         * rt/aio_suspend.c: Likewise.
41026         * rt/aio_write.c: Likewise.
41027         * rt/clock_getres.c: Likewise.
41028         * rt/clock_gettime.c: Likewise.
41029         * rt/clock_nanosleep.c: Likewise.
41030         * rt/clock_settime.c: Likewise.
41031         * rt/lio_listio.c: Likewise.
41032         * rt/mq_close.c: Likewise.
41033         * rt/mq_getattr.c: Likewise.
41034         * rt/mq_notify.c: Likewise.
41035         * rt/mq_open.c: Likewise.
41036         * rt/mq_receive.c: Likewise.
41037         * rt/mq_send.c: Likewise.
41038         * rt/mq_setattr.c: Likewise.
41039         * rt/mq_timedreceive.c: Likewise.
41040         * rt/mq_timedsend.c: Likewise.
41041         * rt/mq_unlink.c: Likewise.
41042         * rt/shm_open.c: Likewise.
41043         * rt/shm_unlink.c: Likewise.
41044         * rt/timer_create.c: Likewise.
41045         * rt/timer_delete.c: Likewise.
41046         * rt/timer_getoverr.c: Likewise.
41047         * rt/timer_gettime.c: Likewise.
41048         * rt/timer_settime.c: Likewise.
41049         * setjmp/__longjmp.c: Likewise.
41050         * setjmp/setjmp.c: Likewise.
41051         * signal/kill.c: Likewise.
41052         * signal/killpg.c: Likewise.
41053         * signal/raise.c: Likewise.
41054         * signal/sigaction.c: Likewise.
41055         * signal/sigaltstack.c: Likewise.
41056         * signal/sigblock.c: Likewise.
41057         * signal/sigignore.c: Likewise.
41058         * signal/sigintr.c: Likewise.
41059         * signal/signal.c: Likewise.
41060         * signal/sigpause.c: Likewise.
41061         * signal/sigpending.c: Likewise.
41062         * signal/sigqueue.c: Likewise.
41063         * signal/sigreturn.c: Likewise.
41064         * signal/sigset.c: Likewise.
41065         * signal/sigsetmask.c: Likewise.
41066         * signal/sigstack.c: Likewise.
41067         * signal/sigsuspend.c: Likewise.
41068         * signal/sigtimedwait.c: Likewise.
41069         * signal/sigvec.c: Likewise.
41070         * signal/sigwait.c: Likewise.
41071         * signal/sigwaitinfo.c: Likewise.
41072         * signal/sysv_signal.c: Likewise.
41073         * socket/accept.c: Likewise.
41074         * socket/accept4.c: Likewise.
41075         * socket/bind.c: Likewise.
41076         * socket/connect.c: Likewise.
41077         * socket/getpeername.c: Likewise.
41078         * socket/getsockname.c: Likewise.
41079         * socket/getsockopt.c: Likewise.
41080         * socket/isfdtype.c: Likewise.
41081         * socket/listen.c: Likewise.
41082         * socket/recv.c: Likewise.
41083         * socket/recvfrom.c: Likewise.
41084         * socket/recvmsg.c: Likewise.
41085         * socket/send.c: Likewise.
41086         * socket/sendmsg.c: Likewise.
41087         * socket/sendto.c: Likewise.
41088         * socket/setsockopt.c: Likewise.
41089         * socket/shutdown.c: Likewise.
41090         * socket/sockatmark.c: Likewise.
41091         * socket/socket.c: Likewise.
41092         * socket/socketpair.c: Likewise.
41093         * stdio-common/ctermid.c: Likewise.
41094         * stdio-common/cuserid.c: Likewise.
41095         * stdio-common/remove.c: Likewise.
41096         * stdio-common/rename.c: Likewise.
41097         * stdio-common/renameat.c: Likewise.
41098         * stdio-common/tempname.c: Likewise.
41099         * stdlib/getcontext.c: Likewise.
41100         * stdlib/makecontext.c: Likewise.
41101         * stdlib/setcontext.c: Likewise.
41102         * stdlib/swapcontext.c: Likewise.
41103         * stdlib/system.c: Likewise.
41104         * streams/fattach.c: Likewise.
41105         * streams/fdetach.c: Likewise.
41106         * streams/getmsg.c: Likewise.
41107         * streams/getpmsg.c: Likewise.
41108         * streams/putmsg.c: Likewise.
41109         * streams/putpmsg.c: Likewise.
41110         * sysdeps/unix/bsd/getpt.c: Likewise.
41111         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41112         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41113         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41115         Likewise.
41116         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41117         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41118         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41119         * sysvipc/msgctl.c: Likewise.
41120         * sysvipc/msgget.c: Likewise.
41121         * sysvipc/msgrcv.c: Likewise.
41122         * sysvipc/msgsnd.c: Likewise.
41123         * sysvipc/semctl.c: Likewise.
41124         * sysvipc/semget.c: Likewise.
41125         * sysvipc/semop.c: Likewise.
41126         * sysvipc/semtimedop.c: Likewise.
41127         * sysvipc/shmat.c: Likewise.
41128         * sysvipc/shmctl.c: Likewise.
41129         * sysvipc/shmdt.c: Likewise.
41130         * sysvipc/shmget.c: Likewise.
41131         * termios/tcdrain.c: Likewise.
41132         * termios/tcflow.c: Likewise.
41133         * termios/tcflush.c: Likewise.
41134         * termios/tcgetattr.c: Likewise.
41135         * termios/tcgetpgrp.c: Likewise.
41136         * termios/tcsendbrk.c: Likewise.
41137         * termios/tcsetattr.c: Likewise.
41138         * termios/tcsetpgrp.c: Likewise.
41139         * time/adjtime.c: Likewise.
41140         * time/clock.c: Likewise.
41141         * time/getitimer.c: Likewise.
41142         * time/gettimeofday.c: Likewise.
41143         * time/setitimer.c: Likewise.
41144         * time/settimeofday.c: Likewise.
41145         * time/stime.c: Likewise.
41146         * time/time.c: Likewise.
41148 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41150         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41151         /usr/old/bin.
41153         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41154         instead of spaces.
41155         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41157 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41159         [BZ #14796]
41160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41161         FE_TONEAREST before applying Dekker multiplication and Knuth
41162         addition.  Clear inexact exceptions and check for exact zero
41163         results afterwards.
41164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41165         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41166         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41167         * math/libm-test.inc (fma_test): Add more tests.
41168         (fma_test_towardzero): Likewise.
41169         (fma_test_downward): Likewise.
41170         (fma_test_upward): Likewise.
41171         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41172         function.
41173         (libc_fesetround): New macro.
41174         (libc_fesetroundf): Likewise.
41175         (libc_fesetroundl): Likewise.
41176         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41177         function.
41178         (libc_fesetround_387): Likewise.
41179         (libc_fesetroundf): New macro.
41180         (libc_fesetround): Likewise.
41181         (libc_fesetroundl): Likewise.
41182         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41183         function.
41184         (libc_fesetroundf): New macro.
41185         (libc_fesetround): Likewise.
41186         (libc_fesetroundl): Likewise.
41187         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41188         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41189         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41190         libm_hidden_ver.
41191         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41192         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41193         libm_hidden_def.
41194         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41195         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41196         libm_hidden_ver.
41197         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41198         libm_hidden_def.
41200         [BZ #3439]
41201         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41202         integer constant usable in #if and use that to give value to enum
41203         constant.
41204         (FE_DIVBYZERO): Likewise.
41205         (FE_UNDERFLOW): Likewise.
41206         (FE_OVERFLOW): Likewise.
41207         (FE_INVALID): Likewise.
41208         (FE_INVALID_SNAN): Likewise.
41209         (FE_INVALID_ISI): Likewise.
41210         (FE_INVALID_IDI): Likewise.
41211         (FE_INVALID_ZDZ): Likewise.
41212         (FE_INVALID_IMZ): Likewise.
41213         (FE_INVALID_COMPARE): Likewise.
41214         (FE_INVALID_SOFTWARE): Likewise.
41215         (FE_INVALID_SQRT): Likewise.
41216         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41217         (FE_TONEAREST): Likewise.
41218         (FE_TOWARDZERO): Likewise.
41219         (FE_UPWARD): Likewise.
41220         (FE_DOWNWARD): Likewise.
41221         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41222         (FE_DIVBYZERO): Likewise.
41223         (FE_OVERFLOW): Likewise.
41224         (FE_UNDERFLOW): Likewise.
41225         (FE_INEXACT): Likewise.
41226         (FE_TONEAREST): Likewise.
41227         (FE_DOWNWARD): Likewise.
41228         (FE_UPWARD): Likewise.
41229         (FE_TOWARDZERO): Likewise.
41230         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41231         (FE_UNDERFLOW): Likewise.
41232         (FE_OVERFLOW): Likewise.
41233         (FE_DIVBYZERO): Likewise.
41234         (FE_INVALID): Likewise.
41235         (FE_TONEAREST): Likewise.
41236         (FE_TOWARDZERO): Likewise.
41237         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41238         (FE_OVERFLOW): Likewise.
41239         (FE_UNDERFLOW): Likewise.
41240         (FE_DIVBYZERO): Likewise.
41241         (FE_INEXACT): Likewise.
41242         (FE_TONEAREST): Likewise.
41243         (FE_TOWARDZERO): Likewise.
41244         (FE_UPWARD): Likewise.
41245         (FE_DOWNWARD): Likewise.
41246         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41247         (FE_DIVBYZERO): Likewise.
41248         (FE_OVERFLOW): Likewise.
41249         (FE_UNDERFLOW): Likewise.
41250         (FE_INEXACT): Likewise.
41251         (FE_TONEAREST): Likewise.
41252         (FE_DOWNWARD): Likewise.
41253         (FE_UPWARD): Likewise.
41254         (FE_TOWARDZERO): Likewise.
41256 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41258         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41260 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41262         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41263         commands.  Quote $PWD.
41264         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41265         -x" by "export".
41266         (remove_newlines): Remove.
41268 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41270         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41271         * stdlib/stdlib.h (atof): Moved to ...
41272         * include/bits/stdlib-float.h: Here.  New file.
41273         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41274         * stdlib/bits/stdlib-float.h: New file.
41275         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41276         -mno-sse -mno-mmx.
41277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41278         <xmmintrin.h>.
41280 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41282         * conform/conformtest.pl (@headers): Add fenv.h.
41283         * conform/data/fenv.h-data: New file.
41284         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41285         include of <math/fenv.h>.
41287         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41288         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41289         && !UNIX98].  Enables tests for XOPEN2K8.
41290         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41291         POSIX2008]: Likewise.
41293         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41294         (struct rusage): Do not expect type or its members.
41296         [BZ #3439]
41297         * math/math.h (FP_NAN): Define macro to integer constant usable in
41298         #if and use that to give value to enum constant.
41299         (FP_INFINITE): Likewise.
41300         (FP_ZERO): Likewise.
41301         (FP_SUBNORMAL): Likewise.
41302         (FP_NORMAL): Likewise.
41304 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41306         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41307         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41308         arguments.
41310 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41312         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41313         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41314         autoconf-time if not.
41315         * configure.in: Remove AC_PREREQ.
41317 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41319         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41320         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41321         of the internal implementation.
41323 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41325         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41326         except include of <misc/sys/syslog.h>.
41328 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41331         function returns with a NULL context exit with zero.
41333 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41335         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41337 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41339         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41340         (run_program_cmd): This.
41341         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41342         (tst_langinfo): New variable.  Use it.
41344 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41346         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41347         floating point opcodes.
41349 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41351         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41352         variable.
41354         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41356         * sysdeps/mach/hurd/powerpc: Remove directory.
41357         * sysdeps/mach/powerpc: Likewise.
41359 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41361         * scripts/check-local-headers.sh: Ignore c++ headers.
41363 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41365         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41366         __libc_cleanup_region_start argument.
41368 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41370         [BZ #14784]
41371         [BZ #14785]
41372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41373         x * y using scaling, not as x * y + z.
41374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41376         * math/libm-test.inc (fma_test): Add more tests.
41377         (fma_test_towardzero): Likewise.
41378         (fma_test_downward): Likewise.
41379         (fma_test_upward): Likewise.
41381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41383         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41385 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41387         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41388         New variable.
41390 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41392         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41394 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41397         Fix sort order.
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41399         Likewise.
41401 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41404         Fix the order of the list for glibc 2.17.
41405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41406         Likewise.
41408 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41412 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41414         [BZ #14610]
41415         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41416         for low part of x being zero before using __atanl (y).
41417         * math/libm-test.inc (atan2_test): Add another test.
41419         * manual/install.texi (Configuring and compiling): Document
41420         general use of test-wrapper and test-wrapper-env.
41421         * INSTALL: Regenerated.
41423         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41424         (__fma): Do not extract and scale down low bits on after-rounding
41425         systems when result rounded to normal precision would have normal
41426         exponent.
41427         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41428         (__fmal): Do not extract and scale down low bits on after-rounding
41429         systems when result rounded to normal precision would have normal
41430         exponent.
41431         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41432         (__fmal): Do not extract and scale down low bits on after-rounding
41433         systems when result rounded to normal precision would have normal
41434         exponent.
41435         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41436         macro.
41437         (fma_test): Add more tests.
41438         (fma_test_towardzero): Likewise.
41439         (fma_test_downward): Likewise.
41440         (fma_test_upward): Likewise.
41442 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41444         * sysdeps/i386/tininess.h: Renamed to ...
41445         * sysdeps/x86/tininess.h: This.
41446         * sysdeps/x86_64/tininess.h: Removed.
41448 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41450         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41451         input.  Use $(build-program-cmd).
41452         ($(objpfx)tst-array1-static.out): Likewise.
41453         ($(objpfx)tst-array2.out): Likewise.
41454         ($(objpfx)tst-array3.out): Likewise.
41455         ($(objpfx)tst-array4.out): Likewise.
41456         ($(objpfx)tst-array5.out): Likewise.
41457         ($(objpfx)tst-array5-static.out): Likewise.
41459 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41461         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41462         if defined.
41464         * nss/nsswitch.h (nss_interface_function): Provide new
41465         macro for use with NSS functions.
41466         * grp/initgroups.c: Use new macro.
41467         * nss/getXXbyYY.c: Likewise.
41468         * nss/getXXbyYY_r.c: Likewise.
41469         * nss/getXXent.c: Likewise.
41470         * nss/getXXent_r.c: Likewise.
41471         * sysdeps/posix/getaddrinfo.c: Likewise.
41473 2012-10-30  Andreas Jaeger  <aj@suse.de>
41475         * po/ru.po: Update Russion translation from translation project.
41477 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41479         [BZ #14152]
41480         [BZ #14783]
41481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41482         result and shift together with sticky bit instead of replicating
41483         round-to-nearest rounding.
41484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41486         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41487         missing underflow exceptions.
41488         (fma_test_towardzero): Add more tests.
41489         (fma_test_downward): Likewise.
41490         (fma_test_upward): Likewise.
41492         [BZ #14047]
41493         * sysdeps/generic/tininess.h: New file.
41494         * sysdeps/i386/tininess.h: Likewise.
41495         * sysdeps/sh/tininess.h: Likewise.
41496         * sysdeps/x86_64/tininess.h: Likewise.
41497         * stdlib/tst-strtod-underflow.c: Likewise.
41498         * stdlib/tst-tininess.c: Likewise.
41499         * stdlib/strtod_l.c: Include <tininess.h>.
41500         (round_and_return): Do not set errno for exact underflow cases.
41501         Force an underflow exception when setting errno for underflow.
41502         Determine underflow based on rounding to normal precision if
41503         TININESS_AFTER_ROUNDING.
41504         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41505         ERANGE for exact underflow cases.
41506         * stdlib/Makefile (tests): Add tst-tininess and
41507         tst-strtod-underflow.
41508         ($(objpfx)tst-tininess): Use $(link-libm).
41509         ($(objpfx)tst-strtod-underflow): Likewise.
41511 2012-10-30  Andreas Jaeger  <aj@suse.de>
41513         [BZ#14767]
41514         * elf/Makefile (tests): Remove conditional for have-initfini-array
41515         since this is now always required and the variable does not exist
41516         anymore.
41517         (tests-static): Likewise.
41518         (modules-names): Likewise.
41520         * po/eo.po: Add Esperanto translation from translation project.
41522         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41523         merged with constructor/destructor.
41524         (init_array): Likewise.
41525         * elf/tst-array2dep.c (fini_array): Likewise.
41526         (init_array): Likewise.
41528 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41530         * manual/message.texi: Delete @cartouche tags.
41532 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41534         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41535         EOPNOTSUPP.
41536         * sysdeps/mach/hurd/fsync.c: Likewise.
41538         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41539         [_POSIX_REALTIME_SIGNALS]: Change condition to
41540         [_POSIX_REALTIME_SIGNALS > 0].
41542 2012-10-27  Andreas Jaeger  <aj@suse.de>
41544         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41545         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41547         [__WORDSIZE != 64]: Likewise.
41549 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41551         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41552         *  iconvdata/tst-tables.sh: Likewise.
41554 2012-10-25  David S. Miller  <davem@davemloft.net>
41556         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41557         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41558         of strtoull.
41560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41561         ifunc-impl-list.c
41562         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41563         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41564         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41565         file.
41567 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41570         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41571         __getdirentries.
41573 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41574             Jim Blandy  <jimb@codesourcery.com>
41576         * scripts/cross-test-ssh.sh: New file.
41577         * manual/install.texi (Configuring and compiling): Document use of
41578         cross-test-ssh.sh.
41579         * INSTALL: Regenerated.
41581 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41583         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41584         EOPNOTSUPP.
41586 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41588         * Makeconfig (run-program-prefix): Fix comment.
41590 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41591             Jim Blandy  <jimb@codesourcery.com>
41593         * Makeconfig (test-wrapper): New variable,
41594         (test-wrapper-env): Likewise.
41595         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41596         (run-built-tests): Define to yes.
41597         (run-program-prefix): Use $(test-wrapper).
41598         (built-program-cmd): Likewise.
41599         * Rules (make-test-out): Use $(test-wrapper-env) and
41600         $(host-built-program-cmd).
41601         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41602         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41603         tst-pathopt.sh.
41604         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41605         $(test-wrapper-env) to tst-rtld-load-self.sh.
41606         ($(objpfx)order2.out): Use $(test-wrapper).
41607         ($(objpfx)tst-initorder.out): Likewise.
41608         ($(objpfx)tst-initorder2.out): Likewise.
41609         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41610         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41611         (test_wrapper_env): New variable.  Use it to run ld.so.
41612         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41613         Use it to run ld.so.
41614         (test_wrapper_env): Likewise.
41615         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41616         $(test-wrapper) to run-iconv-test.sh.
41617         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41618         (ICONV): Use $test_wrapper.
41619         * posix/Makefile ($(objpfx)globtest.out): Pass
41620         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41621         globtest.sh, not $(run-program-prefix).
41622         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41623         (test_wrapper): Likewise.
41624         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41625         set together with run_via_rtld_prefix.
41626         (run_program_prefix): Define in terms of test_wrapper and
41627         run_via_rtld_prefix.
41629 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41631         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41632         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41633         Targets removed.
41635         [BZ #14743]
41636         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41637         Declare __clock_getres, __clock_gettime, __clock_settime,
41638         __clock_nanosleep, and __clock_getcpuclockid.
41639         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41640         Remove librt_hidden_def (clock_gettime).
41641         * sysdeps/unix/clock_gettime.c: Likewise.
41642         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41643         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41644         * rt/clock_getres.c: Define __clock_getres as an alias.
41645         * sysdeps/posix/clock_getres.c: Likewise.
41646         * rt/clock_settime.c: Define __clock_settime as an alias.
41647         * sysdeps/unix/clock_settime.c: Likewise.
41648         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41649         * sysdeps/unix/clock_nanosleep.c: Likewise.
41650         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41651         * rt/clock-compat.c: New file.
41652         * rt/Makefile (librt-routines): Add clock-compat and move
41653         $(clock-routines) to ...
41654         (routines): ... here, new variable.
41655         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41656         Don't add get_clockfreq here.
41657         * rt/Versions (libc: GLIBC_2.17): New version set.
41658         Add clock_* symbols here.
41659         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41661         (GLIBC_2.17): Add clock_* symbols.
41662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41666         Likewise.
41667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41668         Likewise.
41669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41673         * NEWS: Mention the move.
41675         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41676         Use __open, __read, __close rather than their public counterparts.
41677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41678         (__get_clockfreq_via_cpuinfo): Likewise.
41679         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41680         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41682         * config.h.in (HAVE_IFUNC): New #undef.
41683         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41684         was successful.
41685         * configure: Regenerated.
41687 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41689         * configure.in: Move READELF check to start of file.
41690         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41691         libc_cv_asm_gnu_indirect_function in the process.
41692         * configure: Regenerated.
41694 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41696         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41697         send the output to /dev/null.
41698         (libc_cv_cc_with_libunwind): Likewise.
41699         (libc_cv_as_noexecstack): Likewise.
41700         * configure: Regenerate.
41702 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41704         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41706         * posix/globtest.sh (TMPDIR): Do not set.
41707         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41708         (testout): Likewise.
41710 2012-10-24  Andreas Jaeger  <aj@suse.de>
41712         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41713         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41714         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41715         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41716         posix_fadvise64, posix_fallocate64.
41718         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41719         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41720         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41721         Likewise.
41722         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41723         Likewise.
41724         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41727         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41728         <bits/fcntl-linux.h>.
41729         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41732         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41733         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41734         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41735         [__WORDSIZE != 64]: Likewise.
41737 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41739         * Makeconfig (run-built-tests): New variable.
41740         * Rules [$(cross-compiling) = yes]: Change condition to
41741         [$(run-built-tests) = no].
41742         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41743         to [$(run-built-tests) = yes].
41744         * elf/Makefile [$(cross-compiling) = no]: Likewise
41745         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41746         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41747         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41748         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41749         * io/Makefile [$(cross-compiling) = no]: Likewise.
41750         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41751         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41752         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41753         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41754         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41755         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41756         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41757         * string/Makefile [$(cross-compiling) = no]: Likewise.
41759         * posix/Makefile ($(objpfx)globtest.out): Pass
41760         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41761         $(rtld-installed-name).
41762         * posix/globtest.sh (elf_objpfx): Remove variable.
41763         (rtld_installed_name): Likewise.
41764         (library_path): Likewise.
41765         (run_program_prefix): New variable.  Use for running globtest
41766         binary.
41768 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41769             Joseph Myers  <joseph@codesourcery.com>
41771         * Makeconfig (host-built-program-cmd): New variable.
41772         * elf/Makefile (tst-stackguard1-ARGS): Use
41773         $(host-built-program-cmd).
41774         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41775         (tst-spawn-ARGS): Likewise.
41776         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41778 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41779             Jim Blandy  <jimb@codesourcery.com>
41781         * Makeconfig (run-via-rtld-prefix): New variable.
41782         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41783         (built-program-cmd): Likewise.
41785 2012-10-22  Andreas Jaeger  <aj@suse.de>
41787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41788         __O_RSYNC if it exists, otherwise to O_SYNC.
41790 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41791             Joseph Myers  <joseph@codesourcery.com>
41793         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41794         /dev/null.
41795         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41796         from /dev/null
41797         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41798         /dev/null.
41800 2012-10-22  Andreas Jaeger  <aj@suse.de>
41802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41803         Define always.
41804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41807         bits/fcntl-linux.h.
41809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41810         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41812         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41813         to __O_LARGEFILE.
41814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41815         to __O_LARGEFILE.
41817 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41818             Joseph Myers  <joseph@codesourcery.com>
41820         * config.make.in (NM): New variable.
41822 2012-10-21  Andreas Jaeger  <aj@suse.de>
41824         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41825         definitions and declarations that are provided by
41826         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41828 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41830         [BZ #14683]
41831         * elf/Makefile (tests-static): Add tst-leaks1-static.
41832         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41833         ($(objpfx)tst-leaks1-static): New rule.
41834         ($(objpfx)tst-leaks1-static-mem): Likewise.
41835         (tst-leaks1-static-ENV): New macro.
41836         * elf/dl-open.c (dl_open_worker): Check the main application
41837         only if SHARED is defined.
41838         * elf/tst-leaks1-static.c: New file.
41840 2012-10-20  Andreas Jaeger  <aj@suse.de>
41842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41843         generic values for Linux.
41844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41845         and declarations that are provided by <bits/fcntl-linux.h> and
41846         include <bits/fcntl-linux.h>.
41847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41848         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41850 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41852         * io/fcntl.h: Move include of <bits/types.h> to the top and
41853         include it unconditionally.
41855 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41857         * wcsmbs/Makefile (tests-ifunc): New variable.
41858         (tests): Add $(tests-ifunc).
41859         * wcsmbs/test-wcschr-ifunc.c: New file.
41860         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41861         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41862         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41863         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41864         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41866         * string/Makefile (tests-ifunc): New variable.
41867         (tests): Add $(tests-ifunc).
41868         * string/test-memccpy.c (TEST_NAME): New macro.
41869         * string/test-memchr.c (TEST_NAME): Likewise.
41870         * string/test-memcmp.c (TEST_NAME): Likewise.
41871         * string/test-memcpy.c (TEST_NAME): Likewise.
41872         * string/test-memmem.c (TEST_NAME): Likewise.
41873         * string/test-memmove.c (TEST_NAME): Likewise.
41874         * string/test-memset.c (TEST_NAME): Likewise.
41875         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41876         * string/test-stpcpy.c (TEST_NAME): Likewise.
41877         * string/test-stpncpy.c (TEST_NAME): Likewise.
41878         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41879         * string/test-strcasestr.c (TEST_NAME): Likewise.
41880         * string/test-strcat.c (TEST_NAME): Likewise.
41881         * string/test-strchr.c (TEST_NAME): Likewise.
41882         * string/test-strcmp.c(TEST_NAME): Likewise.
41883         * string/test-strcpy.c (TEST_NAME): Likewise.
41884         * string/test-strcspn.c (TEST_NAME): Likewise.
41885         * string/test-strlen.c (TEST_NAME): Likewise.
41886         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41887         * string/test-strncmp.c (TEST_NAME): Likewise.
41888         * string/test-strncpy.c (TEST_NAME): Likewise.
41889         * string/test-strnlen.c (TEST_NAME): Likewise.
41890         * string/test-strpbrk.c (TEST_NAME): Likewise.
41891         * string/test-strrchr.c (TEST_NAME): Likewise.
41892         * string/test-strspn.c (TEST_NAME): Likewise.
41893         * string/test-strstr.c (TEST_NAME): Likewise.
41894         * string/test-bcopy-ifunc.c: New file.
41895         * string/test-bzero-ifunc.c: Likewise.
41896         * string/test-memccpy-ifunc.c: Likewise.
41897         * string/test-memchr-ifunc.c: Likewise.
41898         * string/test-memcmp-ifunc.c: Likewise.
41899         * string/test-memcpy-ifunc.c: Likewise.
41900         * string/test-memmem-ifunc.c: Likewise.
41901         * string/test-memmove-ifunc.c: Likewise.
41902         * string/test-mempcpy-ifunc.c: Likewise.
41903         * string/test-memset-ifunc.c: Likewise.
41904         * string/test-rawmemchr-ifunc.c: Likewise.
41905         * string/test-stpcpy-ifunc.c: Likewise.
41906         * string/test-stpncpy-ifunc.c: Likewise.
41907         * string/test-strcasecmp-ifunc.c: Likewise.
41908         * string/test-strcasestr-ifunc.c: Likewise.
41909         * string/test-strcat-ifunc.c: Likewise.
41910         * string/test-strchr-ifunc.c: Likewise.
41911         * string/test-strchrnul-ifunc.c: Likewise.
41912         * string/test-strcmp-ifunc.c: Likewise.
41913         * string/test-strcpy-ifunc.c: Likewise.
41914         * string/test-strcspn-ifunc.c: Likewise.
41915         * string/test-strlen-ifunc.c: Likewise.
41916         * string/test-strncasecmp-ifunc.c: Likewise.
41917         * string/test-strncat-ifunc.c: Likewise.
41918         * string/test-strncmp-ifunc.c: Likewise.
41919         * string/test-strncpy-ifunc.c: Likewise.
41920         * string/test-strnlen-ifunc.c: Likewise.
41921         * string/test-strpbrk-ifunc.c: Likewise.
41922         * string/test-strrchr-ifunc.c: Likewise.
41923         * string/test-strspn-ifunc.c: Likewise.
41924         * string/test-strstr-ifunc.c: Likewise.
41926         * debug/Makefile (tests-ifunc): New variable.
41927         (tests): Add $(tests-ifunc).
41928         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41929         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41930         * debug/test-stpcpy_chk-ifunc.c: New file.
41931         * debug/test-strcpy_chk-ifunc.c: Likewise.
41933 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41935         [BZ #13601]
41936         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41937         header is not read in.
41939 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41941         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41942         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41943         directly.  Pass built executable to script as
41944         $(built-program-cmd).
41945         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41946         $testprogram without using LD_LIBRARY_PATH and $ldso.
41948         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41949         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41950         $(rtld-installed-name).
41951         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41952         (rtld_installed_name): Likewise.
41953         (library_path): Likewise.
41954         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41955         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41956         $(run-program-prefix) to tst-tables.sh.
41957         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41958         it to run tst-table-from and tst-table-to.
41959         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41960         Pass it to tst-table.sh.
41961         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41962         $(run-program-prefix) to tst-gettext.sh.
41963         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41964         tst-translit.sh.
41965         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41966         tst-gettext2.sh.
41967         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41968         to run tst-gettext.
41969         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41970         to run tst-gettext2.
41971         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41972         to run tst-translit.
41973         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41974         $(run-program-prefix) to tst-mtrace.sh.
41975         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41976         to run tst-mtrace.
41977         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41978         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41979         $(rtld-installed-name).
41980         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41981         (rtld_installed_name): Likewise.
41982         (run_program_prefix): New variable.  Use it to run wordexp-test.
41984         * Makeconfig (ARCH): Remove all definitions.
41985         (machine): Likewise.
41986         [ARCH]: Remove conditional code.
41987         [!objdir]: Give error.
41988         [!objdir] (objpfx): Remove.
41989         [!objdir] (common-objpfx): Likewise.
41990         [!objdir] (common-objdir): Likewise.
41991         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41992         AC_CONFIG_FILES call.
41993         * configure: Regenerated.
41995         [BZ #13888]
41996         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41997         or TMPDIR.
41998         (testout): Likewise.
42000         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42001         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42002         $(rtld-installed-name).
42003         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42004         (rtld_installed_name): Likwise.
42005         (runit): Remove function.
42006         (run_getconf): New variable,  Use it for running getconf binary.
42008 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42010         [BZ #14716]
42011         * string/test-memmem.c (check_result): New function.
42012         (do_one_test): Use it.
42013         (check1): New function.
42014         (test_main): Use it.
42016 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42018         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42020 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42022         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42023         (_G_LSEEK64): Likewise.
42024         (_G_MMAP64): Likewise.
42025         (_G_FSTAT64): Likewise.
42026         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42027         (_G_LSEEK64): Likewise.
42028         (_G_MMAP64): Likewise.
42029         (_G_FSTAT64): Likewise.
42030         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42031         unconditional.  Call __mmap64 directly.
42032         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42033         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42034         __lseek64 directly.
42035         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42036         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42037         __mmap64 directly.
42038         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42039         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42040         __lseek64 directly.
42041         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42042         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42043         __lseek64 directly.
42044         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42045         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42046         __lseek64 directly.
42047         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42048         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42049         __fxstat64 directly.
42050         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42051         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42052         unconditional.
42053         (freopen64) [!_G_OPEN64]: Remove conditional code.
42054         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42055         unconditional.
42056         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42057         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42058         unconditional.
42059         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42060         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42061         unconditional.
42062         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42063         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42064         unconditional.
42065         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42066         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42067         unconditional.
42068         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42069         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42070         unconditional.
42071         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42072         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42073         unconditional.
42074         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42076 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42078         [BZ #12140]
42079         * manual/memory.texi (Malloc Tunable Parameters): Add note
42080         about free list pointers overwriting some perturb bytes.
42081         Wording suggested by Roland McGrath.
42083 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42085         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42086         (lgamma_test): Likewise.
42087         (tgamma_test): Likewise.
42089 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42091         [BZ #14700]
42092         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42093         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42095 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42097         * NEWS: Mention BZ #14716.
42098         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42099         when removing AVAILABLE1_USES_J macro.
42101 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42103         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42104         (__bswap_64): __uint64_t for unsigned 64-bit int.
42106 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42108         * include/string.h (memmem): Declare libc hidden alias.
42109         * string/memmem.c (memmem): Define libc hidden alias.
42110         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42111         __read, __close instead of open, read, close.
42113 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42116         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42117         global and hidden.
42118         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42119         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42120         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42121         Likewise.
42122         (__rawmemchr_sse2): Likewise.
42123         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42124         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42125         (__strchr_sse2): Likewise.
42126         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42127         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42128         (__strcasecmp_sse2): Likewise.
42129         (__strncasecmp_sse2): Likewise.
42130         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42131         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42132         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42133         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42134         (__strrchr_sse2): Likewise.
42135         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42136         ifunc-impl-list.c.
42137         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42138         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42139         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42140         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42141         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42142         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42143         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42144         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42145         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42146         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42147         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42148         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42149         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42150         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42151         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42152         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42153         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42154         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42155         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42156         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42157         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42158         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42159         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42160         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42161         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42162         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42163         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42164         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42165         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42166         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42168         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42169         global and hidden.
42170         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42171         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42172         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42173         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42174         Likewise.
42175         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42176         Likewise.
42177         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42178         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42179         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42180         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42181         ifunc-impl-list.c.
42182         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42183         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42184         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42185         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42186         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42187         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42188         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42189         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42190         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42191         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42192         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42193         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42194         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42195         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42196         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42197         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42198         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42199         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42200         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42201         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42202         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42203         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42204         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42205         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42206         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42207         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42208         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42209         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42210         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42211         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42212         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42213         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42214         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42215         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42216         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42217         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42218         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42220         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42221         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42222         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42224         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42225         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42226         * include/ifunc-impl-list.h: New file.
42227         * misc/ifunc-impl-list.c: Likewise.
42228         * misc/Makefile (routines): Add ifunc-impl-list.
42229         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42230         * string/test-string.h: Include <ifunc-impl-list.h>.
42231         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42232         TEST_NAME]: New variables.
42233         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42234         are defined.
42235         (test_init): Call __libc_ifunc_impl_list to initialize
42236         func_list if TEST_IFUNC and TEST_NAME are defined.
42238         * string/Makefile (strop-tests): Add bcopy and bzero.
42239         * string/test-bcopy.c: New file.
42240         * string/test-bzero.c: Likewise.
42241         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42242         defined.
42243         * string/test-memset.c: Support bzero test if TEST_BZERO is
42244         defined.
42245         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42246         __libc_memmove.
42247         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42248         __libc_memset.
42249         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42250         of memset.
42252 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42254         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42255         * configure: Regenerated.
42257         * Makeconfig (+link-static-before-libc): Don't include
42258         $(link-static-libc).
42260         * libio/libio.h (_IO_pos_t): Remove.
42262 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42264         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42265         McGrath.
42267 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42269         * crypt/crypt-entry.c: Include fips-private.h.
42270         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42271         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42272         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42273         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42275 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42277         * crypt/crypt-private.h: Include stdbool.h.
42278         (_ufc_setup_salt_r): Return bool.
42279         * crypt/crypt-entry.c: Include errno.h.
42280         (__crypt_r): Return NULL with EINVAL for bad salt.
42281         * crypt/crypt_util.c (bad_for_salt): New.
42282         (_ufc_setup_salt_r): Check that salt is long enough and within
42283         the specified alphabet.
42284         * crypt/badsalttest.c: New file.
42285         * crypt/Makefile (tests): Add it.
42286         ($(objpfx)badsalttest): New.
42288 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42290         * NEWS: Add entry for BZ #14602.
42292 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42294         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42295         type-generic.
42296         * math/libm-test.inc: Update comment listing what functions and
42297         macros are tested.
42298         (isgreater_test): New function.
42299         (isgreaterequal_test): Likewise.
42300         (isless_test): Likewise.
42301         (islessequal_test): Likewise.
42302         (islessgreater_test): Likewise.
42303         (isunordered_test): Likewise.
42304         (main): Call the new functions.
42306 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42308         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42309         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42310         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42311         * sysdeps/i386/configure: Regenerated.
42312         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42313         * sysdeps/mach/configure: Regenerated.
42314         * sysdeps/mach/hurd/configure: Regenerated.
42315         * sysdeps/powerpc/configure: Regenerated.
42316         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42317         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42318         * sysdeps/s390/s390-32/configure: Regenerated.
42319         * sysdeps/s390/s390-64/configure: Regenerated.
42320         * sysdeps/sh/configure: Regenerated.
42321         * sysdeps/sparc/configure: Regenerated.
42322         * sysdeps/unix/sysv/linux/configure: Regenerated.
42323         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42324         * sysdeps/x86_64/configure: Regenerated.
42326         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42327         defined.  Don't check if MAP is NULL.
42329 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42331         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42332         (_G_stat64): Likewise.
42333         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42334         (_G_stat64): Likewise.
42335         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42336         instead of struct _G_stat64.
42337         * libio/fileops.c (mmap_remap_check): Likewise.
42338         (decide_maybe_mmap): Likewise.
42339         (_IO_new_file_seekoff): Likewise.
42340         (_IO_file_stat): Likewise.
42341         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42342         _G_off64_t.
42343         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42344         instead of struct _G_stat64.
42345         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42347 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42349         [BZ #14602]
42350         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42351         Replace with ...
42352         (CHECK_EOL): New macro.
42353         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42354         CHECK_EOL.
42355         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42356         Replace with CHECK_EOL.
42357         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42358         Replace with CHECK_EOL.
42360 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42362         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42363         type-generic.
42364         * math/libm-test.inc: Update comment listing what functions and
42365         macros are tested.
42366         (finite_test): New function.
42367         (isinf_test): Likewise.
42368         (isnan_test): Likewise.
42369         (fpclassify_test): Test subnormal input.
42370         (isfinite_test): Likewise.
42371         (isnormal_test): Likewise.
42372         (main): Call the new functions.
42374 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42376         [BZ #14660]
42377         * Makerules (%.dynsym): Force C locale when running
42378         $(OBJDUMP) --dynamic-syms.
42380 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42382         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42383         <stdint.h>.
42385 2012-10-06  David S. Miller  <davem@davemloft.net>
42387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42388         upper 32-bits of the length value in %o2 since we use branch-on-register
42389         tests which consider the entire 64-bit register.
42391 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42393         * string/test-strstr.c (check2): Add a test for page boundary.
42395 2012-10-05  David S. Miller  <davem@davemloft.net>
42397         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42398         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42399         file.
42400         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42401         sysdep_routines.
42402         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42403         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42404         and bzero when HWCAP_SPARC_CRYPTO is present.
42406 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42408         [BZ #14602]
42409         * string/test-strstr.c (check2): New function.
42410         (test_main): Call check2.
42412         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42413         and bug-strchr1.
42414         * string/bug-strcasestr1.c (do_test): Moved to ...
42415         * string/test-strcasestr.c (check1): Here.  New function.
42416         (do_one_test): Break out result checking code into ...
42417         (check_result): This.  New function.
42418         (do_one_test): Call check_result.
42419         (test_main): Call check1.
42420         * string/bug-strchr1.c (do_test): Moved to ...
42421         * string/test-strchr.c (check1): Here.  New function.
42422         (do_one_test): Break out result checking code into ...
42423         (check_result): This.  New function.
42424         (do_one_test): Call check_result.
42425         (test_main): Call check1.
42426         * string/bug-strstr1.c (main): Moved to ...
42427         * string/test-strstr.c (check1): Here.  New function.
42428         (do_one_test): Break out result checking code into ...
42429         (check_result): This.  New function.
42430         (do_one_test): Call check_result.
42431         (test_main): Call check1.
42432         * string/bug-strcasestr1.c: Removed.
42433         * string/bug-strchr1.c: Likewise.
42434         * string/bug-strstr1.c: Likewise.
42436         * elf/Makefile (dl-routines): Add hwcaps.
42437         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42438         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42439         (_dl_important_hwcaps): Moved to ...
42440         * elf/dl-hwcaps.c: Here.  New file.
42441         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42443         [BZ #14557]
42444         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42445         if IS_IN_rtld isn't defined.
42447         * elf/dl-support.c (_dl_sysinfo_map): New.
42448         Include "get-dynamic-info.h" and "setup-vdso.h".
42449         (_dl_non_dynamic_init): Call setup_vdso.
42450         * elf/dynamic-link.h: Don't include <assert.h>.
42451         (elf_get_dynamic_info): Moved to ...
42452         * elf/get-dynamic-info.h: Here.  New file.
42453         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42454         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42455         * elf/setup-vdso.h: Here.  New file.
42456         * elf/rtld.c: Include "setup-vdso.h".
42457         (dl_main): Call setup_vdso.
42459 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42461         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42462         creal in comment listing functions tested.  List finite, isinf,
42463         isnan, isless, islessequal, isgreater, isgreaterequal,
42464         islessgreater, isunordered, lgamma_r and pow10 as functions and
42465         macros not tested.  Mention which functions not tested are aliases
42466         for other functions.  Fix typo.  Note that signs of NaNs are not
42467         tested.
42469         * scripts/config.guess: Update from config.git.
42470         * scripts/config.sub: Likewise.
42472 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42474         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42475         * misc/madvise.c (madvise): Renamed to __madvise.
42476         Make madvise a weak alias.
42477         * include/sys/mman.h: Declare __madvise.
42478         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42479         * sysdeps/unix/syscalls.list
42480         (madvise): Make __madvise the strong name, and madvise a weak alias.
42481         * sysdeps/unix/sysv/linux/syscalls.list
42482         (madvise, mmap): Remove redundant entries.
42483         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42484         * malloc/malloc.c (mtrim): Likewise.
42485         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42487 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42489         * sysdeps/mach/hurd/dl-cache.c: File removed.
42490         * config.h.in (USE_LDCONFIG): New #undef.
42491         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42492         * configure: Regenerated.
42493         * elf/Makefile (dl-routines): Add dl-cache only under
42494         [$(use-ldconfig) = yes].
42495         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42496         cache on [USE_LDCONFIG].
42497         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42498         [USE_LDCONFIG].
42499         * elf/rtld.c (dl_main): Likewise.
42501 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42503         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42504         _SC_LEVEL4_CACHE_LINESIZE.
42506 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42508         * sysdeps/unix/bsd/confstr.h: File removed.
42510 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42512         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42513         sys/sdt-config.h.
42515 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42517         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42518         Make 'mapoff' field ElfW(Off) rather than off_t.
42520 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42522         * nscd/Makefile: Remove nscd-cflags and all its users.
42523         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42524         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42526         [BZ #10631]
42527         * malloc.c (malloc_printerr): Clarify error message.
42529 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42531         [BZ #14648]
42532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42533         Set bit_FMA_Usable if FMA is supported.
42534         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42535         macro.
42536         (bit_FMA4_Usable): Updated.
42537         (index_FMA_Usable): New macro.
42538         (CPUID_FMA): Likewise
42539         (HAS_FMA): Defined with bit_FMA_Usable.
42541 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42543         * bits/types.h (__swblk_t): Type removed.
42544         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42545         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42547         (__SWBLK_T_TYPE): Likewise.
42548         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42549         (__SWBLK_T_TYPE): Likewise.
42550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42551         (__SWBLK_T_TYPE): Likewise.
42552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42553         (__SWBLK_T_TYPE): Likewise.
42555 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42556             Honza Horak <hhorak@redhat.com>
42558         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42559         (xdr_mapname): Use YPMAXMAP as maxsize.
42560         (xdr_peername): Use YPMAXPEER as maxsize.
42561         (xdr_keydat): Use YPAXRECORD as maxsize.
42562         (xdr_valdat): Use YPMAXRECORD as maxsize.
42564 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42566         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42568         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42569         * csu/init-first.c: ... here.
42570         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42571         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42572         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42573         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42574         * sysdeps/i386/init-first.c: File removed.
42575         * sysdeps/sh/init-first.c: File removed.
42577 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42579         [BZ #14645]
42580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42581         if x * y might underflow to zero and z is zero.
42582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42584         * math/libm-test.inc (min_subnorm_value): New variable.
42585         (fma_test): Add more tests.
42586         (fma_test_towardzero): Likewise.
42587         (fma_test_downward): Likewise
42588         (fma_test_upward): Likewise.
42589         (initialize): Set min_subnorm_value.
42591 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42593         [BZ #14638]
42594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42595         0 + 0.
42596         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42597         mode for addition resulting in exact zero.
42598         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42600         exact 0 + 0.
42601         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42603         * math/libm-test.inc (fma_test): Add more tests.
42604         (fma_test_towardzero): New function.
42605         (fma_test_downward): Likewise.
42606         (fma_test_upward): Likewise.
42607         (main): Call the new functions.
42609 2012-09-28  David S. Miller  <davem@davemloft.net>
42611         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42613 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42615         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42616         instead of SIGALRM.
42618         * sysdeps/gnu/_G_config.h: Moved to ...
42619         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42620         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42621         * sysdeps/generic/_G_config.h: ... here.
42623         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42625         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42627         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42628         Conditionalize target on [libnss_test1.so-version].
42630         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42632         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42633         (elfobjdir): Move out of conditionals.
42635         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42636         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42637         (__nss_lookup_function): Conditionalize label remove_from_tree on
42638         [!DO_STATIC_NSS || SHARED], matching its only use.
42640 2012-09-28  David S. Miller  <davem@davemloft.net>
42642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42643         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42644         file.
42645         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42646         sysdep_routines.
42647         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42649         when HWCAP_SPARC_CRYPTO is present.
42651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42653         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42655 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42657         [BZ #6530]
42658         * stdio-common/vfprintf.c (process_string_arg): Revert
42659         2000-07-22 change.
42661 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42663         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42664         for testcase.
42665         * stdio-common/tst-sprintf.c: Include <locale.h>
42666         (main): Test sprintf's handling of incomplete multibyte
42667         characters.
42669 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42671         * elf/dl-runtime.c (VERSYMIDX): Removed.
42672         * elf/dl-version.c (VERSYMIDX): Likewise.
42673         * elf/do-rel.h (VERSYMIDX): Likewise.
42674         (VALIDX): Likewise.
42675         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42676         * elf/rtld.c (VALIDX): Likewise.
42677         (ADDRIDX): Likewise.
42678         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42679         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42680         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42681         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42682         (VALIDX): Likewise.
42683         (ADDRIDX): Likewise.
42685 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42687         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42689 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42691         [BZ #11438]
42692         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42693         to global scope.
42694         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42695         addresses are in the same scope as 192.0.2/24.
42696         * posix/gai.conf: Document new scope table defaults.
42698 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42700         [BZ #5298]
42701         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42702         for ftell.  Compute offsets from write pointers instead.
42703         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42705 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42707         [BZ #14543]
42708         * libio/Makefile (tests): New test case tst-fseek.
42709         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42710         combination works in wide mode.
42711         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42712         state when the external buffer state changes.
42714 2012-09-27  David S. Miller  <davem@davemloft.net>
42716         [BZ #14376]
42717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42718         pass reloc->r_addend in as the 'high' argument to
42719         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42723 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42725         * rt/tst-aio2.c: Include <pthread.h>.
42726         * rt/tst-aio3.c: Likewise.
42728 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42730         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42732 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42734         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42735         contents on [SHARED].
42737 2012-09-26  Marek Polacek  <polacek@redhat.com>
42739         [BZ #14530]
42740         [BZ #13741]
42741         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42742         for C++ and GCC <4.3 as well as for non GCC compilers.
42744 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42748 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42750         * Makefile.in (all, install): Declare with .PHONY.
42751         Reported by Michael Hope <michael.hope@linaro.org>.
42753 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42755         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42756         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42757         system header.
42758         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42759         Likewise.
42760         (sydep_routines): Add the new and the internal functions.
42761         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42762         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42764         (GLIBC_2.17): Add the new function.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42766         (GLIBC_2.17): Likewise.
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42768         (GLIBC_2.17): Likewise.
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42770         (GLIBC_2.17): Likewise.
42771         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42773 2012-09-25  Alan Modra  <amodra@gmail.com>
42775         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42776         Add release barrier before setting once_control to say
42777         initialisation is done.  Add hints on lwarx.  Use macro in
42778         place of isync.
42779         (clear_once_control): Add release barrier.
42781 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42783         [BZ #13629]
42784         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42785         specially.
42786         * math/s_clog10.c (__clog10): Likewise.
42787         * math/s_clog10f.c (__clog10f): Likewise.
42788         * math/s_clog10l.c (__clog10l): Likewise.
42789         * math/s_clogf.c (__clogf): Likewise.
42790         * math/s_clogl.c (__clogl): Likewise.
42791         * math/Makefile (libm-calls): Add x2y2m1.
42792         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42793         (__x2y2m1): Likewise.
42794         (__x2y2m1l): Likewise.
42795         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42796         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42797         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42798         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42799         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42800         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42801         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42802         * sysdeps/i386/fpu/libm-test-ulps: Update.
42803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42805         [BZ #14621]
42806         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42807         int as type of variable DEPTH.
42808         (glob): Use size_t instead of int as type of variables NEWCOUNT
42809         and OLD_PATHC.
42811 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42813         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42814         Add s_sincosf-sse2.
42815         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42816         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42817         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42818         macros for using routine as __sincosf_ia32.
42819         Use macro for function declaration and weak_alias.
42820         * sysdeps/i386/fpu/libm-test-ulps: Update.
42822         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42825         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42826         subnormal argument.
42827         * math/s_cexpf.c (__cexpf): Likewise.
42828         * math/s_csinf.c (__csinf): Likewise.
42829         * math/s_csinhf.c (__csinhf): Likewise.
42830         * math/s_ctanf.c (__ctanf): Likewise.
42831         * math/s_ctanhf.c (__ctanhf): Likewise.
42832         * math/s_ccosh.c (__ccoshf): Likewise.
42833         * math/s_cexp.c (__cexpl): Likewise.
42834         * math/s_csin.c (__csin): Likewise.
42835         * math/s_csinh.c (__csinh): Likewise.
42836         * math/s_ctan.c (__ctan): Likewise.
42837         * math/s_ctanh.c (ctanh): Likewise.
42838         * math/s_ccoshl.c (__ccoshl): Likewise.
42839         * math/s_cexpl.c (__cexpl): Likewise.
42840         * math/s_csinl.c (__csinl): Likewise.
42841         * math/s_csinhl.c (__csinhl): Likewise.
42842         * math/s_ctanl.c (__ctanl): Likewise.
42843         * math/s_ctanhl.c (__ctanhl): Likewise.
42845 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42847         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42848         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42849         (_IO_off_t): Define to __off_t, not _G_off_t.
42850         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42851         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42852         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42853         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42854         type of __dummy and __dummy2 fields.
42855         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42856         (_G_ssize_t): Likewise.
42857         (_G_off_t): Likewise.
42858         (_G_pid_t): Likewise.
42859         (_G_uid_t): Likewise.
42860         (_G_wchar_t): Likewise.
42861         (_G_wint_t): Likewise.
42862         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42863         (_G_ssize_t): Likewise.
42864         (_G_off_t): Likewise.
42865         (_G_pid_t): Likewise.
42866         (_G_uid_t): Likewise.
42867         (_G_wchar_t): Likewise.
42868         (_G_wint_t): Likewise.
42869         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42870         (_G_ssize_t): Likewise.
42871         (_G_off_t): Likewise.
42872         (_G_pid_t): Likewise.
42873         (_G_uid_t): Likewise.
42874         (_G_wchar_t): Likewise.
42875         (_G_wint_t): Likewise.
42877 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42879         * malloc/arena.c: Include malloc-sysdep.h.
42880         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42881         is sufficient to shrink the heap or an unmap is needed.
42882         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42883         new function check_may_shrink_heap.
42884         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42885         new function check_may_shrink_heap.
42887 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42889         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42890         comments.
42892 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42894         * catgets/test-gencat.sh: Add "set -e".
42895         * elf/tst-pathopt.sh: Likewise.
42896         * grp/tst_fgetgrent.sh: Likewise.
42897         * iconvdata/run-iconv-test.sh: Likewise.
42898         * intl/tst-gettext.sh: Likewise.
42899         * intl/tst-gettext2.sh: Likewise.
42900         * intl/tst-gettext4.sh: Likewise.
42901         * intl/tst-gettext6.sh: Likewise.
42902         * intl/tst-translit.sh: Likewise.
42903         * io/ftwtest-sh: Likewise.
42904         * libio/test-freopen.sh: Likewise.
42905         * malloc/tst-mtrace.sh: Likewise.
42906         * posix/globtest.sh: Likewise.
42907         * posix/tst-getconf.sh: Likewise.
42908         * posix/wordexp-tst.sh: Likewise.
42909         * stdio-common/tst-printf.sh: Likewise.
42910         * stdio-common/tst-unbputc.sh: Likewise.
42911         * stdlib/tst-fmtmsg.sh: Likewise.
42912         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42913         * catgets/Makefile: Do not specify -e option when running
42914         testsuite shell scripts.
42915         * elf/Makefile: Likewise.
42916         * grp/Makefile: Likewise.
42917         * iconvdata/Makefile: Likewise.
42918         * intl/Makefile: Likewise.
42919         * io/Makefile: Likewise.
42920         * libio/Makefile: Likewise.
42921         * malloc/Makefile: Likewise.
42922         * posix/Makefile: Likewise.
42923         * stdio-common/Makefile: Likewise.
42924         * stdlib/Makefile: Likewise.
42925         * sysdeps/x86_64/Makefile: Likewise.
42927         * io/ftwtest-sh: Add copyright header.
42928         * posix/globtest.sh: Likewise.
42929         * posix/tst-getconf.sh: Likewise.
42930         * posix/wordexp-tst.sh: Likewise.
42931         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42933 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42935         [BZ #13679]
42936         * Makeconfig (+link): Defined as $(+link-static) if
42937         $(build-shared) isn't yes.
42938         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42939         isn't yes.
42940         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42942         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42944         [BZ #14562]
42945         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42946         new chunk size with MALLOC_ALIGN_MASK.
42948 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42950         [BZ #5044]
42951         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42952         <rounding-mode.h>.
42953         (__printf_fphex): Determine rounding using get_rounding_mode and
42954         round_away.
42955         * stdio-common/tst-printf-round.c (struct hex_test): New
42956         structure.
42957         (hex_tests): New variable.
42958         (test_hex_in_one_mode): New function.
42959         (do_test): Also run tests for hex float output.
42961 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42963         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42964         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42965         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42966         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42967         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42968         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42969         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42970         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42972 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42974         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42975         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42976         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42977         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42979 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42981         [BZ #14579]
42982         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42983         mode only.
42984         * elf/tst-rtld-load-self.sh: New test.
42985         * elf/Makefile: Run it.
42987 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42989         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42990         (tst-writev-ENV): Remove.
42991         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42993 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42995         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42997 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42999         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43000         unconditional.
43001         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43002         Likewise.
43003         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43004         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43005         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43006         Likewise.
43008 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43010         [BZ #14587]
43011         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43012         * config.make.in (have-cpp-asm-debuginfo): Removed.
43013         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43014         * configure: Regenerated.
43016 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43018         [BZ #5044]
43019         * stdio-common/printf_fp.c: Include <stdbool.h> and
43020         <rounding-mode.h>.
43021         (___printf_fp): Determine rounding using get_rounding_mode and
43022         round_away.
43023         * stdio-common/tst-printf-round.c: New file.
43024         * stdio-common/Makefile (tests): Add tst-printf-round.
43025         (link-libm): New variable.
43026         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43028 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43030         [BZ #14576]
43031         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43032         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43033         Likewise.
43034         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43035         Likewise.
43037 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43039         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43040         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43041         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43042         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43044 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43046         [BZ #14518]
43047         * include/rounding-mode.h: New file.
43048         * sysdeps/generic/get-rounding-mode.h: Likewise.
43049         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43050         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43051         (MAX_VALUE): New macro.
43052         (MIN_VALUE): Likewise.
43053         (overflow_value): New function.
43054         (underflow_value): Likewise.
43055         (round_and_return): Use overflow_value and underflow_value to
43056         determine return values in overflow and underflow cases.  Use
43057         round_away to determine rounding depending on rounding mode.
43058         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43059         determine return values in overflow and underflow cases.
43060         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43061         (struct test_results): New structure.
43062         (struct test): Use struct test_results to store expected results
43063         for all rounding modes.
43064         (TEST): Include expected results for all rounding modes.
43065         (test_in_one_mode): New function.
43066         (do_test): Use test_in_one_mode to compute and check results.
43067         Check results for all rounding modes.
43068         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43069         $(link-libm).
43071 2012-12-09  Allan McRae  <allan@archlinux.org>
43073         * sysdeps/i386/fpu/libm-test-ulps: Update
43075 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43077         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43078         (_G_int32_t): Likewise.
43079         (_G_uint16_t): Likewise.
43080         (_G_uint32_t): Likewise.
43081         (_G_HAVE_BOOL): Likewise.
43082         (_G_HAVE_ATEXIT): Likewise.
43083         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43084         (_G_HAVE_IO_FILE_OPEN): Likewise.
43085         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43086         (_G_int32_t): Likewise.
43087         (_G_uint16_t): Likewise.
43088         (_G_uint32_t): Likewise.
43089         (_G_HAVE_BOOL): Likewise.
43090         (_G_HAVE_ATEXIT): Likewise.
43091         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43092         (_G_HAVE_IO_FILE_OPEN): Likewise.
43093         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43094         (_G_int32_t): Likewise.
43095         (_G_uint16_t): Likewise.
43096         (_G_uint32_t): Likewise.
43097         (_G_HAVE_BOOL): Likewise.
43098         (_G_HAVE_ATEXIT): Likewise.
43099         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43100         (_G_HAVE_IO_FILE_OPEN): Likewise.
43102 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43104         * csu/libc-tls.c: Update copyright years.
43106 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43108         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43109         [!_G_USING_THUNKS]: Remove conditional code.
43110         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43111         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43113         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43114         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43115         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43116         (_G_VTABLE_LABEL_PREFIX): Likewise.
43117         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43118         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43119         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43120         (_G_VTABLE_LABEL_PREFIX): Likewise.
43121         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43122         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43123         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43124         (_G_VTABLE_LABEL_PREFIX): Likewise.
43125         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43127 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43129         * libio/Makefile: Include ../Makeconfig before tests.
43130         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43131         only if $(build-shared) is yes.
43133         * iconv/gconv_db.c: Update copyright years.
43135 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43137         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43138         unwind info if defined PIC. Fix special cases description.
43139         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43141         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43142         DP_HI_MASK entry.
43143         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43145 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43147         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43149         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43150         is NULL.
43152         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43153         (LDLIBS-tst-chk4): This.
43154         (LDFLAGS-tst-chk5): Renamed to ...
43155         (LDLIBS-tst-chk5): This.
43156         (LDFLAGS-tst-chk6): Renamed to ...
43157         (LDLIBS-tst-chk6): This.
43158         (LDFLAGS-tst-lfschk4): Renamed to ...
43159         (LDLIBS-tst-lfschk4): This.
43160         (LDFLAGS-tst-lfschk5): Renamed to ...
43161         (LDLIBS-tst-lfschk5): This.
43162         (LDFLAGS-tst-lfschk6): Renamed to ...
43163         (LDLIBS-tst-lfschk6): This.
43165         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43166         on $(common-objpfx)soversions.mk.
43168 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43170         [BZ #10014]
43171         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43172         example host name.
43174 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43176         * malloc/arena.c (arena_get_retry): New function that gets
43177         another arena for the caller to try its request on.
43178         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43179         current arena cannot fulfill the request.
43180         (__libc_memalign): Likewise.
43181         (__libc_memalign): Likewise.
43182         (__libc_pvalloc): Likewise.
43183         (__libc_calloc): Likewise.
43185 2012-09-05  John Tobey  <john.tobey@gmail.com>
43187         [BZ #13542]
43188         * manual/arith.texi (Operations on Complex): Fix description
43189         of carg branch cut.
43191 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43193         [BZ #10014]
43194         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43195         host name.
43197         [BZ #10038]
43198         * manual/memory.texi (Memory): Make order of menu items match
43199         order of sections.
43201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43203         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43204         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43205         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43207 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43209         * csu/libc-tls.c (static_dtv): Renamed to ...
43210         (_dl_static_dtv): This.  Make it global.
43211         (_dl_initial_dtv): Removed.
43212         (__libc_setup_tls): Updated.
43213         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43214         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43215         DL_INITIAL_DTV.
43217 2012-09-06  Petr Machata  <pmachata@redhat.com>
43219         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43220         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43221         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43222         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43224 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43226         [BZ #14545]
43227         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43228         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43229         freeing dtv[-1].
43231 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43233         [BZ #14544]
43234         * Makeconfig (link-static-before-libc): Replace $(+prector)
43235         with $(+prectorT).
43236         (link-static-after-libc): Replace $(+postctor) with
43237         $(+postctorT).
43238         (link-bounded): Replace $(+prector)/$(+postctor) with
43239         $(+prectorT)/$(+postctorT).
43240         (+prectorT): New macro.
43241         (+postctorT): Likewise.
43243 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43245         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43246         (round_str): Handle values above the maximum for IBM long double
43247         as inexact.
43248         * stdlib/tst-strtod-round.c (tests): Regenerated.
43250 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43252         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43253         assembler flag.
43254         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43255         zarch_nohighgprs around the zarch optimized routines.
43256         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43257         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43259         for zarch.
43261 2012-09-05  David S. Miller  <davem@davemloft.net>
43263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43265         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43266         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43267         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43268         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43269         entries.
43271 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43273         * malloc/arena.c: Fold copyright years.
43274         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43276 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43278         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43280 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43282         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43284 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43286         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43287         change internal state upon failure.
43289 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43291         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43292         * malloc/memusage.c (mmap): Likewise.
43293         (mmap64, mremap): Likewise.  Adjust name in comment.
43295 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43297         * libio/fileops.c: Fix typos in comments.
43298         * libio/oldfileops.c: Likewise.
43299         * libio/wfileops.c: Likewise.
43301 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43303         [BZ #1349]
43304         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43305         (tst-malloc-usable-ENV): Set environment for test case.
43306         * malloc/hooks.c (malloc_check_get_size): New function to get
43307         requested size.
43308         * malloc/malloc.c (musable): Use malloc_check_get_size.
43309         * malloc/tst-malloc-usable.c: New test case.
43311 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43313         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43315 2012-09-05  Allan McRae  <allan@archlinux.org>
43317         [BZ #13966]
43318         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43319         determine header location.
43320         * configure: Regenerated.
43322 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43324         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43325         float format.
43326         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43327         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43328         format.
43329         (test): Regenerate.
43331 2012-09-04  David S. Miller  <davem@davemloft.net>
43333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43335         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43337 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43339         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43340         failures.
43342         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43344 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43346         [BZ #9914]
43347         * libio/iogetdelim.c: Include <limits.h>.
43348         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43349         + len + 1 would overflow.
43351 2012-09-03  Andreas Jaeger  <aj@suse.de>
43353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43354         * sysdeps/i386/fpu/libm-test-ulps: Update.
43356 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43358         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43359         Add s_sinf-sse2, s_conf-sse2.
43361         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43362         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43363         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43364         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43366         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43367         for using routine as __sinf_ia32.
43368         Use macro for function declaration and weak_alias.
43369         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43370         for using routine as __cosf_ia32.
43371         Use macro for function declaration and weak_alias.
43373         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43374         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43376         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43377         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43380         * math/libm-test.inc (cos_test): Add more test cases.
43381         (sin_test): Likewise.
43382         (sincos_test): Likewise.
43384 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43386         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43387         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43388         hidden.
43389         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43391 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43393         [BZ #14538]
43394         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43395         first element of the GOT.
43396         (elf_machine_load_address): Return the difference between
43397         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43399 2012-09-01  Allan McRae  <allan@archlinux.org>
43401         [BZ #13412]
43402         * configure.in (AWK): Require gawk version 3.0 or later.
43403         * configure: Regenerated.
43405 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43407         * sysdeps/unix/sysv/linux/kernel-features.h
43408         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43409         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43410         [__NR_clock_getres]: Make code unconditional.
43411         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43412         (clock_getcpuclockid): Remove code left unreachable by removal of
43413         conditionals.
43414         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43415         code unconditional.
43416         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43417         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43418         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43419         Make code unconditional.
43420         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43421         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43422         * sysdeps/unix/sysv/linux/clock_settime.c
43423         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43424         conditional code.
43425         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43426         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43428 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43430         [BZ #14476]
43431         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43432         scripts/test-installation.pl.
43434         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43435         and $ld_so_version if it is set.
43437 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43439         [BZ #14516]
43440         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43441         failure if reading from procfs failed.
43442         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43444 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43446         * sysdeps/unix/sysv/linux/kernel-features.h
43447         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43448         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43449         Remove conditional code.
43450         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43451         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43452         Remove conditional code.
43453         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43454         * sysdeps/unix/sysv/linux/i386/fxstat.c
43455         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43457         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43458         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43460         * sysdeps/unix/sysv/linux/i386/lxstat.c
43461         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43463         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43464         Remove conditional code.
43465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43466         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43467         Remove conditional code.
43468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43469         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43470         <kernel-features.h>.
43471         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43472         Remove.
43473         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43474         Remove conditional code.
43475         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43476         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43477         Remove conditional.
43479 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43481         [BZ #5400]
43482         * NEWS: Add fixed bug number.
43484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43486         [BZ #14519]
43487         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43488         underflowing exponent in case of negative sign.
43489         * stdlib/tst-strtod-round-data: Add more tests.
43490         * stdlib/tst-strtod-round.c (tests): Regenerated.
43492         [BZ #3479]
43493         * stdlib/strtod_l.c (NDIG): Remove.
43494         (HEXNDIG): Likewise.
43495         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43496         smallest representable value.
43497         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43498         lie within an exact representation of 1/2 ulp of the result.
43499         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43500         unconditionally.
43501         (TENS_P9_IDX): Define unconditionally.
43502         (TENS_P9_SIZE): Likewise.
43503         (TENS_P10_IDX): Likewise.
43504         (TENS_P10_SIZE): Likewise.
43505         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43506         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43507         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43508         entries for 10^2^13 and 10^2^14.
43509         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43510         (TENS_P13_IDX): Define.
43511         (TENS_P13_SIZE): Likewise.
43512         (TENS_P14_IDX): Likewise.
43513         (TENS_P14_SIZE): Likewise.
43514         (_fpioconst_pow10): Change array size to
43515         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43516         unconditional.
43517         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43518         1024]: Add entries for 10^2^13 and 10^2^14.
43519         [LAST_POW10 > _LAST_POW10]: Remove #error.
43520         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43521         (_fpioconst_pow10): Change array size to
43522         FPIOCONST_POW10_ARRAY_SIZE.
43523         * stdlib/gen-fpioconst.c: New file.
43524         * stdlib/gen-tst-strtod-round.c: Likewise.
43525         * stdlib/tst-strtod-round-data: Likewise.
43526         * stdlib/tst-strtod-round.c: Likewise.
43527         * stdlib/Makefile (tests): Add tst-strtod-round.
43529         [BZ #14459]
43530         * stdlib/strtod_l.c: Include <stdint.h>.
43531         (NDEBUG): Do not define.
43532         (round_and_return): Change EXPONENT parameter to type intmax_t.
43533         Rearrange calculations to avoid internal overflow possibilities.
43534         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43535         Rearrange calculations to avoid internal overflow possibilities.
43536         Assert that number fits inside MPNSIZE limbs.
43537         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43538         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43539         calculations and add assertions to avoid internal overflow
43540         possibilities.  Add casts to avoid signed/unsigned operations.
43541         * stdlib/tst-strtod-overflow.c: New file.
43542         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43544 2012-08-25  Marek Polacek  <polacek@redhat.com>
43546         * time/time.h: Fix some typos in comments.
43548 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43550         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43551         * posix/tst-rfc3484-2.c: Likewise.
43552         * posix/tst-rfc3484-3.c: Likewise.
43554 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43556         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43557         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43559 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43561         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43562         #include of fxstatat64.c.
43564 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43566         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43567         * shadow/getspent_r.c: Likewise.
43568         * shadow/getspnam.c: Likewise.
43569         * shadow/getspnam_r.c: Likewise.
43570         * gshadow/getsgent.c: Likewise.
43571         * gshadow/getsgent_r.c: Likewise.
43572         * gshadow/getsgnam.c: Likewise.
43573         * gshadow/getsgnam_r.c: Likewise.
43574         * inet/getnetbyad.c: Likewise.
43575         * inet/getnetbyad_r.c: Likewise.
43576         * inet/getnetbynm.c: Likewise.
43577         * inet/getnetbynm_r.c: Likewise.
43578         * inet/getnetent.c: Likewise.
43579         * inet/getnetent_r.c: Likewise.
43580         * inet/getproto.c: Likewise.
43581         * inet/getproto_r.c: Likewise.
43582         * inet/getprtent.c: Likewise.
43583         * inet/getprtent_r.c: Likewise.
43584         * inet/getprtname.c: Likewise.
43585         * inet/getprtname_r.c: Likewise.
43586         * inet/getrpcbyname.c: Likewise.
43587         * inet/getrpcbyname_r.c: Likewise.
43588         * inet/getrpcbynumber.c: Likewise.
43589         * inet/getrpcbynumber_r.c: Likewise.
43590         * inet/getrpcent.c: Likewise.
43591         * inet/getrpcent_r.c: Likewise.
43592         * inet/getaliasent.c: Likewise.
43593         * inet/getaliasent_r.c: Likewise.
43594         * inet/getaliasname.c: Likewise.
43595         * inet/getaliasname_r.c: Likewise.
43596         * nscd/getgrgid_r.c: Likewise.
43597         * nscd/getgrnam_r.c: Likewise.
43598         * nscd/gethstbyad_r.c: Likewise.
43599         * nscd/gethstbynm3_r.c: Likewise.
43600         * nscd/getpwnam_r.c: Likewise.
43601         * nscd/getpwuid_r.c: Likewise.
43602         * nscd/getsrvbynm_r.c: Likewise.
43603         * nscd/getsrvbypt_r.c: Likewise.
43604         * nscd/gai.c: Likewise.
43606         * configure.in (build_nscd): New substituted variable, set
43607         by --disable-build-nscd and defaults to $use_nscd.
43608         * configure: Regenerated.
43609         * config.make.in (build-nscd): New substituted variable.
43610         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43611         Change conditional to require [$(build-nscd) = yes] as well.
43612         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43614         [BZ# 13696]
43615         * configure.in (use_nscd): New substituted variable, set by
43616         --disable-nscd.  If enabled, define USE_NSCD.
43617         * configure: Regenerated.
43618         * config.h.in: Add USE_NSCD.
43619         * config.make.in (use-nscd): New substituted variable.
43620         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43621         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43622         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43623         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43624         (CFLAGS-getgrnam_r.c): Likewise.
43625         (CFLAGS-initgroups.c): Likewise.
43626         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43627         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43628         Variables removed.
43629         * inet/getnetgrent_r.c
43630         (nscd_setnetgrent): New function, broken out of ...
43631         (setnetgrent): ... here.  Call it.
43632         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43633         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43634         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43635         * nscd/Makefile (routines, aux): Move definitions after include of
43636         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43637         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43638         Conditionalize on [USE_NSCD].
43639         (is_nscd, nscd_init_cb): Likewise.
43640         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43641         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43642         * nss/nss_db/db-init.c: Likewise.
43643         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43644         [USE_NSCD].
43645         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43646         (make_request): Use it.
43647         (cache_valid_p): New function.
43648         (__check_pf): Use it.
43649         * NEWS: Add item for --disable-nscd.
43651 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43653         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43654         to support sed >= 4.2.1-20-ga9bf076.
43655         * configure: Regenerated.
43657 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43659         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43660         Conditionalize whole body on [IREL].
43662 2012-08-22  Jeff Law <law@redhat.com>
43664         [BZ #14505]
43665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43666         if the family is PF_UNSPEC.
43668 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43670         * Makerules (lib-version): Rename from V.
43671         (install-lib-nosubdir): Change V to lib-version.
43673 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43675         [BZ #14252]
43676         * powerpc32/power6/wcschr.c: New file.
43677         * powerpc32/power6/wcscpy.c: New file.
43678         * powerpc32/power6/wcsrchr.c: New file.
43679         * powerpc64/power6/wcschr.c: New file.
43680         * powerpc64/power6/wcscpy.c: New file.
43681         * powerpc64/power6/wcsrchr.c: New file.
43683 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43685         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43686         (two_way_short_needle): Use it.
43687         * string/strstr.c (AVAILABLE1_USES_J): Define.
43688         * string/strcasestr.c: Likewise.
43690         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43691         array references.
43692         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43694         [BZ #11607]
43695         * NEWS: Add an entry.
43696         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43697         define their defaults.
43698         (two_way_short_needle): Detect end-of-string on-the-fly.
43699         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43700         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43701         * string/bug-strcasestr1.c: New test.
43702         * string/Makefile: Run it.
43704 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43706         [BZ #11607]
43707         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43708         the first character.
43710 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43712         * csu/elf-init.c (__libc_csu_irel): Function removed.
43713         * csu/libc-start.c (apply_irel): New function.
43714         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43716 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43718         * sysdeps/unix/sysv/linux/kernel-features.h
43719         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43720         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43721         <kernel-features.h>.
43722         [__NR_fadvise64_64]: Make code unconditional.
43723         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43724         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43725         !__NR_fadvise64_64)]: Likewise.
43726         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43727         !__NR_fadvise64_64))]: Likewise.
43728         [__NR_fadvise64]: Make code unconditional.
43729         [!__NR_fadvise64]: Remove conditional code.
43730         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43731         <kernel-features.h>.
43732         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43733         unconditional.
43734         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43735         conditional code.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43737         not include <kernel-features.h>.
43738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43739         unconditional.
43740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43741         conditional code.
43742         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43743         include <kernel-features.h>.
43744         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43745         unconditional.
43746         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43747         conditional code.
43749 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43752         slight instruction rearrangements per scrollpipe analysis.
43753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43755 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43757         * manual/syslog.texi (syslog; vsyslog, closelog):
43758         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43759         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43761         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43762         DSOCAPS to match condition on defining it.
43764 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43766         * sysdeps/unix/sysv/linux/kernel-features.h
43767         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43769         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43770         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43772         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43773         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43775         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43776         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43778         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43779         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43781         * sysdeps/unix/sysv/linux/kernel-features.h
43782         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43783         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43784         unconditional.
43785         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43786         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43787         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43788         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43789         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43790         Make code unconditional.
43791         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43792         (__mmap64) [!__NR_mmap2]: Likewise.
43793         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43794         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43795         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43796         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43797         [__NR_mmap2]: Make code unconditional.
43798         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43799         (__mmap64) [!__NR_mmap2]: Likewise.
43801 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43803         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43805 2012-08-18  Andreas Jaeger  <aj@suse.de>
43807         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43809 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43811         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43812         * include/unistd.h (__have_sock_cloexec): Likewise.
43813         (__have_pipe2): Likewise.
43814         (__have_dup3): Likewise.
43816 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43818         [BZ #9685]
43819         * include/unistd.h (__have_pipe2): Change define into an extern int.
43820         (__have_dup3): Likewise.
43821         * socket/have_sock_cloexec.c: Include fcntl.h.
43822         (__have_pipe2): New variable.
43823         (__have_dup3): Likewise.
43825 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43827         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43829 2012-08-17  Marek Polacek  <polacek@redhat.com>
43831         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43832         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43834 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43836         * configure.in: Add AC_SUBST for sysheaders.
43837         * configure: Regenerated.
43838         * config.make.in (sysheaders): New substituted variable.
43840         * sysdeps/unix/mkfifo.c: Moved ...
43841         * sysdeps/posix/mkfifo.c: ... here.
43842         * sysdeps/unix/mkfifoat.c: Moved ...
43843         * sysdeps/posix/mkfifoat.c: ... here.
43845         * sysdeps/unix/utime.c: Moved ...
43846         * sysdeps/posix/utime.c: ... here.
43848         * sysdeps/unix/time.c: Moved ...
43849         * sysdeps/posix/time.c: ... here.
43850         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43851         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43853         * sysdeps/unix/nice.c: Moved ...
43854         * sysdeps/posix/nice.c: ... here.
43856         * sysdeps/unix/alarm.c: Moved ...
43857         * sysdeps/posix/alarm.c: ... here.
43859         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43861 2012-08-17  Jeff Law <law@redhat.com>
43863         * intl/Makefile (codeset_mo): New variable.
43864         ($(codeset_mo)): New target.
43865         (tst-codeset.out): Depend on that.  Remove explicit rule.
43866         (tst-gettext3.out, tst-gettext5.out): Likewise.
43867         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43868         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43869         * intl/tst-codeset.sh: Remove.
43870         * intl/tst-gettext3.sh: Likewise.
43871         * intl/tst-gettext5.sh: Likewise.
43873 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43875         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43876         * sysdeps/unix/syscalls.list: ... here.
43878         * sysdeps/posix/getaddrinfo.c
43879         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43880         (gaiconf_init, gaiconf_reload): Use them.
43881         [!_STATBUF_ST_NSEC]
43882         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43883         Define using time_t rather than struct timespec.
43885         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43886         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43887         Macros removed.
43888         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43889         [!NO_THREADS].
43890         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43891         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43892         Likewise.
43894         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43895         __libc_cleanup_push argument.
43897         * bits/param.h: New file.
43898         * misc/sys/param.h: New file.
43899         * include/sys/param.h: New file.
43900         * misc/Makefile (headers): Add bits/param.h.
43901         * sysdeps/generic/sys/param.h: File removed.
43902         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43903         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43904         * sysdeps/mach/hurd/bits/param.h: New file.
43905         * sysdeps/mach/hurd/sys/param.h: File removed.
43907         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43908         last change.
43910         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43911         [_IO_MTSAFE_IO].
43912         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43913         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43914         New macros.
43916         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43917         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43918         rather than -D_IO_MTSAFE_IO conditionally.
43919         * stdio-common/Makefile (CPPFLAGS): Likewise.
43920         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43921         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43922         Use $(libio-mtsafe).
43923         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43924         of -D_IO_MTSAFE_IO.
43925         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43926         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43927         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43928         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43929         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43930         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43931         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43932         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43933         (CFLAGS-fread_u_chk.c): Likewise.
43934         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43935         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43936         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43937         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43938         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43939         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43940         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43941         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43942         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43944         * libio/Makefile: Test [$(libc-reentrant) = yes]
43945         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43947         * Makeconfig
43948         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43949         * sysdeps/pthread/configure: File removed.
43950         * sysdeps/pthread/Makeconfig: New file.
43951         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43952         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43954 2012-08-16  Gary Benson  <gbenson@redhat.com>
43956         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43957         unmapping the first object in a namespace.
43959 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43961         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43962         (__internal_setnetgrent): ... this.  Add internal_function to
43963         definition.  Add libc_hidden_def.
43964         (setnetgrent): Update caller.
43965         (internal_endnetgrent): Renamed to ...
43966         (__internal_endnetgrent): ... this.  Add internal_function to
43967         definition.  Add libc_hidden_def.
43968         (endnetgrent): Update caller.
43969         (internal_getnetgrent_r): Renamed to ...
43970         (__internal_getnetgrent_r): ... this.  Add internal_function to
43971         definition.  Add libc_hidden_def.
43972         (__getnetgrent_r): Update caller.
43973         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43975 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43977         * stdlib/longlong.h: Update from GCC.
43979 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43981         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43982         on _QL, which is set by umul_ppmm but never used.
43983         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43984         variables, which are set by GMP macros but never used.
43985         * stdio-common/_itowa.c (_itowa): Likewise.
43986         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43987         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43989 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43991         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43992         struct La_sh_regs is not constant.
43993         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43994         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43995         and struct La_sparc64_regs are not constant.
43997 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43999         * sysdeps/unix/sysv/linux/kernel-features.h
44000         (__ASSUME_POSIX_TIMERS): Remove.
44001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44002         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44003         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44004         Make code unconditional.
44005         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44006         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44007         Make code unconditional.
44008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44009         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44010         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44012         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44013         Make code unconditional.
44014         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44015         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44016         (__libc_missing_posix_timers): Remove.
44018 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44020         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44021         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44023         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44025         * elf/dl-sym.c: Include <stdlib.h>.
44027         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44028         constants, which avoids warnings in 32-bit builds.
44030         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44031         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44033         * misc/lseek.c: File moved to ...
44034         * io/lseek.c: ... here.
44036         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44038         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44039         shifting LEN more than 31 bits at once.
44041 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44043         [BZ #14195]
44044         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44045         segmentation fault for a case of two empty input strings.
44046         * string/test-strncasecmp.c (check1): Renamed to...
44047         (bz12205): ...this.
44048         (bz14195): Add new testcase for two empty input strings and N > 0.
44049         (test_main): Call new testcase, adapt for renamed function.
44051 2012-08-15  Andreas Jaeger  <aj@suse.de>
44053         [BZ #14090]
44054         * crypt/md5test2.c: New test, based on test supplied by Serge
44055         Belyshev <belyshev@depni.sinp.msu.ru>.
44056         * crypt/Makefile (xtests): Add md5test-giant..
44057         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44059 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44061         [BZ #14090]
44062         * crypt/md5.c (md5_process_block): Don't assume the buffer
44063         length is less than 2**32.
44064         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44065         length is less than 2**64.
44067 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44069         * string/str-two-way.h: Include <sys/param.h>.
44070         (MAX): Macro removed.
44072         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44073         Move #define and #undef of memmove to just before and after
44074         including <string.h>.
44076         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44077         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44078         and after including <string.h>.  Move declarations of
44079         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44080         to before #include "string/memmove.c".
44082         * include/dirent.h: Declare __getdirentries.
44084         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44085         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44087 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44089         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44090         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44091         * sysdeps/i386/configure: Regenerated.
44092         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44093         STABS_CURRENT_FILE, and STABS_FUN.
44094         (END): Remove call to STABS_FUN_END.
44095         (STABS_CURRENT_FILE1): Delete.
44096         (STABS_CURRENT_FILE): Likewise.
44097         (STABS_FUN): Likewise.
44098         (STABS_FUN_END): Likewise.
44099         (STABS_FUN2): Likewise.
44100         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44101         * sysdeps/x86_64/configure: Regenerated.
44103 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44105         * elf/dl-open.c: Include <atomic.h>.
44106         * elf/dl-lookup.c: Likewise.
44108 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44110         * sysdeps/unix/sysv/linux/kernel-features.h
44111         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44112         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44113         unconditionally.
44114         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44115         unconditionally.
44116         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44117         condition on __ASSUME_CLONE_THREAD_FLAGS.
44119 2012-08-14  Andreas Jaeger  <aj@suse.de>
44121         * sysdeps/i386/fpu/libm-test-ulps: Update.
44123 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44125         * include/atomic.h (atomic_exchange_and_add): Split into ...
44126         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44127         New atomic macros.
44129 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44133 2012-08-13  Jeff Law <law@redhat.com>
44135         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44136         null byte in the output string.
44138 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44140         * sysdeps/unix/sysv/linux/kernel-features.h
44141         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44142         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44143         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44144         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44145         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44146         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44147         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44149 2012-08-09  Jeff Law <law@redhat.com>
44151         [BZ #13939]
44152         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44153         When avoid_arena is set, don't retry in the that arena.  Pick the
44154         next one, whatever it might be.
44155         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44156         (arena_lock): Pass in new parameter to arena_get2.
44157         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44158         arena_get2.
44159         (__libc_malloc): Unify retrying after main arena failure with
44160         __libc_memalign version.
44161         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44163 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44165         [BZ #14166]
44166         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44167         to __redirect_strstr.
44168         (__strstr_sse42): Use typeof __redirect_strstr.
44169         (__strstr_ia32): Likewise.
44170         (__libc_strstr): New prototype.
44171         (strstr): Renamed to ...
44172         (__libc_strstr): This.
44173         (strstr): New strong alias of __libc_strstr.
44174         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44175         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44176         __redirect_time.
44177         Include <time.h>.
44178         (__libc_time): New prototype.
44179         (time_ifunc): Replace time with __libc_time.
44180         (time): New strong alias and hidden definition of __libc_time.
44181         (__GI_time): Remove strong alias.
44182         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44183         Include <stddef.h>.
44184         (memmove): Redefined to __redirect_memmove.
44185         (__memmove_sse2): Use typeof __redirect_memmove.
44186         (__memmove_ssse3): Likewise.
44187         (__memmove_ssse3_back): Likewise.
44188         (__libc_memmove): New prototype.
44189         (memmove): Renamed to ...
44190         (__libc_memmove): This.
44191         (memmove): New strong alias of __libc_memmove.
44193 2012-08-08  Mark Salter  <msalter@redhat.com>
44195         * elf/elf.h
44196         (R_MN10300_TLS_GD): Define.
44197         (R_MN10300_TLS_LD): Likewise.
44198         (R_MN10300_TLS_LDO): Likewise.
44199         (R_MN10300_TLS_GOTIE): Likewise.
44200         (R_MN10300_TLS_IE): Likewise.
44201         (R_MN10300_TLS_LE): Likewise.
44202         (R_MN10300_TLS_DTPMOD): Likewise.
44203         (R_MN10300_TLS_DTPOFF): Likewise.
44204         (R_MN10300_TLS_TPOFF): Likewise.
44205         (R_MN10300_SYM_DIFF): Likewise.
44206         (R_MN10300_ALIGN): Likewise.
44207         (R_MN10300_NUM): Update.
44209 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44212         Remove.
44214 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44216         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44218         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44219         sysdeps/unix -> sysdeps/posix move.
44220         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44222 2012-08-07      Allan McRae     <allan@archlinux.org>
44224         [BZ #14303]
44225         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44226         (SUNOS_CPP): Likewise.
44227         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44228         not found.
44229         (open_input): Call CPP using execvp.
44231 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44233         * sysdeps/unix/sysv/linux/kernel-features.h
44234         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44235         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44236         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44237         (__ASSUME_WAITID_SYSCALL): Likewise.
44238         * sysdeps/unix/sysv/linux/dl-execstack.c
44239         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44240         code unconditional.
44241         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44242         conditional code.
44243         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44244         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44245         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44246         code.
44247         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44248         unconditional.
44249         [__ASSUME_WAITID_SYSCALL]: Likewise.
44250         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44252 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44254         * sysdeps/unix/closedir.c: Renamed to ...
44255         * sysdeps/posix/closedir.c: ... here.
44256         * sysdeps/unix/dirfd.c: Renamed to ...
44257         * sysdeps/posix/dirfd.c: ... here.
44258         * sysdeps/unix/dirstream.h: Renamed to ...
44259         * sysdeps/posix/dirstream.h: ... here.
44260         * sysdeps/unix/fdopendir.c: Renamed to ...
44261         * sysdeps/posix/fdopendir.c: ... here.
44262         * sysdeps/unix/opendir.c: Renamed to ...
44263         * sysdeps/posix/opendir.c: ... here.
44264         * sysdeps/unix/readdir.c: Renamed to ...
44265         * sysdeps/posix/readdir.c: ... here.
44266         * sysdeps/unix/readdir_r.c: Renamed to ...
44267         * sysdeps/posix/readdir_r.c: ... here.
44268         * sysdeps/unix/rewinddir.c: Renamed to ...
44269         * sysdeps/posix/rewinddir.c: ... here.
44270         * sysdeps/unix/seekdir.c: Renamed to ...
44271         * sysdeps/posix/seekdir.c: ... here.
44272         * sysdeps/unix/telldir.c: Renamed to ...
44273         * sysdeps/posix/telldir.c: ... here.
44274         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44275         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44276         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44277         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44279         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44280         * bits/fcntl.h: ... here.
44282         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44283         not 0.
44284         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44285         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44286         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44287         (struct flock): Move l_start, l_len to the beginning.
44288         Use __pid_t for l_pid.
44289         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44290         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44291         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44292         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44293         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44294         [__USE_LARGEFILE64] (struct flock64): New type.
44295         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44297         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44298         * bits/dirent.h: ... here.
44300         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44301         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44303 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44305         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44306         Change from 2.6.0 to 2.6.16.
44307         * sysdeps/unix/sysv/linux/configure: Regenerated.
44308         * sysdeps/unix/sysv/linux/kernel-features.h
44309         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44310         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44311         version.
44312         (__ASSUME_UTIMES): Likewise.
44313         (__ASSUME_CLONE_STOPPED): Remove.
44314         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44315         architectures, not kernel version.
44316         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44317         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44318         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44319         (__ASSUME_WAITID_SYSCALL): Likewise.
44320         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44321         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44322         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44323         refer to older versions.
44325 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44327         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44328         Define alphasort64 as an alias.
44329         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44330         Define versionsort64 as an alias.
44331         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44332         Define scandir64 as an alias.
44333         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44334         Define scandirat64 as an alias.
44335         * dirent/alphasort64.c (alphasort64):
44336         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44337         * dirent/versionsort64.c: Likewise.
44338         * dirent/scandir64.c: Likewise.
44339         * dirent/scandirat64.c: Likewise.
44340         * sysdeps/wordsize-64/alphasort.c: File removed.
44341         * sysdeps/wordsize-64/alphasort64.c: File removed.
44342         * sysdeps/wordsize-64/scandir.c: File removed.
44343         * sysdeps/wordsize-64/scandir64.c: File removed.
44344         * sysdeps/wordsize-64/scandirat.c: File removed.
44345         * sysdeps/wordsize-64/scandirat64.c: File removed.
44346         * sysdeps/wordsize-64/versionsort.c: File removed.
44347         * sysdeps/wordsize-64/versionsort64.c: File removed.
44348         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44349         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44350         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44351         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44352         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44353         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44354         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44355         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44357         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44358         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44359         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44361         [defined __arch64__ || defined __sparcv9]
44362         (__INO_T_MATCHES_INO64_T): New macro.
44363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44364         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44365         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44366         * sysdeps/unix/sysv/linux/bits/dirent.h
44367         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44368         (_DIRENT_MATCHES_DIRENT64): New macro.
44370         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44371         Define lockf64 as an alias.
44372         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44373         Define fseeko64 as an alias.
44374         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44375         Define ftello64 as an alias.
44376         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44377         Define _IO_fgetpos64 and fgetpos64 as aliases.
44378         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44379         Define _IO_fsetpos64 and fsetpos64 as aliases.
44380         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44381         Conditionalize body on this.
44382         * libio/fseeko64.c: Likewise.
44383         * libio/ftello64.c: Likewise.
44384         * libio/iofgetpos64.c: Likewise.
44385         * libio/iofsetpos64.c: Likewise.
44386         * sysdeps/wordsize-64/lockf.c: File removed.
44387         * sysdeps/wordsize-64/lockf64.c: File removed.
44388         * sysdeps/wordsize-64/fseeko.c: File removed.
44389         * sysdeps/wordsize-64/fseeko64.c: File removed.
44390         * sysdeps/wordsize-64/ftello.c: File removed.
44391         * sysdeps/wordsize-64/ftello64.c: File removed.
44392         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44393         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44394         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44395         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44396         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44397         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44398         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44399         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44400         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44401         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44402         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44403         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44404         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44405         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44407         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44409         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44411         [defined __arch64__ || defined __sparcv9]
44412         (__OFF_T_MATCHES_OFF64_T): New macro.
44413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44414         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44416         (__OFF_T_MATCHES_OFF64_T): New macro.
44418 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44420         * stdlib/secure-getenv.c (__secure_getenv): Replace
44421         GLIBC_2_16 with GLIBC_2_17.
44423 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44425         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44426         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44428 2012-08-03  David S. Miller  <davem@davemloft.net>
44430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44432 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44435         Remove.
44436         (__ASSUME_CORRECT_SI_PID): Likewise.
44437         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44438         (__ASSUME_TMPFS_NAME): Likewise.
44439         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44440         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44441         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44442         (HAVE_AUX_SECURE): Make definition unconditional.
44443         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44444         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44446 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44448         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44449         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44450         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44451         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44452         __eloop_threshold instead of SYMLOOP_MAX.
44454         * sysdeps/generic/eloop-threshold.h: New file.
44455         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44456         of MAXSYMLINKS.
44457         * elf/chroot_canon.c (chroot_canon): Likewise.
44459 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44461         [BZ #13717]
44462         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44463         Change to 2.6.0 everywhere.
44464         * sysdeps/unix/sysv/linux/configure: Regenerated.
44465         * sysdeps/unix/sysv/linux/kernel-features.h
44466         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44467         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44468         kernel versions.
44469         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44470         (__ASSUME_FUTEX_REQUEUE): Remove.
44471         (__ASSUME_STATFS64): Define unconditionally.
44472         (__ASSUME_AT_SECURE): Likewise.
44473         (__ASSUME_CORRECT_SI_PID): Likewise.
44474         (__ASSUME_TGKILL): Define without depending on kernel version for
44475         i386.
44476         (__ASSUME_UTIMES): Likewise.
44477         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44478         kernel version.
44479         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44480         (__ASSUME_TMPFS_NAME): Likewise.
44481         * README: Update reference to Linux kernel versions.
44483 2012-08-02  Marek Polacek  <polacek@redhat.com>
44485         [BZ# 14150]
44486         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44487         libc_cv_asm_type_prefix with %.
44488         * configure: Regenerated.
44489         * include/libc-symbols.h: Remove comment about
44490         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44491         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44492         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44493         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44494         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44495         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44496         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44497         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44498         * elf/tst-unique2mod1.c: Likewise.
44499         * elf/tst-unique1mod2.c: Likewise.
44500         * elf/tst-unique1mod1.c: Likewise.
44501         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44502         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44503         Replace ASM_TYPE_DIRECTIVE with .type.
44504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44505         * sysdeps/i386/sysdep.h: Likewise.
44506         * sysdeps/x86_64/sysdep.h: Likewise.
44507         * sysdeps/sh/sysdep.h: Likewise.
44508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44509         Do not define ASM_TYPE_DIRECTIVE.
44510         * sysdeps/powerpc/sysdep.h: Likewise.
44511         * sysdeps/powerpc/powerpc32/sysdep.h:
44512         Replace ASM_TYPE_DIRECTIVE with .type.
44513         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44514         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44515         * sysdeps/i386/fpu/e_powf.S: Likewise.
44516         * sysdeps/i386/fpu/e_expl.S: Likewise.
44517         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44518         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44519         * sysdeps/i386/fpu/e_pow.S: Likewise.
44520         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44521         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44522         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44523         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44524         * sysdeps/i386/fpu/e_log2.S: Likewise.
44525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44526         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44527         * sysdeps/i386/fpu/e_powl.S: Likewise.
44528         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44529         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44530         * sysdeps/i386/fpu/e_logl.S: Likewise.
44531         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44532         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44533         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44534         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44535         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44536         * sysdeps/i386/fpu/e_log.S: Likewise.
44537         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44538         * sysdeps/i386/fpu/e_logf.S: Likewise.
44539         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44540         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44541         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44542         * sysdeps/i386/fpu/e_log10.S: Likewise.
44543         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44544         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44545         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44546         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44547         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44548         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44549         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44550         * sysdeps/i386/i686/strtok.S: Likewise.
44551         * sysdeps/i386/i386-mcount.S: Likewise.
44552         * sysdeps/i386/strtok.S: Likewise.
44553         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44554         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44555         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44556         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44557         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44558         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44559         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44560         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44561         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44562         * sysdeps/x86_64/_mcount.S: Likewise.
44563         * sysdeps/x86_64/strtok.S: Likewise.
44564         * sysdeps/sh/_mcount.S: Likewise.
44566 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44568         * libio/iofopen.c: Include <fcntl.h>.
44569         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44570         (_IO_fopen64, fopen64): Define as aliases.
44571         * libio/iofopen64.c: Include <fcntl.h>.
44572         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44573         Conditionalize body on this.
44574         * sysdeps/wordsize-64/iofopen.c: File removed.
44575         * sysdeps/wordsize-64/iofopen64.c: File removed.
44577 2012-08-01  Marek Polacek  <polacek@redhat.com>
44579         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44580         Use dlfcn directly instead of a variable.
44581         (binfmt-subdir): Do not define.
44582         (dlfcn): Likewise.
44584 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44587         Remove all definitions.
44588         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44589         <kernel-features.h>.
44590         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44591         (miss_F_GETOWN_EX): Remove all definitions.
44592         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44593         macro definition.
44594         [!__ASSUME_FCNTL64]: Remove conditional code.
44595         [__ASSUME_FCNTL64]: Make code unconditional.
44596         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44597         <kernel-features.h>.
44598         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44599         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44600         (lockf64) [__NR_fcntl64]: Make code unconditional.
44601         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44603         * sysdeps/unix/sysv/linux/kernel-features.h
44604         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44605         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44606         Make code unconditional.
44607         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44608         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44610         [__NR_vfork]: Make code unconditional.
44611         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44612         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44614         [__NR_vfork]: Make code unconditional.
44615         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44616         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44618 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44620         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44621         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44623         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44624         Define mkstemp64 as an alias.
44625         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44626         Define mkstemps64 as an alias.
44627         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44628         Define mkostemp64 as an alias.
44629         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44630         Define mkostemps64 as an alias.
44631         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44632         Conditionalize body on this.
44633         * misc/mkostemp64.c: Likewise.
44634         * misc/mkostemps64.c: Likewise.
44635         * misc/mkstemps64.c: Likewise.
44636         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44637         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44638         * sysdeps/wordsize-64/mkostemp.c: File removed.
44639         * sysdeps/wordsize-64/mkstemp.c: File removed.
44640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44641         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44642         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44643         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44645         [BZ #14138]
44646         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44647         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44648         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44649         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44651         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44652         compat_symbol macros from <shlib-compat.h> rather than the underlying
44653         default_symbol_version and symbol_version macros, so that DEFAULT
44654         lines in shlib-versions are respected.
44655         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44657 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44659         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44660         Declare with warn_unused_result.
44661         (setgid, setregid, setegid, setresgid): Likewise.
44662         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44663         Likewise.
44664         * WUR-REPORT: Remove set*id functions.
44666 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44668         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44670 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44672         [BZ #10191]
44673         * include/sys/socket.h (__libc_accept, __libc_accept4):
44674         Add attribute_hidden.
44675         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44677         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44678         use of PTR_MANGLE.
44679         * inet/getnetgrent_r.c (setup): Likewise.
44681         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44683 2012-07-31  David S. Miller  <davem@davemloft.net>
44685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44687 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44689         [BZ #13629]
44690         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44691         value between 1.0 and 2.0 and smaller part has absolute value less
44692         than 1.0.
44693         * math/s_clog10.c (__clog10): Likewise.
44694         * math/s_clog10f.c (__clog10f): Likewise.
44695         * math/s_clog10l.c (__clog10l): Likewise.
44696         * math/s_clogf.c (__clogf): Likewise.
44697         * math/s_clogl.c (__clogl): Likewise.
44698         * math/libm-test.inc (clog_test): Add more tests.
44699         (clog10_test): Likewise.
44700         * sysdeps/i386/fpu/libm-test-ulps: Update.
44701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44703 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44705         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44706         Exit with zero in case no suitable GID is found, and write a
44707         message to standard error.
44709 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44711         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44712         rather than to 1.
44713         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44714         (MAXPATHLEN): Removed.
44715         (NOGROUP, NODEV): New macros.
44716         (setbit, clrbit, isset, isclr): New macros.
44717         (howmany, roundup, powerof2): New macros.
44718         (DEV_BSIZE): New macro.
44720         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44721         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44723         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44724         definition on [!__NO_LONG_DOUBLE_MATH].
44726         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44727         PTR_MANGLE and PTR_DEMANGLE.
44729         * socket/accept4.c (accept4): Rename to __libc_accept4.
44730         Define accept4 as a weak alias.
44732         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44733         on [_DIRENT_HAVE_D_TYPE].
44734         * io/ftw.c (ftw_dir): Likewise.
44736         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44738         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44740         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44741         Use the BSD numbers rather than the arbitrary ones we had.
44742         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44743         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44744         (SIGXCPU, SIGXFSZ): New macros.
44745         (_NSIG): Now 32.
44747         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44748         initializer on [_LIBC_REENTRANT].
44750         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44751         definitions inside [_POSIX_MAPPED_FILES].
44753         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44755         * dirent/opendir.c: Include <fcntl.h>.
44757         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44758         (__libc_getspecific): Likewise.
44759         (__libc_key_create): Likewise.
44761         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44762         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44763         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44764         (tmpfile64): Define as alias.
44765         * sysdeps/wordsize-64/tmpfile.c: File removed.
44766         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44768         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44770         * stdio-common/vfscanf.c: Include <stdbool.h>.
44771         * nss/makedb.c: Likewise.
44772         * stdio-common/_i18n_number.h: Likewise.
44773         * argp/argp-help.c: Likewise.
44774         * posix/wordexp.c: Likewise.
44775         * sysdeps/posix/spawni.c: Likewise.
44776         * nss/nss_files/files-initgroups.c: Likewise.
44777         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44778         * nss/nss_files/files-initgroups.c: Likewise.
44779         * nss/nss_db/db-netgrp.c: Likewise.
44780         * nss/nss_db/db-initgroups.c: Likewise.
44781         * io/fchmodat.c: Include <sys/stat.h>.
44783         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44784         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44786         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44787         [HAVE_MMAP].
44789         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44790         Add multiple inclusion protection.
44792 2012-07-27  David S. Miller  <davem@davemloft.net>
44794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44796 2012-07-27  Gary Benson  <gbenson@redhat.com>
44798         [BZ #14298]
44799         * elf/rtld.c: Include <stap-probe.h>.
44800         (dl_main): Added static probes "init_start" and "init_complete".
44801         * elf/dl-load.c: Include <stap-probe.h>.
44802         (lose): Take new parameter "nsid".
44803         Added static probe "map_failed".
44804         (_dl_map_object_from_fd): Pass namespace id to lose.
44805         Added static probe "map_start".
44806         (open_verify): Pass namespace id to lose.
44807         * elf/dl-open.c: Include <stap-probe.h>.
44808         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44809         and "reloc_complete".
44810         * elf/dl-close.c: Include <stap-probe.h>.
44811         (_dl_close_worker): Added static probes "unmap_start" and
44812         "unmap_complete".
44813         * elf/rtld-debugger-interface.txt: New file documenting the above.
44815 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44817         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44818         rather than a string variable.
44819         * sunrpc/rpc_main.c (h_output): Likewise.
44820         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44822 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44824         * inet/check_native.c: New file.
44826 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44828         [BZ #13629]
44829         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44830         if larger part has absolute value 1.0.
44831         * math/s_clog10.c (__clog10): Likewise.
44832         * math/s_clog10f.c (__clog10f): Likewise.
44833         * math/s_clog10l.c (__clog10l): Likewise.
44834         * math/s_clogf.c (__clogf): Likewise.
44835         * math/s_clogl.c (__clogl): Likewise.
44836         * math/libm-test.inc (clog_test): Add more tests.
44837         (clog10_test): Likewise.
44838         * sysdeps/i386/fpu/libm-test-ulps: Update.
44839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44841         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44842         (pltexit): Likewise.
44843         (La_regs): Likewise.
44844         (La_retval): Likewise.
44845         (int_retval): Likewise.
44846         Update #error for removed macros to refer only to definitions in
44847         tst-audit.h.
44848         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44849         macro.
44850         (pltexit): Likewise.
44851         (La_regs): Likewise.
44852         (La_retval): Likewise.
44853         (int_retval): Likewise.
44854         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44855         macro.
44856         (pltexit): Likewise.
44857         (La_regs): Likewise.
44858         (La_retval): Likewise.
44859         (int_retval): Likewise.
44860         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44861         macro.
44862         (pltexit): Likewise.
44863         (La_regs): Likewise.
44864         (La_retval): Likewise.
44865         (int_retval): Likewise.
44866         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44867         macro.
44868         (pltexit): Likewise.
44869         (La_regs): Likewise.
44870         (La_retval): Likewise.
44871         (int_retval): Likewise.
44872         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44873         macro.
44874         (pltexit): Likewise.
44875         (La_regs): Likewise.
44876         (La_retval): Likewise.
44877         (int_retval): Likewise.
44878         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44879         macro.
44880         (pltexit): Likewise.
44881         (La_regs): Likewise.
44882         (La_retval): Likewise.
44883         (int_retval): Likewise.
44884         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44885         macro definitions in tst-audit.h.
44886         * sysdeps/i386/tst-audit.h: New file.
44887         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44888         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44889         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44890         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44891         * sysdeps/sh/tst-audit.h: Likewise.
44892         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44893         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44894         * sysdeps/x86_64/tst-audit.h: Likewise.
44896 2012-07-26  Andreas Jaeger  <aj@suse.de>
44898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44899         ptrace.
44901         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44902         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44903         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44904         PTRACE_O_MASK.
44905         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44906         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44907         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44909         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44910         value.
44912         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44913         _sigsys.
44914         (si_call_addr, si_syscall, si_arch): Define new macro.
44915         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44916         _sigsys.
44917         (si_call_addr, si_syscall, si_arch): Define new marcro.
44918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44919         _sigsys.
44920         (si_call_addr, si_syscall, si_arch): Define new macro.
44921         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44922         _sigsys.
44923         (si_call_addr, si_syscall, si_arch): Define new macro.
44925 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44927         [BZ #13717]
44928         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44929         Change to 2.4.21 where previously 2.4.1.
44930         * sysdeps/unix/sysv/linux/configure: Regenerated.
44931         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44932         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44933         Linux kernel version.
44934         (__ASSUME_STD_AUXV): Remove.
44935         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44936         kernel version.
44937         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44938         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44939         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44940         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44941         (__ASSUME_NETLINK_SUPPORT): Likewise.
44942         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44943         (__no_netlink_support): Remove conditional definition.
44944         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44945         Remove.
44946         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44947         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44948         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44949         (if_nameindex_ioctl): Remove.
44950         (if_nameindex_netlink): Do not handle __no_netlink_support.
44951         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44952         code.
44953         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44954         Remove conditional code.
44955         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44956         code.
44957         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44958         unconditional.
44959         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44960         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44961         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44962         Remove.
44963         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44964         [!__ASSUME_STD_AUXV]: Remove conditional code.
44965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44966         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44967         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44969         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44970         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44971         code.
44972         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44974         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44975         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44976         conditional code.
44977         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44979         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44980         code.
44981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44982         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44983         conditional code.
44984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44985         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44986         code unconditional.
44987         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44988         conditional code.
44989         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44990         unconditional.
44991         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44992         conditional code.
44993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44994         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44995         unconditional.
44996         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44997         conditional code.
44998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44999         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45000         code unconditional.
45001         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45002         conditional code.
45003         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45004         unconditional.
45005         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45006         conditional code.
45007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45008         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45009         code unconditional.
45010         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45011         conditional code.
45012         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45013         unconditional.
45014         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45015         conditional code.
45017 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45019         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45020         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45021         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45022         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45023         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45024         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45025         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45026         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45027         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45028         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45029         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45030         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45031         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45032         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45034         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45035         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45036         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45037         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45039         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45040         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45041         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45043 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45045         * Versions.def: Add GLIBC_2.17.
45046         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45047         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45048         Introduce __libc_secure_getenv.
45049         * stdlib/Versions (2.17): Add secure_getenv
45050         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45051         * stdlib/secure-getenv.c: Rename __secure_getenv to
45052         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45053         symbol __secure_getenv for GLIBC_2.0.
45054         * stdlib/tst-secure-getenv.c: New.
45055         * stdlib/Makefile (tests): Add testcase.
45056         * manual/startup.texi (Environment Access): Document
45057         secure_getenv.
45058         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45059         __libc_secure_getenv.
45060         * inet/ruserpass.c (ruserpass): Likewise.
45061         * malloc/mtrace.c (mtrace): Likewise.
45062         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45063         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45064         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45065         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45066         HAVE_SECURE_GETENV.
45067         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45068         __secure_getenv to __libc_secure_getenv.
45069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45071         Likewise.
45072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45073         Likewise.
45074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45076         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45082 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45084         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45085         (struct La_i86_retval): Likewise.
45086         (struct La_x86_64_regs): Likewise.
45087         (struct La_x86_64_retval): Likewise.
45088         (struct La_x32_regs): Likewise.
45089         (struct La_x32_retval): Likewise.
45090         (struct La_ppc32_regs): Likewise.
45091         (struct La_ppc32_retval): Likewise.
45092         (struct La_ppc64_regs): Likewise.
45093         (struct La_ppc64_retval): Likewise.
45094         (struct La_sh_regs): Likewise.
45095         (struct La_sh_retval): Likewise.
45096         (struct La_s390_32_regs): Likewise.
45097         (struct La_s390_32_retval): Likewise.
45098         (struct La_s390_64_regs): Likewise.
45099         (struct La_s390_64_retval): Likewise.
45100         (struct La_sparc32_regs): Likewise.
45101         (struct La_sparc32_retval): Likewise.
45102         (struct La_sparc64_regs): Likewise.
45103         (struct La_sparc64_retval): Likewise.
45104         (struct audit_ifaces): Remove architecture-specific pltenter and
45105         pltexit members.
45106         * sysdeps/i386/ldsodefs.h: New file.
45107         * sysdeps/powerpc/ldsodefs.h: Likewise.
45108         * sysdeps/s390/ldsodefs.h: Likewise.
45109         * sysdeps/sh/ldsodefs.h: Likewise.
45110         * sysdeps/sparc/ldsodefs.h: Likewise.
45111         * sysdeps/x86_64/ldsodefs.h: Likewise.
45113 2012-07-25  Marek Polacek  <polacek@redhat.com>
45115         [BZ #6808]
45116         * math/libm-test.inc (yn_test): Add another test.
45117         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45118         to ERANGE when the result is +-Inf.
45119         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45120         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45121         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45122         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45124 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45126         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45127         equal to 0.
45128         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45129         clock_t.
45130         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45132 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45134         * configure.in <sysdeps resolving>: Correct printing
45135         Implies_before.
45136         * configure: Regenerate.
45138 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45140         * math/w_ilogb.c: Include <limits.h>.
45141         * math/w_ilogbl.c: Likewise.
45143 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45145         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45146         va_copy.  Document allowing for unavailable va_copy only as
45147         pre-C99 compatibility.
45148         * manual/string.texi (Copying and Concatenation): Use va_copy
45149         instead of __va_copy in concat example.
45151 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45153         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45154         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45155         it if not null.
45157         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45158         with O_NOLINK passed to __file_name_lookup.
45160         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45161         with O_NOLINK passed to __file_name_lookup.
45163         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45164         negative N or less than NGIDS.
45166         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45167         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45168         enough.  Use memcpy instead of strncpy.
45170 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45172         * elf/Makefile (check-data): Remove.
45173         (localplt.data): New vpath directive.
45174         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45175         instead of $(check-data).
45176         * scripts/data/localplt-generic.data: Move to ...
45177         * sysdeps/generic/localplt.data: ... here.
45178         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45179         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45180         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45182         ... here.
45183         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45185         ... here.
45186         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45188         ... here.
45189         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45191         ... here.
45192         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45194         ... here.
45195         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45197         ... here.
45199 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45201         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45202         PPC32 and PPC64 files.
45203         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45204         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45206 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45208         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45209         __makecontext_ret to ...
45210         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45211         ... here and call exit if uc_link is NULL.  New file.
45212         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45213         __makecontext_ret.S.
45214         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45215         __makecontext_ret to ...
45216         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45217         ... here and call exit if uc_link is NULL.  New file.
45218         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45219         __makecontext_ret.S.
45221 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45223         * elf/elf.h (R_390_IRELATIVE): New definition.
45224         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45225         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45226         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45227         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45228         (elf_machine_lazy_rel): Likewise.
45229         * sysdeps/s390/dl-irel.h: New file.
45230         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45231         * sysdeps/s390/s390-64/memset.S: New asm code.
45232         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45233         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45234         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45235         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45236         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45237         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45239         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45240         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45241         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45242         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45243         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45244         * sysdeps/s390/s390-32/memset.S: New asm code.
45245         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45247 2012-07-17  Marek Polacek  <polacek@redhat.com>
45249         [BZ #14349]
45250         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45251         * sysdeps/s390/s390-64/configure.in: Likewise.
45252         * sysdeps/sparc/configure.in: Likewise.
45253         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45254         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45255         * sysdeps/i386/configure.in: Likewise.
45256         * sysdeps/x86_64/configure.in: Likewise.
45257         * sysdeps/sh/configure.in: Likewise.
45258         * sysdeps/s390/s390-32/configure: Regenerated.
45259         * sysdeps/s390/s390-64/configure: Likewise.
45260         * sysdeps/x86_64/configure: Likewise.
45261         * sysdeps/sh/configure: Likewise.
45262         * sysdeps/powerpc/powerpc64/configure: Likewise.
45263         * sysdeps/powerpc/powerpc32/configure: Likewise.
45264         * sysdeps/sparc/configure: Likwise.
45265         * sysdeps/i386/configure: Likewise.
45267         * elf/dl-open.c: Comment fixes.
45269 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45271         * Makefile [CXX] (check-data): Remove.
45272         [CXX] (c++-types.data): New vpath directive.
45273         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45274         vpath.  Do not allow for C++ type data being missing.
45275         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45276         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45277         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45278         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45279         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45280         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45281         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45283         ... here.
45284         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45286         ... here.
45287         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45289         ... here.
45290         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45292         ... here.
45293         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45295         ... here.
45296         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45298         ... here.
45299         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45301         ... here.
45302         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45305         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45306         definitions to architecture-specific files.
45307         (TLS_IE): Likewise.
45308         (TLS_LD): Likewise.
45309         (TLS_GD): Likewise.
45310         * sysdeps/i386/tls-macros.h: New file.
45311         * sysdeps/powerpc/tls-macros.h: Likewise.
45312         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45313         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45314         * sysdeps/sh/tls-macros.h: Likewise.
45315         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45316         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45317         * sysdeps/x86_64/tls-macros.h: Likewise.
45319 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45321         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45322         zero value for regular exit case.
45324         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45325         (__start_context): Preserve zero value for regular exit case.
45327 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45328             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45330         * manual/setjmp.texi (setcontext): Clarify normal process
45331         termination when uc_link is the null pointer.
45332         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45333         exit call.
45335 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45337         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45338         preprocessor.  Test for each exception mask separately.
45340 2012-07-16  Andreas Jaeger  <aj@suse.de>
45342         * po/ru.po: Update from translation team.
45344 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45346         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45347         equal to 0.
45348         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45349         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45350         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45351         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45354 2012-07-13  Andreas Jaeger  <aj@suse.de>
45356         * po/fr.po: Update from translation team.
45358 2012-07-12  Marek Polacek  <polacek@redhat.com>
45360         [BZ #14173]
45361         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45362         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45363         loop condition.
45365 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45367         [BZ #13717]
45368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45369         Change to 2.4.1 where previously 2.4.0.
45370         * sysdeps/unix/sysv/linux/configure: Regenerated.
45371         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45372         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45373         version.
45374         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45375         (__ASSUME_AT_CLKTCK): Remove.
45376         (__ASSUME_AT_PAGESIZE): Likewise.
45377         (__ASSUME_AT_XID): Likewise.
45378         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45379         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45380         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45381         unconditionally.
45382         (HAVE_AUX_PAGESIZE): Likewise.
45383         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45384         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45385         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45387 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45389         [BZ #14307]
45390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45391         the temporary buffer used to invoke __gethostbyname2_r,
45392         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45393         host_data / struct gaih_addrtuple.
45394         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45395         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45396         header file nss/nsswitch.h.
45397         * nss/nsswitch.h (global scope): Add definition of implementation
45398         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45399         resolv/nss_dns/dns-host.c).
45401 2012-07-11  Andreas Jaeger  <aj@suse.de>
45403         * po/fr.po: Update from translation team.
45405         * po/sv.po: Update from translation team
45406         * po/fr.po: Another update from translation team.
45408 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45410         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45411         for subnormals or multiply small sinh result by itself.
45412         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45415 2012-07-11  David S. Miller  <davem@davemloft.net>
45417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45419 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45421         [BZ #14347]
45422         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45423         (INTERNAL_MARK): Shift it here.
45425 2012-07-10  Marek Polacek  <polacek@redhat.com>
45427         [BZ #14151]
45428         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45429         libc_cv_asm_global_directive with .globl.
45430         * configure: Regenerated.
45431         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45432         with .globl.
45433         * sysdeps/i386/configure: Regenerated.
45434         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45435         with .globl.
45436         * sysdeps/x86_64/configure: Regenerated.
45437         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45438         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45439         * elf/tst-unique2mod2.c: Likewise.
45440         * elf/tst-unique2mod1.c: Likewise.
45441         * elf/tst-unique1mod2.c: Likewise.
45442         * elf/tst-unique1mod1.c: Likewise.
45443         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45444         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45445         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45446         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45447         * sysdeps/mach/sysdep.h: Likewise.
45448         * sysdeps/i386/sysdep.h: Likewise.
45449         * sysdeps/i386/i386-mcount.S: Likewise.
45450         * sysdeps/x86_64/_mcount.S: Likewise.
45451         * sysdeps/x86_64/sysdep.h: Likewise.
45452         * sysdeps/sh/_mcount.S: Likewise.
45453         * sysdeps/sh/sysdep.h: Likewise.
45454         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45455         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45456         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45457         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45458         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45459         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45460         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45461         * locale/localeinfo.h: Likewise.
45462         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45463         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45465 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45467         [BZ #14336]
45468         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45469         system".
45470         * manual/message.texi (The Uniforum approach): Likewise.
45471         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45472         (glibc iconv Implementation): Likewise.
45474 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45476         [BZ #14337]
45477         * math/s_clog.c (__clog): Avoid scaling a value down where that
45478         could result in underflow.
45479         * math/s_clog10.c (__clog10): Likewise.
45480         * math/s_clog10f.c (__clog10f): Likewise.
45481         * math/s_clog10l.c (__clog10l): Likewise.
45482         * math/s_clogf.c (__clogf): Likewise.
45483         * math/s_clogl.c (__clogl): Likewise.
45484         * math/libm-test.inc (clog_test): Add more tests.
45485         (clog10_test): Likewise.
45486         * sysdeps/i386/fpu/libm-test-ulps: Update.
45487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45489 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45491         [BZ #14283]
45492         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45493         by 7 not 8 to examine high bit of fractional part.
45495         [BZ #14042]
45496         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45497         for call to __mcount_internal.
45498         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45499         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45500         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45502 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45504         [BZ #14154]
45505         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45506         approximation for values within 0x1p-13f of an odd multiple of
45507         pi/4.
45508         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45509         exception.  Add more tests.
45510         * sysdeps/i386/fpu/libm-test-ulps: Update.
45512         [BZ #6778]
45513         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45514         inputs and return -1 for them.  Do not check for +Inf in case not
45515         reachable for +Inf.
45516         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45517         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45518         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45519         and return -1 for them.  Do not check for +Inf in case not
45520         reachable for +Inf.
45521         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45522         define.
45523         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45524         and return -1 for them.  Do not check for +Inf in case not
45525         reachable for +Inf.
45526         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45527         spurious underflow.
45528         * sysdeps/i386/fpu/libm-test-ulps: Update.
45529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45531 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45533         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45535 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45537         [BZ #14157]
45538         [BZ #14331]
45539         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45540         could result in spurious underflow.  Scale down values above
45541         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45542         * math/s_csqrtf.c (__csqrtf): Likewise.
45543         * math/s_csqrtl.c (__csqrtl): Likewise.
45544         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45545         spurious underflow.
45546         * sysdeps/i386/fpu/libm-test-ulps: Update.
45547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45549 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45551         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45552         xopen-msg.sed.
45553         * catgets/xopen-msg.awk: New file.
45554         * catgets/xopen-msg.sed: Removed.
45556         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45557         po2text.sed.
45558         * intl/po2test.awk: New file.
45559         * intl/po2test.sed: Removed.
45561 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45563         [BZ #14328]
45564         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45565         or multiply small sinh result by itself.
45566         * math/s_ctanf.c (__ctanf): Likewise.
45567         * math/s_ctanh.c (__ctanh): Likewise.
45568         * math/s_ctanhf.c (__ctanhf): Likewise.
45569         * math/s_ctanhl.c (__ctanhl): Likewise.
45570         * math/s_ctanl.c (__ctanl): Likewise.
45571         * math/libm-test.inc (ctan_test_tonearest): New function.
45572         (ctan_test_towardzero): Likewise.
45573         (ctan_test_downward): Likewise.
45574         (ctan_test_upward): Likewise.
45575         (ctanh_test_tonearest): Likewise.
45576         (ctanh_test_towardzero): Likewise.
45577         (ctanh_test_downward): Likewise.
45578         (ctanh_test_upward): Likewise.
45579         (main): Call these new functions.
45580         * sysdeps/i386/fpu/libm-test-ulps: Update.
45581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45583 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45585         * .gitignore: Delete /ports entry.
45587 2012-07-03  Andreas Jaeger  <aj@suse.de>
45589         * po/bg.po: Update from translation team.
45590         * po/cs.po: Likewise.
45591         * po/de.po: Likewise.
45592         * po/hr.po: Likewise.
45593         * po/nl.pl: Likewise.
45594         * po/pl.po: Likewise.
45595         * po/vi.po: Likewise.
45597 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45599         * Makeconfig [!+link] (+link-before-libc): New variable.
45600         [!+link] (+link-after-libc): Likewise.
45601         [!+link] (+link-tests): Likewise.
45602         [!+link] (+link): Define in terms of $(+link-before-libc) and
45603         $(+link-after-libc).
45604         [!+link-static] (+link-static-before-libc): New variable.
45605         [!+link-static] (+link-static-after-libc): Likewise.
45606         [!+link-static] (+link-static-tests): Likewise.
45607         [!+link-static] (+link-static): Define in terms of
45608         $(+link-static-before-libc) and $(+link-static-after-libc).
45609         [build-shared] (link-libc-before-gnulib): New variable.
45610         [build-shared] (link-libc-tests): Likewise.
45611         [build-shared] (link-libc): Define in terms of
45612         $(link-libc-before-gnulib).
45613         [!build-shared] (link-libc-tests): New variable.
45614         (link-libc-static-tests): New variable.
45615         [!gnulib] (gnulib-arch): New variable.
45616         [!gnulib] (gnulib-tests): Likewise.
45617         [!gnulib] (static-gnulib-arch): Likewise.
45618         [!gnulib] (static-gnulib-tests): Likewise.
45619         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45620         Define with "=" instead of ":=".
45621         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45622         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45623         * Rules (binaries-all-notests): New variable.
45624         (binaries-all-tests): Likewise.
45625         (binaries-static-notests): Likewise.
45626         (binaries-static-tests): Likewise.
45627         (binaries-all): Define using $(binaries-all-notests) and
45628         $(binaries-all-tests).
45629         (binaries-static): Define using $(binaries-static-notests) and
45630         $(binaries-static-tests).
45631         (binaries-shared-tests): New variable.
45632         (binaries-shared-notests): Likewise.
45633         (binaries-shared): Remove variable.
45634         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45635         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45636         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45637         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45638         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45639         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45640         * elf/Makefile (sln-modules): New variable.
45641         (extra-objs): Add $(sln-modules:=.o).
45642         (ldconfig-modules): Add static-stubs.
45643         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45644         * elf/static-stubs.c: New file.
45646         [BZ #14283]
45647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45648         by 7 not 8 to examine high bit of fractional part.  Use volatile
45649         variables when splitting into final array of floats if
45650         __FLT_EVAL_METHOD__ != 0.
45651         * math/libm-test.inc (cos_test): Add another test.
45652         (sin_test): Likewise.
45653         * sysdeps/i386/fpu/libm-test-ulps: Update.
45655         [BZ #14273]
45656         * math/libm-test.inc (cosh_test): Add more tests.
45658         * version.h (RELEASE): Set to "development".
45659         (VERSION): Set to "2.16.90".
45661 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45663         * NEWS: Update copyright. Remove last-updated date.
45664         Mention math library bug fixes and timezone data changes.
45665         * README: Mention GNU/Hurd, x32, and HPPA support status.
45667 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45669         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45671 2012-06-27  Andreas Jaeger  <aj@suse.de>
45673         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45675 2012-06-25  Andreas Jaeger  <aj@suse.de>
45677         * sysdeps/s390/fpu/libm-test-ulps: Update.
45679 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45680             Thomas Schwinge  <thomas@codesourcery.com>
45682         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45683         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45684         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45685         fanotify_mark.
45687 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45689         * sysdeps/mach/start.c: Remove file.
45690         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45691         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45692         * sysdeps/sh/init-first.c: Likewise.
45694         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45695         registers for frame unwinding purposes, add CFI directives.
45696         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45697         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45698         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45699         Likewise.
45701         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45702         __fortify_fail returning.
45703         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45705         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45706         sysdeps/sh/____longjmp_chk.S.
45707         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45708         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45709         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45710         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45712         * sysdeps/sh/abort-instr.h: New file.
45713         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45714         process in case exit returns.
45716         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45717         initialize the GOT register before use.
45719         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45720         calculation of ARGC > 4.
45722         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45723         meaningful names to some local labels.
45725 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45726             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45728         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45729         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45730         (__arch_compare_and_exchange_val_16_acq): Likewise.
45731         (__arch_compare_and_exchange_val_32_acq): Likewise.
45732         (atomic_exchange_and_add): Fix gUSA sequence.
45733         (atomic_add): Likewise.
45734         (atomic_add_negative): Likewise.
45735         (atomic_add_zero): Likewise.
45736         (atomic_bit_test_set): Likewise.
45738 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45740         [BZ #13579]
45741         * include/link.h (struct link_map): Add l_free_initfini.
45742         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45743         l_initfini.
45744         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45745         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45746         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45747         set.
45749 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45751         * configure.in: Use AC_LANG_SOURCE.
45752         * configure: Regenerate.
45754 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45756         * configure.in (libc_cv_localstatedir): New substituted variable.
45757         * configure: Regenerated.
45758         * config.make.in (localstatedir): New variable, substituted from
45759         libc_cv_localstatedir.
45760         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45761         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45762         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45763         * sysdeps/gnu/configure: Regenerated.
45765 2012-06-21  Jeff Law  <law@redhat.com>
45767         [BZ #14277]
45768         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45769         free.  Simplify list management for _LIBC case.
45771 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45773         [BZ #14273]
45774         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45775         Clear sign bit of 64-bit integer value before comparing against
45776         overflow value.
45778         * sysdeps/mach/configure: Regenerated.
45780 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45782         [BZ #14278]
45783         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45785 2012-06-21  Jeff Law  <law@redhat.com>
45787         [BZ #13882]
45788         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45789         uint16_t for elements in the "seen" array to avoid char overflows.
45790         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45791         * elf/dl-open.c (dl_open_worker): Likewise.
45793 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45795         * scripts/list-sources.sh: Scan PORTS for translations.
45796         * po/libc.pot: Regenerated.
45798 2012-06-21  Andreas Jaeger  <aj@suse.de>
45800         [BZ #12194]
45801         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45802         warning.
45803         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45804         * bits/byteswap-16.h (__bswap_16): Likewise.
45805         * bits/byteswap.h (__bswap_constant_16): Likewise.
45807 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45809         [BZ #14117]
45810         * sysdeps/i386/fpu_control.h: Removed.
45811         * sysdeps/x86_64/fpu_control.h: Moved to ...
45812         * sysdeps/x86/fpu_control.h: Here.
45814         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45815         (_FPU_SETCW): Likewise.
45817 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45819         [BZ #14117]
45820         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45821         * sysdeps/x86/fpu/bits/mathinline.h: This.
45822         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45824         [BZ #14050]
45825         [BZ #14117]
45826         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45827         functions if __x86_64__ is defined.
45829 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45831         * string/endian.h: Add !__ASSEMBLER__ condition for including
45832         conversion interfaces.
45834 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45836         [BZ #14241]
45837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45838         of ABS(x) in calculating zero to negative powers other than odd
45839         integers.
45840         * math/libm-test.inc (pow_test): Add more tests.
45842 2012-06-15  Andreas Jaeger  <aj@suse.de>
45844         * manual/contrib.texi (Contributors): Update entry of Liubov
45845         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45846         Machado Filho.
45848 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45850         * string/string.h: Add __wur to GNU version of strerror_r.
45852 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45854         [BZ #14229]
45855         * string/Makefile (tests): Add tst-strtok_r.
45856         * string/tst-strtok_r.c: New file.
45857         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45858         RAX_LP/RDX_LP on SAVE_PTR.
45860 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45862         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45864 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45866         * libm_test.inc (csqrt_test): Allow more spurious underflow
45867         exceptions.
45868         (j0_test): Likewise.
45869         (j1_test): Likewise.
45870         (y0_test): Likewise.
45871         (y1_test): Likewise.
45873 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45875         * po/Makefile (libc.pot): Use UTF-8 charset.
45877 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45879         [BZ #14210]
45880         Suppress sign-conversion warning from FD_SET.
45881         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45882         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45883         not unsigned long int.
45884         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45886 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45888         [BZ #14050]
45889         [BZ #14117]
45890         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45891         __extern_always_inline instead of __extern_inline.
45892         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45893         (__signbit): Likewise.
45894         (__signbitl): Support C++ namespace.
45895         (lrintf): New inline function.
45896         (lrint): Likewise.
45897         (llrintf): Likewise.
45898         (llrint): Likewise.
45899         (fmaxf): Likewise.
45900         (fmax): Likewise.
45901         (fminf): Likewise.
45902         (fmin): Likewise.
45903         (rint): Likewise.
45904         (rintf): Likewise.
45905         (ceil): Likewise.
45906         (ceilf): Likewise.
45907         (floor): Likewise.
45908         (floorf): Likewise.
45909         (nearbyint): Likewise.
45910         (nearbyintf): Likewise.
45912 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45914         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45915         non-default versions.
45917 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45919         [BZ #14218]
45920         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45922 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45924         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45925         (FE_UPWARD, FE_DOWNWARD): Don't define.
45926         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45927         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45929         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45930         reading it.
45931         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45932         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45934 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45936         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45937         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45938         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45939         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45941 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45943         [BZ #14117]
45944         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45945         * sysdeps/i386/fpu/Implies: New file.
45946         * sysdeps/x86_64/fpu/Implies: Likewise.
45947         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45948         * sysdeps/x86/fpu/bits/fenv.h: This.
45950         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45951         __SSE_MATH__.
45953 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45955         [BZ #14134]
45956         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45957         character 0xffff that matches the last element of the
45958         conversion table.
45960 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45962         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45963         fmodl commit.
45965 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45968         values higher than 25.6283.
45970 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45972         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45973         subnormal exponent extraction and add some __builtin_expect.
45974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45975         Fix for subnormal mantissa calculation.
45977 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45979         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45980         cpu2 is -1 and errno is not ENOSYS.
45982 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45984         [BZ #14117]
45985         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45986         * sysdeps/x86/bits/string.h: This.
45987         * sysdeps/x86_64/bits/string.h: Removed.
45989         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45990         if not compiling for x86-64, but compiling for >= i486.
45992         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45993         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45995         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45996         New macro from Linux kernel 3.4.0.
45997         (FP_XSTATE_MAGIC2): Likewise.
45998         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45999         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46000         (struct _fpx_sw_bytes): New struct.
46001         (struct _xsave_hdr): Likewise.
46002         (struct _ymmh_state): Likewise.
46003         (struct _xstate): Likewise.
46005         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46006         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46008         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46009         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46010         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46012         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46013         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46014         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46015         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46016         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46017         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46019 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46021         [BZ #13743]
46022         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46023         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46024         (sysdep_headers): Include sys/platform/ppc.h.
46025         * sysdeps/powerpc/test-gettimebase.c: Test for
46026         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46027         * manual/Makefile (appendices): Include platform.texi.
46028         * manual/contrib.texi (Contributors): Update @node pointers.
46029         * manual/maint.texi (Maintenance): Likewise.
46030         (Platform): New node.
46031         * manual/platform.texi: New file.  Document the new features.
46033 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46034             Jakub Jelinek  <jakub@redhat.com>
46036         [BZ #14188]
46037         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46038         where __builtin_expect is unavailable.
46040 2012-06-03  David S. Miller  <davem@davemloft.net>
46042         * stdlib/longlong.h: Updated from GCC.
46044 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46046         [BZ #14042]
46047         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46048         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46049         __mcount_internal.
46050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46051         (GLIBC_2.16): Likewise.
46053 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46055         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46057 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46060         (default-abi): New variable.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46062         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46063         variable.
46064         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46065         Likewise.
46066         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46067         Likewise.
46068         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46069         Likewise.
46071         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46072         definition.  Document in comment.
46074 2012-06-01  David S. Miller  <davem@davemloft.net>
46076         * stdlib/longlong.h: Updated from GCC.
46078 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46080         [BZ #14117]
46081         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46082         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46083         sys/debugreg.h sys/io.h here.
46084         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46085         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46086         sys/io.h.
46087         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46088         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46089         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46090         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46091         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46092         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46094         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46095         Define only if __x86_64__ is defined.
46097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46099         [BZ #14048]
46100         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46101         Use int64_t for variable i.
46102         * math/libm-test.inc (fmod_test): Add more tests.
46104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46105         z computation is not scheduled after fetestexcept.
46106         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46107         Use math_force_eval instead of asm to ensure calculation scheduled
46108         before exception test.
46109         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46110         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46112 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46115         computation is not scheduled after fetestexcept.
46117 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46119         [BZ #14117]
46120         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46121         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46123 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46125         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46126         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46128 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46130         [BZ #14117]
46131         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46132         <bits/wordsize.h>.
46133         (__WCHAR_MIN): Support __WORDSIZE == 64.
46134         (__WCHAR_MAX): Likewise.
46136         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46139         [BZ #14183]
46140         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46141         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46143         [BZ #14117]
46144         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46145         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46147         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46148         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46150         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46151         Defined to 1 if __x86_64__ isn't defined.
46152         (_STAT_VER_LINUX_OLD): New.
46153         (st_atime): Remove duplicate.
46154         (st_mtime): Likewise.
46155         (st_ctime): Likewise.
46157 2012-05-31  David S. Miller  <davem@davemloft.net>
46159         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46160         entries.
46162 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46164         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46165         gen-libm-test.pl.
46167         [BZ #14132]
46168         * elf/dl-reloc.c: Include <_itoa.h>.
46169         (_dl_reloc_bad_type): Remove use of INTUSE.
46170         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46171         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46172         * stdio-common/psiginfo.c (psiginfo): Likewise.
46173         * stdio-common/psignal.c (psignal): Likewise.
46174         * string/strsignal.c (strsignal): Likewise.
46175         * include/signal.h (_sys_siglist): Declare hidden proto.
46176         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46177         INTVARDEF with libc_hidden_data_def.
46178         * stdio-common/itoa-udigits.c: Likewise.
46179         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46180         (_itoa_lower_digits_internal): Remove declaration.
46181         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46182         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46183         (_sys_sigabbrev_internal): Remove aliases.
46184         (_sys_siglist): Define hidden alias.
46186 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46189         bits/sysctl.h.
46191 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46193         [BZ #14117]
46194         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46195         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46197         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46198         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46199         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46200         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46201         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46202         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46204         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46205         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46206         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46208         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46209         with __addr.
46210         (insw): Likewise.
46211         (insl): Likewise.
46212         (outsb): Likewise.
46213         (outsw): Likewise.
46214         (outsl): Likewise.
46216         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46217         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46218         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46220         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46221         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46222         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46223         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46224         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46225         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46227         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46228         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46230         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46231         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46235         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46237         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46238         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46239         to ...
46240         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46242         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46243         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46244         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46246         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46247         for x86-64.
46248         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46250 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46252         * math/math.h (M_El): Use two more decimal places.
46253         (M_LOG2El): Likewise.
46254         (M_LOG10El): Likewise.
46255         (M_LN2l): Likewise.
46256         (M_LN10l): Likewise.
46257         (M_PIl): Likewise.
46258         (M_PI_2l): Likewise.
46259         (M_PI_4l): Likewise.
46260         (M_1_PIl): Likewise.
46261         (M_2_PIl): Likewise.
46262         (M_2_SQRTPIl): Likewise.
46263         (M_SQRT2l): Likewise.
46264         (M_SQRT1_2l): Likewise.
46266 2012-05-31  David S. Miller  <davem@davemloft.net>
46268         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46269         values between float registers.
46270         * sysdeps/sparc/sparc64/memset.S: Likewise.
46271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46273 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46275         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46276         -D_FORTIFY_SOURCE=1.
46277         (CPPFLAGS-tst-longjmp_chk.c): Define.
46278         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46279         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46280         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46281         CFLAGS-tst-wchar-h.c.
46283 2012-05-31  Marek Polacek  <polacek@redhat.com>
46285         [BZ #14132]
46286         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46287         __endmntent_internal): Remove declaration.
46288         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46289         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46290         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46292 2012-05-30  David S. Miller  <davem@davemloft.net>
46294         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46295         (___Q_simulate_exceptions): Use real FP ops rather than writing
46296         into the %fsr.
46297         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46298         Likewise.
46300 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46302         [BZ #14117]
46303         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46304         * sysdeps/x86/bits/xtitypes.h: This.
46306         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46307         * sysdeps/x86/bits/wordsize.h: This.
46309         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46310         * sysdeps/x86/bits/huge_vall.h: This.
46312         * sysdeps/i386/bits/select.h: Removed.
46313         * sysdeps/x86_64/bits/select.h: Renamed to ...
46314         * sysdeps/x86/bits/select.h: This.
46316         * sysdeps/i386/bits/setjmp.h: Removed.
46317         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46318         * sysdeps/x86/bits/setjmp.h: This.
46320         * sysdeps/i386/bits/mathdef.h: Removed.
46321         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46322         * sysdeps/x86/bits/mathdef.h: This.
46324 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46326         [BZ #14132]
46327         * include/sys/socket.h (__connect_internal)
46328         (__libc_sa_len_internal): Remove declaration.
46329         (__connect, __libc_sa_len): Declare hidden_proto.
46330         (SA_LEN): Remove use of INTUSE.
46331         * socket/connect.c: Add libc_hidden_def.
46332         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46333         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46334         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46335         alias.
46336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46337         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46338         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46339         of adding _internal alias.
46341 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46343         [BZ #14117]
46344         * sysdeps/i386/bits/link.h: Removed.
46345         * sysdeps/i386/bits/linkmap.h: Likewise.
46346         * sysdeps/x86_64/bits/link.h: Renamed to ...
46347         * sysdeps/x86/bits/link.h: This.
46348         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46349         * sysdeps/x86/bits/linkmap.h: This.
46351         * sysdeps/i386/bits/endian.h: Removed.
46352         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46353         * sysdeps/x86/bits/endian.h: This.
46355         * sysdeps/i386/bits/byteswap.h: Removed.
46356         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46357         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46358         * sysdeps/x86/bits/byteswap.h: This.
46359         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46360         * sysdeps/x86/bits/byteswap-16.h: This.
46361         * sysdeps/i386/Implies: Add x86.
46362         * sysdeps/x86_64/Implies: Likewise.
46364 2012-05-30  David S. Miller  <davem@davemloft.net>
46366         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46367         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46368         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46369         (FP_TRAPPING_EXCEPTIONS): Define.
46370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46371         (FP_TRAPPING_EXCEPTIONS): Define.
46372         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46373         subnormals only when inexact has been signalled or underflow
46374         exceptions are enabled.
46375         (_FP_PACK_CANONICAL): Likewise.
46377 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46379         [BZ #14183]
46380         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46381         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46383 2012-05-30  Richard Henderson  <rth@twiddle.net>
46385         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46386         with #ifndef NOT_IN_libc.
46388         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46389         marked to avoid plt entry.
46391 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46393         [BZ #14112]
46394         * Makeconfig (default-abi): New macro.
46395         (abi-includes): Likewise.
46396         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46397         $(abi-$(default-abi)-lib-soname) for soname if defined.
46398         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46399         abi-variants.
46400         * Makefile (installed-stubs): Likewise.
46401         * include/stubs-biarch.h: Removed.
46402         * scripts/lib-names.awk: Only handle one library at a time.
46403         * scripts/soversions.awk: Remove WORDSIZE support.
46404         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46405         entries.
46406         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46407         Removed.
46408         (syscall-list-default-condition): Likewise.
46409         (syscall-list-default-condition): Likewise.
46410         (syscall-list-includes): Likewise.
46411         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46412         syscall-list-* with abi-*.  Handle undefined abi-variants.
46413         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46414         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46415         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46416         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46417         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46418         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46419         Removed.
46420         (syscall-list-32-options): Likewise.
46421         (syscall-list-32-condition): Likewise.
46422         (syscall-list-64-options): Likewise.
46423         (syscall-list-64-condition): Likewise.
46424         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46425         macro.
46426         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46427         Renamed to ...
46428         (abi-*): This.
46429         (abi-64-ld-soname): New macro.
46430         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46431         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46432         Renamed to ...
46433         (abi-*): This.
46434         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46435         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46437 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46439         * sysdeps/unix/sysv/linux/kernel-features.h
46440         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46441         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46442         include <kernel-features.h>.
46443         [!__NR_ftruncate64]: Remove conditional code.
46444         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46445         [__NR_ftruncate64]: Make code unconditional.
46446         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46447         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46448         include <kernel-features.h>.
46449         [!__NR_ftruncate64]: Remove conditional code.
46450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46451         [__NR_ftruncate64]: Make code unconditional.
46452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46454         include <kernel-features.h>.
46455         [!__NR_ftruncate64]: Remove conditional code.
46456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46457         [__NR_ftruncate64]: Make code unconditional.
46458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46460         include <kernel-features.h>.
46461         [!__NR_ftruncate64]: Remove conditional code.
46462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46463         [__NR_ftruncate64]: Make code unconditional.
46464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46466         * configure.in (libc_cv_fpie): Weaken to a compile test using
46467         LIBC_TRY_CC_OPTION.
46468         * configure: Regenerated.
46470 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46476         Refreshed.
46477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46483         Refreshed.
46485 2012-05-27  David S. Miller  <davem@davemloft.net>
46487         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46488         (___Q_zero): New.
46489         (__Q_simulate_exceptions): Return void.  Change to simulate
46490         exceptions by writing into the %fsr.
46491         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46492         (__Qp_handle_exceptions): Likewise.
46493         (numbers): Delete.
46494         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46495         __Qp_handle_exceptions.
46496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46497         __Qp_handle_exceptions.
46498         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46499         as unused and give dummy FP_RND_NEAREST initializer.
46500         (FP_INHIBIT_RESULTS): Define.
46501         (___Q_simulate_exceptions): Update declaration.
46502         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46503         formatting.
46504         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46505         as unused and give dummy FP_RND_NEAREST initializer.
46506         (__Qp_handle_exceptions): Update declaration.
46507         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46508         formatting.
46510 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46512         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46513         the temporary FPU control word.
46514         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46515         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46516         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46517         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46518         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46519         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46520         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46521         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46522         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46523         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46524         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46526 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46528         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46529         fields.
46531 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46533         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46534         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46535         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46536         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46537         Likewise.
46538         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46539         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46540         Likewise.
46542 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46544         * po/h.po: Update from translation team.
46546 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46548         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46550         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46551         handling of denormals.
46552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46553         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46554         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46555         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46559         Likewise.
46561 2012-05-26  Marek Polacek  <polacek@redhat.com>
46563         [BZ #14152]
46564         * math/libm-test.inc (fma_test): Don't always expect underflow
46565         exception.
46567 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46569         [BZ #12416]
46570         * elf/tst-execstack.c: Include stackinfo.h.
46571         (do_test): Adjust test case to ensure that pthread_getattr_np
46572         behaviour remains the same after marking stack executable.
46574 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46576         * sysdeps/unix/sysv/linux/kernel-features.h
46577         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46578         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46579         kernel-features.h.
46580         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46581         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46582         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46583         kernel-features.h.
46584         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46585         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46587 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46589         * configure.in: Define the default includes to being none.
46590         * configure: Regenerated.
46592 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46594         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46595         * sysdeps/x86_64/setjmp.S: Likewise.
46596         * sysdeps/i386/bsd-setjmp.S: Likewise.
46597         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46598         * sysdeps/i386/setjmp.S: Likewise.
46599         * sysdeps/i386/__longjmp.S: Likewise.
46600         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46601         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46603         * include/stap-probe.h: New file.
46604         * configure.in: Handle --enable-systemtap.
46605         * configure: Regenerated.
46606         * config.h.in (USE_STAP_PROBE): New #undef.
46607         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46608         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46609         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46611 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46613         [BZ #13717]
46614         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46615         to 2.4.0 where earlier.
46616         * sysdeps/unix/sysv/linux/configure: Regenerated.
46617         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46618         <kernel-features.h>.
46619         [__ASSUME_32BITUIDS]: Make code unconditional.
46620         [!__ASSUME_32BITUIDS]: Remove conditional code.
46621         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46622         <kernel-features.h>.
46623         [__ASSUME_32BITUIDS]: Make code unconditional.
46624         [!__ASSUME_32BITUIDS]: Remove conditional code.
46625         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46626         [__ASSUME_32BITUIDS]: Make code unconditional.
46627         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46628         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46629         <kernel-features.h>.
46630         [__ASSUME_32BITUIDS]: Make code unconditional.
46631         [!__ASSUME_32BITUIDS]: Remove conditional code.
46632         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46633         <kernel-features.h>.
46634         [__ASSUME_32BITUIDS]: Make code unconditional.
46635         [!__ASSUME_32BITUIDS]: Remove conditional code.
46636         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46637         <kernel-features.h>.
46638         [__ASSUME_32BITUIDS]: Make code unconditional.
46639         [!__ASSUME_32BITUIDS]: Remove conditional code.
46640         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46641         <kernel-features.h>.
46642         [__ASSUME_32BITUIDS]: Make code unconditional.
46643         [!__ASSUME_32BITUIDS]: Remove conditional code.
46644         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46645         <kernel-features.h>.
46646         [__ASSUME_32BITUIDS]: Make code unconditional.
46647         [!__ASSUME_32BITUIDS]: Remove conditional code.
46648         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46649         <kernel-features.h>.
46650         [__ASSUME_32BITUIDS]: Make code unconditional.
46651         [!__ASSUME_32BITUIDS]: Remove conditional code.
46652         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46653         <kernel-features.h>.
46654         [__ASSUME_32BITUIDS]: Make code unconditional.
46655         [!__ASSUME_32BITUIDS]: Remove conditional code.
46656         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46657         <kernel-features.h>.
46658         [__ASSUME_32BITUIDS]: Make code unconditional.
46659         [!__ASSUME_32BITUIDS]: Remove conditional code.
46660         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46661         <kernel-features.h>.
46662         [__ASSUME_32BITUIDS]: Make code unconditional.
46663         [!__ASSUME_32BITUIDS]: Remove conditional code.
46664         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46665         <kernel-features.h>.
46666         [__ASSUME_32BITUIDS]: Make code unconditional.
46667         [!__ASSUME_32BITUIDS]: Remove conditional code.
46668         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46669         <kernel-features.h>.
46670         [__NR_setresgid] (__setresgid): Do not declare.
46671         [__ASSUME_32BITUIDS]: Make code unconditional.
46672         [!__ASSUME_32BITUIDS]: Remove conditional code.
46673         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46674         <kernel-features.h>.
46675         [__NR_setresuid] (__setresuid): Do not declare.
46676         [__ASSUME_32BITUIDS]: Make code unconditional.
46677         [!__ASSUME_32BITUIDS]: Remove conditional code.
46678         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46679         <kernel-features.h>.
46680         [__ASSUME_32BITUIDS]: Make code unconditional.
46681         [!__ASSUME_32BITUIDS]: Remove conditional code.
46682         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46683         <kernel-features.h>.
46684         [__ASSUME_32BITUIDS]: Make code unconditional.
46685         [!__ASSUME_32BITUIDS]: Remove conditional code.
46686         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46687         <kernel-features.h>.
46688         [__ASSUME_32BITUIDS]: Make code unconditional.
46689         [!__ASSUME_32BITUIDS]: Remove conditional code.
46690         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46691         <kernel-features.h>.
46692         [__ASSUME_32BITUIDS]: Make code unconditional.
46693         [!__ASSUME_32BITUIDS]: Remove conditional code.
46694         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46695         <kernel-features.h>.
46696         [__ASSUME_32BITUIDS]: Make code unconditional.
46697         [!__ASSUME_32BITUIDS]: Remove conditional code.
46698         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46699         <kernel-features.h>.
46700         [__ASSUME_32BITUIDS]: Make code unconditional.
46701         [!__ASSUME_32BITUIDS]: Remove conditional code.
46702         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46703         <kernel-features.h>.
46704         [__ASSUME_32BITUIDS]: Make code unconditional.
46705         [!__ASSUME_32BITUIDS]: Remove conditional code.
46706         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46707         <kernel-features.h>.
46708         [__ASSUME_32BITUIDS]: Make code unconditional.
46709         [!__ASSUME_32BITUIDS]: Remove conditional code.
46710         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46711         <kernel-features.h>.
46712         [__ASSUME_32BITUIDS]: Make code unconditional.
46713         [!__ASSUME_32BITUIDS]: Remove conditional code.
46714         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46715         <kernel-features.h>.
46716         [__ASSUME_32BITUIDS]: Make code unconditional.
46717         [!__ASSUME_32BITUIDS]: Remove conditional code.
46718         * sysdeps/unix/sysv/linux/kernel-features.h
46719         (__ASSUME_SETRESUID_SYSCALL): Remove.
46720         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46721         (__ASSUME_32BITUIDS): Likewise.
46722         (__ASSUME_LDT_WORKS): Likewise.
46723         (__ASSUME_O_DIRECTORY): Likewise.
46724         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46725         architecture but not kernel version.
46726         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46727         (__ASSUME_MMAP2_SYSCALL): Likewise.
46728         (__ASSUME_STAT64_SYSCALL): Likewise.
46729         (__ASSUME_IPC64): Likewise.
46730         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46731         <kernel-features.h>.
46732         [__ASSUME_32BITUIDS]: Make code unconditional.
46733         [!__ASSUME_32BITUIDS]: Remove conditional code.
46734         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46735         <kernel-features.h>.
46736         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46737         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46738         132096]: Remove conditional code.
46739         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46740         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46741         <kernel-features.h>.
46742         [__ASSUME_32BITUIDS]: Make code unconditional.
46743         [!__ASSUME_32BITUIDS]: Remove conditional code.
46744         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46745         <kernel-features.h>.
46746         [__ASSUME_32BITUIDS]: Make code unconditional.
46747         [!__ASSUME_32BITUIDS]: Remove conditional code.
46748         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46749         <kernel-features.h>.
46750         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46751         unconditional.
46752         (__setresgid): Do not declare.
46753         [__ASSUME_32BITUIDS]: Make code unconditional.
46754         [!__ASSUME_32BITUIDS]: Remove conditional code.
46755         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46756         <kernel-features.h>.
46757         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46758         unconditional.
46759         (__setresuid): Do not declare.
46760         [__ASSUME_32BITUIDS]: Make code unconditional.
46761         [!__ASSUME_32BITUIDS]: Remove conditional code.
46762         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46763         <kernel-features.h>.
46764         [__ASSUME_32BITUIDS]: Make code unconditional.
46765         [!__ASSUME_32BITUIDS]: Remove conditional code.
46766         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46767         <kernel-features.h>.
46768         [__ASSUME_32BITUIDS]: Make code unconditional.
46769         [!__ASSUME_32BITUIDS]: Remove conditional code.
46771 2012-05-25  Richard Henderson  <rth@twiddle.net>
46773         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46774         dl_hwcap to ifunc resolver.
46775         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46776         elf_ifunc_invoke.
46777         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46778         dl_hwcap to ifunc resolver.
46779         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46783         [BZ #14153]
46784         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46785         for |x| <= 2**-26, not 2**-57.
46786         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46787         exception.
46789 2012-05-24  Jeff Law  <law@redhat.com>
46791         * stdio-common/Makefile (tests): Add bug25.
46792         * stdio-common/bug25.c: New test.
46794 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46796         [BZ #13576]
46797         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46798         multiple of MALLOC_ALIGNMENT in size.
46799         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46801 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46803         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46804         Require >= 256.
46805         (FILENAME_MAX): Use macro-int-constant.
46806         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46807         (_IOFBF): Use macro-int-constant.
46808         (_IOLBF): Likewise.
46809         (_IONBF): Likewise.
46810         (SEEK_CUR): Likewise.
46811         (SEEK_END): Likewise.
46812         (SEEK_SET): Likewise.
46813         (TMP_MAX): Likewise.
46814         (EOF): Use macro-int-constant.  Require < 0.
46815         (NULL): Use macro-constant.  Require == 0.
46816         (stdin): Require type to be FILE *.
46817         (stdout): Likewise.
46818         (stderr): Likewise.
46819         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46820         macro-int-constant.
46821         (EXIT_SUCCESS): Likewise.
46822         (NULL): Use macro-constant.  Require == 0.
46823         (RAND_MAX): Use macro-int-constant.
46824         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46825         [C99-based standards] (strtof): Require function.
46826         [C99-based standards] (strtold): Likewise.
46827         [C99-based standards] (strtoll): Likewise.
46828         [C99-based standards] (strtoull): Likewise.
46829         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46830         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46831         [ISO || ISO99 || ISO11] (math.h): Likewise.
46832         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46833         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46836 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46838         [BZ #14132]
46839         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46840         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46841         * intl/dgettext.c (DCGETTEXT): Likewise.
46842         * intl/gettext.c (DCGETTEXT): Likewise.
46843         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46844         * posix/regex_internal.h (gettext): Likewise.
46845         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46846         Remove declaration.
46847         * include/argz.h (__argz_count_internal)
46848         (__argz_stringify_internal): Remove declaration.
46849         (__argz_count, __argz_stringify): Declare hidden proto.
46850         * intl/dcgettext.c: Remove use of INTDEF.
46851         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46852         * string/argz-stringify.c: Likewise.
46853         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46854         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46855         Declare hidden proto.
46856         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46857         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46858         Declare hidden proto.
46859         * include/stdio.h (__asprintf_internal): Don't declare.
46860         (__asprintf): Don't define as macro.  Declare hidden proto.
46861         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46862         (__fsetlocking): Declare hidden proto.
46863         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46864         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46865         hidden proto.
46866         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46867         (_IO_setlinebuf): Remove use of INTUSE.
46868         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46869         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46870         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46871         Remove declaration.
46872         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46873         (_IO_do_flush): Remove use of INTUSE.
46874         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46875         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46876         (_IO_adjust_column, _IO_least_wmarker)
46877         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46878         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46879         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46880         (_IO_default_doallocate, _IO_wdefault_doallocate)
46881         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46882         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46883         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46884         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46885         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46886         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46887         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46888         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46889         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46890         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46891         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46892         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46893         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46894         proto.
46895         (_IO_flush_all_internal, _IO_adjust_column_internal)
46896         (_IO_default_uflow_internal, _IO_default_finish_internal)
46897         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46898         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46899         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46900         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46901         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46902         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46903         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46904         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46905         (_IO_file_close_internal, _IO_file_close_it_internal)
46906         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46907         (_IO_file_init_internal, _IO_file_attach_internal)
46908         (_IO_file_fopen_internal, _IO_file_read_internal)
46909         (_IO_file_sync_internal, _IO_file_seek_internal)
46910         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46911         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46912         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46913         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46914         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46915         (_IO_list_all_internal, _IO_link_in_internal)
46916         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46917         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46918         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46919         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46920         (_IO_do_write_internal, _IO_padn_internal)
46921         (_IO_getline_info_internal, _IO_getline_internal)
46922         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46923         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46924         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46925         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46926         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46927         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46928         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46929         with libc_hidden_ver, remove use of INTUSE.
46930         * libio/genops.c: Likewise.
46931         * libio/freopen.c: Likewise.
46932         * libio/freopen64.c: Likewise.
46933         * libio/iofclose.c: Likewise.
46934         * libio/iofdopen.c: Likewise.
46935         * libio/iofflush.c: Likewise.
46936         * libio/iofflush_u.c: Likewise.
46937         * libio/iofgets.c: Likewise.
46938         * libio/iofgets_u.c: Likewise.
46939         * libio/iofopen.c: Likewise.
46940         * libio/iofopncook.c: Likewise.
46941         * libio/iofread.c: Likewise.
46942         * libio/iofread_u.c: Likewise.
46943         * libio/ioftell.c: Likewise.
46944         * libio/iofwrite.c: Likewise.
46945         * libio/iogetline.c: Likewise.
46946         * libio/iogets.c: Likewise.
46947         * libio/iogetwline.c: Likewise.
46948         * libio/iopadn.c: Likewise.
46949         * libio/iopopen.c: Likewise.
46950         * libio/ioseekoff.c: Likewise.
46951         * libio/ioseekpos.c: Likewise.
46952         * libio/iosetbuffer.c: Likewise.
46953         * libio/iosetvbuf.c: Likewise.
46954         * libio/ioungetc.c: Likewise.
46955         * libio/ioungetwc.c: Likewise.
46956         * libio/iovdprintf.c: Likewise.
46957         * libio/iovsprintf.c: Likewise.
46958         * libio/iovsscanf.c: Likewise.
46959         * libio/memstream.c: Likewise.
46960         * libio/obprintf.c: Likewise.
46961         * libio/oldfileops.c: Likewise.
46962         * libio/oldiofclose.c: Likewise.
46963         * libio/oldiofdopen.c: Likewise.
46964         * libio/oldiofopen.c: Likewise.
46965         * libio/oldiopopen.c: Likewise.
46966         * libio/oldstdfiles.c: Likewise.
46967         * libio/putc.c: Likewise.
46968         * libio/setbuf.c: Likewise.
46969         * libio/setlinebuf.c: Likewise.
46970         * libio/stdfiles.c: Likewise.
46971         * libio/strops.c: Likewise.
46972         * libio/vasprintf.c: Likewise.
46973         * libio/vscanf.c: Likewise.
46974         * libio/vsnprintf.c: Likewise.
46975         * libio/vswprintf.c: Likewise.
46976         * libio/wfiledoalloc.c: Likewise.
46977         * libio/wfileops.c: Likewise.
46978         * libio/wgenops.c: Likewise.
46979         * libio/wmemstream.c: Likewise.
46980         * libio/wstrops.c: Likewise.
46981         * libio/__fpurge.c: Likewise.
46982         * libio/__fsetlocking.c: Likewise.
46983         * assert/assert.c: Likewise.
46984         * debug/fgets_chk.c: Likewise.
46985         * debug/fgets_u_chk.c: Likewise.
46986         * debug/fread_chk.c: Likewise.
46987         * debug/fread_u_chk.c: Likewise.
46988         * debug/gets_chk.c: Likewise.
46989         * debug/obprintf_chk.c: Likewise.
46990         * debug/vasprintf_chk.c: Likewise.
46991         * debug/vdprintf_chk.c: Likewise.
46992         * debug/vsnprintf_chk.c: Likewise.
46993         * debug/vsprintf_chk.c: Likewise.
46994         * malloc/mtrace.c: Likewise.
46995         * misc/error.c: Likewise.
46996         * misc/syslog.c: Likewise.
46997         * stdio-common/asprintf.c: Likewise.
46998         * stdio-common/fxprintf.c: Likewise.
46999         * stdio-common/getw.c: Likewise.
47000         * stdio-common/isoc99_fscanf.c: Likewise.
47001         * stdio-common/isoc99_scanf.c: Likewise.
47002         * stdio-common/isoc99_vfscanf.c: Likewise.
47003         * stdio-common/isoc99_vscanf.c: Likewise.
47004         * stdio-common/isoc99_vsscanf.c: Likewise.
47005         * stdio-common/printf-prs.c: Likewise.
47006         * stdio-common/printf_fp.c: Likewise.
47007         * stdio-common/printf_fphex.c: Likewise.
47008         * stdio-common/printf_size.c: Likewise.
47009         * stdio-common/putw.c: Likewise.
47010         * stdio-common/scanf.c: Likewise.
47011         * stdio-common/sprintf.c: Likewise.
47012         * stdio-common/tmpfile.c: Likewise.
47013         * stdio-common/vfprintf.c: Likewise.
47014         * stdio-common/vfscanf.c: Likewise.
47015         * stdlib/strfmon_l.c: Likewise.
47016         * sunrpc/openchild.c: Likewise.
47017         * sunrpc/xdr_stdio.c: Likewise.
47018         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47019         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47021 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47023         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47025         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47026         in the third column, to generate for the shared library an IFUNC
47027         that uses _dl_vdso_vsym.
47028         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47029         * Makeconfig (object-suffixes-noshared): New variable.
47031         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47032         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47033         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47034         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47036         [BZ #14132]
47037         * include/sys/time.h (__gettimeofday): Remove macro.
47038         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47039         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47040         Remove INTDEF.
47041         (__gettimeofday): Add libc_hidden_def.
47042         (gettimeofday): Add libc_hidden_weak.
47043         * sysdeps/mach/gettimeofday.c: Likewise.
47044         * sysdeps/posix/gettimeofday.c: Likewise.
47045         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47046         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47047         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47048         (__gettimeofday_internal): Remove strong_alias.
47049         (__gettimeofday): Add libc_hidden_def.
47050         (gettimeofday): Add libc_hidden_weak.
47051         * sysdeps/unix/syscalls.list (gettimeofday):
47052         Remove __gettimeofday_internal alias.
47054 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47055             H.J. Lu  <hongjiu.lu@intel.com>
47057         [BZ #12495]
47058         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47059         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47060         (largebin_index_32_big): New.
47061         (largebin_index): Use it for 16-byte alignment.
47062         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47063         correction with front_misalign.
47065 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47069         Likewise.
47070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47071         Likewise.
47072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47073         Likewise.
47074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47075         Likewise.
47076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47077         Likewise.
47078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47079         Likewise.
47080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47081         Likewise.
47082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47083         Likewise.
47084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47085         Likewise.
47086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47087         Likewise.
47088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47089         Likewise.
47090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47091         Likewise.
47093         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47094         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47096 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47098         [BZ #10846]
47099         [BZ #14036]
47100         * math/libm-test.inc (exp_test): Add test from bug 14036.
47101         (pow_test): Add test from bug 10846.
47103         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47104         and other flags.
47105         (special_function): Do not include flags in test name.
47106         (parse_args): Likewise.
47107         * sysdeps/i386/fpu/libm-test-ulps: Update.
47108         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47109         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47110         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47113         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47114         exceptions.
47115         * math/libm-test.inc ("Philosophy"): Update comment about
47116         exception testing.
47117         (UNDERFLOW_EXCEPTION): New macro.
47118         (UNDERFLOW_EXCEPTION_OK): Likewise.
47119         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47120         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47121         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47122         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47123         (INVALID_EXCEPTION_OK): Update value.
47124         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47125         (OVERFLOW_EXCEPTION_OK): Likewise.
47126         (IGNORE_ZERO_INF_SIGN): Likewise.
47127         (test_exceptions): Handle underflow exceptions.
47128         (acos_test): Update for underflow exception expectations.
47129         (cexp_test): Likewise.
47130         (clog_test): Likewise.
47131         (clog10_test): Likewise.
47132         (csqrt_test): Likewise.
47133         (ctan_test): Likewise.
47134         (ctanh_test): Likewise.
47135         (exp_test): Likewise.
47136         (exp10_test): Likewise.
47137         (exp2_test): Likewise.
47138         (expm1_test): Likewise.
47139         (fma_test): Likewise.
47140         (j0_test): Likewise.
47141         (jn_test): Likewise.
47142         (nexttoward_test): Likewise.
47143         (pow_test): Likewise.
47144         (scalbn_test): Likewise.
47145         (scalbln_test): Likewise.
47146         (tan_test): Likewise.
47147         (y1_test): Likewise.
47148         * sysdeps/i386/fpu/libm-test-ulps: Update.
47149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47151 2012-05-23  David S. Miller  <davem@davemloft.net>
47153         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47154         (__libc_sigaction): Remove unused local variables.
47156 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47158         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47160 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47162         mktime: avoid signed integer overflow
47163         * time/mktime.c (__mktime_internal): Do not mishandle the case
47164         where diff == INT_MIN.
47166         mktime: simplify computation of average
47167         * time/mktime.c (ranged_convert): Use new time_t_avg function
47168         instead of rolling our own (probably-slower) code.
47170         mktime: do not assume signed right shift propagates sign bit
47171         * time/mktime.c (isdst_differ): New static function.
47172         (__mktime_internal): No need to normalize tm_isdst now.
47173         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47174         tm_isdst values.
47176         mktime: merge another wrapv change from gnulib
47177         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47178         from some compilers.
47180         mktime: remove incorrect attempt at unusual arithmetics
47181         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47182         The code didn't really work on such machines anyway.
47183         (TYPE_MINIMUM): Assume two's complement.
47184         (twos_complement_arithmetic): Verify that long_int and time_t
47185         are two's complement (or unsigned, in the latter case).
47187         mktime: check signed shifts on long_int and time_t, too
47188         * time/mktime.c (SHR): Check that shifts work as desired
47189         on the types long_int and time_t too, as SHR is used on
47190         such types.
47192         mktime: do not assume 'long' is wide enough
47193         * time/mktime.c (verify): Move decl up.
47194         (long_int): New type.
47195         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47196         to remove assumption in the code that 'long' is wide enough to
47197         store year values.  This assumption is not true on x32 and on
47198         some non-glibc platforms.
47200         mktime: merge wrapv change from gnulib
47201         * time/mktime.c (WRAPV): New macro.
47202         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47203         (guess_time_tm, __mktime_internal): Do not assume that signed
47204         integer overflow wraps around; modern compilers generate code
47205         where this assumption is no longer valid.
47207 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47209         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47210         Replace "jmp L(pseudo_end)" with "ret".
47211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47212         Likewise.
47214 2012-05-23  Andreas Jaeger  <aj@suse.de>
47216         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47217         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47219 2012-05-23  Andreas Jaeger  <aj@suse.de>
47220             Maximilian Attems  <max@stro.at>
47222         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47223         New macros.
47225 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47228         code so that pseudo_end is just ret and the stack pointer is
47229         correct also for static library in error case.
47231 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47233         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47234         move to syscalls.list.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47240         * manual/install.texi (Running make install): Do not mention Linux
47241         kernel version for which pt_chown is not needed.
47242         (Linux): Do not mention problems with nscd with 2.0 kernels.
47243         * INSTALL: Regenerated.
47245 2012-05-23  Andreas Jaeger  <aj@suse.de>
47247         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47248         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47249         macro.
47250         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47251         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47252         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47253         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47254         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47255         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47257         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47258         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47259         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47260         * sysdeps/unix/sysv/linux/bits/in.h
47261         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47263 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47265         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47266         (PREPARE_VERSION): Just use assert instead, it will be elided
47267         under [NDEBUG] anyway.
47269 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47271         * sysdeps/unix/sysv/linux/Makefile: Include
47272         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47273         (sysdep_routines): Remove sysctl.
47274         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47275         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47276         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47277         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47278         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47280 2012-05-22  Andreas Jaeger  <aj@suse.de>
47282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47283         that pseudo_end is just ret and the stack pointer is correct also
47284         for static library in error case.
47286 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47288         [BZ #14122]
47289         * nss/nsswitch.c (defconfig_entries): New variable.
47290         (__nss_database_lookup): Don't leak defconfig entries.
47291         (nss_parse_service_list): Don't leak on error paths.
47292         (free_database_entries): New function.
47293         (free_defconfig): New function.
47294         (free_mem): Move common code to free_database_entries.
47296 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47299         Add arch_prctl.
47300         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47302         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47303         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47305         New macro.
47306         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47307         (INTERNAL_SYSCALL_TYPES): Likewise.
47308         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47309         (LOAD_REGS_TYPES_[1-6]): Likewise.
47310         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47311         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47313 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47315         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47316         copysignl for GLIBC_2_0.
47317         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47318         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47320         logbl for GLIBC_2_0.
47321         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47322         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47327         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47329         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47330         Use "neg %eax".
47332         * time/mktime.c: Update copyright years.
47334 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47336         mktime: merge comment-quoting-style change from gnulib
47337         * time/mktime.c: Quote 'like this' in comments.
47338         The GNU coding standards suggest that we no longer quote `like this',
47339         as "`" and "'" are typically rendered asymmetrically nowadays.
47340         The typical gnulib style is to quote 'like this' when quoting
47341         code, and "like this" when quoting English.
47343         * time/mktime.c (compile-command): Add "-I.".
47345         mktime: merge mktime-internal.h change from gnulib
47346         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47348         mktime: merge time_r change from gnulib
47349         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47351         mktime: merge DEBUG change from gnulib
47352         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47353         case system <time.h> has a #define.
47355         mktime: merge <sys/types.h> change from gnulib
47356         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47357         since <time.t> is now guaranteed to define time_t.
47359         mktime: merge HAVE_CONFIG_H change from gnulib
47360         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47362 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47365         Use "neg %eax".
47367         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47368         __rlim_t cast.
47369         (struct rusage): Use anonymous union to pad each field to
47370         __syscall_slong_t.
47372 2012-05-21  David S. Miller  <davem@davemloft.net>
47374         * Makefules (o-iterator): Remove .s cases.
47375         (compile-command.s): Delete.
47376         (COMPILE.s): Delete.
47377         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47379 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47381         * configure.in (libc_cv_predef_stack_protector): Only consider
47382         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47383         * configure: Regenerated.
47385 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47388         New macro.  Use R*LP on int and pointer.
47389         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47390         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47391         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47392         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47394         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47395         [__WORDSIZE_TIME64_COMPAT32] instead of
47396         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47397         (struct utmp): Likewise.
47398         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47399         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47400         Renamed to ...
47401         (__WORDSIZE_TIME64_COMPAT32): This.
47402         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47403         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47404         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47405         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47406         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47407         (__WORDSIZE_TIME64_COMPAT32): New macro.
47409 2012-05-21  Andreas Jaeger  <aj@suse.de>
47411         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47412         only if [SHARED]. Add prototype for __wcschr_ia32.
47414 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47416         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47417         of %rbp unmolested in the jmp_buf while mangling the low bits.
47418         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47419         unmolested high bits of %rbp while demangling the low bits.
47420         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47422 2012-05-21  Andreas Jaeger  <aj@suse.de>
47424         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47425         * sunrpc/svc_simple.c: Use it for registerrpc.
47426         * sunrpc/xcrypt.c: Use it for passwd2des.
47428         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47430 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47432         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47433         Don't define if [__SYSCALL_WORDSIZE != 32].
47434         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47435         New macro.
47437 2012-05-21  Bruno Haible  <bruno@clisp.org>
47438             Andreas Jaeger  <aj@suse.de>
47440         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47441         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47442         inptr and inend for must_buffer_ch.
47443         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47444         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47445         * stdio-common/Makefile (tests): Remove bug15.
47446         (bug15-ENV): Remove macro.
47447         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47448         anymore.
47450 2012-05-19  Andreas Jaeger  <aj@suse.de>
47451             Roland McGrath  <roland@hack.frob.com>
47453         * manual/contrib.texi: Completely rewritten. It contains now an
47454         alphabetical list of contributors and their contributions.
47456 2012-05-21  Richard Henderson  <rth@twiddle.net>
47458         * misc/getauxval.c (__getauxval): Use unsigned long int.
47459         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47460         (getauxval): Use unsigned long int.
47462 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47464         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47466 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47468         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47469         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47470         __alignof__ (long double).
47472 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47476 2012-05-20  Richard Henderson  <rth@twiddle.net>
47478         * misc/getauxval.c: New file.
47479         * misc/sys/auxv.h: New file.
47480         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47481         (routines): Add getauxval.
47482         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47483         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47484         * elf/dl-sysdep.c (_dl_auxv): Remove.
47485         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47486         * elf/dl-support.c (_dl_auxv): New variable.
47487         (_dl_aux_init): Initialize it.
47488         * manual/startup.texi (Auxiliary Vector): New node.
47489         * sysdeps/generic/bits/hwcap.h: New file.
47490         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47491         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47492         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47493         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47494         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47497         Update.
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47501         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47507 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47511 2012-05-19  David S. Miller  <davem@davemloft.net>
47513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47515 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47517         [BZ #14123]
47518         * math/s_ccosh.c: Include <float.h>
47519         (__ccosh): Avoid internal overflow calculating sinh and cosh
47520         values before multiplying by sin and cos values.
47521         * math/s_ccoshf.c: Likewise.
47522         * math/s_ccoshl.c: Likewise.
47523         * math/s_csin.c: Likewise.
47524         * math/s_csinf.c: Likewise.
47525         * math/s_csinl.c: Likewise.
47526         * math/s_csinh.c: Likewise.
47527         * math/s_csinhf.c: Likewise.
47528         * math/s_csinhl.c: Likewise.
47529         * math/libm-test.inc (ccos_test): Add more tests.
47530         (ccosh_test): Likewise.
47531         (csin_test): Likewise.
47532         (csinh_test): Likewise.
47533         * sysdeps/i386/fpu/libm-test-ulps: Update.
47534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47536 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47538         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47539         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47541         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47543 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47545         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47546         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47547         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47548         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47549         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47550         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47551         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47552         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47553         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47554         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47555         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47556         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47557         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47558         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47559         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47560         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47561         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47562         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47563         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47564         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47565         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47566         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47567         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47568         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47569         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47570         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47571         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47572         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47573         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47574         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47575         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47577 2012-05-18  Andreas Jaeger  <aj@suse.de>
47579         * csu/.gitignore: Delete.
47581 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47583         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47584         (timex): Use __syscall_slong_t.
47586 2012-05-18  Andreas Jaeger  <aj@suse.de>
47587             Carlos O'Donell  <carlos_odonell@mentor.com>
47589         * manual/install.texi (Configuring and compiling): Update
47590         description about files modified in the source directory.
47591         * INSTALL: Regenerated.
47593 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47595         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47596         value.  Use "or" to set return value to -1.
47597         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47598         negate return value.
47600 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47602         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47603         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47604         failure if the compiler has Graphite support disabled.
47605         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47606         Likewise.
47607         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47608         (CFLAGS-memmove.c): Likewise.
47609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47610         Likewise.
47612 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47614         * sysdeps/x86_64/x32/_itoa.h: New file.
47616         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47617         getdents system call only if kernel and user dirents have the
47618         same d_ino and d_off.
47620         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47621         LLONG_MAX != LONG_MAX.
47622         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47623         (_fitoa_word): Likewise.
47625         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47626         years.
47627         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47628         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47629         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47631         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47632         include <bits/wordsize.h>.  Check __x86_64__ instead of
47633         __WORDSIZE.
47634         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47635         if __x86_64__ is defined.  Use anonymous union on fpstate.
47637         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47638         anonymous union.
47640 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47642         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47643         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47644         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47645         Refer to _rtld_local_ro instead of _rtld_global_ro.
47646         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47647         Likewise.
47648         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47649         Likewise.
47650         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47651         Likewise.
47652         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47653         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47654         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47656         * sysdeps/powerpc/powerpc32/dl-machine.c
47657         (__elf_machine_runtime_setup) [PROF]: Don't reference
47658         _dl_prof_resolve.
47660 2012-05-18  Andreas Jaeger  <aj@suse.de>
47662         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47663         function only available for GCCs before 3.4 since GCC 3.4
47664         introduced a builtin.
47665         (lrint): Likewise.
47666         (llrintf): Likewise.
47667         (llrint): Likewise.
47668         (fmaxf): Likewise.
47669         (fmax): Likewise.
47670         (fminf): Likewise.
47671         (fmin): Likewise.
47672         (rint): Likewise.
47673         (rintf): Likewise.
47674         (nearbyint): Likewise.
47675         (nearbyintf): Likewise.
47676         (ceil): Likewise.
47677         (ceilf): Likewise.
47678         (floor): Likewise.
47679         (floorf): Likewise.
47681 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47683         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47684         on both fields and cast pointer to __syscall_ulong_t.
47686         * bits/types.h (__fsword_t): New type.
47687         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47688         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47689         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47690         (__FSWORD_T_TYPE): Likewise.
47691         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47692         (__FSWORD_T_TYPE): Likewise.
47693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47694         (__FSWORD_T_TYPE): Likewise.
47695         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47696         (__FSWORD_T_TYPE): Likewise.
47697         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47698         __SWORD_TYPE with __fsword_t.
47699         (statfs64): Likewise.
47701 2012-05-17  David S. Miller  <davem@davemloft.net>
47703         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47705 2012-05-17  Andreas Jaeger  <aj@suse.de>
47707         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47708         warning.
47710 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47712         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47714 2012-05-17  Andreas Jaeger  <aj@suse.de>
47716         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47717         when it is used.
47719 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47721         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47723 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47725         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47726         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47728 2012-05-17  Andreas Jaeger  <aj@suse.de>
47729             Carlos O'Donell  <carlos_odonell@mentor.com>
47731         [BZ #14059]
47732         * sysdeps/x86_64/multiarch/init-arch.h
47733         (bit_YMM_Usable): Rename to...
47734         (bit_AVX_Usable): ... this.
47735         (bit_FMA4_Usable): New macro.
47736         (bit_XMM_state): New macro.
47737         (bit_YMM_state): New macro.
47738         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47739         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47740         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47741         (CPUID_OSXSAVE): New macro.
47742         (CPUID_AVX): New macro.
47743         (CPUID_FMA4): New macro.
47744         (index_YMM_Usable): Rename to...
47745         (index_AVX_Usable): ... this.
47746         (HAS_AVX): Use HAS_ARCH_FEATURE.
47747         (HAS_FMA4): Likewise.
47748         (HAS_YMM_USABLE): Remove.
47749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47750         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47751         are present.
47752         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47753         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47754         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47755         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47756         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47758 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47760         * math/libm-test.c: Support platforms without multiple rounding modes.
47761         * math/bug-nextafter.c: Support platforms without FP exceptions.
47762         * math/bug-nexttoward.c: Likewise.
47763         * math/test-fenv.c: Likewise.
47764         * math/test-misc.c: Likewise.
47765         * stdlib/bug-getcontext.c: Likewise.
47767 2012-05-17  Andreas Jaeger  <aj@suse.de>
47769         * manual/examples/search.c (critter_cmp): Change signature to
47770         avoid warnings.
47771         * manual/string.texi (Collation Functions): Likewise.
47773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47775         * bits/types.h: Fold copyright years.
47776         * bits/typesizes.h: Likewise.
47777         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47778         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47781         * time/time.h: Likewise.
47783 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47785         [BZ #208]
47786         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47787         in instead of returning them.  Return void.
47788         (__libc_mallinfo): Accumulate over all arenas.
47789         (__malloc_stats): Adjust for change in int_mallinfo interface.
47791 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47793         [BZ #10375]
47794         * configure.in (NM): Add AC_CHECK_TOOL for it.
47795         (libc_extra_cflags): New substituted variable.
47796         Check for -fstack-protector being used implicitly.
47797         * configure: Regenerated.
47798         * config.make.in (config-extra-cflags): New variable,
47799         gets @libc_extra_cflags@.
47800         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47802         [BZ #10375]
47803         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47804         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47805         * configure: Regenerated.
47806         * config.make.in (CPPUNDEFS): New substituted variable.
47807         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47808         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47809         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47811 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47813         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47814         (mq_attr): Use __syscall_slong_t.
47816 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47819         Check __x86_64__ instead of __WORDSIZE.
47820         (_STAT_VER_LINUX): Likewise.
47821         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47822         __syscall_ulong_t and __syscall_slong_t.
47823         (stat64): Likewise.
47825 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47831         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47833 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47835         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47836         __syscall_ulong_t.
47838         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47839         include <bits/wordsize.h>.  Check __x86_64__ instead of
47840         __WORDSIZE.
47841         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47842         defined.
47843         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47846         include <bits/wordsize.h>.  Check __x86_64__ instead of
47847         __WORDSIZE.
47848         (user_regs_struct): Use "__extension__ unsigned long long"
47849         instead of "unsigned long" if __x86_64__ is defined.
47850         (user): Likewise.  Pad after pointer field if __ILP32__ is
47851         defined.
47853 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47855         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47856         versions 5 to 9.
47857         * configure: Regenerated.
47858         * manual/install.texi (texinfo): Increase version requirement to
47859         4.5 or later.
47860         * INSTALL: Regenerated.
47862         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47864 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47866         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47868         * sysdeps/x86_64/x32/ffs.c: New file.
47870         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47871         __syscall_ulong_t.
47872         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47873         defined.  Use __syscall_ulong_t.
47874         (shminfo): Use __syscall_ulong_t.
47875         (shm_info): Likewise.
47877         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47878         __syscall_ulong_t.
47880         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47881         <bits/wordsize.h>.
47882         (msgqnum_t): Use __syscall_ulong_t.
47883         (msglen_t): Likewise.
47884         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47885         __syscall_ulong_t.
47887         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47888         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47890         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47892         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47893         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47895         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47896         __syscall_slong_t.
47898         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47899         include <bits/wordsize.h>.  Check __x86_64__ instead of
47900         __WORDSIZE.
47902         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47903         "unsigned long long int" if __x86_64__ is defined.
47904         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47906         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47907         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47908         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47910         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47911         <stdint.h>.
47912         (GET_PC): Cast to uintptr_t first.
47913         (GET_FRAME): Likewise.
47914         (GET_STACK): Likewise.
47916         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47917         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47918         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47919         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47920         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47921         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47922         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47923         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47924         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47925         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47926         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47927         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47928         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47929         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47930         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47931         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47932         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47933         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47934         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47935         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47936         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47937         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47938         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47939         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47940         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47941         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47942         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47943         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47944         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47946 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47948         * Makerules (+depfiles): Also collect depfiles from .oS in
47949         $(extra-objs).
47950         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47951         .oS, $(libnldbl-routines)).
47953         * Makerules (native-compile-mkdep-flags): Define.
47954         * sunrpc/Makefile (extra-objs): Add $(addprefix
47955         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47956         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47957         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47958         calling $(make-target-directory).
47960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47962         * bits/types.h (__snseconds_t): Removed.
47963         * time/time.h (struct timespec): Replace __snseconds_t with
47964         __syscall_slong_t.
47965         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47966         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47967         Likewise.
47968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47969         (__SNSECONDS_T_TYPE): Likewise.
47970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47971         (__SNSECONDS_T_TYPE): Likewise.
47972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47973         (__SNSECONDS_T_TYPE): Likewise.
47975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47977         * sysdeps/mach/hurd/bits/typesizes.h
47978         (__SYSCALL_SLONG_TYPE): New macro.
47979         (__SYSCALL_ULONG_TYPE): Likewise.
47981 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47983         * bits/types.h (__syscall_slong_t): New type.
47984         (__syscall_ulong_t): Likewise.
47986         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47987         (__SYSCALL_ULONG_TYPE): Likewise.
47988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47989         (__SYSCALL_SLONG_TYPE): Likewise.
47990         (__SYSCALL_ULONG_TYPE): Likewise.
47991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47992         (__SYSCALL_SLONG_TYPE): Likewise.
47993         (__SYSCALL_ULONG_TYPE): Likewise.
47994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47995         (__SYSCALL_SLONG_TYPE): Likewise.
47996         (__SYSCALL_ULONG_TYPE): Likewise.
47998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48000         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48001         Add sigaltstack-offsets.sym.
48002         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48003         <sigaltstack-offsets.h>.
48004         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48005         longjmp_msg pointer.
48006         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48007         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48008         signal stack.
48009         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48011 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48013         * elf/stackguard-macros.h: Remove file.
48014         * sysdeps/generic/stackguard-macros.h: New file.
48015         * sysdeps/i386/stackguard-macros.h: Likewise.
48016         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48017         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48018         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48019         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48020         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48021         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48022         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48023         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48024         <elf/stackguard-macros.h>.
48026         [BZ #14109]
48027         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48028         __aligned__ in attribute.
48029         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48030         (gregset_t): Likewise.
48032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48034         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48035         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48036         * sysdeps/x86_64/x32/Implies-after: New file.
48038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48040         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48041         and access return value for _dl_profile_fixup.  Use R10_LP to
48042         load frame size.
48044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48046         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48050         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48051         * sysdeps/x86_64/x32/sysdep.h: New file.
48053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48055         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48056         * sysdeps/x86_64/setjmp.S: Likewise.
48058 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48060         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48061         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48062         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48063         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48064         remove unused global constant.
48066 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48068         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48069         include of <not-cancel.h>.
48071 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48073         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48075 2012-05-15  Jeff Law  <law@redhat.com>
48076             Andreas Jaeger  <aj@suse.de>
48078         [BZ #13594]
48079         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48080         out from...
48081         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48082         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48083         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48084         code changing __hst_map_handle.map.
48086 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48088         * configure.in (sysnames): Look for Implies-before and Implies-after
48089         files.
48090         * configure: Regenerated.
48092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48094         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48095         8-byte data alignment with LP_SIZE alignment.
48097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48099         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48100         into R10_LP.
48102 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48104         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48108         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48109         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48110         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48111         Likewise.
48112         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48116         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48117         (stackinfo_sub_sp): Likewise.
48119 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48122         RAX_LP.
48124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48126         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48127         into R*_LP.
48129 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48131         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48132         sizes into R*_LP.
48134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48136         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48140         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48141         into R11_LP and load __x86_64_shared_cache_size_half into
48142         R8_LP.
48144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48146         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48147         R8_LP.
48149 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48152         logb for POWER7.
48153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48154         logbf for POWER7.
48155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48156         logbl for POWER7.
48157         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48158         powerpc32/power7/fpu/s_logb.c via #include.
48159         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48160         powerpc32/power7/fpu/s_logbf.c via #include.
48161         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48162         powerpc32/power7/fpu/s_logbl.c via #include.
48164 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48166         * README.libm: Remove file.
48168 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48170         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48171         count for x32.  Use R*_LP and omit operand-size suffix.
48173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48175         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48176         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48177         * sysdeps/x86_64/x32/shlib-versions: New file.
48179 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48181         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48182         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48183         Use _dl_fatal_printf instead.
48185 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48187         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48188         set if not set by the user.  Do not allow for being unset.
48189         * sysdeps/unix/sysv/linux/configure: Regenerated.
48191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48193         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48194         the `q' suffix from lea and replace .quad with ASM_ADDR.
48196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48199         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48200         instead of $17.
48201         (PTR_DEMANGLE): Likewise.
48203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48205         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48206         (LP_OP): Likewise.
48207         (ASM_ADDR): Likewise.
48208         (RAX_LP): Likewise.
48209         (RBP_LP): Likewise.
48210         (RBX_LP): Likewise.
48211         (RCX_LP): Likewise.
48212         (RDI_LP): Likewise.
48213         (RSI_LP): Likewise.
48214         (RSP_LP): Likewise.
48215         (R8_LP): Likewise.
48216         (R9_LP): Likewise.
48217         (R10_LP): Likewise.
48218         (R10_LP): Likewise.
48219         (R11_LP): Likewise.
48220         (R12_LP): Likewise.
48221         (R13_LP): Likewise.
48222         (R14_LP): Likewise.
48223         (R15_LP): Likewise.
48225 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48227         * sysdeps/x86_64/x32/dl-machine.h: New file.
48229 2012-05-14  Andreas Jaeger  <aj@suse.de>
48231         * manual/Makefile (subdir): Remove export of subdir.
48232         (all): Remove target.
48233         (.PHONY): Remove all from list.
48234         (mkinstalldirs): Remove.
48235         (.PHONY): Remove installdirs from list.
48236         ($(inst_infodir)/libc.info): Use make-target-directory.
48237         (installdirs): Remove.
48238         (subdir_%): Remove.
48239         (glibc-targets): Remove.
48240         (lib): Remove.
48241         (stubs): Remove.
48242         ($(objpfx)stubs ../po/manual.pot): Remove.
48243         ($(objpfx)stamp%): Remove.
48244         (make-target-directory): Remove.
48245         (subdir_install): Remove.
48246         (routines): Remove.
48247         (aux): Remove.
48248         (sources): Remove.
48249         (objects): Remove.
48250         (headers): Remove.
48252         [BZ #13750]
48253         * manual/.gitignore: Remove, it's not needed anymore.
48254         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48255         all files in it.
48256         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48257         directory.
48258         (texis): Renamed to $(objpfx)texis.
48259         (texis-path): New, contains path to generated files.
48260         (chapters.%): Use texis-path for complete path, add extra argument
48261         libc-texinfo.sh.
48262         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48263         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48264         (summary,texi, stamp-summary): Use complete path of
48265         files. Generate files in build dir.
48266         (dir-add.texi): Build in build dir.
48267         (libm-err.texi,stamp-libm-err): Likewise.
48268         (version.texi, stamp-version): Likewise.
48269         (.%c.texi): Likewise.
48270         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48271         (mostlyclean): Remove target.
48272         (realclean): Remove target.
48273         (generated): Add new variable with contents from mostlyclean and
48274         realclean, remove entries duplicated in common-mostlyclean, add
48275         stamp-libm-err and stamp-version.
48276         (generated-dirs): Add libc directory.
48277         ($(inst_infodir)/libc.info): Install files from build dir.
48279         * manual/install.texi (Configuring and compiling): Adjust since
48280         the info files are not part of the tar ball anymore.
48282 2012-05-14  Andreas Jaeger  <aj@suse.de>
48284         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48285         variable.
48287 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48289         [BZ #13717]
48290         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48291         to 2.2.0 where earlier.
48292         * sysdeps/unix/sysv/linux/configure: Regenerated.
48293         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48294         Remove conditional code.
48295         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48296         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48297         Remove conditional code.
48298         [!__NR_lchown]: Likewise.
48299         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48300         [__NR_lchown]: Likewise.
48301         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48302         comment referencing __ASSUME_LCHOWN_SYSCALL.
48303         * sysdeps/unix/sysv/linux/i386/sigaction.c
48304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48306         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48307         Remove conditional code.
48308         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48309         (__protocol_available): Remove #if 0 code.
48310         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48311         conditional code.
48312         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48313         * sysdeps/unix/sysv/linux/kernel-features.h
48314         (__ASSUME_GETCWD_SYSCALL): Don't define.
48315         (__ASSUME_REALTIME_SIGNALS): Likewise.
48316         (__ASSUME_PREAD_SYSCALL): Likewise.
48317         (__ASSUME_PWRITE_SYSCALL): Likewise.
48318         (__ASSUME_POLL_SYSCALL): Likewise.
48319         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48320         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48321         non-SPARC.
48322         (__ASSUME_SIOCGIFNAME): Don't define.
48323         (__ASSUME_MSG_NOSIGNAL): Likewise.
48324         (__ASSUME_SENDFILE): Define unconditionally.
48325         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48326         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48327         conditional code.
48328         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48329         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48330         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48331         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48332         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48333         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48334         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48336         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48337         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48339         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48340         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48342         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48343         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48345         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48346         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48348         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48349         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48351         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48352         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48354         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48355         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48357         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48358         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48359         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48360         Remove conditional code.
48361         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48362         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48363         Remove conditional code.
48364         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48365         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48366         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48367         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48368         Remove conditional code.
48369         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48370         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48371         Remove conditional code.
48372         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48373         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48374         Remove conditional code.
48375         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48376         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48377         Remove conditional code.
48378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48379         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48380         Remove conditional code.
48381         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48382         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48385         * sysdeps/unix/sysv/linux/sigaction.c
48386         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48387         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48388         * sysdeps/unix/sysv/linux/sigpending.c
48389         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48390         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48391         * sysdeps/unix/sysv/linux/sigprocmask.c
48392         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48393         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48394         * sysdeps/unix/sysv/linux/sigsuspend.c
48395         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48396         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48397         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48398         (__libc_missing_rt_sigs): Remove.
48399         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48400         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48401         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48402         Remove conditional code.
48403         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48404         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48405         return 1.
48406         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48407         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48408         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48409         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48411 2012-05-14  Andreas Jaeger  <aj@suse.de>
48413         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48414         it's not used in glibc.
48415         (__coshm1): Likewise.
48416         (__acosh1p): Likewise.
48417         (__sgn): Likewise.
48419         * manual/string.texi (Copying and Concatenation): Add missing
48420         variable in concat example.
48421         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48423 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48425         [BZ #14103]
48426         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48427         __builtin_clzl with __builtin_clzll.
48429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48431         [BZ #14104]
48432         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48433         libc_freeres_ptr.
48435 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48437         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48438         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48439         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48440         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48442 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48444         * NEWS: Update ia64 info.
48446 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48448         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48449         used as bcopy.
48451 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48453         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48454         * sysdeps/unix/syscalls.list (dup3): Likewise.
48455         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48456         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48458 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48460         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48461         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48463 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48465         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48466         thread pointer.
48467         (TLS_IE): Use mov/add instead of movq/addq to load thread
48468         pointer.
48469         (TLS_GD_PREFIX): New.
48470         (TLS_GD): Use it.
48472 2012-05-11  David S. Miller  <davem@davemloft.net>
48474         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48475         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48476         (_FPU_SETCW): Likewise.
48478 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48480         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48481         is 32-byte aligned.
48483 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48485         [BZ #11837]
48486         * iconvdata/gb18030.c: Update tables.
48487         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48488         characters specially.
48489         (BODY for TO_LOOP): Add encoding of missing ranges.
48491 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48493         [BZ #13673]
48494         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48495         * sysdeps/mach/hurd/dup3.c: Likewise.
48496         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48497         * sysdeps/powerpc/memmove.c:: Likewise.
48499 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48502         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48504 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48506         * elf/elf.h (R_X86_64_RELATIVE64): New.
48507         (R_X86_64_NUM): Updated.
48508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48509         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48510         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48511         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48512         tst-quad1pie tst-quad2pie
48513         (modules-names): Add tst-quadmod1 tst-quadmod2.
48514         ($(objpfx)tst-quad1): New dependency.
48515         ($(objpfx)tst-quad2): Likewise.
48516         ($(objpfx)tst-quad1pie): Likewise.
48517         ($(objpfx)tst-quad2pie): Likewise.
48518         * sysdeps/x86_64/tst-quad1.c: New file.
48519         * sysdeps/x86_64/tst-quad1pie.c: New file.
48520         * sysdeps/x86_64/tst-quad2.c: Likewise.
48521         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48522         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48523         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48524         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48525         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48527 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48529         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48530         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48531         * streams/stropts.h (t_scalar_t): Define type.
48533         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48534         (_PATH_PRESERVE): Set to "/var/lib".
48535         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48537         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48538         instead of int.
48540         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48541         if __dir_mkfile succeeded.
48543         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48544         checking for _hurd_dtablesize.  Unlock it right after having
48545         finished _hurd_dtable allocation.
48547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48549         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48550         * sysdeps/mach/hurd/configure: Regenerated.
48551         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48552         special-casing to...
48553         * sysdeps/gnu/configure.in: ... this new file.
48554         * sysdeps/unix/sysv/linux/configure: Regenerated.
48555         * sysdeps/gnu/configure: New generated file.
48557         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48558         for Linux: use nsec instead of usec, as well as:
48559         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48560         members of type struct timespec.
48561         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48562         New macros.
48563         (struct stat64): Likewise.
48564         (_STATBUF_ST_NSEC): New macro.
48565         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48567         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48568         __strtoul_internal rather than strtoul.
48570 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48572         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48573         and reject them.
48575 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48577         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48578         which preserves existing values.
48579         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48581 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48583         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48584         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48585         greater than FD_SETSIZE.
48587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48589         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48590         allocated, call __vm_protect to finish enabling the existing space, and
48591         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48592         allocate the remainder.
48594 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48596         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48597         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48601         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48602         sysdeps/mach/hurd/readlink.c.
48604         * posix/tst-sysconf.c (posix_options): Only use
48605         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48606         _POSIX_SYNCHRONIZED_IO when they are defined
48607         * sysdeps/mach/hurd/bits/posix_opt.h:
48608         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48609         (_XOPEN_REALTIME): Undefine macro.
48610         (_XOPEN_REALTIME_THREADS): Undefine macro.
48611         (_XOPEN_SHM): Undefine macro.
48612         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48613         macro to -1.
48614         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48615         macro to -1.
48616         (_POSIX_ASYNC_IO): Undefine macro.
48617         (_POSIX_PRIORITIZED_IO): Undefine macro.
48618         (_POSIX_SPIN_LOCKS): Define macro to -1.
48620         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48621         SA_NODEFER, SA_RESETHAND.
48622         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48623         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48624         F_DUPFD_CLOEXEC.
48626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48628         * elf/Makefile (pldd-modules): Define unconditionally.
48630 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48632         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48636         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48637         Return ENOENT when name is empty.
48638         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48642         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48644         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48648         Fix mlock in all cases except non-readable pages.
48649         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48650         instead of VM_PROT_ALL as parameter to __vm_wire function.
48652         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48653         (__mkdir): When path is `/', just fail with EEXIST.
48654         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48656 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48658         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48659         <sys/uio.h> (for writev).
48660         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48661         and <sys/param.h> (for MIN).
48663 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48665         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48666         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48667         if interrupted.
48669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48671         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48672         Depend on against $(link-rpcuserlibs).
48674 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48676         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48677         (__libc_stack_end): Do not use attribute_relro.
48678         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48679         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48680         to libthread-provided value.
48681         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48682         attribute_relro.
48684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48686         [BZ #3748]
48687         * bits/libc-lock.h (__libc_once_get): New macro.
48688         * sysdeps/mach/bits/libc-lock.h: Likewise.
48689         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48690         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48691         instead of using implementation details.
48693         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48694         * libio/freopen.c: Likewise.
48695         * libio/freopen64.c: Likewise.
48696         * misc/syslog.c: Likewise.
48697         * nscd/connections.c: Likewise.
48698         * nscd/netgroupcache.c: Likewise.
48699         * sysdeps/posix/getcwd.c: Likewise.
48701 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48703         * math/w_ilogbf.c: Add #include <limits.h>.
48705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48707         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48708         path instead of returning without unlocking.
48710         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48711         immediate-write ioctls.
48712         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48716         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48717         __builtin_frame_address instead of making assumptions about the
48718         location of the return address relative to DATA.  Force early load of
48719         the return address.
48720         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48721         __builtin_frame_address.
48723         dup3 for GNU Hurd.
48724         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48725         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48726         implement dup3 and do some further code clean-ups.
48727         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48728         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48732         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48734         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48735         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48736         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48737         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48738         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48739         d->port.lock.
48741         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48742         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48743         when handler == SIG_ERR, not when handler != SIG_ERR.
48745 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48747         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48748         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48749         definitions.
48751         accept4 for GNU Hurd.
48752         * include/sys/socket.h (__libc_accept4): New prototype.
48753         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48754         to implement __libc_accept4.
48755         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48756         __libc_accept4.
48757         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48759         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48760         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48761         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48762         signal-defines.sym.
48764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48766         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48770         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48771         assertion on O_CLOEXEC flag.
48772         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48773         * hurd/intern-fd.c: Likewise.
48774         * hurd/port2fd.c: Likewise.
48776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48778         [BZ #3906]
48779         * bits/in.h (IPV6_PKTINFO): Define new macro.
48780         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48782 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48784         [BZ #13954]
48785         [BZ #13955]
48786         [BZ #13956]
48787         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48788         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48789         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48790         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48792         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48793         * math/libm-test.inc (logb_test) : Additional logb tests.
48795 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48796             Andreas Jaeger  <aj@suse.de>
48798         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48799         * configure: Regenerated.
48800         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48801         * config.make.in (link-obsolete-rpc): New substituted variable.
48802         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48803         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48804         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48805         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48806         so that libc.a contains the symbols.
48807         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48808         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48809         * sunrpc/auth_none.c: Likewise.
48810         * sunrpc/auth_unix.c: Likewise.
48811         * sunrpc/authdes_prot.c: Likewise.
48812         * sunrpc/authuxprot.c: Likewise.
48813         * sunrpc/clnt_gen.c: Likewise.
48814         * sunrpc/clnt_perr.c: Likewise.
48815         * sunrpc/clnt_raw.c: Likewise.
48816         * sunrpc/clnt_simp.c: Likewise.
48817         * sunrpc/clnt_tcp.c: Likewise.
48818         * sunrpc/clnt_udp.c: Likewise.
48819         * sunrpc/clnt_unix.c: Likewise.
48820         * sunrpc/des_crypt.c: Likewise.
48821         * sunrpc/des_soft.c: Likewise.
48822         * sunrpc/get_myaddr.c: Likewise.
48823         * sunrpc/key_call.c: Likewise.
48824         * sunrpc/key_prot.c: Likewise.
48825         * sunrpc/netname.c: Likewise.
48826         * sunrpc/pm_getmaps.c: Likewise.
48827         * sunrpc/pm_getport.c: Likewise.
48828         * sunrpc/pmap_clnt.c: Likewise.
48829         * sunrpc/pmap_prot.c: Likewise.
48830         * sunrpc/pmap_prot2.c: Likewise.
48831         * sunrpc/pmap_rmt.c: Likewise.
48832         * sunrpc/publickey.c: Likewise.
48833         * sunrpc/rpc_cmsg.c: Likewise.
48834         * sunrpc/rpc_common.c: Likewise.
48835         * sunrpc/rpc_dtable.c: Likewise.
48836         * sunrpc/rpc_prot.c: Likewise.
48837         * sunrpc/rpc_thread.c: Likewise.
48838         * sunrpc/rtime.c: Likewise.
48839         * sunrpc/svc.c: Likewise.
48840         * sunrpc/svc_auth.c: Likewise.
48841         * sunrpc/svc_raw.c: Likewise.
48842         * sunrpc/svc_run.c: Likewise.
48843         * sunrpc/svc_tcp.c: Likewise.
48844         * sunrpc/svc_udp.c: Likewise.
48845         * sunrpc/svc_unix.c: Likewise.
48846         * sunrpc/svcauth_des.c: Likewise.
48847         * sunrpc/xcrypt.c: Likewise.
48848         * sunrpc/xdr.c: Likewise.
48849         * sunrpc/xdr_array.c: Likewise.
48850         * sunrpc/xdr_float.c: Likewise.
48851         * sunrpc/xdr_intXX_t.c: Likewise.
48852         * sunrpc/xdr_mem.c: Likewise.
48853         * sunrpc/xdr_rec.c: Likewise.
48854         * sunrpc/xdr_ref.c: Likewise.
48855         * sunrpc/xdr_sizeof.c: Likewise.
48856         * sunrpc/xdr_stdio.c: Likewise.
48858 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48860         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48861         change.  Update copyright years.
48863 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48865         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48867 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48868             Joseph Myers  <joseph@codesourcery.com>
48869             Paul Pluzhnikov  <ppluzhnikov@google.com>
48871         [BZ #14012]
48872         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48873         requiring rpcgen.
48874         [cross-compiling] (extra-libs): Likewise.
48875         [cross-compiling] (extra-libs-others): Likewise.
48876         [cross-compiling] (librpcsvc-routines): Likewise.
48877         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48878         [cross-compiling] (omit-deps): Likewise.
48879         (sunrpc-CPPFLAGS): New variable.
48880         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48881         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48882         (cross-rpcgen-objs): New variable.
48883         (extra-objs): Append $(cross-rpcgen-objs).
48884         ($(cross-rpcgen-objs)): New rule.
48885         ($(objpfx)cross-rpcgen): Likewise.
48886         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48887         comment.
48888         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48889         ($(objpfx)x%.stmp): Likewise.
48890         * sunrpc/proto.h [IS_IN_build] (_): Define.
48891         [IS_IN_build] (_libc_intl_domainname): Likewise.
48893 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48895         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48896         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48897         and R_X86_64_TPOFF64.
48899 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48901         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48902         sysdeps/unix/sysv/syscalls.list.
48903         (stime): Likewise.
48904         (utime): Likewise.
48905         * sysdeps/unix/sysv/syscalls.list: Remove file.
48907 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48909         [BZ #3440]
48910         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48911         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48912         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48913         (__LC_IDENTIFICATION): Make these macros useful in #if
48914         expressions, as required by C99.
48916 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48918         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48919         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48920         after this.
48922 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48924         * stdlib/longlong.h: Updated from GCC.
48926 2012-05-09  Andreas Jaeger  <aj@suse.de>
48928         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48929         default is first entry.
48930         (run_mode): Set type.
48931         (main): Remove informal message about syslog.
48932         (options): Fix typo.
48934         [BZ #14053]
48935         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48936         to asm.
48937         (lrint): Likewise.
48938         (llrintf): Likewise.
48939         (llrint): Likewise.
48940         (rint): Likewise.
48941         (rintf): Likewise.
48942         (nearbyint): Likewise.
48943         (nearbyintf): Likewise.
48945 2012-05-09  Andreas Jaeger  <aj@suse.de>
48946             Pedro Alves  <palves@redhat.com>
48948         * nscd/nscd.c (run_mode): Use enum.
48949         (main): Cleanup coding style issue.
48951 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48952             Andreas Jaeger  <aj@suse.de>
48954         * nscd/nscd.c (go_background): Replaced with...
48955         (run_mode): ... this.
48956         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48957         (options): Add -F --foreground.
48958         (main): Implement it.
48959         (parse_opt): Parse it.
48961 2012-05-09  Andreas Jaeger  <aj@suse.de>
48963         [BZ #14083]
48964         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48965         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48966         -Wconversion warning.
48967         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48968         Likewise.
48970 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48972         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48973         == 0.
48974         (LC_ALL): Use macro-int-constant.
48975         (LC_COLLATE): Likewise.
48976         (LC_CTYPE): Likewise.
48977         (LC_MESSAGES): Likewise.
48978         (LC_MONETARY): Likewise.
48979         (LC_NUMERIC): Likewise.
48980         (LC_TIME): Likewise.
48981         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48982         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48983         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48984         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48985         Specify type.
48986         [C99-based standards] (float_t): Expect type.
48987         [C99-based standards] (double_t): Expect type.
48988         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48989         type.
48990         [C99-based standards] (HUGE_VALL): Likewise.
48991         [C99-based standards] (INFINITY): Likewise.
48992         [C99-based standards] (NAN): Likewise.
48993         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48994         [C99-based standards] (FP_NAN): Likewise.
48995         [C99-based standards] (FP_NORMAL): Likewise.
48996         [C99-based standards] (FP_SUBNORMAL): Likewise.
48997         [C99-based standards] (FP_ZERO): Likewise.
48998         [C99-based standards] (FP_FAST_FMA): Use
48999         optional-macro-int-constant.  Specify type.  Require == 1.
49000         [C99-based standards] (FP_FAST_FMAF): Likewise.
49001         [C99-based standards] (FP_FAST_FMAL): Likewise.
49002         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49003         [C99-based standards] (FP_ILOGBNAN): Likewise.
49004         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49005         Specify type.
49006         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49007         [C99-based standards] (math_errhandling): Specify type.
49008         [ISO99 || ISO11] (signgam): Do not allow.
49009         [non-C99-based standards] (copysignf): Do not allow.
49010         [non-C99-based standards] (exp2f): Likewise.
49011         [non-C99-based standards] (log2f): Likewise.
49012         [non-C99-based standards] (modff): Allow.
49013         [non-C99-based standards] (erff): Do not allow.
49014         [non-C99-based standards] (erfcf): Likewise.
49015         [non-C99-based standards] (gammaf): Likewise.
49016         [non-C99-based standards] (hypotf): Likewise.
49017         [non-C99-based standards] (j0f): Likewise.
49018         [non-C99-based standards] (j1f): Likewise.
49019         [non-C99-based standards] (jnf): Likewise.
49020         [non-C99-based standards] (lgammaf): Likewise.
49021         [non-C99-based standards] (tgammaf): Likewise.
49022         [non-C99-based standards] (y0f): Likewise.
49023         [non-C99-based standards] (y1f): Likewise.
49024         [non-C99-based standards] (ynf): Likewise.
49025         [non-C99-based standards] (isnanf): Likewise.
49026         [non-C99-based standards] (acoshf): Likewise.
49027         [non-C99-based standards] (asinhf): Likewise.
49028         [non-C99-based standards] (atanhf): Likewise.
49029         [non-C99-based standards] (cbrtf): Likewise.
49030         [non-C99-based standards] (expm1f): Likewise.
49031         [non-C99-based standards] (ilogbf): Likewise.
49032         [non-C99-based standards] (log1pf): Likewise.
49033         [non-C99-based standards] (logbf): Likewise.
49034         [non-C99-based standards] (nextafterf): Likewise.
49035         [non-C99-based standards] (remainderf): Likewise.
49036         [non-C99-based standards] (rintf): Likewise.
49037         [non-C99-based standards] (scalbf): Likewise.
49038         [non-C99-based standards] (copysignl): Likewise.
49039         [non-C99-based standards] (exp2l): Likewise.
49040         [non-C99-based standards] (log2l): Likewise.
49041         [non-C99-based standards] (modfl): Allow.
49042         [non-C99-based standards] (erfl): Do not allow.
49043         [non-C99-based standards] (erfcl): Likewise.
49044         [non-C99-based standards] (gammal): Likewise.
49045         [non-C99-based standards] (hypotl): Likewise.
49046         [non-C99-based standards] (j0l): Likewise.
49047         [non-C99-based standards] (j1l): Likewise.
49048         [non-C99-based standards] (jnl): Likewise.
49049         [non-C99-based standards] (lgammal): Likewise.
49050         [non-C99-based standards] (tgammal): Likewise.
49051         [non-C99-based standards] (y0l): Likewise.
49052         [non-C99-based standards] (y1l): Likewise.
49053         [non-C99-based standards] (ynl): Likewise.
49054         [non-C99-based standards] (isnanl): Likewise.
49055         [non-C99-based standards] (acoshl): Likewise.
49056         [non-C99-based standards] (asinhl): Likewise.
49057         [non-C99-based standards] (atanhl): Likewise.
49058         [non-C99-based standards] (cbrtl): Likewise.
49059         [non-C99-based standards] (expm1l): Likewise.
49060         [non-C99-based standards] (ilogbl): Likewise.
49061         [non-C99-based standards] (log1pl): Likewise.
49062         [non-C99-based standards] (logbl): Likewise.
49063         [non-C99-based standards] (nextafterl): Likewise.
49064         [non-C99-based standards] (remainderl): Likewise.
49065         [non-C99-based standards] (rintl): Likewise.
49066         [non-C99-based standards] (scalbl): Likewise.
49067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49068         [non-C99-based standards] (FP_*): Do not allow.
49069         [C99-based standards] (FP_*): Change to
49070         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49071         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49072         allow.
49073         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49074         (SIG_ERR): Likewise.
49075         [X/Open-based standards] (SIG_HOLD): Likewise.
49076         (SIG_IGN): Likewise.
49077         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49078         positive value.
49079         (SIGFPE): Likewise.
49080         (SIGILL): Likewise.
49081         (SIGINT): Likewise.
49082         (SIGSEGV): Likewise.
49083         (SIGTER): Likewise.
49084         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49085         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49086         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49087         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49088         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49089         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49090         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49091         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49092         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49093         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49094         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49095         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49096         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49097         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49098         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49099         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49100         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49101         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49102         [X/Open-based standards] (SIGTRAP): Likewise.
49103         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49104         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49105         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49106         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49107         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49108         allow.
49110 2012-05-08  Ian Wienand  <ianw@vmware.com>
49112         [BZ #14080]
49113         * time/tzset.c (__tzset_parse_tz): Update default rules for
49114         daylight time changes in the Energy Policy Act of 2005.
49116 2012-05-09  Andreas Jaeger  <aj@suse.de>
49118         [BZ #13983]
49119         * elf/ldconfig.c (parse_conf): Change string to make clear that
49120         ldconfig only issued a warning if ld.so.conf does not exist.
49122 2012-05-08  David S. Miller  <davem@davemloft.net>
49124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49125         movxtod instead of popping the value on the stack.
49127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49129 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49131         * config.h.in: Add HAVE_ARM_PCS_VFP.
49133 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49135         [BZ #13979]
49136         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49137         checking but the checks are disabled for any reason.
49139 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49141         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49142         and ELF64_R_TYPE with ELFW(R_TYPE).
49144 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49146         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49147         (ulimit): Likewise.
49149         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49150         (settimeofday): Likewise.
49152 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49154         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49155         a struct th_u2 inside the union, and move tu_block/tu_code into
49156         a new th_u3 union of tu_block/tu_code inside of that.  Move
49157         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49158         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49159         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49160         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49161         (th_stuff): Change to th_u1.tu_stuff.
49162         (th_data): Define.
49163         (th_msg): Change to th_u1.th_u2.tu_data.
49165 2012-05-07  David S. Miller  <davem@davemloft.net>
49167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49169         [BZ #14074]
49170         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49171         (SETUP_PIC_REG): Use it.
49172         (SETUP_PIC_REG_LEAF): Use it.
49174 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49176         [BZ #13885]
49177         [BZ #13923]
49178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49179         USE_AS_EXPM1L.
49180         (EXPL_FINITE): Likewise.
49181         (FLDLOG): Likewise.
49182         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49183         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49184         e_expl.S.
49185         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49186         USE_AS_EXPM1L.
49187         (EXPL_FINITE): Likewise.
49188         (FLDLOG): Likewise.
49189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49190         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49191         e_expl.S.
49192         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49193         test of -max_value argument for long double.
49194         * sysdeps/i386/fpu/libm-test-ulps: Update.
49195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49197 2012-05-06  David S. Miller  <davem@davemloft.net>
49199         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49200         quad soft-float symbols whose references which are compiler
49201         generated.
49202         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49204 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49206         [BZ #13884]
49207         [BZ #13914]
49208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49209         USE_AS_EXP10L.
49210         (EXPL_FINITE): Likewise.
49211         (FLDLOG): Likewise.
49212         (c0): Likewise.
49213         (c1): Likewise.
49214         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49215         Adjust comments for base varying.
49216         (__expl_finite): Change alias to EXPL_FINITE.
49217         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49218         e_expl.S.
49219         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49220         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49222         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49223         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49224         USE_AS_EXP10L.
49225         (EXPL_FINITE): Likewise.
49226         (FLDLOG): Likewise.
49227         (c0): Likewise.
49228         (c1): Likewise.
49229         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49230         Adjust comments for base varying.
49231         (__expl_finite): Change alias to EXPL_FINITE.
49232         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49233         tests for bugs.
49234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49236         [BZ #14064]
49237         * math/libm-test.inc (check_float_internal): Correct ulp
49238         calculation for subnormal expected results.
49240 2012-05-06  Andreas Jaeger  <aj@suse.de>
49242         * Makeconfig (+math-flags): New, set to -frounding-math.
49243         (+cflags): Add +math-flags so that all of glibc gets compiled with
49244         it.
49246         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49248 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49250         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49251         Disable one test.
49253         [BZ #13787]
49254         [BZ #13922]
49255         [BZ #14036]
49256         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49257         (__ieee754_expl): Allow for and saturate large arguments.
49258         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49259         (u_threshold): Likewise.
49260         (__exp): Call __ieee754_exp before checking for overflow and
49261         underflow.
49262         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49263         (u_threshold): Likewise.
49264         (__expf): Call __ieee754_expf before checking for overflow and
49265         underflow.
49266         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49267         (u_threshold): Likewise.
49268         (__expl): Call __ieee754_expl before checking for overflow and
49269         underflow.
49270         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49271         (__ieee754_expl): Allow for and saturate large arguments.
49272         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49273         missing overflow exception on overflow.
49274         (expm1_test): Do not allow missing overflow exception on overflow.
49276         * sysdeps/i386/fpu/e_expl.c: Move to ...
49277         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49278         rather than using inline asm.
49279         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49280         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49281         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49283         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49284         (nice): Likewise.
49285         (poll): Likewise.
49286         (signal): Likewise.
49287         (time): Likewise.
49288         (times): Likewise.
49290 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49292         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49293         sysdeps/unix/common/syscalls.list.
49294         (fchmod): Likewise.
49295         (fchown): Likewise.
49296         (ftruncate): Likewise.
49297         (getrusage): Likewise.
49298         (gettimeofday): Likewise.
49299         (setpgid): Likewise.
49300         (setregid): Likewise.
49301         (setreuid): Likewise.
49302         (sigaction): Likewise.
49303         (truncate): Likewise.
49304         (vhangup): Likewise.
49305         * sysdeps/unix/common/syscalls.list: Remove file.
49306         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49307         * sysdeps/unix/sysv/linux/Implies: Likewise.
49309 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49311         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49313         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49314         Moved to ...
49315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49316         Here.
49317         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49318         to ...
49319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49320         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49321         to ...
49322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49323         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49324         to ...
49325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49326         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49327         to ...
49328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49329         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49330         to ...
49331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49332         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49333         to ...
49334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49335         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49336         to ...
49337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49338         Here.
49339         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49340         to ...
49341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49342         Here.
49343         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49344         to ...
49345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49346         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49347         Moved to ...
49348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49349         Here.
49350         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49351         to ...
49352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49354 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49356         * sysdeps/unix/common/bits/dirent.h: Remove file.
49357         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49359         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49360         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49361         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49362         * sysdeps/unix/bsd/isatty.c: Likewise.
49363         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49364         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49365         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49367 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49369         [BZ #13563]
49370         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49371         long double comparison inaccuracies.
49372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49375 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49377         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49378         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49380 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49382         [BZ #14049]
49383         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49384         nonzero digits before rounding a hex value.
49385         * stdlib/tst-strtod.c (tests): Add another test.
49387 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49389         * sysdeps/s390/fpu/libm-test-ulps: Update.
49391 2012-05-03  Andreas Jaeger  <aj@suse.de>
49393         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49394         does not get optimized out.
49395         (malloc_opt_barrier): New.
49397 2012-05-03  Andreas Jaeger  <aj@suse.de>
49398             Roland McGrath  <roland@hack.frob.com>
49400         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49401         intermediate file deletion.
49402         (generated): Add .symlist files.
49404 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49406         [BZ #13775]
49407         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49408         Redirect under this condition.
49409         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49410         [__USE_GNU] (__dprintf_chk): Not under this condition.
49411         [__USE_GNU] (__vdprintf_chk): Likewise.
49412         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49413         under this condition.
49414         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49415         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49416         [__USE_XOPEN2K8] (vdprintf): Likewise.
49417         [__USE_GNU] (__dprintf_chk): Not under this condition.
49418         [__USE_GNU] (__vdprintf_chk): Likewise.
49419         [__USE_GNU] (dprintf): Likewise.
49420         [__USE_GNU] (vdprintf): Likewise.
49422 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49424         * elf/Makefile (common-generated): Set this instead of generated for
49425         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49426         $(all-built-dso)-derived lists.
49428 2012-05-03  Andreas Jaeger  <aj@suse.de>
49430         * sysdeps/i386/fpu/libm-test-ulps: Update.
49432         * FAQ: Removed.
49433         * FAQ.in: Likewise.
49434         * scripts/gen-FAQ.pl: Likewise.
49435         * manual/install.texi (Installation): Point to online location of
49436         FAQ.
49437         * Makefile (files-for-dist): Remove FAQ.
49438         (FAQ): Remove.
49440 2012-05-02  Allan McRae  <allan@archlinux.org>
49442         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49443         (LDFLAGS-reldepmod5.so): Likewise.
49444         (LDFLAGS-reldep6mod1.so): Likewise.
49445         (LDFLAGS-reldep6mod4.so): Likewise.
49446         (LDFLAGS-reldep8mod3.so): Likewise.
49447         (LDFLAGS-unload4mod1.so): Likewise.
49448         (LDFLAGS-unload4mod2.so): Likewise.
49449         (LDFLAGS-tst-initorder): Likewise.
49450         (LDFLAGS-tst-initordera2.so): Likewise.
49451         (LDFLAGS-tst-initordera3.so): Likewise.
49452         (LDFLAGS-tst-initordera4.so): Likewise.
49453         (LDFLAGS-tst-initorderb2.so): Likewise.
49454         (LDFLAGS-noload): Likewise.
49455         (LDFLAGS-next): Likewise.
49456         (LDFLAGS-order2mod1.so): Likewise.
49457         (LDFLAGS-order2mod2.so): Likewise.
49458         (LDFLAGS-tst-initorder2): Likewise.
49459         (LDFLAGS-tst-initorder2a.so): Likewise.
49460         (LDFLAGS-tst-initorder2b.so): Likewise.
49461         (LDFLAGS-tst-initorder2c.so): Likewise.
49462         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49464 2012-05-02  David S. Miller  <davem@davemloft.net>
49466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49468 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49470         [BZ #14055]
49471         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49473 2012-05-02  Andreas Jaeger  <aj@suse.de>
49475         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49476         since we manipulate rounding mode.
49477         (CPPFLAGS-test-idouble.c): Likewise.
49478         (CPPFLAGS-test-ifloat.c): Likewise.
49479         (CFLAGS-test-ldouble.c): Likewise.
49480         (CFLAGS-test-double.c): Likewise.
49481         (CFLAGS-test-float.c): Likewise.
49482         (CFLAGS-test-misc.c): Likewise.
49483         (CFLAGS-test-test-fenv.c): Likewise.
49485 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49487         [BZ #2550]
49488         [BZ #2570]
49489         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49490         comparisons to determine direction to adjust input.
49492 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49494         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49495         output to the target.
49497         * scripts/localplt.awk: New file.
49498         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49499         (check-localplt-CFLAGS): Variable removed.
49500         ($(all-built-dso:=.jmprel)): New static pattern rule.
49501         (generated): Add those targets.
49502         (localplt-built-dso): New variable.
49503         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49505         * elf/check-localplt.c: File removed.
49507         * scripts/check-execstack.awk: New file.
49508         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49509         (check-execstack-CFLAGS): Variable removed.
49510         ($(objpfx)check-execstack.h): Target removed.
49511         ($(objpfx)execstack-default): New target.
49512         (generated): Add that instead of check-execstack.h.
49513         ($(all-built-dso:=.phdr)): New static pattern rule.
49514         (generated): Add those targets.
49515         * elf/check-execstack.c: File removed.
49517         * scripts/check-textrel.awk: New file.
49518         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49519         (check-textrel-CFLAGS): Variable removed.
49520         (all-built-dso): Use := to define.o
49521         ($(all-built-dso:=.dyn)): New static pattern rule.
49522         (generated): Add those targets.
49523         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49524         * config.make.in (READELF): New substituted variable.
49525         * elf/check-textrel.c: File removed.
49527 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49529         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49530         allow.
49531         * conform/data/ctype.h-data [C99-based standards] (isblank):
49532         Expect function.
49533         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49534         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49535         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49536         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49537         Specify type.  Require positive value.
49538         (EILSEQ): Likewise.
49539         (ERANGE): Likewise.
49540         [ISO || POSIX] (EILSEQ): Do not expect.
49541         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49542         Specify type.  Require positive value.
49543         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49544         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49545         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49546         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49547         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49548         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49549         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49550         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49551         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49552         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49553         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49554         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49555         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49556         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49557         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49558         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49559         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49560         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49561         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49562         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49563         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49564         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49565         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49566         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49567         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49568         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49569         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49570         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49571         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49572         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49573         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49574         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49575         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49576         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49577         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49578         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49579         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49580         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49581         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49582         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49583         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49584         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49585         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49586         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49587         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49588         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49589         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49590         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49591         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49592         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49593         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49594         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49595         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49596         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49597         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49598         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49599         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49600         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49601         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49602         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49603         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49604         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49605         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49606         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49607         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49608         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49609         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49610         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49611         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49612         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49613         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49614         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49615         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49616         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49617         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49618         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49619         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49620         Require >= 2.
49621         (FLT_ROUNDS): Expect as macro, not constant.
49622         (FLT_MANT_DIG): Use macro-int-constant.
49623         (DBL_MANT_DIG): Likewise.
49624         (LDBL_MANT_DIG): Likewise.
49625         (FLT_DIG): Likewise.
49626         (DBL_DIG): Likewise.
49627         (LDBL_DIG): Likewise.
49628         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49629         (DBL_MIN_EXP): Likewise.
49630         (LDBL_MIN_EXP): Likewise.
49631         (FLT_MAX_EXP): Use macro-int-constant.
49632         (DBL_MAX_EXP): Likewise.
49633         (LDBL_MAX_EXP): Likewise.
49634         (FLT_MAX_10_EXP): Likewise.
49635         (DBL_MAX_10_EXP): Likewise.
49636         (LDBL_MAX_10_EXP): Likewise.
49637         (FLT_MAX): Use macro-constant.
49638         (DBL_MAX): Likewise.
49639         (LDBL_MAX): Likewise.
49640         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49641         (DBL_EPSILON): Likewise.
49642         (LDBL_EPSILON): Likewise.
49643         (FLT_MIN): Likewise.
49644         (DBL_MIN): Likewise.
49645         (LDBL_MIN): Likewise.
49646         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49647         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49648         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49649         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49650         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49651         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49652         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49653         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49654         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49655         [ISO11] (FLT_TRUE_MIN): Likewise.
49656         [ISO11] (LDBL_TRUE_MIN): Likewise.
49657         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49658         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49659         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49660         (SCHAR_MAX): Likewise.
49661         (UCHAR_MAX): Likewise.
49662         (CHAR_MIN): Likewise.
49663         (CHAR_MAX): Likewise.
49664         (MB_LEN_MAX): Use macro-int-constant.
49665         (SHRT_MIN): Use macro-int-constant.  Specify type.
49666         (SHRT_MAX): Likewise.
49667         (USHRT_MAX): Likewise.
49668         (INT_MAX): Likewise.
49669         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49670         bound negative.
49671         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49672         bound with "U".
49673         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49674         bound with "L".
49675         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49676         bound negative.  Suffix upper bound with "L".
49677         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49678         bound with "UL".
49679         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49680         Specify type.
49681         [C99-based standards] (LLONG_MAX): Likewise.
49682         [C99-based standards] (ULLONG_MAX): Likewise.
49683         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49684         == 0.
49685         [ISO11] (max_align_t): Require type.
49686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49688         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49689         from $CFLAGS, without defining away __attribute__ calls.
49690         (checknamespace): Use $CFLAGS_namespace.
49692         * conform/conformtest.pl (@keywords): Only include C99 keywords
49693         for standards based on C99 or C11.
49695         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49696         Disable tests.
49697         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49698         UNIX98]: Likewise.
49700         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49701         usability of symbols in #if.
49703         * conform/conformtest.pl: If macro or constant types start
49704         "promoted:", expect the symbol to be of the following type
49705         promoted by the integer promotions.
49707         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49708         in one place.  Also handle "macro-constant".
49710         * conform/conformtest.pl: Only accept expected macro values with
49711         "==".  Parse all "macro" lines in one place.
49712         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49714         * conform/conformtest.pl: Handle braced types on "constant" lines
49715         instead of handling "typed-constant".
49716         * conform/data/signal.h-data: Use "constant" instead of
49717         "typed-constant".
49719         * conform/conformtest.pl: Handle "optional-" at start of lines in
49720         one place rather than duplicating several cases.  Handle each
49721         format of "macro" line with initial "optional-".
49723         * conform/conformtest.pl: Only accept expected constant or
49724         optional-constant values with "==".  Parse all "constant" lines in
49725         one place.  Parse all "optional-constant" lines in one place.
49726         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49727         * conform/data/fmtmsg.h-data: Likewise.
49728         * conform/data/netinet/in.h-data: Likewise.
49729         * conform/data/tar.h-data: Likewise.
49730         * conform/data/limits.h-data: Use "==" form on "constant" and
49731         "optional-constant" lines.
49733         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49734         Use -std=c99 for XOPEN2K.
49735         (@knownproblems): Remove.
49736         (newtoken): Don't check %isknown.
49738         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49739         Do not expect macro.
49740         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49741         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49742         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49743         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49744         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49745         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49746         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49747         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49748         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49749         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49750         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49751         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49752         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49753         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49754         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49755         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49756         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49757         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49758         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49759         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49760         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49761         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49762         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49763         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49764         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49765         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49766         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49767         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49768         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49769         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49770         [XPG3] (acosh): Likewise.
49771         [XPG3] (asinh): Likewise.
49772         [XPG3] (atanh): Likewise.
49773         [XPG3] (cbrt): Likewise.
49774         [XPG3] (expm1): Likewise.
49775         [XPG3] (ilogb): Likewise.
49776         [XPG3] (log1p): Likewise.
49777         [XPG3] (logb): Likewise.
49778         [XPG3] (nextafter): Likewise.
49779         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49780         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49781         [XPG3] (remainder): Likewise.
49782         [XPG3] (rint): Likewise.
49783         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49784         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49785         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49786         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49787         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49788         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49789         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49790         [UNIX98 || XOPEN2K] (scalb): Expect.
49791         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49792         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49793         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49794         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49795         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49796         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49797         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49798         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49799         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49800         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49801         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49802         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49803         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49804         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49805         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49806         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49807         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49808         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49809         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49810         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49811         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49812         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49813         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49814         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49815         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49816         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49817         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49818         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49819         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49820         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49821         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49822         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49823         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49824         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49825         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49826         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49827         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49828         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49829         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49830         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49831         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49832         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49833         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49834         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49835         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49836         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49837         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49838         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49839         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49840         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49841         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49842         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49843         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49844         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49845         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49846         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49847         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49848         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49849         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49850         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49851         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49852         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49853         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49854         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49855         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49856         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49857         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49858         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49859         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49860         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49861         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49862         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49863         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49864         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49865         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49866         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49867         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49868         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49869         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49870         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49871         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49872         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49873         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49874         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49875         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49876         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49877         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49878         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49879         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49880         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49881         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49882         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49883         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49884         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49885         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49886         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49887         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49888         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49889         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49890         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49891         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49892         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49893         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49894         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49895         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49896         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49897         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49898         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49899         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49900         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49901         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49902         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49903         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49904         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49905         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49906         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49907         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49908         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49909         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49910         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49911         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49912         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49913         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49914         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49915         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49916         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49917         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49918         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49919         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49920         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49921         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49922         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49923         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49924         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49925         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49926         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49927         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49929         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49930         _XOPEN_SOURCE_EXTENDED for XPG4.
49932         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49934         * Makeconfig (localtime): Remove variable.
49935         (inst_localtime-file): Likewise.
49937 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49940         Update.
49941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49942         Update.
49943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49944         Update.
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49946         Update.
49947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49948         Update.
49949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49950         Update.
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49952         Update.
49953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49954         Update.
49955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49956         Update.
49958 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49960         [BZ #2550]
49961         [BZ #2570]
49962         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49963         comparisons to determine direction to adjust input.
49964         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49965         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49966         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49967         Likewise.
49968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49969         Likewise.
49970         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49971         Likewise.
49972         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49974         Likewise.
49975         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49976         Likewise.
49977         * math/libm-test.inc (nexttoward_test): Add more tests.
49979 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49981         [BZ #14040]
49982         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49983         in version GLIBC_2.1, not GLIBC_2.0.
49984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49985         Likewise.
49987 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49989         [BZ #13942]
49990         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49991         (1 - x) * (1 + x).
49992         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49993         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49994         * math/libm-test.inc (acos_test): Add more tests.
49995         (asin_test): Likewise.
49996         * sysdeps/i386/fpu/libm-test-ulps: Update.
49997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49999         [BZ #14034]
50000         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50001         of square root.
50002         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50003         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50004         * math/libm-test.inc (acos_test_tonearest): New function.
50005         (acos_test_towardzero): Likewise.
50006         (acos_test_downward): Likewise.
50007         (acos_test_upward): Likewise.
50008         (asin_test_tonearest): Likewise.
50009         (asin_test_towardzero): Likewise.
50010         (asin_test_downward): Likewise.
50011         (asin_test_upward): Likewise.
50012         (main): Call the new functions.
50013         * sysdeps/i386/fpu/libm-test-ulps: Update.
50014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50016         [BZ #13884]
50017         [BZ #13924]
50018         * math/e_exp10.c: Include <float.h>.
50019         (__ieee754_exp10): Handle underflow here rather than multiplying
50020         large negative argument by M_LN10.
50021         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50022         of __ieee754_expf.
50023         * math/e_exp10l.c: Include <float.h>.
50024         (__ieee754_exp10l): Handle underflow here rather than multiplying
50025         large negative argument by M_LN10l.
50026         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50027         spurious overflow exception on underflow.
50029 2012-04-29  Marek Polacek  <polacek@redhat.com>
50031         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50032         (__fortify_function): New macro.
50033         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50034         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50035         __extern_always_inline.
50036         * libio/bits/stdio2.h: Likewise.
50037         * libio/bits/stdio.h: Likewise.
50038         * string/string.h: Likewise.
50039         * string/bits/string3.h: Likewise.
50040         * include/stdio.h: Likewise.
50041         * stdlib/bits/stdlib.h: Likewise.
50042         * stdlib/stdlib.h: Likewise.
50043         * rt/bits/mqueue2.h: Likewise.
50044         * rt/mqueue.h: Likewise.
50045         * posix/bits/unistd.h: Likewise.
50046         * posix/unistd.h: Likewise.
50047         * io/bits/poll2.h: Likewise.
50048         * io/bits/fcntl2.h: Likewise.
50049         * io/fcntl.h: Likewise.
50050         * io/sys/poll.h: Likewise.
50051         * misc/bits/syslog.h: Likewise.
50052         * misc/bits/syslog-ldbl.h: Likewise.
50053         * misc/sys/syslog.h: Likewise.
50054         * socket/bits/socket2.h: Likewise.
50055         * socket/sys/socket.h: Likewise.
50056         * debug/tst-chk1.c: Likewise.
50057         * wcsmbs/bits/wchar2.h: Likewise.
50058         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50059         * wcsmbs/wchar.h: Likewise.
50061 2012-04-29  Andreas Jaeger  <aj@suse.de>
50063         * Makerules (tests): Remove enable-check-abi protection.
50064         (check-abi-warn): Remove.
50065         (check-abi-%): Remove check-abi-warn usage.
50067         * configure.in: Remove check-abi configure option.
50068         * configure: Regenerated.
50069         * config.make.in (enable-check-abi): Remove.
50071 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50073         [BZ #14033]
50074         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50075         double functions to double *_finite functions.
50077         [BZ #13941]
50078         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50079         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50080         LDBL_MIN_EXP.
50081         * stdio-common/Makefile (tests): Add tst-sprintf3.
50082         * stdio-common/tst-sprintf3.c: New file.
50084         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50085         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50087 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50089         * conform/conformtest.pl: Remove duplicate typed-constant
50090         handling.
50092 2012-04-28  David S. Miller  <davem@davemloft.net>
50094         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50095         (check-abi-%): Remove AWK script prerequisite and explicit
50096         abilist directory.
50097         (check-abi): Rewrite to just diff the symlist with the abilist.
50098         (config-tls, config-abi-config): Delete, no longer used.
50099         (update-abi-%): Remove AWK script and explicit abilist directory.
50100         (update-abi): Rewrite to simply compare and conditionally copy the
50101         symlist and the sysdep abilist file.  Remove update-abi-config
50102         checks.
50103         * abilist/ld.abilist: Remove.
50104         * abilist/libBrokenLocale.abilist: Remove.
50105         * abilist/libanl.abilist: Remove.
50106         * abilist/libcrypt.abilist: Remove.
50107         * abilist/libdl.abilist: Remove.
50108         * abilist/librt.abilist: Remove.
50109         * abilist/libthread_db.abilist: Remove.
50110         * abilist/libutil.abilist: Remove.
50111         * scripts/extract-abilist.awk: Remove.
50112         * scripts/merge-abilist.awk: Remove.
50113         * sysdeps/generic/libcidn.abilist: New file.
50114         * sysdeps/generic/libnss_compat.abilist: New file.
50115         * sysdeps/generic/libnss_db.abilist: New file.
50116         * sysdeps/generic/libnss_dns.abilist: New file.
50117         * sysdeps/generic/libnss_files.abilist: New file.
50118         * sysdeps/generic/libnss_hesiod.abilist: New file.
50119         * sysdeps/generic/libnss_nis.abilist: New file.
50120         * sysdeps/generic/libnss_nisplus.abilist: New file.
50121         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50122         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50123         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50124         file.
50125         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50126         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50127         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50128         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50129         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50130         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50131         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50132         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50133         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50134         file.
50135         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50136         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50137         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50138         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50139         file.
50140         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50141         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50142         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50143         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50144         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50145         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50146         file.
50147         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50148         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50149         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50150         file.
50151         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50153         New file.
50154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50155         New file.
50156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50157         New file.
50158         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50159         New file.
50160         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50161         New file.
50162         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50163         New file.
50164         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50165         New file.
50166         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50167         New file.
50168         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50169         New file.
50170         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50171         New file.
50172         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50173         New file.
50174         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50175         New file.
50176         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50177         New file.
50178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50179         file.
50180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50181         New file.
50182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50183         New file.
50184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50185         file.
50186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50187         New file.
50188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50189         New file.
50190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50191         file.
50192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50193         New file.
50194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50195         New file.
50196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50197         New file.
50198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50199         New file.
50200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50201         New file.
50202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50203         New file.
50204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50206         file.
50207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50208         New file.
50209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50210         file.
50211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50212         file.
50213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50214         file.
50215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50216         file.
50217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50218         file.
50219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50220         New file.
50221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50222         file.
50223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50224         file.
50225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50226         New file.
50227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50228         file.
50229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50231         file.
50232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50233         New file.
50234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50235         file.
50236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50237         file.
50238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50239         file.
50240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50241         file.
50242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50243         file.
50244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50245         New file.
50246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50247         file.
50248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50249         file.
50250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50251         New file.
50252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50253         file.
50254         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50255         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50256         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50257         file.
50258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50259         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50260         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50261         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50262         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50263         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50264         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50265         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50266         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50267         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50270         file.
50271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50272         New file.
50273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50274         file.
50275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50276         file.
50277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50278         file.
50279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50280         file.
50281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50282         file.
50283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50284         New file.
50285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50286         New file.
50287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50288         file.
50289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50290         New file.
50291         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50292         file.
50293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50295         file.
50296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50297         New file.
50298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50299         file.
50300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50301         file.
50302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50303         file.
50304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50305         file.
50306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50307         file.
50308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50309         New file.
50310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50311         New file.
50312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50313         file.
50314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50315         New file.
50316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50317         file.
50319 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50321         * conform/conformtest.pl: Fix typo in handling typed-constant from
50322         allow-header.
50324 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50326         * README: Cut down references to pre-2.6 Linux kernels and
50327         Linuxthreads.  Update lists of configurations in libc and ports
50328         and sort alphabetically.  Say "or newer" with Linux kernel version
50329         requirements.
50331         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50333 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50335         [BZ #887]
50336         * math/libm-test.inc (logb_test_downward): New test to expose
50337         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50338         rounding mode.
50340 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50342         [BZ #14027]
50343         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50344         to be done.
50345         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50346         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50348 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50350         * sysdeps/unix/i386/brk.S: Remove file.
50351         * sysdeps/unix/i386/dl-brk.S: Likewise.
50352         * sysdeps/unix/i386/pipe.S: Likewise.
50353         * sysdeps/unix/i386/sigreturn.S: Likewise.
50354         * sysdeps/unix/i386/syscall.S: Likewise.
50355         * sysdeps/unix/i386/vfork.S: Likewise.
50356         * sysdeps/unix/i386/wait.S: Likewise.
50358         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50359         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50361         * configure.in (arm*-none*): Do not allow without
50362         --enable-hacker-mode.
50363         (netbsd*): Remove case setting base_os.
50364         (386bsd*): Likewise.
50365         (freebsd*): Likewise.
50366         (bsdi*): Likewise.
50367         (osf*): Likewise.
50368         (sunos*): Likewise.
50369         (ultrix*): Likewise.
50370         (newsos*): Likewise.
50371         (dynix*): Likewise.
50372         (*bsd*): Likewise.
50373         (sysv*): Likewise.
50374         (isc*): Likewise.
50375         (esix*): Likewise.
50376         (sco*): Likewise.
50377         (minix*): Likewise.
50378         (irix4*): Likewise.
50379         (irix6*): Likewise.
50380         (solaris[2-9]*): Likewise.
50381         (none): Likewise.
50382         * configure: Regenerated.
50384 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50386         [BZ #11521]
50387         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50388         overflow or cancellation in calculating denominator.
50389         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50391         down expression to avoid unexpected rounding in newer GCCs.
50392         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50394 2012-04-26  David S. Miller  <davem@davemloft.net>
50396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50397         long-double compat symbols.
50398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50412 2012-04-25  David S. Miller  <davem@davemloft.net>
50414         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50415         HWCAP_* values only after the memory barriers have been defined.
50416         (atomic_full_barrier): Define.
50417         (atomic_read_barrier): Define.
50418         (atomic_write_barrier): Define.
50420 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50422         * shlib-versions: Add libgcc_s version information.
50423         * sysdeps/generic/libgcc_s.h: Remove.
50424         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50425         libgcc_s.h.
50426         * sysdeps/gnu/unwind-resume.c: Likewise.
50427         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50429 2012-04-25  David S. Miller  <davem@davemloft.net>
50431         * sysdeps/unix/sparc/brk.S: Delete.
50432         * sysdeps/unix/sparc/dl-brk.S: Delete.
50433         * sysdeps/unix/sparc/pipe.S: Delete.
50434         * sysdeps/unix/sparc/sysdep.S: Delete.
50435         * sysdeps/unix/sparc/sysdep.h: Delete.
50436         * sysdeps/unix/sparc/vfork.S: Delete.
50437         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50438         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50439         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50440         (ret_ERRVAL, r0, r1, MOVE): Define.
50441         (JUMPTARGET): Remove.
50442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50443         sysdeps/unix/sparc/sysdep.h
50444         (ENTRY, END): Remove.
50445         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50447 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50449         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50450         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50451         -DIS_IN_build.
50453         * timezone/README: Update upstream location and email address for
50454         tzcode and tzdata.
50455         * timezone/zdump.c: Update from tzcode 2012b.
50456         * timezone/zic.c: Likewise.
50458         * configure.in (libc_cv_as_needed): Remove test.
50459         * configure: Regenerated.
50460         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50461         conditional definition.
50462         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50463         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50464         * config.make.in (have-as-needed): Remove variable.
50466 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50467             Paul Pluzhnikov  <ppluzhnikov@google.com>
50469         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50470         strings correctly.
50472 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50474         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50475         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50476         * sysdeps/sh/strlen.S: Likewise.
50478 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50480         * sysdeps/unix/fork.S: Remove file.
50481         * sysdeps/unix/i386/fork.S: Likewise.
50482         * sysdeps/unix/sparc/fork.S: Likewise.
50484         * sysdeps/unix/system.c: Remove file.
50485         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50487         * sysdeps/unix/getegid.S: Remove file.
50488         * sysdeps/unix/geteuid.S: Likewise.
50490 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50492         * scripts/check-localplt.awk: New file.
50493         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50494         of diff.
50495         * scripts/data/localplt-generic.data: Add a comment.
50497         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50498         NODE when __dir_mkfile failed.
50499         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50500         Reported by Ludovic Courtès <ludo@gnu.org>.
50502 2012-04-24  Andreas Jaeger  <aj@suse.de>
50504         * Makerules (common-clean): Also remove gen-as-const-headers
50505         files.
50507 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50509         * Makerules (native-compile): Do not change working directory for
50510         build.  Use $(OUTPUT_OPTION) in command.
50511         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50513 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50515         [BZ #13886]
50516         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50517         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50518         * math/libm-test.inc (floor_test): Add more tests.
50519         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50521 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50523         * sysdeps/unix/getdents.c: Remove file.
50524         * sysdeps/unix/sysv/getdents.c: Likewise.
50525         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50527         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50528         sysdeps/unix/mman/syscalls.list.
50529         (mmap): Likewise.
50530         (mprotect): Likewise.
50531         (msync): Likewise.
50532         (munmap): Likewise.
50533         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50534         * sysdeps/unix/mman/syscalls.list: Remove.
50535         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50537         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50538         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50539         * configure: Regenerated.
50540         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50541         $(libgcc_s_suffix).
50542         * config.make.in (libgcc_s_suffix): Remove variable.
50544 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50546         * sysdeps/unix/sysv/gethostname.c: Move to ...
50547         * sysdeps/posix/gethostname.c: ... here.
50549         * sysdeps/unix/execve.S: Remove file.
50551         * sysdeps/unix/_exit.S: Remove file.
50553 2012-04-23  Andreas Jaeger  <aj@suse.de>
50555         [BZ #13739]
50556         * manual/Makefile: Remove make dist support, there's no
50557         need for a stand-alone documentation tar ball.
50558         (TEXI2DVI): Define always, it's not in Makeconfig.
50559         (dist): Removed.
50560         (tar-it): Removed.
50561         (edition): Removed.
50562         (glibc-doc-$(edition).tar): Removed
50563         (%.Z): Removed.
50564         (%.gz): Removed.
50565         (%.uu): Removed.
50566         (ETAGS): Remove, it's in Makeconfig.
50567         (move-if-change): Remove, it's in Makeconfig.
50569 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50571         [BZ #13970]
50572         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50573         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50574         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50575         (strtod_l, strtof_l, strtold_l): Remove __wur.
50576         It is not necessarily an error to ignore strtol's return value.
50577         One can reliably look at the stored endptr to decide whether
50578         the number had valid syntax.
50580 2012-04-21  Andreas Jaeger  <aj@suse.de>
50582         [BZ #13739]
50583         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50585 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50587         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50588         * sysdeps/unix/sysv/Versions: Remove file.
50590 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50592         [BZ #13927]
50593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50595 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50597         [BZ #7064]
50598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50599         version from __vm86.
50601 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50603         * sysdeps/unix/common/lxstat.c: Remove file.
50604         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50606         * sysdeps/unix/sysv/Makefile: Remove file.
50608         * sysdeps/unix/sysv/direct.h: Remove file.
50610         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50611         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50612         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50613         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50614         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50615         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50616         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50618         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50620         * sysdeps/unix/xmknod.c: Remove file.
50621         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50623         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50625         * sysdeps/unix/sysv/i386/time.S: Remove file.
50627         * sysdeps/unix/fxstat.c: Remove file.
50628         * sysdeps/unix/xstat.c: Likewise.
50629         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50631         * sysdeps/unix/sysv/sigaction.c: Remove file.
50633         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50634         (sysdep_headers): Remove variable.
50635         [termio.h not in sysdep_headers] (generated): Likewise.
50636         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50637         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50638         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50639         * sysdeps/unix/sysv/tcflow.c: Likewise.
50640         * sysdeps/unix/sysv/tcflush.c: Likewise.
50641         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50642         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50643         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50644         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50645         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50647         * sysdeps/unix/siglist.c: Remove file.
50649         * sysdeps/unix/getppid.S: Remove file.
50651         * sysdeps/unix/mkdir.c: Remove file.
50652         * sysdeps/unix/rmdir.c: Likewise.
50654 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50656         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50657         ERR_MAX value.
50658         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50659         errlist-compat value.
50661 2012-04-18  David S. Miller  <davem@davemloft.net>
50663         * sysdeps/generic/memcopy.h (reg_char): Delete.
50664         * debug/strcat_chk.c: Use char, not reg_char.
50665         * debug/strcpy_chk.c: Likewise.
50666         * debug/strncat_chk.c: Likewise.
50667         * debug/strncpy_chk.c: Likewise.
50668         * string/memchr.c: Likewise.
50669         * string/memrchr.c: Likewise.
50670         * string/rawmemchr.c: Likewise.
50671         * string/strcat.c: Likewise.
50672         * string/strchr.c: Likewise.
50673         * string/strchrnul.c: Likewise.
50674         * string/strcmp.c: Likewise.
50675         * string/strcpy.c: Likewise.
50676         * string/strncat.c: Likewise.
50677         * string/strncmp.c: Likewise.
50678         * string/strncpy.c: Likewise.
50680 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50682         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50683         __builtin_memcopy is called when src and dest ranges are known to not
50684         overlap.
50686 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50688         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50689         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50690         fwd_align_merge macro call.
50691         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50692         bwd_align_merge macro call.
50693         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50695 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50697         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50698         bwd_align_merge macros.
50699         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50700         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50701         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50703 2012-04-18  David S. Miller  <davem@davemloft.net>
50705         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50707 2012-04-18  Andreas Jaeger  <aj@suse.de>
50709         [BZ# 6794]
50710         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50711         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50712         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50715         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50716         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50718         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50719         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50720         Adjust for changed ldbl-128 files.
50722         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50723         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50724         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50726 2012-04-17  David S. Miller  <davem@davemloft.net>
50728         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50730 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50732         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50733         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50734         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50735         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50736         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50737         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50739 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50741         [BZ #6794]
50742         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50743         * math/libm-test.inc: Add ilogb errno and exception tests.
50744         * math/w_ilogb.c: New file: ilogb wrapper.
50745         * math/w_ilogbf.c: New file: ilogbf wrapper.
50746         * math/w_ilogbl.c: New file: ilogbl wrapper.
50747         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50748         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50749         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50750         exception being thrown with 0.0 as argument.
50751         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50752         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50753         exception being thrown with 0.0 as argument.
50754         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50755         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50756         exception being thrown with 0.0 as argument.
50757         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50758         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50759         exception being thrown with 0.0 as argument.
50760         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50761         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50762         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50763         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50764         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50765         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50766         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50767         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50768         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50770 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50772         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50773         with altivec.
50775 2012-04-16  Marek Polacek  <polacek@redhat.com>
50777         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50779 2012-04-16  Marek Polacek  <polacek@redhat.com>
50781         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50782         operands of fdivp instruction.
50784 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50786         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50787         * elf/tst-auditmod3b.c: Likewise.
50788         * elf/tst-auditmod4b.c: Likewise.
50789         * elf/tst-auditmod5b.c: Likewise.
50790         * elf/tst-auditmod6b.c: Likewise.
50791         * elf/tst-auditmod6c.c: Likewise.
50792         * elf/tst-auditmod7b.c: Likewise.
50793         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50794         * sysdeps/x86_64/preconfigure.in: Likewise.
50795         * sysdeps/x86_64/preconfigure: Regenerated.
50797 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50799         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50800         __ILP32__.
50802 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50805         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50807 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50809         [BZ #13973]
50810         * locale/iso-639.def: Fix gl language name. Spotted by
50811         Yaron Shahrabani.
50813 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50815         [BZ #2074]
50816         * libio/libio.h (__io_write_fn): Update comment.
50818 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50820         [BZ #2074]
50821         * stdio.texi (Hook Functions): The user provided writer function
50822         is not allowed to return -1.
50824 2012-04-11  David S. Miller  <davem@davemloft.net>
50826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50828 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50830         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50831         Add a leading slash to rtkaio.
50833 2012-04-11  Jim Meyering  <meyering@redhat.com>
50835         [BZ #11959]
50836         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50837         It is not necessarily an error to ignore fwrite's return
50838         value.  One can reliably use ferror to test for errors after
50839         the fact.
50841 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50843         * bits/types.h (__snseconds_t): New type.
50844         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50846         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50848         (__SNSECONDS_T_TYPE): Likewise.
50849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50850         (__SNSECONDS_T_TYPE): Likewise.
50851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50852         (__SNSECONDS_T_TYPE): Likewise.
50854 2012-04-10  Andreas Jaeger  <aj@suse.de>
50856         [BZ #2636]
50857         * manual/time.texi (Processor Time): Return type of times is
50858         elapsed real time since an arbitrary point in the past.
50859         (CPU Time): Move CLK_TCK from here...
50860         (Processor Time): ...to here.  Correct description.
50861         * manual/conf.texi (Constants for Sysconf): Correct description of
50862         _SC_CLK_TCK.
50864 2012-04-10  David S. Miller  <davem@davemloft.net>
50866         [BZ #13967]
50867         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50868         where the is a gap between DT_REL(A) and DT_JMPREL.
50870 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50872         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50873         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50874         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50876 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50878         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50879         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50880         (dl_main): Handle --inhibit-cache.
50881         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50882         _dl_inhibit_cache.
50883         * elf/dl-load.c (_dl_map_object): Use it.
50884         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50886 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50888         [BZ #13872]
50889         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50890         (__ieee754_powl): Saturate large exponents rather than testing for
50891         overflow of y*log2(x).
50892         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50893         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50894         exceptions.
50896         [BZ #11521]
50897         * math/s_ctan.c: Include <float.h>.
50898         (__ctan): Avoid internal overflow or cancellation in calculating
50899         denominator.
50900         * math/s_ctanf.c: Likewise.
50901         * math/s_ctanl.c: Likewise.
50902         * math/s_ctanh.c: Likewise.
50903         * math/s_ctanhf.c: Likewise.
50904         * math/s_ctanhl.c: Likewise.
50905         * math/libm-test.inc (ctan_test): Add more tests.
50906         (ctanh_test): Likewise.
50907         * sysdeps/i386/fpu/libm-test-ulps: Update.
50908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50910 2012-04-09  Andreas Jaeger  <aj@suse.de>
50912         [BZ #6894]
50913         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50914         is an optional BSD extension.
50916         [BZ #10254]
50917         * manual/stdio.texi (Opening Streams): Document additional fopen
50918         parameters.
50920 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50922         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50923         %eax without telling the compiler.
50925 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50927         [BZ # 13963]
50928         * manual/install.texi: Use sourceware.org.
50930 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50932         [BZ #13873]
50933         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50934         (__ieee754_pow): Generate overflow and underflow using huge*huge
50935         and tiny*tiny rather than just returning constant infinity or zero
50936         for large exponents.
50937         * math/libm-test.inc (pow_test): Require overflow exceptions for
50938         applicable cases of large exponents.
50940         [BZ #706]
50941         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50942         (__ieee754_pow): Use iterative multiplication algorithm only for
50943         integer exponents with absolute value below 1024.  Check for odd
50944         integer exponents when using algorithm for real exponents.
50945         * math/libm-test.inc (pow_test): Add more tests.
50946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50948 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50950         [BZ #13705]
50951         * math/libm-test.inc (exp_test): Do not allow overflow exception
50952         on underflow test.
50954 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50956         [BZ #13705]
50957         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50958         instead of __kernel_standard_f.
50960 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50962         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50963         * sysdeps/x86_64/memset_chk.S: Likewise.
50965 2012-04-08  Andreas Jaeger  <aj@suse.de>
50967         [BZ #10153]
50968         * manual/startup.texi (Environment Access): Describe return value
50969         for putenv and setenv.
50971         [BZ #6895]
50972         * manual/filesys.texi (Directory Entries): Add description for
50973         DT_LNK.
50975         [BZ #6890]
50976         * manual/filesys.texi (Directory Entries): Clarify that it's file
50977         system not operating system in the description of DT_UNKNOWN.
50979         [BZ #6578]
50980         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50982 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50984         [BZ #6649]
50985         * manual/llio.texi (Opening and Closing Files): Add cross
50986         reference to explain mode argument.
50988 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50990         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50991         * sysdeps/x86_64/memset_chk.S: Likewise.
50993 2012-04-07  David S. Miller  <davem@davemloft.net>
50995         * elf/elf.h (R_SPARC_WDISP10): Define.
50996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50997         R_SPARC_SIZE32.
50998         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50999         R_SPARC_SIZE64 and R_SPARC_H34.
51001 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51003         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51004         conditions and remove no longer applicable assertion.
51006 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51008         * bits/byteswap.h: Include <features.h>.
51009         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51010         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51012 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51014         * bits/byteswap.h (__bswap_16): Removed.
51015         Include <bits/byteswap-16.h> to get __bswap_16.
51016         * sysdeps/i386/bits/byteswap.h: Likewise.
51017         * sysdeps/s390/bits/byteswap.h: Likewise.
51018         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51019         * bits/byteswap-16.h: New file.
51020         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51021         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51022         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51023         * string/Makefile (headers): Add bits/byteswap-16.h.
51025 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51027         [BZ #13895]
51028         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51029         extra indirection.
51030         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51031         * nss/tst-nss-static.c: New.
51033 2012-04-06  Robert Millan  <rmh@gnu.org>
51035         [BZ #6486]
51036         * manual/llio.texi (File Position Primitive): lseek
51037         refers to WHENCE when it really means OFFSET.
51039 2012-04-06  Andreas Jaeger  <aj@suse.de>
51041         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51042         strncmp declarations.
51044         * abilist/libc.abilist: Add __poll and __ppoll.
51046 2012-04-05  David S. Miller  <davem@davemloft.net>
51048         * scripts/check-local-headers.sh: Accept a host triplet in the
51049         path matched by the exclude regexp.
51051         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51052         definition.
51053         * sysdeps/powerpc/powerpc32/dl-machine.h
51054         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51055         * sysdeps/s390/s390-32/dl-machine.h
51056         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51057         * sysdeps/sparc/sparc32/dl-machine.h
51058         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51059         * sysdeps/sparc/sparc64/dl-machine.h
51060         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51062         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51063         lazy binding.
51064         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51065         undefined symbol errors.
51067         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51068         DT_NEEDED entries.
51070 2012-04-05  Michael Matz  <matz@suse.de>
51072         [BZ #13592]
51073         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51075 2012-04-05  Andreas Jaeger  <aj@suse.de>
51077         [BZ #13908]
51078         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51079         comment.
51081 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51083         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51084         which ROUND is no valid rounding mode.
51086 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51088         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51089         read again.
51090         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51092 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51094         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51095         an exception using FPU order intentionally.
51097 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51099         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51100         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51101         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51102         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51104 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51106         [BZ #12340]
51107         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51108         EINVAL when BUFLEN is too smal.
51110 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51112         [BZ #13553]
51113         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51114         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51116 2012-04-03  Andreas Jaeger  <aj@suse.de>
51118         [BZ #13938]
51119         * manual/setjmp.texi (System V contexts): Fix sentence.
51121         [BZ #13926]
51122         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51123         New macro for this case.
51124         [!__GNUC__] (__bswap_64): New inline function for this case.
51125         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51126         * bits/byteswap.h: Likewise.
51127         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51128         ull, guard with __GLIBC_HAVE_LONG_LONG.
51130         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51131         __GLIBC_HAVE_LONG_LONG.
51133         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51134         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51136 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51138         [BZ #13691]
51139         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51140         inptr and inend, rather than using last_ch.
51142 2012-04-02  David S. Miller  <davem@davemloft.net>
51144         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51145         * stdio-common/printf-parse.h (read_int): Change return type to
51146         'int', return -1 on INT_MAX overflow.
51147         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51148         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51149         overflows INT_MAX.  Check for overflow of in-format-string precision
51150         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51151         SIZE_MAX not INT_MAX for integer overflow test.
51152         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51153         skip the construct in the format string but do not record anything.
51154         * stdio-common/bug22.c: Adjust to test both width/prevision
51155         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51156         explicitly for proper errno values.
51158 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51160         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51161         CHAR_MAX.
51162         * string/test-strcmp.c [! WIDE]: Likewise.
51163         * time/tst-mktime2.c: Likewise for INT_MAX.
51164         * string/test-string.h: #include <sys/param.h> for MIN.
51166         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51167         * sysdeps/i386/init-first.c (init): Likewise.
51168         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51169         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51170         * sysdeps/sh/init-first.c (init): Likewise.
51172 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51174         * po/ru.po: Update from translation team.
51175         * po/vi.po: Likewise.
51177 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51179         * resolv/nss_dns/dns-host.c: Merge copyright years.
51181 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51183         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51184         Optimize memcpy with prefetch if
51185         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51186         src, dst pointers have unequal 16 byte alignments.
51188 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51190         [BZ #13928]
51191         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51192         from a CNAME entry and return the minimum ttl for the query.
51193         (gaih_getanswer_slice): Likewise.
51195 2012-03-30  Jeff Law  <law@redhat.com>
51197         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51198         due to long keys.
51199         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51200         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51202         * resolv/nss_dns/dns-host.c: Update copyright year.
51204 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51206         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51207         requests to save a system call.  Fix check that all bytes are sent.
51209         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51210         comments for sendmmsg.
51212 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51214         [BZ #13691]
51215         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51216         with only 1 character between 0x0041 and 0x01b0.
51217         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51218         * wcsmbs/tst-mbsnrtowcs.c: New file.
51220 2012-03-29  David S. Miller  <davem@davemloft.net>
51222         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51223         small copies by hand.
51225 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51227         [BZ #13761]
51228         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51229         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51230         group memberships.
51232 2012-03-28  David S. Miller  <davem@davemloft.net>
51234         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51235         that branches into memcpy.
51236         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51238         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51239         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51241         bits.
51242         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51243         implementation too.
51244         * sysdeps/sparc/mempcpy.S: New file.
51246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51247         the IFUNC routine in the libc case.
51248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51250         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51251         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51252         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51253         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51254         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51255         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51256         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51257         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51259         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51260         loop to 256 bytes instead of 64 bytes and fix test signedness.
51262         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51263         * sysdeps/sparc/sparc32/Makefile: rather than here...
51264         * sysdeps/sparc/sparc64/Makefile: and here.
51266 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51268         * malloc/mallocbug.c: Avoid warnings about unused variables.
51270 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51272         [BZ #13760]
51273         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51274         in the right place. Discard and retry query if response is
51275         larger than input buffer size.
51277 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51279         [BZ #369]
51280         [BZ #2678]
51281         [BZ #3866]
51282         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51283         x for large integer exponent.
51284         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51285         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51286         sign of result as needed afterwards.
51287         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51288         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51289         result for underflowing pow the same as for overflow.
51290         (__kernel_standard_l): Handle powl overflow and underflow here
51291         rather than calling __kernel_standard.
51292         * math/libm-test.inc (pow_test): Add more tests.
51294         [BZ #3868]
51295         [BZ #13879]
51296         [BZ #13910]
51297         [BZ #13911]
51298         [BZ #13912]
51299         [BZ #13913]
51300         [BZ #13915]
51301         [BZ #13916]
51302         [BZ #13917]
51303         [BZ #13918]
51304         [BZ #13919]
51305         [BZ #13920]
51306         [BZ #13921]
51307         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51308         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51309         (__kernel_standard_l): New function.
51310         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51311         __kernel_standard.
51312         * math/w_acosl.c (__acosl): Likewise.
51313         * math/w_asinl.c (__asinl): Likewise.
51314         * math/w_atan2l.c (__atan2l): Likewise.
51315         * math/w_atanhl.c (__atanhl): Likewise.
51316         * math/w_coshl.c (__coshl): Likewise.
51317         * math/w_exp10l.c (__exp10l): Likewise.
51318         * math/w_exp2l.c (__exp2l): Likewise.
51319         * math/w_fmodl.c (__fmodl): Likewise.
51320         * math/w_hypotl.c (__hypotl): Likewise.
51321         * math/w_j0l.c (__j0l, __y0l): Likewise.
51322         * math/w_j1l.c (__j1l, __y1l): Likewise.
51323         * math/w_jnl.c (__jnl, __ynl): Likewise.
51324         * math/w_lgammal.c (__lgammal): Likewise.
51325         * math/w_log10l.c (__log10l): Likewise.
51326         * math/w_log2l.c (__log2l): Likewise.
51327         * math/w_logl.c (__logl): Likewise.
51328         * math/w_powl.c (__powl): Likewise.
51329         * math/w_remainderl.c (__remainderl): Likewise.
51330         * math/w_scalbl.c (sysv_scalbl): Likewise.
51331         * math/w_sinhl.c (__sinhl): Likewise.
51332         * math/w_sqrtl.c (__sqrtl): Likewise.
51333         * math/w_tgammal.c (__tgammal): Likewise.
51334         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51335         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51336         * math/libm-test.inc (acos_test): Add more tests.
51337         (acosh_test): Likewise.
51338         (asin_test): Likewise.
51339         (atanh_test): Likewise.
51340         (exp_test): Likewise.
51341         (exp10_test): Likewise.
51342         (exp2_test): Likewise.
51343         (expm1_test): Likewise.
51344         (lgamma_test): Likewise.
51345         (log_test): Likewise.
51346         (log10_test): Likewise.
51347         (log1p_test): Likewise.
51348         (log2_test): Likewise.
51349         (pow_test): Do not allow some spurious overflow exceptions.
51350         (sqrt_test): Add more tests.
51351         (tgamma_test): Likewise.
51352         (y0_test): Likewise.
51353         (y1_test): Likewise.
51354         (yn_test): Likewise.
51356 2012-03-27  Anton Blanchard  <anton@samba.org>
51358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51359         MAP_HUGETLB.
51360         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51361         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51362         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51364 2012-03-27  David S. Miller  <davem@davemloft.net>
51366         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51368         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51369         have-as-vis3 check.
51371 2012-03-27  Andreas Jaeger  <aj@suse.de>
51373         * sysdeps/x86_64/elf/configure.in: Moved to ...
51374         * sysdeps/x86_64/configure.in: ... here.
51375         * sysdeps/x86_64/elf/start.S: Moved to ...
51376         * sysdeps/x86_64/start.S: ... here.
51377         * sysdeps/x86_64/elf/configure: Delete.
51379         * sysdeps/x86_64/configure.in: Merge contents from
51380         sysdeps/i386/configure.in (without i686 check).
51382         * sysdeps/i386/elf/Versions: Merge into ...
51383         * sysdeps/i386/Versions: ... this.
51384         * sysdeps/i386/elf/Versions: Delete file.
51385         * sysdeps/i386/elf/start.S: Moved to ...
51386         * sysdeps/i386/start.S: ...here.
51387         * sysdeps/i386/elf/configure.in: Merge into...
51388         * sysdeps/i386/configure.in: ...here.
51389         * sysdeps/i386/elf/configure.in: Delete file.
51390         * sysdeps/i386/elf/configure: Delete file.
51392         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51393         * debug/backtracesyms.c: ... here.
51394         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51395         * debug/backtracesymsfd.c: ... here.
51396         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51397         * sysdeps/generic/ifunc-sel.h: ... here.
51399         * sysdeps/unix/i386/start.c: Delete file.
51400         * sysdeps/unix/sparc/start.c: Delete file.
51401         * sysdeps/unix/start.c: Delete file.
51403         * sysdeps/sh/elf/configure.in: Moved to ...
51404         * sysdeps/sh/configure.in: ... here.
51405         * sysdeps/sh/elf/start.S: Moved to ...
51406         * sysdeps/sh/start.S: ... here.
51407         * sysdeps/sh/elf/configure: Delete file.
51409         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51410         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51411         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51412         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51413         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51414         * sysdeps/powerpc/powerpc64/start.S: here.
51415         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51416         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51417         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51418         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51419         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51421         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51422         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51423         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51424         * sysdeps/powerpc/powerpc32/start.S: ... here.
51425         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51426         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51427         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51429         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51430         * sysdeps/powerpc/ifunc-sel.h: ... here.
51431         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51432         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51434         * sysdeps/sparc/elf/configure.in: Moved to ...
51435         * sysdeps/sparc/configure.in: ... here.
51436         * sysdeps/sparc/elf/configure: Delete file.
51437         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51438         * sysdeps/sparc/sparc32/start.S: ... here.
51439         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51440         * sysdeps/sparc/sparc64/start.S: ... here.
51441         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51442         * sysdeps/sparc/sparc32/Makefile: ... this.
51443         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51444         * sysdeps/sparc/sparc64/Makefile: ... this.
51446         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51447         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51448         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51449         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51450         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51451         * sysdeps/s390/s390-32/setjmp.S: ... here.
51452         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51453         * sysdeps/s390/s390-32/configure.in: ... here.
51454         * sysdeps/s390/s390-32/elf/configure: Delete file.
51455         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51456         * sysdeps/s390/s390-32/start.S: ... here.
51458         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51459         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51460         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51461         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51462         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51463         * sysdeps/s390/s390-64/setjmp.S: ... here.
51464         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51465         * sysdeps/s390/s390-64/configure.in: ... here
51466         * sysdeps/s390/s390-64/elf/configure: Delete file.
51467         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51468         * sysdeps/s390/s390-64/start.S: ... here.
51469         * sysdeps/s390/s390-64/elf/configure: Delete.
51471         * configure.in: Remove support for elf directories in sysdeps.
51473         * configure: Regenerated.
51474         * sysdeps/i386/configure: Regenerated.
51475         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51476         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51477         * sysdeps/s390/s390-32/configure: Regenerated.
51478         * sysdeps/s390/s390-64/configure: Regenerated.
51479         * sysdeps/sh/configure: Regenerated.
51480         * sysdeps/sparc/configure: Regenerated.
51481         * sysdeps/x86_64/configure: Regenerated.
51483 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51487         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51488         denormal result into account.
51490 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51492         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51493         Reported by Allan McRae <allan@archlinux.org>.
51495 2012-03-23  Jeff Law  <law@redhat.com>
51497         * nss/getnssent.c (__nss_getent): Fix typo.
51499 2012-03-23  David S. Miller  <davem@davemloft.net>
51501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51503 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51505         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51506         to pad to uint64_t for each field.
51507         (dl_tls_index): Replace unsigned long with uint64_t.
51509 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51510         Paul Pluzhnikov  <ppluzhnikov@google.com>
51512         [BZ #6528]
51513         * grp/Makefile (otherlibs): Don't set it.
51514         * inet/Makefile (otherlibs): Likewise.
51515         * login/Makefile (otherlibs): Likewise.
51516         * nscd/Makefile (otherlibs): Likewise.
51517         * posix/Makefile (otherlibs): Likewise.
51518         * pwd/Makefile (otherlibs): Likewise.
51519         * rt/Makefile (otherlibs): Likewise.
51520         * sunrpc/Makefile (otherlibs): Likewise.
51521         * nss/Makefile (otherlibs): Likewise.
51522         Add libnss_files to routines and static-only-routines.
51523         ($(objpfx)getent): Remove rule.
51524         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51525         static-only-routines.
51527 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51529         [BZ #13892]
51530         * math/s_cexp.c: Include <float.h>.
51531         (__cexp): Handle exp result overflowing not necessarily
51532         overflowing both real and imaginary parts of result.
51533         * math/s_cexpf.c: Likewise.
51534         * math/s_cexpl.c: Likewise.
51535         * math/libm-test.inc (cexp_test): Add more tests.
51536         * sysdeps/i386/fpu/libm-test-ulps: Update.
51537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51539 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51541         * include/link.h (ELFW): New macro.
51542         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51543         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51545 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51547         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51548         with uint64_t.
51550 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51552         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51553         declaration.
51554         (struct La_x32_retval): Likewise.
51556 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51558         * sysdeps/x86_64/preconfigure.in: New file.
51559         * sysdeps/x86_64/preconfigure: New generated file.
51561 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #13824]
51564         * math/e_exp2l.c: Include <float.h>.
51565         (__ieee754_exp2l): Handle overflow and underflow cases
51566         separately.  Only pass fractional part of argument to
51567         __ieee754_expl.
51568         * math/libm-test.inc (exp2_test): Add more tests.
51570         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51571         negating x to take absolute value.
51572         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51573         Likewise.
51574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51576         Likewise.
51577         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51578         computing low part if x was negated.
51579         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51581 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51583         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51584         la_x32_gnu_pltexit.
51585         (pltexit): Cast int_retval to ptrdiff_t.
51586         * elf/tst-auditmod3b.c: Likewise.
51587         * elf/tst-auditmod4b.c: Likewise.
51588         * elf/tst-auditmod5b.c: Likewise.
51589         * elf/tst-auditmod6b.c: Likewise.
51590         * elf/tst-auditmod6c.c: Likewise.
51591         * elf/tst-auditmod7b.c: Likewise.
51593         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51594         and x32_gnu_pltexit.
51596         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51597         __ELF_NATIVE_CLASS.
51598         (La_x32_regs): New macro.
51599         (La_x32_retval): Likewise.
51600         (la_x32_gnu_pltenter): New function prototype.
51601         (la_x32_gnu_pltexit): Likewise.
51603 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51606         exponent.
51608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51610         * configure.in (libc_cv_cc_nofma): Check for option to disable
51611         generation of FMA instructions.
51612         * configure: Regenerate.
51613         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51614         * sysdeps/ieee754/dbl-64/Makefile: New file.
51615         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51616         Remove brandred-fma4.
51617         (CFLAGS-brandred-fma4.c): Remove.
51618         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51619         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51620         define.
51621         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51622         define.
51624 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51626         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51627         LLONG_MAX != LONG_MAX.
51628         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51629         (_fitoa_word): Likewise.
51630         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51631         LLONG_MAX != LONG_MAX.
51632         * stdio-common/_itowa.h: Include <_itoa.h>.
51633         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51634         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51635         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51636         only if not defined.
51637         (_ITOA_WORD_TYPE): Likewise.
51638         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51639         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51641 2012-03-21  David S. Miller  <davem@davemloft.net>
51643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51645 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51647         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51648         of x86_64 when setting libc_cv_slibdir, libdir and
51649         libc_cv_localedir.
51650         * sysdeps/unix/sysv/linux/configure: Regenerated.
51652 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51654         * manual/lang.texi (Old Varargs): Remove section.
51655         (How Variadic): Update menu.
51656         (va_start): Do not mention varargs.h.
51658 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51659             Joseph Myers  <joseph@codesourcery.com>
51661         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51662         link test.
51663         * configure: Regenerated.
51665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51667         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51668         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51669         conformtest.pl
51671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51673         * NOTES: Remove.
51674         * Makefile (files-for-dist): Remove NOTES.
51675         (NOTES): Remove rule.
51676         * README: Don't refer to NOTES.
51677         * manual/creature.texi: Don't include macros.texi.
51678         * manual/intro.texi (creature.texi): Remove comment referring to
51679         NOTES.
51681         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51682         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51683         * configure: Regenerated.
51684         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51685         LIBC_TRY_CC_OPTION.
51686         (libc_cv_as_i686): Likewise.
51687         (libc_cv_cc_avx): Likewise.
51688         (libc_cv_cc_sse2avx): Likewise.
51689         (libc_cv_cc_fma4): Likewise.
51690         (libc_cv_cc_novzeroupper): Likewise.
51691         * sysdeps/i386/configure: Regenerated.
51693         [BZ #13883]
51694         * sysdeps/i386/fpu/s_cexp.S: Remove.
51695         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51696         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51697         * math/libm-test.inc (cexp_test): Add more tests.
51698         * sysdeps/i386/fpu/libm-test-ulps: Update.
51699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51701 2012-03-21  Allan McRae  <allan@archlinux.org>
51703         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51705 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51707         [BZ #13871]
51708         * math/w_exp2.c: Do not include <float.h>.
51709         (o_threshold, u_threshold): Remove.
51710         (__exp2): Calculate result before checking finiteness and calling
51711         __kernel_standard.
51712         * math/w_exp2f.c: Likewise.
51713         * math/w_exp2l.c: Likewise.
51714         * math/libm-test.inc (exp2_test): Require overflow exception for
51715         1e6 input.
51717         [BZ #3866]
51718         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51719         range of signed 64-bit integers before using fistpll.  Remove
51720         checks for whether integers fit in mantissa bits.
51721         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51722         the range of signed 32-bit integers before using fistpl.  Remove
51723         checks for whether integers fit in mantissa bits.
51724         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51725         (__ieee754_powl): Test for y outside the range of signed 64-bit
51726         integers before using fistpll.  Reduce 64-bit values to 63-bit
51727         ones as needed.
51728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51729         divide-by-zero is raised for zero to large negative powers.
51730         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51731         (__ieee754_powl): Test for y outside the range of signed 64-bit
51732         integers before using fistpll.  Reduce 64-bit values to 63-bit
51733         ones as needed.
51734         * math/libm-test.inc (pow_test): Add more tests.
51736 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51738         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51739         <stdio-common/_itoa.h>.
51740         * debug/segfault.c: Likewise.
51741         * elf/dl-cache.c: Likewise.
51742         * elf/dl-minimal.c: Likewise.
51743         * elf/dl-misc.c: Likewise.
51744         * elf/dl-sysdep.c: Likewise.
51745         * elf/dl-version.c: Likewise.
51746         * elf/rtld.c: Likewise.
51747         * hurd/hurdsock.c: Likewise.
51748         * hurd/lookup-retry.c: Likewise.
51749         * malloc/malloc.c: Likewise.
51750         * malloc/mtrace.c: Likewise.
51751         * nscd/nscd_getgr_r.c: Likewise.
51752         * nscd/nscd_getpw_r.c: Likewise.
51753         * nscd/nscd_getserv_r.c: Likewise.
51754         * posix/getopt_init.c: Likewise.
51755         * posix/wordexp.c: Likewise.
51756         * stdio-common/_itoa.c: Likewise.
51757         * stdio-common/printf_fphex.c: Likewise.
51758         * stdio-common/vfprintf.c: Likewise.
51759         * string/_strerror.c: Likewise.
51760         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51761         * sysdeps/i386/i686/hp-timing.h: Likewise.
51762         * sysdeps/mach/_strerror.c: Likewise.
51763         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51764         * sysdeps/mach/hurd/sethostid.c: Likewise.
51765         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51766         * sysdeps/mach/xpg-strerror.c: Likewise.
51767         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51769         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51770         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51771         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51772         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51773         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51774         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51775         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51776         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51777         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51778         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51779         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51780         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51781         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51782         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51783         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51784         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51785         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51786         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51787         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51789         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51791         * stdio-common/_itoa.h: Moved to ...
51792         * sysdeps/generic/_itoa.h: Here.
51794         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51796         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51797         instead of "_itoa.h" and "_itowa.h".
51798         * stdio-common/vfprintf.: Likewise.
51800 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51802         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51803         <bits/wordsize.h>.
51804         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51805         (__signbit): Likwise.
51806         (llrintf): Likwise.
51807         (llrint): Likwise.
51809 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51811         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51812         __WORDSIZE != 64.
51814 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51816         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51817         OVERFLOW_EXCEPTION_OK.
51818         * math/libm-test.inc ("Philosophy"): Update comment about
51819         exception testing.
51820         (OVERFLOW_EXCEPTION): Define.
51821         (OVERFLOW_EXCEPTION_OK): Likewise.
51822         (INVALID_EXCEPTION_OK): Renumber.
51823         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51824         (IGNORE_ZERO_INF_SIGN): Likewise.
51825         (test_exceptions): Handle FE_OVERFLOW.
51826         (exp10_test): Expect overflow exceptions.
51827         (exp2_test): Likewise.
51828         (expm1_test): Likewise.
51829         (nextafter_test): Likewise.
51830         (pow_test): Likewise.
51831         (scalbn_test): Likewise.
51832         (scalbln_test): Likewise.
51834 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51836         * sysdeps/x86_64/bits/atomic.h
51837         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51838         64bit integer.
51839         (atomic_exchange_acq): Likewise.
51840         (__arch_exchange_and_add_body): Likewise.
51841         (__arch_add_body): Likewise.
51842         (atomic_add_negative): Likewise.
51843         (atomic_add_zero): Likewise.
51845 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51847         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51848         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51852         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51853         Check __x86_64__ instead of __WORDSIZE.
51855 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51857         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51859 2012-03-19  David S. Miller  <davem@davemloft.net>
51861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51863         * sysdeps/sparc/fpu/fenv_private.h: New file.
51864         * sysdeps/sparc/fpu/math_private.h: Use it.
51865         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51866         Remove.
51867         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51868         (libc_feholdexcept_setroundl): Remove.
51869         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51870         Remove.
51871         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51872         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51874 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51876         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51877         int64_t instead of long int.
51878         (INSERT_WORDS64): Likwise.
51880 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51882         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51883         _Unwind_GetCFA return to _Unwind_Ptr first.
51885 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51887         [BZ #13629]
51888         * math/s_clog.c: Include <float.h>.
51889         (__clog): Scale large or subnormal inputs.
51890         * math/s_clogf.c: Likewise.
51891         * math/s_clogl.c: Likewise.
51892         * math/s_clog10.c: Include <float.h>.
51893         (M_LOG10_2): Define.
51894         (__clog10): Scale large or subnormal inputs.
51895         * math/s_clog10f.c: Likewise.
51896         * math/s_clog10l.c: Likewise.
51897         * math/libm-test.inc (clog_test): Add more tests.
51898         (clog10_test): Likewise.
51899         * sysdeps/i386/fpu/libm-test-ulps: Update.
51900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51902         [BZ #11451]
51903         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51904         x and y.
51905         * math/libm-test.inc (atan2_test): Add another test.
51907         * Makerules (common-objdir-compile): Remove.
51908         * sysdeps/unix/Makefile (config-generated): Do not add
51909         $(unix-generated) to variable.
51910         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51911         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51912         Remove rule.
51913         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51914         Likewise.
51915         [generic bits/local_lim.h] (before-compile): Do not append to
51916         variable.
51917         [generic bits/local_lim.h] (common-generated): Likewise.
51918         [generic sys/param.h] (before-compile): Do not append to variable.
51919         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51920         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51921         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51922         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51923         include.
51924         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51925         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51926         [generic sys/param.h] ($(addprefix
51927         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51928         [generic sys/param.h] (common-generated): Do not append to
51929         variable.
51930         [generic sys/param.h] (sysdep_headers): Likewise.
51931         [generic bits/errno.h] (before-compile): Do not append to
51932         variable.
51933         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51934         rule.
51935         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51936         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51937         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51938         [generic bits/errno.h] (common-generated): Do not append to
51939         variable.
51940         [generic bits/ioctls.h] (before-compile): Do not append to
51941         variable.
51942         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51943         rule.
51944         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51945         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51946         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51947         rule.
51948         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51949         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51950         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51951         [generic bits/ioctls.h] (common-generated): Do not append to
51952         variable.
51953         [generic sys/syscall.h] (syscall.h): Remove variable.
51954         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51955         rule.
51956         [generic sys/syscall.h] (before-compile): Do not append to
51957         variable.
51958         [generic sys/syscall.h] (common-generated): Likewise.
51959         * sysdeps/unix/errnos-tmpl.c: Remove file.
51960         * sysdeps/unix/errnos.awk: Likewise.
51961         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51962         * sysdeps/unix/ioctls.awk: Likewise.
51963         * sysdeps/unix/mk-local_lim.c: Likewise.
51964         * sysdeps/unix/snarf-ioctls: Likewise.
51966 2012-03-19  Richard Henderson  <rth@twiddle.net>
51968         * sysdeps/i386/fpu/fenv_private.h: New file.
51969         * sysdeps/i386/fpu/math_private.h: Use it.
51970         (math_opt_barrier, math_force_eval): Remove.
51971         (libc_feholdexcept_setround_53bit): Remove.
51972         (libc_feupdateenv_53bit): Remove.
51973         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51974         (math_opt_barrier, math_force_eval): Remove.
51975         (libc_feholdexcept): Remove.
51976         (libc_feholdexcept_setround): Remove.
51977         (libc_fetestexcept, libc_fesetenv): Remove.
51978         (libc_feupdateenv_test): Remove.
51979         (libc_feupdateenv, libc_feholdsetround): Remove.
51980         (libc_feresetround): Remove.
51982         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51983         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51985         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51986         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51987         (libc_feupdateenv_testl): New.
51988         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51989         (libc_feupdateenv_testf): New.
51990         (libc_feupdateenv): Use libc_feupdateenv_test.
51991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51992         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51994         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51995         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51996         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51997         (libc_feresetround_noex): New.
51998         (libc_feresetround_noexf): New.
51999         (libc_feresetround_noexl): New.
52000         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52001         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52002         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52003         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52004         SET_RESTORE_ROUND.
52005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52006         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52007         (__cos): Likewise.
52008         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52009         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52010         SET_RESTORE_ROUND_NOEX.
52011         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52012         SET_RESTORE_ROUND_NOEXF.
52013         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52014         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52015         (libc_feholdsetroundf): New.
52016         (libc_feresetround, libc_feresetroundf): New.
52018         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52019         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52020         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52022         * sysdeps/generic/math_private.h: Include <fenv.h>.
52023         (default_libc_feholdexcept): New.
52024         (default_libc_feholdexcept_setround): New.
52025         (default_libc_fesetenv, default_libc_feupdateenv): New.
52026         (libc_feholdexcept): Only define if undefined.
52027         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52028         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52029         (libc_feholdexcept_setroundl): Likewise.
52030         (libc_feholdexcept_setround_53bit): Likewise.
52031         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52032         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52033         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52034         (libc_feupdateenv_53bit): Likewise.
52035         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52036         (libc_feholdexcept): Convert from macro to inline function.
52037         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52038         (libc_fesetenv, libc_feupdateenv): Likewise.
52040         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52041         not previously defined.
52042         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52043         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52044         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52045         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52046         * sysdeps/ieee754/flt-32/math_private.h: New file.
52047         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52048         math_private.h below SET_FLOAT_WORD.
52049         (__isnan, __isinf_ns, __finite): Remove.
52050         (__isnanf, __isinf_nsf, __finitef): Remove.
52052 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52056 2012-03-17  David S. Miller  <davem@davemloft.net>
52058         [BZ #6471]
52059         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52060         for 2.16.
52062 2012-03-16  David S. Miller  <davem@davemloft.net>
52064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52065         warnings.
52067         [BZ #6471]
52068         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52069         properly.
52070         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52071         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52072         sysdep_routines when subdir is sysvipc.
52073         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52074         __getshmlba helper.
52076         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52080         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52081         [__LP64__].
52083 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52085         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52086         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52087         (__lround): Renamed to ...
52088         (__llround): This.  Replace long int with long long int.
52089         Define lround functions as aliases of llround functions.
52090         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52092 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52094         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52095         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52096         adresses to uintptr_t.  Replace "long int" and "unsigned long
52097         int" with "greg_t" on va_arg.
52099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52101         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52102         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52104         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52105         Move e_machine check before EI_CLASS check.  Handle x32
52106         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52107         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52108         SKIP_EM_IA_64 and include
52109         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52111         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52112         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52113         (add_system_dir): New macro.
52115         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52116         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52118 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52120         [BZ #2551]
52121         [BZ #2552]
52122         [BZ #2553]
52123         [BZ #2554]
52124         [BZ #2562]
52125         [BZ #2563]
52126         [BZ #2565]
52127         [BZ #2566]
52128         [BZ #2576]
52129         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52130         (y0): Likewise.
52131         * math/w_j0f.c (j0f): Likewise.
52132         (y0f): Likewise.
52133         * math/w_j0l.c (__j0l): Likewise.
52134         (__y0l): Likewise.
52135         * math/w_j1.c (j1): Likewise.
52136         (y1): Likewise.
52137         * math/w_j1f.c (j1f): Likewise.
52138         (y1f): Likewise.
52139         * math/w_j1l.c (__j1l): Likewise.
52140         (__y1l): Likewise.
52141         * math/w_jn.c (jn): Likewise.
52142         (yn): Likewise.
52143         * math/w_jnf.c (jnf): Likewise.
52144         (ynf): Likewise.
52145         * math/w_jnl.c (__jnl): Likewise.
52146         (__ynl): Likewise.
52147         * math/libm-test.inc (j0_test): Add more tests.
52148         (j1_test): Likewise.
52149         (jn_test): Likewise.  Add trailing semicolon to existing test.
52150         (y0_test): Likewise.
52151         (y1_test): Likewise.
52152         * sysdeps/i386/fpu/libm-test-ulps: Update.
52153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52155         [BZ #13851]
52156         [BZ #13854]
52157         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52158         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52159         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52160         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52161         (__tanl): Set errno for infinite argument.
52162         * sysdeps/i386/fpu/mptan.c: Remove.
52163         * sysdeps/i386/fpu/s_tan.S: Likewise.
52164         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52165         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52166         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52167         * math/libm-test.inc (tan_test): Add more tests and enable more
52168         tests for double and long double.
52169         * sysdeps/i386/fpu/libm-test-ulps: Update.
52170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52172 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52174         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52175         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52177 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52179         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52180         * configure.in: Use it for both main tree and add-ons.
52181         * configure: Regenerated.
52183 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52185         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52187 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52189         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52190         in comment.
52192         [BZ #13851]
52193         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52194         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52195         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52197         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52198         infinite argument.
52199         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52201         != 0 for prec == 2.
52202         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52203         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52204         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52205         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52206         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52207         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52208         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52209         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52210         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52211         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52212         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52213         * math/libm-test.inc (cos_test): Add more tests and enable more
52214         tests for long double.
52215         (sin_test): Likewise.
52216         (sincos_test): Likewise.
52217         * sysdeps/i386/fpu/libm-test-ulps: Update.
52218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52220 2012-03-16  David S. Miller  <davem@davemloft.net>
52222         * sysdeps/sparc/fpu/math_private.h: New file.
52224 2012-03-15  David S. Miller  <davem@davemloft.net>
52226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52227         file.
52228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52230         file.
52231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52237         sysdep routines.
52238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52240         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52241         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52243         * sysdeps/sparc/sparc-ifunc.h: New file.
52244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52245         sparc-ifunc.h
52246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52248         Likewise.
52249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52250         Likewise.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52255         Likewise.
52256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52261         Likewise.
52262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52263         Likewise.
52264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52282         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52283         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52284         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52285         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52286         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52287         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52289 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52291         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52292         scaling.
52293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52295 2012-03-15  Andreas Jaeger  <aj@suse.de>
52297         [BZ #13852]
52298         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52299         ieee754/flt-32 implementation for sin, cos and sincos.
52300         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52301         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52302         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52303         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52304         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52305         ieee754/flt-32 implementation for tan.
52307         * math/libm-test.inc (cos_test): Enable some large input tests for
52308         float as well
52309         (sin_test): Likewise.
52310         (sincos_test): Likewise.
52311         (tan_test): Add tests for large input.
52313         * sysdeps/i386/fpu/libm-test-ulps: Update.
52315 2012-03-15  Andreas Jaeger  <aj@suse.de>
52317         [BZ #13658]
52318         * math/libm-test.inc (cos_test): Add more test cases.
52319         (sin_test): Likewise.
52320         (sincos_test): Likewise.
52322 2012-03-15  Andreas Jaeger  <aj@suse.de>
52324         [BZ #13837]
52325         * math/libm-test.inc (cos_test): Add a test case for large input
52326         value.
52327         (sin_test): Likewise.
52328         (sincos_test): Likewise.
52330 2012-03-15  Andreas Jaeger  <aj@suse.de>
52331             Joseph Myers  <joseph@codesourcery.com>
52333         [BZ #13658]
52334         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52335         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52336         * sysdeps/i386/fpu/branred.c: Likewise.
52337         * sysdeps/i386/fpu/dosincos.c: Likewise.
52338         * sysdeps/i386/fpu/mpa.c: Likewise.
52339         * sysdeps/i386/fpu/s_cos.S: Likewise.
52340         * sysdeps/i386/fpu/s_sin.S: Likewise.
52341         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52342         * sysdeps/i386/fpu/sincos32.c: Likewise.
52344         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52345         Define.
52346         (libc_feupdateenv_53bit): Define.
52347         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52348         Define.
52349         (libc_feupdateenv_53bit): Define.
52351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52352         53 bit (without extend i386 double precision).
52354         * math/libm-test.inc (sincos_test): Add tests for large input.
52355         (sin): Likewise.
52356         (cos): Likewise.
52358         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52360 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52364 2012-03-15  David S. Miller  <davem@davemloft.net>
52366         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52367         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52368         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52369         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52374         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52379         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52382         file.
52383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52385         file.
52386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52388         file.
52389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52391         file.
52392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52394         fmin/fmax sysdep routines.
52395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52397 2012-03-14  David S. Miller  <davem@davemloft.net>
52399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52400         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52401         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52403         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52404         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52405         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52406         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52407         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52408         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52411         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52412         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52413         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52414         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52421         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52422         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52423         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52424         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52425         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52426         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52428         routines.
52429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52430         file.
52431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52433         file.
52434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52436         file.
52437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52439         file.
52440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52442         file.
52443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52445         file.
52446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52447         file.
52448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52449         file.
52450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52451         file.
52452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52453         New file.
52454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52455         file.
52456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52457         file.
52458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52460         file.
52461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52463         file.
52464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52466         file.
52467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52469         VIS3 routines.
52471         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52472         New file.
52474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52476         * sysdeps/sparc/configure.in: New file.
52477         * sysdeps/sparc/configure: Generate.
52478         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52479         * configure: Regenerate.
52480         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52481         * config.make.in (have-as-vis3): New.
52482         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52483         available use -Av9d instead of -Av9a.
52484         * sysdeps/sparc/sparc64/Makefile: Likewise.
52485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52487         New file.
52488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52489         file.
52490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52491         New file.
52492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52493         file.
52494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52497         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52498         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52500         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52501         fzeros/fnegs to load 0x80000000 into a float register instead of
52502         using the stack.
52503         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52505 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52508         bits/syscall.h.
52509         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52510         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52511         ($(inst_includedir)/bits/syscall.h): Remove rule.
52512         ($(objpfx)bits/syscall.d): Include instead of
52513         $(objpfx)syscall-list.d.
52514         (generated): Change syscall-list.h and syscall-list.d to
52515         bits/syscall.h and bits/syscall.d.
52517 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52519         [BZ #13846]
52520         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52522 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52524         [BZ #13841]
52525         * math/s_csqrt.c: Include <float.h>.
52526         (__csqrt): Scale large or subnormal inputs.
52527         * math/s_csqrtf.c: Likewise.
52528         * math/s_csqrtl.c: Likewise.
52529         * math/libm-test.inc (csqrt_test): Add more tests.
52530         * sysdeps/i386/fpu/libm-test-ulps: Update.
52531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52533         [BZ #13840]
52534         * math/libm-test.inc (hypot_test): Add more tests.
52536 2012-03-13  David S. Miller  <davem@davemloft.net>
52538         [BZ #13840]
52539         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52540         double-precision for the calculation instead of scaling.
52542 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52544         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52545         manipulate bits before adding and subtracting TWO52[sx].
52546         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52547         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52548         Likewise.
52549         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52551 2012-03-13  David S. Miller  <davem@davemloft.net>
52553         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52554         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52555         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52556         rtld-global-offsets.h
52557         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52559         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52560         large parameters.
52562         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52564         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52565         'err' in the ifdef scope in which it is actually used.
52567         * nss/nss_db/db-init.c: Include string.h
52569 2012-03-12  David S. Miller  <davem@davemloft.net>
52571         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52572         masking out of the most significant byte of random value used.
52573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52574         Fix coding style in previous change.
52576         * sysdeps/unix/sysv/linux/kernel-features.h
52577         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52578         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52579         expression.
52580         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52581         later.
52583 2012-03-11  David S. Miller  <davem@davemloft.net>
52585         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52586         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52588         for 'resultvar' otherwise things get truncated on 64-bit.
52590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52591         Fix masking out of the most significant byte of random value used.
52593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52595 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52599 2012-03-09  David S. Miller  <davem@davemloft.net>
52601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52602         variables with appropriate CPP guards.
52603         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52604         from the frame pointer, not the stack pointer.  Correct layout
52605         comments.  Fix test on resulting framesize and the management of
52606         the outregs buffer for pltexit.  Preserve floating point return
52607         values across _dl_call_pltexit call.
52608         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52609         framesize and the management of the outregs buffer for pltexit.
52610         Preserve floating point return values across _dl_call_pltexit
52611         call.
52612         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52613         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52614         (la_sparc64_gnu_pltexit): New functions.
52615         (print_exit): Fix format string for return register value.
52617 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52619         * sunrpc/Makefile (others): Add rpcgen.
52620         ($(objpfx)rpcgen): Remove special build rule and dependency on
52621         libc.
52622         * sunrpc/rpcgen.c: New file.
52624 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52626         [BZ #13673]
52627         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52628         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52629         * sysdeps/i386/crti.S: Likewise.
52630         * sysdeps/i386/crtn.S: Likewise.
52631         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52632         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52633         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52634         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52635         * sysdeps/sh/crti.S: Likewise.
52636         * sysdeps/sh/crtn.S: Likewise.
52637         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52639         [BZ #13673]
52640         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52641         with URL.
52642         * locale/programs/locfile-kw.gperf: Likewise.
52643         * locale/programs/charmap-kw.h: Regenerated.
52644         * locale/programs/locfile-kw.h: Likewise.
52646         [BZ #13673]
52647         * intl/plural.y: Replace FSF snail mail address with URL.
52648         * intl/plural.c: Regenerated.
52650 2012-03-09  Richard Henderson  <rth@twiddle.net>
52652         * include/math_private.h: Remove file.
52653         * math/math_private.h: Move file ...
52654         * sysdeps/generic/math_private.h: ... here.
52656         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52657         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52658         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52660         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52661         and <math_private.h>.
52662         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52663         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52664         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52665         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52666         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52667         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52670         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52673         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52674         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52676         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52677         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52678         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52679         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52680         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52681         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52682         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52683         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52684         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52686         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52687         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52688         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52689         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52691         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52692         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52693         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52694         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52695         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52696         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52705         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52706         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52708         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52709         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52710         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52711         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52712         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52713         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52714         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52715         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52716         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52717         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52718         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52720         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52721         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52722         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52723         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52725         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52726         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52727         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52728         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52729         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52730         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52731         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52732         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52733         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52734         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52735         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52736         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52740         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52741         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52742         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52743         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52744         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52745         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52746         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52749         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52750         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52751         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52752         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52753         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52754         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52755         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52756         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52757         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52758         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52759         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52760         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52761         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52762         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52763         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52764         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52765         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52766         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52767         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52768         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52769         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52770         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52771         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52772         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52773         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52774         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52775         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52776         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52777         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52778         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52779         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52780         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52781         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52782         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52783         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52784         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52785         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52786         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52787         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52788         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52789         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52790         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52791         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52792         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52793         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52794         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52795         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52796         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52797         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52798         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52799         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52800         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52801         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52802         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52803         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52804         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52805         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52806         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52807         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52808         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52809         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52810         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52811         * sysdeps/ieee754/k_standard.c: Likewise.
52812         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52813         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52814         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52815         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52816         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52817         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52818         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52819         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52820         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52821         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52822         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52823         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52824         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52825         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52826         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52827         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52828         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52829         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52830         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52831         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52832         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52833         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52834         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52835         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52836         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52837         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52838         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52839         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52840         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52842         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52843         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52844         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52845         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52846         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52847         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52848         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52849         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52850         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52851         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52852         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52853         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52854         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52855         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52856         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52857         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52858         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52860         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52861         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52862         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52863         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52864         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52865         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52866         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52867         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52868         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52869         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52870         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52871         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52872         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52873         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52874         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52875         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52876         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52877         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52878         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52879         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52880         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52881         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52882         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52884         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52886         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52889         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52890         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52891         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52892         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52893         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52894         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52895         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52896         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52897         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52898         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52899         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52900         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52903         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52904         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52905         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52906         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52908         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52909         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52911         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52916         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52917         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52918         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52919         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52920         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52921         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52922         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52923         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52924         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52925         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52926         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52927         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52928         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52929         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52930         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52931         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52932         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52933         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52934         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52935         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52936         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52937         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52938         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52939         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52940         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52941         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52942         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52943         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52944         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52946         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52947         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52948         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52949         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52950         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52951         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52952         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52953         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52954         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52955         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52956         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52957         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52958         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52959         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52960         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52961         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52962         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52964         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52966         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52968         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52972         * sysdeps/ieee754/s_lib_version.c: Likewise.
52973         * sysdeps/ieee754/s_matherr.c: Likewise.
52974         * sysdeps/ieee754/s_signgam.c: Likewise.
52975         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52976         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52977         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52978         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52979         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52980         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52981         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52982         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52983         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52984         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52985         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52986         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52987         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52988         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52989         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52990         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52991         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52992         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52993         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52997 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52999         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53000         * sunrpc/rpc_main.c: Likewise.
53001         * sunrpc/rpc_svcout.c: Likewise.
53003 2012-03-09  David S. Miller  <davem@davemloft.net>
53005         * include/math_private.h: New file.
53007 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53009         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53010         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53011         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53012         from <bits/socket_type.h>.
53013         (enum __socket_type): Don't define here.
53014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53016         bits/socket_type.h.
53018         [BZ #13566]
53019         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53020         checking __USE_GNU.
53022         * Makerules ($(inst_includedir)/%.h): New rule.
53023         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53024         (install-others): Remove variable setting.
53025         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53027 2012-03-08  Richard Henderson  <rth@twiddle.net>
53029         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53030         from macro to inline function; merge with the
53031         !__LIBC_INTERNAL_MATH_INLINES version.
53032         (__ieee754_sqrtf): Likewise.
53034         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53035         to inline function.
53036         (__rintf, __floor, __floorf): Likewise.
53038         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53039         macro to inline function.
53040         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53042         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53043         not <math/math_private.h>.
53045 2012-03-08  David S. Miller  <davem@davemloft.net>
53047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53048         copyright year.
53049         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53051 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53053         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53054         normalization.
53055         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53056         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53058 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53060         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53061         be defined individually, they must be defined as a block.  Define
53062         S for printing a string instead of hidint the different by using a
53063         macro for adding the 'l'.
53064         * stdio-common/tst-fphex-wide.c: Adjust.
53066 2012-03-07  Marek Polacek  <polacek@redhat.com>
53068         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53070 2012-03-08  Marek Polacek  <polacek@redhat.com>
53072         [BZ #13806]
53073         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53074         * stdio-common/tst-fphex.c: Define a few macros to make the
53075         test reusable.  Use them.
53076         * stdio-common/tst-fphex-wide.c: New file.
53078 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53080         [BZ #6911]
53081         * manual/macros.texi (gnusystems): New macro.
53082         (nongnusystems): Likewise.
53083         (gnulinuxhurdsystems): Likewise.
53084         (gnuhurdsystems): Likewise..
53085         (gnulinuxsystems): Likewise.
53086         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53087         variants of the GNU system, not "GNU system".
53088         * manual/conf.texi: Likewise.
53089         * manual/errno.texi: Likewise.  Update example of errno macro
53090         expansion.
53091         * manual/filesys.texi: Likewise.
53092         (getumask): Document as specific to GNU/Hurd.
53093         * manual/install.texi: Likewise.  Reword some references to
53094         GNU/Linux.
53095         * manual/intro.texi: Likewise.
53096         * manual/io.texi: Likewise.
53097         (File Name Portability): Detail which constraints are inapplicable
53098         to all GNU systems and which are only inapplicable to GNU/Hurd.
53099         * manual/job.texi: Likewise.
53100         * manual/llio.texi: Likewise.
53101         (O_NOCTTY): Document as present on GNU/Linux.
53102         * manual/maint.texi: Likewise.
53103         * manual/memory.texi: Likewise.
53104         * manual/pattern.texi: Likewise.
53105         * manual/pipe.texi: Likewise.
53106         * manual/process.texi: Likewise.
53107         * manual/resource.texi: Likewise.
53108         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53109         child on GNU/Hurd.
53110         * manual/setjmp.texi: Likewise.
53111         * manual/signal.texi: Likewise.
53112         * manual/startup.texi: Likewise.
53113         * manual/stdio.texi: Likewise.
53114         * manual/terminal.texi: Likewise.
53115         (ONLCR): Document as POSIX.
53116         (OXTABS): Document availability on GNU/Linux as XTABS.
53117         (ONOEOT): Document availability separately from other bits.
53118         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53119         * manual/time.texi: Likewise.
53120         * manual/users.texi: Likewise.
53121         * INSTALL: Regenerated.
53122         * sysdeps/gnu/errlist.c: Regenerated.
53124         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53125         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53126         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53127         puts.
53128         * configure: Regenerated.
53130 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53132         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53133         default includes instead of AC_HEADER_CHECK.
53134         * sysdeps/i386/configure: Regenerated.
53136         [BZ #10716]
53137         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53138         * math/s_cacoshf.c (__cacoshf): Likewise.
53139         * math/s_cacoshl.c (__cacoshl): Likewise.
53140         * math/s_casinh.c (__casinh): Set signs of result from argument.
53141         * math/s_casinhf.c (__casinhf): Likewise.
53142         * math/s_casinhl.c (__casinhl): Likewise.
53143         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53144         (casinh_test): Add more tests.
53145         * sysdeps/i386/fpu/libm-test-ulps: Update.
53146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53148 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53150         * po/zh_TW.po: Update from translation team.
53152         * login/Makefile (distribute): Remove variable.
53153         * catgets/Makefile: Likewise.
53154         * mach/Makefile: Likewise.
53155         * malloc/Makefile: Likewise.
53156         * misc/Makefile: Likewise.
53157         * iconv/Makefile: Likewise.
53158         * nscd/Makefile: Likewise.
53159         * hurd/Makefile: Likewise.
53160         * manual/Makefile: Likewise.
53161         * locale/Makefile: Likewise.
53162         * intl/Makefile: Likewise.
53163         * conform/Makefile: Likewise.
53164         * nss/Makefile: Likewise.
53165         * time/Makefile: Likewise.
53166         * soft-fp/Makefile: Likewise.
53167         * dirent/Makefile: Likewise.
53168         * gmon/Makefile: Likewise.
53169         * po/Makefile: Likewise.
53170         * rt/Makefile: Likewise.
53171         * socket/Makefile: Likewise.
53172         * math/Makefile: Likewise.
53173         * signal/Makefile: Likewise.
53174         * debug/Makefile: Likewise.
53175         * elf/Makefile: Likewise.
53176         * timezone/Makefile: Likewise.
53177         * stdlib/Makefile: Likewise.
53178         * iconvdata/Makefile: Likewise.
53179         * sunrpc/Makefile: Likewise.
53180         * io/Makefile: Likewise.
53181         * argp/Makefile: Likewise.
53182         * inet/Makefile: Likewise.
53183         * hesiod/Makefile: Likewise.
53184         * grp/Makefile: Likewise.
53185         * csu/Makefile: Likewise.
53186         * wctype/Makefile: Likewise.
53187         * crypt/Makefile: Likewise.
53188         * libio/Makefile: Likewise.
53189         * string/Makefile: Likewise.
53190         * nis/Makefile: Likewise.
53191         * resolv/Makefile: Likewise.
53192         * stdio-common/Makefile: Likewise.
53193         * wcsmbs/Makefile: Likewise.
53194         * dlfcn/Makefile: Likewise.
53195         * posix/Makefile: Likewise.
53197         [BZ #6959]
53198         * timezone/Makefile: Don't install timezone files, just the programs
53199         and scripts.
53201 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53203         * nss/databases.def: Add missing gshadow entry.
53205         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53207 2012-03-06  Marek Polacek  <polacek@redhat.com>
53209         [BZ #13726]
53210         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53211         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53212         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53213         * stdio-common/tst-long-dbl-fphex.c: New file.
53215 2012-03-06  David S. Miller  <davem@davemloft.net>
53217         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53218         (set_obp_int): New function.
53219         (get_obp_int): New function.
53220         (__get_clockfreq_via_dev_openprom): Likewise.
53221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53222         Avoid unused variable warnings on 'val' and use builtin_expect.
53223         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53224         __builtin_expect.
53225         (INLINE_CLONE_SYSCALL): Likewise.
53227 2012-03-05  David S. Miller  <davem@davemloft.net>
53229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53231 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53236         only for |x| >= 40.
53237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53239 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53242         Replace gettimeofday with __vdso_gettimeofday.
53244         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53245         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53246         __vdso_clock_gettime and __vdso_getcpu.
53248         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53249         time with __vdso_time.
53251 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53253         * manual/lang.texi (size_t): Note types to which size_t may be
53254         equivalent with the GNU C Library, but do not describe when
53255         differences between them are significant.
53257 2012-03-05  Andreas Jaeger  <aj@suse.de>
53259         * sysdeps/i386/fpu/libm-test-ulps: Update.
53261 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53263         [BZ #3976]
53264         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53265         (__ieee754_pow): Save and restore rounding mode and use
53266         round-to-nearest for main computations.
53267         * math/libm-test.inc (pow_test_tonearest): New function.
53268         (pow_test_towardzero): Likewise.
53269         (pow_test_downward): Likewise.
53270         (pow_test_upward): Likewise.
53271         (main): Call the new functions.
53272         * sysdeps/i386/fpu/libm-test-ulps: Update.
53273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53275         [BZ #3976]
53276         * math/libm-test.inc (cosh_test_tonearest): New function.
53277         (cosh_test_towardzero): Likewise.
53278         (cosh_test_downward): Likewise.
53279         (cosh_test_upward): Likewise.
53280         (sinh_test_tonearest): Likewise.
53281         (sinh_test_towardzero): Likewise.
53282         (sinh_test_downward): Likewise.
53283         (sinh_test_upward): Likewise.
53284         (main): Call the new functions.
53285         * sysdeps/i386/fpu/libm-test-ulps: Update.
53286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53288 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53290         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53291         default stack guard is set in last bytes.
53292         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53294 2012-03-05  Kees Cook  <keescook@chromium.org>
53296         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53298         [BZ #13656]
53299         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53300         possibly allocate from heap instead of stack.
53301         * stdio-common/bug-vfprintf-nargs.c: New file.
53302         * stdio-common/Makefile (tests): Add nargs overflow test.
53304 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53308 2012-03-03  Marek Polacek  <polacek@redhat.com>
53310         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53311         * math/math_private.h: Likewise.
53312         * stdlib/tst-strtod.c: Likewise.
53313         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53314         * sysdeps/x86_64/bits/atomic.h: Likewise.
53316 2012-03-02  David S. Miller  <davem@davemloft.net>
53318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53322         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53323         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53324         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53325         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53327 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53329         [BZ #13792]
53330         * manual/examples/README: New file, says the example source files
53331         can be used under GPL>=2.
53332         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53333         line containing just "*/".
53334         * manual/examples/add.c: Add copyright header (GPL>=2).
53335         * manual/examples/argp-ex1.c: Likewise.
53336         * manual/examples/argp-ex2.c: Likewise.
53337         * manual/examples/argp-ex3.c: Likewise.
53338         * manual/examples/argp-ex4.c: Likewise.
53339         * manual/examples/atexit.c: Likewise.
53340         * manual/examples/db.c: Likewise.
53341         * manual/examples/dir.c: Likewise.
53342         * manual/examples/dir2.c: Likewise.
53343         * manual/examples/execinfo.c: Likewise.
53344         * manual/examples/filecli.c: Likewise.
53345         * manual/examples/filesrv.c: Likewise.
53346         * manual/examples/fmtmsgexpl.c: Likewise.
53347         * manual/examples/genpass.c: Likewise.
53348         * manual/examples/inetcli.c: Likewise.
53349         * manual/examples/inetsrv.c: Likewise.
53350         * manual/examples/isockad.c: Likewise.
53351         * manual/examples/longopt.c: Likewise.
53352         * manual/examples/memopen.c: Likewise.
53353         * manual/examples/memstrm.c: Likewise.
53354         * manual/examples/mkfsock.c: Likewise.
53355         * manual/examples/mkisock.c: Likewise.
53356         * manual/examples/mygetpass.c: Likewise.
53357         * manual/examples/pipe.c: Likewise.
53358         * manual/examples/popen.c: Likewise.
53359         * manual/examples/rprintf.c: Likewise.
53360         * manual/examples/search.c: Likewise.
53361         * manual/examples/select.c: Likewise.
53362         * manual/examples/setjmp.c: Likewise.
53363         * manual/examples/sigh1.c: Likewise.
53364         * manual/examples/sigusr.c: Likewise.
53365         * manual/examples/stpcpy.c: Likewise.
53366         * manual/examples/strdupa.c: Likewise.
53367         * manual/examples/strftim.c: Likewise.
53368         * manual/examples/strncat.c: Likewise.
53369         * manual/examples/subopt.c: Likewise.
53370         * manual/examples/swapcontext.c: Likewise.
53371         * manual/examples/termios.c: Likewise.
53372         * manual/examples/testopt.c: Likewise.
53373         * manual/examples/testpass.c: Likewise.
53374         * manual/examples/timeval_subtract.c: Likewise.
53376         [BZ #13792]
53377         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53378         function to ...
53379         * manual/timeval_subtract.c.texi: ... here, new file.
53381 2012-03-02  David S. Miller  <davem@davemloft.net>
53383         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53385 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53387         [BZ #3976]
53388         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53389         (__sin): Save and restore rounding mode and use round-to-nearest
53390         for all computations.
53391         (__cos): Save and restore rounding mode and use round-to-nearest
53392         for all computations.
53393         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53394         <fenv.h>.
53395         (tan): Save and restore rounding mode and use round-to-nearest for
53396         all computations.
53397         * math/libm-test.inc (cos_test_tonearest): New function.
53398         (cos_test_towardzero): Likewise.
53399         (cos_test_downward): Likewise.
53400         (cos_test_upward): Likewise.
53401         (sin_test_tonearest): Likewise.
53402         (sin_test_towardzero): Likewise.
53403         (sin_test_downward): Likewise.
53404         (sin_test_upward): Likewise.
53405         (tan_test_tonearest): Likewise.
53406         (tan_test_towardzero): Likewise.
53407         (tan_test_downward): Likewise.
53408         (tan_test_upward): Likewise.
53409         (main): Call the new functions.
53410         * sysdeps/i386/fpu/libm-test-ulps: Update.
53411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53413         [BZ #10135]
53414         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53415         small n, then large n, before computing and testing k+n.
53416         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53418         Likewise.
53419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53420         Likewise.
53421         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53422         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53425         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53426         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53427         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53428         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53429         * math/libm-test.inc (scalbn_test): Add more tests.
53430         (scalbln_test): Likewise.
53432         * manual/filesys.texi (mode_t): Describe constraints on size and
53433         signedness, not exact equivalence to a particular type.
53434         (ino_t): Likewise.
53435         (ino64_t): Likewise.
53436         (dev_t): Likewise.
53437         (nlink_t): Likewise.
53438         (blkcnt_t): Likewise.
53439         (blkcnt64_t): Likewise.
53440         * manual/llio.texi (off_t): Likewise.
53442         [BZ #3976]
53443         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53444         (__ieee754_exp): Save and restore rounding mode and use
53445         round-to-nearest for all computations.
53446         * math/libm-test.inc (exp_test_tonearest): New function.
53447         (exp_test_towardzero): Likewise.
53448         (exp_test_downward): Likewise.
53449         (exp_test_upward): Likewise.
53450         (main): Call the new functions.
53451         * sysdeps/i386/fpu/libm-test-ulps: Update.
53452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53454 2012-03-01  Chris Demetriou  <cgd@google.com>
53456         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53457         have predictable order.
53459 2012-03-01  David S. Miller  <davem@davemloft.net>
53461         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53463         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53464         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53465         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53466         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53468         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53469         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53470         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53472         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53473         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53474         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53475         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53476         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53480         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53481         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53482         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53484         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53485         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53486         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53487         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53488         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53490         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53491         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53492         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53493         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53494         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53495         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53497         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53498         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53500         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53501         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53502         * sysdeps/sparc/elf/configure: Regenerated.
53504 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53506         * configure.in (AS, LD): Require binutils 2.20 or later.
53507         * configure: Regenerated.
53508         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53509         as required minimum version.
53510         * INSTALL: Regenerated.
53512         [BZ #2541]
53513         [BZ #4108]
53514         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53515         before squaring exponent.
53516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53517         bottom long double and 27 bits of top long double before squaring
53518         exponent.
53519         * math/libm-test.inc (erfc_test): Add more tests.
53520         * sysdeps/i386/fpu/libm-test-ulps: Update.
53521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53524 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53526         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53527         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53528         containing bit-fields.
53529         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53530         * soft-fp/single.h (_FP_UNION_S): Likewise.
53531         * soft-fp/double.h (_FP_UNION_D): Likewise.
53533 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53535         [BZ #13786]
53536         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53537         not include ../strcmp.S.
53538         [USE_AS_STRNCASECMP_L]: Likewise.
53539         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53540         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53541         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53542         (__strncasecmp_l_ia32): Define as alias to
53543         __strncasecmp_l_nonascii.
53545         [BZ #5794]
53546         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53547         * sysdeps/i386/fpu/libm-test-ulps: Update.
53548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53550         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53553 2012-02-29  Jeff Law  <law@redhat.com>
53555         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53556         out of bounds read.
53558 2012-02-29  Marek Polacek  <polacek@redhat.com>
53560         [BZ #13706]
53561         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53562         * elf/Makefile: Add rules to run tst-unused-dep.out.
53564 2012-02-28  David S. Miller  <davem@davemloft.net>
53566         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53567         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53569         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53570         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53571         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53573 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53575         * math/libm-test.inc (llround_test): Move one test from
53576         lround_test.  Use TEST_f_L in moved test.
53577         (lround_test): Move misplaced test to llround_test.  Add testcase
53578         from bug 2561.
53580 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53582         * sysdeps/x86_64/fpu/e_expf.S: New file.
53583         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53585 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53587         [BZ #13637]
53588         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53589         of remain_len that may cause incomplete multi-byte character and
53590         false match.
53591         * posix/bug-regex33.c: New file.
53592         * posix/Makefile (tests): Add bug-regex33.
53594 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53596         * manual/macros.texi: New file.
53597         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53598         * manual/libc.texinfo: Include macros.texi.
53599         * manual/creatute.texi: Likewise.
53600         * manual/install.texi: Likewise.
53601         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53602         @glibcadj{} in references to the GNU C Library.
53603         * manual/charset.texi: Likewise.
53604         * manual/conf.texi: Likewise.
53605         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53606         when not using those macros.
53607         * manual/creature.texi: Likewise.
53608         * manual/crypt.texi: Likewise.
53609         * manual/errno.texi: Likewise.
53610         * manual/filesys.texi: Likewise.
53611         * manual/header.texi: Likewise.
53612         * manual/install.texi: Likewise.
53613         * manual/intro.texi: Likewise.
53614         * manual/io.texi: Likewise.
53615         * manual/job.texi: Likewise.
53616         * manual/lang.texi: Likewise.
53617         * manual/libc.texiinfo: Likewise.
53618         * manual/llio.texi: Likewise.
53619         * manual/locale.texi: Likewise.
53620         * manual/maint.texi: Likewise.
53621         * manual/math.texi: Likewise.
53622         * manual/memory.texi: Likewise.
53623         * manual/message.texi: Likewise.
53624         * manual/nss.texi: Likewise.
53625         * manual/pattern.texi: Likewise.
53626         * manual/process.texi: Likewise.
53627         * manual/resource.texi: Likewise.
53628         * manual/search.texi: Likewise.
53629         * manual/setjmp.texi: Likewise.
53630         * manual/signal.texi: Likewise.
53631         * manual/socket.texi: Likewise.
53632         * manual/startup.texi: Likewise.
53633         * manual/stdio.texi: Likewise.
53634         * manual/string.texi: Likewise.
53635         * manual/sysinfo.texi: Likewise.
53636         * manual/syslog.texi: Likewise.
53637         * manual/terminal.texi: Likewise.
53638         * manual/time.texi: Likewise.
53639         * manual/users.texi: Likewise.
53640         * INSTALL: Regenerated.
53641         * NOTES: Regenerated.
53642         * sysdeps/gnu/errlist.c: Regenerated.
53644 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53646         * include/dirent.h: Include <dirstream.h> before
53647         <dirent/dirent.h>.
53649 2012-02-28  David S. Miller  <davem@davemloft.net>
53651         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53652         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53653         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53654         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53656 2012-02-27  David S. Miller  <davem@davemloft.net>
53658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53660         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53661         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53664         frame pointer instead of stack pointer relative arg slot.
53665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53666         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53667         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53669 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53671         [BZ #3992]
53672         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53674 2012-02-27  David S. Miller  <davem@davemloft.net>
53676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53680         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53681         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53682         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53683         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53685 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53687         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53688         later.  Allow versions 5-9.
53689         * configure: Regenerated.
53690         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53691         required minimum version and 4.6 as recommended version.  Do not
53692         mention bugs in GCC 2.7 and 2.8.
53693         * INSTALL: Regenerated.
53695 2012-02-27  David S. Miller  <davem@davemloft.net>
53697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53701         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53702         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53703         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53704         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53707         manipulate bits before adding and subtracting TWO112[sx].
53708         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53710 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53712         [BZ #13775]
53713         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53714         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53715         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53716         being in POSIX, because they are in 1003.1-2008.
53718         * rt/tst-aio.c: Include <fcntl.h>.
53719         * rt/tst-aio7.c: Likewise.
53720         * rt/tst-aio64.c: Likewise.
53722         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53724 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53726         * manual/install.texi (--with-headers): Describe headers as
53727         interface headers, not private headers.
53728         (Specific advice for GNU/Linux systems): Describe use of headers
53729         from "make headers_install", not private headers from older
53730         kernels.
53731         * INSTALL: Regenerated.
53732         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53733         Change to 2.6.19.
53734         * sysdeps/unix/sysv/linux/configure: Regenerated.
53736         * manual/llio.texi (fclean): Remove documentation.
53738         * manual/Makefile (libc-texi-generated): New variable.  Include
53739         version.texi.
53740         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53741         $(libc-texi-generated), not duplicated list of files.
53742         (version.texi, stamp-version): New rules.
53743         (realclean): Remove $(libc-texi-generated), not individual files
53744         from that list.  Do not remove dir-add.texinfo.
53745         * manual/libc.texinfo: Comment out uses of edition numbers and
53746         references to printed manual.  Remove last-updated dates.
53747         (EDITION): Comment out.
53748         (ISBN): Likewise.
53749         (VERSION, UPDATED): Remove.
53750         (version.texi): Include.
53752 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53754         * sysdeps/posix/spawni.c: Include <signal.h>.
53755         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53756         * sysdeps/pthread/aio_fsync.c: Likewise.
53758 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53760         * conform/Makefile (tests): Run only when not cross-compiling and
53761         when fast-check is not defined.
53763         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53764         * conform/data/limits.h-data: Fixes for POSIX2008.
53765         * conform/run-conformtest.sh: Run all tests.
53766         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53767         headers.
53768         * include/bits/dlfcn.h: Likewise.
53769         * include/langinfo.h: Likewise.
53770         * include/monetary.h: Likewise.
53771         * include/sys/poll.h: Likewise.
53773         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53774         for __USE_GNU.
53775         * posix/spawn.h: Define __need_sigset_t.
53776         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53777         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53778         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53779         to get sigevent_t only.
53780         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53781         only for __USE_GNU.
53782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53783         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53784         process_vm_writev only for __USE_GNU.
53785         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53787         * conform/Makefile: For now ignore errors from run-conformtest.
53788         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53789         POSIX to avoid namespace pollution.  Don't prepend headers.
53790         * conform/data/aio.h-data: Fixes for POSIX testing.
53791         * conform/data/fcntl.h-data: Likewise.
53792         * conform/data/glob.h-data: Likewise.
53793         * conform/data/grp.h-data: Likewise.
53794         * conform/data/pthread.h-data: Likewise.
53795         * conform/data/pwd.h-data: Likewise.
53796         * conform/data/signal.h-data: Likewise.
53797         * conform/data/spawn.h-data: Likewise.
53798         * conform/data/stdio.h-data: Likewise.
53799         * conform/data/stdlib.h-data: Likewise.
53800         * conform/data/stropts.h-data: Likewise.
53801         * conform/data/sys/mman.h-data: Likewise.
53802         * conform/data/sys/stat.h-data: Likewise.
53803         * conform/data/sys/types.h-data: Likewise.
53804         * conform/data/sys/wait.h-data: Likewise.
53805         * conform/data/time.h-data: Likewise.
53806         * conform/data/unistd.h-data: Likewise.
53807         * conform/data/utime.h-data: Likewise.
53809         * io/sys/stat.h: fchmod was always in POSIX.
53810         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53811         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53812         * rt/aio.h: Define __need_timespec before including <time.h>.
53813         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53814         struct.  Add forward declaration of pthread_attr_t and use it in
53815         sigevent.
53816         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53818         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53819         always remove CLK_TCK definition.
53821 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53823         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53825 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53827         * conform/run-conformtest.sh: New file.
53828         * conform/Makefile: Run run-conformtest for tests.
53829         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53830         support.
53832         * conform/data/uchar.h-data: New file.
53833         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53834         * conform/data/arpa/inet.h-data: Likewise.
53835         * conform/data/assert.h-data: Likewise.
53836         * conform/data/complex.h-data: Likewise.
53837         * conform/data/cpio.h-data: Likewise.
53838         * conform/data/ctype.h-data: Likewise.
53839         * conform/data/dirent.h-data: Likewise.
53840         * conform/data/dlfcn.h-data: Likewise.
53841         * conform/data/errno.h-data: Likewise.
53842         * conform/data/fcntl.h-data: Likewise.
53843         * conform/data/float.h-data: Likewise.
53844         * conform/data/fmtmsg.h-data: Likewise.
53845         * conform/data/fnmatch.h-data: Likewise.
53846         * conform/data/ftw.h-data: Likewise.
53847         * conform/data/glob.h-data: Likewise.
53848         * conform/data/grp.h-data: Likewise.
53849         * conform/data/iconv.h-data: Likewise.
53850         * conform/data/inttypes.h-data: Likewise.
53851         * conform/data/langinfo.h-data: Likewise.
53852         * conform/data/libgen.h-data: Likewise.
53853         * conform/data/limits.h-data: Likewise.
53854         * conform/data/locale.h-data: Likewise.
53855         * conform/data/math.h-data: Likewise.
53856         * conform/data/monetary.h-data: Likewise.
53857         * conform/data/mqueue.h-data: Likewise.
53858         * conform/data/ndbm.h-data: Likewise.
53859         * conform/data/net/if.h-data: Likewise.
53860         * conform/data/netdb.h-data: Likewise.
53861         * conform/data/netinet/in.h-data: Likewise.
53862         * conform/data/nl_types.h-data: Likewise.
53863         * conform/data/poll.h-data: Likewise.
53864         * conform/data/pthread.h-data: Likewise.
53865         * conform/data/pwd.h-data: Likewise.
53866         * conform/data/regex.h-data: Likewise.
53867         * conform/data/sched.h-data: Likewise.
53868         * conform/data/search.h-data: Likewise.
53869         * conform/data/semaphore.h-data: Likewise.
53870         * conform/data/setjmp.h-data: Likewise.
53871         * conform/data/signal.h-data: Likewise.
53872         * conform/data/spawn.h-data: Likewise.
53873         * conform/data/stdarg.h-data: Likewise.
53874         * conform/data/stdio.h-data: Likewise.
53875         * conform/data/stdlib.h-data: Likewise.
53876         * conform/data/string.h-data: Likewise.
53877         * conform/data/strings.h-data: Likewise.
53878         * conform/data/stropts.h-data: Likewise.
53879         * conform/data/sys/ipc.h-data: Likewise.
53880         * conform/data/sys/mman.h-data: Likewise.
53881         * conform/data/sys/msg.h-data: Likewise.
53882         * conform/data/sys/resource.h-data: Likewise.
53883         * conform/data/sys/select.h-data: Likewise.
53884         * conform/data/sys/sem.h-data: Likewise.
53885         * conform/data/sys/shm.h-data: Likewise.
53886         * conform/data/sys/socket.h-data: Likewise.
53887         * conform/data/sys/stat.h-data: Likewise.
53888         * conform/data/sys/statvfs.h-data: Likewise.
53889         * conform/data/sys/time.h-data: Likewise.
53890         * conform/data/sys/timeb.h-data: Likewise.
53891         * conform/data/sys/times.h-data: Likewise.
53892         * conform/data/sys/types.h-data: Likewise.
53893         * conform/data/sys/uio.h-data: Likewise.
53894         * conform/data/sys/un.h-data: Likewise.
53895         * conform/data/sys/utsname.h-data: Likewise.
53896         * conform/data/sys/wait.h-data: Likewise.
53897         * conform/data/syslog.h-data: Likewise.
53898         * conform/data/tar.h-data: Likewise.
53899         * conform/data/termios.h-data: Likewise.
53900         * conform/data/utime.h-data: Likewise.
53901         * conform/data/utmpx.h-data: Likewise.
53902         * conform/data/varargs.h-data: Likewise.
53903         * conform/data/wchar.h-data: Likewise.
53904         * conform/data/wctype.h-data: Likewise.
53905         * conform/data/wordexp.h-data: Likewise.
53907         * include/stropts.h: New file.
53908         * include/uchar.h: New file.
53909         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53910         * include/assert.h: Likewise.
53911         * include/ctype.h: Likewise.
53912         * include/dirent.h: Likewise.
53913         * include/dlfcn.h: Likewise.
53914         * include/fcntl.h: Likewise.
53915         * include/fnmatch.h: Likewise.
53916         * include/glob.h: Likewise.
53917         * include/grp.h: Likewise.
53918         * include/libio.h: Likewise.
53919         * include/locale.h: Likewise.
53920         * include/math.h: Likewise.
53921         * include/net/if.h: Likewise.
53922         * include/netdb.h: Likewise.
53923         * include/netinet/in.h: Likewise.
53924         * include/pthread.h: Likewise.
53925         * include/pwd.h: Likewise.
53926         * include/regex.h: Likewise.
53927         * include/sched.h: Likewise.
53928         * include/search.h: Likewise.
53929         * include/setjmp.h: Likewise.
53930         * include/signal.h: Likewise.
53931         * include/stdio.h: Likewise.
53932         * include/stdlib.h: Likewise.
53933         * include/string.h: Likewise.
53934         * include/sys/cdefs.h: Likewise.
53935         * include/sys/mman.h: Likewise.
53936         * include/sys/msg.h: Likewise.
53937         * include/sys/resource.h: Likewise.
53938         * include/sys/select.h: Likewise.
53939         * include/sys/socket.h: Likewise.
53940         * include/sys/stat.h: Likewise.
53941         * include/sys/statvfs.h: Likewise.
53942         * include/sys/time.h: Likewise.
53943         * include/sys/times.h: Likewise.
53944         * include/sys/uio.h: Likewise.
53945         * include/sys/utsname.h: Likewise.
53946         * include/sys/wait.h: Likewise.
53947         * include/termios.h: Likewise.
53948         * include/time.h: Likewise.
53949         * include/ulimit.h: Likewise.
53950         * include/unistd.h: Likewise.
53951         * include/utime.h: Likewise.
53952         * include/wchar.h: Likewise.
53953         * include/wctype.h: Likewise.
53954         * include/wordexp.h: Likewise.
53956         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53958         * time/time.h: TIME_UTC must be a macro.
53959         Make timespec_get available for ISO C11 only as well.
53961 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53963         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53964         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53966 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53968         * configure.in: Use -o not -a in test for unsupported multi-arch.
53970 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53972         * manual/texinfo.tex: Update to version 2012-01-19.16.
53974 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53976         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53978 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53980         [BZ #13738]
53981         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53982         * manual/fdl-1.3.texi: New file.
53983         * manual/fdl-1.1.texi: File removed.
53985         [BZ #13738]
53986         * manual/libc.texinfo (FDL_VERSION): New @set.
53987         Use it for mention of FDL in cover text.
53988         (Documentation License): Use it in @include file name.
53990 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53991             Roland McGrath  <roland@hack.frob.com>
53993         [BZ #5461]
53994         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53995         (not LONG_LONG_MAX and LONG_LONG_MIN.
53996         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53997         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53998         name.
53999         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54001 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54003         [BZ #2547]
54004         [BZ #11365]
54005         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54006         manipulate bits before adding and subtracting TWO23[sx].
54007         * math/libm-test.inc (nearbyint_test): Add more tests.
54009 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54011         [BZ #2548]
54012         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54013         bits before adding and subtracting TWO23[sx].
54014         * math/libm-test.inc (rint_test): Add more tests.
54015         (rint_test_tonearest): Likewise.
54016         (rint_test_towardzero): Likewise.
54017         (rint_test_downward): Likewise.
54018         (rint_test_upward: Likewise.
54020 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54022         [BZ #10110]
54023         * include/stdc-predef.h: New file.  Extracted from features.h.
54024         * include/features.h: Include stdc-predef.h.
54025         * Makefile (headers): Add stdc-predef.h.
54026         * CONFORMANCE (Compiler limitations): Update.
54028 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54030         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54032 2012-02-21  David S. Miller  <davem@davemloft.net>
54034         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54035         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54037 2012-02-20  David S. Miller  <davem@davemloft.net>
54039         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54040         using a normal save/restore sequence, rather than allocating a
54041         dummy stack frame just to store a frame pointer and restore.
54042         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54044 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54046         * manual/install.texi: Fix stray word in line-wrapped comment.
54048 2012-02-20  David S. Miller  <davem@davemloft.net>
54050         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54051         both binutils and gcc support GOTDATA.
54053         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54054         "rd %pc" in the PIC register setup sequences.
54056         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54057         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54058         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54059         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54060         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54062         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54063         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54065         (SYSCALL_ERROR_HANDLER): Likewise.
54066         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54067         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54069         (SYSCALL_ERROR_HANDLER): Likewise.
54071         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54072         (HAVE_GCC_GOTDATA): New.
54073         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54074         relocation support in both binutils and gcc.
54075         * sysdeps/sparc/elf/configure: Regenerate.
54077         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54078         * sysdeps/sparc/sparc32/elf/configure: Delete.
54079         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54080         * sysdeps/sparc/sparc64/elf/configure: Delete.
54081         * sysdeps/sparc/elf/configure.in: New file.
54082         * sysdeps/sparc/elf/configure: Generate.
54084         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54085         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54086         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54087         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54088         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54090 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54092         * manual/install.texi: Do not mention specific glibc version
54093         numbers.
54094         * manual/libc.texinfo (VERSION, UPDATED): Update.
54095         (@copying): Use @copyright{} and range of years.
54097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54099         [BZ #13695]
54100         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54101         [crti.S not in sysdirs] (generated): Do not append.
54102         [crti.S not in sysdirs] (omit-deps): Likewise.
54103         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54104         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54105         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54106         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54107         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54108         Likewise.
54109         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54110         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54111         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54112         * csu/defs.awk: Remove file.
54113         * sysdeps/generic/initfini.c: Likewise.
54114         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54115         variable.
54116         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54117         Likewise.
54119 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54121         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54122         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54123         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54124         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54125         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54126         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54127         <bits/epoll.h>.
54128         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54129         (__EPOLL_PACKED): Define to empty if not defined by
54130         <bits/epoll.h>.
54131         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54133         bits/epoll.h.
54135 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54137         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54138         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54139         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54140         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54141         <bits/timerfd.h>.
54142         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54144         bits/timerfd.h.
54146 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54148         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54149         in C locale.
54150         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54151         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54152         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54155 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54157         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54158         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54160 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54162         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54163         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54164         defined.
54165         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54166         Likewise.
54167         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54168         entry for 2.16.
54170 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54172         * math/w_acos.c: Use non-signaling floating-point comparisons.
54173         * math/w_acosf.c: Likewise.
54174         * math/w_acosh.c: Likewise.
54175         * math/w_acoshf.c: Likewise.
54176         * math/w_acoshl.c: Likewise.
54177         * math/w_acosl.c: Likewise.
54178         * math/w_asin.c: Likewise.
54179         * math/w_asinf.c: Likewise.
54180         * math/w_asinl.c: Likewise.
54181         * math/w_atanh.c: Likewise.
54182         * math/w_atanhf.c: Likewise.
54183         * math/w_atanhl.c: Likewise.
54184         * math/w_exp2.c: Likewise.
54185         * math/w_exp2f.c: Likewise.
54186         * math/w_exp2l.c: Likewise.
54187         * math/w_j0.c: Likewise.
54188         * math/w_j0f.c: Likewise.
54189         * math/w_j0l.c: Likewise.
54190         * math/w_j1.c: Likewise.
54191         * math/w_j1f.c: Likewise.
54192         * math/w_j1l.c: Likewise.
54193         * math/w_jn.c: Likewise.
54194         * math/w_jnf.c: Likewise.
54195         * math/w_log.c: Likewise.
54196         * math/w_log10.c: Likewise.
54197         * math/w_log10f.c: Likewise.
54198         * math/w_log10l.c: Likewise.
54199         * math/w_log2.c: Likewise.
54200         * math/w_log2f.c: Likewise.
54201         * math/w_log2l.c: Likewise.
54202         * math/w_logf.c: Likewise.
54203         * math/w_logl.c: Likewise.
54204         * math/w_sqrt.c: Likewise.
54205         * math/w_sqrtf.c: Likewise.
54206         * math/w_sqrtl.c: Likewise.
54207         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54209         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54210         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54211         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54213 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54215         [BZ #9739]
54216         * manual/string.texi (strnlen): Use correct parameter name in
54217         equivalent expression.
54219 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54221         [BZ #11174]
54222         * manual/users.texi (seteuid): Consistently use neweuid for
54223         argument name.
54225 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54227         [BZ #13704]
54228         * manual/nss.texi (Services in the NSS configuration): Correct
54229         list of services in example configuration file.
54231 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54233         [BZ #11322]
54234         * manual/arith.texi: Remove statements about negative zero
54235         behaving identically to zero.
54237 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54239         [BZ #5993]
54240         * manual/install.texi: Do not document upgrading from libc5.
54242 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54244         [BZ #4596]
54245         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54247 2012-02-18  David S. Miller  <davem@davemloft.net>
54249         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54250         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54251         %o7 across the call.
54252         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54253         instead.
54254         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54255         SETUP_PIC_REG_LEAF.
54256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54257         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54258         * sysdeps/sparc/crtn.S: Likewise.
54260 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54262         * aout/Makefile: Remove.
54264 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54266         [BZ #13058]
54267         * manual/examples/argp-ex1.c (main): Format definition in GNU
54268         style.
54269         * manual/examples/argp-ex2.c (main): Likewise.
54270         * manual/examples/argp-ex3.c (main): Likewise.
54271         * manual/examples/argp-ex4.c (main): Likewise.
54272         * manual/examples/longopt.c (main): Use new-style prototype
54273         definition.
54274         * manual/examples/strncat.c (main): Specify return type and use
54275         (void) for arguments.
54276         * manual/examples/subopt.c (main): Use char **argv argument.
54278 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54280         [BZ #5077]
54281         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54282         rounding modes.
54284 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54286         [BZ #6907]
54287         * manual/string.texi (strchr): Change when strchrnul is
54288         recommended.
54290 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54292         [BZ #174]
54293         * manual/locale.texi (setlocale): Document LOCPATH.
54295 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54297         [BZ #10210]
54298         * manual/process.texi (execle): Move @dots{} before last argument.
54300 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54302         [BZ #12047]
54303         * manual/charset.texi (Generic Charset Conversion): Fix typo
54304         (LC_TYPE -> LC_CTYPE).
54306 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54308         [BZ #5805]
54309         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54310         (scalbnf): Likewise.
54311         (scalbnl): Likewise.
54312         (scalbln): Likewise.
54313         (scalblnf): Likewise.
54314         (scalblnl): Likewise.
54315         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54316         (vwarnx): Likewise.
54317         (verr): Likewise.
54318         (verrx): Likewise.
54319         * manual/filesys.texi (telldir): Use braces around return type.
54320         * manual/llio.texi (mmap): Add space after comma.
54321         (mmap64): Likewise.
54322         * manual/math.texi (jn): Use @var{} on parameter names.
54323         (jnf): Likewise.
54324         (jnl): Likewise.
54325         (yn): Likewise.
54326         (ynf): Likewise.
54327         (ynl): Likewise.
54328         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54329         line.
54330         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54331         "...".
54332         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54333         (sched_get_priority_max): Likewise.
54334         * manual/signal.texi (sigvec): Add space after comma.
54335         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54336         names.
54337         (if_indextoname): Likewise.
54338         (if_freenameindex): Likewise.
54339         (sendto): Use ',' instead of '.' in prototype.
54340         * manual/startup.texi (syscall): Use @dots{} instead of literal
54341         "...".
54342         * manual/stdio.texi (__fpending): Separate initial words of
54343         paragraph from @deftypefun line.
54344         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54345         "...".
54346         (vsyslog): Use @var{} on parameter names.
54347         * manual/terminal.texi (stty): Use @var{} on parameter names.
54348         * manual/users.texi (getutmp): Use @var{} on parameter names.
54349         (getutmpx): Likewise.
54351 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54353         [BZ #6884]
54354         * manual/stdio.texi (fopen): Fix typos in description of
54355         ",ccs=STRING".
54357 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54359         [BZ #4026]
54360         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54361         get clock_id definition.
54363 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54365         [BZ #4822]
54366         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54367         (madvise): Cast every argument to void on its own.
54369 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54371         [BZ #9902]
54372         * manual/startup.texi (Exit Status): Fix typo.
54374 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54376         [BZ #10140]
54377         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54378         * manual/examples/argp-ex2.c: Likewise.
54379         * manual/examples/argp-ex3.c: Likewise.
54381 2012-02-16  Richard Henderson  <rth@redhat.com>
54383         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54384         * sysdeps/s390/s390-32/initfini.c: Remove.
54385         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54386         * sysdeps/s390/s390-64/initfini.c: Remove.
54388 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54390         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54391         compiler output for sysdeps/generic/initfini.c.
54392         * sysdeps/sh/elf/initfini.c: Remove file.
54394 2012-02-16  David S. Miller  <davem@davemloft.net>
54396         [BZ #11494]
54397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54399         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54400         * sysdeps/sparc/crti.S: New file.
54401         * sysdeps/sparc/crtn.S: New file.
54402         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54403         * sysdeps/sparc/sparc64/Makefile: Likewise.
54405 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54407         [BZ #3335]
54408         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54410 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54412         [BZ #4822]
54413         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54415         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54416         (write, read, close): Likewise.
54417         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54419 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54421         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54422         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54423         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54424         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54425         <bits/signalfd.h>.
54426         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54428         bits/signalfd.h.
54430 2012-02-14  Marek Polacek  <polacek@redhat.com>
54432         * sysdeps/x86_64/crti.S: New file.
54433         * sysdeps/x86_64/crtn.S: New file.
54434         * sysdeps/x86_64/elf/initfini.c: Remove file.
54436 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54438         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54439         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54440         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54441         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54442         <bits/inotify.h>.
54443         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54445         bits/inotify.h.
54447 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54449         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54450         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54451         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54452         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54453         <bits/eventfd.h>.
54454         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54456         bits/eventfd.h.
54458 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54460         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54461         __feraiseexcept instead of feraiseexcept.
54463         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54464         nanosleep invocations.
54465         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54466         strings, and add error checking for a nanosleep invocations.
54468 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54470         Replace FSF snail mail address with URLs, as per GNU coding standards.
54471         Most of the snail mail addresses were wrong anyway, and omitting
54472         them makes the source code easier to maintain.  Almost all of the
54473         changes are to license notices and to locale LC_IDENTIFICATION
54474         addresses, except for this one:
54475         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54476         not its snail mail address.
54478 2012-02-09  Richard Henderson  <rth@twiddle.net>
54480         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54481         of kernel-features.h.
54483         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54485 2012-02-08  Marek Polacek  <polacek@redhat.com>
54487         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54488         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54489         * sysdeps/gnu/_G_config.h: Likewise.
54490         * sysdeps/generic/_G_config.h: Likewise.
54492 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54494         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54495         tests.
54496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54498         * sysdeps/powerpc/powerpc32/crti.S: New file.
54499         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54500         * sysdeps/powerpc/powerpc64/crti.S: New file.
54501         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54503         * Makeconfig (have-initfini): Don't set.
54504         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54505         * configure.in (nopic_initfini): Don't substitute.
54506         * config.h.in (HAVE_INITFINI): Don't #undef.
54507         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54508         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54510 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54512         Support crti.S and crtn.S provided directly by architectures.
54513         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54514         [crti.S in sysdirs] (omit-deps): Likewise.
54515         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54516         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54517         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54518         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54519         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54520         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54521         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54522         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54523         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54524         compiler output for sysdeps/generic/initfini.c.
54525         * sysdeps/i386/elf/Makefile: Remove file.
54526         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54528 2012-02-07  Marek Polacek  <polacek@redhat.com>
54530         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54531         * sysdeps/gnu/_G_config.h: Likewise.
54532         * sysdeps/mach/hurd/_G_config.h: Likewise.
54534 2012-02-07  Marek Polacek  <polacek@redhat.com>
54536         * math/Makefile (tests): Add tst-CMPLX2.
54537         * math/tst-CMPLX2.c: New file.
54539 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54541         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54543         * math/libm-test.inc (jn_test): Add missing L suffix.
54545 2012-02-06  Marek Polacek  <polacek@redhat.com>
54547         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54548         * sysdeps/i386/fpu/e_powf.S: Likewise.
54549         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54550         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54551         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54552         * sysdeps/i386/fpu/e_pow.S: Likewise.
54553         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54554         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54555         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54556         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54557         * sysdeps/i386/fpu/e_log2.S: Likewise.
54558         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54559         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54560         * sysdeps/i386/fpu/e_powl.S: Likewise.
54561         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54562         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54563         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54564         * sysdeps/i386/fpu/e_logl.S: Likewise.
54565         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54566         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54567         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54568         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54569         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54570         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54571         * sysdeps/i386/fpu/e_log.S: Likewise.
54572         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54573         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54574         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54575         * sysdeps/i386/fpu/e_logf.S: Likewise.
54576         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54577         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54578         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54579         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54580         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54581         * sysdeps/i386/fpu/e_log10.S: Likewise.
54582         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54583         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54584         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54585         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54586         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54587         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54588         * sysdeps/i386/asm-syntax.h: Likewise.
54589         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54590         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54591         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54592         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54593         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54594         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54595         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54596         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54597         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54598         * sysdeps/powerpc/sysdep.h: Likewise.
54599         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54600         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54602 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54604         [BZ #411]
54605         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54607 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54609         * sysdeps/i386/sysdep.h: Include <features.h>.
54610         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54611         version.
54613 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54615         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54616         Define.
54617         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54618         LOAD_PIC_REG_STR.
54620 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54622         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54623         (SETUP_PIC_REG): Use GET_PC_THUNK.
54624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54625         macro.
54627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54629         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54630         for non-PIC compilation.
54631         (SETUP_PIC_REG): Add .p2align directive.
54632         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54633         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54634         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54635         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54636         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54637         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54638         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54639         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54640         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54641         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54642         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54643         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54644         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54645         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54646         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54647         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54648         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54649         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54650         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54651         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54652         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54653         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54654         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54655         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54660         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54661         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54662         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54663         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54664         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54665         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54666         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54667         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54668         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54669         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54670         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54671         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54672         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54674 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54676         * math/tst-CMPLX.c: Include <stdio.h>.
54678 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54680         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54681         float.
54682         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54683         * sysdeps/sparc/bits/mathdef.h: Likewise.
54685 2012-01-31  Marek Polacek  <polacek@redhat.com>
54687         * libio/libio.h: Don't define _PARAMS.
54688         * locale/programs/config.h: Don't define PARAMS.
54689         * stdlib/strtol_l.c: Likewise.
54690         (__strtol_l): Remove PARAMS from the prototype.
54692 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54694         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54695         names.  Just use the correct names.  Remove unnecessary wrapper
54696         functions.
54697         * malloc/arena.c: Likewise.
54698         * malloc/hooks.c: Likewise.
54700         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54701         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54702         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54704 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54706         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54707         into tail calls.
54708         (update_get_addr): New function.
54709         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54710         GET_ADDR_MODULE parameter.
54712 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54714         * crypt/cert.c: Remove __STDC__ conditionals.
54715         * crypt/crypt-entry.c: Likewise.
54716         * crypt/crypt_util.c: Likewise.
54717         * libio/filedoalloc.c: Likewise.
54718         * libio/fileops.c: Likewise.
54719         * libio/genops.c: Likewise.
54720         * libio/iofclose.c: Likewise.
54721         * libio/iofdopen.c: Likewise.
54722         * libio/iofopen.c: Likewise.
54723         * libio/iofopen64.c: Likewise.
54724         * libio/iogetdelim.c: Likewise.
54725         * libio/iopopen.c: Likewise.
54726         * libio/obprintf.c: Likewise.
54727         * libio/oldfileops.c: Likewise.
54728         * libio/oldiofclose.c: Likewise.
54729         * libio/oldiofdopen.c: Likewise.
54730         * libio/oldiofopen.c: Likewise.
54731         * libio/oldiopopen.c: Likewise.
54732         * libio/wfiledoalloc.c: Likewise.
54733         * libio/wgenops.c: Likewise.
54734         * locale/programs/xmalloc.c: Likewise.
54735         * misc/syslog.c: Likewise.
54736         * stdio-common/xbug.c: Likewise.
54737         * string/memchr.c: Likewise.
54738         * string/memcmp.c: Likewise.
54739         * string/memrchr.c: Likewise.
54740         * string/rawmemchr.c: Likewise.
54741         * sysdeps/posix/getcwd.c: Likewise.
54742         * time/strftime_l.c: Likewise.
54744 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54746         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54747         * config.make.in (config-cflags-sse2avx): Define.
54748         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54749         Fix typo.
54751 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54753         * scripts/config.guess: Update from upstream config git repository.
54754         * scripts/config.sub: Likewise.
54756 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54758         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54759         (EM_NUM): Update.
54760         (R_TILEPRO_*, R_TILEGX_*): New macros.
54762         * scripts/firstversions.awk: Fix bug in version range handling.
54764         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54766         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54768         * include/sys/epoll.h: New file.
54769         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54770         libc_hidden_def.
54772 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54774         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54775         Avoid unnecessary __WORDSIZE == 64 test.
54776         (fmaxf): Use VEX format if possible.
54777         (fmax): Likewise.
54778         (fminf): Likewise.
54779         (fmin): Likewise.
54781         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54782         * math/math_private.h: Remove libc_fegetround* and
54783         libc_fesetround*.
54784         * sysdeps/i386/configure.in: Check for -msse2avx.
54785         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54786         also if SSE2AVX is defined.
54787         Remove libc_fegetround* and libc_fesetround*.
54788         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54789         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54791         of HAS_YMM_USABLE.
54792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54793         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54794         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54796         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54798         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54800 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54802         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54803         size is not set.
54804         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54806 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54808         [BZ #13618]
54809         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54810         relocation.
54811         * Makeconfig (libm): Define.
54812         * elf/Makefile: Add rules to build and run tst-relsort1.
54813         * elf/tst-relsort1.c: New file.
54814         * elf/tst-relsort1mod1.c: New file.
54815         * elf/tst-relsort1mod2.c: New file.
54817 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54819         * math/s_ldexp.c: Remove __STDC__ conditionals.
54820         * math/s_ldexpf.c: Likewise.
54821         * math/s_ldexpl.c: Likewise.
54822         * math/s_nextafter.c: Likewise.
54823         * math/s_nexttowardf.c: Likewise.
54824         * math/s_significand.c: Likewise.
54825         * math/s_significandf.c: Likewise.
54826         * math/s_significandl.c: Likewise.
54827         * math/w_jnl.c: Likewise.
54828         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54829         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54830         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54831         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54832         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54833         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54834         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54835         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54836         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54837         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54838         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54839         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54842         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54843         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54844         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54845         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54847         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54848         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54849         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54850         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54851         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54852         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54853         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54854         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54855         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54856         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54857         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54858         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54859         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54860         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54861         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54862         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54863         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54864         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54865         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54866         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54867         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54868         * sysdeps/ieee754/k_standard.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54930         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54935         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54938         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54939         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54941         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54943         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54944         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54948         * sysdeps/ieee754/s_matherr.c: Likewise.
54949         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54950         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54954 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54956         * crypt/md5.h: Remove __STDC__ conditionals.
54957         * libio/libioP.h: Likewise.
54958         * locale/programs/config.h: Likewise.
54959         * sysdeps/generic/sysdep.h: Likewise.
54960         * sysdeps/i386/asm-syntax.h: Likewise.
54961         * sysdeps/s390/asm-syntax.h: Likewise.
54962         * sysdeps/unix/sysdep.h: Likewise.
54963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54966 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54968         * libio/libio.h: Remove __STDC__ conditionals.
54969         * malloc/obstack.h: Likewise.
54970         * math/complex.h: Likewise.
54971         * math/math.h: Likewise.
54972         * sysdeps/generic/_G_config.h: Likewise.
54973         * sysdeps/gnu/_G_config.h: Likewise.
54974         * sysdeps/mach/hurd/_G_config.h: Likewise.
54975         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54976         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54977         * sysdeps/sparc/bits/mathdef.h: Likewise.
54979 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54981         [BZ #13583]
54982         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54983         Clean up HAS_* macros.
54984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54985         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54986         possible.
54987         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54988         HAS_AVX.
54989         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54990         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54991         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54993         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54995 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54997         * elf/tst-unique3.cc (gets): Remove declaration.
54998         * elf/tst-unique3lib.cc (gets): Likewise.
54999         * elf/tst-unique3lib2.cc (gets): Likewise.
55000         * elf/tst-unique4.cc (gets): Likewise.
55002 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55004         * include/stdio.h: Add C++ protection.  Add gets declarations and
55005         definitions.
55006         * debug/tst-chk1.c: Don't declare gets here.
55007         * stdio-common/tst-gets.c: Likewise.
55009 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55011         * posix/glob: Remove directory.
55013 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55015         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55017 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55019         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55020         of the non-standard EPFNOSUPPORT.
55022 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55024         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55025         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55026         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55028 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55030         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55032 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55034         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55035         transient errors.
55036         * nscd/grpcache.c (cache_addgr): Likewise.
55037         * nscd/hstcache.c (cache_addhst): Likewise.
55038         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55039         * nscd/pwdcache.c (cache_addpw): Likewise.
55040         * nscd/servicescache.c (cache_addserv): Likewise.
55042 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55044         * malloc/malloc.c: Various cleanups.
55045         * malloc/hooks.c: Likewise.
55047         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55048         * stdlib/bug-fmtmsg1.c: New file.
55050         * stdlib/fmtmsg.c (init): Add missing unlock.
55051         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55053 2012-01-12  Marek Polacek  <polacek@redhat.com>
55055         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55056         and _GNU_SOURCE.
55058 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55060         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55061         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55062         macro to ensure uniqueness of label name.
55063         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55064         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55066 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55068         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55070         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55071         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55073         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55075 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55077         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55079         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55080         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55081         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55083         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55086         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55087         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55090         * math/bits/math-finite.h: Add ldexp support.
55092 2012-01-10  Marek Polacek  <polacek@redhat.com>
55094         * locale/programs/localedef.h (show_archive_content): Add noreturn
55095         attribute.
55097 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55099         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55101 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55103         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55105         * io/Makefile (headers): Add bits/poll2.h.
55107 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55110         typo #include statement.
55112 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55114         * include/sys/cdefs.h: Define __attribute_alloc_size.
55115         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55116         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55117         * elf/pldd.c: Likewise.
55118         * iconv/iconv_charmap.c: Likewise.
55119         * iconv/iconvconfig.c: Likewise.
55120         * iconv/strtab.c: Likewise.
55121         * locale/programs/locale.c: Likewise.
55122         * locale/programs/localedef.h: Likewise.
55123         * locale/programs/simple-hash.c: Likewise.
55124         * nscd/nscd.h: Likewise.
55125         * nss/makedb.c: Likewise.
55126         * sysdeps/generic/ldconfig.h: Likewise.
55127         * locale/programs/localedef.c: Remove xmalloc prototype.
55128         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55130 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55132         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55133         appropriate.
55135 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55137         * math/Makefile (tests): Add tst-CMPLX.
55138         * math/tst-CMPLX.c: New file.
55140         * math/complex.h (CMPLXL): Fix typo.
55142         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55143         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55144         GLIBC_2.16.
55145         * debug/tst-chk1.c: Add poll and ppoll tests.
55146         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55147         * include/sys/poll.h: Add hidden proto for ppoll.
55148         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55149         * sysdeps/mach/hurd/ppoll.c: Likewise.
55150         * io/ppoll.c: Likewise.
55151         * debug/poll_chk.c: New file.
55152         * debug/ppoll_chk.c: New file.
55153         * include/bits/poll2.h: New file.
55154         * io/bits/poll2.h: New file.
55156         [BZ #1350]
55157         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55159         * configure.in: static is always set to yes.  Remove.
55160         * config.make.in: Don't set build-static.
55161         * Makeconfig: Remove use of build-static.
55162         * dlfcn/Makefile: Likewise.
55163         * elf/Makefile: Likewise.
55164         * math/Makefile: Likewise.
55165         * misc/Makefile: Likewise.
55166         * nptl/Makefile: Likewise.
55167         * sysdeps/mach/hurd/Makefile: Likewise.
55169         * configure.in: PWD_P is not used anymore.
55170         * config.make.in: Remove PWD_P entry.
55172         * configure.in: Remove last remnants of RANLIB.
55173         No need to check for signed size_t anymore.
55174         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55175         and IA-64.
55176         Remove __builtin_expect test because we require at least gcc 3.4.
55177         * aclocal.m4: Likewise.
55179         * wcsmbs/mbrtoc16.c: Implement using towc function.
55180         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55181         * wcsmbs/wcsmbsload.c: Likewise.
55182         * iconv/gconv_simple.c: Likewise.
55183         * iconv/gconv_int.h: Likewise.
55184         * iconv/gconv_builtin.h: Likewise.
55185         * iconv/iconv_prog.c: Remove CHAR16 handling.
55187         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55189         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55191         * configure.in: Remove --with-elf and --enable-bounded options.
55192         Dont set base_machine for ia64.  More non-ELF conditions removed.
55193         Remove testing and setting of leading underscore information.
55194         * config.make.in (build-bounded): Set to no.
55195         * config.h.in: Remove NO_UNDERSCORES entry.
55196         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55197         them.
55198         * csu/start.c: Remove !NO_UNDERSCORE code.
55199         * locale/localeinfo.h: Likewise.
55200         * sysdeps/generic/machine-gmon.h: Likewise.
55201         * sysdeps/generic/sysdep.h: Likewise.
55202         * sysdeps/i386/sysdep.h: Likewise.
55203         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55204         * sysdeps/mach/sysdep.h: Likewise.
55205         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55206         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55207         * sysdeps/sh/sysdep.h: Likewise.
55208         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55209         * sysdeps/unix/i386/sysdep.S: Likewise.
55210         * sysdeps/unix/sparc/start.c: Likewise.
55211         * sysdeps/unix/sparc/sysdep.S: Likewise.
55212         * sysdeps/unix/sparc/sysdep.h: Likewise.
55213         * sysdeps/unix/start.c: Likewise.
55214         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55215         * sysdeps/x86_64/sysdep.h: Likewise.
55217 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55219         [BZ #13553]
55220         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55221         for non-gcc.
55222         * argp/argp-fmtstream.h: Use const instead __const.
55223         * argp/argp.h: Likewise.
55224         * assert/assert.h: Likewise.
55225         * bits/fenv.h: Likewise.
55226         * bits/sched.h: Likewise.
55227         * bits/sigset.h: Likewise.
55228         * bits/sigthread.h: Likewise.
55229         * catgets/nl_types.h: Likewise.
55230         * conform/data/pthread.h-data: Likewise.
55231         * crypt/crypt-private.h: Likewise.
55232         * crypt/crypt.h: Likewise.
55233         * crypt/crypt_util.c: Likewise.
55234         * ctype/ctype.h: Likewise.
55235         * debug/execinfo.h: Likewise.
55236         * debug/mbsnrtowcs_chk.c: Likewise.
55237         * debug/mbsrtowcs_chk.c: Likewise.
55238         * debug/wcsnrtombs_chk.c: Likewise.
55239         * debug/wcsrtombs_chk.c: Likewise.
55240         * debug/wcstombs_chk.c: Likewise.
55241         * dirent/dirent.h: Likewise.
55242         * dlfcn/dlfcn.h: Likewise.
55243         * elf/neededtest4.c: Likewise.
55244         * grp/grp.h: Likewise.
55245         * gshadow/gshadow.h: Likewise.
55246         * iconv/gconv.h: Likewise.
55247         * iconv/gconv_int.h: Likewise.
55248         * iconv/gconv_simple.c: Likewise.
55249         * iconv/iconv.h: Likewise.
55250         * iconv/loop.c: Likewise.
55251         * iconv/skeleton.c: Likewise.
55252         * include/aio.h: Likewise.
55253         * include/aliases.h: Likewise.
55254         * include/argz.h: Likewise.
55255         * include/arpa/inet.h: Likewise.
55256         * include/assert.h: Likewise.
55257         * include/dirent.h: Likewise.
55258         * include/dlfcn.h: Likewise.
55259         * include/execinfo.h: Likewise.
55260         * include/fcntl.h: Likewise.
55261         * include/fenv.h: Likewise.
55262         * include/glob.h: Likewise.
55263         * include/grp.h: Likewise.
55264         * include/libintl.h: Likewise.
55265         * include/mntent.h: Likewise.
55266         * include/netdb.h: Likewise.
55267         * include/pwd.h: Likewise.
55268         * include/rpc/netdb.h: Likewise.
55269         * include/sched.h: Likewise.
55270         * include/search.h: Likewise.
55271         * include/shadow.h: Likewise.
55272         * include/signal.h: Likewise.
55273         * include/stdio.h: Likewise.
55274         * include/stdlib.h: Likewise.
55275         * include/string.h: Likewise.
55276         * include/sys/socket.h: Likewise.
55277         * include/sys/stat.h: Likewise.
55278         * include/sys/statfs.h: Likewise.
55279         * include/sys/statvfs.h: Likewise.
55280         * include/sys/syslog.h: Likewise.
55281         * include/sys/time.h: Likewise.
55282         * include/sys/uio.h: Likewise.
55283         * include/time.h: Likewise.
55284         * include/unistd.h: Likewise.
55285         * include/utmp.h: Likewise.
55286         * include/wchar.h: Likewise.
55287         * include/wctype.h: Likewise.
55288         * inet/aliases.h: Likewise.
55289         * inet/arpa/inet.h: Likewise.
55290         * inet/netinet/ether.h: Likewise.
55291         * inet/netinet/in.h: Likewise.
55292         * intl/libintl.h: Likewise.
55293         * io/bits/fcntl2.h: Likewise.
55294         * io/fcntl.h: Likewise.
55295         * io/ftw.h: Likewise.
55296         * io/sys/poll.h: Likewise.
55297         * io/sys/stat.h: Likewise.
55298         * io/sys/statfs.h: Likewise.
55299         * io/sys/statvfs.h: Likewise.
55300         * io/utime.h: Likewise.
55301         * libio/bits/stdio.h: Likewise.
55302         * libio/bits/stdio2.h: Likewise.
55303         * libio/libio.h: Likewise.
55304         * libio/libioP.h: Likewise.
55305         * libio/stdio.h: Likewise.
55306         * locale/lc-ctype.c: Likewise.
55307         * locale/locale.h: Likewise.
55308         * login/utmp.h: Likewise.
55309         * malloc/arena.c: Likewise.
55310         * malloc/malloc.c: Likewise.
55311         * malloc/malloc.h: Likewise.
55312         * malloc/mcheck.c: Likewise.
55313         * malloc/mtrace.c: Likewise.
55314         * math/bits/mathcalls.h: Likewise.
55315         * math/fenv.h: Likewise.
55316         * math/math_private.h: Likewise.
55317         * misc/bits/error.h: Likewise.
55318         * misc/bits/syslog.h: Likewise.
55319         * misc/err.h: Likewise.
55320         * misc/error.h: Likewise.
55321         * misc/fstab.h: Likewise.
55322         * misc/mntent.h: Likewise.
55323         * misc/regexp.h: Likewise.
55324         * misc/search.h: Likewise.
55325         * misc/sgtty.h: Likewise.
55326         * misc/sys/mman.h: Likewise.
55327         * misc/sys/syslog.h: Likewise.
55328         * misc/sys/uio.h: Likewise.
55329         * misc/sys/xattr.h: Likewise.
55330         * misc/ttyent.h: Likewise.
55331         * nis/rpcsvc/ypclnt.h: Likewise.
55332         * nss/nss.h: Likewise.
55333         * posix/bits/unistd.h: Likewise.
55334         * posix/fnmatch.h: Likewise.
55335         * posix/glob.h: Likewise.
55336         * posix/sched.h: Likewise.
55337         * posix/spawn.h: Likewise.
55338         * posix/sys/wait.h: Likewise.
55339         * posix/unistd.h: Likewise.
55340         * posix/wordexp.h: Likewise.
55341         * pwd/pwd.h: Likewise.
55342         * resolv/netdb.h: Likewise.
55343         * resource/sys/resource.h: Likewise.
55344         * rt/aio.h: Likewise.
55345         * rt/bits/mqueue2.h: Likewise.
55346         * rt/mqueue.h: Likewise.
55347         * shadow/shadow.h: Likewise.
55348         * signal/signal.h: Likewise.
55349         * socket/send.c: Likewise.
55350         * socket/sendto.c: Likewise.
55351         * socket/sys/socket.h: Likewise.
55352         * stdio-common/printf.h: Likewise.
55353         * stdlib/bits/stdlib.h: Likewise.
55354         * stdlib/fmtmsg.h: Likewise.
55355         * stdlib/monetary.h: Likewise.
55356         * stdlib/stdlib.h: Likewise.
55357         * stdlib/ucontext.h: Likewise.
55358         * streams/stropts.h: Likewise.
55359         * string/argz.h: Likewise.
55360         * string/bits/string2.h: Likewise.
55361         * string/string.h: Likewise.
55362         * string/strings.h: Likewise.
55363         * sunrpc/rpc/auth.h: Likewise.
55364         * sunrpc/rpc/auth_des.h: Likewise.
55365         * sunrpc/rpc/clnt.h: Likewise.
55366         * sunrpc/rpc/netdb.h: Likewise.
55367         * sunrpc/rpc/pmap_clnt.h: Likewise.
55368         * sunrpc/rpc/xdr.h: Likewise.
55369         * sysdeps/generic/inttypes.h: Likewise.
55370         * sysdeps/generic/net/if.h: Likewise.
55371         * sysdeps/generic/sys/swap.h: Likewise.
55372         * sysdeps/gnu/net/if.h: Likewise.
55373         * sysdeps/gnu/utmpx.h: Likewise.
55374         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55375         * sysdeps/i386/i486/bits/string.h: Likewise.
55376         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55377         * sysdeps/s390/bits/string.h: Likewise.
55378         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55379         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55380         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55381         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55382         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55383         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55384         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55385         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55386         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55387         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55388         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55389         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55390         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55391         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55392         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55393         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55394         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55395         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55396         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55397         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55398         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55399         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55400         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55401         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55402         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55403         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55404         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55405         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55406         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55407         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55408         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55409         * sysvipc/sys/ipc.h: Likewise.
55410         * sysvipc/sys/msg.h: Likewise.
55411         * sysvipc/sys/sem.h: Likewise.
55412         * sysvipc/sys/shm.h: Likewise.
55413         * termios/termios.h: Likewise.
55414         * time/sys/time.h: Likewise.
55415         * time/time.h: Likewise.
55416         * wcsmbs/bits/wchar2.h: Likewise.
55417         * wcsmbs/uchar.h: Likewise.
55418         * wcsmbs/wchar.h: Likewise.
55419         * wctype/wctype.h: Likewise.
55421         [BZ #13551]
55422         * Makeconfig: Remove all but ELF support including AIX support.
55423         * Makerules: Likewise.
55424         * config.h.in: Likewise.
55425         * config.make.in: Likewise.
55426         * configure: Likewise.
55427         * configure.in: Likewise.
55428         * csu/Makefile: Likewise.
55429         * csu/version.c: Likewise.
55430         * debug/Makefile: Likewise.
55431         * dlfcn/Makefile: Likewise.
55432         * elf/Makefile: Likewise.
55433         * extra-lib.mk: Likewise.
55434         * iconv/Makefile: Likewise.
55435         * include/libc-symbols.h: Likewise.
55436         * include/shlib-compat.h: Likewise.
55437         * resolv/Makefile: Likewise.
55438         * resolv/res_libc.c: Likewise.
55439         * rt/Makefile: Likewise.
55440         * sysdeps/i386/asm-syntax.h: Likewise.
55441         * sysdeps/i386/sysdep.h: Likewise.
55442         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55443         * sysdeps/mach/sysdep.h: Likewise.
55444         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55445         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55446         * sysdeps/s390/asm-syntax.h: Likewise.
55447         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55448         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55449         * sysdeps/sh/sysdep.h: Likewise.
55450         * sysdeps/unix/sparc/sysdep.h: Likewise.
55451         * sysdeps/wordsize-32/divdi3.c: Likewise.
55452         * sysdeps/x86_64/sysdep.h: Likewise.
55454         * argp/Versions: Remove _argp_unlock_xxx.
55456         [BZ #13559]
55457         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55458         * abilist/libBrokenLocale.abilist: Likewise.
55459         * abilist/libanl.abilist: Likewise.
55460         * abilist/libc.abilist: Likewise.
55461         * abilist/libcrypt.abilist: Likewise.
55462         * abilist/libdl.abilist: Likewise.
55463         * abilist/libm.abilist: Likewise.
55464         * abilist/libnsl.abilist: Likewise.
55465         * abilist/libpthread.abilist: Likewise.
55466         * abilist/libresolv.abilist: Likewise.
55467         * abilist/librt.abilist: Likewise.
55468         * abilist/libthread_db.abilist: Likewise.
55469         * abilist/libutil.abilist: Likewise.
55470         * abilist/libnss_db.abilist: New file.
55472         * scripts/abilist.awk: Add support for indirect functions.
55474         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55476         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55478         * shlib-versions: Remove entries for ports architectures.
55480         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55481         files in ports.
55482         * elf/stackguard-macros.h: Remove support for IA-64.
55483         * elf/tst-auditmod1.c: Likewise.
55484         * sysdeps/generic/ldsodefs.h: Likewise.
55486         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55487         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55488         configure files.
55490         [BZ #13552]
55491         * configure.in: Remove --enable-omitfp support.
55492         * FAQ.in: Adjust.
55493         * config.make.in: Likewise.
55494         * Makeconfig: Likewise.
55495         * manual/install.texi: Likewise.
55497         In case anyone cares, the IA-64 architecture could move to ports.
55498         * sysdeps/ia64/*: Removed.
55499         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55500         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55502         [BZ #13555]
55503         * configure.in: Remove entries for unsupported architectures.
55505         [BZ #13533]
55506         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55507         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55508         routines.
55509         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55510         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55511         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55512         fall back to using wcrtomb.
55513         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55514         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55515         renaming.
55516         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55517         * wcsmbs/tst-c16c32-1.c: New file.
55519         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55520         local variable.
55522         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55524         * elf/tst-unique3.cc: Add explicit declaration of gets.
55525         * elf/tst-unique3lib.cc: Likewise.
55526         * elf/tst-unique3lib2.cc: Likewise.
55527         * elf/tst-unique4.cc: Likewise.
55529         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55531 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #13566]
55534         * assert/assert.h (static_assert): Don't define for C++.
55535         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55536         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55538 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55540         * iconv/loop.c (single loop): Fix assertion in storing of
55541         remaining bytes.
55543         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55545 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55547         * posix/getconf.c: Update copyright year.
55548         * nss/getent.c: Likewise.
55549         * nss/makedb.c: Likewise.
55550         * iconv/iconvconfig.c: Likewise.
55551         * iconv/iconv_prog.c: Likewise.
55552         * elf/ldconfig.c: Likewise.
55553         * elf/pldd.c: Likewise.
55554         * elf/sotruss.ksh: Likewise.
55555         * catgets/gencat.c: Likewise.
55556         * csu/version.c: Likewise.
55557         * elf/ldd.bash.in: Likewise.
55558         * elf/sprof.c (print_version): Likewise.
55559         * locale/programs/locale.c: Likewise.
55560         * locale/programs/localedef.c: Likewise.
55561         * login/programs/pt_chown.c: Likewise.
55562         * nscd/nscd.c (print_version): Likewise.
55563         * debug/xtrace.sh: Likewise.
55564         * malloc/memusage.sh: Likewise.
55565         * malloc/mtrace.pl: Likewise.
55566         * debug/catchsegv.sh: Likewise.
55568 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55570         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55571         pure attribute.
55573 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55575         [BZ #13533]
55576         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55577         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55578         transformations.
55579         * iconv/gconv_int.h: Likewise.
55580         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55581         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55582         from libc for GLIBC_2.16.
55583         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55584         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55585         * wcsmbs/uchar.h: Really define mbstate_t.
55586         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55587         * wcsmbs/c16rtomb.c: New file.
55588         * wcsmbs/mbrtoc16.c: New file.
55589         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55590         for C/POSIX locale.
55591         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55592         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55594         * wcsmbs/wchar.h: Add missing __restrict.
55596 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55598         [BZ #13532]
55599         * time/Makefile (routines): Add timespec_get.
55600         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55601         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55602         timespec for ISO C11.
55603         * time/timespec_get.c: New file.
55604         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55605         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55607         [BZ #13531]
55608         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55609         * stdlib/stdlib.h: Declare aligned_alloc.
55610         * Versions.def: Add GLIBC_2.16 for libc.
55611         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55613         [BZ 13527]
55614         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55615         ISO C11.
55617         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55618         code.
55620         [BZ #13528]
55621         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55623         [BZ #13529]
55624         * assert/assert.h (static_assert): Define.
55626         * version.h: Update for 2.16 development version.
55628         [BZ #13526]
55629         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55630         _ISOC11_SOURCE.
55632         * version.h (RELEASE): Bump for 2.15 release.
55633         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55635         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55636         Patch by Marek Polacek <mpolacek@redhat.com>.
55638         * bits/byteswap.h: Protect long long constants with __extension__.
55639         * sysdeps/i386/bits/byteswap.h: Likewise.
55640         * sysdeps/ia64/bits/byteswap.h: Likewise.
55641         * sysdeps/s390/bits/byteswap.h: Likewise.
55642         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55644 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55646         [BZ #13540]
55647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55648         destination buffer.
55649         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55651 2011-12-23  Marek Polacek  <polacek@redhat.com>
55653         * elf/dl-addr.c (determine_info): Add inline keyword.
55654         * elf/tst-auditmod4b.c (check_avx): Likewise.
55655         * elf/tst-auditmod6b.c (check_avx): Likewise.
55656         * elf/tst-auditmod6c.c (check_avx): Likewise.
55657         * elf/tst-auditmod7b.c (check_avx): Likewise.
55659 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55661         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55662         !__SSE_MATH__.
55664 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55666         [BZ #13540]
55667         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55668         processing for last bytes.
55670 2011-08-06  Bruno Haible  <bruno@clisp.org>
55672         [BZ #13061]
55673         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55674         U+0385, not to U+1FEE.
55676         [BZ #13062]
55677         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55678         entry for U+00A5 U+0301.
55680 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55682         [BZ #13166]
55683         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55684         buffer for the output is too small.
55686         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55687         optimization.
55689         [BZ #13185]
55690         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55691         SSE flags if possible.
55693 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55695         [BZ #13540]
55696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55697         processing for last bytes.
55699 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55701         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55702         (syscall-list-default-options, syscall-list-default-condition)
55703         (syscall-list-includes): Define.
55704         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55705         list of ABIs and options and #if conditions for each ABI.  Do not
55706         handle common syscalls between ABIs specially.
55707         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55708         Remove.
55709         (syscall-list-variants, syscall-list-32bit-options)
55710         (syscall-list-32bit-condition, syscall-list-64bit-options)
55711         (syscall-list-64bit-condition): Define.
55712         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55713         (syscall-list-variants, syscall-list-32bit-options)
55714         (syscall-list-32bit-condition, syscall-list-64bit-options)
55715         (syscall-list-64bit-condition): Define.
55716         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55717         Remove.
55718         (syscall-list-variants, syscall-list-32bit-options)
55719         (syscall-list-32bit-condition, syscall-list-64bit-options)
55720         (syscall-list-64bit-condition): Define.
55721         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55722         Remove.
55723         (syscall-list-variants, syscall-list-32bit-options)
55724         (syscall-list-32bit-condition, syscall-list-64bit-options)
55725         (syscall-list-64bit-condition): Define.
55727 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55729         * locale/iso-639.def: Add brx entry.
55731         [BZ #13328]
55732         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55733         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55735         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55736         __feraiseexcept_renamed.
55738 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55740         [BZ #13538]
55741         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55742         EPOLLET with unsigned values.
55743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55744         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55746         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55747         to large cancellation.
55748         * math/s_cacoshf.c: Likewise.
55749         * math/s_cacoshl.c: Likewise.
55751 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55753         [BZ #13305]
55754         [BZ #12786]
55755         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55756         * math/s_cacoshf.c: Likewise.
55757         * math/s_cacoshl.c: Likewise.
55759 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55761         [BZ #13439]
55762         * iconv/gconv.h: Define __GCONV_SWAP.
55763         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55764         * iconvdata/utf-16.c: Likewise.
55765         * iconvdata/utf-32.c: Likewise.
55767 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55769         [BZ #13524]
55770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55771         numerator after shifting it by one limb.
55773 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55775         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55776         under [__USE_EXTERN_INLINES].
55778 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55780         [BZ #13446]
55781         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55783 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55785         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55786         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55787         optimized code.
55788         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55789         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55790         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55791         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55792         for strncasecmp/strncasecmp_l compilation.
55793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55794         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55796 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55798         [BZ #13484]
55799         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55800         of __asm__.
55802 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55804         [BZ #13506]
55805         * time/tzfile.c (__tzfile_read): Check values from file header.
55807 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55809         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55810         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55811         * powerpc/powerpc32/dl-start.S: Likewise.
55812         * powerpc/powerpc32/elf/start.S: Likewise.
55813         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55814         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55815         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55816         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55817         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55818         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55819         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55820         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55821         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55822         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55823         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55824         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55825         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55826         * powerpc/powerpc32/memset.S: Likewise.
55827         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55828         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55829         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55830         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55831         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55832         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55833         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55834         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55835         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55836         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55837         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55838         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55839         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55841 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55843         * math/libm-test.inc: Added more nearbyint tests.
55844         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55845         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55846         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55847         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55849 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55851         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55852         FD_CLOEXEC.
55854 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55856         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55857         Add wcscpy-ssse3 wcscpy-c.
55858         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55859         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55860         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55861         * sysdeps/x86_64/wcschr.S: New file.
55862         * sysdeps/x86_64/wcsrchr.S: New file.
55863         * string/test-strcmp.c: Remove checking of wcscmp function for
55864         wrong alignments.
55865         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55866         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55867         wcsrchr-sse2 wcsrchr-c.
55868         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55869         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55870         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55871         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55872         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55873         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55874         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55875         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55876         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55877         * wcsmbc/wcschr.c (WCSCHR): New macro.
55879 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55881         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55882         * wcsmbs/test-wcsrchr.c: New file.
55883         * string/test-strrchr.c: Add wcsrchr support.
55884         (WIDE): New macro.
55885         * wcsmbs/test-wcscpy.c: New file.
55886         * string/test-strcpy.c: Add wcscpy support.
55887         (WIDE): New macro.
55889 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55891         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55892         the inner loop.
55894 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55896         [BZ #13472]
55897         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55899 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55901         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55902         Minor optimizations.
55904         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55905         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55906         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55908 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55910         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55911         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55912         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55913         for gcc to avoid warnings.
55914         * inet/Makefile (tests): Add tst-checks.
55915         * inet/tst-checks.c: New file.
55917         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55918         warning.
55920         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55921         __wmemcmp_sse2.
55923         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55924         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55926         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55928 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55930         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55931         problem.
55933         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55935 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55937         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55938         conditional on GCC version.
55939         (__arch_compare_and_exchange_val_8_acq)
55940         (__arch_compare_and_exchange_val_16_acq)
55941         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55942         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55943         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55945 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55947         * sysdeps/sh/backtrace.c: New file.
55949 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55951         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55952         parenthesis.
55954 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55956         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55957         falling back to utime.
55959 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55961         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55962         expectations for float.
55964 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55966         * locale/weight.h (findidx): Add parameter len.
55967         * locale/weightwc.h (findidx): Likewise.
55968         * posix/fnmatch_loop.c (FCT): Adjust caller.
55969         * posix/regcomp.c (build_equiv_class): Likewise.
55970         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55971         * posix/regexec.c (check_node_accept_bytes): Likewise.
55972         * string/strcoll_l.c (STRCOLL): Likewise.
55973         * string/strxfrm_l.c (STRXFRM): Likewise.
55975 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55977         * Makefile.in: Remove CVSOPT handling.
55978         * configure.in: Remove use of AC_REVISION.
55979         * iconvdata/Makefile (distribute): No need to filter out CVS.
55980         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55981         handling.
55983 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55986         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55987         [USE_AS_STRNCASECMP_L]: Likewise.
55988         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55989         NO_TLS_DIRECT_SEG_REFS.
55990         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55991         Fix argument offsets for non-PIC.
55992         [USE_AS_STRNCASECMP_L]: Likewise.
55993         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55994         NO_TLS_DIRECT_SEG_REFS.
55996 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55998         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55999         O_CLOEXEC.
56000         * locale/loadlocale.c (_nl_load_locale): Likewise.
56002 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56004         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56005         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56006         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56007         (SYSCALL_GETTIME): Set errno on error.
56009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56010         count references to noai6ai_cached.
56012 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56014         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56016         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56017         FD_CLOEXEC for /proc/self/maps.
56019         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56020         FD_CLOEXEC for /proc/meminfo.
56022         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56023         gai.conf.
56025         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56026         FD_CLOEXEC for given file.
56028         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56030         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56031         FD_CLOEXEC for /etc/hosts.
56032         (_gethtent): Likewise.
56034         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56036         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56037         cancellation and set FD_CLOEXEC for /etc/netgroup.
56039         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56040         reading /etc/publickey.
56042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56043         allow cancellation when reading /etc/group.
56045         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56046         cancellation.
56047         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56049         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56050         when using data file.
56052         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56054         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56055         (write_nis_obj): Use "c" and "e" in fopen.
56057         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56059         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56061         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56063         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56065         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56066         locale.alias.
56068         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56070         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56072         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56074         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56075         file parsing and set FD_CLOEXEC.
56077 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56079         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56081 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56083         * malloc/arena.c (arena_get2): Don't call reused_arena when
56084         _int_new_arena failed.
56086 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56088         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56089         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56091         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56092         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56093         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56094         to compile strcasecmp and strncasecmp.
56095         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56096         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56100 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56102         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56103         locale-defines.sym to gen-as-const-headers.
56104         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56105         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56106         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56107         to compile strcasecmp and strncasecmp.
56108         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56109         strcasecmp_l and strncasecmp_l.
56110         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56111         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56112         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56113         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56114         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56115         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56116         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56117         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56118         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56119         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56120         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56122 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56124         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56125         result of SYSDEP_GETTIME_CPU to retval.
56126         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56127         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56129         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56130         variable.
56132         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56133         mantissa words.
56134         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56136         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56137         from unused variable.
56139         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56140         DWARF definitions.
56141         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56142         for assembling.
56144         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56145         over namespaces.
56147         * sunrpc/rpc_prot.c (rejected): Fix case value.
56149         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56150         unsigned long long int to avoid warnings in shift.
56152         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56153         of use of trans.
56154         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56155         variable tmp.
56157         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56158         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56159         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56161         * nis/nis_table.c (nis_list): Use variable of correct type for
56162         result of __follow_path call.
56164 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56166         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56167         of math functions ceil, trunc, floor, round, and sqrt, when
56168         avaliable on the platform.
56169         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56170         name clash.
56171         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56172         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56173         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56175 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56177         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56178         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56180 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56182         * include/unistd.h: Fix __readlink return type.
56183         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56185 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56187         * stdlib/ucontext.h: Undo last change for makecontext.
56189 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56191         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56193         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56194         * setjmp/setjmp.h: Mark functions as non-leaf.
56195         * setjmp/bits/setjmp2.h: Likewise.
56196         * stdlib/ucontext.h: Likewise.
56198 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56200         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56201         (reused_arena): Don't check arena limit.
56202         (arena_get2): Atomically check arena limit.
56204 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56206         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56207         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56210         instructions.
56212 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56214         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56215         handler when locking.
56217         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56218         Fix size of allocated buffer.
56220 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56222         [BZ #10103]
56223         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56224         declarations for long double functions.
56225         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56227         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56229 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56231         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56232         installed.
56234         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56235         is disabled.
56237 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56239         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56241 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56243         * include/alloca.h (stackinfo_alloca_round): Define.
56244         (extend_alloca): Use it.
56245         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56246         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56247         here.
56249         * scripts/check-local-headers.sh: Ignore libaudit.h.
56251         * nscd/Makefile (extra-objs): Make recursively expanded.
56253 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56255         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56258         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56259         * posix/tst-rfc3484-2.c: Likewise.
56260         * posix/tst-rfc3484-3.c: Likewise.
56262         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56263         process_vm_writev.
56264         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56265         process_vm_writev.
56266         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56267         process_vm_writev from libc using GLIBC_2.15 version.
56269         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56271 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56273         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56274         stack usage.
56276 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56278         [BZ #13367]
56279         * nss/getent.c (initgroups_keys): Show error message in case no group
56280         names are given.
56282         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56283         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56284         __bump_nl_timestamp.
56285         * nscd/connections (nscd_init): When host database is served open
56286         netlink socket and request notification about configuration changes.
56287         (main_loop_poll): Track netlink file descriptor and bump timestamp
56288         in case data becomes available.
56289         (main_loop_epoll): Likewise.
56290         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56291         (database_pers_head): Add extra_data fileds.
56292         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56293         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56294         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56295         Adjust caller.
56296         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56297         in6ai data, call __free_in6ai.
56298         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56299         Add -DHAVE_NETLINK.
56300         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56301         interface information.  Reuse previous data if netlink timestamp
56302         is not changed.
56303         (__bump_nl_timestamp): New function.
56304         (__free_in6ai): New function.
56306 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56309         close_not_cancel_no_status here.
56310         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56312 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56314         [BZ #13276]
56315         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56316         return value.
56318         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56319         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56320         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56322 2011-07-03  Andreas Jaeger  <aj@suse.de>
56324         [BZ #10709]
56325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56326         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56327         * math/libm-test.inc (sin_test): Add test case.
56329 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56331         [BZ #13337]
56332         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56333         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56335         * elf/chroot_canon.c (chroot_canon): Cleanups.
56337         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56339         [BZ #13335]
56340         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56341         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56343         * string/test-strchr.c: Make usable for strchrnul testing.
56344         * string/test-strchrnul.c: New file.
56345         * string/Makefile (strop-tests): Add strchrnul.
56347         * po/it.po: Update from translation team.
56348         * po/es.po: Likewise.
56350 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56352         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56353         the three constants needed as parameters.  Drop the others.
56354         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56355         __m128i_strloadu_tolower.
56356         Create and initialize variable zero and use it in all the places
56357         where _mm_setzero_si128 was used.
56359         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56360         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56361         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56362         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56363         anymore.
56364         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56365         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56366         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56367         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56368         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56369         __mpranred, __mptan.
56370         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56371         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56372         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56373         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56374         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56375         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56376         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56377         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56378         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56380 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56382         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56383         redefine if SHARED.
56384         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56387         wide char related routines to wcsmbs subdir.
56389 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56391         [BZ #13344]
56392         * misc/sys/cdefs.h (__THROWNL): Define.
56393         * posix/unistd.h: Use __THREADNL instead of __THREAD
56394         for memory synchronization functions.
56396 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56398         [BZ #13349]
56399         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56400         doesn't exist.
56401         * manual/stdio.texi (Obstack Streams): Node removed.
56403 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56405         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56406         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56407         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56409         * math/math_private.h (math_force_eval): Allow non-addressable
56410         arguments.
56411         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56413 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56415         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56416         file is not needed.
56418         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56419         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56420         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56421         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56423         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56424         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56425         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56426         Add AVX variants.
56427         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56428         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56429         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56430         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56431         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56432         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56433         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56434         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56435         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56436         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56437         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56438         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56439         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56440         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56441         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56442         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56443         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56444         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56445         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56447         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56448         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56450         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56451         place.  Use VEX encoding when compiling for AVX.
56453 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56455         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56456         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56458         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56460 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56462         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56463         useless if() expression.
56464         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56465         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56466         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56468         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56469         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56470         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56471         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56472         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56473         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56474         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56475         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56476         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56477         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56478         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56479         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56480         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56481         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56482         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56484         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56486 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56488         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56489         condition.
56490         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56492 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56494         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56495         .text section.  Avoid duplicate constants.
56496         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56497         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56498         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56504         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56505         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56506         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56507         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56508         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56509         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56510         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56511         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56512         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56513         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56514         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56515         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56516         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56517         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56518         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56519         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56520         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56521         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56522         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56523         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56524         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56525         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56526         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56527         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56528         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56529         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56530         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56531         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56532         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56533         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56534         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56535         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56536         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56537         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56538         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56539         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56540         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56542 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56544         * sysdeps/x86_64/dla.h: Move to ...
56545         * sysdeps/x86_64/fpu/dla.h: ...here.
56546         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56547         situations.  Use __builtin_fma only for gcc 4.6 and up.
56549         * config.make.in: Add have-mfma4 entry.
56550         * configure.in: Substitute libc_cv_cc_fma4.
56551         * math/Makefile (dbl-only-routines): Add sincostab.
56552         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56553         Use __sincostab not sincos.
56554         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56555         name is a macro.
56556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56560         using __copysign.
56561         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56562         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56563         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56564         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56565         and __inv.
56566         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56567         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56568         __copysign.
56569         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56570         define aliases when function name is a macro.
56571         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56572         sysdeps/ieee754/dbl-64/sincos.tbl.
56573         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56574         fma4-enabled routines.
56575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56576         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56577         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56578         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56580         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56582         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56583         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56584         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56585         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56586         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56587         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56588         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56589         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56590         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56591         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56592         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56593         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56594         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56595         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56596         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56597         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56598         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56599         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56600         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56601         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56602         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56603         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56604         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56606         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56607         rename.
56608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56614         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56617 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56619         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56621 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56623         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56625         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56626         prediction.
56627         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56629         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56630         Remove unused variable magic_bits.
56631         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56633         * string/strnlen.c: Define and use STRNLEN macro.
56634         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56635         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56637         * wcsmbs/wcslen.c: Define and use WCSLEN.
56638         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56639         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56640         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56641         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56642         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56643         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56644         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56646 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56649         strnlen-sse2-no-bsf.
56650         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56651         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56652         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56653         Add strnlen support.
56654         (USE_AS_STRNLEN): New macro.
56655         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56656         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56657         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56658         * sysdeps/x86_64/wcslen.S: New file.
56660 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56662         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56663         XMM-moves are used for copying on small sizes.
56665 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56667         * wcsmbs/Makefile (strop-tests): Add wcschr.
56668         * wcsmbs/test-wcschr.c: New file.
56669         * string/test-strchr.c: Update.
56670         Add wcschr support.
56671         (WIDE): New macro.
56673 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56675         * wcsmbs/Makefile (strop-tests): Add wcslen.
56676         * wcsmbs/test-wcslen.c: New file.
56677         * string/test-strlen.c: Update.
56678         Add wcslen support.
56679         (WIDE): New macro.
56681 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56683         * po/it.po: Update from translation team.
56685 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56687         * sysdeps/x86_64/wcscmp.S: Update.
56688         Fix wrong comparison semantics.
56689         wcscmp shall use signed comparison not unsigned.
56690         Don't use substraction to avoid overflow bug.
56691         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56692         * wcsmbc/wcscmp.c: Likewise.
56693         * string/test-strcmp.c: Likewise.
56694         Add new tests to check cases with negative values.
56696 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56698         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56699         * sysdeps/x86_64/dla.h: ...here.  New file.
56700         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56701         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56703         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56704         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56705         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56706         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56707         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56708         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56710 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56713         __ynl_finite aliases.
56715 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56719         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56720         define DLA_FMA.
56721         [DLA_FMA] (EMULV): Use DLA_FMA.
56722         [DLA_FMA] (MUL12): Use EMULV.
56723         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56724         that are not needed.
56725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56726         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56728         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56733 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56735         * math/s_nan.c: Undef __nan.
56736         * math/s_nanf.c: Undef __nanf.
56737         * math/s_nanl.c: Undef __nanl.
56738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56739         "math_private.h".
56741 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56743         * math/s_catan.c: Add branch predictions.
56744         * math/s_catanf.c: Likewise.
56745         * math/s_catanh.c: Likewise.
56746         * math/s_catanhf.c: Likewise.
56747         * math/s_catanhl.c: Likewise.
56748         * math/s_catanl.c: Likewise.
56749         * math/s_cexp.c: Likewise.
56750         * math/s_cexpf.c: Likewise.
56751         * math/s_cexpl.c: Likewise.
56752         * math/s_clog.c: Likewise.
56753         * math/s_clog10.c: Likewise.
56754         * math/s_clog10f.c: Likewise.
56755         * math/s_clog10l.c: Likewise.
56756         * math/s_clogf.c: Likewise.
56757         * math/s_clogl.c: Likewise.
56758         * math/s_csqrt.c: Likewise.
56759         * math/s_csqrtf.c: Likewise.
56760         * math/s_csqrtl.c: Likewise.
56761         * math/s_ctanf.c: Likewise.
56762         * math/s_ctanh.c: Likewise.
56763         * math/s_ctanhf.c: Likewise.
56764         * math/s_ctanhl.c: Likewise.
56765         * math/s_ctanl.c: Likewise.
56767         * math/math_private.h: Define __nan, __nanf, __nanl.
56768         * math/s_cacosh.c: Include <math_private.h>.
56769         * math/s_cacoshl.c: Likewise.
56770         * math/s_casinh.c: Likewise.
56771         * math/s_casinhf.c: Likewise.
56772         * math/s_casinhl.c: Likewise.
56773         * math/s_ccos.c: Rely entire on ccosh.
56774         * math/s_ccosf.c: Rely entire on ccoshf.
56775         * math/s_ccosl.c: Rely entirely on ccoshl.
56776         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56777         Remove tests for FE_INVALID.
56778         * math/s_ccoshf.c: Likewise.
56779         * math/s_ccoshl.c: Likewise.
56780         * math/s_csin.c: Likewise.
56781         * math/s_csinf.c: Likewise.
56782         * math/s_csinh.c Likewise.
56783         * math/s_csinhf.c: Likewise.
56784         * math/s_csinhl.c: Likewise.
56785         * math/s_csinl.c: Likewise.
56786         * math/s_ctan.c: Likewise.
56787         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56788         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56789         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56791 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56794         compilation problems.
56796         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56797         __builtin_expect.
56799 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56801         * sysdeps/i386/configure.in: Test for -mfma4 option.
56802         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56803         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56804         COMMON_CPUID_INDEX_80000001.
56805         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56806         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56807         use it if FMA3 is not supported.
56808         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56810         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56811         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56813 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56815         [BZ #12892]
56816         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56817         it would create a cycle with a link time dependency.
56819 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56821         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56822         instruction.
56823         * string/Makefile (strop-tests): Add rawmemchr.
56824         * string/test-rawmemchr.c: New file.
56826         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56827         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56828         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56829         when compiling str{,n}casecmp and when AVX is available.  Hook up
56830         new optimized code in initializers.
56832 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56834         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56835         __feraiseexcept instead of feraiseexcept.
56837 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56839         * math/math_private.h: Define defaults for libc_fetestexcept and
56840         libc_feupdateenv.
56841         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56842         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56843         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56845         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56846         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56847         libc_fetestexcept and libc_feupdateenv.
56849         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56850         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56851         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56852         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56853         libc_feholdexcept_setround.
56855         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56856         Add s_nearbyint-c and s_nearbyintf-c.
56857         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56858         nearbyintf inlines.
56859         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56860         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56861         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56862         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56864         * math/math_private.h: Define defaults for libc_fegetround,
56865         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56866         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56867         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56868         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56869         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56870         standard functions.
56871         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56872         Remove comments and hacks for old compiler versions.
56873         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56874         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56875         libc_feholdexceptl.
56877 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56879         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56880         (__feraiseexcept_renamed): Add __NTH.
56881         (feraiseexcept): Add __NTH.  Rename local variables to fix
56882         namespace violations.
56884 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56888         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56890         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56891         recently added interfaces.
56892         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56894         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56895         about macro parameter expansion.
56897         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56898         __NO_MATH_INLINES is defined.  Cleanups.
56900         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56901         and __floorf is target has SSE4.1.
56902         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56903         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56904         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56905         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56907         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56908         name.
56909         (floorf): Likewise.
56911         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56913 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56915         * misc/sys/cdefs.h: Fix last change.
56917         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56918         database lookup.
56920 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56922         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56924         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56925         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56927         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56928         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56930         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56931         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56932         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56933         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56934         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56935         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56936         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56937         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56938         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56939         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56940         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56941         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56942         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56943         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56944         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56945         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56947         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56948         ceil, ceilf, floor, floorf.
56950         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56951         Perform IRELATIVE relocations last.
56953         * elf/do-rel.h: Add another parameter nrelative, replacing the
56954         local variable with the same name.  Change name of the function
56955         to end in Rel or Rela (uppercase).
56956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56957         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56958         elf_dynamic_do_##reloc function.
56960 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56962         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56963         is sufficient, at least on modern CPUs.
56965         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56967         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56968         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56970         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56971         __expl_finite.
56972         * math/bits/math-finite.h: Add entries for exp.
56973         * math/e_expl.c: Add __*_finite alias.
56974         * sysdeps/i386/fpu/e_exp.S: Likewise.
56975         * sysdeps/i386/fpu/e_expf.S: Likewise.
56976         * sysdeps/i386/fpu/e_expl.c: Likewise.
56977         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56978         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56981         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56982         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56983         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56985         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56986         is sufficient, at least on modern CPUs.
56988         * ctype/ctype-info.c (__ctype_init): Define.
56989         * include/ctype.h (__ctype_init): Declare.
56990         (__ctype_b_loc): The variable is always initialized.
56991         (__ctype_toupper_loc): Likewise.
56992         (__ctype_tolower_loc): Likewise.
56993         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56994         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56996 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56998         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57000         * configure.in: Also look in $cxxmachine/include for C++ system
57001         headers.
57003 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57005         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57006         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57007         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57008         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57010         (USE_AS_WMEMCMP): New macro.
57011         Fixing indents.
57012         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57013         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57014         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57015         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57016         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57017         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57018         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57019         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57020         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57021         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57022         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57023         (USE_AS_WMEMCMP): New macro.
57024         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57025         * sysdeps/string/test-memcmp.c: Update.
57026         Fix simple_wmemcmp.
57027         Add new tests.
57028         * wcsmbs/wmemcmp.c: Update.
57029         (WMEMCMP): New macro.
57030         Fix overflow bug.
57032 2011-10-12  Andreas Jaeger  <aj@suse.de>
57034         [BZ #13268]
57035         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57037 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57039         * libio/iofwide.c (do_length): Avoid warning.
57041         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57043 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57045         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57047         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57048         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57049         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57050         * sysdeps/i386/i686/fpu/e_log.S: New file.
57051         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57052         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57054         * ctype/ctype.h: Add support for inlined isXXX functions when
57055         compiling C++ code.
57057 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57059         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57061         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57063 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57065         [BZ #13291]
57066         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57068 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57070         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57071         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57072         feraiseexcept.
57074         * sysdeps/x86_64/memrchr.S: Check for zero size.
57076         * string/stratcliff.c: Add memrchr tests.
57078 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57080         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57081         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57082         rawmemchr-sse2 rawmemchr-sse2-bsf.
57083         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57084         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57085         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57086         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57087         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57088         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57089         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57090         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57091         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57092         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57093         * string/memrchr.c (MEMRCHR): New macro.
57095 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57097         Add integration with gcc's -ffinite-math-only and optimize wrapper
57098         functions in libm.
57099         * Versions.def: Define GLIBC_2.15 version for libm.
57100         * math/Makefile (headers): Add bits/math-finite.h.
57101         * math/bits/math-finite.h: New file.
57102         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57103         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57104         * math/e_acoshl.c: Add __*_finite alias.
57105         * math/e_acosl.c: Likewise.
57106         * math/e_asinl.c: Likewise.
57107         * math/e_atan2l.c: Likewise.
57108         * math/e_atanhl.c: Likewise.
57109         * math/e_coshl.c: Likewise.
57110         * math/e_exp10.c: Likewise.
57111         * math/e_exp10f.c: Likewise.
57112         * math/e_exp10l.c: Likewise.
57113         * math/e_exp2l.c: Likewise.
57114         * math/e_fmodl.c: Likewise.
57115         * math/e_gammal_r.c: Likewise.
57116         * math/e_hypotl.c: Likewise.
57117         * math/e_j0l.c: Likewise.
57118         * math/e_j1l.c: Likewise.
57119         * math/e_jnl.c: Likewise.
57120         * math/e_lgammal_r.c: Likewise.
57121         * math/e_log10l.c: Likewise.
57122         * math/e_log2l.c: Likewise.
57123         * math/e_logl.c: Likewise.
57124         * math/e_powl.c: Likewise.
57125         * math/e_sinhl.c: Likewise.
57126         * math/e_sqrtl.c: Likewise.
57127         * math/e_scalb.c: Completely rewritten and optimized.
57128         * math/e_scalbf.c: Likewise.
57129         * math/e_scalbl.c: Likewise.
57130         * math/w_acos.c: Likewise.
57131         * math/w_acosf.c: Likewise.
57132         * math/w_acosl.c: Likewise.
57133         * math/w_acosh.c: Likewise.
57134         * math/w_acoshf.c: Likewise.
57135         * math/w_acoshl.c: Likewise.
57136         * math/w_asin.c: Likewise.
57137         * math/w_asinf.c: Likewise.
57138         * math/w_asinl.c: Likewise.
57139         * math/w_atan2.c: Likewise.
57140         * math/w_atan2f.c: Likewise.
57141         * math/w_atan2l.c: Likewise.
57142         * math/w_atanh.c: Likewise.
57143         * math/w_atanhf.c: Likewise.
57144         * math/w_atanhl.c: Likewise.
57145         * math/w_exp10.c: Likewise.
57146         * math/w_exp10f.c: Likewise.
57147         * math/w_exp10l.c: Likewise.
57148         * math/w_fmod.c: Likewise.
57149         * math/w_fmodf.c: Likewise.
57150         * math/w_fmodl.c: Likewise.
57151         * math/w_j0.c: Likewise.
57152         * math/w_j0f.c: Likewise.
57153         * math/w_j0l.c: Likewise.
57154         * math/w_j1.c: Likewise.
57155         * math/w_j1f.c: Likewise.
57156         * math/w_j1l.c: Likewise.
57157         * math/w_jn.c: Likewise.
57158         * math/w_jnf.c: Likewise.
57159         * math/w_log.c: Likewise.
57160         * math/w_logf.c: Likewise.
57161         * math/w_logl.c: Likewise.
57162         * math/w_log10.c: Likewise.
57163         * math/w_log10f.c: Likewise.
57164         * math/w_log10l.c: Likewise.
57165         * math/w_log2.c: Likewise.
57166         * math/w_log2f.c: Likewise.
57167         * math/w_log2l.c: Likewise.
57168         * math/w_pow.c: Likewise.
57169         * math/w_powf.c: Likewise.
57170         * math/w_powl.c: Likewise.
57171         * math/w_remainder.c: Likewise.
57172         * math/w_remainderf.c: Likewise.
57173         * math/w_remainderl.c: Likewise.
57174         * math/w_scalb.c: Likewise.
57175         * math/w_scalbf.c: Likewise.
57176         * math/w_scalbl.c: Likewise.
57177         * math/w_sqrt.c: Likewise.
57178         * math/w_sqrtf.c: Likewise.
57179         * math/w_sqrtl.c: Likewise.
57180         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57181         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57182         used.
57183         * math/math_private.h: Declare __kernel_standard_f.
57184         * math/w_cosh.c: Remove cruft and optimize a bit.
57185         * math/w_coshf.c: Likewise.
57186         * math/w_coshl.c: Likewise.
57187         * math/w_exp2.c: Likewise.
57188         * math/w_exp2f.c: Likewise.
57189         * math/w_exp2l.c: Likewise.
57190         * math/w_hypot.c: Likewise.
57191         * math/w_hypotf.c: Likewise.
57192         * math/w_hypotl.c: Likewise.
57193         * math/w_lgamma.c: Likewise.
57194         * math/w_lgamma_r.c: Likewise.
57195         * math/w_lgammaf.c: Likewise.
57196         * math/w_lgammaf_r.c: Likewise.
57197         * math/w_lgammal.c: Likewise.
57198         * math/w_lgammal_r.c: Likewise.
57199         * math/w_sinh.c: Likewise.
57200         * math/w_sinhf.c: Likewise.
57201         * math/w_sinhl.c: Likewise.
57202         * math/w_tgamma.c: Likewise.
57203         * math/w_tgammaf.c: Likewise.
57204         * math/w_tgammal.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57206         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57207         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57208         Minor optimizations.  Pretty printing.  Remove cruft.
57209         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57211         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57213         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57214         * sysdeps/i386/fpu/e_asin.S: Likewise.
57215         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57216         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57217         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57218         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57219         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57220         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57221         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57222         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57223         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57224         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57225         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57226         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57227         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57228         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57229         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57230         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57231         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57232         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57233         * sysdeps/i386/fpu/e_log.S: Likewise.
57234         * sysdeps/i386/fpu/e_log10.S: Likewise.
57235         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57236         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57237         * sysdeps/i386/fpu/e_log2.S: Likewise.
57238         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57239         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57240         * sysdeps/i386/fpu/e_logf.S: Likewise.
57241         * sysdeps/i386/fpu/e_logl.S: Likewise.
57242         * sysdeps/i386/fpu/e_pow.S: Likewise.
57243         * sysdeps/i386/fpu/e_powf.S: Likewise.
57244         * sysdeps/i386/fpu/e_powl.S: Likewise.
57245         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57246         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57247         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57248         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57249         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57250         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57251         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57252         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57253         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57254         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57255         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57257         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57259         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57260         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57261         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57262         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57263         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57264         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57265         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57267         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57268         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57269         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57270         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57271         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57274         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57275         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57276         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57277         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57278         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57279         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57280         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57281         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57282         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57283         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57284         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57285         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57286         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57287         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57288         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57289         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57290         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57291         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57292         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57293         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57294         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57295         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57296         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57297         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57298         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57299         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57300         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57301         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57302         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57303         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57304         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57305         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57309         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57310         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57311         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57312         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57313         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57314         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57316         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57317         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57318         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57319         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57320         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57321         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57322         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57324         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57325         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57326         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57327         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57328         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57329         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57330         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57331         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57332         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57333         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57334         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57335         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57336         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57337         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57338         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57339         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57340         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57341         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57342         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57343         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57344         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57345         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57347         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57348         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57349         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57350         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57351         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57352         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57353         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57354         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57355         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57356         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57357         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57358         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57359         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57360         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57361         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57362         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57363         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57364         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57365         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57366         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57367         (__isnanf): Likewise.
57368         (__isinf_ns): Likewise.
57369         (__isinf_nsf): Likewise.
57370         (__finite): Likewise.
57371         (__finitef): Likewise.
57372         (__ieee754_sqrt): Define as macro.
57373         (__ieee754_sqrtf): Define as macro.
57374         (__ieee754_sqrtl): Define as macro.
57375         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57376         inlined copy.
57377         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57378         __FINITE_MATH_ONLY__ consistent.
57379         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57381 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57383         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57384         of rawmemchr.
57386         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57388 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57390         * po/ja.po: Update from translation team.
57392 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57394         * locale/programs/locarchive.c (prepare_address_space): New function.
57395         (create_archive, enlarge_archive, open_archive): Use it.
57397         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57398         inside [SHARED], where it is used.
57400         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57402         * nss/getent.c (netgroup_keys): Remove unused variable.
57403         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57405 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57407         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57408         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57411         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57412         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57413         * math/Makefile (libm-calls): Add s_isinf_ns.
57414         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57415         * math/multc3.c: Likewise.
57416         * math/s_casin.c: Likewise.
57417         * math/s_casinf.c: Likewise.
57418         * math/s_casinl.c: Likewise.
57419         * math/s_ccos.c: Likewise.
57420         * math/s_ccosf.c: Likewise.
57421         * math/s_ccosl.c: Likewise.
57422         * math/s_ctan.c: Likewise.
57423         * math/s_ctanf.c: Likewise.
57424         * math/s_ctanh.c: Likewise.
57425         * math/s_ctanhf.c: Likewise.
57426         * math/s_ctanhl.c: Likewise.
57427         * math/s_ctanl.c: Likewise.
57428         * math/w_fmod.c: Likewise.
57429         * math/w_fmodf.c: Likewise.
57430         * math/w_fmodl.c: Likewise.
57431         * math/w_remainder.c: Likewise.
57432         * math/w_remainderf.c: Likewise.
57433         * math/w_remainderl.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57435         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57436         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57438         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57439         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57440         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57441         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57443         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57444         of the number.
57445         * stdio-common/printf_fphex.c: Likewise.
57446         * stdio-common/printf_size.c: Likewise.
57448         * math/e_exp10.c: Include math_private.h using <...> not "...".
57449         * math/e_exp10f.c: Likewise.
57450         * math/e_exp10l.c: Likewise.
57451         * math/e_exp2l.c: Likewise.
57452         * math/e_j0l.c: Likewise.
57453         * math/e_j1l.c: Likewise.
57454         * math/e_jnl.c: Likewise.
57455         * math/e_lgammal_r.c: Likewise.
57456         * math/e_rem_pio2l.c: Likewise.
57457         * math/e_scalb.c: Likewise.
57458         * math/e_scalbf.c: Likewise.
57459         * math/e_scalbl.c: Likewise.
57460         * math/k_cosl.c: Likewise.
57461         * math/k_sinl.c: Likewise.
57462         * math/k_tanl.c: Likewise.
57463         * math/s_cacoshf.c: Likewise.
57464         * math/s_catan.c: Likewise.
57465         * math/s_catanf.c: Likewise.
57466         * math/s_catanh.c: Likewise.
57467         * math/s_catanhf.c: Likewise.
57468         * math/s_catanhl.c: Likewise.
57469         * math/s_catanl.c: Likewise.
57470         * math/s_ccosh.c: Likewise.
57471         * math/s_ccoshf.c: Likewise.
57472         * math/s_ccoshl.c: Likewise.
57473         * math/s_cexp.c: Likewise.
57474         * math/s_cexpf.c: Likewise.
57475         * math/s_cexpl.c: Likewise.
57476         * math/s_clog.c: Likewise.
57477         * math/s_clog10.c: Likewise.
57478         * math/s_clog10f.c: Likewise.
57479         * math/s_clog10l.c: Likewise.
57480         * math/s_clogf.c: Likewise.
57481         * math/s_clogl.c: Likewise.
57482         * math/s_csin.c: Likewise.
57483         * math/s_csinf.c: Likewise.
57484         * math/s_csinh.c: Likewise.
57485         * math/s_csinhf.c: Likewise.
57486         * math/s_csinhl.c: Likewise.
57487         * math/s_csinl.c: Likewise.
57488         * math/s_csqrt.c: Likewise.
57489         * math/s_csqrtf.c: Likewise.
57490         * math/s_csqrtl.c: Likewise.
57491         * math/s_ctan.c: Likewise.
57492         * math/s_ctanf.c: Likewise.
57493         * math/s_ctanh.c: Likewise.
57494         * math/s_ctanhf.c: Likewise.
57495         * math/s_ctanhl.c: Likewise.
57496         * math/s_ctanl.c: Likewise.
57497         * math/s_ldexp.c: Likewise.
57498         * math/s_ldexpf.c: Likewise.
57499         * math/s_ldexpl.c: Likewise.
57500         * math/s_significand.c: Likewise.
57501         * math/s_significandf.c: Likewise.
57502         * math/s_significandl.c: Likewise.
57503         * math/w_acos.c: Likewise.
57504         * math/w_acosf.c: Likewise.
57505         * math/w_acosh.c: Likewise.
57506         * math/w_acoshf.c: Likewise.
57507         * math/w_acoshl.c: Likewise.
57508         * math/w_acosl.c: Likewise.
57509         * math/w_asin.c: Likewise.
57510         * math/w_asinf.c: Likewise.
57511         * math/w_asinl.c: Likewise.
57512         * math/w_atan2.c: Likewise.
57513         * math/w_atan2f.c: Likewise.
57514         * math/w_atan2l.c: Likewise.
57515         * math/w_atanh.c: Likewise.
57516         * math/w_atanhf.c: Likewise.
57517         * math/w_atanhl.c: Likewise.
57518         * math/w_cosh.c: Likewise.
57519         * math/w_coshf.c: Likewise.
57520         * math/w_coshl.c: Likewise.
57521         * math/w_dremf.c: Likewise.
57522         * math/w_exp10.c: Likewise.
57523         * math/w_exp10f.c: Likewise.
57524         * math/w_exp10l.c: Likewise.
57525         * math/w_exp2.c: Likewise.
57526         * math/w_exp2f.c: Likewise.
57527         * math/w_fmod.c: Likewise.
57528         * math/w_fmodf.c: Likewise.
57529         * math/w_fmodl.c: Likewise.
57530         * math/w_hypot.c: Likewise.
57531         * math/w_hypotf.c: Likewise.
57532         * math/w_hypotl.c: Likewise.
57533         * math/w_j0.c: Likewise.
57534         * math/w_j0f.c: Likewise.
57535         * math/w_j0l.c: Likewise.
57536         * math/w_j1.c: Likewise.
57537         * math/w_j1f.c: Likewise.
57538         * math/w_j1l.c: Likewise.
57539         * math/w_jn.c: Likewise.
57540         * math/w_jnf.c: Likewise.
57541         * math/w_jnl.c: Likewise.
57542         * math/w_lgamma.c: Likewise.
57543         * math/w_lgamma_r.c: Likewise.
57544         * math/w_lgammaf.c: Likewise.
57545         * math/w_lgammaf_r.c: Likewise.
57546         * math/w_lgammal.c: Likewise.
57547         * math/w_lgammal_r.c: Likewise.
57548         * math/w_log.c: Likewise.
57549         * math/w_log10.c: Likewise.
57550         * math/w_log10f.c: Likewise.
57551         * math/w_log10l.c: Likewise.
57552         * math/w_log2.c: Likewise.
57553         * math/w_log2f.c: Likewise.
57554         * math/w_log2l.c: Likewise.
57555         * math/w_logf.c: Likewise.
57556         * math/w_logl.c: Likewise.
57557         * math/w_pow.c: Likewise.
57558         * math/w_powf.c: Likewise.
57559         * math/w_powl.c: Likewise.
57560         * math/w_remainder.c: Likewise.
57561         * math/w_remainderf.c: Likewise.
57562         * math/w_remainderl.c: Likewise.
57563         * math/w_scalb.c: Likewise.
57564         * math/w_scalbf.c: Likewise.
57565         * math/w_scalbl.c: Likewise.
57566         * math/w_sinh.c: Likewise.
57567         * math/w_sinhf.c: Likewise.
57568         * math/w_sinhl.c: Likewise.
57569         * math/w_sqrt.c: Likewise.
57570         * math/w_sqrtf.c: Likewise.
57571         * math/w_sqrtl.c: Likewise.
57572         * math/w_tgamma.c: Likewise.
57573         * math/w_tgammaf.c: Likewise.
57574         * math/w_tgammal.c: Likewise.
57576         * po/ja.po: Update from translation team.
57578 2011-09-29  Andreas Jaeger  <aj@suse.de>
57580         [BZ #13179]
57581         * sunrpc/netname.c (netname2host): Fix logic.
57583         [BZ #6779]
57584         [BZ #6783]
57585         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57586         correctly.
57587         * math/w_remainder.c (__remainder): Likewise.
57588         * math/w_remainderf.c (__remainderf): Likewise.
57589         * math/libm-test.inc (remainder_test): Add test cases.
57591 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57593         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57594         sdiv_qrnnd.
57596 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57598         * string/test-memcmp.c: Avoid unncessary #defines.
57599         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57601 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57603         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57604         Use new sse2 version for core i3 - i7 as it's faster
57605         than sse42 version.
57606         (bit_Prefer_PMINUB_for_stringop): New.
57607         * sysdeps/x86_64/rawmemchr.S: Update.
57608         Replace with faster SSE2 version.
57609         * sysdeps/x86_64/memrchr.S: New file.
57610         * sysdeps/x86_64/memchr.S: Update.
57611         Replace with faster SSE2 version.
57613 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57615         * elf/dl-load.c (lose): Add cast to avoid warning.
57617 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57619         * po/ca.po: Update from translation team.
57621         * inet/getnetgrent_r.c: Hook up nscd.
57622         * nscd/Makefile (routines): Add nscd_netgroup.
57623         (nscd-modules): Add netgroupcache.
57624         (CFLAGS-netgroupcache.c): Define.
57625         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57626         (cache_search): Add const to second parameter.
57627         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57628         INNETGR.
57629         (dbs): Add netgrdb entry.
57630         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57631         (verify_persistent_db): Handle netgrdb.
57632         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57633         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57634         GETFDNETGR.
57635         (netgroup_response_header): Define.
57636         (innetgroup_response_header): Define.
57637         (datahead): Add netgroup_response_header and innetgroup_response_header
57638         elements.
57639         * nscd/nscd.conf: Add entries for netgroup cache.
57640         * nscd/nscd.h (dbtype): Add netgrdb.
57641         (_PATH_NSCD_NETGROUP_DB): Define.
57642         (netgroup_iov_disabled): Declare.
57643         (xmalloc, xcalloc, xrealloc): Move declarations here.
57644         (cache_search): Adjust prototype.
57645         Add netgroup-related prototypes.
57646         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57647         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57648         (__nscd_innetgr): Declare.
57649         * nscd/selinux.c (perms): Use access_vector_t as element type and
57650         add netgroup-related initializers.
57651         * nscd/netgroupcache.c: New file.
57652         * nscd/nscd_netgroup.c: New file.
57653         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57654         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57655         For four parameters use innetgr.
57656         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57657         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57658         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57659         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57661         * nscd/connections.c (register_traced_file): Don't register file
57662         for disabled databases.
57664 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57666         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57668         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57669         from tree and freeing node.
57671 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57673         * nss/nsswitch.c (__nss_database_lookup): Handle
57674         nss_parse_service_list out of memory case.
57676 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57678         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57679         out of memory case.
57681 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57683         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57684         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57685         pass it down.
57686         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57687         elf_machine_rela, elf_machine_lazy_rel.
57688         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57689         (ELF_DYNAMIC_DO_REL): Likewise.
57690         (ELF_DYNAMIC_DO_RELA): Likewise.
57691         (ELF_DYNAMIC_RELOCATE): Likewise.
57692         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57693         to ELF_DYNAMIC_DO_REL.
57694         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57695         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57696         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57697         elf_machine_rela.
57698         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57699         skip_ifunc, don't call ifunc function if non-zero.
57700         (elf_machine_rela): Likewise.
57701         (elf_machine_lazy_rel): Likewise.
57702         (elf_machine_lazy_rela): Likewise.
57703         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57704         (elf_machine_lazy_rel): Likewise.
57705         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57706         Likewise.
57707         (elf_machine_lazy_rel): Likewise.
57708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57709         Likewise.
57710         (elf_machine_lazy_rel): Likewise.
57711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57712         (elf_machine_lazy_rel): Likewise.
57713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57714         (elf_machine_lazy_rel): Likewise.
57715         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57716         (elf_machine_lazy_rel): Likewise.
57717         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57718         (elf_machine_lazy_rel): Likewise.
57719         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57720         (elf_machine_lazy_rel): Likewise.
57721         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57722         (elf_machine_lazy_rel): Likewise.
57724 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57726         * nss/nss_files/files-init.c (_nss_files_init): Use static
57727         initialization for all the *_traced_file variables.
57729 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57731         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57733 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57735         [BZ #13226]
57736         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57738 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57741         Reread the line before reparsing it.
57743 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57745         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57747 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57748             Maxim Kuvyrkov  <maxim@codesourcery.com>
57749             Joseph Myers  <joseph@codesourcery.com>
57751         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57752         if needed for __stack_chk_guard.
57754 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57756         * sysdeps/posix/spawni.c (script_execute): Always define it.
57757         It will be optimized away if unused.
57758         (maybe_script_execute): New function.
57759         (__spawni): Call it.
57761         * Makerules: Don't include tls.make.
57762         (config-tls): Always set to thread.
57763         * tls.make.c: File removed.
57765 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57767         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57768         * config.make.in (CPPFLAGS-config): New substituted variable.
57770 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57772         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57774         [BZ #13192]
57775         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57776         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57778 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57780         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57781         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57783         (CALL_FAIL): Likewise.
57784         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57785         (CALL_FAIL): Macro removed.
57786         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57788 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57790         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57791         for __FINITE_MATH_ONLY__ == 1.
57793 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57795         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57796         __ieee754_sqrt instead of sqrt.
57797         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57798         __ieee754_sqrtf instead of sqrtf.
57799         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57800         __floorf instead of floorf.
57801         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57802         __floorf, __truncf instead of floorf, truncf.
57804 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57806         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57808         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57809         __extern_always_inline.
57810         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57811         32-bit.
57813 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57815         * elf/rtld.c (dl_main): Also relocate in dependency order when
57816         doing symbol dependency testing.
57818 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57821         Always define `refsym'.
57823 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57825         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57826         (__FD_ELT): Renamed from __FDELT.
57827         * misc/bits/select2.h (__FD_ELT): Likewise.
57828         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57829         __FD_MASK instead of __FDELT, __FDMASK.
57830         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57831         Likewise.
57832         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57833         Likewise.
57835         * elf/Makefile (gen-ldd): Fix pattern.
57837         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57838         (init_tls): Likewise.
57840 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57844 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57846         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57847         `struct cmsghdr *' instead of `void *'.
57848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57849         Likewise.
57851 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57853         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57854         if non-absolute.
57855         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57856         ldd_rewrite_script.
57858 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57860         * configure.in: Remove --with-tls option.
57861         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57862         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57863         out in case it is missing.
57864         * sysdeps/ia64/elf/configure.in: Likewise.
57865         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57866         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57867         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57868         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57869         * sysdeps/sh/elf/configure.in: Likewise.
57870         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57871         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57872         * sysdeps/x86_64/elf/configure.in: Likewise.
57873         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57874         * sysdeps/mach/hurd/tls.h: Likewise.
57876         [BZ #13067]
57877         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57879         [BZ #13090]
57880         * configure.in: Fix use of AC_INIT.
57882         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57884 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57886         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57887         __set_errno.
57888         * malloc/hooks.c: Likewise.
57890         [BZ #11929]
57891         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57892         variables statically.
57893         (narenas): Initialize.
57894         (list_lock): Initialize.
57895         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57896         initializtion of main_arena and list_lock.  Small cleanups.
57897         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57898         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57899         Add initializers to main_arena and mp_.
57900         (malloc_state): Remove pagesize member.  Change all users to use
57901         GLRO(dl_pagesize).
57903         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57904         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57905         is always initialized.
57907         * malloc/malloc.c: Removed unused configurations and dead code.
57908         * malloc/arena.c: Likewise.
57909         * malloc/hooks.c: Likewise.
57910         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57912         * include/tls.h: Removed.  USE___THREAD must always be defined.
57913         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57914         * elf/dl-libc.c: Likewise.
57915         * elf/dl-tsd.c: Likewise.
57916         * include/errno.h: Likewise.
57917         * include/netdb.h: Likewise.
57918         * include/resolv.h: Likewise.
57919         * inet/herrno-loc.c: Likewise.
57920         * inet/herrno.c: Likewise.
57921         * malloc/arena.c: Likewise.
57922         * malloc/hooks.c: Likewise.
57923         * malloc/malloc.c: Likewise.
57924         * resolv/res-state.c: Likewise.
57925         * resolv/res_libc.c: Likewise.
57926         * sysdeps/i386/dl-machine.h: Likewise.
57927         * sysdeps/ia64/dl-machine.h: Likewise.
57928         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57929         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57930         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57931         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57932         * sysdeps/sh/dl-machine.h: Likewise.
57933         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57934         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57935         * sysdeps/unix/i386/sysdep.S: Likewise.
57936         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57937         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57938         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57940         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57941         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57942         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57946         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57947         * sysdeps/x86_64/dl-machine.h: Likewise.
57948         * tls.make.c: Likewise.
57950         * configure.in: Remove --with-__thread option.  Make tests for
57951         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57952         tls_model attribute fail if no support is available.  Remove
57953         USE_IN_LIBIO.
57954         * Makeconfig: Adjust for dropped configure option.  All features are
57955         now mandatory.
57956         * Makerules: Likewise.
57957         * Versions.def: Likewise.
57958         * argp/argp-fmtstream.c: Likewise.
57959         * argp/argp-fmtstream.h: Likewise.
57960         * argp/argp-help.c: Likewise.
57961         * assert/assert.c: Likewise.
57962         * config.h.in: Likewise.
57963         * config.make.in: Likewise.
57964         * configure: Likewise.
57965         * configure.in: Likewise.
57966         * csu/Versions: Likewise.
57967         * csu/init.c: Likewise.
57968         * elf/tst-audit2.c: Likewise.
57969         * elf/tst-tls10.c: Likewise.
57970         * elf/tst-tls10.h: Likewise.
57971         * elf/tst-tls11.c: Likewise.
57972         * elf/tst-tls12.c: Likewise.
57973         * elf/tst-tls14.c: Likewise.
57974         * elf/tst-tlsmod11.c: Likewise.
57975         * elf/tst-tlsmod12.c: Likewise.
57976         * elf/tst-tlsmod13.c: Likewise.
57977         * elf/tst-tlsmod13a.c: Likewise.
57978         * elf/tst-tlsmod14a.c: Likewise.
57979         * elf/tst-tlsmod15b.c: Likewise.
57980         * elf/tst-tlsmod16a.c: Likewise.
57981         * elf/tst-tlsmod16b.c: Likewise.
57982         * elf/tst-tlsmod7.c: Likewise.
57983         * elf/tst-tlsmod8.c: Likewise.
57984         * elf/tst-tlsmod9.c: Likewise.
57985         * gmon/gmon.c: Likewise.
57986         * grp/fgetgrent_r.c: Likewise.
57987         * grp/putgrent.c: Likewise.
57988         * hurd/fopenport.c: Likewise.
57989         * include/libc-symbols.h: Likewise.
57990         * include/tls.h: Likewise.
57991         * intl/gettextP.h: Likewise.
57992         * intl/loadinfo.h: Likewise.
57993         * locale/global-locale.c: Likewise.
57994         * locale/localeinfo.h: Likewise.
57995         * mach/devstream.c: Likewise.
57996         * malloc/arena.c: Likewise.
57997         * malloc/set-freeres.c: Likewise.
57998         * misc/err.c: Likewise.
57999         * misc/getttyent.c: Likewise.
58000         * misc/mntent_r.c: Likewise.
58001         * posix/getopt.c: Likewise.
58002         * posix/wordexp.c: Likewise.
58003         * pwd/fgetpwent_r.c: Likewise.
58004         * resolv/Versions: Likewise.
58005         * resolv/res_hconf.c: Likewise.
58006         * shadow/fgetspent_r.c: Likewise.
58007         * shadow/putspent.c: Likewise.
58008         * stdio-common/printf_fphex.c: Likewise.
58009         * stdio-common/tmpfile.c: Likewise.
58010         * stdlib/abort.c: Likewise.
58011         * stdlib/fmtmsg.c: Likewise.
58012         * sunrpc/auth_unix.c: Likewise.
58013         * sunrpc/clnt_perr.c: Likewise.
58014         * sunrpc/clnt_tcp.c: Likewise.
58015         * sunrpc/clnt_udp.c: Likewise.
58016         * sunrpc/clnt_unix.c: Likewise.
58017         * sunrpc/openchild.c: Likewise.
58018         * sunrpc/svc_simple.c: Likewise.
58019         * sunrpc/svc_tcp.c: Likewise.
58020         * sunrpc/svc_udp.c: Likewise.
58021         * sunrpc/svc_unix.c: Likewise.
58022         * sunrpc/xdr.c: Likewise.
58023         * sunrpc/xdr_array.c: Likewise.
58024         * sunrpc/xdr_rec.c: Likewise.
58025         * sunrpc/xdr_ref.c: Likewise.
58026         * sunrpc/xdr_stdio.c: Likewise.
58028 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58030         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58032 2011-07-03  Andreas Jaeger  <aj@suse.de>
58034         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58035         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58036         regenerate with gen-libm-tests.pl.
58038 2010-05-12  Petr Baudis  <pasky@suse.cz>
58040         [BZ #11589]
58041         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58042         around j0() zero points by switching to j1().
58043         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58044         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58046         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58048 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58050         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58051         instead of 0.
58052         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58053         instead of 0.
58054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58055         Patch in part by Pavel Roskin <proski@gnu.org>.
58057         [BZ #13138]
58058         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58059         realloc.
58060         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58061         Free memory block if necessary.
58063         [BZ #12847]
58064         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58065         be NULL.  Don't lock in this case.
58067 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58069         * elf/elf.h (ELFOSABI_GNU): New macro.
58070         (ELFOSABI_LINUX): Define to that.
58072 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58074         * string/strncat.c (strncat): Undef the symbol in case it has been
58075         defined in bits/string.h.
58077 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58079         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58081         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58082         link map.
58084 2011-08-17  Andreas Jaeger  <aj@suse.de>
58086         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58088 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58089             Ian Lance Taylor  <iant@google.com>
58091         * math/libm-test.inc (lround_test): New testcase.
58092         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58094 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58096         * Makefile: Remove support for automatic cvs check-ins.
58097         * Makerules: Likewise.
58098         * config.make.in: Likewise.
58099         * configure.in: Likewise.
58100         * intl/Makefile: Likewise.
58101         * locale/Makefile: Likewise.
58102         * po/Makefile: Likewise.
58103         * posix/Makefile: Likewise.
58104         * sysdeps/gnu/Makefile: Likewise.
58105         * sysdeps/mach/hurd/Makefile: Likewise.
58106         * sysdeps/sparc/sparc32/Makefile: Likewise.
58108         [BZ #13118]
58109         * posix/Makefile (bug-regex32-ENV): Define.
58110         Patch by John Stanley <jpsinthemix@verizon.net>.
58112         * misc/Makefile (headers): Add bits/select2.h.
58113         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58114         * misc/bits/select2.h: New file.
58115         * include/bits/select2.h: New file.
58116         * debug/Makefile (routines): Add fdelt_chk.
58117         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58118         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58119         FD_ISSET.
58120         * debug/fdelt_chk.c: New file.
58122         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58123         * wcsmbs/test-wmemcmp.c: Likewise.
58124         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58125         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58127 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58129         * string/Makefile (strop-tests): Add memcmp.
58130         * string/test-wmemcmp.c: New file.
58131         * string/test-memcmp.c: Add wmemcmp support.
58133 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58135         [BZ #13153]
58136         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58137         2011-07-19 change.
58139         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58140         garbage value in a __mach_port_mod_refs call in the cases of the
58141         task-self and thread-self ports.
58143 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58145         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58147 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58149         * elf/dl-load.c (lose): Check for non-null L.
58151 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58153         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58155         * elf/dl-libc.c (dlerror_run): Pass back error code from
58156         dl_catch_error.
58158         [BZ #13123]
58159         * elf/dl-load.c (lose): Free l_origin if it is valid.
58161         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58162         names.
58163         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58164         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58165         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58167         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58168         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58170 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58172         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58173         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58174         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58175         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58176         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58177         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58178         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58179         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58180         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58181         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58183 2011-08-15  Alan Modra  <amodra@gmail.com>
58185         [BZ #13092]
58186         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58187         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58188         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58189         ppc_mcount to static-only-routines.
58190         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58191         __mcount_internal.
58192         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58193         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58195 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58197         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58198         for finite and infinity parameters.
58200 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58203         and add nop instructions for throughput optimization.
58204         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58206 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58208         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58209         aligned copy for power7 with vector-scalar instructions.
58210         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58212 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58214         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58215         AVX check.
58217 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58219         [BZ #13144]
58220         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58221         last change.
58223 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58225         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58226         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58227         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58228         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58229         clock_gettime.
58231 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58233         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58234         Forgot to demangle the pointer.
58236         * sysdeps/i386/sysdep.h: Define atom_text_section.
58237         * sysdeps/x86_64/sysdep.h: Likewise.
58238         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58239         section with atom_text_section.
58240         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58241         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58242         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58243         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58244         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58246         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58247         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58248         already be defined.  Change to take two parameters and don't assign
58249         result to variable.  Adjust all users.
58250         Define INTERNAL_GETTIME if not already defined.
58251         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58252         call.
58253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58254         HAVE_CLOCK_GETTIME_VSYSCALL.
58255         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58257         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58258         gettimeofday vsyscall, just use time.
58260 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58262         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58263         <errno.h>.
58265 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58267         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58268         syscall on x86-64.
58269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58270         syscall.
58271         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58272         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58273         syscall if possible.
58275 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58277         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58278         e_ident.  Don't pass to find_mapsXX.
58279         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58281 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58284         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58285         * sysdeps/x86_64/multiarch/strchr.S: Update.
58286         Check bit_slow_BSF bit.
58287         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58288         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58289         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58291 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58293         [BZ #13134]
58294         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58295         before glibc 2.15.
58296         (tryshell): Define.
58297         (__spawni): Change last parameter to be flag.  Test
58298         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58299         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58300         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58301         * posix/spawni.c: Likewise.
58302         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58303         * posix/spawnp.c: Likewise.  Change normal version to use
58304         SPAWN_XFLAGS_USE_PATH.
58305         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58306         SPAWN_XFLAGS_TRY_SHELL.
58308         [BZ #13150]
58309         * posix/glob.h: Remove gcc 1.x support.
58311         [BZ #13068]
58312         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58314 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58317         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58318         strrchr-sse2-bsf
58319         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58320         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58321         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58323         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58324         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58326 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58328         * sysdeps/x86_64/wcscmp.S: New file.
58330         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58331         wcscmp-c wcscmp-sse2
58332         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58333         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58334         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58335         * wcsmbs/wcscmp.c: Allow renaming.
58337 2011-09-05  David S. Miller  <davem@davemloft.net>
58339         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58340         stack slot, rather than the struct return pointer slot.
58341         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58342         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58344         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58346 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58348         * po/ja.po: Update from translation team.
58350         [BZ #13144]
58351         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58352         kernel in 64-bit binaries.
58354 2011-09-01  David S. Miller  <davem@davemloft.net>
58356         * elf/elf.h (HWCAP_SPARC_*): Move to..
58357         * sysdeps/sparc/sysdep.h: this new file and add new values.
58358         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58359         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58360         _DL_HWCAP_COUNT to 24.
58361         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58362         entries.
58363         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58364         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58365         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58367         instead of magic constants.
58368         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58370 2011-08-31  David S. Miller  <davem@davemloft.net>
58372         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58373         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58374         Reimplement to do errno handling inline.
58375         (SYSCALL_ERROR_HANDLER): New macro.
58376         (__SYSCALL_STRING): Do not do errno handling in asm.
58377         (__CLONE_SYSCALL_STRING): Delete.
58378         (__INTERNAL_SYSCALL_STRING): Delete.
58379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58380         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58381         (PSEUDO): Reimplement to do errno handling inline.
58382         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58383         (SYSCALL_ERROR_HANDLER): New macro.
58384         (__SYSCALL_STRING): Do not do errno handling in asm.
58385         (__CLONE_SYSCALL_STRING): Delete.
58386         (__INTERNAL_SYSCALL_STRING): Delete.
58387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58388         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58389         i386.
58390         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58391         (inline_syscall*): Add 'err' argument.
58392         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58393         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58394         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58395         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58397         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58398         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58400 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58402         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58404 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58406         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58407         directive.
58409 2011-08-24  David S. Miller  <davem@davemloft.net>
58411         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58413 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58415         * elf/Makefile: Add rules to build and run unload8 test.
58416         * elf/unload8.c: New file.
58417         * elf/unload8mod1.c: New file.
58418         * elf/unload8mod1x.c: New file.
58419         * elf/unload8mod2.c: New file.
58420         * elf/unload8mod3.c: New file.
58422         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58423         it wasn't used.
58425 2011-08-23  David S. Miller  <davem@davemloft.net>
58427         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58428         subtract stack bias.
58429         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58430         %sp not %fp in calculations.
58431         (_JMPBUF_UNWINDS_ADJ): Likewise.
58433         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58434         (aio_suspend): Call it to force an exception region around the
58435         AIO_MISC_WAIT() invocation.
58437 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58439         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58440         backslash.
58442 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58444         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58445         protection macro.
58446         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58447         and <dl-machine.h>.
58448         (Elf64_FuncDesc): Remove.
58450 2011-08-22  David S. Miller  <davem@davemloft.net>
58452         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58453         sigaltstack check, add missing cfi directives.
58454         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58455         missing cfi directives, and sigaltstack handling.
58457 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58459         [BZ #11724]
58460         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58461         object is seen twice.
58462         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58464         * elf/Makefile (distribute): Add tst-initorder2.c.
58465         (tests): Add tst-initorder2.
58466         (modules-names): Add tst-initorder2a tst-initorder2b
58467         tst-initorder2c tst-initorder2d.  Add rules to build them.
58468         ($(objpfx)tst-initorder2.out): New rule.
58469         * elf/tst-initorder2.c: New file.
58470         * elf/tst-initorder2.exp: New file.
58472 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58474         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58476         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58477         dependencies back to end of function.
58479         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58480         $(elfobjdir)/ld.so.
58482 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58485         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58487         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58488         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58489         of __vdso_gettimeofday.
58490         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58491         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58492         attribute_hidden.
58493         (_libc_vdso_platform_setup): Remove initialization of
58494         __vdso_gettimeofday and __vdso_time.
58496 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58498         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58499         and fgetc_unlocked.
58500         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58501         getc_unlocked.
58503         * elf/dl-open.c (add_to_global): Report additions to the global scope
58504         for LD_DEBUG=scopes.
58505         (dl_open_worker): Also print scope of newly loaded dependencies.
58506         (_dl_show_scope): Indicate if there is no scope.
58508         [BZ #13114]
58509         * stdio-common/Makefile (tests): Add bug24.
58510         * stdio-common/bug24.c: New file.
58512 2011-08-19  Andreas Jaeger  <aj@suse.de>
58514         [BZ #13114]
58515         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58516         non-existant file when using close-on-exec mode.
58518 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58521         the very first instruction.
58523         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58524         the CFI state in the end.
58525         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58526         inclusion of dl-trampoline.h.
58527         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58529 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58531         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58532         expectations for long double.
58534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58535         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58537 2011-08-14  David S. Miller  <davem@davemloft.net>
58539         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58540         artificual limit depends upon the system page size.
58542 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58544         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58545         * resolv/Makefile: Define CFLAGS-libresolv.
58547 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58549         * nss/makedb.c (compute_tables): Make variables used in nested
58550         function static.
58552 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58554         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58555         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58556         if buffer was too small.
58558         * elf/pldd.c (main): Attach to all threads in the process.
58559         Rewrite /proc handling to use *at functions.
58561 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58563         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58564         specifies first scope to show.
58565         (dl_open_worker): Update callers.  Move printing scope of new
58566         object to before the relocation.
58567         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58568         * sysdeps/generic/ldsodefs.h: Update declaration.
58570         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58571         string for the scope number.
58573 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58575         * nscd/servicescache.c (cache_addserv): Make sure written is always
58576         initialized.
58578 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58580         * sysdeps/i386/i486/bits/atomic.h
58581         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58582         statement expression, so as to suppress "set but not used" warning.
58583         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58585         * string/strncat.c (STRNCAT): Use prototype definition.
58587         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58588         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58589         -Iprograms here.
58590         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58591         (localedef-modules): Add localedef.
58592         (locale-modules): Add locale.
58594         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58595         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58596         to avoid a warning.
58598 2011-08-14  David S. Miller  <davem@davemloft.net>
58600         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58601         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58603 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58605         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58606         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58607         * elf/rtld.c (dl_main): Set l_name of vDSO.
58608         Call _dl_show_scope when DL_DEBUG_SCOPES.
58609         (process_dl_debug): Recognize scopes flag and also set it for all.
58610         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58611         Declare _dl_show_scope.
58613         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58614         (do_dlopen): Pass caller_dlopen to dl_open.
58615         (__libc_dlopen_mode): Initialize caller_dlopen.
58617         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58618         of libc.  Make tolower call locale-independent.  Optimize a bit by
58619         using isdigit instead of isalnum.
58620         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58622 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58624         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58625         was a dependency or dynamically loaded.
58627 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58629         * intl/l10nflist.c: Allow architecture-specific pop function.
58630         * sysdeps/x86_64/l10nflist.c: New file.
58632         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58633         classification.
58635 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58637         * include/dirent.h: Add libc_hidden_proto for scandirat and
58638         scandirat64.  Don't declare __scandirat64.
58639         * dirent/scandirat.c: Add libc_hidden_def.
58640         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58641         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58643 2011-08-10  David S. Miller  <davem@davemloft.net>
58645         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58646         enum.
58647         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58648         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58649         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58651 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58653         * Versions.def [libc]: Add GLIBC_2.15.
58654         * dirent/Makefile (routines): Add scandirat and scandirat64.
58655         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58656         GLIBC_2.15.
58657         * dirent/dirent.h: Declare scandirat and scandirat64.
58658         * dirent/scandirat.c: New file.
58659         * dirent/scandirat64.c: New file.
58660         * sysdeps/wordsize-64/scandirat.c: New file.
58661         * sysdeps/wordsize-64/scandirat64.c: New file.
58662         * dirent/opendir.c: Define opendirat.
58663         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58664         using scandirat.
58665         * dirent/scandir64.c: Adjust for scandir.c change.
58666         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58667         __scandirat64, and __scandir_cancel_handler.
58668         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58669         additional parameter and use openat instead of open (outside of ld.so).
58670         Add new __opendir as wrapper around __opendirat.
58671         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58672         here without requiring old scandirat implementation.
58674 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58676         * dirent/scandir.c (cancel_handler): Renamed to
58677         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58678         defined.  Adjust users.
58679         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58680         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58682 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58684         * string/test-string.h (IMPL): Use __STRING to expand name and then
58685         stringify it.
58687         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58688         of cleanups.
58690 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58692         * string/Makefile: Update.
58693         (strop-tests): Append strncat.
58694         * string/test-wcscmp.c: New file.
58695         New comprehensive test for wcscmp.
58696         * string/test-strcmp.c: Update.
58697         (WIDE): New define.
58699 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58701         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58702         line.
58704 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58707         encoding to ACE if AI_IDN.
58709 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58712         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58714 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58716         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58717         Fix overflow bug in strncat.
58718         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58720         * string/test-strncat.c: Update.
58721         Add new tests for checking overflow bugs.
58723 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58725         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58726         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58727         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58728         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58729         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58730         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58731         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58732         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58733         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58735         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58736         (USE_AS_STRCAT): Define.
58737         Add strcat and strncat support.
58738         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58740 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58742         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58743         __n bigger than INT_MAX+1.
58744         (__strncmp_g): Likewise.
58746 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58748         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58749         * libio/stido.h: Likewise.
58751         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58752         (AF_NFC): Define.
58753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58754         (AF_NFC): Define.
58756         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58759         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58762         [BZ #13021]
58763         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58764         installed.
58766         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58767         typo.
58768         (_dl_x86_64_save_sse): Likewise.
58770 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58773         OSXSAVE.
58774         (_dl_x86_64_save_sse): Likewise.
58776         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58778         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58780 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58783         change.
58784         (_dl_x86_64_save_sse): Use correct AVX check.
58786 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58788         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58789         bug in strncpy/strncat.
58790         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58792 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58794         * string/tester.c (test_strcat): Add tests for different alignments
58795         of source and destination.
58796         (test_strncat): Likewise.
58798 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58800         [BZ #12852]
58801         * posix/glob.c (glob): Check passed in values before using them in
58802         expressions to avoid some overflows.
58803         (glob_in_dir): Likewise.
58805         [BZ #13007]
58806         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58807         check for AVX enablement so that we don't crash with old kernels and
58808         new hardware.
58809         * elf/tst-audit4.c: Add same checks here.
58810         * elf/tst-audit6.c: Likewise.
58812         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58814 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58816         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58818 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58820         * po/cs.po: Update from translation team.
58821         * po/bg.po: Likewise.
58823 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58825         * misc/sys/cdefs.h: Add support for const attribute.
58826         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58827         to gnu_dev_{major,minor,makedev} functions.
58829 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58831         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58833 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58835         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58836         strlen results.
58838 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58841         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58842         register in order to avoid conflicts with the soft frame pointer
58843         being held in r11 when necessary.
58844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58845         (INTERNAL_VSYSCALL_NCS): Likewise.
58847 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58849         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58850         * elf/dl-fini.c (_dl_fini): Adjust caller.
58851         * elf/dl-close.c (_dl_close_worker): Likewise.
58852         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58854 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58856         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58857         "aux_cache->nlibs < 0".
58859         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58860         in the reload-count case.
58862 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58865         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58866         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58867         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58868         * sysdeps/x86_64/multiarch/strcat.S: New file.
58869         * sysdeps/x86_64/multiarch/strncat.S: New file.
58870         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58871         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58872         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58873         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58875         (USE_AS_STRCAT): Define.
58876         Add strcat and strncat support.
58877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58878         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58879         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58880         * string/strncat.c: Update.
58881         (USE_AS_STRNCAT): Define.
58882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58883         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58884         and i7.
58885         * sysdeps/x86_64/multiarch/init-arch.h
58886         (bit_Prefer_PMINUB_for_stringop): New.
58887         (index_Prefer_PMINUB_for_stringop): Likewise.
58888         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58889         bit_Prefer_PMINUB_for_stringop.
58891 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58893         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58894         buffer64.
58895         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58896         of casting of buffer.
58897         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58898         buffer32 and buffer64.
58899         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58900         writes instead of casting of buffer.
58901         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58902         buffer32.
58903         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58904         casting of buffer.
58906 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58908         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58910 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58912         * nscd/nscd.c (termination_handler): Don't do anything for a database
58913         if it has not yet been initialized.
58915 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58917         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58919 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58921         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58923 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58925         * po/nl.po: Update from translation team.
58926         * po/sv.po: Likewise.
58928 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58930         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58931         now disallowed by GCC.
58933         * configure.in (use-default-link): Default to yes if a test -shared
58934         link meets our qualifications.
58935         * configure: Regenerated.
58937         * config.make.in (output-format): New variable.
58938         * configure.in: Check for ld --print-output-format support.
58939         * configure: Regenerated.
58940         * Makerules ($(common-objpfx)format.lds)
58941         [$(output-format) != unknown]: Just use $(output-format),
58942         instead of the linker-script munging.
58944 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58946         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58947         of $(common-objpfx)shlib.lds.
58948         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58950         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58951         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58953         * configure.in (-z relro check): Adjust test code to add a large
58954         writable data section after it.
58955         * configure: Regenerated.
58957 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58959         * configure.in (-z relro check): Fix test code to make the variable
58960         truly const.
58961         * configure: Regenerated.
58963 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58965         * nscd/nscd.h (struct traced_file): Define.
58966         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58967         elements.  Add traced_files.
58968         (inotify_fd): Declare.
58969         (register_traced_file): Declare.
58970         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58971         (inotify_fd): Export.
58972         (resolv_conf_descr): Remove.
58973         (nscd_init): Move inotify descriptor creation to main.
58974         Don't register files for notification here.
58975         (register_traced_file): New function.
58976         (invalidate_cache): Don't use reset_res to determine whether to call
58977         res_init, go through the list of registered files.
58978         (main_loop_poll): The inotify descriptors are now stored in the
58979         structures for the traced files.
58980         (main_loop_epoll): Likewise
58981         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58982         to __nss_disable_nscd.
58983         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58984         for a database anymore.  Check the records for all the registered
58985         files instead.
58986         * nss/Makefile (libnss_files-routines): Add files-init.
58987         (libnss_db-routines): Add db-init.
58988         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58989         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58990         * nss/nss_db/db-init.c: New file.
58991         * nss/nss_files/files-init.c: New file.
58992         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58993         __nss_lookup_function.
58994         (__nss_lookup_function): Call nss_load_library.
58995         (nss_load_all_libraries): New function.
58996         (__nss_disable_nscd): Take parameter with callback function for files
58997         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58998         used for the cached services.
58999         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59000         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59001         options for features to all the files in nscd.
59003         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59005 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59007         * csu/elf-init.c (__libc_csu_init): Comment typo.
59009 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59011         * po/pl.po: Update from translation team.
59012         * po/ja.po: Likewise.
59013         * po/ru.po: Likewise.
59014         * po/ko.po: Likewise.
59015         * po/fr.po: Likewise.
59017 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59019         * configure.in (.ctors/.dtors header and trailer check):
59020         Use an empirical test on a built program.
59021         * configure: Regenerated.
59023         * configure.in (-z relro check): Use an empirical test on a built DSO.
59024         Detect, but do not require, on ia64.
59025         * configure: Regenerated.
59027         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59028         Update tests that use readelf to use $READELF instead.
59029         * configure: Regenerated.
59031 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59033         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59034         if the result is not used.
59036 2011-07-05  Andreas Jaeger  <aj@suse.de>
59038         [BZ#9696]
59039         * stdlib/tst-strtod.c: Add testcase.
59041 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59043         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59044         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59045         The latter has a higher limit.  Take additional parameter to pass to
59046         the new function.
59047         (__pathconf): Pass file to __statfs_link_max.
59048         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59049         __statfs_link_max.
59050         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59051         __statfs_link_max.
59053         [BZ #12868]
59054         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59055         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59056         Handle Lustre.
59057         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59058         (__statfs_filesize_max): Likewise.
59059         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59061 2011-07-05  Andreas Jaeger  <aj@suse.de>
59063         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59065 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59067         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59068         `status' variable.
59069         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59070         Likewise.
59072 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59074         * Makefile (strop-tests): Add strncat.
59075         * string/test-strncat.c: New file.
59077 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59079         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59081 2011-06-21  Andreas Jaeger  <aj@suse.de>
59083         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59084         Copy rule from iconvdata/Makefile.
59086 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59088         [BZ #12922]
59089         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59090         but no long options are defined, just return 'W'.
59092 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59094         [BZ #9696]
59095         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59097 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59099         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59100         netgroups to read.
59101         (innetgr): Likewise.
59103 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59105         * config.make.in (install_root): Default to $(DESTDIR).
59107 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59111 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59113         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59115         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59116         containing directory rather than embedding absolute directory names.
59118         * scripts/check-local-headers.sh: Rewritten using awk.
59119         Match by word, not by line.  Print error messages for matches.
59120         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59122         * Makerules [shlib-lds-flags empty]:
59123         ($(common-objpfx)libc_pic.opts): New target.
59124         ($(common-objpfx)libc_pic.os.clean): New target.
59125         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59127         * config.make.in (OBJCOPY): New variable.
59128         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59129         * configure: Regenerated.
59131         * config.make.in (use-default-link): New variable.
59132         * configure.in (use_default_link): Grok --with-default-link to set it.
59133         * configure: Regenerated.
59134         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59135         (shlib-lds, shlib-lds-flags): Define to empty.
59137         * Makerules (shlib-lds): New variable.
59138         (shlib-lds-flags): New variable.
59139         (build-shlib, build-moduile, build-module-asneeded): Use it.
59140         ($(common-objpfx)libc.so): Use $(shlib-lds).
59141         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59142         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59144         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59145         DT_FLAGS/DT_FLAGS_1 with zero flags.
59147         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59148         linker script munging.
59150 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59152         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59153         as 128-bit value.
59154         * crypt/sha512.c (sha512_process_block): Perform total addition using
59155         128-bit if possible.
59156         (__sha512_finish_ctx): Likewise.
59157         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59158         as 64-bit value.
59159         * crypt/sha256.c (SWAP64): Define.
59160         (sha256_process_block): Perform total addition using 64-bit if
59161         possible.
59162         (__sha256_finish_ctx): Likewise.
59164 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59166         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59168         * nscd/hstcache.c (cache_addhst): Likewise.
59169         * nscd/grpcache.c (cache_addgr): Likewise.
59170         * nscd/aicache.c (addhstaiX): Likewise
59171         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59173 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59175         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59176         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59177         * nscd/hstcache.c (cache_addhst): Likewise.
59178         * nscd/grpcache.c (cache_addgr): Likewise.
59179         * nscd/aicache.c (addhstaiX): Likewise
59181 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59183         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59184         domain only when needed.
59186 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59189         is always restored.
59191 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59193         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59194         are re-adding the entry.
59195         * nscd/servicescache.c (cache_addserv): Likewise.
59197 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59199         * sysdeps/generic/dl-irel.h: fix protection against multiple
59200         inclusions.
59201         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59203 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59205         [BZ #12935]
59206         * malloc/memusage.sh: Fix quoting in message.
59207         * debug/xtrace.sh: Likewise.
59209         * configure.in: Remove support for --experimental-malloc option, make
59210         it the default.
59211         * config.make.in: Likewise.
59212         * malloc/Makefile: Likewise.
59214 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59216         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59217         two-byte characters.
59219 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59221         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59222         AC_CACHE_CHECK invocation.
59223         * configure: Regenerated.
59225         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59227 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59229         [BZ #12350]
59230         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59231         bit from old_res_options.
59233         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59235         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59236         value type for setfct.
59238 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59241         __gettimeofday instead of gettimeofday.
59243 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59245         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59247 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59252         info.
59254 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59257         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59258         strcpy-sse2-unaligned strncpy-sse2-unaligned
59259         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59260         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59261         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59262         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59263         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59264         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59266         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59267         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59268         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59269         (STRCPY): Support SSE2 and SSSE3 versions.
59271 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59273         [BZ #12874]
59274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59275         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59276         kernels which artificially limit size of requests.
59278 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59281         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59282         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59283         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59284         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59285         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59286         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59287         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59288         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59290         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59291         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59292         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59293         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59294         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59296         Enable unaligned load optimization for Intel Core i3, i5 and i7
59297         processors.
59298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59299         Define.
59300         (index_Fast_Unaligned_Load): Define.
59301         (HAS_FAST_UNALIGNED_LOAD): Define.
59303 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59305         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59307 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59309         [BZ #12907]
59310         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59311         until it is clear that the information is realy needed.
59312         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59314 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59318 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59320         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59321         /sys/devices/system/cpu/online if it is usable.
59323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59324         reading the information from the /proc filesystem to once a second.
59326 2011-06-21  Andreas Jaeger  <aj@suse.de>
59328         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59329         NULL after inclusion of kernel headers.
59331 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59333         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59334         calls to internal_setent.
59336         [BZ #12885]
59337         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59338         addresses using gethostbyname4_r ignore IPv4 addresses.
59340         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59341         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59343         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59345 2011-06-20  David S. Miller  <davem@davemloft.net>
59347         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59348         inclusions.
59349         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59351         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59352         (elf_irel): Use it.
59353         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59354         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59355         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59356         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59357         * sysdeps/x86_64/dl-irel.h: Likewise.
59359         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59360         * elf/dl-sym.c: Likewise.
59362 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59364         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59365         need to dereference resplen2.
59367 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59369         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59371 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59373         * Makeconfig: Define vardbdir and inst_vardbdir.
59374         * nss/Makefile: Add rules to install db-Makefile.
59376         * nss/nss_db/db-XXX.c: Cleanup.
59378         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59379         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59380         GLIBC_PRIVATE.
59381         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59382         * nss/makedb.c: Implement -g option to specify that value strings
59383         are generated and should not be added to table iterated over for
59384         get*ent calls.
59385         * nss/nss_db/db-initgroups.c: New file.
59387         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59388         interface.
59390         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59391         (internal_getgrouplist): Adjust to name change.
59392         Update use_initgroups_entry if this is not the first call.
59393         * nss/databases.def: Add initgroups entry.
59395         * nss/makedb.c (compute_tables): Check result of multiple hash table
59396         sizes to minimize maximum chain length.
59398 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59400         * Versions.def: Add entry for libnss_db.
59401         * shlib-versions: Likewise.
59402         * nss/Makefile: Add rules to build libnss_db.
59403         * nss/Versions: Add libnss_db information.  Organize libnss_files
59404         entries better.
59405         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59406         makedb progra.  Some minor improvements to generate smaller files.
59407         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59408         here from...
59409         * nss/makedb.c: ...here.
59410         Improve database format to be smaller and require less memory at
59411         runtime.
59412         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59413         db anymore.
59414         * nss/nss_db/db-netgrp.c: Likewise.
59415         * nss/nss_db/db-open.c: Likewise.
59416         * nss/nss_files/flies-XXX.x: Adjust comments.
59417         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59418         * nss/nss_files/files-grp.c: Likewise.
59419         * nss/nss_files/files-hosts.c: Likewise.
59420         * nss/nss_files/files-network.c: Likewise.
59421         * nss/nss_files/files-proto.c: Likewise.
59422         * nss/nss_files/files-pwd.c: Likewise.
59423         * nss/nss_files/files-rpc.c: Likewise.
59424         * nss/nss_files/files-service.c: Likewise.
59425         * nss/nss_files/files-sgrp.c: Likewise.
59426         * nss/nss_files/files-spwd.c: Likewise.
59427         * nss/nss_db/db-alias.c: Removed.
59428         * nss/nss_db/dummy-db.h: Removed.
59430 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59432         * nss/makedb.c: Rewritten to not use database library.
59433         * nss/Makefile: Update to build new makedb program.
59435 2011-06-14  Andreas Jaeger  <aj@suse.de>
59437         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59438         memset declaration.
59440 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59443         tmpbuf.
59445 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59447         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59448         * elf/Makefile ($(objpfx)ld.so): Likewise.
59450         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59451         Don't list ld.so twice in dependencies.
59453         * posix/bug-regex31.c: Include <stdlib.h>.
59455         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59457         * nis/nss_compat/compat-spwd.c
59458         (getspent_next_nss_netgr): Remove unused variable.
59459         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59461         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59462         nonmembers" output to use the right array.
59464         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59466         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59468         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59469         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59470         * catgets/gencat.c (read_input_file): Likewise.
59471         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59473         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59474         variable definition inside #if's controlling its use.
59476         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59478         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59480         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59482         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59483         unreachable code.
59485         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59487         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59488         * configure: Regenerated.
59490         * Makerules: Revert last change.
59491         * elf/Makefile: Likewise.
59493 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59495         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59496         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59497         (reloc-link): Likewise.
59499 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59501         * elf/Makefile: Add rules to build pldd.
59502         * elf/pldd.c: New file.
59503         * elf/pldd-xx.c: New file.
59505 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59507         * version.h: Update for 2.15 development version.
59509 2011-06-07  David S. Miller  <davem@davemloft.net>
59511         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59512         ifuncs.
59513         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59514         elf_machine_lazy_rel): Likewise.
59515         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59517         elf_machine_lazy_rel): Likewise.
59518         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59519         dl_hwcap via passed in argument.
59520         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59521         Likewise.
59523 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59525         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59527 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59529         [BZ #12849]
59530         * manual/fdl-1.1.texi: New file, verbatim from:
59531         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59532         * manual/lgpl-2.1.texi: New file, verbatim from:
59533         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59534         * manual/Makefile (licenses): New variable, list those new file names.
59535         (texis): Use it.
59536         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59538         * manual/fdl.texi: File removed.
59539         * manual/lesser.texi: File removed.
59540         * manual/libc.texinfo (Copying, Documentation License):
59541         Use new @include file names, put @appendix directive before @include.
59543 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59545         [BZ #12841]
59546         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59547         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59548         (mq_open): Add __NTH.
59550 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59553         Assume Intel Core i3/i5/i7 processor if AVX is available.
59555 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59558         typo.
59560 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59562         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59563         memory.  Use alloca_account.  Fix memory leak when retrying.
59565 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59567         * version.h (RELEASE): Bump for 2.14 release.
59568         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59570         * config.make.in (RANLIB): Remove entry.
59572 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59574         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59575         (libc.pot): Work around missing support for .ksh extension in xgettext.
59577         [BZ #12684]
59578         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59579         if both request failed.
59580         (send_dg): In case of server errors clear resplen or *resplen2.
59582         [BZ #12454]
59583         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59584         when there are multiple maps.
59585         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59586         (_dl_fini): Remove test here.
59588         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59590 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59592         [BZ #12350]
59593         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59594         bit from old_res_options.
59595         (gaih_inet): Likewise.
59597         [BZ #11099]
59598         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59599         as signed.
59601         * resolv/res_init.c (res_setoptions): Make the code more compact.
59603         [BZ #11558]
59604         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59605         set RES_USEVC.
59607         [BZ #11634]
59608         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59610         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59612         [BZ #11781]
59613         * malloc/malloc.h: Declare malloc hook variables as volatile.
59615         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59616         in last patch.
59618         [BZ #11799]
59619         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59620         raise in the comment.
59621         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59623         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59625 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59627         [BZ #12811]
59628         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59629         grow the buffers more if it already has to be sufficient.
59630         (build_wcs_upper_buffer): Likewise.
59631         * posix/regexec.c (check_matching): Likewise.
59632         (clean_state_log_if_needed): Likewise.
59633         (extend_buffers): Don't enlarge buffers beyond size of the input
59634         buffer.
59635         Patches mostly by Emil Wojak <emil@wojak.eu>.
59636         * posix/bug-regex32.c: New file.
59637         * posix/Makefile (tests): Add bug-regex32.
59639         * locale/findlocale.c (_nl_find_locale): Return right away if
59640         _nl_explode_name failed.
59641         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59643         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59645         * debug/xtrace.sh: Unify messages.
59646         * malloc/memusage.sh: Likewise.
59648         [BZ #12813]
59649         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59650         time symbol from vDSO.  Substitute with vsyscall if not available.
59651         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59652         __vdso_time.
59654         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59655         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59656         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59657         Add sendmmsg and internal_sendmmsg.
59658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59659         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59662         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59663         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59664         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59666 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59668         [BZ #12813]
59669         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59670         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59671         available.
59672         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59673         __vdso_getcpu.
59675         [BZ #12814]
59676         * iconvdata/Makefile (tests): Add bug-iconv9.
59677         * iconvdata/bug-iconv9.c: New file.
59679 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59681         [BZ #12814]
59682         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59684 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59687         (struct user_regs_struct): Change intcs field back to cs.
59689 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59691         * po/ja.po: Update from translation team.
59693 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59695         [BZ #12795]
59696         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59697         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59699 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59701         * stdlib/longlong.h: Update from GCC.
59703 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59705         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59706         parameter name.
59707         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59708         Add parameter name.
59709         (__sysconf): Pass it down.
59711 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59713         [BZ #12671]
59714         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59715         some situations.
59716         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59717         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59718         add in in __libc_use_alloca calls.  Adjust callers.
59719         (glob): Use malloc in some situations.
59721         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59722         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59723         pltexit.
59725 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59727         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59728         and CLOCK_BOOTTIME_ALARM.
59730         [BZ #12782]
59731         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59732         is returned.
59734         * string/_strerror.c (__strerror_r): Print negative errors as signed
59735         numbers.
59737         [BZ #12777]
59738         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59739         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59740         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59742         * configure.in: Fix typo in redirection and correct removal of test
59743         files in two cases.
59745         [BZ #12788]
59746         * locale/setlocale.c (new_composite_name): Fix test to check for
59747         identical name of all categories.
59749         [BZ #12792]
59750         * libio/filedoalloc.c (local_isatty): New function.
59751         (_IO_file_doallocate): Use local_isatty.
59752         * stdio-common/perror.c (perror): In case a new stream is used
59753         forward the stream error.
59754         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59755         error flag.
59757 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59759         [BZ #11869]
59760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59761         alloca.
59762         * include/alloca.h (extend_alloca_account): Define.
59764         [BZ #11857]
59765         * posix/regex.h: Fix comments with documentation of user-accessible
59766         fields after compilation and describe correct free'ing of pattern
59767         after re_compile_pattern.
59768         Patch by Reuben Thomas <rrt@sc3d.org>.
59770 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59772         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59773         and -mno-altivec to prevent the compiler from using Altivec and/or
59774         VSX instructions when the corresponding registers are not available.
59776 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59778         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59780 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59782         * libio/freopen.c (freopen): Use __dup2, not dup2.
59783         * libio/freopen64.c (freopen64): Likewise.
59785 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59787         [BZ #12775]
59788         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59789         * math/Makefile (tests): Add test-powl.
59790         (CFLAGS-test-powl.c): Define.
59791         * math/test-powl.c: New file.
59793 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59795         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59797 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59799         [BZ #11837]
59800         * iconvdata/gb18030.c: Update to GB18020-2005.
59802 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59804         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59805         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59806         Patch by Aharon Robbins <arnold@skeeve.com>.
59808         [BZ #11892]
59809         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59810         on the stack.
59812         [BZ #11895]
59813         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59814         through underflows.
59816         [BZ #12766]
59817         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59818         point to strings before performing equality test for error_one_per_line
59819         mode.
59821         [BZ #11697]
59822         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59824         [BZ #11820]
59825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59826         (struct user_fpregs_struct): Avoid __uint*_t types.
59828         [BZ #6420]
59829         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59830         symbol info.  Use it instead of calling _dl_addr locally.
59831         (lock_and_info): New function.
59832         (tr_freehook): Call lock_and_info and pass symbol info as additional
59833         parameter to tr_where.
59834         (tr_mallochook): Likewise.
59835         (tr_reallochook): Likewise.
59836         (tr_memalignhook): Likewise.
59838         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59839         used and couldn't be at all thread-safe.
59841 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59843         * libio/freopen.c (freopen): Don't close old file descriptor
59844         before the new one is opened.  Instead dup the new file descriptor
59845         to the old one after the new stream is created.
59846         * libio/freopen64.c (freopen64): Likewise.
59847         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59848         * libio/fileops.c (_IO_new_file_close_it): Handle new
59849         _IO_FLAGS2_NOCLOSE flag.
59850         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59851         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59852         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59853         _IO_FLAGS2_NOCLOSE flag.
59854         * include/unistd.h: Add hidden_proto for dup3.
59855         Define __have_dup3.
59856         * io/dup3.c: Define hidden symbol.
59857         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59859         [BZ #7101]
59860         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59861         when an incomplete long option is used.
59862         * posix/tst-getopt_long1.c: New file.
59863         * posix/Makefile (tests): Add tst-getopt_long1.
59865         [BZ #10138]
59866         * scripts/config.guess: Update from autoconf-2.68.
59867         * scripts/config.sub: Likewise.
59869         [BZ #10157]
59870         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59871         tests into ...
59872         (has_cpuclock): ...this.  New function.
59873         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59874         macro here based on has_cpuclock code.
59876         [BZ #10149]
59877         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59878         First byte (not low byte) is now always NUL.
59879         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59882         Use non-cancelable interfaces.
59884         [BZ #9809]
59885         * locale/iso-639.def: Add entry for Sorani.
59887         [BZ #11901]
59888         * include/stdlib.h: Move include protection to the right place.
59889         Define abort_msg_s.  Declare __abort_msg with it.
59890         * stdlib/abort.c (__abort_msg): Adjust type.
59891         * assert/assert.c (__assert_fail_base): New function.  Majority
59892         of code from __assert_fail.  Allocate memory for __abort_msg with
59893         mmap.
59894         (__assert_fail): Now call __assert_fail_base.
59895         * assert/assert-perr.c: Remove bulk of implementation.  Use
59896         __assert_fail_base.
59897         * include/assert.hL Declare __assert_fail_base.
59898         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59899         mmap.
59900         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59902 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59904         [BZ #11952]
59905         [BZ #12453]
59906         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59907         until all modules are registered in the DTV.
59908         * elf/Makefile: Add rules to build and run tst-tls19.
59909         * elf/tst-tls19.c: New file.
59910         * elf/tst-tls19mod1.c: New file.
59911         * elf/tst-tls19mod2.c: New file.
59912         * elf/tst-tls19mod3.c: New file.
59913         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59915         [BZ #12083]
59916         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59917         correctly.
59919         [BZ #12601]
59920         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59921         two-byte sequence errors.
59922         * iconvdata/Makefile (tests): Add bug-iconv8.
59923         * iconvdata/bug-iconv8.c: New file.
59925         [BZ #12626]
59926         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59927         buf2 definition.
59929         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59931         [BZ #12432]
59932         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59933         (dummy_getcfa): New function.
59934         (init): Get _Unwind_GetCFA address, use dummy if not found.
59935         (backtrace_helper): In recursion check, also check whether CFA changes.
59936         (__backtrace): Completely initialize arg.
59938         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59939         storing incomplete byte sequence in state object.  Avoid testing for
59940         guaranteed too small input if we know there is enough data available.
59942 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59944         * Makeconfig (+link-pie): Indent.
59945         * Rules (binaries-pie): Define if $(have-fpie) and
59946         $(build-shared).
59947         (binaries-shared): Also filter out $(binaries-pie).
59948         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59949         * nscd/Makefile (others-pie): Add nscd.
59950         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59951         ($(objpfx)nscd): Remove command override.
59952         * login/Makefile (others-pie): Add pt_chown.
59953         ($(objpfx)pt_chown): Remove command override.
59954         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59955         remove command overrides.
59957 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59959         * libio/tst_putwc.c: Fix error messages.
59961         [BZ #12724]
59962         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59963         currently writing and seek to current position when not.
59964         * libio/Makefile (tests): Add bug-fclose1.
59965         * libio/bug-fclose1.c: New file.
59967 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59969         [BZ #12511]
59970         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59971         don't set DF_1_NODELETE here.
59972         (do_lookup_x): When entering new entry test for copy relocation
59973         and if necessary set DF_1_NODELETE flag.
59974         * elf/tst-unique4.cc: New file.
59975         * elf/tst-unique4.h: New file.
59976         * elf/tst-unique4lib.cc: New file.
59977         * elf/Makefile: Add rules to build and run tst-unique4.
59978         Patch by Piotr Bury <pbury@goahead.com>.
59980 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59982         [BZ #12052]
59983         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59985         [BZ #12625]
59986         * misc/mntent_r.c (addmntent): Flush the stream after the output
59988         [BZ #12393]
59989         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59990         (is_trusted_path_normalize): Skip initial colon.  Append slash
59991         to empty buffer.  Duplicate is_trusted_path code but allow
59992         constructed patch to be prefix.
59993         (is_dst): Allow $ORIGIN followed by /.
59994         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59995         Correct testing of result of is_trusted_path_normalize
59996         (decompose_rpath): Fix warning.
59998 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60000         [BZ #11257]
60001         * grp/initgroups.c (internal_getgrouplist): When we found the service
60002         list through the initgroups entry in nsswitch.conf do not always
60003         continue on a successful lookup.  Don't always use the
60004         __nss_group_database value if it is set.
60005         * nss/nsswitch.conf (initgroups): Change action for successful db
60006         lookup to continue for compatibility.
60008 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60010         [BZ #11532]
60011         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60012         and CP774 modules.
60013         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60014         and CP774 modules.
60015         * iconvdata/tst-tables.sh: Likewise.
60016         * iconvdata/cp770.c: New file.
60017         * iconvdata/cp771.c: New file.
60018         * iconvdata/cp772.c: New file.
60019         * iconvdata/cp773.c: New file.
60020         * iconvdata/cp774.c: New file.
60021         * iconvdata/testdata/CP770: New file.
60022         * iconvdata/testdata/CP770..UTF8: New file.
60023         * iconvdata/testdata/CP771: New file.
60024         * iconvdata/testdata/CP771..UTF8: New file.
60025         * iconvdata/testdata/CP772: New file.
60026         * iconvdata/testdata/CP772..UTF8: New file.
60027         * iconvdata/testdata/CP773: New file.
60028         * iconvdata/testdata/CP773..UTF8: New file.
60029         * iconvdata/testdata/CP774: New file.
60030         * iconvdata/testdata/CP774..UTF8: New file.
60032         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60033         END CHARMAP line.
60034         * iconvdata/gen-8bit-gap.sh: Likewise.
60035         * iconvdata/gen-8bit.sh: Likewise.
60037         * locale/iso-639.def: Add ary entry.
60039         [BZ #11258]
60040         * locale/C-translit.h.in: Add U20A1 transliteration.
60042         [BZ #12178]
60043         * locale/iso-639.def: Add wae entry.
60044         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60046         [BZ #12545]
60047         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60048         for n.
60050         [BZ #12711]
60051         * locale/C-translit.h.in: Add entry for U20B9.
60052         Patch by pravin.d.s@gmail.com.
60054 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60056         [BZ #12713]
60057         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60058         ENAMETOOLONG use generic getcwd.
60059         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60060         in rtld.  Use *stat64.
60061         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60062         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60063         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60064         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60065         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60066         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60067         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60068         __fstatat64 macros.
60069         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60070         * dirent/rewinddir.c: Add libc_hidden_def.
60071         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60072         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60074         * include/dirent.h (__alloc_dir): Add flags parameter.
60075         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60076         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60077         __alloc_dir.
60078         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60079         from fdopendir if O_CLOEXEC is already set.
60081 2011-03-15  Alan Modra  <amodra@gmail.com>
60083         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60084         l_tls_firstbyte_offset non-zero.  Save padding offset in
60085         l_tls_firstbyte_offset for later use.
60086         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60087         freeing static tls block.
60089 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60091         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60092         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60093         being defined by the kernel headers.
60095 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60097         [BZ #12734]
60098         * resolv/resolv.h: Define RES_NOTLDQUERY.
60099         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60100         no-tld-query and set RES_NOTLDQUERY.
60101         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60102         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60103         modern BIND to search name as TLD unless forbidden.
60105 2011-05-07  Petr Baudis  <pasky@suse.cz>
60106             Ulrich Drepper  <drepper@gmail.com>
60108         [BZ #12393]
60109         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60110         (is_trusted_path): ...to here.
60111         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60112         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60113         using is_trusted_path_normalize() in setuid scripts.
60115 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60117         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60118         __BEGIN/__END_DECLS.
60120 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60123         NSS_STATUS_NOTFOUND if no record was found.
60125 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60127         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60128         (headers-not-in-tirpc): Remove rpc/netdb.h
60129         * resolv/netdb.h: Revert last change.
60131 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60133         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60134         circular dependency between libgcc.a and libc.a.
60136 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60138         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60139         * nis/Makefile: Don't install rpcsvc/*.
60140         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60141         instead of <rpc/types.h>.
60142         (MAXHOSTNAMELEN): Define.
60144 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60146         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60148 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60150         [BZ #12714]
60151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60152         gethostbyname4_r when IPv6 results are possible.
60154 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60156         [BZ #12723]
60157         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60158         _PC_PIPE_BUF handling.
60160 2011-04-30  Bruno Haible  <bruno@clisp.org>
60162         [BZ #12717]
60163         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60164         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60165         to 'int'.
60166         * inet/getnameinfo.c (getnameinfo): Likewise.
60168 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60170         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60171         to groups setting in database lookup.
60172         * nss/nsswitch.conf: Add initgroups entry.
60174 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60176         [BZ #12685]
60177         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60178         mode string.
60179         Patch by Eric Blake <eblake@redhat.com>.
60181 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60183         * sunrpc/Makefile (need-export-routines): Add svc_run.
60184         (routines): Remove svc_run.
60185         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60186         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60187         * sunrpc/svc_run.c (svc_run): Likewise.
60188         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60190 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60192         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60193         problem in reallocation in last patch.
60195 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60197         * sunrpc/Makefile: Move inclusion of Rules.
60199 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60201         * nss/nss_files/files-initgroups.c: New file.
60202         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60203         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60204         _nss_files_initgroups_dyn.
60206 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60208         * elf/elf.h (R_ARM_IRELATIVE): Define.
60210 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60212         * po/ru.po: Update from translation team.
60214 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60216         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60217         dependencies.
60219 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60221         [BZ #12653]
60222         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60223         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60225         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60228 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60230         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60231         differing bytes.
60232         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60233         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60236 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60238         [BZ #12420]
60239         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60240         storing it.
60241         * stdlib/bug-getcontext.c: New file.
60242         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60244 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60246         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60247         instructions into .machine "z9-109".
60248         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60249         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60251 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60253         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60254         between environment variables and auxiliary vector.
60256 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60258         * Makefile: Add rules to build linkobj/libc.so.
60259         * include/libc-symbols.h: Define libc_hidden_nolink.
60260         * include/rpc/auth.h: Mark functions which are to be hidden.
60261         * include/rpc/auth_des.h: Likewise.
60262         * include/rpc/auth_unix.h: Likewise.
60263         * include/rpc/clnt.h: Likewise.
60264         * include/rpc/des_crypt.h: Likewise.
60265         * include/rpc/key_prot.h: Likewise.
60266         * include/rpc/pmap_clnt.h: Likewise.
60267         * include/rpc/pmap_prot.h: Likewise.
60268         * include/rpc/pmap_rmt.h: Likewise.
60269         * include/rpc/rpc_msg.h: Likewise.
60270         * include/rpc/svc.h: Likewise.
60271         * include/rpc/svc_auth.h: Likewise.
60272         * include/rpc/xdr.h: Likewise.
60273         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60274         * nss/Makefile: Likewise.
60275         * sunrpc/Makefile: Don't install headers.  Build library with normal
60276         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60277         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60278         for the compat linking library.  Remove use of INTDEF/INTUSE.
60279         * sunrpc/auth_none.c: Likewise.
60280         * sunrpc/auth_unix.c: Likewise.
60281         * sunrpc/authdes_prot.c: Likewise.
60282         * sunrpc/authuxprot.c: Likewise.
60283         * sunrpc/clnt_gen.c: Likewise.
60284         * sunrpc/clnt_perr.c: Likewise.
60285         * sunrpc/clnt_raw.c: Likewise.
60286         * sunrpc/clnt_simp.c: Likewise.
60287         * sunrpc/clnt_tcp.c: Likewise.
60288         * sunrpc/clnt_udp.c: Likewise.
60289         * sunrpc/clnt_unix.c: Likewise.
60290         * sunrpc/des_crypt.c: Likewise.
60291         * sunrpc/des_soft.c: Likewise.
60292         * sunrpc/get_myaddr.c: Likewise.
60293         * sunrpc/key_call.c: Likewise.
60294         * sunrpc/key_prot.c: Likewise.
60295         * sunrpc/netname.c: Likewise.
60296         * sunrpc/pm_getmaps.c: Likewise.
60297         * sunrpc/pm_getport.c: Likewise.
60298         * sunrpc/pmap_clnt.c: Likewise.
60299         * sunrpc/pmap_prot.c: Likewise.
60300         * sunrpc/pmap_prot2.c: Likewise.
60301         * sunrpc/pmap_rmt.c: Likewise.
60302         * sunrpc/publickey.c: Likewise.
60303         * sunrpc/rpc_cmsg.c: Likewise.
60304         * sunrpc/rpc_common.c: Likewise.
60305         * sunrpc/rpc_dtable.c: Likewise.
60306         * sunrpc/rpc_prot.c: Likewise.
60307         * sunrpc/rpc_thread.c: Likewise.
60308         * sunrpc/rtime.c: Likewise.
60309         * sunrpc/svc.c: Likewise.
60310         * sunrpc/svc_auth.c: Likewise.
60311         * sunrpc/svc_authux.c: Likewise.
60312         * sunrpc/svc_raw.c: Likewise.
60313         * sunrpc/svc_run.c: Likewise.
60314         * sunrpc/svc_simple.c: Likewise.
60315         * sunrpc/svc_tcp.c: Likewise.
60316         * sunrpc/svc_udp.c: Likewise.
60317         * sunrpc/svc_unix.c: Likewise.
60318         * sunrpc/svcauth_des.c: Likewise.
60319         * sunrpc/xcrypt.c: Likewise.
60320         * sunrpc/xdr.c: Likewise.
60321         * sunrpc/xdr_array.c: Likewise.
60322         * sunrpc/xdr_float.c: Likewise.
60323         * sunrpc/xdr_intXX_t.c: Likewise.
60324         * sunrpc/xdr_mem.c: Likewise.
60325         * sunrpc/xdr_rec.c: Likewise.
60326         * sunrpc/xdr_ref.c: Likewise.
60327         * sunrpc/xdr_sizeof.c: Likewise.
60328         * sunrpc/xdr_stdio.c: Likewise.
60330 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60332         [BZ #12650]
60333         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60334         * sysdeps/ia64/dl-tls.h: Likewise.
60335         * sysdeps/powerpc/dl-tls.h: Likewise.
60336         * sysdeps/s390/dl-tls.h: Likewise.
60337         * sysdeps/sh/dl-tls.h: Likewise.
60338         * sysdeps/sparc/dl-tls.h: Likewise.
60339         * sysdeps/x86_64/dl-tls.h: Likewise.
60340         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60342 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60344         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60345         rpath element also skip the following colon.
60346         (expand_dynamic_string_token): Add is_path parameter and pass
60347         down to DL_DST_REQUIRED and _dl_dst_substitute.
60348         (decompose_rpath): Call expand_dynamic_string_token with
60349         non-zero is_path.  Ignore empty rpaths.
60350         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60351         with zero is_path.
60353 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60356         Make cancelable.
60358 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60360         [BZ #12655]
60361         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60362         Patch by Filipe David Manana <fdmanana@apache.org>.
60364 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60367         Maintain aligned stack.
60368         (CHECK_RSP): Remove unused macro.
60370 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60372         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60373         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60375 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60377         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60379         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60381 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60383         [BZ #12518]
60384         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60385         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60386         * sysdeps/x86_64/memmove.c: New file.
60387         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60388         (memcpy): Renamed to ...
60389         (__new_memcpy): This.
60390         (memcpy): Provide GLIBC_2_14 memcpy.
60391         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60392         (memcpy): Provide GLIBC_2_2_5 memcpy.
60394 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60396         [BZ #12631]
60397         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60399 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60401         * misc/syncfs.c: New file.
60402         * misc/Makefile (routines): Add syncfs.
60403         * posix/unistd.h: Declare syncfs.
60404         * sysdeps/unix/syscalls.list: Add syncfs.
60406 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60408         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60409         open_by_handle_at.
60410         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60411         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60412         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60415         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60418 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60421         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60422         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60428         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60429         sync_file_range.c with -fexceptions.
60430         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60431         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60432         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60433         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60434         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60435         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60436         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60437         sync_file_range as cancellation point
60438         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60439         now a wrapper around __call_sync_file_range with cancellation handling.
60440         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60441         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60442         function name to __call_sync_file_range.
60443         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60444         Add call_sync_file_range.
60446 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60449         bits/timex.h.
60451 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60453         * iconv/iconv.h: Fix typo in comment.
60454         * io/fcntl.h: Likewise.
60455         * libio/stdio.h: Likewise.
60456         * posix/spawn.h: Likewise.
60457         * posix/unistd.h: Likewise.
60458         * stdlib/stdlib.h: Likewise.
60459         * time/time.h: Likewise.
60460         * wcsmbs/wchar.h: Likewise.
60462         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60463         open_by_handle): Add.
60464         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60465         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60466         Augment a few comments.
60467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60469         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60471         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60472         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60473         open_by_handle.
60475         * io/fcntl.h (AT_EMPTY_PATH): Define.
60477 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60479         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60480         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60481         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60482         to...
60483         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60484         * Versions.def: Add GLIBC_2.14.
60485         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60486         Export.
60488 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60490         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60491         round counter.
60492         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60494 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60496         [BZ #12597]
60497         * string/test-strncmp.c (do_page_test): New function.
60498         (check2): Likewise.
60499         (test_main): Call check2.
60500         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60502 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60504         [BZ #12587]
60505         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60506         Handle cache information in CPU leaf 4.
60507         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60509 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60511         [BZ #12583]
60512         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60513         character representation.
60514         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60516 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60518         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60519         END(__isnan) to END(__isnanf) to match function entry point/label
60520         EALIGN(__isnanf,...).
60522 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60524         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60526 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60528         [BZ #12510]
60529         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60530         copy from the symbol referenced in the relocation to initialize the
60531         used variable.
60532         Patch by Piotr Bury <pbury@goahead.com>.
60533         * elf/Makefile: Add rules to build and tst-unique3.
60534         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60535         * elf/tst-unique3.cc: New file.
60536         * elf/tst-unique3.h: New file.
60537         * elf/tst-unique3lib.cc: New file.
60538         * elf/tst-unique3lib2.cc: New file.
60540         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60542 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60544         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60545         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60546         to _start.
60548 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60550         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60551         to-be-loaded object along a path to loader is ld.so.
60553 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60554             Ulrich Drepper  <drepper@gmail.com>
60556         * sysdeps/x86_64/memset.S: After aligning destination, code
60557         branches to different locations depending on the value of
60558         misalignment, when multiarch is enabled. Fix this.
60560 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60562         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60563         Set _x86_64_preferred_memory_instruction for AMD processsors.
60564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60565         Set bit_Prefer_SSE_for_memop for AMD processors.
60567 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60569         * libio/fmemopen.c (fmemopen): Optimize a bit.
60571 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60573         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60575 2011-03-03  Roland McGrath  <roland@redhat.com>
60577         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60579 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60581         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60582         __bzero_ultra1 instead of __memset_ultra1.
60584 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60585             Ulrich Drepper  <drepper@gmail.com>
60587         [BZ #12509]
60588         * include/link.h (struct link_map): Add l_orig_initfini.
60589         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60590         returning unsuccessfully.
60591         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60592         close of a file loaded at startup, restore the original l_initfini
60593         list.
60594         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60595         list, store the pointer.
60596         * elf/Makefile ($(objpfx)noload-mem): New rule.
60597         (noload-ENV): Define.
60598         (tests): Add $(objpfx)noload-mem.
60599         * elf/noload.c: Include <memcheck.h>.
60600         (main): Call mtrace.  Close all opened handles.
60602 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60604         [BZ #12454]
60605         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60606         dependencies are missing.
60608 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60610         Fix __if_freereq crash: Unlike the generic version which uses free,
60611         Hurd needs munmap.
60612         * sysdeps/mach/hurd/ifreq.h: New file.
60614 2011-01-27  Petr Baudis  <pasky@suse.cz>
60615             Ulrich Drepper  <drepper@gmail.com>
60617         [BZ 12445]#
60618         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60619         to extend_alloca().
60620         * stdio-common/bug23.c: New file.
60621         * stdio-common/Makefile (tests): Add bug23.
60623 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60624             Ulrich Drepper  <drepper@gmail.com>
60626         [BZ #12489]
60627         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60628         before performing relro protection.  At old place add assertion
60629         to make sure nothing changed.
60631 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60632             Glauber de Oliveira Costa  <glommer@gmail.com>
60634         * elf/elf.h: Add new ARM TLS relocs.
60636 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60639         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60640         cast from r3.
60641         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60642         'tests' variable.
60643         * sysdeps/wordsize-64/tst-writev.c: New file.
60645 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60647         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60648         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60649         insns in _dl_start to prevent a TOC reference before relocs are
60650         resolved.
60652 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60654         [BZ #12469]
60655         * Makeconfig: Remove RANLIB definition.
60656         * Makerules: Don't use RANLIB.
60657         * aclocal.m4: Remove ranlib test.
60658         * configure.in: No need to check for ranlib.
60659         * elf/rtld-Rules: Don't use RANLIB.
60661 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60663         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60664         protection macro.
60665         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60666         inclusion protection macro.
60668         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60669         SIGRTMIN and SIGRTMAX and print information in that case only when
60670         SIGRTMIN is defined.
60672 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60674         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60675         arginfo fn returning -1.
60677         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60678         and thousands string is zero terminated.
60680 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60683         sysdeps/unix/sysv/linux/bits/socket.h.
60685 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60687         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60688         (__CPU_COUNT): Remove old macros.
60689         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60690         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60691         (__CPU_ALLOC, __CPU_FREE): Add macros.
60692         (__sched_cpualloc, __sched_cpufree): Add declarations.
60694 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60696         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60697         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60698         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60699         (readdhstai): Return value of addhstaiX call.
60700         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60701         (addgrbyX): Return value returned by cache_addgr.
60702         (readdgrbyname): Return value returned by addgrbyX.
60703         (readdgrbygid): Likewise.
60704         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60705         (addpwbyX): Return value returned by cache_addpw.
60706         (readdpwbyname): Return value returned by addhstbyX.
60707         (readdpwbyuid): Likewise.
60708         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60709         (addservbyX): Return value returned by cache_addserv.
60710         (readdservbyname): Return value returned by addservbyX:
60711         (readdservbyport): Likewise.
60712         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60713         (addhstbyX): Return value returned by cache_addhst.
60714         (readdhstbyname): Return value returned by addhstbyX.
60715         (readdhstbyaddr): Likewise.
60716         (readdhstbynamev6): Likewise.
60717         (readdhstbyaddrv6): Likewise.
60718         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60719         (readdinitgroups): Return value returned by addinitgroupsX.
60720         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60721         (prune_cache): Keep track of timeout value of re-added entries.
60722         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60723         * nscd/nscd.h: Adjust prototypes of readd* functions.
60725 2011-02-04  Roland McGrath  <roland@redhat.com>
60727         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60728         (nis_stats): Likewise.
60729         * nis/nis_modify.c (nis_modify): Likewise.
60730         * nis/nis_remove.c (nis_remove): Likewise.
60731         * nis/nis_add.c (nis_add): Likewise.
60733         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60735         * posix/fnmatch_loop.c: Add some consts.
60737         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60739 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60741         [BZ #12460]
60742         * config.make.in (config-cflags-novzeroupper): Define.
60743         * configure.in: Substitute libc_cv_cc_novzeroupper.
60744         * elf/Makefile (AVX-CFLAGS): Define.
60745         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60746         (CFLAGS-tst-auditmod4a.c): Likewise.
60747         (CFLAGS-tst-auditmod4b.c): Likewise.
60748         (CFLAGS-tst-auditmod6b.c): Likewise.
60749         (CFLAGS-tst-auditmod6c.c): Likewise.
60750         (CFLAGS-tst-auditmod7b.c): Likewise.
60751         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60753 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60755         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60756         function to the callback.
60757         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60759 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60761         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60762         of errno.
60764 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60766         [BZ #11724]
60767         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60768         of constructors.
60769         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60770         of destructors.
60771         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60773         [BZ #11724]
60774         * elf/Makefile: Add rules to build and run new test.
60775         * elf/tst-initorder.c: New file.
60776         * elf/tst-initorder.exp: New file.
60777         * elf/tst-initordera1.c: New file.
60778         * elf/tst-initordera2.c: New file.
60779         * elf/tst-initordera3.c: New file.
60780         * elf/tst-initordera4.c: New file.
60781         * elf/tst-initorderb1.c: New file.
60782         * elf/tst-initorderb2.c: New file.
60783         * elf/tst-order-a1.c: New file.
60784         * elf/tst-order-a2.c: New file.
60785         * elf/tst-order-a3.c: New file.
60786         * elf/tst-order-a4.c: New file.
60787         * elf/tst-order-b1.c: New file.
60788         * elf/tst-order-b2.c: New file.
60789         * elf/tst-order-main.c: New file.
60790         New test case by George Gensure <werkt0@gmail.com>.
60792 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60795         decoding ACE if AI_CANONIDN.
60797 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60799         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60801 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60803         * version.h (RELEASE): Bump for 2.13 release.
60804         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60806         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60808         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60809         MADV_NOHUGEPAGE.
60810         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60811         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60812         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60813         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60814         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60815         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60817         * posix/getconf.c: Update copyright year.
60818         * catgets/gencat.c: Likewise.
60819         * csu/version.c: Likewise.
60820         * debug/catchsegv.sh: Likewise.
60821         * debug/xtrace.sh: Likewise.
60822         * elf/ldconfig.c: Likewise.
60823         * elf/ldd.bash.in: Likewise.
60824         * elf/sprof.c (print_version): Likewise.
60825         * iconv/iconv_prog.c: Likewise.
60826         * iconv/iconvconfig.c: Likewise.
60827         * locale/programs/locale.c: Likewise.
60828         * locale/programs/localedef.c: Likewise.
60829         * malloc/memusage.sh: Likewise.
60830         * malloc/mtrace.pl: Likewise.
60831         * nscd/nscd.c (print_version): Likewise.
60832         * nss/getent.c: Likewise.
60834         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60835         PF_CAIF, and PF_ALG.
60836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60838 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60840         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60841         (modules-names): Use them.
60842         (ifunc-test-modules, ifunc-pie-tests): Define.
60843         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60844         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60845         (test-extras): Likewise.
60846         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60847         $(compile-command.c).
60848         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60849         (all-built-dso): Define.
60850         (check-textrel.out, check-execstack.out): Depend on it.
60852         * configure.in: Don't override --enable-multi-arch.
60854 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60856         [BZ #6812]
60857         * nscd/hstcache.c (tryagain): Define.
60858         (cache_addhst): Return tryagain not notfound for temporary errors.
60859         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60860         failed.
60862 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60864         [BZ #10563]
60865         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60866         to make the syscall.
60867         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60869         [BZ #12378]
60870         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60871         and fall back to matching as normal character if the string ends before
60872         the matching ']' is found.  This is what POSIX requires.
60873         * posix/testfnm.c: Adjust test result.
60874         * posix/globtest.sh: Adjust test result.  Add new test.
60875         * posix/tst-fnmatch.input: Likewise.
60876         * posix/tst-fnmatch2.c: Add new test.
60878 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60880         * elf/Makefile (check-execstack): Revert last change.  Depend on
60881         check-execstack.h.
60882         (check-execstack.h): New target.
60883         (generated): Add check-execstack.h.
60884         * elf/check-execstack.c: Include "check-execstack.h".
60885         (main): Revert last change.
60886         (handle_file): Return zero if GNU_STACK is absent and
60887         DEFAULT_STACK_PERMS doesn't include PF_X.
60889 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60891         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60892         in child fails because the descriptor is already closed.
60893         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60894         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60895         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60897         [BZ #12397]
60898         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60899         syscall.
60901         [BZ #10484]
60902         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60903         temporary buffer used to handle multi lookups locally.
60904         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60906 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60908         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60909         loader is ld.so.
60911 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60913         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60914         alignment for SSE2.
60916 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60918         [BZ #12394]
60919         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60920         characters.  When rounding increased number of integer digits recompute
60921         number of groups.
60922         * stdio-common/tst-grouping.c: New file.
60923         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60925 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60927         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60928         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60930         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60931         void.
60932         * bits/select.h: Likewise.
60934 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60936         * po/ja.po: Update from translation team.
60938 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60940         [BZ #11155]
60941         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60942         implementation just like for lxstat, fxstatat, et al.
60944 2010-12-27  Jim Meyering  <meyering@redhat.com>
60946         [BZ #12348]
60947         * posix/regexec.c (build_trtable): Return failure indication upon
60948         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60950 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60952         [BZ #12201]
60953         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60954         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60955         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60956         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60958         [BZ #12207]
60959         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60961         [BZ #12204]
60962         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60963         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60965 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60967         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60968         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60969         script has SORT_BY_INIT_PRIORITY.
60970         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60971         NO_CTORS_DTORS_SECTIONS is defined.
60972         * elf/soinit.c: Likewise.
60973         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60974         NO_CTORS_DTORS_SECTIONS is defined.
60975         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60976         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60977         * sysdeps/sh/init-first.c: Likewise.
60978         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60980 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60982         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60983         always use the slow path.
60985 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60987         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60988         similar rule which adds the sysdep directories to the header search in
60989         order to pick up the correct platform stackinfo.h.
60990         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60991         perform test if it is, otherwise return successfully without testing.
60992         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60993         DEFAULT_STACK_PERMS define in stackinfo.h.
60994         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60995         defined in stackinfo.h.
60996         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60997         DEFAULT_STACK_PERMS defined in stackinfo.h.
60998         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60999         * sysdeps/ia64/stackinfo.h: Likewise.
61000         * sysdeps/s390/stackinfo.h: Likewise.
61001         * sysdeps/sh/stackinfo.h: Likewise.
61002         * sysdeps/sparc/stackinfo.h: Likewise.
61003         * sysdeps/x86_64/stackinfo.h: Likewise.
61004         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61005         PF_X for powerpc64.  Retain PF_X for powerpc32.
61007 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61009         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61010         accurately.
61011         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61012         GETDENTS_64BIT_ALIGNED.
61014 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61016         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61018 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61020         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61021         _GNU_SOURCE.
61023         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61024         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61025         Remove __restrict.
61026         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61027         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61029 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61031         [BZ #11655]
61032         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61033         are initialized.
61035 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61037         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61039 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61041         * po/it.po: Update from translation team.
61043 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61045         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61046         unused codes.
61048 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61050         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61052 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61054         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61055         specially.
61056         (gaih_getanswer_slice): Likewise.
61058 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61062 2010-05-31  Petr Baudis  <pasky@suse.cz>
61064         [BZ #11149]
61065         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61066         silently even in the chroot mode.
61068 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61070         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61071         last patch a bit.  Pretty printing
61073 2010-05-31  Petr Baudis <pasky@suse.cz>
61075         [BZ #10085]
61076         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61077         initialization of skip_initgroups_dyn.
61079 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61084 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61086         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61088 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61090         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61091         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61092         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61093         ($(objpfx)tst-fnmatch-mem): New rule.
61094         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61095         * posix/tst-fnmatch.c (main): Call mtrace.
61097 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61100         Support Intel processor model 6 and model 0x2c.
61102 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61104         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61105           signed comparison.
61107 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61109         [BZ #12205]
61110         * string/test-strncasecmp.c (check_result): New function.
61111         (do_one_test): Use it.
61112         (check1): New function.
61113         (test_main): Use it.
61114         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61115         Support strcasecmp and strncasecmp.
61117 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61119         [BZ #12194]
61120         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61121         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61123 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61125         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61126         IFUNC support.
61127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61128         memset-x86-64.
61129         * sysdeps/x86_64/multiarch/bzero.S: New file.
61130         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61131         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61132         * sysdeps/x86_64/multiarch/memset.S: New file.
61133         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61135         Set bit_Prefer_SSE_for_memop for Intel processors.
61136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61137         Define.
61138         (index_Prefer_SSE_for_memop): Define.
61139         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61141 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61143         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61144         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61146 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61148         [BZ #12191]
61149         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61150         (__x86_64_raw_data_cache_size_half): Likewise.
61151         (__x86_64_raw_shared_cache_size): Likewise.
61152         (__x86_64_raw_shared_cache_size_half): Likewise.
61154         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61155         (__x86_64_raw_data_cache_size_half): Likewise.
61156         (__x86_64_raw_shared_cache_size): Likewise.
61157         (__x86_64_raw_shared_cache_size_half): Likewise.
61158         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61159         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61160         and __x86_64_raw_shared_cache_size_half.  Round
61161         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61162         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61163         to multiple of 256 bytes.
61165 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61167         [BZ #12167]
61168         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61169         of inacessible symlinks.  Verify result of symlink before returning it.
61170         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61171         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61173 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61175         * math/math.h (isinf): Fix typo in comment.
61177 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61179         * po/da.po: Update from translation team.
61181 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61183         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61184         is added to the list.
61186 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61187             Ulrich Drepper  <drepper@gmail.com>
61189         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61190         the global list here.  Move code to...
61191         (_dl_add_to_namespace_list): ...here.  New function.
61192         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61193         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61194         * elf/dl-load.c (lose): Don't remove the element from the list.
61195         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61196         (_dl_map_object): Likewise.
61198 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61200         [BZ #12159]
61201         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61202         into all bytes of SSE register.
61203         Patch by Richard Li <richardpku@gmail.com>.
61205 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61207         [BZ #12140]
61208         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61209         perturbing.
61211 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61213         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61214         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61215         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61216         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61218         submachine.
61219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61221 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61223         * include/dlfcn.h (__RTLD_SECURE): Define.
61224         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61225         mode & __RTLD_SECURE instead.
61226         (open_path): Rename preloaded parameter to secure.
61227         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61228         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61229         * elf/dl-deps.c (openaux): Likewise.
61230         * elf/rtld.c (struct map_args): Remove is_preloaded.
61231         (map_doit): Don't use it.
61232         (dl_main): Likewise.
61233         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61234         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61236 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61238         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61239         (sysd-rules-targets): Remove duplicates.
61240         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61241         rtld-%.$o dependency.
61243 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61245         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61246         _dl_map_object do it.
61248 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61250         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61251         fast fma builtins, define the macros in the C99 standard.
61252         (FP_FAST_FMAF): Likewise.
61253         (FP_FAST_FMAL): Likewise.
61254         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61256         * bits/mathdef.h: Update copyright year.
61257         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61259 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61261         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61262         builtins, define the macros in the C99 standard.
61263         (FP_FAST_FMAF): Likewise.
61264         (FP_FAST_FMAL): Likewise.
61265         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61266         multiply/add.
61267         (FP_FAST_FMAF): Likewise.
61269 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61271         [BZ #3268]
61272         * math/libm-test.inc (fma_test): Some new testcases.
61273         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61275         y and infinite z.  Do multiplication by C already in long double.
61276         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61277         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61278         y and infinite z.  Do bitwise or of inexact bit into u.d.
61279         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61280         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61281         * sysdeps/i386/fpu/s_fma.S: Removed.
61282         * sysdeps/i386/fpu/s_fmal.S: Removed.
61284 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61286         [BZ #3268]
61287         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61289         computation is not scheduled after fetestexcept.  Fix value
61290         of minimum denormal long double.
61292 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61294         [BZ #3268]
61295         * math/libm-test.inc (fma_test): Add some more tests.
61296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61297         correctly.
61299 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61301         * scripts/data/localplt-s390-linux-gnu.data: New file.
61302         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61304 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61306         [BZ #3268]
61307         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61308         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61309         instead of dbl-64.
61310         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61311         inlines.
61312         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61314         if one of x and y is very large and the other is subnormal.
61315         * sysdeps/s390/fpu/s_fmaf.c: New file.
61316         * sysdeps/s390/fpu/s_fma.c: New file.
61317         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61318         * sysdeps/powerpc/fpu/s_fma.S: New file.
61319         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61320         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61321         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61323 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61325         [BZ #3268]
61326         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61327         fma tests.
61328         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61329         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61330         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61331         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61332         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61333         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61334         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61336 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61338         [BZ #12078]
61339         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61340         * posix/bug-regex31.input: Add test case.
61342 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61344         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61345         * posix/bug-regex31.input: New file.
61347         [BZ #12078]
61348         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61349         (parse_sub_exp): Fix last change, use postorder.
61351         * posix/bug-regex31.c: New file.
61352         * posix/Makefile: Add rules to build and run bug-regex31.
61354         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61356         [BZ #12078]
61357         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61359         [BZ #12108]
61360         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61361         to have entries in sys_siglist.
61363         [BZ #12093]
61364         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61365         be NULL.
61367 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61369         [BZ #3268]
61370         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61371         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61372         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61373         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61374         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61375         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61376         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61377         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61378         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61379         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61380         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61381         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61382         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61383         * math/ftestexcept.c (fetestexcept): Likewise.
61384         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61385         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61386         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61387         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61388         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61389         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61390         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61392 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61394         [BZ #12107]
61395         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61396         newline.
61398 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61400         * string/bug-strstr1.c: New file.
61401         * string/Makefile: Add rules to build and run bug-strstr1.
61403 2010-10-05  Eric Blake  <eblake@redhat.com>
61405         [BZ #12092]
61406         * string/str-two-way.h (two_way_long_needle): Always clear memory
61407         when skipping input due to the shift table.
61409 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61411         [BZ #12005]
61412         * malloc/mcheck.c: Handle large requests.
61414         [BZ #12077]
61415         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61416         for strncmp and strncasecmp.
61417         * string/stratcliff.c: Add tests for strcmp and strncmp.
61418         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61420 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61422         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61423         __set_fpscr.
61425 2010-09-30  Andreas Jaeger  <aj@suse.de>
61427         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61428         (CGROUP_SUPER_MAGIC): Define.
61429         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61430         Handle btrfs and cgroup file systems.
61431         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61432         Likewise.
61434 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61436         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61437         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61439 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61441         [BZ #12067]
61442         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61443         trying to locate the ELF header.
61445 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61447         [BZ #11611]
61448         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61449         Mask out sign-bit copies when constructing f_fsid.
61451 2010-09-24  Petr Baudis <pasky@suse.cz>
61453         * debug/stack_chk_fail_local.c: Add missing licence exception.
61454         * debug/warning-nop.c: Likewise.
61456 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61458         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61459         implementing getdents64 using getdents syscall, set d_type if
61460         __ASSUME_GETDENTS32_D_TYPE.
61462 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61464         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61465         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61467 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61469         [BZ #12037]
61470         * posix/unistd.h: Undo change of feature selection for ftruncate from
61471         2010-01-11.
61473 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61475         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61476         detection.
61478 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61480         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61481         fanotify_mark.
61482         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61484 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61486         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61487         variables after CHECK_SP call.
61488         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61490 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61491             Ulrich Drepper  <drepper@redhat.com>
61493         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61494         re-relocationg ld.so.
61495         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61496         _dl_init_paths call.
61497         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61498         here anymore.
61500 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61502         * resolv/res_init.c (__res_vinit): Count the default server we added.
61504 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61505             Ulrich Drepper  <drepper@redhat.com>
61507         [BZ #11968]
61508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61509         (____longjmp_chk): Use %ebx for saving value across system call.
61510         Add unwind info.
61512 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61514         * manual/Makefile: Don't mix pattern rules with normal rules.
61516 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61518         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61519         operation.
61520         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61521         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61522         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61523         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61525         Likewise.
61527 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61529         [BZ #11979]
61530         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61531         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61533 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61535         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61536         * sysdeps/x86_64/addmul_1.S: Likewise.
61537         * sysdeps/x86_64/lshift.S: Likewise.
61538         * sysdeps/x86_64/mul_1.S: Likewise.
61539         * sysdeps/x86_64/rshift.S: Likewise.
61540         * sysdeps/x86_64/sub_n.S: Likewise.
61541         * sysdeps/x86_64/submul_1.S: Likewise.
61543 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61545         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61546         Define __sched_param instead of SCHED_* and sched_param when
61547         <bits/sched.h> is included with __need_schedparam defined.
61548         * bits/sched.h [__need_schedparam]
61549         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61550         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61551         (__defined_schedparam): Define to 1.
61552         (__sched_param): New structure, identical to sched_param.
61553         (__need_schedparam): Undefine.
61555 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61557         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61558         (epoll_create1): Declare.
61560         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61562 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61564         [BZ #7066]
61565         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61566         shifting retval into place.
61568 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61570         * nis/rpcsvc/nis.h: Update copyright notice.
61571         * nis/rpcsvc/nis.x: Likewise.
61572         * nis/rpcsvc/nis_callback.h: Likewise.
61573         * nis/rpcsvc/nis_callback.x: Likewise.
61574         * nis/rpcsvc/nis_object.x: Likewise.
61575         * nis/rpcsvc/nis_tags.h: Likewise.
61576         * nis/rpcsvc/yp.h: Likewise.
61577         * nis/rpcsvc/yp.x: Likewise.
61578         * nis/rpcsvc/ypupd.h: Likewise.
61579         * nis/yp_xdr.c: Likewise.
61580         * nis/ypupdate_xdr.c: Likewise.
61582         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61583         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61584         (pmap_getport): Use __libc_rpc_getport.
61585         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61586         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61587         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61589 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61592         fanotify_mark.
61594 2010-08-27  Roland McGrath  <roland@redhat.com>
61596         * sysdeps/i386/i686/multiarch/Makefile
61597         (CFLAGS-varshift.c): New variable.
61599 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61601         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61602         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61604         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61606         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61608 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61610         * sysdeps/x86_64/strlen.S: Unroll the loop.
61611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61612         strlen-sse2 strlen-sse2-bsf.
61613         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61614         __strlen_no_bsf if bit_Slow_BSF is set.
61615         (__strlen_sse42): Removed.
61616         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61617         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61619 2010-08-25  Roland McGrath  <roland@redhat.com>
61621         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61622         * sysdeps/x86_64/multiarch/varshift.c: New file.
61623         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61624         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61625         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61626         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61628 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61631         strlen-sse2 strlen-sse2-bsf.
61632         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61633         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61634         (__strlen_sse2): Removed.
61635         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61636         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61638         bit_Slow_BSF for Atom.
61639         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61640         (index_Slow_BSF): Define.
61641         (HAS_SLOW_BSF): Define.
61643 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61645         [BZ #10851]
61646         * resolv/res_init.c (__res_vinit): When no server address at all
61647         is given default to loopback.
61649 2010-08-24  Roland McGrath  <roland@redhat.com>
61651         * configure.in: Remove config-name.h generation.
61652         * configure: Regenerated.
61653         * config-name.in: File removed.
61654         * scripts/config-uname.sh: New file.
61655         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61656         ($(objdir)config-name.h): New target.
61658         * sunrpc/rpc_parse.h: Avoid nested comment.
61660 2010-08-24  Richard Henderson  <rth@redhat.com>
61661             Ulrich Drepper  <drepper@redhat.com>
61662             H.J. Lu  <hongjiu.lu@intel.com>
61664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61666         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61667         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61668         _mm_alignr_epi8 with _mm_loadu_si128.
61669         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61670         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61671         (__m128i_shift_right): Removed.
61672         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61673         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61674         * sysdeps/x86_64/multiarch/varshift.h: New file.
61675         * sysdeps/x86_64/multiarch/varshift.S: New file.
61677 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61679         * configure.in: Move assembler checks to before sysdep dir checking.
61681 2010-08-20  Petr Baudis  <pasky@suse.cz>
61683         * LICENSES: Sync the sunrpc license.
61685 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61687         * sunrpc/auth_des.c: Update copyright notice once again.
61688         * sunrpc/auth_none.c: Likewise.
61689         * sunrpc/auth_unix.c: Likewise.
61690         * sunrpc/authdes_prot.c: Likewise.
61691         * sunrpc/authuxprot.c: Likewise.
61692         * sunrpc/bindrsvprt.c: Likewise.
61693         * sunrpc/clnt_gen.c: Likewise.
61694         * sunrpc/clnt_perr.c: Likewise.
61695         * sunrpc/clnt_raw.c: Likewise.
61696         * sunrpc/clnt_simp.c: Likewise.
61697         * sunrpc/clnt_tcp.c: Likewise.
61698         * sunrpc/clnt_udp.c: Likewise.
61699         * sunrpc/clnt_unix.c: Likewise.
61700         * sunrpc/des_crypt.c: Likewise.
61701         * sunrpc/des_soft.c: Likewise.
61702         * sunrpc/get_myaddr.c: Likewise.
61703         * sunrpc/getrpcport.c: Likewise.
61704         * sunrpc/key_call.c: Likewise.
61705         * sunrpc/key_prot.c: Likewise.
61706         * sunrpc/openchild.c: Likewise.
61707         * sunrpc/pm_getmaps.c: Likewise.
61708         * sunrpc/pm_getport.c: Likewise.
61709         * sunrpc/pmap_clnt.c: Likewise.
61710         * sunrpc/pmap_prot.c: Likewise.
61711         * sunrpc/pmap_prot2.c: Likewise.
61712         * sunrpc/pmap_rmt.c: Likewise.
61713         * sunrpc/rpc/auth.h: Likewise.
61714         * sunrpc/rpc/auth_unix.h: Likewise.
61715         * sunrpc/rpc/clnt.h: Likewise.
61716         * sunrpc/rpc/des_crypt.h: Likewise.
61717         * sunrpc/rpc/key_prot.h: Likewise.
61718         * sunrpc/rpc/netdb.h: Likewise.
61719         * sunrpc/rpc/pmap_clnt.h: Likewise.
61720         * sunrpc/rpc/pmap_prot.h: Likewise.
61721         * sunrpc/rpc/pmap_rmt.h: Likewise.
61722         * sunrpc/rpc/rpc.h: Likewise.
61723         * sunrpc/rpc/rpc_des.h: Likewise.
61724         * sunrpc/rpc/rpc_msg.h: Likewise.
61725         * sunrpc/rpc/svc.h: Likewise.
61726         * sunrpc/rpc/svc_auth.h: Likewise.
61727         * sunrpc/rpc/types.h: Likewise.
61728         * sunrpc/rpc/xdr.h: Likewise.
61729         * sunrpc/rpc_clntout.c: Likewise.
61730         * sunrpc/rpc_cmsg.c: Likewise.
61731         * sunrpc/rpc_common.c: Likewise.
61732         * sunrpc/rpc_cout.c: Likewise.
61733         * sunrpc/rpc_dtable.c: Likewise.
61734         * sunrpc/rpc_hout.c: Likewise.
61735         * sunrpc/rpc_main.c: Likewise.
61736         * sunrpc/rpc_parse.c: Likewise.
61737         * sunrpc/rpc_parse.h: Likewise.
61738         * sunrpc/rpc_prot.c: Likewise.
61739         * sunrpc/rpc_sample.c: Likewise.
61740         * sunrpc/rpc_scan.c: Likewise.
61741         * sunrpc/rpc_scan.h: Likewise.
61742         * sunrpc/rpc_svcout.c: Likewise.
61743         * sunrpc/rpc_tblout.c: Likewise.
61744         * sunrpc/rpc_util.c: Likewise.
61745         * sunrpc/rpc_util.h: Likewise.
61746         * sunrpc/rpcinfo.c: Likewise.
61747         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61748         * sunrpc/rpcsvc/key_prot.x: Likewise.
61749         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61750         * sunrpc/rpcsvc/mount.x: Likewise.
61751         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61752         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61753         * sunrpc/rpcsvc/rex.x: Likewise.
61754         * sunrpc/rpcsvc/rstat.x: Likewise.
61755         * sunrpc/rpcsvc/rusers.x: Likewise.
61756         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61757         * sunrpc/rpcsvc/spray.x: Likewise.
61758         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61759         * sunrpc/rtime.c: Likewise.
61760         * sunrpc/svc.c: Likewise.
61761         * sunrpc/svc_auth.c: Likewise.
61762         * sunrpc/svc_authux.c: Likewise.
61763         * sunrpc/svc_raw.c: Likewise.
61764         * sunrpc/svc_run.c: Likewise.
61765         * sunrpc/svc_simple.c: Likewise.
61766         * sunrpc/svc_tcp.c: Likewise.
61767         * sunrpc/svc_udp.c: Likewise.
61768         * sunrpc/svc_unix.c: Likewise.
61769         * sunrpc/svcauth_des.c: Likewise.
61770         * sunrpc/xcrypt.c: Likewise.
61771         * sunrpc/xdr.c: Likewise.
61772         * sunrpc/xdr_array.c: Likewise.
61773         * sunrpc/xdr_float.c: Likewise.
61774         * sunrpc/xdr_mem.c: Likewise.
61775         * sunrpc/xdr_rec.c: Likewise.
61776         * sunrpc/xdr_ref.c: Likewise.
61777         * sunrpc/xdr_sizeof.c: Likewise.
61778         * sunrpc/xdr_stdio.c: Likewise.
61780         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61781         handling.
61783 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61785         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61787 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61789         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61790         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61791         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61792         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61793         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61794         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61795         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61796         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61797         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61798         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61799         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61800         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61801         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61802         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61804 2010-07-26  Anton Blanchard  <anton@samba.org>
61806         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61807         * malloc/arena.c (heap_trim): Likewise.
61809 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61811         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61812         here.  Not...
61813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61814         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61816 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61818         * sysdeps/i386/elf/Makefile: New file.
61820 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61822         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61823         from fanotify_init.
61824         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61827 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61829         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61830         of strncasecmp_l.
61831         * sysdeps/multiarch/strcmp.S: Likewise.
61833 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61835         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61836         strncase_l-nonascii.
61837         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61838         Add strncase_l-ssse3.
61839         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61840         * sysdeps/x86_64/strcmp.S: Likewise.
61841         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61842         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61843         * sysdeps/x86_64/strncase.S: New file.
61844         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61845         * sysdeps/x86_64/strncase_l.S: New file.
61846         * string/Makefile (strop-tests): Add strncasecmp.
61847         * string/test-strncasecmp.c: New file.
61849         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61850         warning.
61852         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61853         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61855 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61857         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61859 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61861         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61863         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61865 2010-05-01  Alan Modra  <amodra@gmail.com>
61867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61868         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61869         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61870         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61871         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61872         tidying.  Don't tail-call __sigjmp_save for static lib.
61873         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61874         save location.
61875         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61876         (CALL_MCOUNT): Add eh info, and nop after bl.
61877         (TAIL_CALL_SYSCALL_ERROR): New macro.
61878         (PSEUDO_RET): Use it.
61879         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61880         Correct save location of integer regs and cr.
61881         (_dl_profile_resolve): Correct cr save location.  Delete nops
61882         after bl when SHARED.  Reduce cfi size a little by better
61883         placement of cfi directives.
61884         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61885         make a stack frame.  Instead use parm save area as a temp.
61886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61887         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61889         Don't make a stack frame for parent, use parm save area.
61890         Increase child stack frame to 112 bytes.  Don't save unused reg,
61891         and adjust reg usage.  Set up cfi on error recovery and
61892         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61894         (__makecontext): Add dummy nop after jump to exit.
61895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61896         Use correct parm save area and cr save, reduce stack frame.
61897         Correct cfi for possible PSEUDO_RET frame setup.
61898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61899         Branch to local label emitted by PSEUDO_RET rather than
61900         __syscall_error.
61902 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61904         [BZ #11904]
61905         * locale/programs/locale.c (print_assignment): New function.
61906         (show_locale_vars): Use it.
61908 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61910         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61911         field.
61912         (struct statfs64): Likewise.
61913         (_STATFS_F_FLAGS): Define.
61914         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61915         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61916         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61917         (ST_VALID): Define locally.
61918         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61919         __statvfs_getflags, use the provided value.
61920         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61921         __ASSUME_STATFS_F_FLAGS.
61923         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61925         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61926         Add sys/fanotify.h.
61927         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61928         fanotify_mask for GLIBC_2.13.
61929         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61930         fanotify_init and fanotify_mark.
61931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61932         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61934         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61935         Add prlimit.
61936         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61937         prlimit64 for GLIBC_2.13.
61938         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61939         prlimit64.
61940         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61941         syscall.
61942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61944         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61947         add prlimit alias.
61948         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61950         [BZ #11903]
61951         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61952         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61954         * nss/Makefile: Add rules to build and run tst-nss-test1.
61955         * shlib-versions: Add entry for libnss_test1.
61956         * nss/nss_test1.c: New file.
61957         * nss/tst-nss-test1.c: New file.
61959         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61960         (__nss_configure_lookup): Set appropriate entry in
61961         __nss_configure_lookup to true.
61962         * nss/nsswitch.h: Define enum with indeces of databases in
61963         databases and __nss_database_custom arrays.  Declare
61964         __nss_database_custom.
61965         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61966         to avoid using nscd when custom rules are installed.
61967         * nss/getXXbyYY_r.c: Likewise.
61968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61970         * nss/nss_files/files-parse.c: Whitespace fixes.
61972 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61974         [BZ #11883]
61975         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61976         * posix/fnmatch_loop.c: Likewise.
61978 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61980         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61981         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61982         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61983         * Versions.def [GLIBC_2.13]: Add.
61985 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61987         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61988         Also fail if tpwd after pwuid call is NULL.
61990 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61992         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61993         when converting to ms.
61995 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61997         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61998         EOPNOTSUPP errors with ENOTTY.
61999         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62000         EOPNOTSUPP errors with ENOTTY.
62002 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62004         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62005         Add strcasecmp_l-ssse3.
62006         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62007         strcasecmp.
62008         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62009         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62010         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62012 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62014         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62016         * string/Makefile (strop-tests): Add strcasecmp.
62017         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62018         strcasecmp_l-nonascii.
62019         (gen-as-const-headers): Add locale-defines.sym.
62020         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62021         * sysdeps/x86_64/strcasecmp.S: New file.
62022         * sysdeps/x86_64/strcasecmp_l.S: New file.
62023         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62024         * sysdeps/x86_64/locale-defines.sym: New file.
62025         * string/test-strcasecmp.c: New file.
62027         * string/test-strcasestr.c: Test both ends of the range of characters.
62028         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62030 2010-07-29  Roland McGrath  <roland@redhat.com>
62032         [BZ #11856]
62033         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62035 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62037         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62038         for ld.so.
62040 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62042         * manual/memory.texi (Malloc Tunable Parameters): Document
62043         M_PERTURB.
62045 2010-07-26  Roland McGrath  <roland@redhat.com>
62047         [BZ #11840]
62048         * configure.in (-fgnu89-inline check): Set and substitute
62049         gnu89_inline, not libc_cv_gnu89_inline.
62050         * configure: Regenerated.
62051         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62053 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62055         * string/test-strnlen.c: New file.
62056         * string/Makefile (strop-tests): Add strnlen.
62057         * string/tester.c (test_strnlen): Add a few more test cases.
62058         * string/tst-strlen.c: Better error reporting.
62060         * sysdeps/x86_64/strnlen.S: New file.
62062 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62064         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62065         lower-latency instructions.
62067 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62069         * string/test-strcasestr.c: New file.
62070         * string/test-strstr.c: New file.
62071         * string/Makefile (strop-tests): Add strstr and strcasestr.
62072         * string/str-two-way.h: Don't undefine MAX.
62073         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62075 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62078         strcasestr-nonascii.
62079         (CFLAGS-strcasestr-nonascii.c): Define.
62080         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62081         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62082         Remove unused attribute.
62084 2010-07-20  Roland McGrath  <roland@redhat.com>
62086         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62087         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62088         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62089         like LD_HWCAP_MASK can disable hwcaps.
62091 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62093         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62095 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62097         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62098         call in strcasestr.
62099         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62100         __strcasestr_sse42_nonascii.
62101         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62102         strcasestr-nonascii.c.
62103         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62105 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62107         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62108         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62109         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62110         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62112 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62114         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62115         fcntl.
62117 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62119         [BZ #11577]
62120         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62121         dl_signal_cerror.
62123 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62125         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62126         _PC_PIPE_BUF using F_GETPIPE_SZ.
62128 2010-07-05  Roland McGrath  <roland@redhat.com>
62130         * manual/arith.texi (Rounding Functions): Fix rint description
62131         implicit in round description.
62133 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62135         * elf/Makefile: Fix linking for a few tests to make recent linker
62136         happy.
62138 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62140         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62141         $(common-objpfx)libc_nonshared.a.
62143 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62145         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62146         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62147         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62148         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62149         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62150         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62151         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62152         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62167         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62168         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62169         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62170         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62171         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62172         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62173         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62174         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62175         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62176         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62177         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62178         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62194 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62196         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62197         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62198         * string/memmove.c (memmove): Renamed to ...
62199         (MEMMOVE): ...this.  Default to memmove.
62200         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62201         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62202         (END_CHK): Define.
62203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62204         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62205         mempcpy-ssse3-back memmove-ssse3-back.
62206         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62207         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62209         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62210         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62211         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62212         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62213         * sysdeps/x86_64/multiarch/memmove.c: New file.
62214         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62215         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62216         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62217         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62218         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62219         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62220         Define.
62221         (index_Fast_Copy_Backward): Define.
62222         (HAS_ARCH_FEATURE): Define.
62223         (HAS_FAST_REP_STRING): Define.
62224         (HAS_FAST_COPY_BACKWARD): Define.
62226 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62228         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62229         Restore proper fallback handling.
62231 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62233         [BZ #11701]
62234         * posix/group_member.c (__group_member): Correct checking loop.
62236         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62237         OOM in getpwuid_r correctly.  Return error number when the caller
62238         should return, otherwise -1.
62239         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62240         call returning > 0 value.
62241         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62243 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62245         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62246         libc_nonshared.a from targets in modules-names.
62248 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62250         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62251         requires it.
62253 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62255         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62256         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62257         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62258         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62260 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62262         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62264 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62266         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62267         and F_GETPIPE_SZ.
62268         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62272         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62273         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62275 2010-06-14  Roland McGrath  <roland@redhat.com>
62277         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62279 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62281         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62282         __REDIRECT followed by __THROW.
62283         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62284         * posix/getopt.h (getopt): Likewise.
62286 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62288         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62289         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62290         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62291         in AT_FLAGS.
62292         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62293         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62295 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62297         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62299 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62301         [BZ #11640]
62302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62303         Properly check family and model.
62305 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62307         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62309 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62311         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62313 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62315         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62316         symbol reference.
62318 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62320         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62321         symbol reference.
62323 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62325         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62326         and internal_recvmmsg.
62327         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62328         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62329         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62330         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62332         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62333         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62334         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62336 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62338         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62340 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62342         POWER7 optimizations.
62343         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62344         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62346 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62348         * version.h: Update for 2.13 development version.
62350 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62352         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62353         exceptions.  Return 0.
62355 2010-05-07  Roland McGrath  <roland@redhat.com>
62357         * elf/ldconfig.c (main): Add a const.
62359 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62361         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62362         (args_options): Add no-idn option.
62363         (ahosts_keys_int): Add idn_flags to ai_flags.
62364         (parse_option): Handle 'i' option to clear idn_flags.
62366         * malloc/malloc.c (_int_free): Possible race in the most recently
62367         added check.  Only act on the data if no current modification
62368         happened.
62370 See ChangeLog.17 for earlier changes.